Giter Site home page Giter Site logo

Porting to Android about usbmuxd HOT 15 OPEN

libimobiledevice avatar libimobiledevice commented on July 24, 2024
Porting to Android

from usbmuxd.

Comments (15)

nickplee avatar nickplee commented on July 24, 2024 1

I accomplished this here by building my own AOSP rom with usbmuxd integrated as a package. Worked pretty well.

from usbmuxd.

nickplee avatar nickplee commented on July 24, 2024

+1

from usbmuxd.

Tdogb avatar Tdogb commented on July 24, 2024

Bump

from usbmuxd.

Tdogb avatar Tdogb commented on July 24, 2024

OMG I didn't realize u were actually nick lee!! I am trying to do the exact same thing. I am having trouble making the iphone app. And I have no idea how to code my own operating system. I have experimented with usbmuxd between my computer and my phone however the connection (at least the vnc connection didn't seem very fast). are u using vnc? Is your project open source?

Edit: More specifially how do you get the android mk files. I am trying using the android sdk and ndk.

from usbmuxd.

Tdogb avatar Tdogb commented on July 24, 2024

I figured out how to port usbmuxd, all I need now is the app, can you give me some pointers other than the ones on your website.
Thanks!

from usbmuxd.

MarcusXie avatar MarcusXie commented on July 24, 2024

How to port to Android? I need some help...

from usbmuxd.

MarcusXie avatar MarcusXie commented on July 24, 2024

@Tdogb I can't open nick lee's link, could U give me some help?
Thanks!

from usbmuxd.

pokmis avatar pokmis commented on July 24, 2024

Can anyone share the steps they took to get this up and running on Android?

from usbmuxd.

AiXanadu avatar AiXanadu commented on July 24, 2024

以下操作基于 Ubuntu / Windows 10 子系统 Ubuntu

~/.bashrc
image

sudo apt update
sudo apt upgrade
sudo apt install libtool
sudo apt install automake
sudo apt install autoconf
sudo apt install python
sudo apt install pkg-config
sudo apt install pkgconf

export ANDROID_ARM_64=$ANDROID_HOME/ARM_64
$NDK_HOME/build/tools/make-standalone-toolchain.sh --platform=android-24 --arch=arm64 --install-dir=$ANDROID_ARM_64

export PKG_CONFIG_PATH=$ANDROID_ARM_64/lib/pkgconfig
export PATH=$ANDROID_ARM_64:$PATH
export PATH=$PKG_CONFIG_PATH:$PATH
export PATH=$ANDROID_ARM_64/bin:$PATH

libplist
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64 --without-cython CFLAGS=-static LDFLAGS=-static

libusbmuxd
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64 CFLAGS=-static LDFLAGS=-static

openssl
./Configure --cross-compile-prefix=aarch64-linux-android- --prefix=$ANDROID_ARM_64 linux-armv4 no-asm no-ui no-shared enable-weak-ssl-ciphers CFLAGS=-static LDFLAGS=-static

libimobiledevice
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64 --without-cython CFLAGS=-static LDFLAGS=-static

libusb
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64 --disable-udev CFLAGS=-static LDFLAGS=-static

usbmuxd
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64 CFLAGS=-static LDFLAGS=-static

from usbmuxd.

tuanjnfor avatar tuanjnfor commented on July 24, 2024

Dear @XanaduAPI
Pls help to let me know how I can folder ARM_64 in ANDROID_HOME path.
It only has sdk folder.
Thank you so much!

from usbmuxd.

cczhr avatar cczhr commented on July 24, 2024

If you need the executable files and library files transplanted from libimobiledevice open source project to Android platform, you can go to https://github.com/cczhr/libimobiledevice_android to view them. I compiled some of them .Hope to help you

from usbmuxd.

AiXanadu avatar AiXanadu commented on July 24, 2024

If you need the executable files and library files transplanted from libimobiledevice open source project to Android platform, you can go to https://github.com/cczhr/libimobiledevice_android to view them. I compiled some of them .Hope to help you

I have compiled files too, but will yours work properly without jailbreaking? Or did you test it?

from usbmuxd.

cczhr avatar cczhr commented on July 24, 2024

@XanaduAPI Android devices need root permission to run .I made a small project based on this library. Here is the demo video link:https://www.bilibili.com/video/BV1MZ4y1P7K3

from usbmuxd.

AiXanadu avatar AiXanadu commented on July 24, 2024

@XanaduAPI Android devices need root permission to run .I made a small project based on this library. Here is the demo video link:https://www.bilibili.com/video/BV1MZ4y1P7K3

If you need to jailbreak to run it, it's not necessary. Because I'm already running it on regular ARM(Linux).

from usbmuxd.

tangwanchao avatar tangwanchao commented on July 24, 2024

@XanaduAPI 你是怎么做到的,方便微信联系吗? 有偿咨询
我的微信 twcjjww,
电话 18284228392

from usbmuxd.

Related Issues (20)

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.