Is it possible to mount other phones with USB host on the galaxy s3. I would be pretty awesome to develope a mobile version of heidall to flash buddy's phones or adb files to other phone though terminal emulator.
Related
I am the proud owner of a Superpad Android 2.1...pretty nice device. I have started to develop some fun applications using eclipse/androidSdk combo.
I am having issues getting my win7 64-bit PC to recognize the Superpad (yes, I have debugging enabled on the superpad). The PC doesn't recognize that its been plugged into the USB port. I have been looking around for solutions to solve this issue but have come up empty. Any ideas ??
I tried a different tact. One can use ADB over a network. My PC can connect to the Smartpad over the wireless net, connect to adb. Sounds good so far...but, I need su/root privileges to do anything using adb. How do I establish/access the root acct on an android device ?? I type "su" within the adb shell and get permission denied. I need to change this somehow.
Basically I need a way for adb to connect to the hw so I can test on an actual device (after I've tested on the sdk emulator).
Any help on either front would be appreciated.
thanks
Have you installed the debug driver for windows ?
http://developer.android.com/sdk/win-usb.html
To access root and su you must 'root' your device.
Try z4root or google it for your device.
Rooting voids warranty, AFAIK, but can be undone.
Well for some reason my android does not show up when I do adb devices command with the sdk in cmd. So is there any other way to do this? I had no problems doing the location commands on a GB or froyo rom. And yes I did have debugging on.
This is on 4.1.2
Come on guys I really need some help here. My phone doesn't show in any devices on ADB and even with the baseband updater it doesnt show on ports. This only happens on jelly bean rom. Using cm7 it always shows up.
i think you'll have to install usb driver's
for the device to show up
i guess cm9 cm10 have a modified set of drivers
I had usb drivers installed. After GB it wouldnt detect it in anything ADB but usb mode works perfect. I did however get it to change from the internal terminal program with the commands SU then set-install-location 2. Now I just wonder why it wont see the device in ADB.
I just had an idea. I know you can root some phones using ADB and I got to thinking. All android phones have an ADB daemon running in the background that you can connect to through usb on your pc using the ADB client application provided by google(adb.exe) and usb adb drivers provided by google.
Now that you can turn your phone into a USB host using USB OTG, wouldn't you be able to use your phone instead of a computer? With a Micro-B to Micro-B USB cable? Someone has already ported the ADB client to android(ARM-Linux ELF). So someone would just need to port over the drivers to android, and then we could connect to adb on one phone using another with a terminal emulator. Right?
What are your thought?
I have attached the adb and fastboot clients that were ported to android. (adb-fastboot for arm)
EDIT:
I found this for raspberry pi (which is arm based):http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=6130
So after reading a bit more it seems that the drivers aren't even needed. They are only needed when using ADB with windows. But, since Android doesn't use "udev" I don't know if or how android would recognize that another phone is connected.
Hi, I'm running Cyanogenmod 10.1.3 on my S3, the adb binary is up-to-date.
I'm trying to connect my S3 and my S4 or my S3 and my S Plus together via an OTG cable and usb debugging but it doesnt work.
The device gets listed but as "offline". Usually you get an prompt to accept the RSA key and you're done - that works if I connect any device to my PC - but if I want to connect any 2 devices together I just get an offline device and I have no idea why there is NO prompt at all.
Does anyone have an idea? Is therw any workaround?
Basically I just want to connect 2 devices (target >= 4.2.2) together via an otg host cable and adb.
Cheers
chris331022 said:
Hi, I'm running Cyanogenmod 10.1.3 on my S3, the adb binary is up-to-date.
I'm trying to connect my S3 and my S4 or my S3 and my S Plus together via an OTG cable and usb debugging but it doesnt work.
The device gets listed but as "offline". Usually you get an prompt to accept the RSA key and you're done - that works if I connect any device to my PC - but if I want to connect any 2 devices together I just get an offline device and I have no idea why there is NO prompt at all.
Does anyone have an idea? Is therw any workaround?
Basically I just want to connect 2 devices (target >= 4.2.2) together via an otg host cable and adb.
Cheers
Click to expand...
Click to collapse
Push
Push again - I'm also interested in that.
P.P.Push
Push
Sent from my GT-I9300 using XDA Premium 4 mobile app
..and again. :fingers-crossed:
Push
No one? Push..
Push
Adb on phone...
Well, I've been trying to get it though...have a SGW with kitkat rom and a SGT3 10.1 LTE on 4.2.2. Understand that the device need RSA auth to get it online. But the thing is, how to get it pop when we connect though phone. Updating the ADB on PC would help. So far, it works on kali linux (Serch for p2p-adb setup on kali linux tutorial [noob-friendly] by Jacker31). If we can get the adb updated on p2padb phone version...it might works.
Can someone explain me how to get ADB working on my SGS8? I've tried everything: installing drivers, Java, Android SDK, 15 sec adb driver, universal ADB driver, minimal adb. I can't figure out how to do that.
Do what? Get an ADB shell with a pc?
Just install the samsung drivers from here, enable debugging in developer options on your phone and connect via usb
jaannnis said:
Do what? Get an ADB shell with a pc?
Just install the samsung drivers from here, enable debugging in developer options on your phone and connect via usb
Click to expand...
Click to collapse
Thanks, will try that
i was having one hell of a time as well. I tried everything on my laptop to no success. So i actually gave up. Than i thought well maybe its my laptop. So i ended up trying another one i had in the house and viola it worked like a charm. It seems like certain pc are just unable to connect to the samsung s8 via adb mode. Which is totally weird because I had been using adb mode on my pixel xl with no issues what-so-ever. So try a different pc if you can, it worked for me flawlessly.
Might be the USB port.
I had a similar problem connecting my Lenovo laptop to a Kindle Fire. I used a different USB port and everything worked.
9 bin