[Q] Stuck on Boot Animation and can't mount /data - Nexus 4 Q&A, Help & Troubleshooting

Hey guys,
I was attempting to root my phone so I unlocked the bootloader (using fastboot oem unlock) and flashed CWM recovery (using fastboot flash recovery <filename>.img using version 6.0.4.3). Now, that all worked but when I tried to boot into Android, it got stuck on the boot animation and when I try to mount /data in CWM. I can't do backups because of that problem (namely, it gives me "can't mount backup path") and I don't want to lose all my data. Is there any way of saving this/if I flash a custom ROM, will it erase that data?
Thanks,
Ninja!

Yes wipe /data /cache is required to flash custom roms.
Try to fastboot boot recovery.img and see if it loads /data, and remember to check your bootloader version (not z20i)
Sent from my Nexus 4 using xda app-developers app

zarica said:
Yes wipe /data /cache is required to flash custom roms.
Try to fastboot boot recovery.img and see if it loads /data, and remember to check your bootloader version (not z20i)
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Ok, I tried that using the CWM touch recovery image that I had but it still didn't work. My bootloader version is Z30d.

Fixed it by flashing stock ROM.

Related

Flashed wrong rom -> error mounting sdcard

Hi guys, I've accidentally flashed a p4wifi aokp milestone6 on my nexus S (didn't pay enough attention)
Now my phone boots correctly, but I can't mound sdcard, and this happens on recovery too
Is there anything I can do? I can't flash back any roms
P.S: It seems that I have my old rom installed (aokp jb), that's what the Info says
Flash back the stock Rom buddy it ill help you
shazzy1 said:
Flash back the stock Rom buddy it ill help you
Click to expand...
Click to collapse
But How? I can't copy it
what version of recovery do you use?
Use odin man
I use CWM. I think that I can solve everything if I format the sd, but I really need to access it to save some files first
I use cwm 6.0.1.3 version and has problem mounting sd thats why i asked you. Try to flash a 5 version with fastboot to mount sd.
Sent from my Nexus S using xda app-developers app
fastboot
fastboot can update rom too.
fastboot flash [partition name] [image name]
three partition, system boot radio, needed for rom flashing.
fastboot flash system filename.img
fastboot flash boot boot.img
fastboot flash radio radio.img
Never had any problem with mounting sdcard with cwm, it would be way too coincidental that it stopped working just exactly when I flash a wrong rom.
And I have 5.5.0.4...
In theory, flashing the wrong boot.img could create a missmatch on the mount points. If all else fails you can fastboot in the various partitions directly to correct.
i have this problem too on my brother's gnex.
i currently downloading stock factory image to flash from fastboot.
just try that.
hope we can get back our usb storage.
if you found another way please share.
thanks.

How to flash custom ROM from wiped clean nexus7

I want to completely wipe/format all of my nexus and then install a custom ROM without installing the stock 4.2 rom and then having to download the custom ROM and installing it with cwm if possible. I have installed lots of ROMs and it feels like the kernels are not making much difference and would like to do a fresh start now I know the ROM/kernel I want. I also have never been able to install a recovery from the nexus tool kit and wonder if wugs is better.
Just trying to save a step.
Sent from my Nexus 7 using Tapatalk 2
http://forum.xda-developers.com/showthread.php?t=1907796
Just do these steps :
Code:
> fastboot erase boot
> fastboot erase cache
> fastboot erase recovery
> fastboot erase system
> fastboot erase userdata
> fastboot flash bootloader bootloader-grouper-4.13.img
> fastboot reboot-bootloader
Then install TWRP : http://teamw.in/project/twrp2/103
Then use "adb push" command to push your rom to your device using adb, then install it using TWRP
Thank you. That is what I want but never read that thread because it says factory ROM.
Sent from my Nexus 7 using Tapatalk 2
I'm sure it works well with a stock install but I had two problems I could not fix. First was twrp wanted a password and second even after I redid everything but with cwm the flash said it could not mount any partition.
Sent from my Nexus 7 using Tapatalk 2
You have to be booted into android in order to ADB push correct? So how would this work from a wiped device?
Figured out how
I figured out how to do this. I got sick of having to install stock after a complete wipe and format only to immediately flash a custom rom. The only reason I was flashing stock was to put the rom zip on my SD. After wiping everything I re installed TWRP with fastboot and boot into recovery. TWRP wants a password to mount data. I just pushed cancel and was let into the main menu. Still couldn't mount data until I reboot back into recovery from recovery. Once I did that data was auto mounted. I choose ADB sideload. Then had to open a terminal on my linux machine in the dir. that contained my rom. Then su in terminal and do command- adb sideload /path/to/rom.zip. It would only work with su otherwise I got a permission error. After it pushed over I just flashed it from TWRP and boot up like normal.
Thank you. That should work. I didn't try a reboot after twrp install.
Sent from my Nexus 7 using Tapatalk 2
k29er said:
I want to completely wipe/format all of my nexus and then install a custom ROM without installing the stock 4.2 rom and then having to download the custom ROM and installing it with cwm if possible. I have installed lots of ROMs and it feels like the kernels are not making much difference and would like to do a fresh start now I know the ROM/kernel I want. I also have never been able to install a recovery from the nexus tool kit and wonder if wugs is better.
Just trying to save a step.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I use TWRP its way better then CWM. Very simple you can also get it through root capabilites with a toolkit. im up to the latest Jelly bean software then rooted and installed with toolkit. Sideload your rom clean delvik cache and regular cache do factory reset and instal rom and enjoy :laugh:

