Use adb, no PC or root required!

Gregbmil1

Senior Member
Jun 23, 2017
151
44
0
Cleveland area
Hey guys i stumbled on this today and thought I would share. I always found having adb installed on my rooted phone to be handy when it came to installing things on my FireCube. Turns out a rooted phone is not required. I was able to connect to my FireCube wirelessly using "adb connect". You only need to install Termux from the app store and copy and paste this if you can, then hit enter. Or click the link then copy it there.

apt update && apt install wget && wget https://github.com/MasterDevX/Termux-ADB/raw/master/InstallTools.sh && bash InstallTools.sh

This may be old news but I find it impressive we can have adb on our phones. It most likely works with most phones I have a Pixel 3a.
 
Last edited:

Gregbmil1

Senior Member
Jun 23, 2017
151
44
0
Cleveland area
Pretty great
I thought this was amazing because I thought you needed root to get adb on your phone.
I found out that if install this then connect to a PC with a USB cable, open adb on the pc, type 'tcpip 5555'. You can then disconnect it, open Termux, type adb connect "your phone ip" From there you can use adb on your phone with your phone!...........Mind Blown. Android 10 no root

No one cares but I thought I'd share. It will always work until you restart your phone. Then you need to do the pc again if you want to use it again. Why not just use the pc for adb while you have it connected, you ask?.......I don't know, lol. I guess I like to do things that were not intended. I miss Root:(
 
  • Like
Reactions: flash713

flash713

Senior Member
May 7, 2015
822
419
93
Houston, Texas
Good stuff here. I have always just used osm0sis's adb fastboot enabler/magisk module. I've unlocked several bootloaders using that and terminal emulator and a otg cable. $5 on eBay is what I paid for mine.. (edit)
Does it still allow you to sudo -or- su and run command as root or no? I tried a while back to install fastboot and adb from termux using their directions from the app and I couldn't get it to work but that's been a while. If you ever need a quick fix and can't get to your laptop or whatever a quick search in magisk manager will bring up the adb fastboot module created by Surge and Osm0sis. Take like 2 secs to install reboot and you have adb and fastboot. Just do "su" for root though and not sudo. su (enter) then fastboot boot recovery.img or whatever you want to do. Works like a charm. I'm going to go venture in to this now here and tinker a bit. Thanks for sharing your find. :)
 
Last edited: