Factory Reset created a mess - Verizon HTC One (M7)

So here's what I am working with. A Rooted, S-OFF Verizon M7. The ROM I have been using up until now is here: http://forum.xda-developers.com/showthread.php?t=2485319. I have been running v6.22.605.4 and everything has been working well. Well, sorta. There was something eating up the storage space. To the point I only had 1GB of storage left and had no music, pictures, downloads, or anything personal on the SD. Yet it was shown as full and no file manager could show me what was taking up space. I figured some app had gone off the reservation and since it had been a while since my last reset, a refresh would be good to do anyway. I backed everything up and used TWRP to do a factory reset. That's when the trouble began.
Once I was booted back into the system and accounts were all set up I noticed my files and folders were nowhere to be found. I used ES and the HTC file manager and both show used space on the SD partition but there were no files or folders visible. Odd. So I went back into TWRP and used the file explorer there. Lo and behold, everything was still there in the sdcard folder. Files, folders, everything. Weird. So I thought I would start over from a clean device. I wiped the cache, dalvik, and data partitions, including the SD. After that was complete and verified I pushed over the 6.22.605.6 ROM, did a firmware upgrade, and flashed the ROM. Completely started over, good to go.
Well, not quite. The problem is still there. TWRP shows the usual folders on the SD that must have been created when the ROM first set up. "Pictures", "Music", etc. But when booted into the system, nothing. Oh, and now I have the apps System UI, Package Access Manager, and a host of others crashing upon startup. I tried downgrading and flashing 6.22.605.4 like I had before and still have the same issues with storage and app crashes. Which leads me to believe there is something derped in the underlying system but I can't figure out what it is.
Any help I can get is greatly appreciated!

armorer243 said:
So here's what I am working with. A Rooted, S-OFF Verizon M7. The ROM I have been using up until now is here: http://forum.xda-developers.com/showthread.php?t=2485319. I have been running v6.22.605.4 and everything has been working well. Well, sorta. There was something eating up the storage space. To the point I only had 1GB of storage left and had no music, pictures, downloads, or anything personal on the SD. Yet it was shown as full and no file manager could show me what was taking up space. I figured some app had gone off the reservation and since it had been a while since my last reset, a refresh would be good to do anyway. I backed everything up and used TWRP to do a factory reset. That's when the trouble began.
Once I was booted back into the system and accounts were all set up I noticed my files and folders were nowhere to be found. I used ES and the HTC file manager and both show used space on the SD partition but there were no files or folders visible. Odd. So I went back into TWRP and used the file explorer there. Lo and behold, everything was still there in the sdcard folder. Files, folders, everything. Weird. So I thought I would start over from a clean device. I wiped the cache, dalvik, and data partitions, including the SD. After that was complete and verified I pushed over the 6.22.605.6 ROM, did a firmware upgrade, and flashed the ROM. Completely started over, good to go.
Well, not quite. The problem is still there. TWRP shows the usual folders on the SD that must have been created when the ROM first set up. "Pictures", "Music", etc. But when booted into the system, nothing. Oh, and now I have the apps System UI, Package Access Manager, and a host of others crashing upon startup. I tried downgrading and flashing 6.22.605.4 like I had before and still have the same issues with storage and app crashes. Which leads me to believe there is something derped in the underlying system but I can't figure out what it is.
Any help I can get is greatly appreciated!
Click to expand...
Click to collapse
Copy everything off while in twrp. Format SD (internal). Copy back files. Continue on.
Sent from my SM-T810 using Tapatalk

dottat said:
Copy everything off while in twrp. Format SD (internal). Copy back files. Continue on.
Sent from my SM-T810 using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply. Unfortunately it didn't work. I did a total format and it didn't seem to help. I was able to get it back by using a RUU and then adding TWRP back in. Just finished about an hour ago and everything seems to be coming back as expected.
Thank you for the help!

Related

Can't Delete anything

I posted a thread not long ago here but the problem is bigger than I thought. I can't write or delete files from multiple folders.
I got fed up, and did a factory reset from the setting menu, but after if finished, the files were still there.
I booted into clockwork, wiped data, cache, and dalvik, and reflashed the Jellybean rom. After successful installation, the files were still there!!!
Someone in the other thread thinks it might be a formatting problem that occurred when I went from ICS to JB. I restored from the Gnex toolkit, which is probably what caused the problem.
I'm happy to wipe, reformat, whatever it takes
Any ideas?
Thanks
Give some more information. Where are the folders located? In /mnt/sdcard/?
But well, this maybe help you. No warranty, though. Never tried, and won't until I need to.
Code:
fastboot erase userdata
if the files are located in sdcard or sdcard0, try going to data/media and delete from there.
artjef said:
if the files are located in sdcard or sdcard0, try going to data/media and delete from there.
Click to expand...
Click to collapse
making progress. I can delete stuff from data/media. As long as I can write new files, I should be ok.
it's /Sdcard that I'm concerned about. I was trying to add and delete music, but it wasn't letting me.
Update
I think I'm good. Music is copying over (through double twist air sync)
I'll follow up if anything else is locked out.
Many Thanks

How do you reload SD card cache?

For some reason this morning, my VZW GN decided to not recognize anything that is in the SD card memory. It's all still there, I can access it through the computer, even copy or add stuff to it. But it refuses to register anything unless it's new. Since there is no physical SD card, how do I get the phone to rescan the files? I've gone into CWM, wiped all cache, system, data, and even factory reset, still nothing. Reloaded CM10 ROM, restored a nandroid, neither fixed it. I can copy it all to computer and recopy to card, but there has to be an easier way.
So you can see your "SDcard" at all times except when booted into Android?
If I hook it up to a computer it's all there. In fact, it's all there through Root Explorer and CWM also. But the Android system is acting like it's blank, all photos, ringtones, etc are gone. I cleared the media cache in applications, and was preparing to copy the whole thing and reformat it, and suddenly it all came back. I don't know if clearing the media cache fixed it or what, but at the moment it's working again. Really weird to happen out of the blue.
Update Rom manager, delete .nomedia file from sdcard root directory, clear Media Storage data, reboot. Done.
Sent from my Galaxy Nexus using xda app-developers app
kyokeun1234 said:
Update Rom manager, delete .nomedia file from sdcard root directory, clear Media Storage data, reboot. Done.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
ROM Manager is up to date (2 updates pushed last night and this morning). I'll do the rest, thanks.

[Q] help recovering with TWRP after failed ROM flash

I've found myself stuck trying to flash a ROM. I'm a newbie, this was my first attempt at something like this, I though I read enough about the process but I guess I screwed up something. I will try to be to the point.
Phone: Samsung Galaxy S3 AT&T i747
Rooted phone with Casual, installed ROM Toolbox and purchased the pro upgrade.
installed TWRP 2.5 and made a nandroid backup, the only place this backup existed was in internal storage.
used ROM toolbox to backup user apps and user data
selected cyanogenmod 10.1 RC5 from within ROM Toolbox and there was a requester for gapps and a checked the box for that also. When the DL was complete I installed the ROM queue with those two items and I checked the boxes Wipe Data & Cache and Wipe dalvic-cache.
Phone went to recovery mode (i guess) and appeared to clear the memory and load the new rom, the phone rebooted and I got the cyanogenmod boot screen but then it went to a requester saying:
Unfortunately , the process com.google.process.gapps has stopped.
When you hit ok you get:
Unfortunately, setup wizard has stopped.
this requester never goes away, just keeps popping up when you hit ok.
So I removed the battery and booted the phone in recovery mode and try to restore but the restore nandroid file in not shown. If I hit the center button in the restore window it says "updating partition details" but never returns.
Whenever you power it up normally now you end up in this gapps loop.
My searching suggested I may have tried to install the wrong version of google apps somehow. What are my options for trying to recover from this? Does my backup still exist somewhere?
If process.gapps is your only warning you can try to reflash the gapps zip from here. http://goo.im/gapps/gapps-jb-20130301-signed.zip If this does not fix your problem, you will have to head deeper into the rabbit hold
You can look for your back with a file explorer. Should be in sdcard/TWRP/BACKUPS/******** (random number). If you dont see them here, check your ext-sd in the same location. If you don't see them, they are gone. Do a Nandroid backup now just to be sure you have one. You should chose to back it up to external in TWRP. As for your FC problem, it would appear that you have not wiped fully. You will likely need to factory reset. the problem is this will remove everything. Titanium back up is a great product for situations like this. If you have used it, you can transfer your backup from the internal storage while connected to your pc. Also copy your DCIM folder as it will contain your photos. This is why you will need to do another Nandroid, because worst case scenario, you can just restore this one.
Thanks for the reply. I will try to reflash the gapps file from the external as soon I can download it, the site is having some trouble right now. I made another Nandroid of the phones current state and stored it to external. I did also have Titanium backup and had backups of the whole system with it. Unfortunately they are also only on the internal storage.
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
theaxis695 said:
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
Click to expand...
Click to collapse
I just bought a 64GB card as well. You may be having troubles mounting it due to a partition that comes factory in the SD. If this is the case, you can look at post #57 on the following page http://forum.xda-developers.com/showthread.php?t=1915385&page=6
It helped me tremendously.

[Q] Old data still in /data/media?

Hey guys, hope this is in the right forum..
I flashed CWM and installed CM 10.1.2 last night, and it seems to work great.
The problem I had though, was that the device reported that 6gb was already in use by the system. Going to settings/storage showed that only 5gb was available for free useage.
I installed the DiskUsage app, and it showed that ~6gb was in use by "System data".
After a little more digging around, I discovered that ALL of my old files were still stored in /data/media, including the CWM backup I made.
I did wipe data/ factory reset when I installed the ROM.
I already copied the CWM backup I made onto my PC, along with everything else I wanted to save, so is it safe to delete the stuff in /data/media? I do see that there is a /data/media/0 folder which seems to have the new stuff in it...
I have the same issue. I deleted the duplicated file under /data/media and keep the file under /data/media/0, the phone still working properly.

Q TWRP Cannot wipe data/factory reset due to multiple lost+found folders

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?

Categories

Resources