[Q] Can't remove multirom

I have a Nexus 7 WiFi 16GB running stock rooted and 2 custom roms via multiboot.
The custom roms stoped booting and now if you select any rom in multiboot it just boots the stock.
I tried to remove multirom (by reflashing boot.img to the device) and there were no errors but multirom remains.
I then thought I would reflash everything, bootloader, recovery, system the works. All of these processes reported 0 errors but the systems remains exactly the same.
I have also noticed that if I make any changes to the stock rom (install an app or change a setting) when the device restarts it's not there. It's as if the system isn't persistent.
Can anyone help???
Almost sounds like something in the file system got switched to read only.
What are you using to flash the device?
When I was playing with Multirom I think all I had to flash using Wug's was the stock kernel found under advanced options in order to remove multiboot.
The whole thing about making changes to the system that fail to persist is almost like root is borked or the bootloader is locked.
Does anyone know if its even possible to lock the bootloader once rooted?
KMDDesign said:
I have a Nexus 7 WiFi 16GB running stock rooted and 2 custom roms via multiboot.
The custom roms stoped booting and now if you select any rom in multiboot it just boots the stock.
I tried to remove multirom (by reflashing boot.img to the device) and there were no errors but multirom remains.
I then thought I would reflash everything, bootloader, recovery, system the works. All of these processes reported 0 errors but the systems remains exactly the same.
I have also noticed that if I make any changes to the stock rom (install an app or change a setting) when the device restarts it's not there. It's as if the system isn't persistent.
Can anyone help???
Click to expand...
Click to collapse
Did you read the OP?????
4. Uninstaller
MultiROM uninstaller: multirom_uninstaller.zip
Flash this ZIP file to remove MultiROM from your device. It will erase all secondary ROMs. If you don't want MultiROM menus in recovery, re-flash clean TWRP, but it is not needed - those menus don't do anything if MultiROM is not installed.
Could've sworn there was an Q&A section
WooHooGuy said:
Almost sounds like something in the file system got switched to read only.
What are you using to flash the device?
When I was playing with Multirom I think all I had to flash using Wug's was the stock kernel found under advanced options in order to remove multiboot.
The whole thing about making changes to the system that fail to persist is almost like root is borked or the bootloader is locked.
Does anyone know if its even possible to lock the bootloader once rooted?
Click to expand...
Click to collapse
I have tryed flashing from commandline with fastboot as well as using both Wug's and Nexus7 Toolkit. I have tried flashing the stock kernel with Wug's and no change. The bootloader certainly says unlocked.
bonzer2u said:
Did you read the OP?????
4. Uninstaller
MultiROM uninstaller: multirom_uninstaller.zip
Flash this ZIP file to remove MultiROM from your device. It will erase all secondary ROMs. If you don't want MultiROM menus in recovery, re-flash clean TWRP, but it is not needed - those menus don't do anything if MultiROM is not installed.
Click to expand...
Click to collapse
Tried that first
-PiLoT- said:
Could've sworn there was an Q&A section
Click to expand...
Click to collapse
Apologies, it was late, I was flustrated and I didn't see... if I knew how to move it I would.
I had the same problem trying to remove multirom, it just wouldn't budge!! I found the best way was to just erase everything on the tablet with fastboot commands and then just re-flash a stock image of Jellybean.
There's nothing like dusting off the old cobwebs once in a while to get that out of the box feel again!
Sent from my all singing and dancing Nexus 7 using xda app-developers app
mr_tris said:
I had the same problem trying to remove multirom, it just wouldn't budge!! I found the best way was to just erase everything on the tablet with fastboot commands and then just re-flash a stock image of Jellybean.
There's nothing like dusting off the old cobwebs once in a while to get that out of the box feel again!
Sent from my all singing and dancing Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Exactly what im trying to do.
I have ran:
fastboot erase system
fastboot erase userdata
fastboot erase cache
all with no errors but nothing was actually erased?!?
Start again but follow it in this order. But you also need to flash a stock ROM too. Your only doing half a job.
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot -w update stockromfilename.zip
Sent from my Nexus 7 using xda app-developers app

