I accidentally wiped the whole Phone - Nexus 5 Q&A, Help & Troubleshooting

Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.

Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?

_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
This guy is on the money. You've wiped it anyway, might as well just flash a fresh factory image and start from scratch, nice and clean.

Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.

sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
And I advise against using toolkits. If you rely solely on toolkits, you'll never learn how to fix problems such as this. It's best to familiarize yourself with fastboot, you'll find that it is nowhere near as difficult to use as it seems, and you'll be equipped to get yourself out of pretty much any situation imaginable. Not to mention that toolkits are the culprits for many "Help! I bricked my phone and don't know what to do!" threads.
Here's a great guide on using fastboot- http://forum.xda-developers.com/showthread.php?t=2277112

_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..

Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
You don't need to uninstall CWM first, just use fastboot to flash TWRP with this command-
Code:
fastboot flash recovery recoveryname.img

Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
No need to uninstall just:
fastboot flash recovery recovery-filename.img if recovery is in the same directory as fastboot or
fastboot flash recovery /path/to/your/recovery/recovery-filename.img
if the recovery is under /path/to/your/recovery/
You may drag and drop the file to you terminal or commandline...
L
Sent from my Nexus 7 using XDA Free mobile app

There are also apps that allow you to flash a recovery image from within the OS. I prefer that because I keep my bootloader locked and flash the stock recovery for a little extra bit of security when I don't need to flash anything.

sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
NOOOOOOOO - if you're a noob, just don't advise people please!

Related

Cannot Flash anything!

