Skip to content

gounthar/arm_adb

 
 

Repository files navigation

arm_adb

Android's adb ported to ARM with automake source structures

Donate

Prerequisites

NOTE: Please make sure you are using navite/cross gcc/g++ >= 4.9

$ sudo apt-get install libtool automake

For cross-compiling:

ARM

$ sudo apt-get install linux-libc-dev-armhf-cross libc6-armhf-cross libc6-dev-armhf-cross

AARCH64

$ sudo apt-get install linux-libc-dev-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross

How to build and run

Native compiling

Native-compile openssl

$ git clone https://github.com/qhuyduong/openssl-1.0.2l.git
$ cd openssl-1.0.2l/
$ ./Configure --prefix=/tmp/openssl os/compiler:gcc
$ make && make install
$ cd -

Native-compile arm_adb

$ git clone https://github.com/qhuyduong/arm_adb
$ cd arm_adb
$ ./configure --includedir=/tmp/openssl/include --libdir=/tmp/openssl/lib
$ make

Cross-compiling

Cross-compile Openssl

$ git clone https://github.com/qhuyduong/openssl-1.0.2l.git
$ cd openssl-1.0.2l/
$ ./Configure --prefix=/tmp/openssl os/compiler:$TOOLCHAIN_PREFIX-gcc
$ make && make install
$ cd -

Cross-compile arm_adb

$ git clone https://github.com/qhuyduong/arm_adb
$ cd arm_adb
$ ./configure --host=$TOOLCHAIN_PREFIX --includedir=/tmp/openssl/include --libdir=/tmp/openssl/lib
$ make

Troubleshooting

1. WARNING: 'aclocal-1.xx' is missing on your system

Run below command before configure

$ autoreconf -i --force

Donation

If this project helps you reduce time to develop, you can give me a cup of coffee :)

Paypal

About

ADB for ARM/AARCH64

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 56.9%
  • C 17.6%
  • Shell 14.2%
  • Makefile 6.6%
  • Assembly 2.4%
  • Python 2.3%