Hi everyone,
I've got a Galaxy Nexus in use since approx. 2 years and update it to the latest CM from time to time. I also flashed Ziyan's beta build (08/06),
but honestly, I dont't think that’s the crux of the matter.
Let me begin with the error pattern:
One day, my Nexus was not in use and only lay on the table, it crashed an rebooted. That happened occasionally, so it seemed like nothing to worry.
Unfortunately the system kept on crashing on every attempt to boot after this or crashed shortly after finishing boot.
This repeated over several hours.
Once in a while, the system managed to stay alive for a few minutes and I was able to browse the settings for example. Doing so, I noticed that it responded normally for about 5 seconds and then froze for 5 seconds alternatingly.
I then tried to flash a backup or rather the latest rom again.
Then it became awkward:
In the beginning I was unable to aquire writing permissions (rw) and only had reading permissions (ro) on my /sdcard. Even adb remount didn't change this.
An attempt to fix permissions in TWRP recovery broke with an error.
I couldn't even access the sideload due to missing write permissions.
Surprisingly, I was able to adb push the rom to /cache partition since I still had rw permissions on /cache and /system and therefore successfully flashed the rom subsequently.
When I checked my permissions again, I regained rw permissions on all partitions.
Trying to reboot my system, it kept on crashing like before, which led me to format the internal memory completely.
According to TWRP the whole memory was deleted completely and I adb pushed an older rom (CM 11) and flashed it.
To my astonishment, I found my phone boot the old rom again, all data was restored and it still crashed like nothing happened to the memory.
I then tried to delete all files manually and flashed the stock rom, even unrooted, all with the same outcome.
After every attempt to change something, Ziyans rom remained on the phone, also the /sdcard data was still there.
What I found noteworthy was the recovery telling me, all the operations completed succesfully everytime and until I restarted the phone, it indeed showed no files remaining after formatting (though, I couldn't change the filesystem).
To put it all in a nutshell:
Memory delete, format or overwrite doesn't work any longer
I am totally out of options and would appreciate suggestions =)
Greetings,
Kosmo$
Yes it is. A way to verify this is to lock the bootloader. If it is unlocked upon rebooting your EMMC is corrupt..
Related
Apparently no one else is having this issue so it's gotta have something to do with what I'm doing, and I can't figure it out. My problem is that when I press download ROM in ROM manager, the only manifests it retrieves are the all device ones, which only include the two superuser binaries. It doesn't actually download or display the espresso manifests. I checked my build.prop to make sure everything said espresso, not something else, and it does. There was ONE thing that said htc_espresso, but no one else is having the issue so it can't be my build.prop. I have a premium license, and advanced mode is enabled, and there are no options in the settings menu to set the manifests manually. Erghhh. Anyone have any suggestions? I don't see why it just doesn't show up for me. I just did a full wipe before I flashed cm7 RC1 last night, so it can't be that.
Edit: figured out part of the problem. Apparently, it relies on you actually installing clockwork recovery, which I have avoided doing, one, because I have my cache bind mounted to data, so when it tries to flash update.zip from /cache/download, it fails, and my roms don't install, and two, I use cw3, and it's permanently flashed. So I have just been manually overriding the installation, which is why it doesn't show rom downloads. Any workaround to this, or some way to put the cw3 img into a zip?
Edit 2; solution: Took some hoop jumping and a LOT of tedious nandroiding and such, but I finally got it to work. In the end, I had to raise my cache from 1.5 mb to 2.5 mb and push the update.zip for 2.5.0.7 recovery to /cache, while in recovery (can't do it while booted, since /cache is just bound to /data/cache, hence the whole issue in the first place). So, when you reboot into recovery from rom manager, yes, it still copies an update.zip to what it THINKS is /cache, but is actually /data/cache, but it doesn't matter since I've already pushed a pre-existing update.zip to the REAL /cache (partition scheme is now 140 mb /system and 2.5 mb /cache, only 1mb of /data lost)
Ultimately, the issue with no downloads was that I had overridden the installation of clockworkmod recovery, so ROM manager showed for the version as clockwork unknown, which I guess meant unknown device as well. Once I installed cw recovery via rom manager, downloads began appearing again. I re-fastboot flashed cw2 over cw3, since it was causing compatibility issues with ROM Manager. If anyone is going to try this solution however, make a nandroid, it corrupted my entire internal storage and I had to restart without a nandroid, redoing mtd and everything. Thank god for titanium backups, eh?
Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
dwnocturnal said:
Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
Click to expand...
Click to collapse
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
joeyhdownsouth said:
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
Click to expand...
Click to collapse
I got the link to the stock stuff through ODIN from here:
http://forum.xda-developers.com/showthread.php?t=2189539
Missed your other question the first time I read your post....Yes, I uninstalled the drivers, rebooted, reinstalled the drivers. Tried connecting on another PC as well.
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It's sounds as if you should start a totally clean install, then backup your downloaded apps with Titanium Backup after you get ROM setup again.
Sent from my hybrid GS3
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
dwnocturnal said:
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
Click to expand...
Click to collapse
Hit the edit/delete button under the original post, type [SOLVED] before your title. Then click the save button.
Worked!! Thanks.
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Same Issue
demax123 said:
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Click to expand...
Click to collapse
Unfortunately I do have the same issue. The problem is I have not backed this up previously. Any suggestions?
Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
xxkid123 said:
Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
Click to expand...
Click to collapse
I would flash back to stock in Odin and root again
xxkid123 said:
Using TWRP 2.6.3.0, I'm unable to wipe data. Every time I try, I get
"wiping data without wiping /data/media
E: error opening '/data/lost+found'
done."
I excluded the nonessential bits, if anyone wants a full log (something something partition details), I can make one.
I using ES File Explorer with root explorer on, I checked out /data and found two lost+found folders, which I think is causing my issue. I've tried deleting just one, but a second one is automatically generated. If I delete them both, then they're automatically recreated as well. If I delete them both and then remake one immediately after, another one will be remade.
I also checked the rest of the /data folder, and I did not find any lost+found files, so I'm pretty sure it's just the folders messing things up
I checked this thread, but I didn't find anything useful
http://forum.xda-developers.com/showthread.php?p=39497772
I ended up here after I accidentally wiped my internal storage with TWRP. I went from a 4.3 AOSP rom to 4.1.2 stock (HD RLS16). I wiped the 4.3 rom, but I think I accidentally wiped internal storage then as well, or maybe something was messed up with TWRP because the storage folder for 4.3 isn't in data/media (or at least not for the rom I was using). After that I used hyperdrive, which was super buggy with Gapps and didn't work at all. After adding an account, everything kept force closing, and things were extremely slow and took minutes to open, even after removing the account and wiping cache+dalvik.
I thought it had to do with the rom, so I went and wiped stuff, then went to CM 10.1.3 stable, but that didn't boot at all, so I tried wiping again and going to liquidsmooth 2.9, which is where my problems started again. I attempted to wipe again and go back to cm10.1.3. The wipe failed, but cm10.1.3 worked.
any ideas on how I can fix this? I was unable to find help on google.
Click to expand...
Click to collapse
Anytime you get that error format data (the one where you type yes) the folder gets corrupted and a format fixes it.
Sent from my SGH-I747 using xda app-developers app
Im getting the same E:Error opening '/data/lost+found' im my twrp 2.6.3.1 after flashing Official CM11 nightly dec 12.
So now my recovery is very messed up, i cant properly wipe or restore nandroid with ease anymore, did you by any chance find a solution to fixing this issue?
Mystikalrush said:
Im getting the same E:Error opening '/data/lost+found' im my twrp 2.6.3.1 after flashing Official CM11 nightly dec 12.
So now my recovery is very messed up, i cant properly wipe or restore nandroid with ease anymore, did you by any chance find a solution to fixing this issue?
Click to expand...
Click to collapse
This has happened to me twice and the only solution i have found was to wipe internal storage. unfortunately i wasnt able to backup my internal storage before wiping so eveything i had on my phone was erased. Everything in your external is safe you dont have to worry but if you had important files or anything that you wouldnt erase on your internal storage then that is very unfortunate.
As for me, i now backup everything maybe like once a month or so, just in case something like this happens again.
Its happened to me also and I could not resolve it without the wipe, that was the only viable solution that worked for me.
Sent from my SGH-I747M using Tapatalk
Although if you're using twrp I just found out you can still save some of your precious files.
How? Simple
You can go into recovery and into the file manager. I think it's in settings or advanced I'm not sure. But I know that is built into twrp. So then just go into your internal storage and select the files and move them to the external storage.
If it's your first time using the file manager then you'll have to get used to it because it's not 100% noob friendly
And remember the bigger the file the longer it'll take to move so just be patient.
Use AromaFM!
search bar will serve you..
KorGuy123 said:
Anytime you get that error format data (the one where you type yes) the folder gets corrupted and a format fixes it.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Thank you very much, saved my life today!
Can i get some help please. I cant format data via TWRP, it says "E: unable to wipe data, unknow fle system, auto, unable to format to remove encryption". I did not put any encryption. What to do?
Have you tried using different versions of TWRP to wipe?
Hi everyone,
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 realised 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 om 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 unneccesary '0' folders... I really have no idea how to continue from now on and I really need your help [IMG]
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.
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 sytem.img took 30 minutes to write has something to do with all those '0' folders [IMG]
- I tried flashing multiple recovery's to my device but they only show up if I open them via ADB. Ohterwise 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.
Thanks in advance!
Hi All,
I have LineageOS running on a GS5 (G900I) and while it runs beautifully, every 1-2 weeks I have a hang that I cannot recover from - Even after reboot the phone hangs immediately - I can swipe across screens in Trebuchet but no widgets will run and the phone will hang if I try to open any app.
The *only* way I have been able to recover is to perform a restore of my /data partition from a TWRP backup. I've tried wiping cache, dalvik-cache and restoring the /system partition, but this does not help. I've upgraded LineageOS a couple of times to the latest. Now I seem to have to make a backup of /data every day or two, as I never know when this problem will strike again.
My /data partition is encrypted. Filesystem is ext4.
So I have really 2 questions:
1. Can anyone suggest the cause? I can't find any mention of this as a common issue.
2. How can I troubleshoot this? I can use "adb" when booted into TWRP recovery but it seems I cannot use this when the phone is booted without enabling USB Debugging in settings first - but when the hang has happened I cannot launch Settings to enable USB Debugging, so there appears to be no way to see any logs.
Any help would be appreciated...!