Alright, so, my tablet decided to one day just cease stop working. The recovery for some reason can't flash anything now, is used to be able to flash a backup, but not anymore. It used to be able to boot past the animation, but not anymore. I cannot flash a ROM from recovery because it says that the file is bad (and please, don't tell me to check to see if the md5's are correct, they are, I've triple checked.) I've flashed CWM recovery and TWRP recovery, and TWRP cannot fix permissions, but CWM recovery can, but neither can flash a single ROM. I've tried sideloading a rom but i get this error from the CMD window
Code:
* failed to write data 'protocol fault (no status)' *
. I'm at my wits end here. The bootloader is perfectly fine, it works 100% but I can't flash a single thing from recovery. I've flashed non-corrupted recoveries, and still I cannot flash a thing.
You have flashed the latest TWRP via fastboot and it still wont flash roms? Also, what bootloader are you on?
Sent from my ASUS Transformer Pad TF700T Infinity using Tapatalk HD
Rom: CleanRom 3.4.4
Phultara said:
Alright, so, my tablet decided to one day just cease stop working. The recovery for some reason can't flash anything now, it used to be able to flash a backup, but not anymore. It used to be able to boot past the animation, but not anymore. I cannot flash a ROM from recovery because it says that the file is bad (and please, don't tell me to check to see if the md5's are correct, they are, I've triple checked.) I've flashed CWM recovery and TWRP recovery, and TWRP cannot fix permissions, but CWM recovery can, but neither can flash a single ROM. I've tried sideloading a rom but i get this error from the CMD window
Code:
* failed to write data 'protocol fault (no status)' *
. I'm at my wits end here. The bootloader is perfectly fine, it works 100% but I can't flash a single thing from recovery. I've flashed non-corrupted recoveries, and still I cannot flash a thing.
Click to expand...
Click to collapse
What tablet do you have?
From where did you download which recovery for which Asus tablet.
Sounds like the recovery version doesn't match the device.
Thats OK said:
What tablet do you have?
From where did you download which recovery for which Asus tablet.
Sounds like the recovery version doesn't match the device.
Click to expand...
Click to collapse
Asus Tf700 32 GB. I got the recovery from the TWRP website. In answer to the boot loader question, I have no idea how to check. All I know is that I can choose between RCK, Cold Boot, Fast boot and Wipe Data.
Phultara said:
Asus Tf700 32 GB. I got the recovery from the TWRP website. In answer to the boot loader question, I have no idea how to check. All I know is that I can choose between RCK, Cold Boot, Fast boot and Wipe Data.
Click to expand...
Click to collapse
Have you ever unlocked the bootloader? (If not: do so by searching on Asus' site for the Unlock Bootloader Tool v7) It's a simple apk which you install and then check and let it unlock.
Only then, you can start flashing!
If you already have unlocked, maybe you sent it in (?) Or flashed an official Asus rom (?), you might want to unlock it again.
Let us know if any of these answers above helped
Phultara said:
Asus Tf700 32 GB. I got the recovery from the TWRP website. In answer to the boot loader question, I have no idea how to check. All I know is that I can choose between RCK, Cold Boot, Fast boot and Wipe Data.
Click to expand...
Click to collapse
If you have the 4 icons that indicates JB.
Sounds like the custom recovery is not installed if your on the RCK icon and press the up volume rocker and nothing happens.
adelancker said:
Have you ever unlocked the bootloader? (If not: do so by searching on Asus' site for the Unlock Bootloader Tool v7) It's a simple apk which you install and then check and let it unlock.
Only then, you can start flashing!
If you already have unlocked, maybe you sent it in (?) Or flashed an official Asus rom (?), you might want to unlock it again.
Let us know if any of these answers above helped
Click to expand...
Click to collapse
Unlocking it would require an OS to be installed, but none is installed because I was wiping to install a different ROM. I have unlocked it. In response to the boot loader, yes, it has 4 icons. So I guess it is the JB boot loader. When I go to RCK it does boot recovery but from there on its unable to open any zips besides any backups I have. When I reload a backup it doesn't install the OS, but it restores everything else.
Phultara said:
When I go to RCK it does boot recovery but from there on its unable to open any zips besides any backups I have. When I reload a backup it doesn't install the OS, but it restores everything else.
Click to expand...
Click to collapse
Can you get adb shell access to your recovery?
Which ZIP are you actually trying to flash? What is the exact error message from the recovery? Try running md5sum (inside the adb shell) on the file you want to flash. Check the output of "mount". Check if /cache/recovery/log contains interesting info.
Phultara said:
Unlocking it would require an OS to be installed, but none is installed because I was wiping to install a different ROM. I have unlocked it. In response to the boot loader, yes, it has 4 icons. So I guess it is the JB boot loader. When I go to RCK it does boot recovery but from there on its unable to open any zips besides any backups I have. When I reload a backup it doesn't install the OS, but it restores everything else.
Click to expand...
Click to collapse
AH sorry!
I only read the title and replied lol
Does adb do anything?
Or is adb not working either?
adelancker said:
AH sorry!
I only read the title and replied lol
Does adb do anything?
Or is adb not working either?
Click to expand...
Click to collapse
How would I go about connecting through ADB?
Phultara said:
How would I go about connecting through ADB?
Click to expand...
Click to collapse
* Connect your tablet to a computer with proper drivers and adb installed.
* Boot tablet to recovery.
* On computer, type "adb shell".
_that said:
* Connect your tablet to a computer with proper drivers and adb installed.
* Boot tablet to recovery.
* On computer, type "adb shell".
Click to expand...
Click to collapse
Alright, I'll have to try that when I get home in about 3-4 hours. I'll get back to you on that. Also, I noticed last night that when I was on fast boot, it would stay stuck as waiting for device on the cmd window. I'm not sure if it was my computer that didn't detect it or a new symptom. O hope its just a fluke!
Alright, here's the log from my recovery.
Phultara said:
Alright, here's the log from my recovery.
Click to expand...
Click to collapse
OK, I assumed that you're not using data2sd. 1. Make sure your microsdcard is good (reformat and recopy your backup or rom if needed),2. Boot into twrp and wipe cache, dalvik cache, factory reset, wipe system, wipe internal then finally the most important part, FORMAT SDCARD. Now reflash a new rom or try to restore from backup. I would try step#2 first. Good luck.
EDIT: format sdcard instead of wipe sdcard.
buhohitr said:
OK, I assumed that you're not using data2sd. 1. Make sure your microsdcard is good (reformat and recopy your backup or rom if needed),2. Boot into twrp and wipe cache, dalvik cache, factory reset, wipe system, wipe internal then finally the most important part, FORMAT SDCARD. Now reflash a new rom or try to restore from backup. I would try step#2 first. Good luck.
EDIT: format sdcard instead of wipe sdcard.
Click to expand...
Click to collapse
That did it!!! Thank you!!!! Looks like it was the SD that was the root of the issue! Thanks!!

[Q] Switch from CWM to TWRP

I have CWM installed now, but I need to RMA because of some excessive screen bleeding in the upper left corner of my N5. On the return to stock thread, there is a section that involves resetting the tamper flag, and it says that it works best with TWRP.
I've only used CWM before, so can I just download TWRP and flash it in adb the same way I initially installed CWM?
Thanks for any help.
vinnycogs820 said:
I have CWM installed now, but I need to RMA because of some excessive screen bleeding in the upper left corner of my N5. On the return to stock thread, there is a section that involves resetting the tamper flag, and it says that it works best with TWRP.
I've only used CWM before, so can I just download TWRP and flash it in adb the same way I initially installed CWM?
Thanks for any help.
Click to expand...
Click to collapse
yes just download the .img from twrp website and flash in recovery. "fastboot flash recovery filename.img"
Boblank said:
yes just download the .img from twrp website and flash in recovery. "fastboot flash recovery filename.img"
Click to expand...
Click to collapse
awesome thanks man, that worked perfectly. one other question if you know this, when I do the factory reset in CWM and in TWRP, it seems to get hung up and never finishes. Is there anything I can do to make sure that it fully wipes?
I was going to play around with a few ROMs before my new N5 gets here.
vinnycogs820 said:
awesome thanks man, that worked perfectly. one other question if you know this, when I do the factory reset in CWM and in TWRP, it seems to get hung up and never finishes. Is there anything I can do to make sure that it fully wipes?
I was going to play around with a few ROMs before my new N5 gets here.
Click to expand...
Click to collapse
I don't know why TWRP hangs during factory reset, but you can get the same result using fastboot. Just flash the userdata partition and erase the cache partition.

Can't get my new tf700t to root or install recovery.

Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
benjmiester said:
Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
Click to expand...
Click to collapse
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
LetMeKnow said:
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
Click to expand...
Click to collapse
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
benjmiester said:
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
Click to expand...
Click to collapse
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Unlocked bootloader is allowed you to install the custom recovery so you can install the custom ROM, I believed..... You can check this guide out to see if you can setup your fastboot/adb. It is very easy to follow for the beginners, good luck....:fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2688891
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Once you unlocked the bootloader you can flash a custom recovery and after that - the sky's the limit.
Flashify works great, and it is a wonderful tool as long as you're able to boot into Android.
My problem with Flashify and Goomanager and TwrpManger is that it saves users from setting up a proper ADB/fastboot connection from PC to tablet.
As long as you can boot Android, these apps are great. But what if you can't? Once the tablet doesn't boot it's so much harder (and often too late) to get the correct drivers installed for ADB and fastboot.
So if you flash your recovery with any of those apps still make sure you have access with ADB and fastboot from your PC.
You will regret it if you don't - I (almost) guarantee it.
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
benjmiester said:
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
Click to expand...
Click to collapse
The instructions in the OP actually say that you have to do a full wipe (Factory Wipe) in TWRP coming from a different rom base. Which would be you unless you had a version of CROMBi-KK installed prior to this.
It's the default selection under the Wipe menu in TWRP. Just do that and then flash the rom and your ok.
Do not use the Factory Reset option from Settings or the Wipe Data option from the BL menu! Do this in TWRP only!
Cool thanks. I figured so because that's the norm with roms on all my phones. Thanks a lot for the help guys. So happy to be get KK running on my new toy!
Just wanted to update. KK 4.4.3 rom flashed and booted in. It's much nicer. The stock was a little laggy, and KK breathed a lot of new life into my ancient single core 1.0 ghz Galaxy S that I use as a music player so I figured it would help make the tab real nice and snappy too. Gotta go now, much fun to be had!!

Need help, will only boot to TWRP

So I have one of the recalled Shield Tablets, never runs hot, never had an issue. So like many I wanted to be able to keep it along with the RMA I received.
I was able to root, unlock the bootloader and and install TWRP before I received the replacement. And that is where part of my problem is.
I followed a YouTube tutorial to intall TWRP v2.8.6.0, and now the tablet will ONLY boot into TWRP.
I have fastboot access, and I can sideload ADB from TWRP, but all efforts to install a different version of TWRP or another recovery all together have failed. I have tried to install 2.8.7.1, and I have also tried to install CWM. Hell I even tried to reinstall the stock recovery program.
Has anyone else run into this problem? And if so, have you been able to successfully get past it to be able to boot back into an OS, and how?
Is it possible you accidentally installed the recovery to the system partition instead of the recovery partition?
Sent from my SHIELD Tablet using XDA Free mobile app
BoomerEvo said:
I was able to root, unlock the bootloader and and install TWRP before I received the replacement. And that is where part of my problem is.
Click to expand...
Click to collapse
Have you tried to restore to a factory image?
bull1295 said:
Have you tried to restore to a factory image?
Click to expand...
Click to collapse
Still only boots to TWRP.

Multiple recoveries installed

I'm screwed. I attempted to install an updated TWRP, so i selected that option in ROM Toolbox Pro. Everything installed correctly (TWRP 2.7??). I decide let me see if TWRP installer will replace that with the updated 2.8.5. I run TWRP installer and it installs correctly. My assumption was that the TWRP installer would overwrite the ROM Toolbox version. Well, i reboot into the 2.8.5 recover (like it suggested) and i hit Reboot and then it reboots into 2.7. From there it thinks there is no OS installed. Rebooting from there just reboots me back in 2.7 recovery. I can get into Fastboot, and then back in 2.8.5 recovery. I flashed a new ROM, but that didn't fix it. I attempted to flash an RUU but i can't seem to get that working either. Am I completely screwed and should i call insurance on it?
Help me XDA, you're my only hope.
theoden144 said:
I'm screwed. I attempted to install an updated TWRP, so i selected that option in ROM Toolbox Pro. Everything installed correctly (TWRP 2.7??). I decide let me see if TWRP installer will replace that with the updated 2.8.5. I run TWRP installer and it installs correctly. My assumption was that the TWRP installer would overwrite the ROM Toolbox version. Well, i reboot into the 2.8.5 recover (like it suggested) and i hit Reboot and then it reboots into 2.7. From there it thinks there is no OS installed. Rebooting from there just reboots me back in 2.7 recovery. I can get into Fastboot, and then back in 2.8.5 recovery. I flashed a new ROM, but that didn't fix it. I attempted to flash an RUU but i can't seem to get that working either. Am I completely screwed and should i call insurance on it?
Help me XDA, you're my only hope.
Click to expand...
Click to collapse
To solve this, you could get phone into Fastboot and flash Dottat's RUU for the M8 - he made several versions.
For sure, add HTC_Fastboot.exe to your ADB folder and use it, NOT regular fastboot.
It will overwrite your previous recovery with stock and fix your phone. Then later, you could flash TWRP 2.8.7 thru Fastboot.
I put Dottat's RUU on my external SD card and it loaded, however, whenever it goes to reboot, it still goes back into the wrong recovery.
It's probably not necessary to run an RUU. You incorrectly flashed the new recovery to the wrong partition. Flash the new recovery VIA FASTBOOT, boot into it through the bootloader screen, and either flash a rom or restore a backup and you should be good to go. You definitely don't need to be worrying about an insurance claim for now.
Edit: by VIA FASTBOOT I mean with the command fastboot flash recovery <nameofrecoveryfile>.img
cntryby429 said:
It's probably not necessary to run an RUU. You incorrectly flashed the new recovery to the wrong partition. Flash the new recovery VIA FASTBOOT, boot into it through the bootloader screen, and either flash a rom or restore a backup and you should be good to go. You definitely don't need to be worrying about an insurance claim for now.
Edit: by VIA FASTBOOT I mean with the command fastboot flash recovery <nameofrecoveryfile>.img
Click to expand...
Click to collapse
I would flash firmware or ruu, if indeed he flashed recovery to wrong partition, that partition needs the correct one which firmware wlil do, and ruu will 100% do.
Personally I'd run ruu, go to stock recovery and run a factory reset.
theoden144 said:
I put Dottat's RUU on my external SD card and it loaded, however, whenever it goes to reboot, it still goes back into the wrong recovery.
Click to expand...
Click to collapse
Gotta use ADB and HTC_Fastboot.exe
Thanks for all the tips. I tried re-installing the old ROM after I ran the RUU and it worked. Hopefully it cleared out the incorrect recovery. Lesson learned: don't use apps to update the recovery!
Again thanks for all the help!
theoden144 said:
Thanks for all the tips. I tried re-installing the old ROM after I ran the RUU and it worked. Hopefully it cleared out the incorrect recovery. Lesson learned: don't use apps to update the recovery!
Again thanks for all the help!
Click to expand...
Click to collapse
Twrp manager is not a safe way to flash recovery because they aren't flashing by block name yet. They are still hard-coded to block number. The partitions have changed during ota already...so the app does hose things up a bit.
Sent from my Nexus 6 using Tapatalk

Categories

Resources