MasterDevX / Termux-ADB

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

I have a few questions!!! #30

Closed binhpro2k5 closed 4 years ago

binhpro2k5 commented 4 years ago

Can I use this tool without root and magisk?

tutacat commented 4 years ago

Termux does not require any rooting in the slightest

Just to use it for local device you have to enable adb over tcp (from another device, adb tcp 5555) It works with usb connected device without doing anything

romandev commented 4 years ago

@tutacat, could you please explain how we can connect local device in more details? I tried it as follows:

  1. Connect my device to host PC
  2. Run adb tcpip 5555 command on Host PC
  3. Run adb connect localhost:5555 command via Termux on my device
  4. But it doesn't work well on my environment
romandev commented 4 years ago

Self answer: Ah, okay. It works well. I was confusing with another device. Thanks!

tutacat commented 4 years ago

Should work with localhost, adb doesn't actually take the :port bit of an address, just uses the default (port 5555)

MasterDevX commented 4 years ago

Can I use this tool without root and magisk?

Sure, you can.