[Q] Format internal sd - Android Q&A, Help & Troubleshooting

Hello
I recently rooted and flashed LiquidSmooth onto my SG3 I747M and i would like to get rid of all the junk on my internal harddrive. I was wondering what the procedure would be to wipe my internal harddrive (So i do not have any random folders or old app files) on TWRP without losing my custom rom and root. Would i have to save the backup (just incase), custom rom and root on my sd card and just install it right after I wipe my harddrive?
Any help with this would be greatly appreciated
Thank you!

Wipe cache and go to /system/app and /data/app and delete unwanted apps. That should be enough.

Astu04 said:
Wipe cache and go to /system/app and /data/app and delete unwanted apps. That should be enough.
Click to expand...
Click to collapse
Id like to just format my internal harddrive completely. Is there anyway of doing this without losing my custom rom, root and bricking my phone? Ive been searching everywhere and i havent been able to find a clear answer.

2trainz said:
Id like to just format my internal harddrive completely. Is there anyway of doing this without losing my custom rom, root and bricking my phone? Ive been searching everywhere and i havent been able to find a clear answer.
Click to expand...
Click to collapse
boot into twrp, go to the wipe menu, and wipe everysingle thing. Then reflash your rom. That will wipe everything, and reinstall liquid smooth.
Doing this wont brick your phone or make you lose root.

chromium96 said:
boot into twrp, go to the wipe menu, and wipe everysingle thing. Then reflash your rom. That will wipe everything, and reinstall liquid smooth.
Doing this wont brick your phone or make you lose root.
Click to expand...
Click to collapse
Thank you! This is exactly what i was looking for. What would i be wiping though? Obviously Cache, Dalvik and Factory Reset but do i have to wipe System, Internal storage and format data? (What does format data do)?

2trainz said:
Thank you! This is exactly what i was looking for. What would i be wiping though? Obviously Cache, Dalvik and Factory Reset but do i have to wipe System, Internal storage and format data? (What does format data do)?
Click to expand...
Click to collapse
yeah wipe everything including system, and internal storage. format data formats the data partition of the phone, which is also necessary.
The only thing you dont have to wipe is your external sd card (if you even have one). Press thanks if i helped.

Related

Whats the proper way to WIPE & What do you use??

Front to Back or Back to Front & Toilet Paper or Wet Wipes? Just Kidding!
When wiping via Factory Reset in TWRP what is the best way to insure everything is getting fully wiped except our external SD card. After I did a factory reset there was still everything on the internal sd card. Do any of you use the superwipe.zip?
What Procedures do you follow when switching Roms?
DGreen1 said:
Front to Back or Back to Front & Toilet Paper or Wet Wipes? Just Kidding!
When wiping via Factory Reset in TWRP what is the best way to insure everything is getting fully wiped except our external SD card. After I did a factory reset there was still everything on the internal sd card. Do any of you use the superwipe.zip?
What Procedures do you follow when switching Roms?
Click to expand...
Click to collapse
i wipe data factory reset.. then wipe cash..then dalvik cash..then flash rom.. been doing that for a year wit no problems
I dont know for sure as I to am new to this device. But Id think it would be the same as any other device
I do know for google wallet you need to clear before flashing or it borks on this device,,,
for wiping from recovery I believe it goes something like this:
Wipe data factory reset
wipe data
wipe cache
wipe dalvic cache
wipe system
wipe boot
wipe sd-ext (if there is one???)
flash your rom and reboot
Please anyone correct me if im wrong,,,Thaks and hope it helps ya,,,Later,,,:cool;
drlzanej said:
I dont know for sure as I to am new to this device. But Id think it would be the same as any other device
I do know for google wallet you need to clear before flashing or it borks on this device,,,
for wiping from recovery I believe it goes something like this:
Wipe data factory reset
wipe data
wipe cache
wipe dalvic cache
wipe system
wipe boot
wipe sd-ext (if there is one???)
flash your rom and reboot
Please anyone correct me if im wrong,,,Thaks and hope it helps ya,,,Later,,,:cool;
Click to expand...
Click to collapse
Factory reset wipes /data and /cache
after Factory reset, wipe System and you should be good to go on a new or fresh installation from zip. i dont think wiping boot is necessary but you can. so do
Factory Reset
System
Boot
Dalvik-cache is in /data so you dont have to wipe that.
Spyderekz said:
Factory Reset
System
Boot
Click to expand...
Click to collapse
This is the best, and also the quickest way.
Thanks for the help... I just don't understand why I have the following on my phone.
Sdcard - I understand that this is internal.
Sdcard2
Sd-ext.
Both the sdcard2 and Sd-ext have the same files on them, it has my music, some apk files, and my flash zip files. Now my poweramp player shows duplicate albums for all of my music stored on my external sd.
Any ideas
Sent from my EVO using Tapatalk 2
DGreen1 said:
Thanks for the help... I just don't understand why I have the following on my phone.
Sdcard - I understand that this is internal.
Sdcard2
Sd-ext.
Both the sdcard2 and Sd-ext have the same files on them, it has my music, some apk files, and my flash zip files. Now my poweramp player shows duplicate albums for all of my music stored on my external sd.
Any ideas
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Sd-ext is or was the best way to move apps to the sd card. But with the new OS it isn't required if the app is made right
sent from my EVO LTE
I factory reset twice, wipe dalvik twice and wipe system twice. I don't wipe cache since the factory reset does it.
Now that it was clarified dalvik is wiped with the factory reset I'll probably stop doing that. I just wish it clarified it since it specifically indicates the cache was wiped.
I use this
http://forum.xda-developers.com/showthread.php?t=1700211

