Need help with adb sideload - Nexus 10 Q&A, Help & Troubleshooting

I was going to flash a rom using twrp. Before I got to flash it I wiped the internal storage. Now I have nothing on my tablet. Can I use the adb sideload feature in twrp to push a rom on the device? If so can you explain how? I'm new at this so I do think know the commands. Thank you for your help.

I'm in the same boat as you
Sort of in the same boat as you. Except I'm having trouble with ADB sideload and Fastboot. But for you to try and fix your issue go here: http://forum.xda-developers.com/showthread.php?t=2001868
That toolkit will allow you to flash either a Google stock ROM or a backup using fastboot. If that doesn't work then reply back to this thread.

I also did the same thing as you did, I was able to side load cyanogen mod on the nexus
Just go into recovery and then into adbsideload option,make sure device is connected to PC and adbfastboot drivers are installed,then while your recovery is in adbsideload mode, type in command by opening command prompt in platform tools in sdk 'adb sideload filename.zip'
Where filename is the name of the rom you downloaded,then the ROM will be pushed and twrp will flash it automatically
Make sure you reset the device(factory reset) from twrp first,otherwise ROM will not be flashed
Sent from my Nexus 7 using xda app-developers app

You can also use an OTG/memory stick. TWRP reads them just fine. I've also used an SD card & reader. Load your rom, kernel, gapps & connect. Then you can flash all right from your memory-source. I find it much more convenient.
Sent from my Nexus 10 using Tapatalk 2

Related

[Q] Help, boot issue

Hi everyone,
So I have never ran across this issue before. I haven't had any problems with my device and yesterday I wanted to test out the new Jelly Bam update rom from their site. The rom would not boot pasted the "Google" spash screen so I rebooted in to recovery and did a full wipe and restored via backup to my previous rom just like normal. Well then I noticed that normally when I connect my phone to my computer I see my internal memory drive pop up which I am able to click on and then access my files, but this time when I accessed it I have a hand full or folders like 0, twrp, android, etc and I had to double click on o folder to access my memory with all my files. I thought that was weird so I went on about my day. Later I tried to do a fresh install of my current rom PACman but even after doing a fresh install the phone will not boot passed the Google spash screen, and now twrp doesn't even see my backup file because its being directed to this new partition with all the folders I was talking about. I even tried using the file manager in twrp to move the backup to that twrp folder but twrp doesn't even see it.
So as of right now I can get in to twrp but I can not boot my device pasted the google splash screen. I also can't access my memory through my pc since nexus does not allow it with twrp. What do I do? My thoughts are that something got screwed up with the partitions when I flashed the Jelly Bam rom so I will need to go back to stock, does that sound about right? I was thinking of following these instructions to go back to stock and then move on from there, any thoughts or alternatives? http://www.androidrootz.com/2012/12/how-to-unroot-nexus-4-to-stock-42-jelly.html
Thank you
Trying this method to return to stock: http://www.wugfresh.com/nrt/
If no one has any input I will assume I am following the right path.
I flashed factory images a couple weeks ago and in order for TWRP to see the nandroids I copied back to my phone I put them in the following path: /sdcard/TWRP/BACKUPS/stringofrandomnumbersandletters/
Are your TWRP backups in a similar location?
If you've decided to go back to stock, I'd suggest using the following guide by efrant... http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my Nexus 4 using xda app-developers app
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
It looks like twrp is now looking at my twrp folder in my sd card 1 not sd card 0 where I have had my backups and all my files. After trying again, I moved the TWRP backup to the sd card 1 twrp folder, twrp recognized it and I restored from backup....but when I reboot I am still stuck on the Google screen. Not sure what to do.
Underground_XI said:
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Since I can't move anything to my memory, any suggestions?
If you've got adb and the proper drivers installed on your PC you could try:
Code:
adb push ROM.zip /sdcard/ROM.zip
from the command prompt. Obviously use the name of the actual ROM.
Edit: ignore that, just read the post where you managed to restore! D'oh!
Have you tried clearing both caches?
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
synergeticink said:
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
Click to expand...
Click to collapse
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
And that's were I am stuck right now. I am not a pro at using adb commands, never used it till I got my nexus 4. Right now when I launch the cmd it shows "C:\Users\My User Name\Desktop>", not sure where to go next. I guess I am not sure what I should be pushing at this point either.
Oops...it seems I was editing my post at the same time you were responding to it...take a look at my previous response again
I'm fairly new around here but I can help with the adb commands if you need. Hang in there
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah. I tried wiping cache/dalvik/system/factory reset and then both restoring from backup or flashing the latest PACman rom which is in my sd card. Right now I am reading the http://forum.xda-developers.com/showthread.php?t=2018179 guide to see if I can use adb to flash my rom or another recovery. Makes sense if its the recovery not letting me flash anything, but i'm not a dev. At least I am able to get in to recovery to begin with, good sign I guess.
If you can boot into bootloader and recovery there are many options to help get you up and running again. That guide by Jubakuba is really good but if wiping and restoring your backup from within TWRP didn't work I would highly suggest reading efrant's guide on returning to stock...I posted the link in an earlier reply.
Sent from my Nexus 4 using xda app-developers app
I was able to flash cwm using adb, now trying to do a fresh install
Nope, doing a fresh install didn't work. Now its time to restore to stock. ......
One problem:
"
5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
6) Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;"
UPDATE; Got it, instructions were not clear.
synergeticink said:
UPDATE; Got it, instructions were not clear.
Click to expand...
Click to collapse
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Its weird adb will not work on the computer unless the files are in the platform-tools folder in androi sdk. trial and error, just finished flashing system....
should I do this command, I really don't want to lose my stuff:
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
Well, I didn't and finished the process...did a reboot when I was done...now its on the Google screen...just waiting....I'm seeing a Nexus X splash screen!!!...
Update: Its taking a very long time, hopefully it works...going to give it another 10 mins
And we have BOOT... thank you everyone! Now I have to root this sucker!

