Adb in TWRP recovery - Samsung Galaxy Nexus

I have always been able to get ADB working over USB in Clockwork Recovery. Recently I tried out TWRP as an alternative, and I really like it, but I couldn't get ADB to work. Is that just not available in TWRP, or are there other drivers I need to install? Or is there an option I need to enable?
Sent from my Galaxy Nexus using Tapatalk 2

cmstlist said:
I have always been able to get ADB working over USB in Clockwork Recovery. Recently I tried out TWRP as an alternative, and I really like it, but I couldn't get ADB to work. Is that just not available in TWRP, or are there other drivers I need to install? Or is there an option I need to enable?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It should work... What driver are you using?

Mount /data?
Make sure your pushing to /data/media?
Is adb not working period like adb devices returns nothing or it won't push?
Sent from my Galaxy Nexus

Also could you do adb devices? This will show if the adb detects your phone or not. If you see a serial number, then the adb recognizes your phone and you're doing something wrong ( such as wrong command or won't directory)
Swyped on my Galaxy Nexus running AOKP with Franco Kernel

ADB devices works when booted into the OS, and works from CWM. I get nothing listed under ADB devices when in TWRP.
I'm using whatever drivers I installed when I first bought my GNex.
It's TWRP v 2.3.1.0, installed from the Goo Manager app.
EDIT: Odd, I unplugged/replugged the phone and now it does show up in recovery. Maybe it doesn't click in if I reboot with the phone attached.

Let me further amend... it does not appear on adb devices until I open up Windows Device Manager and tell it to scan for hardware changes. Then after about a minute the phone appears in adb devices.
With CWM it appears instantly in adb devices, no delay.

well, post your issue in TWRP [email protected] section

bk201doesntexist said:
well, post your issue in TWRP [email protected] section
Click to expand...
Click to collapse
Where is that thread? I'm also facing the same issue in my ZTE V970M...
Nevermind, sorry for the necroposting. I solved it by installing ZTE Composite ADB Device in the C:\Program Files\ZTE <whatever>\Driver\amd64 folder. Using Win8 x64 btw.

Related

[Q] ADB shell error 'adb error device not found'

Galaxy Nexus GSM........
I cannot connect via ADB to my phone. ADB shells but 'adb devices' none is found. Drivers are installed correctly per device manager. Debugging is on.
The only thing I've found in the forums is that I can't select 'none' as my USB connection. The two check boxes won't un-check only behave like radio buttons.
I have always had to use "fastboot devices". Not sure if that is what u are looking for.
Sent from my Galaxy Nexus using Tapatalk 2
Uninstall all drivers and install those from the naked driver thread over in development.
'fastboot devices' is used only when on bootloader.
Sent from my i9250
no luck
No luck. Always get 'no drivers for you phone found'. I guess I should have mentioned that I'm on W7/64 I did notice that mentioned a lot in the threads........ Any need to select the type of USB connection (none is not an option) ?
TIA, Jeff
getting there......
OK I am getting further. When I enter adb devices I can see my phone until I type 'adb reboot bootloader'. As soon as I enter that command the phone does reboot into the bootloader but the USB connection drops as well.
Jeff
Try this drivers bro
Galaxy Nexus AOKP m5 Franco kernel m3
[email protected] said:
OK I am getting further. When I enter adb devices I can see my phone until I type 'adb reboot bootloader'. As soon as I enter that command the phone does reboot into the bootloader but the USB connection drops as well.
Jeff
Click to expand...
Click to collapse
That is because you just installed the "adb" driver for your device. You still need to install the "fastboot" driver. It is the same driver, it just needs to be installed twice - once when your device is booted normally, and once when it is booted in fastboot mode. I personally would use the Universal Naked Drivers by 1wayjonny that bk201doesntexist mentioned, not the PDA drivers or Samsumg drivers or any other ones. 1wayjonny's drivers do not install any other software on your PC - they are just the drivers, unlike the PDA drivers.
Thanks all getting there. Thanks efrant that got me to the next problem .
I unlocked the bootloader and pushed su.zip no problem. Now I have flashed su.zip successfully but I don't have root. I have flashed many times with no luck.
Jeff
[email protected] said:
Thanks all getting there. Thanks efrant that got me to the next problem .
I unlocked the bootloader and pushed su.zip no problem. Now I have flashed su.zip successfully but I don't have root. I have flashed many times with no luck.
Jeff
Click to expand...
Click to collapse
Use the version of su.zip from this post. I just made it yesterday with the latest binary and app, so that one will work.
Thanks efrant that worked. I have root and installed busybox.
There was a really good terminal app that showed up when you flashed Cyanogen but I can't find it in the store. Does anyone know the name? The main thing that I need out of this whole endeavor is ssh and the terminal that came on CM8 and/or 9 was perfect.
Jeff
[email protected] said:
Thanks efrant that worked. I have root and installed busybox.
There was a really good terminal app that showed up when you flashed Cyanogen but I can't find it in the store. Does anyone know the name? The main thing that I need out of this whole endeavor is ssh and the terminal that came on CM8 and/or 9 was perfect.
Jeff
Click to expand...
Click to collapse
grab a cm9 nightly zip and extract apk from /system/app
pm setinstall location 2
if you want to set install location to sd card and move all apps to sd then read my thread http://forum.xda-developers.com/showthread.php?t=1754722
Bricked asus transformer prime
Hey i get the same message and i go to devices and it shows my device in fastboot mode but when i go to use the adb shell command and the adb devices it shows no tablet
can you please help
the system is wiped and data is wiped and i cant seem to get it to read my sd card
please help
thanks
NewDev4IOS said:
Hey i get the same message and i go to devices and it shows my device in fastboot mode but when i go to use the adb shell command and the adb devices it shows no tablet
can you please help
the system is wiped and data is wiped and i cant seem to get it to read my sd card
please help
thanks
Click to expand...
Click to collapse
what tablet? this here is galaxy nexus q&a forum, thread was created 2 months ago.
oh and adb isnt available in bootloader, only recovery and android. boot to recovery.
Sent from my i9250
Solution
[email protected] said:
Galaxy Nexus GSM........
I cannot connect via ADB to my phone. ADB shells but 'adb devices' none is found. Drivers are installed correctly per device manager. Debugging is on.
The only thing I've found in the forums is that I can't select 'none' as my USB connection. The two check boxes won't un-check only behave like radio buttons.
Click to expand...
Click to collapse
Make sure that you have your drivers properly installed. View this guide to fix that : http://goo.gl/OS3Vi
If you still encounter the problem then you can use ADBwireless : http://goo.gl/2Ehso
Hope it helps