Factory reset+flash wiped my memory

Hi All,
I did a factory reset today and flashed the stock 4.1.1 Polish ROM via Odin. This process seems to have wiped my files (including photos etc) from my S3 (internal memory, not SD card). I've flashed plenty of ROMS before and this has never happened.
Anyone know if it's possible to get them back? I guess I've installed new apps etc now so a lot of the data would have been overwritten. Frustrating!
Thanks for any tips.
UnitedWeFall said:
Hi All,
I did a factory reset today and flashed the stock 4.1.1 Polish ROM via Odin. This process seems to have wiped my files (including photos etc) from my S3 (internal memory, not SD card). I've flashed plenty of ROMS before and this has never happened.
Anyone know if it's possible to get them back? I guess I've installed new apps etc now so a lot of the data would have been overwritten. Frustrating!
Thanks for any tips.
Click to expand...
Click to collapse
You answered your own question with your first sentence : I did a factory reset...
Unfortunately its not possible to get back the data
Sent from my Galaxy Nexus using Tapatalk 2
Unless you backed up on PC or sd card...
Factory reset in S3 will always wipe internal memory as it shares internal memory for applications.
If you want to restore try some data recovery software that supports SD card.
ultramag69 said:
Unless you backed up on PC or sd card...
Click to expand...
Click to collapse
That would be the only way. There is a very small window to recover data wiped from flash memory and on a phone it would be even more difficult. Maybe a Clockwork backup?
Internal SDcard is mounted on the system partition via Fuse..so if you format the /system partition..sdcard is formatted as well..
Pointers for future..
Use CWM for flashing ROMS..(I hate Odin )
Backup your internal SDcard on your PC regularly
Perform a Nandroid Backup on your ExtSDcard before flashing any ROM.
If you ever need to factory reset..use the wipe data/factory reset option in CWM and not in Stock Recovery
For a clean install, if you want to wipe system partition..use wipe /system option under mount and format in CWM..it just wipes the system files and your SDcard data will be safe..
You will not face such issues if you in the future if you follow these pointers.
zoot1 said:
Internal SDcard is mounted on the system partition via Fuse..so if you format the /system partition..sdcard is formatted as well..
Pointers for future..
Use CWM for flashing ROMS..(I hate Odin )
Backup your internal SDcard on your PC regularly
Perform a Nandroid Backup on your ExtSDcard before flashing any ROM.
If you ever need to factory reset..use the wipe data/factory reset option in CWM and not in Stock Recovery
For a clean install, if you want to wipe system partition..use wipe /system option under mount and format in CWM..it just wipes the system files and your SDcard data will be safe..
You will not face such issues if you in the future if you follow these pointers.
Click to expand...
Click to collapse
Thanks for that. Lesson learnt I guess..

[Q] Do Wipe Internal Storage Too?

