Adb access in TPT stock recovery - Thinkpad Tablet Android Development

Should I be able to access adb while in stock ICS recovery? Asking because I cannot see it in windows while in recovery and i am not sure if it is a driver issue or what.
I need to adb access to copy over a new build. prop as i am stuck in a bootloop...
Sent from my Sony Tablet S using XDA Premium HD app

bjanice44 said:
Should I be able to access adb while in stock ICS recovery? Asking because I cannot see it in windows while in recovery and i am not sure if it is a driver issue or what.
I need to adb access to copy over a new build. prop as i am stuck in a bootloop...
Sent from my Sony Tablet S using XDA Premium HD app
Click to expand...
Click to collapse
I can not see the tablet (a 9.7" Tablet, not your model) either while in Stock Recovery. First in Windows Device Manager there is not ADB device, and in MSDOS adb devices doesn't see any devices
When the tablet is booted normally, Device Manager show the ADB Device and adb commands work fine.

Related

[Q] Am I (soft) bricked? Can't mount SD in recovery

Hello,
I've been unlocked and rooted for a few weeks and all has been good. Not sure how I did this but I seem to have now bricked my phone though. I can only get my phone to boot to CWM recovery, not to boot properly. Also - while in CWM I get an error E: Can't mount /sdcard/ .
This means I can't copy a ROM to the phone to flash.
Any other way I can get around this? My phone is an unbranded HTC One on T Mobile in the UK. Any help would ne majorly appreciated!!
Did you find a way around as i m stuck too in recovery cant mount external sd card...
Sent from my HTC One x using xda app-developers app
Try with the command:
Code:
adb push name_of_rom.zip /sdcard
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
redbull123 said:
^^if that doesn't work I would try going into recovery and trying to install from sideload
adb sideload name_of_your_rom.zip command on your PC.
Make sure name_of_your_rom.zip is in your folder with your adb files.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Cheers for the help guys - I'll give it a go
Sooooo, possibly getting somewhere.
Basically I can now see the sdcard from within CWM. However - I can't push anything to it via adb.
If I go into fastboot and type 'adb devices' I get no devices found. However - typing 'fastboot devices' does see the device.
??
You have to use adb command in recovery..
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
thenoble06 said:
Hmmmm, still the same.
I'm beginning to think I've bricked it. Fastboot commands from Fastboot work, but can't get adb commands from recovery to work.
Wonder if I use a different laptop...?
Click to expand...
Click to collapse
Reflash the recovery and upgrade your adb with the latest...
Or try the sideload method.
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
redbull123 said:
Don't mean to offend, but are you running the commands from within the folder in cmd?
ie. My adb folder is called android and it's on my desktop on my mac so I would type:
cd /users/my_name/desktop/android
before I would write any commands.
Try clearing your cache in recovery also
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
thenoble06 said:
No offense taken RedBull, I'll gladly admit I'm a newbie when it comes to ADB (but I am in the right directory).
I'm so close to fixing this, if I could just, somehow, get a rom onto the phone I could flash it and away I go. How I wish the One had a removable card since I can't get the phone to be recognised (error: no device found) when using ADB and Recovery. However, weirdly, I can push different recoveries using AIO kit (but can't use it for anything else). Also weird how FASTBOOT recognises the phone, but Recovery/ADB doesn't
Would a USB OTG cable help? I'm guessing not.
Click to expand...
Click to collapse
I haven't tried this myself, but ClockworkMod Touch is supposed to support USB OTG:
http://forum.xda-developers.com/showthread.php?t=2173863
As is TWRP:
http://forum.xda-developers.com/showthread.php?t=2173870&highlight=usb+otg
Just remember to plug everything in before you enter recovery
'fastboot erase cache' before flashing a new recovery
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
thenoble06 said:
And if USB OTG works i could use it to copy a file from a USB drive to my phone?
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Like i said - i haven't tried it, but there is an option to install a zip from external sdcard in recovery, so it may be that.
Sent from my HTC One using xda premium
Use hasoons toolkit, it has option to sideload. Just make sure you select sideload in recovery. I had the same issue but I was on twrp . Hopefully cwm has side load option
Sent from my HTC One using xda app-developers app
Yeah i tried, for some reason i cant get my laptop to see my phone via ADB
Sent from my GT-N7000 using Tapatalk 2
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
thenoble06 said:
Your not offending me! I do work in IT but readily admit I'm a NOOB when it comes to Android and ADB.
When I try to sideload I get the same error: device not found error.
I'll give clearing cache and reinstalling the Recovery a bash
Click to expand...
Click to collapse
regarding the device not found error, check if the adb interface is installed in the device manager. may be you have to install it manually .
Also i had the same issue with the sdcard (not able to access), i have wiped the Data partition because sdcard is included inside (in /data/media) of course you will lose all the files in sdcard.
NiceIceDice96 said:
Make backup pf your sd card then munt usb storage voa cwm format the int and ext sd card then it will be mounted cause i faced this proplem tpday on my tablet and i solved it like that it's simple
Sent from my GT-S6500 using Tapatalk 2
Click to expand...
Click to collapse
This device it is not able to mount sdcard via recovery yet, but if you use an off cable it will work I have done it
Sent from my HTC One using Tapatalk 2

[Q] Help, NO OS, How to push ROM via adb on mac?

Hi, guys I followed all instructions after bricking my phone, it only goes into twrp recovery, i don't have an os and i cant put the rom in device via usb since it wont recognize it, But I tried to push the rom via adb and using terminal like this:
/Users/BARKIN/desktop/Android/adb push slimbean.zip /sdcard/
etc, but it wont work, i try listing devices, it says no device found..
I USE a mac btw, help me out?
Since you have twrp find adb sideload and do it that way. If you need more info Google adb side load twrp.
Sent from my Nexus 7 using XDA Premium HD app
well, I have no file on the phone, i wiped system and everything only recovery is in place.. i cant push rom through adb on mac.
there is hasoons tool which you can make use off. there are actually two out there.. in orignal android section. find the one with mac support.
There is no mac toolkit
barkmarkin said:
well, I have no file on the phone, i wiped system and everything only recovery is in place.. i cant push rom through adb on mac.
Click to expand...
Click to collapse
With adb sideload it does not matter it will work as long as you can use adb commands
Sent from my HTC One using xda premium
So, step by step:
-Boot phone into TWRP
-Select Advanced, then ADB Sideload, swipe to start it
-Connect USB to Mac
-Launch command prompt on Mac
-"adb devices" should detect the phone.
-"adb sideload slimbean.zip" should flash the zip

Full Panic Mode. Boot Issues + Format

Hey guys,
I done ****ed it all up.
Was in my TWRP recovery on my One, was wiping the phone to prepare for a new rom. Unfortunately, I was stupid and didn't realize that I was formatting it instead of wiping it. Now, I have a useless chunk of beautiful metal.
I can get into TWRP, but cant really do anything from there. It wont connect to my PC ( I dont see it under My Computer ) so I cant move any roms over to flash. I feel like I'm missing something very simple here.
Any ideas?
Adb sideload from recovery, advanced option.
Sent from my HTC One using Tapatalk 4
Dont panic as pablo11 have said, you can use adb sideload to sideload a rom.
Boot into twrp go to advanced, then adb sideload and swipe then on your computer open a command line where you have your folder for rooting the htc one (where fastboot is etc) and put the ROM you want to flash in that folder and type adb sideload ROM.zip and you should be good to go!
ADB Sideload
What is ADB*sideload?
ADB*sideload is a new feature that was added to AOSP*recovery in Jelly Bean.* As of version 2.3, TWRP*now supports ADB*sideload mode.* ADB*sideload is a different ADB*mode that you can use to push and install a zip using one command from your computer.* Most likely*ADB*sideload won't be very useful for your average recovery user, but ADB*sideload can be a huge time-saver for a ROM developer.
How do I*use ADB*sideload?
Have a recovery installed on your device that supports ADB*sideload like TWRP*2.3 or higher
Have newer ADB binaries installed on your computer.* If it's been a while since you installed ADB on your computer, you may need to get the latest ADB binaries in platform-tools from*the Android*SDK.* You will need version 1.0.29 or higher.* You can find your current version by typing*"adb version" at the command line.
Set the device into ADB*sideload mode. In TWRP*you do this by going to Advanced then ADB*Sideload.
From the command line, type adb sideload /path/to/rom.zip
The file will be copied to your device to whatever the current storage location is that you have selected in the mount page.* It will always be placed in the root of that storage location and named sideload.zip (e.g. /sdcard/sideload.zip) and it will automatically delete / overwrite any existing sideload.zip you may have on your device.* As soon as the file is copied to your device, it will automatically be installed.* When the install is finished you will be presented with a reboot system button so that you can reboot to test your zip.
Note that sideload mode is a separate ADB*mode. While in sideload mode, regular ADB commands will not work. Once the zip has been copied to the device and the install starts (or if you hit the cancel button) regular ADB mode will resume.
Sent from my HTC One using Tapatalk 4
Instructions:
http://forum.xda-developers.com/showthread.php?t=2325853&highlight=sideload
All fixed last night. Thanks guys, got my phone running again! Now to fix that radio...
Sent from my Nexus 7 using XDA Premium 4 mobile app
yasha.sinitski said:
All fixed last night. Thanks guys, got my phone running again! Now to fix that radio...
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Happy to hear it and glad to help!

Help- Accidental No OS on Kindle Fire HD7

Hello all.
Was tinkering around with my KF- And accidentally wiped everything from my internal storage and system. When it boots up I get the blue KF logo and it stays stuck there- Can't boot into recovery.
ADB doesnt recognize it.
Have a fastboot cable.
How do I atleast push files to it /boot into recovery??
Many thanks.
To boot into recovery, after you power on the kindle, immediately let go of power and instead hold volume down usually only until you see the blue kindle logo. You can hold it longer if it makes ya feel better, it should then show the twrp logo and from there you can use adb to push the ROM of your choosing onto the device, here's a tutorial for that assuming you get into recovery. http://forum.xda-developers.com/showthread.php?t=2459498
I think I know how to get it into recovery from fastboot as well but if that doesn't work you'd just have to reflash Amazon's os with kindle fire first aid.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
stunts513 said:
To boot into recovery, after you power on the kindle, immediately let go of power and instead hold volume down usually only until you see the blue kindle logo. You can hold it longer if it makes ya feel better, it should then show the twrp logo and from there you can use adb to push the ROM of your choosing onto the device, here's a tutorial for that assuming you get into recovery. http://forum.xda-developers.com/showthread.php?t=2459498
I think I know how to get it into recovery from fastboot as well but if that doesn't work you'd just have to reflash Amazon's os with kindle fire first aid.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app
Click to expand...
Click to collapse
I tried all of this- Yes, I got it into recovery, It was recognized once by ADB and when I attempted to push the files from a flash drive it stopped working. Did the flash drive effect it or? It's also not showing up in device manager at all anymore after updating the drivers to ADB.
SilverRoxas said:
I tried all of this- Yes, I got it into recovery, It was recognized once by ADB and when I attempted to push the files from a flash drive it stopped working. Did the flash drive effect it or? It's also not showing up in device manager at all anymore after updating the drivers to ADB.
Click to expand...
Click to collapse
You cannot use a flash drive with the Kindle Fire HD as it's unsupported. You have to push it via command prompts on your computer. Follow the tutorial posted. try adb sidelad rather than adb push as the command.
LinearEquation said:
You cannot use a flash drive with the Kindle Fire HD as it's unsupported. You have to push it via command prompts on your computer. Follow the tutorial posted. try adb sidelad rather than adb push as the command.
Click to expand...
Click to collapse
I don't believe I made myself clear. I attempted to push a file from a flash drive connected from my computer and after it was attempted ADB couldn't find my device. Unless I am misunderstanding you, this is what I did. I have attempted cmd prompts and none are moving to my avail.
My apologizes if I am misunderstanding you, sir.
SilverRoxas said:
I don't believe I made myself clear. I attempted to push a file from a flash drive connected from my computer and after it was attempted ADB couldn't find my device. Unless I am misunderstanding you, this is what I did. I have attempted cmd prompts and none are moving to my avail.
My apologizes if I am misunderstanding you, sir.
Click to expand...
Click to collapse
Ah gotcha, I was thinking you were trying to use OTG with a flashdrive. So, I wonder if the problem was that you were trying to flash from a flashdrive or maybe you are missing the adb.exe file. The folder you put the ADB drivers in should have a file marked adb.exe as well. This is what will execute the pushing of the files. Make sure you point the drivers after it is in the folder you will CD from. If you don't have this then download the sdk package and in one of the tool folders you will have adb.exe. Just throw your drivers and ROM in that folder and that will be the folder you CD from.
So try this:
a. Make sure the ROM, ADB drivers and adb.exe are in the same folder.
b. Now go into device driver and manually (choose from your files) update the adb drivers and install them.
c. Once the adb is again recognised go into the folder with all the files and find a white area and hold shift and right click on the mouse and choose open a command window here.
d. Now enter the commands adb sideload name-of-rom-or-file-here-make-sure-to-add (.zip) - at - the-end /sdcard/
e. Give a minute for the process to show in the command window. You should start seeing some percentages as the file is pushed.
LinearEquation said:
Ah gotcha, I was thinking you were trying to use OTG with a flashdrive. So, I wonder if the problem was that you were trying to flash from a flashdrive or maybe you are missing the adb.exe file. The folder you put the ADB drivers in should have a file marked adb.exe as well. This is what will execute the pushing of the files. Make sure you point the drivers after it is in the folder you will CD from. If you don't have this then download the sdk package and in one of the tool folders you will have adb.exe. Just throw your drivers and ROM in that folder and that will be the folder you CD from.
So try this:
a. Make sure the ROM, ADB drivers and adb.exe are in the same folder.
b. Now go into device driver and manually (choose from your files) update the adb drivers and install them.
c. Once the adb is again recognised go into the folder with all the files and find a white area and hold shift and right click on the mouse and choose open a command window here.
d. Now enter the commands adb sideload name-of-rom-or-file-here-make-sure-to-add (.zip) - at - the-end /sdcard/
e. Give a minute for the process to show in the command window. You should start seeing some percentages as the file is pushed.
Click to expand...
Click to collapse
I attempted your method shown here and I get stuck at ADB drivers. There is no Kindle Fire device in my device manager and no bubble shows up when my kindle is attached to my pc. Could the cord be the issue? (I'm also running Windows XP, if that makes a difference.)
Also, I have drivers installed, but I'm unsure they're the correct ones. Where can I find them?
SilverRoxas said:
I attempted your method shown here and I get stuck at ADB drivers. There is no Kindle Fire device in my device manager and no bubble shows up when my kindle is attached to my pc. Could the cord be the issue? (I'm also running Windows XP, if that makes a difference.)
Also, I have drivers installed, but I'm unsure they're the correct ones. Where can I find them?
Click to expand...
Click to collapse
You won't have a pop up when your tablet is plug in at this point. In your device manage do you see a yellow triangle? There should be some android device in your device manager of some sort the pops up when plugged in. To test abd being recognized type adb devices in the command window and you should see your device show in the command window within 30 seconds.
LinearEquation said:
You won't have a pop up when your tablet is plug in at this point. In your device manage do you see a yellow triangle? There should be some android device in your device manager of some sort the pops up when plugged in. To test abd being recognized type adb devices in the command window and you should see your device show in the command window within 30 seconds.
Click to expand...
Click to collapse
After another day of messing with it, yes, finally, it's recognized in ADB. I can push anything but the .zip files for Gapps and Roms. When I try to, it just gives me a list of all the commands you can use with ADB. I've tried ADB sideload and push. Neither work.
SilverRoxas said:
After another day of messing with it, yes, finally, it's recognized in ADB. I can push anything but the .zip files for Gapps and Roms. When I try to, it just gives me a list of all the commands you can use with ADB. I've tried ADB sideload and push. Neither work.
Click to expand...
Click to collapse
Check the md5sum for corruption. Make sure to have those zips in the same folder you're CDing from.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
LinearEquation said:
Check the md5sum for corruption. Make sure to have those zips in the same folder you're CDing from.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Okay, so now no file is pushing/sideloading to my Kindle. I have them in the same folder I'm CDing from and it's still just running through what commands ADB can do. I'm unsure why it's doing this? It pushed once and now it won't anymore (similar to how it detected my kindle before then didnt).
SilverRoxas said:
Okay, so now no file is pushing/sideloading to my Kindle. I have them in the same folder I'm CDing from and it's still just running through what commands ADB can do. I'm unsure why it's doing this? It pushed once and now it won't anymore (similar to how it detected my kindle before then didnt).
Click to expand...
Click to collapse
Is adb still recognized in you device drivers?
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
LinearEquation said:
Is adb still recognized in you device drivers?
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, my Kindle is still recognized.
i dont os on my kindle fire hd 7
I am having a mare with my kindle fire hd 7
It all starrted when anything google related kept crashing.
I tried to find solutions to the problem but no joy.
I then tried to install a different update to cyanogenmod nightly software but i then had a major problem with not being able to turn on my wifi.
I went into Twrp and tried to restore to my previous software but when my kindle re-booted i got stuck with a flashing teamwin logo
After trawling for days i managed to get out of that but im now in a situation where i dont have any OS on my kindle.
I have followed instructions on how to push files onto my kindle but despiote finding some files on my sdcard i am unable to reboot past the blue and white Kindlefire logo.
I have tried using the kindle un-brick java option but no joy either
I would really appreciate some help solving this proble as it is really driving me crazy.
I can still access twrp and i can access bootloader to get the orange and white fastboot logo.
If someone can help guide me through how i can get my kindle working again id really appreciate it
cheers
JJ
Might be able to help.
I had the exact same problem as you and watched this video and i fixed it youtube(dot)com/watch?v=NaK5OxUeDKM
sorry im not allowed to post links because im a new user.
Hey Danny101
Danny101 said:
I had the exact same problem as you and watched this video and i fixed it youtube(dot)com/watch?v=NaK5OxUeDKM
sorry im not allowed to post links because im a new user.
Click to expand...
Click to collapse
Thanx for your response.
Sorry its taken me a while to reply but have had loads going one recently.
Shortly after making my post i did find that exact same youtube vid tutorial and was able to solve my problem.
I just wanted to say thanx for taking time to respond even so.
All the best.
JJ

[Q] HTC One - Custom Recovery not mounting storage

Hi,
I've looked everywhere for a solution but couldn't find one that helped. I was trying to flash a mod via TWRP custom recovery (followed all the instructions, wiped dalvik cache etc) but when rebooting, |the phone got stuck on the HTC One logo. I can access the custom recovery but when trying to mount storage, computer -running Windows 8- doesn't seem to do anything. Also made the mistake of not making a nandroid backup beforehand, so just need to be able to flash a ROM. Tried to adb push the file, but it gives me the error 'device not found'.
Delete... Sorry, I did misread it.
A lot of people have issues with getting drivers to work on Windows 8. Probably easier if you know someone who has Windows 7 and install the drivers on that
Sent from my HTC One using XDA Premium 4 mobile app
Minimal ADB and Fastboot
Maybe you could try this one here, solved this problem for me.
http://forum.xda-developers.com/showthread.php?t=2317790
You can check if adb can find your phone with "adb devices". If there is none, you have to check your drivers again.
I then used adb sideload in TWRP. Start it when connected and type "adb sideload update.zip" (or whatever your zip is called). He will load the file to your root /data directory. You can install the zip from there then.
Thanks
Thanks for the answers! I'll try using another computer that's not running Windows 8 - I have a feeling its a problem with the drivers.
Same problem here, when i type fastboot devices the serial appeared but i cant push files like the stock odex rom, cant, i found out i cant access my internal memory, is there a solution for that?
Thanks!!
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
nateboi81 said:
Fastboot and adb are different. You can only adb push from in a Rom or in recovery
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
even in settings in twrp or cwm recovery, i cant mount my memory, is there a way to remount my memory on my phone? so that i transfer stock rom to my phone

Categories

Resources