[Q] Recover After Bootloop (Embarrassing Story) - Nexus 7 Q&A, Help & Troubleshooting

Tried to flash the deodexed stock 4.2.2 update through TWRP a few days ago and my N7 started bootlooping
Because I'm out of practice, I didn't make a nandroid beforehand, and now I can't locate the adb files necessary to push recovery and reflash the os.
Can someone help me remember what the f*ck I'm doing and direct me to where I can get an adb cheatsheet + the necessary files OR be super awesome and provide me some steps to follow?
Thanks so much in advance. Can't believe I messed this up so much

Trickee360 said:
Tried to flash the deodexed stock 4.2.2 update through TWRP a few days ago and my N7 started bootlooping
Because I'm out of practice, I didn't make a nandroid beforehand, and now I can't locate the adb files necessary to push recovery and reflash the os.
Can someone help me remember what the f*ck I'm doing and direct me to where I can get an adb cheatsheet + the necessary files OR be super awesome and provide me some steps to follow?
Thanks so much in advance. Can't believe I messed this up so much
Click to expand...
Click to collapse
Can you get into bootloader with power+vol down?

boot into the bootloader, then via fastboot..
fastboot boot recovery recoveryname.img(press enter)
remember to put the recovery img file in the same folder that fastboot is located, on your computer.

bootloader's good to go and I'm in recovery but I need a way to get the rom on my tablet. Mounting sdcard doesn't appear to do anything while connected to my pc
EDIT: tried the CWM flash from sideload option and my command line says it "cannot read 'sideload'" do I need to start/restart the server another way? I feel like a total noob, lol

adb push rom.zip /sdcard/

Pirateghost said:
adb push rom.zip /sdcard/
Click to expand...
Click to collapse
started the daemon then got error: closed

Trickee360 said:
started the daemon then got error: closed
Click to expand...
Click to collapse
Did you update your adb binary as expressed with the 4.2.2 update?
Sent from my Galaxy Nexus

Pirateghost said:
Did you update your adb binary as expressed with the 4.2.2 update?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
no Can I do that through the sdk manager or do I have to update the sdk itself?

sdk manager can handle it