We factory reset device before installing a new rom but is wiping internal storage everytime necessary too?
pXbz said:
We factory reset device before installing a new rom but is wiping internal storage everytime necessary too?
Click to expand...
Click to collapse
no, just wipe cache, system ,data and dalvik cache, you don't need to wipe internal storage
Hit Thanks if that was helpful
sagnik9 said:
no, just wipe cache, system ,data and dalvik cache, you don't need to wipe internal storage
Hit Thanks if that was helpful
Click to expand...
Click to collapse
I have this doubt for long time? wiping internal storage ie 2.2 GB in moto e ( total 4 GB ) cause any problem when installing custom ROM?
when I reset last time I found nearly 200mb space went missing out of 2.2 GB, that's why I am asking?
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
ok i accidentally wiped off my internal storage as well. now i am not able to install roms .. what to do?
devil.jeet said:
ok i accidentally wiped off my internal storage as well. now i am not able to install roms .. what to do?
Click to expand...
Click to collapse
No worries mate. Just copy your ROM into a external MC, insert it and boot your device into recovery and install the room
nilanko said:
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
Click to expand...
Click to collapse
I wipe everything except External Memory card to install ROMs, and I delete all those left over folders in external via PC.
pXbz said:
No worries mate. Just copy your ROM into a external MC, insert it and boot your device into recovery and install the room
I wipe everything except External Memory card to install ROMs, and I delete all those left over folders in external via PC.
Click to expand...
Click to collapse
i used twrp and cwm to install cm12.1 its stucks at installing rom unconditionally.. also shows like md5 not found..
nilanko said:
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
Click to expand...
Click to collapse
devil.jeet said:
i used twrp and cwm to install cm12.1 its stucks at installing rom unconditionally.. also shows like md5 not found..
Click to expand...
Click to collapse
Did you tried wiping everything again? Maybe problem with the download?
Btw MD5 not found isn't anything to worry about. Its just a hash check and can be skipped.
I recommend trying a different ROM like AICP.
installed successfully !! there was an error in downloaded zip re-downloading the file fixed the issue.. !
devil.jeet said:
installed successfully !! there was an error in downloaded zip re-downloading the file fixed the issue.. !
Click to expand...
Click to collapse
To be sure check your download zip befor flashing using md5 app, a guide i made in general section
pXbz said:
Did you tried wiping everything again? Maybe problem with the download?
Btw MD5 not found isn't anything to worry about. Its just a hash check and can be skipped.
I recommend trying a different ROM like AICP.
Click to expand...
Click to collapse
Adarsh1998 said:
To be sure check your download zip befor flashing using md5 app, a guide i made in general section
Click to expand...
Click to collapse
i made an md5 file from hash it worked for me..

About wiping

