I updated my rooted 32 gb nexus 5 to the latest 5.1.1. It was not easy and I ran into all sorts of hiccups that left me phoneless for a couple of days. ?
My wife also has a rooted 32 gb nexus 5 and needs to upgrade. I don't want to go through all the headaches I had with mine, so, can I safely transfer my nandroid to her sdcard and just restore it on hers? Will that work? Or is there something that is unique in each nexus 5 phone and nandroid?
Thanks.
No it won't work, certain parts will. The folders need to be the same name too. You'll probably have more issues trying to do it to be fair, What's not easy about just fastboot'ing img files? What android version is her phone currently on?
Sent from my Nexus 5 using Tapatalk
maybeme2 said:
I updated my rooted 32 gb nexus 5 to the latest 5.1.1. It was not easy and I ran into all sorts of hiccups that left me phoneless for a couple of days.
My wife also has a rooted 32 gb nexus 5 and needs to upgrade. I don't want to go through all the headaches I had with mine, so, can I safely transfer my nandroid to her sdcard and just restore it on hers? Will that work? Or is there something that is unique in each nexus 5 phone and nandroid?
Thanks.
Click to expand...
Click to collapse
I don't have 2 of the same model phone so I've never tried it but I don't see an issue other than attempting to restore a backed up EFS. Do not restore the EFS to a different phone.
What u need to do is grab urself a copy of the latest factory images from here https://developers.google.com/android/nexus/images?hl=en download it to ur PC, connect ur device, make sure u have ADB and Fastboot installed on ur PC first, then open a command promt and type
adb reboot bootloader
When the device reboots run the "flash_all.bat" command inside the downloaded stock image file and ur device should flash the image. If this process is too difficult, as it may be for some ppl, you can download Wugz Nexus Toolkit from XDA, follow all the steps it tells u too, and upgrade with that, as it has a step by step walkthrough, that should be it, if u need any further help just let me kno
Sent from my Nexus 6 using Tapatalk
The way to do it is simple enough. Problem is it doesn't always "work" as expected for everyone.
Example: I started by doing exactly what you said, but the flash-all command just stayed stuck on waiting for device no matter what I did to the phone.
So, I decided to go the step-by-step longer way. That gave me problems too. I don't remember what exactly but it included being stuck in a forever boot where the balls revolved forever, and some other problems I chose to forget. (boot loops, loss of sdcard space, etc.)
I did succeed in the end but it was more complicated than just running flash-all and left a bad taste in my mouth. Fortunately, re rooting went smoothly.
When I have the time I'll try again with my wife's phone and it probably will go smoothly and I'll feel stupid but I was just trying to avoid going through something similar again.
Looks like I was not the only one with problems. See http://forum.xda-developers.com/showthread.php?t=3185165
http://forum.xda-developers.com/showthread.php?t=3190103
and others on the web.
soupysoup said:
What u need to do is grab urself a copy of the latest factory images from here https://developers.google.com/android/nexus/images?hl=en download it to ur PC, connect ur device, make sure u have ADB and Fastboot installed on ur PC first, then open a command promt and type
adb reboot bootloader
When the device reboots run the "flash_all.bat" command inside the downloaded stock image file and ur device should flash the image. If this process is too difficult, as it may be for some ppl, you can download Wugz Nexus Toolkit from XDA, follow all the steps it tells u too, and upgrade with that, as it has a step by step walkthrough, that should be it, if u need any further help just let me kno
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
maybeme2 said:
The way to do it is simple enough. Problem is it doesn't always "work" as expected for everyone.
Example: I started by doing exactly what you said, but the flash-all command just stayed stuck on waiting for device no matter what I did to the phone.
So, I decided to go the step-by-step longer way. That gave me problems too. I don't remember what exactly but it included being stuck in a forever boot where the balls revolved forever, and some other problems I chose to forget. (boot loops, loss of sdcard space, etc.)
I did succeed in the end but it was more complicated than just running flash-all and left a bad taste in my mouth. Fortunately, re rooting went smoothly.
When I have the time I'll try again with my wife's phone and it probably will go smoothly and I'll feel stupid but I was just trying to avoid going through something similar again.
Looks like I was not the only one with problems. See http://forum.xda-developers.com/showthread.php?t=3185165
http://forum.xda-developers.com/showthread.php?t=3190103
and others on the web.
Click to expand...
Click to collapse
The flash all file will wipe everything from your phone which I'd assume you don't want to do. Just extract further to get the img files. Fastboot flash the bootloader, boot, system and radio. Then on your phone tell it to boot to recovery (i assume being rooted you have twrp etc) tell recovery to wipe cache and dvalik then boot the phone back up
Then make sure you have superuser zip ready to flash, your choice of kernel to allow root. Reboot to recovery and flash em both
Sent from my Nexus 5 using Tapatalk
I know. Thanks.
A nandroid can be used across phones, but limit what is put on. The problem you had upgrading was probably the userdata issue. Just skip the data wipe and flash just the things noted. You can also do this from a nandroid if your wife has twrp (I think bootloader needs to be manually updated though). Do a nandroid of her device first of course. Always good to have somewhere to fall back too.
It is probably best to just wipe the whole thing though. With your previous experience it should be fine. You can find the fix for userdata issues on the forum.
Thanks. Which userdata issue? I searched for userdata on this forum and nothing came up.
Related
I'm sure theres a few of you out there who've bricked their Xoom in the same way I did:
Locking the boot loader after having custom rom and kernal running on it or something similar and come across an error upon boot that says
Failed image LNX 0x0002
RSD mode 2 initiated
or something to that respect
Then tried to do fastboot oem unlock, only to have the Xoom not be recognised.
The solution for me was to make a Motorola Factory cable as per guide here
For some reason, the Xoom would be instantly recognised by my computer and all fastboot commands would work, as well as RSD Lite (Did not do me any good as there is no Xoom Wifi SBF released)
That should fix the booting problem
If it still does not, follow one of the other guides on how to flash using fastboot, another rom now that you have fastboot working again!
Cheers!
mowassasin said:
I'm sure theres a few of you out there who've bricked their Xoom in the same way I did:
Locking the boot loader after having custom rom and kernal running on it or something similar and come across an error upon boot that says
Failed image LNX 0x0002
RSD mode 2 initiated
or something to that respect
Then tried to do fastboot oem unlock, only to have the Xoom not be recognised.
The solution for me was to make a Motorola Factory cable as per guide here
For some reason, the Xoom would be instantly recognised by my computer and all fastboot commands would work, as well as RSD Lite (Did not do me any good as there is no Xoom Wifi SBF released)
That should fix the booting problem
If it still does not, follow one of the other guides on how to flash using fastboot, another rom now that you have fastboot working again!
Cheers!
Click to expand...
Click to collapse
So I went and bought the factory cable from the Black Hat guys, and luckily haven't had the need to use it. Any advice you'd like to give in case I need to at some point?
I guess the only advice I can give is: don't re-lock the boot loader when you have a custom rom loaded
You don't need the cable. I have recovered 4 times myself and walked many others through on irc. We all use the stock cable that came with the device.
Sent from my PG86100 using Tapatalk
bwcorvus said:
You don't need the cable. I have recovered 4 times myself and walked many others through on irc. We all use the stock cable that came with the device.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
It wouldn't recognise any fastboot commands nor the RSD Lite program for me.
But if it does, then thats good.
Merely a heads up for those who were in the same situation I was
bwcorvus said:
You don't need the cable. I have recovered 4 times myself and walked many others through on irc. We all use the stock cable that came with the device.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
you won't care to share how you did it? You have no idea how frustrating it is to see someone say they know how to fix something and leave it it at that.
yaturner said:
you won't care to share how you did it? You have no idea how frustrating it is to see someone say they know how to fix something and leave it it at that.
Click to expand...
Click to collapse
Over the course of a few hours I was able to fix this, so I am going to write this little walkthrough for you using a rom from bwcorvus's page (CLICK HERE) and then used the guide from dirtymindedx -(CLICK HERE)
The reason it took me this long (as well as doing other things) was because I used the wrong set up to unroot my tablet. I was using the Unofficial images that are on bwcorvus's link. Because I didn't read thoroughly enough in his breakdown, I made myself look like a fool...
What you want is NOT
UNOFFICIAL STOCK IMAGES
Click to expand...
Click to collapse
because you will not be able to lock the bootloader (IF you want it to be that way, which I did, and so it gave me a 0x000004 Error, and yes i see that you are having a 0x000002 but somewhere i read this could help that.) I just wanted to get rid of Clockwork Recovery Manager cause it was not working on my 3.2 rooted tablet, and thought that because i messed up teh whole image with playing around and upgrading and seeing how i could break the image without overclocking, i thought i should actually try and make it back to stock too. With this... I needed to do these steps...
1. Upgrade the Motorola drivers while the XOOM was plugged in, so then I would be able to use the Fastboot Correctly.
2. Download the correct roms for my tablet, (Wi-Fi is mine, just grab the one that fits your version and just follow along.)
3. Upgrade my ADB from google because for soem odd reason my fastboot did not like the xoom till i did that...
4. Used the STOCK CABLE. I can Confirm that the STOCK CABLE that allows you to recharge the phones, WILL WORK for this...
5. Once the ADB was set up, I restarted it, aka Hit the red X and then loaded it back up and then closed it again, just to make sure the services were updated somewhat...
6. Opened Command prompt and navigated to the folder that help the zipfile for the fastboot flashing guide (aka dirtymindedx's guide at the top), be using CD (Drive Letter):/location/of/the/folder/that/is/unzipped
7. I then checked over the information in the folder by using dir /a and then proceeded to read through the guide
7-1. A note here... I did the fastboot erase userdata instead, because I wanted to see if it would brick it again... (sorry, I was in a fowl mood with the world last night so I was waiting for it to get bricked so i had a reason to use it as an ice scraper on my car... (not like i would really do it... just wanted a reason for justification haha)
8. ???
9. Profit
This is only to get rid of a "already slightly bricked" device... which I had done after relocking the Rom that was not official to Motorola and now, after a few updates, i now have Android 4.0.3 for the Xoom that was OTA'ed, looking to see how easy it will be to root to reload my rpg game saves that i got caught up in (hence my disappearance from the forums haha...) but I hopefully helped you out in a direction to heads towards... and as long as you don't lock the boot-loader (which someone posted about it before i did...) you should be fine with any changes to the rom after the updates... Also, you can skip steps on this too... you can just flash the image and not the recovery menu and so forth, allowing you to keep other settings that are not part associated to the rom image.
Also sorry for the insanity in my words... I have been up for a good 36 hours with a half hour nap somewhere in there...
Hello XDA. First post here. I need the pros.
I may have seriously messed up my Nexus S 4G. The "Google" logo appears when I turn it on but there is no lock on the bottom (there was before) and after that, boot animation of the X keeps restarting. Pull the battery. Hold up and power on. Go into Recovery and I end up with the white triangle and yellow exclamation point inside it.
Did I just brick my phone? Any way to get out of this? I have an upgrade available, but I'd rather check out the Nexus4 before buying the Galaxy Nexus. (Nonreplaceable battery in the Nexus4 might be a killer for me.)
I searched around but no other situations were like mine. Sorry if I missed something. Help me XDA. You're my only hope.
mjnouri said:
Hello XDA. First post here. I need the pros.
I may have seriously messed up my Nexus S 4G. The "Google" logo appears when I turn it on but there is no lock on the bottom (there was before) and after that, boot animation of the X keeps restarting. Pull the battery. Hold up and power on. Go into Recovery and I end up with the white triangle and yellow exclamation point inside it.
Did I just brick my phone? Any way to get out of this? I have an upgrade available, but I'd rather check out the Nexus4 before buying the Galaxy Nexus. (Nonreplaceable battery in the Nexus4 might be a killer for me.)
I searched around but no other situations were like mine. Sorry if I missed something. Help me XDA. You're my only hope.
Click to expand...
Click to collapse
What have you done before this happened?
You have relocked your bootloader?
Fix is easy, you'll lose your data doing so.
Unlock the bootloader using fastboot
Install a custom recovery such as Clockworkmod
From within recovery wipe data
Try to boot like this. If it doesn't boot, go back to recovery, wipe everything and re-install your ROM/stock ROM depending on which you have. You can transfer the flashable zip from within Clockworkmod recovery by mounting your USB storage when connected to your computer.
polobunny said:
What have you done before this happened?
You have relocked your bootloader?
Fix is easy, you'll lose your data doing so.
Unlock the bootloader using fastboot
Install a custom recovery such as Clockworkmod
From within recovery wipe data
Try to boot like this. If it doesn't boot, go back to recovery, wipe everything and re-install your ROM/stock ROM depending on which you have. You can transfer the flashable zip from within Clockworkmod recovery by mounting your USB storage when connected to your computer.
Click to expand...
Click to collapse
First of all, thank you polo for helping me out!!!
At first, I was flashing nandroid backups between AOKP, CM10 M2, and CM7. Then it got stuck in a boot loop of a different sort (don't remember the details) and before I remembered to come over to XDA, I formatted some partitions under Mounts and Storage in CWM like an idiot. However I did wipe data/factory reset, wipe cache, wipe dalvik cache and still nothing.
I just googled some directions on unlocking from fastboot, flashing CWM, and from there let's see how it goes. Wish I brought a cable with me to work, but it'll have to wait a few hours. Thanks polo!
mjnouri said:
First of all, thank you polo for helping me out!!!
At first, I was flashing nandroid backups between AOKP, CM10 M2, and CM7. Then it got stuck in a boot loop of a different sort (don't remember the details) and before I remembered to come over to XDA, I formatted some partitions under Mounts and Storage in CWM like an idiot. However I did wipe data/factory reset, wipe cache, wipe dalvik cache and still nothing.
I just googled some directions on unlocking from fastboot, flashing CWM, and from there let's see how it goes. Wish I brought a cable with me to work, but it'll have to wait a few hours. Thanks polo!
Click to expand...
Click to collapse
Well if you formatted system and the like, you pretty much wiped your ROM. If you installed a stock ROM, it's possible your recovery was replaced by the stock recovery, otherwise there should be no reason for your recovery to get wiped.
Rooting again with the whole unlocking process and re-installing a ROM will get you back online in no time.
Welp, it looks like I need a little more help if you don't mind polo. For someone who was rooted, I guess I didn't know much, but learned a lot from this so far.
I flashed CWM from my desktop via fastboot and can now get into CWM. I then mounted the phone as a USB drive and loaded CM7.2 and then installed it. "Install from sdcard complete." after that. Rebooted and now it's looping at the boot animation for CM7.2. Wiped data/factory reset and same thing happens.
What am I missing here?
After I'm in CM, I plan on going back to stock + root.
Make sure you also wipe cache and dalvik cache. If this doesn't seem to work, in mounts and storage format cache, data, sdcard and system then reinstall your rom. Be sure you have the correct rom for your phone and not the crespo4g version or vice versa.
I just followed those exact instructions and it still loops at the boot animation. Damn.
The world needs more people like you polo. Thanks for trying to help me through this!! I have a genuine gratitude for you my friend.
OK, run a log cat with Adb. First night I had mine had serious issues, nothing worked same problem.
If you don't know how to do log cat
Is
Adb logcat > log.txt
Same as if fastboot. Upload that and we can find your prob instantly.
Sent from my A100 using Tapatalk 2
das_webos_transformer, I just PMed you the dropbox link since I can't post links here, but I don't see it in my sent. Did you get it?
I would try the factory images from Google. Make sure the phone is working as per usual and then take it from there.
There are guides on how to do so on the forums. It is very easy.
albundy2010 said:
I would try the factory images from Google. Make sure the phone is working as per usual and then take it from there.
There are guides on how to do so on the forums. It is very easy.
Click to expand...
Click to collapse
Hey Al. Thanks for replying. My problem is I'm seeing too many guides. I know it's a mortal sin to ask, but can you link me to one that you think is done correctly? Unfortunately I need a little more hand holding if that ok with you guys.
UPDATE - SOMEhow, I got CM10 installed and gapps. Just flashed it it worked. I did nothing differently than before. I installed a bunch of apps and that went well. I had a feeling I wasn't in the clear and now I can't restore a nandroid backup, a fancy widgets transparent background goes missing but the text remains, and Swype won't install. It's just weird. I'm more than willing to go back to stock now. If you can provide a link for how to flash the stock images, I'll definitely give it a shot. Thank you!!!
You're all over place so here are some general FYI.
Depending on which recovery was used to make the nandroid you may not be able to restore it with a different recovery.
When you say you can't restore a nandroid and a widget or swype won't restore I am lost. What are trying to restore it from and with what.
Anyways. Stock images are here https://developers.google.com/android/nexus/images
Make sure you download the ones for your device. The sprint d720.
Once the download is finished extract the file. You should have a few .img files and a update zip in there. Take those files and move them to the directory you have fastboot in.
With the phone in the bootloader enter the commands.
Fastboot flash bootloader bootloader file name.IMG
Fastboot reboot bootloader
Fastboot flash radio radio image name.IMG
Fastboot reboot boot loader
Fastboot -w update image name.zip
You can most likely skip the reboot 2nd and third reboot bootlaoders . People seem to do it for some reason. If your device already has versions of the bootloader and radio installed you can skip those flashes as well.
Make sure you change the commands to the actual file names you're going to flash. Can manually type/ paste the names or just hit tab after you typed the first letter. Example. Fastboot flash radio r tab. It should auto fill it in. Check anyways.
If you're not comfortable with this dont do it. Read some more or find a video on YouTube if you're unsure. I am not responsible if you screw something up . End result will give you factory up to date bootloader radio and rom. It also wipes the phone but not the internal storage. The bootloader will still be unlocked so you can relfash a custom recovery later and do what you want.
Guides are all over. Just make sure you're flashing the correct files for your device. The commands and procedure is the same for all nexus devices.
And last if the factory images give you issues then there most likely is something actually wrong with the device. Or you managed to screw up flashing.
Thanks Al! I did all that and am pretty comfortable with this stuff, but when time came to flash the image...
C:\Users\Nouri\Desktop\Fastboot>fastboot -w update image image-sojus-jro03r.zip
error: failed to load 'image'
Same issue without the -w. I'm starting to think something is wrong with the phone. But how can it. It's functioning. is it possible that a hardware problem can cause these inconsistent issues?
Issues
- When I had CM10 installed, it ran choppy. It ran fine when I flashed it a few days ago. I didn't do much and flashed another ROM, but I know the S 4G is capable of running CM10 smoothly. Swipes between homescreens were choppy and so was bringing up the app drawer.
-I couldn't take a screenshot. "Screenshot not saved" or something to that effect
-Swype would get to 100% download and then halt for a few minutes. I'd hit Install and it would just stay there for a few minutes and nothing would happen.
-I couldn't restore from a CWM nandroid that I just made.
Internal sdcard faulty maybe?
THANK YOU FOR YOUR HELP!!!!!
Nevermind! Back to stock! Thank you so much Al!!!! Holy crap you have made me a happy man before I sleep tonight dude!
The last step was actually fastboot -w update image.zip, but it's all good!!!!! Thank you ALL!!! XDA is a pretty special place where you guys help someone to the best of your knowledge. I'm going to pass this forward.
Polo, das, Al, I can't thank you guys enough. Know that you guys helped someone out big time here. Hopefully this makes your day better too!
Hey all. I just wanted to send a quick update your way. I successfully went back to 100% stock thanks to Al's awesome directions. Still couldn't install swype and there were some files on the internal storage that had all sorts of strange symbols and were .01 to 5 GB in size! Clearly there is something wrong here. I rebooted and that all went away actually. This morning I rebooted and I see a notification saying "Damaged USB storage - USB storage is damaged. Try reformating" I tapped it and successfully formatted the storage, but that's my issue all along. Wish I left the notification up there, but I'll get it back and take it to Sprint. Hopefully get a replacement.
You guys freakin rule. You helped me until we all, especially I, were blue in the face. Thanks again!!!
If you're going to take it sprint you should probably re lock the bootloader. They may not check or care but eh
Fastboot oem lock.
That doesn't wipe anything
Fastboot oem unlock does and that would be needed if you wanted to root and flash your device again .
Thanks and yup! I got pretty good at this whole thing now. I feel very good now learning fastboot. I flashed completely stock like you said. It worked. Problems arose. Locked the bootloader and tucked the phone away. If it wasn't for Google Voice, my life would suck right now! Hopefully my trip to Sprint turns out well. A few short hours.
EDIT:
SOLVED! Thanks for the support!
In the end I decided to flash back to stock factory image from Google downloaded at the following link (https://developers.google.com/android/nexus/images) and installed using the very easy method of inputting a single command. Exactly the kind of solution I needed after pulling hair out.
Hopefully this post is of assistance to others in need.
In the end I used the Chain Fire auto root. Worked a treat - so now running stock Nexus 5 image with root, just the way I wanted it.
http://forum.xda-developers.com/showthread.php?t=2507211
Original question:
Need help - I think I bricked my Nexus 5 (was running KOT49H stock ROM). And would really appreciate some sage advice now to get me out of trouble.
Not my first root, custom ROM experience - have done on 3 previous devices, but first Nexus 5 and first stuff up for me. Not a complete noob, but please be clear in your advice. Thanks.
I "followed" this guide (http://www.teamandroid.com/2013/12/10/root-nexus-5-android-442-kot49h-kitkat-install-cwm-recovery/2/)
However, at Step 13-15 I was unable to mount an SD card (Nexus 5 is all internal), and I then opted to sideload the UPDATE-SuperSU-v1.80.zip file using "adb sideload". It is now stuck in a boot animation loop (say 10mins of waiting?). So what has gone wrong here?
I also guides from the same site to unlock bootloader and install CWM - that all worked.
I am able to get back to the bootloader and can get into CWM still, just cannot boot.
Not sure if my phone is charging, but I believe I still have some juice so looking for a solution. Have I somehow replaced all of the ROM software with just the SuperSU file? Is that possible? This is my first outing with the Nexus 5 but I have rooted and custom ROMed many phones before, but this is my first with no external SD card.
I could not mount any / partition from what I could tell.... such as /data (not sure if this helps your advice?)
In another thread, someone mentioned a catch all solution might be this : http://forum.xda-developers.com/showthread.php?t=2513701
As I said, I can get into the bootloader and CWM and phone is still recognised by PC.
If I am not mistaken, this would basically sideload everything back to factory?
Would this matter if my phone was at KOT49H before everything went wrong, or will that just come down via OTA later anyway (I was getting OTA updates just fine).
I think I should still have about 50% battery charge, but I don't know if it is charging (nothing shows) and the battery is completely internal on these.
Your help = much appreciated! Please - its Christmas afterall...
Cheers Adriaan
Sorry to hear about your troubles! I know how frustrating it can be when you softbrick for no apparent reason. However, the fact the phone still boots into recovery and all that means that there shouldn't be anything we can't recover from. The link you provided would work. You might also check out one of the toolkits that helps automate most of the stuff you are looking for, like this: http://forum.xda-developers.com/showthread.php?t=2525026 .
That being said, me personally, I would attempt some fixes via CWM first (though I much prefer TWRP). It could be something as simple as wiping the caches and fixing permissions. Possibly a factory reset could help, though I suspect probably not at this stage. Are you comfortable with manual ADB and fastboot commands? I would download a rom zip and adb push it to /sdcard, perform resets and reboot. Should be fine at that point and rooted to boot. If you're all about the stock root experience (never really understood that, but to each their own ) then try this: http://forum.xda-developers.com/showthread.php?t=2557523
Once you would download that, and are able to get ADB access in recovery (should work if you have the right drivers and all - if not, would recommend switching to TWRP) then you would use this command:
adb push rom.zip /sdcard/ - where rom.zip is the name of whatever that one downloads as...
Then wipe factory reset and caches (system too if you want to be thorough) then install the rom and reboot. Should be back to where you want.
If you would like some more 1 on 1 type help, feel free to hit me up on Hangouts with this username. Good luck!
You can flash the factory images directly from Google which should get you back up and running again.
Download and extract them.
Boot your phone to the bootloader and plug into your PC.
Run the flashall.bat
Note that this will fully wipe your phone
Sent from my Nexus 4 using xda app-developers app
First reboot recovery and factory reset the phone. If it boots your good. If not install the google factory image.
Everyone, thank you for your input. My phone is back alive and well.
In the end, I decided to flash all back to a stock factory image from Google. Only had 1% battery left by the time it booted into the fresh flash. Figured this was the best place to recommence my efforts to gain root again, and hopefully this time with a better outcome.
I will probably give the chain fire auto method a shot this time, after a bit more research.
Thank you again for your help and for the very quick responses. Great community.
In the end I used the Chain Fire auto root. Worked a treat - so now running stock Nexus 5 image with root, just the way I wanted it.
http://forum.xda-developers.com/showthread.php?t=2507211
I'm trying to help a buddy of mine fix his Nexus 5 recently bought after convincing him to get one. After rooting it and trying out some different ROMs, he saw some leftover folders from ROMs/Apps that he wanted to delete (he's very "clean" with his tech in that he doesn't want anything on that he doesn't want/need). However, using ClockworkMod he formatted pretty much everything, and now when trying to turn on the phone, it gets stuck at the "Google" screen. My computer registers it as an Android device when using the bootloader or CWM, but not as a Nexus 5 that I could flash. Any help/ideas?
The Time Father said:
I'm trying to help a buddy of mine fix his Nexus 5 recently bought after convincing him to get one. After rooting it and trying out some different ROMs, he saw some leftover folders from ROMs/Apps that he wanted to delete (he's very "clean" with his tech in that he doesn't want anything on that he doesn't want/need). However, using ClockworkMod he formatted pretty much everything, and now when trying to turn on the phone, it gets stuck at the "Google" screen. My computer registers it as an Android device when using the bootloader or CWM, but not as a Nexus 5 that I could flash. Any help/ideas?
Click to expand...
Click to collapse
I guess you are a noob (no offence). I'd tell you push the zip file via adb. Google has plenty of guides on how to do it.
Or if you're scared of adb, download wugfresh toolkit and select the flash stock and unroot (phone semi Bricked option). Once you've flashed that, re flash twrp and copy the zip file over.
A word of advice, always keep the rom zip file and gapps because you never know when you'll need it. Deleting it just makes everything messy.
Install this http://forum.xda-developers.com/showthread.php?t=2588979 skip the driver install part.
Download stock rom https://developers.google.com/android/nexus/images and extract it. Connect the phone in fastboot mode. Install drivers http://developer.android.com/sdk/win-usb.html
Double click on flash-all.bat in the extracted stock rom's folder.
To avoid further problems use twrp or philz touch recovery.
Hey guys!
To start, I want to say what an amazing place XDA is and how much information and knowledge you can get from here and how awesome the moderators are. I don't think I could ever find another amazing and/or helpful community such as those found here! Thanks to all who have helped me out with my Android issues!
Now to my issue and I apologize ahead of time if there is another thread (or related thread) found in the forum.
As the title states, I have a 2013 Motorola Moto G XT1031 Boost Mobile device. I had upgraded it to Lollipop 5.0.2 or 5.1 when it came out (I can't remember which one it was) and I had then decided to root it. I can say that I believe I was successful in rooting the device because I was able to install Supersu and use RootChecker to verify the install. Everything was going okay until i decided to research and eventually install a custom recovery and attempt to install a custom ROM. Well, let's just say that the recovery install was a bust...
In doing my research for a custom recovery, I found that TWRP had a custom recovery for my phone and apparently for my firmware via TWRP's app on the Play Store. So, I searched for my device in their in-app search for a custom recovery, downloaded it and installed it from the app. Now, my gut told me that this probably wouldn't work and that I should probably be installing a custom recovery via CLI. Nope. I didn't do this. Instead, like I said, I installed a custom recovery from the app itself. That screwed things up for me. I have no idea if it was the install, but my phone began to act incredibly strange. When in the TWRP recovery, my screen had this line that would continuously scroll from top to bottom. It wasn't a completely solid line, but it was transparent, almost like an empty thermometer glass stick was going down the screen. It was weird and not normal. I figured the phone's software was partially broken. It only did this in the TWRP recovery. Nowhere else did this happen. It was slightly annoying.
Later on I decided to install a custom ROM. Again, I did the necessary research to find out if there were any ROMs available for my phone (using XDA of course and others) and found that there were a few out there. So, I downloaded one (wish I could remember which one) and attempted to install it...keyword there. After attempting the install, my phone would not boot. Like at all. Dead. So back to the drawing board I went to try and reverse the damage. Using XDA (ironically) and a plethora of other sites, I tried to resurrect my phone and bring it back to life. After countless hours of trying and trying and trying and more and more research, I just gave up. The phone is dead. Great. $170 spent on a phone to break it a year later.
It's been roughly 4-5 months since I have attempted to redo the process and after another minor attempt, somehow I was able to remove the root completely, including the custom recovery and ROM. I don't know what the heck I did, but it worked....sort of. The phone is now stuck in a bootloop on the logo and sometimes the "bootloader has been unlocked" screen when try and factory reset the phone from the default recovery. When trying to reinstall the stock firmware, I read everywhere that I need the phone to have USB-debugging set and to have this and that. I have this and that installed on my PC, but obviously cannot enable USB-debugging which is needed for ADB and fastboot to recognize my device.
So, my question for anyone who would like to help me out is this: what are my options? Is the phone recoverable? Is there any way I can get ADB/fastboot to see my device and finally install the stock firmware on the phone? I have the proper drivers installed and ADB/fastboot are on my PC. Any help would be amazing, even if you have to tell me to junk it.
blckdragn22 said:
When trying to reinstall the stock firmware, I read everywhere that I need the phone to have USB-debugging set
Click to expand...
Click to collapse
This is incorrect, where did you read that? To reinstall the stock firmware using fastboot, you must be able to boot to the bootloader menu only.
I heard this from a few websites actually, although I could never find a situational fix for my phone. I am trying to restore back to Lollipop without a custom recovery, because within the past hour I found out TWRP was never fully removed when I tried booting into recovery from the AP Fastboot menu when doing to power+vol down option. The TWRP logo shows for about 10 seconds and then the phone tries booting normally, showing the unlocked bootloader warning.
So, yes I can boot into the bootloader menu all day long with no problems. It's just an selection I make doesn't get me anywhere. My question I guess now is: how do I go about reinstalling stock firmware via the bootloader menu. I have Minimal ADB and Fastboot installed on my PC. If I need the full ADB, I can download that. And of course I'd need the firmware, too.
You can find stock firmware images in this thread, there's also a link to an installation guide there:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
_that said:
You can find stock firmware images in this thread, there's also a link to an installation guide there:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Click to expand...
Click to collapse
This thread had the firmware I was looking for thank you. I believe I have the flashing stock firmware process down, I hope. I'l refer to the guide if I need help. Thank you so much!
_that said:
You can find stock firmware images in this thread, there's also a link to an installation guide there:
http://forum.xda-developers.com/moto-g/general/index-moto-g-falcon-factory-firmware-t3110795
Click to expand...
Click to collapse
I am trying to follow the steps listed here http://forum.xda-developers.com/showthread.php?t=2542219&page=35 and for some reason I cannot run any of the commands pertaining to the sparsechunks. This is what I get:
Is there anything you could tell me about that?
Edit: I was able to figure what the issue was when trying to write the sparsechunks. I had to insert a "." after 'sparsechunk' because that is how the file is named in the folder. However, now I am getting a new error, but it takes place on the phone screen. Every time I attempt to write a sparsechunk, it will initiate the process of doing so, but on the phone I'll get what appears to be an error saying, "Image is too large" in pink lettering. Why does this happen? Each sparsechunk file is at least 4MB less than the max-sparse-size according to the ADB and my phone, which is set to 256MB. Is there any way to change that?
blckdragn22 said:
However, now I am getting a new error, but it takes place on the phone screen. Every time I attempt to write a sparsechunk, it will initiate the process of doing so, but on the phone I'll get what appears to be an error saying, "Image is too large" in pink lettering. Why does this happen? Each sparsechunk file is at least 4MB less than the max-sparse-size according to the ADB and my phone, which is set to 256MB. Is there any way to change that?
Click to expand...
Click to collapse
Check which sparsechunk files you have and make sure you flash all of them in ascending order. If it still fails, copy/paste the contents of your command prompt window (no screenshots please).
_that said:
Check which sparsechunk files you have and make sure you flash all of them in ascending order. If it still fails, copy/paste the contents of your command prompt window (no screenshots please).
Click to expand...
Click to collapse
I will try that. There was a ...sparsechunks.0 as well apart from sparsechunks.1, sparsechunks.2 and sparsechunks.3. Shall I include that, too?
And adding the screenshot was an amateur mistake. My bad.
@_that this worked like a charm. Phone is 100% working ans usable now. Incredibly helpful. Thank you so much!