Cannot mount any patitions in TWRP

Hi guys
Currently trying to flash Cynagenmod onto my nexus 7.
Ive unlocked the bootloader and installed multiple version of TWRP via adb
When I boot into recovery I cant mount any of the partions to wipe/flash but I can still push CM rom onto the SD card
Ive also tried flashing ClockWordMod but it doesnt boot into Recovery.
Any ideas?
Thanks
Sent from my C6903 using XDA Free mobile app

OS wiped accidentally from TWRP recovery

I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Please help.
Thanks.
Click to expand...
Click to collapse
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Exiwolfman said:
Just flash it from custom recovery, so download it into ur phone go to recovery and simply flash it and all should be good.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Your phone should boot into recovery, so as long as it goes on and boots all u do u is use ur pc to move file over and flash it...
Sent from my Nexus 6P using Tapatalk
Kalaxy said:
How do I download it to my phone if I cannot boot into it. Is there any way I can copy a zip file (rom) onto the phone's internal memory.?
Click to expand...
Click to collapse
Boot into bootloader (hold power and system on), flash the though recovery through adb, mount your .zip,, flash your .zip through recovery. Sorry if that doesn't make sense, I've been drinking with the roommates, lol.
Edit: if that doesn't work, send me an IM and I will help you in the morning
Sent from my Huawei Nexus 6P using XDA Labs
Which state is your phone in right now? Is it bootlooping or in recovery?
Sent from my HTC 10 using Tapatalk
The same thing happened to me also! The whole /data (incl. sdcard) partition went corrupt (showed up in TWRP as eemc instead of ext4) & the /vendor failed to mount.
First I had to repair the /data partition (unfortunately the data was lost, as it repaired to a blank partition). I ended up having to go home (was at work at the time) & hook the phone up to the PC & download the ROM & transfer it onto the sdcard. I'm not entirely sure why/how this happened, but I believe it was because a corrupt vendor IMG. Although that theory doesnt include why the /data partition corrupted, it only explains why the /vendor partition failed to mount.
Fastboot flash system system.img
?
removed
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Have a look here how to load in bootloader, flash, etc.
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
5.1 said:
Hi... Just boot into recovery and reflash system.img from the factory image of your choice in bootloader with fastboot. Also flash the vendor image from the same factory image. Done...
Or reflash the whole package with flash all (manually is better imho). But you'll waisted time... Let your phone reboot into Android and you'll have your internal storage back.
Click to expand...
Click to collapse
Thats what I thought. JUst wanted to make sure I could get into bootloader still
dbroer91884 said:
So I did the same thing. I'm sitting in TWRP right now but have nothing on the phone. Will I be able to reboot from TWRP into the bootloader and just use the flash-all command to get my phone to boot back up, then just go through the process of custom recovery again?
Basically I'm worried about leaving twrp without an OS. I didn't wipe bootloader did I? Also, I tried to download a ROM and just drag it to internal memory, but I can't seem to add anything to the internal memory.
Click to expand...
Click to collapse
Yes TWRP has a reboot to bootloader option available. So you can access fastboot via bootloader to flash the necessary images. Just don't forget to re flash TWRP image again in case the stock recovery image was flashed beforehand.
The odd thing was that I did choose that option to boot to bootloader in twrp and it didn't work. I ended up having to reboot to bootloader manually. Not a big deal. All is working now, but thought that was interesting.
Kalaxy said:
I accidentally wiped the OS from advanced wipe option. How do I get my phone to work again. I tried to operate adb sideload from recovery but it failed. I have downloaded the stock rom but I do not know how to install it.
Click to expand...
Click to collapse
Exactly which partitions did you wipe? system? data? Internal Storage (userdata)? all of the above? Hopefully you did not wipe userdata (all your stuff). Were you on a stock ROM? You should be able to d/l the Google image from the same build you were on, extract system and data and fastboot flash those. Don't flash userdata. All your stuff should be there. Follow the tutorial on how to set up fastboot and selectively flash partitions.
---------- Post added at 06:49 AM ---------- Previous post was at 06:44 AM ----------
This thread got hijacked at least 3 times. Let's hope OP can find his way back.
pocholo36 said:
I have the same issue. The problem is, that my computer will not recognize the phone in bootloader mode or in recovery mode(MTP enabled). How can install usb drivers without being able to boot into phone OS???? I've tried Nexus Toolkit with no success. Please help?
Click to expand...
Click to collapse
Try this Hope you get solution to your problem of installing adb and fastboot tools in the correct manner.
I just by mistake deleted my internal storage.
I have TWRP, how do i put the ROM on there and flash it? Someone please help.
Thanks

Categories

Resources