Phone won't boot after attempt to do a Nandroid Backup - Nexus 4 Q&A, Help & Troubleshooting

I wanted to install cyanogenmod on my Nexus 4 so I installed CWM recovery through ADB and then booted to it from the phone.
Before doing anything I wanted to do a Nandroid Backup but something went wrong (I suspect storage space)
So I tried to boot the device to delete some files, but I can't get past the boot screen
I still dont have any roms on the device so I cant flash them and I can't figure out how to access the SD Card, I've read it doesnt work from CWM on Nexus devices
I would try to wipe data cache or maybe lock/unlock from fastboot and hope it gets back to normal but I wanted to hear your thoughts before messing it up even more.
What dou you think?
Thanks in advance!

You can try sideloading a rom onto it if you flash TWRP.
Sent from my Nexus 4 using xda app-developers app

andyabc said:
You can try sideloading a rom onto it if you flash TWRP.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thank you Wiping the cache did solve it however.
Also, if this happens to someone else and wiping the cache doesnt solve it, CWM has also got a sideload install option

josealb said:
Thank you Wiping the cache did solve it however.
Also, if this happens to someone else and wiping the cache doesnt solve it, CWM has also got a sideload install option
Click to expand...
Click to collapse
Yeah, that works too.
Sent from my Nexus 4 using xda app-developers app

Related

No operating system installed

I tried to install a new rom after updating TWRP 2.3.0.0. after all was complete it stuck on the boot screen. I then tried with the Nexus Root Toolkit to use a restore from backup. Same problem. I then tried to flash stock and unroot. Same problem. I then tried a number of things through TWRP from backups I had their. Same problem. At present I have no OS and I can only boot into TWRP, turn if off or look at the GOOGLE screen. I have run out of ideas and would appreciate any help offered.
If you have tried everything else (flashing a ROM zip etc.) Then you should flash the factory image from Google.
Don't use the script/batch file as that will wipe your internal storage.
Just flash system and boot.
Sent from my Nexus 7 using xda premium
Sometimes a rom takes a long time to boot for the first time, please be very patient. Also, try wiping everything from /system, and then re install a custom rom from your /sdcard partition. also make sure your roms are for the nexus 7 not galaxy nexus or other similar devices. ONE MORE THING 4.1.2 wont flash with 4.1.1 bootloader.
jmtend said:
I tried to install a new rom after updating TWRP 2.3.0.0. after all was complete it stuck on the boot screen. I then tried with the Nexus Root Toolkit to use a restore from backup. Same problem. I then tried to flash stock and unroot. Same problem. I then tried a number of things through TWRP from backups I had their. Same problem. At present I have no OS and I can only boot into TWRP, turn if off or look at the GOOGLE screen. I have run out of ideas and would appreciate any help offered.
Click to expand...
Click to collapse
There was a bug in TWRP V2.3.0.0 use fastboot to flash V2.3.1.0 and then reflash the rom
Sent from my BAKED Nexus
spaceman860 said:
There was a bug in TWRP V2.3.0.0 use fastboot to flash V2.3.1.0 and then reflash the rom
Sent from my BAKED Nexus
Click to expand...
Click to collapse
Got it working. Thanks all for your suggestions.
jmtend said:
Got it working. Thanks all for your suggestions.
Click to expand...
Click to collapse
How did you fix it? I have no OS and my internal SD card was erased too I don't know how to flash from fastboot
Adb push a ROM.
-Brought to you by Marino's Nexus 7-
AshleyPem28 said:
How did you fix it? I have no OS and my internal SD card was erased too I don't know how to flash from fastboot
Click to expand...
Click to collapse
I know many people hate the talk about toolkits but I was in the same situation and I used Wug's toolkit and it saved me. I downloaded 4.1.2 image directly from Google, as the toolkit only has 4.1.1.
I tried to return to stock on my own and it just went from bad to worse. I would of spent more time trying to fix it on my own but I was on a very tight time constraint. It will unroot your device but it is easy to root again.
Sent from my Nexus 7 using xda app-developers app
Billchen0014 said:
Sometimes a rom takes a long time to boot for the first time, please be very patient. Also, try wiping everything from /system, and then re install a custom rom from your /sdcard partition. also make sure your roms are for the nexus 7 not galaxy nexus or other similar devices. ONE MORE THING 4.1.2 wont flash with 4.1.1 bootloader.
Click to expand...
Click to collapse
THANK YOU the "ONE MORE THING" is all I needed to know for the same problem!

AOKP rom

