MasterDevX / Termux-ADB

Install ADB & FastBoot Tools in Termux!
1.7k stars 277 forks source link

Unauthorized device #46

Open Segilmez06 opened 3 years ago

Segilmez06 commented 3 years ago

Trying to connect the localhost and when i run adb devices it says my phone is unauthorized. I can't use any commands like adb shell. What should I do?

Geruays commented 3 years ago

Trying to connect the localhost and when i run adb devices it says my phone is unauthorized. I can't use any commands like adb shell. What should I do?

It not working 100% without root

Segilmez06 commented 3 years ago

Trying to connect the localhost and when i run adb devices it says my phone is unauthorized. I can't use any commands like adb shell. What should I do?

It not working 100% without root

I tried with a rooted device now and still the same.

sergiorgb commented 2 years ago

Mine isnt even recognizing my phone

Segilmez06 commented 2 years ago

Mine isnt even recognizing my phone

Did you enable ADB over WiFi? If not, enable it and try to connect via phone's WiFi IP.

GroundNF commented 2 years ago

Mine isnt even recognizing my phone

Did you enable ADB over WiFi? If not, enable it and try to connect via phone's WiFi IP.

this method worked for me by making a server with adb on the pc after that it is connected using termux adb with the same wifi / ip and the result works 100% I can enter the adb shell

sergiorgb commented 2 years ago

Anyways i used the magisk module ADB and Fastboot for android ndk and that does make usb work so...