I generally just wipe the data, cache and dalvik then flash the ROM. I have seen in a few threads to also wipe internal and SD. My question is what is getting wiped if I did do internal and SD. I've never done this before and wanted to ask before I did something I might regret later lol. Thanks.
Edde3d said:
I generally just wipe the data, cache and dalvik then flash the ROM. I have seen in a few threads to also wipe internal and SD. My question is what is getting wiped if I did do internal and SD. I've never done this before and wanted to ask before I did something I might regret later lol. Thanks.
Click to expand...
Click to collapse
Anything you keep on your internal SD card...like pictures/music/documents. I would recommend not doing this at all. If you keep a ROM or other flashable zips in these locations and wipe them before you flash them, they'll disappear. It is kind of like formatting.
RMarkwald said:
Anything you keep on your internal SD card...like pictures/music/documents. I would recommend not doing this at all. If you keep a ROM or other flashable zips in these locations and wipe them before you flash them, they'll disappear. It is kind of like formatting.
Click to expand...
Click to collapse
wiping internal clears out everything. meaning you wont be able to reboot into the OS from recovery unless you have a rom on your external SDS to flash before rebooting. I would recommend it unless you know what you are doing and want to start fresh.
08BajaBoy said:
wiping internal clears out everything. meaning you wont be able to reboot into the OS from recovery unless you have a rom on your external SDS to flash before rebooting. I would recommend it unless you know what you are doing and want to start fresh.
Click to expand...
Click to collapse
Wiping internal is wiping the internal sd card . . . so as the first person said, you'd lose all the pictures/movies/etc. one may have in their sd card...
Edde3d said:
I generally just wipe the data, cache and dalvik then flash the ROM. I have seen in a few threads to also wipe internal and SD. My question is what is getting wiped if I did do internal and SD. I've never done this before and wanted to ask before I did something I might regret later lol. Thanks.
Click to expand...
Click to collapse
i wipe internal storage on every clean flash. if you get in the habit of using auto backup apps like g+ for pics, and move anything useful from downloads to the sd card as you get it, its really no haste to wipe it. i also have titanium do full backups every night while im sleeping, for system and app data.
im sure some people wil say they havent wiped it in 10 years and never have an issue. i can tell you, i dont have a fraction of the random issues most people have that arent known bugs.
08BajaBoy said:
wiping internal clears out everything. meaning you wont be able to reboot into the OS from recovery unless you have a rom on your external SDS to flash before rebooting. I would recommend it unless you know what you are doing and want to start fresh.
Click to expand...
Click to collapse
i have never tried it, but im pretty sure thats not accurate.
wiping internal storage should be nothing more than an advanced data wipe. instead of only deleting user data, you are deleting system data too. but you arent wiping any system files, so the system data should rebuild on boot.
bweN diorD said:
i wipe internal storage on every clean flash. if you get in the habit of using auto backup apps like g+ for pics, and move anything useful from downloads to the sd card as you get it, its really no haste to wipe it. i also have titanium do full backups every night while im sleeping, for system and app data.
im sure some people wil say they havent wiped it in 10 years and never have an issue. i can tell you, i dont have a fraction of the random issues most people have that arent known bugs.
i have never tried it, but im pretty sure thats not accurate.
wiping internal storage should be nothing more than an advanced data wipe. instead of only deleting user data, you are deleting system data too. but you arent wiping any system files, so the system data should rebuild on boot.
Click to expand...
Click to collapse
you probably are correct. I only replied because I recent had an experience with it. I passed my G2 on to a friend. I offered to load up what ever ROM he wanted and he chose CM12. I got it all loaded up and working fine. Then I decided to go back into recovery to erase any data I had on the device. I selected Internal Storage in TWRP, rebooted and it wouldn't go beyond the lg screen.
If I am correct, you would never notice it since you wipe then flash.
08BajaBoy said:
you probably are correct. I only replied because I recent had an experience with it. I passed my G2 on to a friend. I offered to load up what ever ROM he wanted and he chose CM12. I got it all loaded up and working fine. Then I decided to go back into recovery to erase any data I had on the device. I selected Internal Storage in TWRP, rebooted and it wouldn't go beyond the lg screen.
If I am correct, you would never notice it since you wipe then flash.
Click to expand...
Click to collapse
weird, maybe you are right. ill try it next time i clean flash and see what happens.
none of the rom code should be stored there, so it should rebuild.
if you accidentally wiped system, it defiantly wouldnt boot then.
I NEVER wipe Internal or External sd. I wipe cache, data & dalvik from time to time. I'll wipe system as well if I'm flashing a new rom. I tend to keep all of my media and app backups on my External sd just in case something ever happens. For example, if you have to revert back to stock, your Internal sd is completely wiped.

Can a trojan/malware persist after full wipe and rom install?

I wiped system, cache, dalvik, boot and recovery before installing a new custom rom. What are chances that a malicious code still run on the device? Thanks
TheTripLoop said:
I wiped system, cache, dalvik, boot and recovery before installing a new custom rom. What are chances that a malicious code still run on the device? Thanks
Click to expand...
Click to collapse
Have you mounted every partition you've seen in mount menu of twrp and wiped them? Also there are other memory spaces, but I guess they are not used by malware (no guarantee).
There's also data partition, I wiped that. EFS I don't think there's an option to wipe it. USB otg is unmounted.
TheTripLoop said:
There's also data partition, I wiped that. EFS I don't think there's an option to wipe it. USB otg is unmounted.
Click to expand...
Click to collapse
Yeah, data partition should be wiped too(wipes your data, be careful!). And internal storage too!
It doesn't answer my question
TheTripLoop said:
It doesn't answer my question
Click to expand...
Click to collapse
It's easy: wipe/format every single partition = no code will be survive

Categories

Resources