So i got my nexus 4 yesterday and Ive always wanted to root an android phone and install a custom rom. So i unlocked the bootloader and rooted it pretty easy. I want to flash AOKP rom. i downloaded the rom file and google apps from their website on the phone. I went into CWM recovery and installed those files from the sd card, and it says its complete. I reboot the device and it just sits on the nexus logo screen. I dont know what i did wrong. Anybody got any ideas
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
capcanuck said:
It's normal for it to sit on that screen for about a minute or so.. How long did you give it?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
3-4 minutes
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
yeah im pretty sure i did that all correctly, but ill try again. Also for some reason when i try to boot into recovery sometimes, instead of going into CWM, it shows the android robot open with an exclamation mark on him. Any idea what that is
^
I believe that the stock recovery...
When you first boot cmw, it does not stay permanently afterwards...
You can flash it again by downloading ROM manager??
Or somthing else..
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
MarcPlusTwo said:
Maybe use adb+fastboot to flash ROM..
Just to try if the files aren't broken.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You can't flash a ROM in fastboot, you can only flash images.
You can flash the recovery image through fastboot.
I would let it sit for more than just 3-4 minutes as well.
thatguyzx said:
make sure you have the correct files for your N4 or "Mako" device and that you did the steps properly.
wipe data/factory reset in recovery
flash ROM
flash Gapps
reboot
Click to expand...
Click to collapse
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
trillo69 said:
Maybe I'm wrong, but I think you have to format /system and format /boot when switching from another rom, otherwise it bootlops.
Click to expand...
Click to collapse
Unnecessary.
Surprised no one has suggested this already. This happened to me before, go back into recovery and wipe davlik cache
Sent from my Nexus 4 using xda app-developers app

For Those Who Semi-Bricked Their Nexus 7 0MB Interal Storage

Hopefully this helps people in my situation.
So on the first day of having my nexus 7 i found a way to have no OS and 0MB internal storage showing in TWRP. Yah i suck.
I tried tons of things but knew a system image was needed.
HOW: I was about to flash the superuser root for 4.3 newly released and forgot to put it on nexus so i then proceeded to exit TWRP, however upon exiting TWRP the recovery detected i havent installed supersu and asked do i want to install superuser? I though why the hell not!
I confirmed to install superuser and then tried to reboot but for 20 minutes device could not boot. TWRP showed 0MB internal storage and pushing adb files in this state yielded nothing as there was no directory
This is how i managed to have a working tablet again
1. FORMAT DATA in TWRP - after doing this your internal storage should be back and not show 0MB
2. reboot to the bootloader
3. On your computer download this file kindly given to us by phuduong and uploaded by Nburnes
https://mega.co.nz/#!PBIiEbBJ!bKpdHxegOVlde12nsu_ulEyRq7UsANLLQab1IZjLIGc
Credit to Nburnes http://forum.xda-developers.com/member.php?u=2918596[/QUOTE]
4. Once downloaded move that system.img file to your adb directory
5. With you nexus 7 in the bootloader, adb open, and file downloaded copy and paste this command into adb terminal
fastboot flash system system.img
6. Now you have an OS but it still would loop and wouldnt start
7. Boot into recovery and Format Data again, because for me 0MB interal storage was back again
8. Then Factory Reset
FINALLY YOUR DEVICE SHOULD BE BACK TO ITS ORIGINAL STATE!!!!!
Is that the factory image? Have you tried going from unlocked bootloader & rooted back to factory using that image?
plbelanger said:
Is that the factory image? Have you tried going from unlocked bootloader & rooted back to factory using that image?
Click to expand...
Click to collapse
Google has yet to release the official factory image for the new N7. However, a kind user was gracious enough to make their own. It is likely to be almost identical to what Google will eventually release and should work the same way.
Thank you! Thank you!
good stuff OP. glad you got it working again
You all are life savers! 1000X Thanks!
I tried running through this, but it didn't work for me. I think my situation is different though because I tried to install a factory image for the 2012 nexus, and during part of that process I ran the "flash-all" script which starts by deleting boot, cache, recovery, userdata, and system.
I think deleting boot screwed me up, because even though I can go into recovery now after reinstalling twrp and I can restore my system using system.img, I still can't boot (get stuck on the google logo). Any way to fix that?
So you first tried to restore from the OLD Nexus 7 Image?????
Sent from my Nexus 7 using xda app-developers app
petersellers said:
I tried running through this, but it didn't work for me. I think my situation is different though because I tried to install a factory image for the 2012 nexus, and during part of that process I ran the "flash-all" script which starts by deleting boot, cache, recovery, userdata, and system.
I think deleting boot screwed me up, because even though I can go into recovery now after reinstalling twrp and I can restore my system using system.img, I still can't boot (get stuck on the google logo). Any way to fix that?
Click to expand...
Click to collapse
So you first tried to restore the OLD nexus 7 factory image? Probably gonna have to wait for factory image or exchange yours
Sent from my Nexus 7 using xda app-developers app
jporter396 said:
So you first tried to restore from the OLD Nexus 7 Image?????
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yes, I tried to restore from the old image. Obviously fastboot wont let you install the old image, but I didn't realize that until boot, system, cache, etc. were deleted
THANK YOU!!!
This worked perfectly! I had a wiped system folder (no ROM), and obviously no USB debugging enabled. And with the lack of a factory image, I've been counting seconds to seeing somebody post this!
Just follow the instructions carefully. Thank you guys!
petersellers said:
Yes, I tried to restore from the old image. Obviously fastboot wont let you install the old image, but I didn't realize that until boot, system, cache, etc. were deleted
Click to expand...
Click to collapse
You can flash old and new image through fastboot. I did 2 times ^_^
This is boot.img for who need
BOOT.IMG HERE
It gives me a fail when I try to wipe data.
Edit: never mind
jarjar124 said:
It gives me a fail when I try to wipe data.
Edit: never mind
Click to expand...
Click to collapse
How did you fix it? I still cant wipe data.
Balsta said:
How did you fix it? I still cant wipe data.
Click to expand...
Click to collapse
Have you formatted first?
Sent from my Nexus 7 using xda app-developers app
jporter396 said:
Have you formatted first?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I can't, get an error with that too
Sent from my SCH-I545 using Tapatalk 4 Beta
OP and nburnes saved my butt!
I did this and now it seems my device is booting and it shows up as N7 when I attach it to my PC. But the display shows nothing at all. It just goes blank after the Google screen. Any ideas?
After flashing everything I could think of and banging my head and the device against the wall for two hours, I finally got it to work. Not sure how exactly but the last thing I did was reflashing bootloader. So if anyone has the same problem, try that.
Thank you.
Note:
Give step 6 a little time be patient.
All main JSS15J .IMGS here: http://forum.xda-developers.com/showthread.php?t=2381438
Glad this helped some of you guys!