[Q] ADB sideload using TWRP recovery

So I wiped my stock OS trying to install a custom ROM that failed to flash, and now I'm trying to sideload a rom on my nexus 4 using TWRP. However it is as if adb isn't installed. No commands work and my Nexus 4 is constantly trying to establish a connection. Also, for some strange reason it's incorrectly recognized as a Galaxy Nexus in device manager. I have the ADT bundle and Nexus 4 drivers installed, so what am I doing wrong? Is my Win XP the problem? I would just mount the internal SD, but it doesn't seem like I can (nothing happens).
Any ideas???
Gonna attempt a fastboot flash in the meantime.
I guess nobody knows...
Oh well, luckily fastboot worked. Otherwise I would have had a brick.
Illudrium said:
So I wiped my stock OS trying to install a custom ROM that failed to flash, and now I'm trying to sideload a rom on my nexus 4 using TWRP. However it is as if adb isn't installed. No commands work and my Nexus 4 is constantly trying to establish a connection. Also, for some strange reason it's incorrectly recognized as a Galaxy Nexus in device manager. I have the ADT bundle and Nexus 4 drivers installed, so what am I doing wrong? Is my Win XP the problem? I would just mount the internal SD, but it doesn't seem like I can (nothing happens).
Click to expand...
Click to collapse
how did u do that i cant flash a os on mines it keep saying im missing files
Here's what I ended up doing since I couldn't figure out how to get adb to work. I used fastboot to flash stock Android and then copied my vision room to my internal sd. Then I flashed it using recovery. The first file I downloaded apparently was corrupted. This could be your problem too. Your best bet is to redownload your custom rom and use a md5 checksum to make sure the file is complete.
Hope this helps as I am not sure it is the exact answer your looking for.
Sent from my toaster using potatotalk 2

I wiped my phone without a rom

