这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Apr 27, 2022

I am really sorry about this...

Basically I shouldn't use ANDROID compiler option...

vanilla NDK doesn't have it,
I was passing -DANDROID=1 to the CMake in my local test env, so I didn't realize it until just now..
__ANDROID__ is the correct one, this will fix my typos in the last PR #10339

Luckily this didn't break anything else, rooted users are still able to use fastboot normally
just Termux-usb support was not included.. (due to the wrong compiler option)

now I've comfirmed it is working

Screenshot

please blame it on me..

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
@Grimler91
Copy link
Member

Thanks, merged: 67ceadb

(seems like I can't edit the PR due to it not originating from your username, not because of master branch/protected branches)

@ghost
Copy link
Author

ghost commented Apr 27, 2022

Thanks, merged: 67ceadb

(seems like I can't edit the PR due to it not originating from your username, not because of master branch/protected branches)

Thank you sir! It's finally working now!

Screenshots

@RohitVerma882
Copy link

termux-usb support added in adb?

@ghost
Copy link
Author

ghost commented Apr 30, 2022

termux-usb support added in adb?

not yet, maybe u can give a try?

@RohitVerma882
Copy link

RohitVerma882 commented Jul 15, 2023

I have finally found a way to patch the adb binary to add support for USB devices for non-rooted users using the Termux-USB API. This means that you no longer need to run the termux-usb -r -e "adb ..." -E "..." command to use adb with USB devices.

IMG_20230715_114717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants