bkerler / mtkclient

MTK reverse engineering and flash tool
GNU General Public License v3.0
2.73k stars 529 forks source link

Mtk client on android #1113

Open Cjk75 opened 4 months ago

Cjk75 commented 4 months ago

Whay is the best way tonrun the client from android? There are lots of linux and win emulators but has anyone eun it this waybwith success and can point me the one that will run it the smoothest?

Thank you ahead of time for any help.

r4db commented 4 months ago

i think u could use termux and otg

requirements: 2 phones (1 phone to use termux, 1 phone to use mtkclient on) otg

termux to install mtkclient and otg to connect to device

Cjk75 commented 4 months ago

The problem im running into is most emulators run 64 bit and the phone is only 32 bit.

bkerler commented 4 months ago

termux has no usb1 stack afaik ... so I doubt it will work

Cjk75 commented 4 months ago

It seems moat emulators dont. How about cloud computing? Is there a cloud computer that could still connect to the phone and read the tablet via usb? Im really grasping at straws here...

bkerler commented 4 months ago

The problem is the usb connection (and the usb kernel implementation). Possible is everything ... and maybe with a proper rooted phone this might work as well.

Cjk75 commented 3 months ago

And i cant root because i cant unlock the bootloder without the oem unlocking option or a rooted phone... ill keepp digging

hopez13 commented 3 months ago

termux has no usb1 stack afaik ... so I doubt it will work

libusb can be installed in termux using apt install libusb

Screenshot_2024-07-26-14-19-32-768_com termux-edit

also please check this guide https://wiki.termux.com/wiki/Termux-usb

also check this issue https://github.com/termux/termux-packages/issues/5831 @bkerler

R1punk commented 3 months ago

libusb nethunter android ![Uploading Screenshot_20240731-085610.png…]()

R1punk commented 3 months ago

Screenshot_20240731-085610

R1punk commented 3 months ago

debugmode

log.txt

hopez13 commented 3 months ago

1

Termux [Root Required ] No Problems Till Here But Sadly I Don't Have Another MTK Device To Test It Further

R1punk commented 3 months ago

up

Cjk75 commented 1 month ago

Excellent hopez13 proved it could be installed... Im now on a 64 bit phone and back at it after a hiatus. When i gra and install the mtkclient files it fails to find a suitable package for PySide6 and Shiboken6. I've tried using different sites for sources and they all fail with

ERROR: Could not find a version that satisfies the requirement shiboken6 (from versions: none) ERROR: No matching distribution found for shiboken6

bkerler commented 1 week ago

PySide6 and Shiboken6 is only needed for the gui, not for the cli version

bkerler commented 1 week ago

Just tested it and it doesn't work as expected. you can run mtkclient in termux, but device will never be detected

R1punk commented 3 days ago

Just tested it and it doesn't work as expected. you can run mtkclient in termux, but device will never be detected

Try it on os kali nethunter bro

BypasserThe commented 22 hours ago

Just tested it and it doesn't work as expected. you can run mtkclient in termux, but device will never be detected

Try it on os kali nethunter bro

This worked for you? Post additional details of so.