So, I wiped my phone and didn't realize that the rom I was about to install was corrupted (I think the download didn't finish) and I forgot to do a backup, what can I do to recover from this disaster?
Use Nexus toolkit.
Two easy options:
1. Use adb to push a rom to your sdcard from your recovery then install like normal
2. Use fastboot to flash a stock image your system partition
Download a ROM that's not corrupted and place it in platform tools folder (where you have your adb is located) and just go to your phones recovery and sideload
Sent from my Nexus 4 using xda app-developers app
CellPhish said:
Download a ROM that's not corrupted and place it in platform tools folder (where you have your adb is located) and just go to your phones recovery and sideload
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you to all of you, I used Wug's Toolkit (NRT) and it worked.
Similar Problem
My problem is similar but a bit different.
I flashed CWM over the top TWRP and when I re-entered custom recovery and I went in to install a zip from sd not all my folders where showing including the folder I keep all my roms in.
When I try to boot back in to system it just takes me back to recovery.
Am I being a noob or is it something gone wrong?
Thanks in advance!

Installed the latest update..now only boos straigh into TWRP..nothing else...

I'm wondering if anyone can help me out with this...
I traded my buddy my ATT G2. The phone was rooted and had TWRP installed. Well, when he got it, he received the update and installed it. Now the phone buts straight into TWRP.
Now, I was under the impression that OTA's can't install if a device has a custom recovery, So I don't know what's going on. I told him to sideload a rom to the device and then try to flash through TWRP, but his internet speeds is slow..
I also found this: http://forum.xda-developers.com/showthread.php?t=2471370 do anyone know if this will work with the ATT G2 or have any other insight on how to get the phone back up and running?
I did a mistake in the past when I copied paranoid Rom and g apps onto sdcard and then rebooted into recovery and wiped all in advanced wipe and did not have anything to flash and nothing is in phone to boot so rebooted back into twrp using key combo and then used sideload and pushed paranoid 4.3 and gapps and they are smaller size Rom and gapps and then downloaded clean Rom se and all is well, but my pc could not recognise my phone with lg drivers so installed pdanet and confirmed adb commands working and then performed sideload, so first have paranoid 4.3 and its gapps and download and install pdanet (don't use it yet) then boot into recovery and factory reset followed by all wipes in advanced wipes reboot to recovery from within twrp connect using cable and then run adb command to see if ur pc recognizes ur phone and if not recognized open pdanet (make sure it's installed already) and select options program gives you to install lg drivers from a list of several other brands and then run adb commands again( if you don't have adb in pc then download and install minimal adb and fastboot app with destination as desktop) and then copy Rom and gapps to adb minimal and fastballs folder and rename them to easy remembering as u like and then start sideload in twrp and run adb command and PC should say sideload and then run commands to install Rom and gapps and reboot and in meantime download Stockrom of your choice and install it, I hope you know how to use adb
Sent from my LG-D800 using xda app-developers app
Just use the return to stock thread stickies in the general section.
Sent from my LG-D800 using XDA Premium HD app
Yes if you have time to download those huge files it is recommended to go back to stock and in my note above it does not have to be a 4.3 Rom it can be any Rom of your choice.
Sent from my LG-D800 using xda app-developers app
This fixed my D800 up after that update broke the phone into only booting to recovery:
http://forum.xda-developers.com/showthread.php?t=2451696

[Q] Can't get out of TWRP recovery

Hello to everyone!
The problem I have is that i can't boot my device to the normal android os anymore.
It always boot to TWRP. It also seems that i accidentaly wiped my whole device (Data, Chace and Dalvik).
It all happened because i wanted to update to 4.2.2 and it did't work. So i wanted to make a factory reset.
My device is also not recognized by my pc anymore so i couldn't do a reset with the nexus 4 toolkit.
I alsoed tried using adb push but I didn't really figuered out how it works.
Can anyone help me? It's kind of frustrating me
Wipe clean again
Go to advanced
Adb sideload
Now open cmd/terminal on PC in the location ROM of choice is
Type
adb sideload nameofrom.zip
May also need to sideload gapps
Reboot
Sent from my Nexus 4 using XDA Premium 4 mobile app
thank you! i will try that
It's working again! I started it in bootloader and used a nexus toolkit to flash a recovery. Thank you anyway! :good:

Categories

Resources