Pirateghost said:
sdk manager can handle it
Click to expand...
Click to collapse
Ugh. SDK manager won't install anything. EIther it says whatever package I'm working on requires API17 (which I'm trying to get, lol) OR it just plain can't "find" the package because acces is denied? What am I doing wrong?

Related

No os installed

Guys help me!
I install android 4.3 on my phone, however I did not do the backup and by mistake I've downloaded the wrong rom, now my phone a message appears in the bootloader "in the OS installed"
I'm desperate with my phone only in recovery mode, please help me fix!
sprafael said:
Guys help me!
I install android 4.3 on my phone, however I did not do the backup and by mistake I've downloaded the wrong rom, now my phone a message appears in the bootloader "in the OS installed"
I'm desperate with my phone only in recovery mode, please help me fix!
Click to expand...
Click to collapse
Do you have a custom recovery installed? If so, load a .zip rom and push it via custom recovery...
.... If not, use ADB to push a reflash of a clean install of 4.3
instructions here my thread
http://forum.xda-developers.com/showthread.php?t=2376681
More info.what Phone mark modelo etc ?
Sent from my XT910 using Tapatalk 4 Beta
mc704 said:
Do you have a custom recovery installed? If so, load a .zip rom and push it via custom recovery...
.... If not, use ADB to push a reflash of a clean install of 4.3
instructions here my thread
http://forum.xda-developers.com/showthread.php?t=2376681
Click to expand...
Click to collapse
i do not have a custom recovery, the only thing it has in the cell and the image I downloaded wrong, my phone is in recovery screen that comes with it when I turn the volume button, after that I do not know what else to do, because I have no how to transfer the image to the correct cell to update, so I need to know how to transfer the image to the correct device
sprafael said:
i do not have a custom recovery, the only thing it has in the cell and the image I downloaded wrong, my phone is in recovery screen that comes with it when I turn the volume button, after that I do not know what else to do, because I have no how to transfer the image to the correct cell to update, so I need to know how to transfer the image to the correct device
Click to expand...
Click to collapse
if you are able to boot to recovery. you have to be in fast boot...
you can either use fastboot to flash over
or
boot into recovery and apply a rom via ADB sideload
mc704 said:
if you are able to boot to recovery. you have to be in fast boot...
you can either use fastboot to flash over
or
boot into recovery and apply a rom via ADB sideload
Click to expand...
Click to collapse
how to apply the room via ADB SIDE load, because I saw that option, so I do not know how to use
sprafael said:
how to apply the room via ADB SIDE load, because I saw that option, so I do not know how to use
Click to expand...
Click to collapse
open command prompt with adb loaded
type adb sideload romname.zip
the rom should be in the same folder the adb/fastboot tools are located
mc704 said:
open command prompt with adb loaded
type adb sideload romname.zip
the rom should be in the same folder the adb/fastboot tools are located
Click to expand...
Click to collapse
the fastboot do you explain this link??
http://forum.xda-developers.com/showthread.php?t=2376681
I'm downloading the android SDK at this time
let's see if I understand
put the phone in adb sideload
will open the CMD in the fastboot folder,
type in adb sideload image-occam-jwr66v.zip
Flashable zip not factory image, try cm10
Sent from my Nexus 4 using xda app-developers app

Lg G2 LS980 Will not boot

I had stock android installed. And I had rooted. I tried to use flashify to install TWRP, but every time it rebooted it would go into fastboot mode. well, I didn't think it would be an issue if I decided to just let the stock update run it's course instead of flashing a rom. So I had the OTA for kitkat run. The phone rebooted, and will only boot into fastboot, and download mode. I need help to get back to stock of any form, root or no root. Please? I am quite far from any repair center at a hotel for the next few days, so Wi-Fi is quite slow.
i
eddytheyeti2 said:
I had stock android installed. And I had rooted. I tried to use flashify to install TWRP, but every time it rebooted it would go into fastboot mode. well, I didn't think it would be an issue if I decided to just let the stock update run it's course instead of flashing a rom. So I had the OTA for kitkat run. The phone rebooted, and will only boot into fastboot, and download mode. I need help to get back to stock of any form, root or no root. Please? I am quite far from any repair center at a hotel for the next few days, so Wi-Fi is quite slow.
Click to expand...
Click to collapse
at least u need to download another stock firmware to flash it through recovery
:good:
x102x96x said:
at least u need to download another stock firmware to flash it through recovery
:good:
Click to expand...
Click to collapse
I don't have a recovery. I'm at fastboot or download. No recovery...
i
eddytheyeti2 said:
I don't have a recovery. I'm at fastboot or download. No recovery...
Click to expand...
Click to collapse
so flash recovery by adb and then use recovery to install rom
:good:
Hit Thanks
flash twrp to it, while in fast boot using ADB
http://download1983.mediafire.com/k2ahkbsh07sg/wk6p32jj5hg2px9/twrp_2.6.3.3_loki-ls980.img
Cronic2009 said:
flash twrp to it, while in fast boot using ADB
http://download1983.mediafire.com/k2ahkbsh07sg/wk6p32jj5hg2px9/twrp_2.6.3.3_loki-ls980.img
Click to expand...
Click to collapse
Instructions please?
When I flash twrp, should I flash a nonstock rom, or stock? Can you direct me to stock downloads.
open command prompt in ADB and execute
fastboot flash twrpls980.img
*make sure you put the downloaded image in the adb folder or you will have to include the path to where the file is located.
I was on a stock ROM when I flashed it, here you can find some stock files. http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware
Cronic2009 said:
open command prompt in ADB and execute
fastboot flash twrpls980.img
*make sure you put the downloaded image in the adb folder or you will have to include the path to where the file is located.
I was on a stock ROM when I flashed it, here you can find some stock files. http://downloads.codefi.re/autoprime/LG/LG_G2/LS980/Stock_Firmware
Click to expand...
Click to collapse
Can I get a link to download ADB for Windows 8? Is that all I need to type? What if I'm using a different recovery image?
What is the sprint stick rom from that download link?
sorry misread your previous post, those .zips are flashable through TWRP, here is a LS980 ZVA ROM, both odexed/deodexed, http://forum.xda-developers.com/showthread.php?t=2630748
you can flash a custom ROM if you would like, look at the thread in my signature it has tons of custom ROMs and kernels
Cronic2009 said:
sorry misread your previous post, those .zips are flashable through TWRP, here is a LS980 ZVA ROM, both odexed/deodexed, http://forum.xda-developers.com/showthread.php?t=2630748
you can flash a custom ROM if you would like, look at the thread in my signature it has tons of custom ROMs and kernels
Click to expand...
Click to collapse
ADB download?
Download this > http://download1983.mediafire.com/k2...loki-ls980.img
put it in your ADB folder and rename it to recovery.img ( just easier to find it )
plug the phone in
open Command Prompt in ADB folder ( hold shift + windows button in ADB folder )
fastboot flash recovery.img ( if you are using a different recovery image, sub it here, fastboot flash blank.img)
this should give you TWRP recovery, you can the use the .zips to update ROMs
CroI ic2009;518ADB12 said:
Download this > http://download1983.mediafire.com/k2...loki-ls980.img
put it in your ADB folder and rename it to recovery.img ( just easier to find it )
plug the phone in
open Command Prompt in ADB folder ( hold shift + windows button in ADB folder )
fastboot flash recovery.img ( if you are using a different recovery image, sub it here, fastboot flash blank.img)
this should give you TWRP recovery, you can the use the .zips to update ROMs
Click to expand...
Click to collapse
Where do i download adb?
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Cronic2009 said:
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
One last question. How do I put ROMs onto the phone in recovery mode?I don't have any rom files for the phone at all yet. Can I flash with ADB?
eddytheyeti2 said:
One last question. How do I put ROMs onto the phone in recovery mode?I don't have any rom files for the phone at all yet. Can I flash with ADB?
Click to expand...
Click to collapse
All these things can be done through ADB yes. Didn't you have to download ADB to root in the first place? You shouldnt have to download again. However if you want to check start up a command prompt and type adb devices. That should pop up something if you have adb installed. I'm not sure if you need to be in a parent folder first though.
Sent from my LG-LS980 using XDA Premium 4 mobile app
Demonlinx said:
All these things can be done through ADB yes. Didn't you have to download ADB to root in the first place? You shouldnt have to download again. However if you want to check start up a command prompt and type adb devices. That should pop up something if you have adb installed. I'm not sure if you need to be in a parent folder first though.
Sent from my LG-LS980 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I used ioroot, so no ADB. I'm also not by my laptop at all. Would the rom install command be flash fastboot **********. Zip?
eddytheyeti2 said:
I used ioroot, so no ADB. I'm also not by my laptop at all. Would the rom install comand be flash fastboot **********. Zip?
Click to expand...
Click to collapse
Not if you don't have ADB installed.
Demonlinx said:
Not if you don't have ADB installed.
Click to expand...
Click to collapse
I'm going to download ADB today.
Cronic2009 said:
ADB download here http://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
So, I have ADB installed. I am on windows 8 though, and the shift+windows button are not opening the prompt. Furthermore when I plug my phone in the computer says "windows cannot find 'C:\ Program Files (X86)\Mobogenie\Mobogenie.exe'. Make sure you typed the name correctly, and then try again" I have no clue what Mobogenie is!
Advice? if there is any for me?
Edit: I can get the ADB window open, but when I type the command "fastboot flash twrp_2.6.3.3_loki-ls980"
I get the following:
unknown partition 'twrp_2.6.3.3_loki-ls980'
error: cannot determine image filename for 'twrp_2.6.3.3_loki-ls980'
I am not sure what to do... Is the Mobogenie the issue? I have all of the proper drivers installed. though I don't see my device in computer on the laptop. Help please? I don't think I can take the device into sprint or lg, because it was rooted.

[Q] D801 - Can no longer boot after bad flash

I would really appreciate some help on this one... I attempted to flash the updated Mahdi Rom (09/20 build) this morning. I'm using the latest Philz Recovery if that matters. I performed the normal wipe procedure and when I went to flash the rom it told me the file was invalid. I think I might have tried to use a zip that wasn't fully downloaded.
I didn't have any other recoveries on my phone (I know... not smart) so I need to figure out how to flash a new rom without using recovery. I'm not completely hopeless and I'm willing to do what it takes to get my phone back!
Any help would be great! Thanks.
Have you tried adb? Your phone will be called sideload when you command adb devices.
Sent from my LG-D800 using Tapatalk
I haven't yet been able to since I don't have access to a windows PC at the moment, just a MAC. Can it be performed there?
Rogueharvest said:
I haven't yet been able to since I don't have access to a windows PC at the moment, just a MAC. Can it be performed there?
Click to expand...
Click to collapse
You can load adb on Mac. I believe there's a zip somewhere on xda with only the three files need, or download the package from Android. Place it in whatever your username folder is too make life easier. Also add ./ (dot slash) before every command.
Here's the command order for my setup.
cd Android/platform-tools
./adb devices
./adb sideload **DRAG FILE INTO TERMINAL**
Thank you for your help. I got ADB to load on my mac but it won't accept the prompt to sideload. Am I missing something perhaps?
Update: I think I figured it out. The command prompt needed to be reinitiated.
Thanks again for you help! Moments like that are always a little scary!
Rogueharvest said:
Thank you for your help. I got ADB to load on my mac but it won't accept the prompt to sideload. Am I missing something perhaps?
Click to expand...
Click to collapse
Does it recognize sideload when you type ./adb devices? If not and you're in adb on Philz unplug/replug the charger.

[Q] GAPPS failed to flash/install, what are my options?

So I decided to install PA 4.6 BETA4 on my Nexus 4, 4.3 JWR66Y Phone which is unlocked and rooted. I used the Nexus Root Toolkit to install the latest TWRP recovery, put the pa_mako-4.6-BETA4-20141007.zip and pa_gapps-stock-4.4.4-20141011-signed.zip onto my phone. Went into recovery to flash the two. The PA ROM went successful, tried flashing the gapps and it just says failed. I tried redoing the ROM flash then gapps again but that doesn't work.
I had the dumb idea of moving my nandroid backup to my computer and now I can't transfer it back to my phone using adb sideload. I go into ADB sideload in TWRP, and it just says no devices found when trying to transfer maually. When I try using NRToolkit, it fails as well.
Any advice? I feel like I've searched everywhere. I don't know what the next step to take is. Maybe Flash Stock + Unroot option on the NRToolkit? Have I somehow flashed incompatible zip files?
sirmot said:
So I decided to install PA 4.6 BETA4 on my Nexus 4, 4.3 JWR66Y Phone which is unlocked and rooted. I used the Nexus Root Toolkit to install the latest TWRP recovery, put the pa_mako-4.6-BETA4-20141007.zip and pa_gapps-stock-4.4.4-20141011-signed.zip onto my phone. Went into recovery to flash the two. The PA ROM went successful, tried flashing the gapps and it just says failed. I tried redoing the ROM flash then gapps again but that doesn't work.
I had the dumb idea of moving my nandroid backup to my computer and now I can't transfer it back to my phone using adb sideload. I go into ADB sideload in TWRP, and it just says no devices found when trying to transfer maually. When I try using NRToolkit, it fails as well.
Any advice? I feel like I've searched everywhere. I don't know what the next step to take is. Maybe Flash Stock + Unroot option on the NRToolkit? Have I somehow flashed incompatible zip files?
Click to expand...
Click to collapse
UPDATE: I got the gapps to install successfully. I installed Wifi File Explorer through NRToolkit in order to transfer files to my phone. And transferred the same exact file to my phone. I tried flashing the file and it worked... I'm guessing the wired transfer corrupted the file somehow. Thank you NRT for that option to install apks.
Hi,
Good to know that you managed to get it working . Could you add a [SOLVED] tag on the title of your thread?
Also, I'd like to point out that when you tried to copy the backup file via adb sideload it had a reason to not work! Adb sideload was born to flash zips which are transfered via adb to the device. Loading then as soon as they are loaded. To copy the files back to your device using adb you should have used the "adb push" command, which is like a "copy/paste" on the shell . Hope this helps in the future.
~Lord
XxLordxX said:
Hi,
Good to know that you managed to get it working . Could you add a [SOLVED] tag on the title of your thread?
Also, I'd like to point out that when you tried to copy the backup file via adb sideload it had a reason to not work! Adb sideload was born to flash zips which are transfered via adb to the device. Loading then as soon as they are loaded. To copy the files back to your device using adb you should have used the "adb push" command, which is like a "copy/paste" on the shell . Hope this helps in the future.
~Lord
Click to expand...
Click to collapse
Ah of course that makes sense. I think I tried just pushing the file when I was in the bootloader as well, but it also gave me devices not found. Not sure why, but anyways thanks for the reply. Hopefully this might help out someone.
sirmot said:
Ah of course that makes sense. I think I tried just pushing the file when I was in the bootloader as well, but it also gave me devices not found. Not sure why, but anyways thanks for the reply. Hopefully this might help out someone.
Click to expand...
Click to collapse
Hi,
In bootloader you mean fastboot right? If so, you can't use adb on this mode. To push a file via fastboot is only the stock image using "fastboot install" or "fastboot boot".
~Lord
"Dream On! Dream Until Your Dreams Come True!" - Dream On (Aerosmith)
Sent from my GT-I9505
XxLordxX said:
Hi,
In bootloader you mean fastboot right? If so, you can't use adb on this mode. To push a file via fastboot is only the stock image using "fastboot install" or "fastboot boot".
~Lord
"Dream On! Dream Until Your Dreams Come True!" - Dream On (Aerosmith)
Sent from my GT-I9505
Click to expand...
Click to collapse
Oh I see. So the adb push can only be used when the phone is on normally and connected via adb? Is there a way to transfer files to a phone if it were stuck in fastboot?
sirmot said:
Oh I see. So the adb push can only be used when the phone is on normally and connected via adb? Is there a way to transfer files to a phone if it were stuck in fastboot?
Click to expand...
Click to collapse
Hi,
If you're stuck in fastboot you can flash a recovery or use the "fastboot boot" to boot in recovery and then use adb push from there .
~Lord

Sideloading - device not found

My phone is without an OS hence sideloading. ADB set up fine. Device is recognised in ADB until I sideload. Then I get error device not found when installing. I'm using the latest SDK and have tried downloading the latest LG driver but I get an error in spanish (Ithink). Am downloading driver from here http://androidxda.com/download-lg-usb-drivers
Anyone help please?
PS - I am not sure if USB debugging was enabled before the brick...
So I've moved on from that. Manually installed the android composite drivers and all ok. But NOW I have a new error which I get regardless of the Rom. "error executing updater binary in zip '/sideload/package.zip"
Looks a more advanced error to me...
Is there any serious guru that can help me as I am now stuck. Tried Android ADB interface as driver and also latest LG as driver. I get to about 65% of install then "error updating binary....". It has to be a driver issue right???
why don't you
"adb push filename.zip /sdcard/filename.zip"
instead of sideload ?
bender_007 said:
why don't you
"adb push filename.zip /sdcard/filename.zip"
instead of sideload ?
Click to expand...
Click to collapse
Thanks for responding. It's internal memory so can only sideload anyway right? How would I 'push' and what mode would TWRP need to be in?
bender_007 said:
why don't you
"adb push filename.zip /sdcard/filename.zip"
instead of sideload ?
Click to expand...
Click to collapse
Ok worked this out. Have not put TWRP in to sideload mode and have entered the text in CMD. The cursor just flashes and has done for about 5 minutes now...But at least it doesnt say error
So it's pushed the rom to the SD card and I still get the error updating binary when I try to install. Tried 3 different roms and all get this error. Think there's nothing left to try.
There is. What twrp are you on? And what ROM are you trying to install?
bender_007 said:
There is. What twrp are you on? And what ROM are you trying to install?
Click to expand...
Click to collapse
Hi - I actually (naughtily) opened another thread on this as the problem is not with sideloading anymore. I cannot install anything (recovery, any rom) either by sideload or push. It's like TWRP is corrupt. I'm on 2.8.6.1. Installed simple tool v3.2 as well and I cannot overwrite TWRP as I get the fail again.
Extract the recovery.omg, push it to internal. Then use dd command to flash it manually
bender_007 said:
Extract the recovery.omg, push it to internal. Then use dd command to flash it manually
Click to expand...
Click to collapse
Thanks. Beyond that now. Tried installing CWM using installer and now get secure boot error. At least I finally got rid of TWRP
jamesbond_28_007 said:
Thanks. Beyond that now. Tried installing CWM using installer and now get secure boot error. At least I finally got rid of TWRP
Click to expand...
Click to collapse
How do you get rid of twrp and install CWM instead?
I think my TWRP is corrupted too, bootlooping for 3 days now

Categories

Resources