Coder Social home page Coder Social logo

fengjixuchui / arm_adb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qhuyduong/arm_adb

0.0 0.0 0.0 1.99 MB

ADB for ARM/AARCH64

License: GNU General Public License v3.0

Makefile 6.57% Shell 14.25% M4 0.02% C 17.55% C++ 56.90% Assembly 2.41% Python 2.30%

arm_adb's Introduction

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!

arm_adb's People

Contributors

qhuyduong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.