[Q] Nexus 4 won't boot after flash

Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
I don't know the cause but try this:
1.Go to bootloader.
2.Use adb fastboot to flash to stock.
3.profit
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
Click to expand...
Click to collapse
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
gee2012 said:
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
Click to expand...
Click to collapse
This, plus reflash ROM.
Sent from my Nexus 4 using Tapatalk 4
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
failly said:
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
Click to expand...
Click to collapse
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
wargasm009 said:
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
Click to expand...
Click to collapse
Good luck! Let us know if you got it fixed!
failly said:
Good luck! Let us know if you got it fixed!
Click to expand...
Click to collapse
Will do bro
Sent from my GT-N8013 using xda app-developers app
I'm having this same problem with a friend's Nexus 4, my Nexus 4 I can flash whatever and it boots up no problem. With his it doesn't matter what ROM I flash it will not boot up. I have done the full wipe and installed factory image from Google Dev website at least 5 times and then installed customer recovery and root several times. I'm using the latest CWM touch and it will not boot. Any ideas? Thanks.
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did all of this except the adb sideloading, I just flashed the ROM and Gapps in CWM, I'll try it like this, thanks.

[Q] Wiping internal storage

So guys, simple as that. I'm planning to use adb sideload in twrp afterwards to flash a rom. I have a corrupt folder and I can't seem to be able to delete it + I wanna clean up the phone. So how would I go about it step by step? If there is a guide somewhere, I'm sorry, but I can't search anything in Tapatalk :/
Any help appreciated!
Sent from my Nexus 4 using Tapatalk
Why don't you flash the factory image and just start over. Wiping internal storage is going to wipe everything anyway
Sent from my Nexus 5 using XDA Free mobile app
Start fresh. Flash factory images. All you need is here.
Or you can just wipe everything in recovery, reboot to recovery (optional), and sideload the rom of your choosing.
arffrhn said:
Start fresh. Flash factory images. All you need is here.
Or you can just wipe everything in recovery, reboot to recovery (optional), and sideload the rom of your choosing.
Click to expand...
Click to collapse
Yeah I was thinking of doing this, because it seems like less hassle than flashing factory images. I did it once in the past I think, but I don't remember the exact steps. So that's what I wanted to ask
Sent from my Nexus 4 using Tapatalk
Almayce said:
Yeah I was thinking of doing this, because it seems like less hassle than flashing factory images. I did it once in the past I think, but I don't remember the exact steps. So that's what I wanted to ask
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Yeah, you can just wipe it all in recovery. It will reformat it. Good luck then. [emoji4]
Sent from my Nexus 4 using Tapatalk
Man, it was hell of a ride again. First drivers of course, i hate when they just "unnistall by themselves" I hope u know what i mean. Everytime u wanna use those things u have to install them all over again. next thing i kept getting erros while sideloading, again. For me, i cant have errorless sideload, no. So i rebooted phone, pc = rom sideloaded sucessfully. Weird.

Categories

Resources