Question about thoroughly wiping phone with custom rom on it - Verizon LG G3

Hi, I'm running skydragon 6.02/sd kernel 5.04 and it was running very well until recently. I am starting to have forced closes and the black screen after reboot. Never had this before, sometimes the phone just turns off and I don't realize it and I miss messages. I'm thinking that there may be a corrupt file somewhere on the phone. I'd like to wipe phone completely, but when I do a factory reset, it still leaves some of my data on the phone (on the internal sd partition) I could manually delete that data using a file explorer, but I am not sure if there are other files in other places that are not being deleted as well. I was wondering if I could 'wipe' the internal drive from twrp (in addition to davalcik/system/data/cache) and then be able to reinstall sd 6.02 from twrp immediately following. I've never wiped the internal drive that way and am not sure if I would lose root and remove twrp in the process. Can somebody please direct me to a way to completely scrub the phone of current data files and then reinstall 6.02/5.04? Thanks in advance.

tmord1 said:
I was wondering if I could 'wipe' the internal drive from twrp (in addition to davalcik/system/data/cache) and then be able to reinstall sd 6.02 from twrp immediately following.
Click to expand...
Click to collapse
Yes. TWRP / wipe / internal storage.

Related

[Q] Safe Format Method?

So far, when I use odin, or flash, even when I select re-partition, or "Format" it will clear the profile and active data, It has yet to actually clear all the data on the phone's storage. Has anyone else experienced this? Between countless backups from flashing, I have the phone storage full....
I was wondering what a proper method for completely formatting the phone, without bricking it is?
buggzero said:
So far, when I use odin, or flash, even when I select re-partition, or "Format" it will clear the profile and active data, It has yet to actually clear all the data on the phone's storage. Has anyone else experienced this? Between countless backups from flashing, I have the phone storage full....
I was wondering what a proper method for completely formatting the phone, without bricking it is?
Click to expand...
Click to collapse
Simply delete your old backups. Or use a file explorer and delete the files you don't need. The phone automatically load a few system files to the internal storage by default.
You could also connect the phone to the computer by USB mode and format the drive.
eksasol said:
Simply delete your old backups. Or use a file explorer and delete the files you don't need. The phone automatically load a few system files to the internal storage by default.
You could also connect the phone to the computer by USB mode and format the drive.
Click to expand...
Click to collapse
And just to make sure, formatting the drive like that wont prevent me from getting back into bootloader, download mode or anything along those lines correct?
buggzero said:
So far, when I use odin, or flash, even when I select re-partition, or "Format" it will clear the profile and active data, It has yet to actually clear all the data on the phone's storage. Has anyone else experienced this? Between countless backups from flashing, I have the phone storage full....
I was wondering what a proper method for completely formatting the phone, without bricking it is?
Click to expand...
Click to collapse
Just to be clear, if what you are doing is the usual wipe (factory reset, cache wipe, format system) then you are not really completely wiping your phone storage. In order to wipe all storage (pictures, videos, downloads, etc.) you need to format the internal sd card. If you go to "mounts and storage" in recovery, you will find the option to do this, along with format system, format external sd, etc.. I'm not sure if this is the answer you were looking for, but if it is along the lines then please wait until someone else confirms it, I've never tried to format my internal sd, but i assume that is what the option does.

How can I erase the internal storage of my Tab?

Hi xda,
I'm not a typical android user and this was one of my firsts in messing around with my Tab 10.1. I have GTP7500 which I recently loaded up with CM10 and it's working fine except for the camera. Leave that and what I was going to say is that I'd like to remove my entire Internal Storage ( all the downloads, music, videos ) and stuff, i.e, like formatting the sd card. I'd like to know a way to format the internal storage of my Tab without affecting the system files as I don't want to create any troubles here. So, my questions are:-
1. Whether I can delete all the stuff shown inside the internal storage from my PC directly and would it affect the system? I cannot see any format option when I connect my tab to my PC so, I was hoping if I could manually delete all the files inside the storage and then doing a factory reset from cwm and installing the rom once again?
2. Or is there any app to do this?
3. Or if it is quite simple to do it the hard way, well, entering the fastboot and wiping the whole system (Read it somewhere before) and installing all the stuff again, then please do tell me that too. Otherwise, I'd go with the easy method, i.e, just format the internal storage.
Also, what about the format /sdcard option in the mounts and storages menu in CWM? I'm using CWM 5.5.0.4.
I think doing the "format /sdcard" in CWM should do what you are looking for as I have done that in the past. I would also temporarily back up the /sdcard contents onto your computer as a precaution in case an app was depending on any folders there, but I think it should be fine.
Thanks but still...
astrojo3 said:
I think doing the "format /sdcard" in CWM should do what you are looking for as I have done that in the past. I would also temporarily back up the /sdcard contents onto your computer as a precaution in case an app was depending on any folders there, but I think it should be fine.
Click to expand...
Click to collapse
Thanks for the quick reply. But would it remove other stuff including the boot files and other core files of Android? I've somewhere seen similar posts and whom did the format /sdcard but they proclaimed they lost whole files and had to do bootloader and install cwm and other stuff all over again to gain access. I've already managed to do format the sd card while installing the ICS official ROM for my tab but I did that via Samsung's recovery menu, i.e, one you get when installing their official ROMs and did a factory reset which erased all my internal storage files. But the same option won't remove internal storage in cwm. So, is format /sdcard the option to do this? I'd be glad to get a clear answer.
sangeeth96 said:
Thanks for the quick reply. But would it remove other stuff including the boot files and other core files of Android? I've somewhere seen similar posts and whom did the format /sdcard but they proclaimed they lost whole files and had to do bootloader and install cwm and other stuff all over again to gain access. I've already managed to do format the sd card while installing the ICS official ROM for my tab but I did that via Samsung's recovery menu, i.e, one you get when installing their official ROMs and did a factory reset which erased all my internal storage files. But the same option won't remove internal storage in cwm. So, is format /sdcard the option to do this? I'd be glad to get a clear answer.
Click to expand...
Click to collapse
Yep, format sdcard in CWM. It will only wipe the data stored there. Your bootloaders and ROM will remain unaffected, however I would still backup the sdcard to your computer before doing this just in case.
bkress said:
Yep, format sdcard in CWM. It will only wipe the data stored there. Your bootloaders and ROM will remain unaffected, however I would still backup the sdcard to your computer before doing this just in case.
Click to expand...
Click to collapse
I was wondering about this, too. Thanks for helping!
Sent from my GT-P7500 using XDA Premium HD app
The method above does work. However, if you really want to wipe the whole device completely clean, using Odin to flash stock firmware will blow it all out and make you factory-fresh in one operation.

CWM - Wipe data\Factory reset - Wiping all data from Internal SD

I've read some other posts where this has caused a certain amount of controversy but no post seemed to actually answer the question..
Using the Wipe data\Factory reset in ClockWorkMod Recovery has started to wipe the ENTIRE device
(excluding the external SD card)
I have flashed dozens of custom ROMs in the past and what normally happens is my external SD card contents remains safe, this still happens, no problem there, and all my personal documents such as music, pictures, videos and all other files that are not part of the actual ROM itself remain safe too.
BUT
Yesterday, i flashed a certain ROM designed to resemble the S4 (with leaked 4.2.2). Its performance was shockingly bad and other reasons caused me to flash a new ROM which i had used in the past - but when i wiped data/factory reset through CWM - ALL MY INTERNAL SD CONTENTS WHERE GONE
Things i did notice with the 4.2.2 ROM before re-flashing were that:
-When i connected it to the computer (via USB) my device was seen as i9500 (the S4)
-Also, it had created a "0\" folderto store the system ROM.
-I also noticed, wehn re-flashing, it took longer to wipe data than usual..
NOTE: I DID NOT USE THE FACTORY RESET THROUGH ANDROID SETTINGS - THIS, I KNOW, WILL WIPE THE ENTIRE INTERNAL SD, PERSONAL FILES AND ALL. THIS WAS DONE THROUGH CWM.
Because obviously the 4.2.2 ROM wiped my entire Internal SD i had no ROM packages left on it to flash and because obviously i didnt know this until i wiped/reset it involved me having to use ODIN to reflash a STOCK ROM just to be able to boot up and transfer files (ROM packages) from PC to phone - which obviously then meant i had to reflash CWM aswell before i could install the new ROM.
Final Note:
The problem i have, is that i have to do the above EVERYTIME i want to flash a different ROM (i flashed 3 last night).
For some reason when i wipe through CWM my internal SD card is COMPLETELY WIPED!
The question is......Why???
Could the 4.2.2 ROM have re-partitioned my internal SD card and now CWM thinks the ENTIRE thing is data to wipe?
This is the only reasoning i could put to why it wont leave MY FILES alone...
If this IS the case, how do i get it back to normal??
I'm told, on numerous websites in BIG BOLD RED LETTERS that selecting 're-partition' in ODIN is bad and is just a ticket for a free paperwieght (the phone!).
Thank you to ANYONE who can help with this......
The clue may be in the 0 folder. Please read link in my signature to see if it helps
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
The clue may be in the 0 folder. Please read link in my signature to see if it helps
Click to expand...
Click to collapse
Thanks for your help, however the info you suggested does not solve my query..
The info you've provided assumes that the data is stored somewhere else, ie. 0\
Although my device did create a 0\ location when wiping the data, no personal data was in this location.
When i flashed back to stock using Odin, i could see that my phones internal storage was only 1.0-1.5GB used.
Before i started this i only had about 900mb left on my device!
So its not that my data is hiding somewhere.....its gone, and everything on my hones internal storgare is wiped everytime i "wipe data/factory reset" through CWM.

[Q] Data Recovery from sick galaxy s3

My partner's phone has suddenly decided of its own accord that it wants to reformat the internal memory, presumably due to some sort of unrecoverable data corruption. The message that came up informing us of that was something along the lines of "Phone memory is damaged. The data partition is damaged, you should restore your phone to factory settings. Doing so will delete all your data" and then a single button saying "Restore phone to factory settings". (I say something along the lines because that is a translation from the actual Spanish message that comes up)
So, she has a bunch of data that she would prefer not to lose (mostly backed up, but some apps not, and photos missing for last month or so of our daughter - usual story).
So I have been hunting around to see if it would be possible, and mostly what I have found isn't too optimistic. I did however find the following link that did seem somewhat promising:
http://forum.xda-developers.com/showthread.php?t=1994705
So it is for the Nexus and the title refers to internal data, but then also refers to SD cards, but the process does seem to refer to internal data. I have a bunch of questions about the process in the context of an S3:
1. Anyone think this process is transferable to the S3? If so what is the equivalent data partition name? For the Nexus it appears to be /dev/block/mmcblk0p12. Would that be the same for the S3?
2. I am going to have to root this device first unfortunately (meaning I am going to have to write to the internal memory ahead of doing the RAW dump, obviously not ideal, but I see no way round it). Is the process described here (root only option):
http://forum.xda-developers.com/showthread.php?t=2046439
appropriate, or am I going to need to somehow find out what version my partner was on (not 100% sure but I think it was 4.1.2) and adjust accordingly?
3. Do I have to have a fully working version before I can install busybox, or is that something that can be put in place using CWM?
4. Likewise do I have to have a fully working version before I can get ADB working or can I get ADB to work with CWM? I have found a couple of threads that suggest ADB works natively with CWM and others that suggest not.
5. I know how to turn on USB debugging if I can get into setttings of a normal Android system, but how do I do that without a working version, can that be done via CWM?
I guess basically I want to know what would be the minimal set of steps that I can run through to get Busybox installed on the phone, (presumably rooted) and talking ADB to my PC. I say minimal set of steps becuase the less writing I do, the more data might be salvagable.
I am surprised that there isn't some bootstrap version that can't just pull off the existing data and allow you to manipulate it elsewhere (which is what the process I have put the link to seems to do) but it seems much more involved than just a bootstrap.
Be gentle with me - I am just a noob!
bobalucci said:
So, she has a bunch of data that she would prefer not to lose (mostly backed up, but some apps not, and photos missing for last month or so of our daughter - usual story).
Click to expand...
Click to collapse
if its only that I would do it a bit more simpler:
for app data: make a nandroid backup and after the reformat you can use nandroid manager to restore your apps and their data (if you simply restore the damaged data partition as a nandroid backup the problem could accur again). but maybe if the apps and data are damaged because of the damaged data partition they could maybe not be restored.
for photos etc. you can flash philz touch and then follow the steps in the main thread of philz touch on how to put the aroma.zip onto an external sd card (just search for aroma in the thread, you'll find it). aroma is like a file browser with root priviliges which can be executed through recovery. with that you can copy your photos onto the external sd card
btw. I am not sure if the standard factory reset wipes the internal sd cards data. if you only format your data partition photos etc. shouldn't be affected (for example through philz recovery you can just format data partition).
Data Recovery from sick galaxy s3 (installing custom recovery)
Thanks for that... that makes sense... any way I can get the custom recovery onto the phone without having already reformatted the data partition? All the methods I have seen for installing a custom recovery require normal access to the phone... and I don't have that at the moment - just to a screen that tells me that it will reformat the data partition - and I don't want to do that if I can avoid it - as it will modify the data I am trying to save.
Darkened_Sky said:
if its only that I would do it a bit more simpler:
for app data: make a nandroid backup and after the reformat you can use nandroid manager to restore your apps and their data (if you simply restore the damaged data partition as a nandroid backup the problem could accur again). but maybe if the apps and data are damaged because of the damaged data partition they could maybe not be restored.
for photos etc. you can flash philz touch and then follow the steps in the main thread of philz touch on how to put the aroma.zip onto an external sd card (just search for aroma in the thread, you'll find it). aroma is like a file browser with root priviliges which can be executed through recovery. with that you can copy your photos onto the external sd card
btw. I am not sure if the standard factory reset wipes the internal sd cards data. if you only format your data partition photos etc. shouldn't be affected (for example through philz recovery you can just format data partition).
Click to expand...
Click to collapse
Data recovery sticky ???
http://forum.xda-developers.com/showthread.php?t=2344125

Wiped data before flashing ROM but it's still showing up

I'm pretty new to flashing ROMs. My phone is rooted using all in one toolkit, s-off with sunshine. TWRP is my recovery.
I made a backup of my rooted stock ROM , then used TWRP manager to flash cm11. I checked to wipe all the data and dalvik before flashing. Cm installed with no issues.
Once I finished setting it up, I installed es file explorer again and noticed that all my files from my internal storage are still accessible. Its just listed under 0. Everything is still in tact tho.
Did I do something wrong? I don't understand why I still have all these files.
mattprice86 said:
I'm pretty new to flashing ROMs. My phone is rooted using all in one toolkit, s-off with sunshine. TWRP is my recovery.
I made a backup of my rooted stock ROM , then used TWRP manager to flash cm11. I checked to wipe all the data and dalvik before flashing. Cm installed with no issues.
Once I finished setting it up, I installed es file explorer again and noticed that all my files from my internal storage are still accessible. Its just listed under 0. Everything is still in tact tho.
Did I do something wrong? I don't understand why I still have all these files.
Click to expand...
Click to collapse
You have to have internal storage checked for it to be wiped
^^^This. The data that was wiped was system data, not your personal data.
Thanks for responding so quick,
I checked all of the options under install on twrp manager. Looking back, it says wipe data, wipe cache, wipe dalvik. There wasn't an option for wipe internal storage.
Is there anything I can do to fix this now? Or would I just have to go into twrp and reflash cm from recovery, making sure to check wipe internal storage?
Also, if I leave it as is, is it going to cause any problems?
mattprice86 said:
I checked all of the options under install on twrp manager. Looking back, it says wipe data, wipe cache, wipe dalvik. There wasn't an option for wipe internal storage.
Is there anything I can do to fix this now? Or would I just have to go into twrp and reflash cm from recovery, making sure to check wipe internal storage?
Click to expand...
Click to collapse
First off, ditch TWRP Manager, its a needless middle man (you're talking about the TWRP Manager app, right?).
If you boot into TWRP and select Wipe, you will see under "Advanced Wipe" there are a slew of wipe options (but be careful what you pick, as there are options to wipe things like the removable SD).
HOWEVER, you don't need to wipe the internal storage to flash a ROM. Yes, you need to wipe user data (/data) in most cases, and also cache and Dalvik. But wiping internal storage (virtual SD, also called sdcard on ES File Explorer, or sometimes /0) is not needed. For most practical purposes this partition is treated like a removable SD card. In fact, by default, backups like your TWRP nandroid and Titanium Backups are stored here. So if you wipe, you will lose those (unless you move/copy them to the removable SD or somewhere else like your computer).
Some folks like to wipe internal storage when they flash a ROM, just for general cleanup purposes. But its a personal choice, and not really necessary IMO. And as mentioned doing so will wipe your backups unless you save them somewhere else that isn't going to be wiped.
Thank you so much for clearing that up.
Yes, I was talking about twrp manager. You're right, after I checked the options, all it did was reset and boot up twrp. Pretty useless...
So since I still have all my game data stored, can I just copy it over somewhere to retain where I was at? I'm talking about android/obb data.
How would I go about integrated all my previous data into this current software? Let me know it my question made sense or not
mattprice86 said:
Yes, I was talking about twrp manager. You're right, after I checked the options, all it did was reset and boot up twrp. Pretty useless...
Click to expand...
Click to collapse
I think some folks like to use it to install TWRP. But installing with fastboot is easy, and also important to know how to do if you have issues someday and need to re-install TWRP from a non-booted condition.
So yeah I agree that TWRP Manager is pretty useless.
mattprice86 said:
So since I still have all my game data stored, can I just copy it over somewhere to retain where I was at? I'm talking about android/obb data.
How would I go about integrated all my previous data into this current software? Let me know it my question made sense or not
Click to expand...
Click to collapse
Use the app Titanium Backup to migrate app data when flashing ROMs (also handy to migrate app data to a new phone). And paying the few dollars for the Pro Key and getting the batch backup/restore functions is well worth it if you are flashing ROMs.
Do not use Titanium to migrate any system data to a new ROM, as this will likely cause problems. Just apps and app data. I've had success migrating SMS with Titanium as well. But other things like Settings and Homescreen setup, I usually just do again manually after flashing a new ROM.
As mentioned in my post above, the default save location for Titanium Backup data is the internal storage. So do not wipe internal storage when flashing a ROM, or you will lose your backup data.
Just copying the game files will most likely not work to migrate your game save data.
Thanks for all the help, I really appreciate it.
I used titanium backup and extracted my apps and data from my nandroid backup. Worked pretty well.
The only thing I'm having trouble with now is getting my info like contacts and stuff to sync. It says it's synced, but I'm not seeing it.
I wanted to install HTC backup again and try and restore that info. Would that work?
mattprice86 said:
The only thing I'm having trouble with now is getting my info like contacts and stuff to sync. It says it's synced, but I'm not seeing it.
I wanted to install HTC backup again and try and restore that info. Would that work?
Click to expand...
Click to collapse
I can't say, as I don't use HTC Backup.
I prefer to just have my contacts on my Google (Gmail) account. This is the default on the phone, so unless you changed it, your contacts should all be on the cloud on Gmail (you can login to Gmail on a computer and confirm your contacts are there). Then will automatically restore to the phone when you first setup and enter your Google login and password.
If you've confirmed your contacts are on Gmail, and still not synching, go to Settings>Accounts & sync>Google, go to where Contacts is checked, uncheck it, and then check it again. Sometimes the sync will just get "stuck" and this will clear it up.
One M8 stuck on GPE 5.0.1 ROM boot animation
I foolishly reset factory data using TWRP under Wipe, and when I try to reinstall the GPE 5.0.1 ROM I couldn't find it. Then I try to restore my backed up Sense ROM and I couldn't find it under Restore. Maybe I deleted it and I forgot about it. Help me? I don't have MicroSD to store the GPE ROM which I thought would solve my problem because I thought I may have deleted the GPE ROM .zip file when I reset factory data. Now I am stuck on GPE ROM bootanimation the moving around dots. I need help please someone?
muqrimusa said:
I foolishly reset factory data using TWRP under Wipe, and when I try to reinstall the GPE 5.0.1 ROM I couldn't find it. Then I try to restore my backed up Sense ROM and I couldn't find it under Restore. Maybe I deleted it and I forgot about it. Help me? I don't have MicroSD to store the GPE ROM which I thought would solve my problem because I thought I may have deleted the GPE ROM .zip file when I reset factory data. Now I am stuck on GPE ROM bootanimation the moving around dots.
Click to expand...
Click to collapse
If you did the "default" TWRP factory reset (data, Dalvik, cache) this is not foolish, and is the correct wipe for moving to a new ROM.
You either bypassed the default, and went to "Advanced" and wiped the internal storage; or there is also the occasional instance where internal storage is corrupted by no fault of your own (more common with oldr TWRP versions?).
adb push a ROM to the internal storage (or adb sideload flash) while in recovery.
okay I kind of fixed my One M8. But one problem remains, I can't use my internal storage. My Camera App can't use the internal storage so does all the other apps such as Whatsapp or downloads from Chrome. It's as if my internal storage is not there or somehow malfunctioned or the ROM doesnt support the use of internal storage. But before I got into this problem (I forgot how I got it in the first place as it happened months ago only now I was able to fix my One M8), it worked perfectly fine, the Storage had no problem. But I had problems with Wifi, I thought maybe reflashing the ROM was a good idea to fix this but it didn't instead I can't access my internal storage by File Manager or by PC. If you have any solution please help me. Thanks in advanced.
muqrimusa said:
okay I kind of fixed my One M8. But one problem remains, I can't use my internal storage. My Camera App can't use the internal storage so does all the other apps such as Whatsapp or downloads from Chrome. It's as if my internal storage is not there or somehow malfunctioned or the ROM doesnt support the use of internal storage. But before I got into this problem (I forgot how I got it in the first place as it happened months ago only now I was able to fix my One M8), it worked perfectly fine, the Storage had no problem. But I had problems with Wifi, I thought maybe reflashing the ROM was a good idea to fix this but it didn't instead I can't access my internal storage by File Manager or by PC. If you have any solution please help me. Thanks in advanced.
Click to expand...
Click to collapse
Broken WiFi is usually a symptom of wrong (outdated) firmware for the current ROM.
Internal storage may be corrupted. Try to connect to a computer and format it, or you can try RUU.
Or try to re-flash custom recovery, or update or try a different one (if TWRP, try CWM/Philz or vice versa). Some folks fixed similar internal storage issues by flashing recovery.
I need help again.. I decided to format all my data but I kept my backup in the internal storage.. But after rebooting the phone it works but then I can't download apps from the play store or from chrome.. also I can't transfer files from my pc to my one m8.. But I can take photos (which I think uses internal storage).. Also my guest mode is not working.. Ithought something must be wrong with the internal storage so i wiped it out.. When i rebooted everything is black but when I long press the power button 'power off' shows up.. Something must be wrong.. Oh when connecting to my pc it shows CD Drive instead of HTC_OneM8 like it usually would.. Pls reply even when there's no hope to fix this phone at all..

Categories

Resources