chenyan1982 / arm_adb

ADB for ARM/AARCH64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arm_adb

Android's adb ported to ARM with automake source structures

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 by clicking the sponsor button on top!

About

ADB for ARM/AARCH64

License:GNU General Public License v3.0


Languages

Language:C++ 56.7%Language:C 17.7%Language:Shell 14.2%Language:Makefile 6.6%Language:Assembly 2.4%Language:Python 2.3%Language:M4 0.0%