I am having a lot of trouble restoring my GSM Galaxy Nexus to it's former glory. I installed CM12 and CWM recovery earlier but CM12 suddenly stopped working. My phone started rebooting over and over so I decided it was to time to flash the stock ROM.
I flashed the stock ROM with WugFresh's root toolkit. And it worked fine besides the fact that writing the system.img
took 30 mins, which is very unusual. I rebooted my device and CM12 showed up again... ?!. I tried flashing it by hand with ADB but no luck either. CM12 was still there.
I've been busy 3 days now and suddenly realized that CM12 created new root folders after a factory reset which I did multiple times. So for example, my sdcard contains one root with a folder, named 0
, that contains the files on my phone before the factory reset. The problem is that this folders contains the system and CM12 ROM too. So I have like four 0
folders, and the 'deepest' one contains the system and ROM.
Assuming that if you flash a stock ROM, it will install in the root of my SD-card, but doesn't boot because it didn't overwrite the CM12 ROM in the deepest '0' directory [IMG]. If only CM12 was working, I could manualy delete all the unnecessary 0
folders... I really have no idea how to continue from now on and I really need your help [IMG]
Edit: I tried: adb shell rm -r /sdcard/0
and it is gone but if I reboot Recovery and look into my folders everything is there again...
epilogue:
- Maybe the fact that
system.img
took 30 minutes to write has something to do with all those0
folders [IMG] - I tried flashing multiple recovery's to my device but they only show up if I open them via ADB. Otherwise CWMR shows up again because that one is actually installed in the 'correct' (read:incorrect) folder.
- With Skipsoft roolkit I actually received an error while writing
userdata.img
. It said:remote: write fail
. I thought this was due the multiple installation folders and the toolkit not knowing where to place/flash the ROM.
So I need to remove all the 0
folders and place the OS back in the sdcard's root, or I have to somehow tell android to place the stock ROM in the same directory as CM12, or I need to somehow wipe the complete sdcard so I can install a new recovery and flash the stock ROM... I have no idea how however.
Thanks in advance!
[IMG]
placeholders for? Also, you're aware that the ROM isn't installed on the SD card but to the corresponding internal partitions (/system
etc.)? Apart from that, with folders re-appearing that way it sounds like an issue with a defective card/storage – which also would explain CM suddenly stopped working. Could you try adding a file and check whether it's still there after reboot?