Erased everything. Stuck in recovery with no rom. Help?

So I screwed up, wasn't paying attention and wiped everything including the internal sd card. Now I'm stuck in recovery with no rom to flash. I tried mounting usb storage in recovery but nothing happens. My computer dings when I plug the phone in but it doesn't show up, then I press mount and nothing happens. Any ideas?
Sent from my SCH-I535 using Tapatalk 2
Guide in my signature.
Post one for ADB.
Post three for pushing a ROM.zip to your phone.
You can use ADB to push a ROM .zip to the internal storage while in the recovery.
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
ajk511 said:
Ok awesome, thanks guys. For a minute I was thinking I might be screwed since I couldn't mount.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
ADB and fastboot can usually save your ass.
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
ajk511 said:
Ok, downloaded latest drivers, reinstalled ADB using the ADB for dummies app. copied rom to platform tools, held shift and right clicked inside the platform tools folder, clicked "open command window here".
In the command window I have after trying to push looks like this:
C:\android-sdk-windows\platform-tools>adb push milestone4.zip /sdcard/
error: device not found
C:\android-sdk-windows\platform-tools>
Any idea how to get my device to be found?
Click to expand...
Click to collapse
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Petrovski80 said:
You have your phone connected and booted into recovery? Then you need to install the adb driver. Use the naked driver mentioned in the 101 & faq (link is in my signature).
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Still not getting anything.
ajk511 said:
Still not getting anything.
Click to expand...
Click to collapse
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Petrovski80 said:
Open the device manager before plugging in your phone. Plug in your phone watch for newly listed devices. You should see your phone be added to the list.
Click to expand...
Click to collapse
Got it going now, in installed in device manager and reinstalled. Thanks for all the help man.
Sent from my SCH-I535 using Tapatalk 2

adb issues. tough case.

ok, I am really in dead end here. I think I spent on it more than 4 days, trying to figure it out. No luck, hopefully someone here can help.
My One isn't recognized under adb fastboot. And what I mean: under device managers it shows that the device is installed fine ( no yellow exclamation marks ). But when I try to adb, no luck. No devices recognized.
wait.. before you refer me to gadzillions of links - I've been there, seen them. What I did so far:
1) Installed linux ( live cd and normal ). When in the OS, I can browse my sd card. Once I reboot into fastboot, adb devices returns empty list.
2) installed htc drivers, naked drivers, universaladb drivers, intel usb3 drivers ( tried on both usb2 and usb3 ports )
3) various laptops and pcs
no luck. I am running out of ideas. What am I missing ? pliz help, I am desperate to adb to update recovery.
PS. Tried that on windows 7, 8, 8.1 and linux
If your just trying to update your recovery you can use flashify from the playstore.
https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en
mercer24 said:
If your just trying to update your recovery you can use flashify from the playstore.
https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=en
Click to expand...
Click to collapse
checking it right now. thank you
ah, didn't work. But thank you for help. Returning the phone to the store today.. ehhh..
pRuben said:
ah, didn't work. But thank you for help. Returning the phone to the store today.. ehhh..
Click to expand...
Click to collapse
I don't recall seeing it mentioned in any of the recipes, cookbooks or how-to postings, but I found that in Linux, you should run your adb and fastboot instructions either logged in as root, or using sudo.
Make sure you don't have any phone software installed on the computer as well. HTC sync and Kies can cause problems with adb. Also make sure that adb debugging is turned on in developer settings. You probably already did that, but ya never know, I overlook the simple stuff all the time.
did you take 4.3 update
If you did I have same issue with adb but fastboot options work just fine as long as your s-off if you need any help let me know i went and reloaded hboot and a cwm and also wrote my cid to super and unlocked through htc dev then changed my cid back to verizons
thanks guys, yep, HTC sync manager was installed /uninstalled. Not sure what what's kies. Also I executed sudo on linux. Nothing freaken works. I am s-off unlocked via sonic. Drives me insanely mad. Seems like this phone just refuse to work with me.
I know this might seem like a dumb idea but have you tried a different cable? Are you using the one that came with the phone?
I don't know you so forgive me if what follows is too simplistic or unrelated to your issue. Just trying to help.
You mentioned your phone is not recognized "under adb fastboot." Do you mean under neither adb nor fastboot?
Are you trying to use adb from the bootloader? The reason I ask is you mentioned that after you "reboot to fastboot," adb devices comes up empty. I assume "reboot to fastboot" means reboot to bootloader, in which case adb commands will not work. Did you try fastboot devices instead?
You also mentioned wanting to get adb working to update recovery, but again this would require fastboot, not adb.
Hope this is the problem as it's an easy fix!
Sent from my HTC6500LVW using xda app-developers app
xenakis said:
I don't know you so forgive me if what follows is too simplistic or unrelated to your issue. Just trying to help.
You mentioned your phone is not recognized "under adb fastboot." Do you mean under neither adb nor fastboot?
Are you trying to use adb from the bootloader? The reason I ask is you mentioned that after you "reboot to fastboot," adb devices comes up empty. I assume "reboot to fastboot" means reboot to bootloader, in which case adb commands will not work. Did you try fastboot devices instead?
You also mentioned wanting to get adb working to update recovery, but again this would require fastboot, not adb.
Hope this is the problem as it's an easy fix!
Sent from my HTC6500LVW using xda app-developers app
Click to expand...
Click to collapse
Once in a while I get humbling experience, that reminds me that simple solutions are right in the front of me Xenakis. You are correct, I was trying to get adb under fastboot, which didn't return anything. Fastboot devices did. From there it was all straight up road to what I needed. Sorry to bother you guys with this, I though it was more complicated that this. It just appears like my ignorance of basic adb commands got the best of me. Thank you for helping me out.
Merry Christmas

help with twrp and no rom on the pad

So i was messing with my tablet and ended up f*, i can access twrp, but cant find a way to mount the drive to transfer the files.
any ideas, how to put transfer a rom or something?
anarkhy said:
So i was messing with my tablet and ended up f*, i can access twrp, but cant find a way to mount the drive to transfer the files.
any ideas, how to put transfer a rom or something?
Click to expand...
Click to collapse
Go to advanced tab of twrp and select ADB sideload. You need to have adb installed ofc. If you dont have it download minimal adb http://forum.xda-developers.com/showthread.php?t=2317790
thanks man, that worked. just got my g pad today and in less than 2 hours using the thing almost broke it.
Im glad you sorted it out, i forgot to mention that you could also move the files to a microsd card using a card reader.
katsika said:
Go to advanced tab of twrp and select ADB sideload. You need to have adb installed ofc. If you dont have it download minimal adb http://forum.xda-developers.com/showthread.php?t=2317790
Click to expand...
Click to collapse
how do i use adb sideload if my computer doesn't recognize the tablet? i'm having the same problem. i have all the drivers installed.
atomicblue said:
how do i use adb sideload if my computer doesn't recognize the tablet? i'm having the same problem. i have all the drivers installed.
Click to expand...
Click to collapse
you need to have the adb drivers installed and not lg's drivers. Take a look at twrp's site: http://teamw.in/ADBSideload

Fastboot the Ouya and Windows 7

Hello I installed a new FW on my Ouya and it killed CWM recovery. Right now I'm stuck at the device manager and it list my Ouya as other device and fastboot is under that. I tried installing the drivers from OneClickOuyaRecovery.zip, but it doesn't work. What am I doing wrong?
Install the adb sdk then your going to want to install the Google drivers and add a line of code to the file under nexus to make It work with the ouya. Your going to have to Google it or maybe some one can file you in better on it. I'm at work and don't have access to a computer to give you a 100% detail on how to do it. Like I said just Google it that's how I found out how to make it work.
Sent from my SCH-R970 using Tapatalk
samt3 said:
Install the adb sdk then your going to want to install the Google drivers and add a line of code to the file under nexus to make It work with the ouya. Your going to have to Google it or maybe some one can file you in better on it. I'm at work and don't have access to a computer to give you a 100% detail on how to do it. Like I said just Google it that's how I found out how to make it work.
Sent from my SCH-R970 using Tapatalk
Click to expand...
Click to collapse
Yep I had the adb drivers installed, but not the fastboot drivers. I found them here: http://forum.xda-developers.com/showthread.php?t=1582554. CWM recovery installed and works fine.
Thanks

Categories

Resources