How to completely erase internal storage - ONE Q&A, Help & Troubleshooting

Hi, I'd like to install a new ROM , but before that I want to completely erase my internal storage (because it contains alot of junk files and empty/unused folders - and I cannot tell these from the actual useful files&folders in my phone - thus I do not know what I can or cannot delete).
I've already backed up all my important files to my PC/cloud.
The thing is - if I used TWRP to delete internal storage - it would also erase everything else thus leaving my phone ROM-less and bootlooped and then I'll have to push the ROM through fastboot and I dont want to do that,
so my question is:
is it possible to delete internal storage and then proceed to installing a new ROM via TWRP and not fastboot?
thanks.

Lidor167 said:
Hi, I'd like to install a new ROM , but before that I want to completely erase my internal storage (because it contains alot of junk files and empty/unused folders - and I cannot tell these from the actual useful files&folders in my phone - thus I do not know what I can or cannot delete).
I've already backed up all my important files to my PC/cloud.
The thing is - if I used TWRP to delete internal storage - it would also erase everything else thus leaving my phone ROM-less and bootlooped and then I'll have to push the ROM through fastboot and I dont want to do that,
so my question is:
is it possible to delete internal storage and then proceed to installing a new ROM via TWRP and not fastboot?
thanks.
Click to expand...
Click to collapse
Erasing the internal storage through Twrp won't erase the twrp itself.You can still connect your device (when in twrp) to Pc and transfer stuff.Thus you can then flash a new rom and also copy anything else you want.

thanks, so what will it delete? everything above the root folder?

Lidor167 said:
thanks, so what will it delete? everything above the root folder?
Click to expand...
Click to collapse
it will wipe everything on phone internel memory but system software will remain and twrp,so if u want to flash new rom u will need to put it back on internal memory

Related

Accidently delete: system/data/Cache/internal storage ---> how to restore

Hi!
I have deleted my whole phone by using TWRP.
Is there a way to restore the internal storage? I have made a backup yesterday, but the file was also on internal storage.
Sorry for this silly question, but I have a headache already from this morning and was just to dumb to whipe in a proper way
No one?
Any chance to restore the internal storage?
Re-flash your rom
Done already by adb sideload
But I'm still lacking all my staff from internal storage
Sui77 said:
Done already by adb sideload
But I'm still lacking all my staff from internal storage
Click to expand...
Click to collapse
If you wiped your sdcard from TWRP, chances are you can do nothing now. You can check this thread though: http://forum.xda-developers.com/google-nexus-5/general/info-storage-nexus-5-data-info-loss-t2534010
Ok, got it
I think the "fix file system" key inside TWRP is a bit nasty.
When you are slightkly sleepy, you have got chances to do a full wipe
TWRP is a powerful tool so it has be used with caution.

Clean-Flashing a new ROM

Hi, After using sultan's 6.0CMod ROM for quite a while I'm looking for something newer (perhaps RR's or something similar)
I want to completely delete my internal storage before installing and since int's been a long time since the last time I installed a new ROM from scratch I wanted to ask:
After deleting internal storage through TWRP's recovery, will my phone unroot/return to Cyanogen recovery?
If not: do I simply delete internal storage --> put the ROM file & GApps on the SD card --> go to recovery- wipe system,data etc --> install the ROM ?
or am I missing something
thanks​
Lidor167 said:
Hi, After using sultan's 6.0CMod ROM for quite a while I'm looking for something newer (perhaps RR's or something similar)
I want to completely delete my internal storage before installing and since int's been a long time since the last time I installed a new ROM from scratch I wanted to ask:
After deleting internal storage through TWRP's recovery, will my phone unroot/return to Cyanogen recovery?
If not: do I simply delete internal storage --> put the ROM file & GApps on the SD card --> go to recovery- wipe system,data etc --> install the ROM ?
or am I missing something
thanks​
Click to expand...
Click to collapse
Why you want to clean internal storage?
Clean flashing doesn't needs cleaning of internal storage.
Mr.Ak said:
Why you want to clean internal storage?
Clean flashing doesn't needs cleaning of internal storage.
Click to expand...
Click to collapse
I know it's jus that after a long timeo f using my device it's full of folders&files that I am no longer using and I ran down to 6GB of free storage (64GB device) so I want to have a clean start
Lidor167 said:
I know it's jus that after a long timeo f using my device it's full of folders&files that I am no longer using and I ran down to 6GB of free storage (64GB device) so I want to have a clean start
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
Why don't you do this?

TWRP

Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
melp57 said:
Next time I go to flash a new custom rom I'm thinking of wiping internal storage just to really clean things out. Since I use my external SD card for TWRP to store backups etc... There's still the required TWRP directory on the internal storage which remains empty. If I wipe internal storage how will that effect that directory?
Click to expand...
Click to collapse
I don't know how that will affect the directory but I can tell you for sure it won't affect ROM installation. Every time I flash a new ROM, I always wipe internal storage and I haven't faced any problems​.
It won't really effect it, unless you use themes or changed the stock configuration... those are the only things stored in the twrp directory of internal storage. You will notice the next time you start TWRP it will likely give you the warning screen about an unmodified system partition and ask you to allow changes.

[SOLVED] TWRP can't mount internal storage - the problem is coming back...

I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Michael B.N. said:
I wanted to update my rooted Android Nougat to Oreo and also go from SuperSU to Magisk. During that process I discovered that TWRP recovery couldn't mount my internal storage.
I quickly saw on a lot of sites that it's a well-known issue, and I solved it by converting from ext4 to ext2 and back again. Now my phone is running perfect. All apps are installed, data and settings are restored with Titanium and root with Magisk is working fine. But then I remembered about the issue with TWRP and booted into recovery - just to discover the problem is back again. I can't mount my internal storage. So I can't flash zip files, I can't do a backup etc.
When I search xda or the web in general, I can't figure out why the problem has occured again. Also I can't find out how to fix it without losing all my data. Can anybody answer these two questions? Why is this happening again and how do I permanently fix it? And can it be with all my data on my phone - because I'm not able to do a backup.
Click to expand...
Click to collapse
The problem occurs when you use a ROM which encrypts the software or the ROM your flashing has an encrypted kernal. The only way out is to flash a ROM which doesn't encrypt. It is a known problem with TWRP and we have to wait for the TWRP team to update TWRP to handle quota allocation.
It seems the problem is solved for me. I flashed the TWRP version from this link: https://forum.xda-developers.com/showpost.php?p=77296102&postcount=1243
First I tried from Odin but it didn't work. Then I installed the TWRP app from Google Play and flashed the other file, rebooted to recovery, and it seems to work. I can mount my internal storage, make a backup etc. So this is the solution for me.
I had also similar problem of internal storage 0mb and i was not be able to mount my data
so when i flash color recovery by nobody
It's gone because it's allready patch by him
I think it's issue of encrypt data so just flash this recovery from nobody post
https://forum.xda-developers.com/galaxy-s7/themes/recovery-twrps-colored-t3859323
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
i think you must try with different file mngr, that one have no ability or permission to read system files
noniboyba said:
i think you must try with different file mngr, that one have no ability or permission to read system files
Click to expand...
Click to collapse
I'll re flash later and try a different file manager. Otherwise I'll install treble or re flash stock and start over
isgakbrfc said:
Hey guys
wondering if somebody can assist me with my issue. I can mount the internal storage via twrp, and can copy files etc over to the internal storage on my pc. But when i go into file manager nothing appears. even though i indicate that it show me the internal storage. any ideas?
Click to expand...
Click to collapse
same problem, have you found solution ? please help me
TWRP sometimes can't mount the storage, the storage is encrypted, but don't worry. You can still flash your files and rewrite system partion. But in order to show the Storage, you have to use a different version of TWRP. Why am I saying this is mentioned following:
I installed the latest version of twrp, It didn't ask for any password patter to decrypt my storage. So , different XDA posts made me understand that , formatting everything, factory reset will decrypt my storage. And trust me, I have done it several time, several times my brother but it didn't decrypt my storage. I couldn't backup my ROM and without backing up my ROM, I didn't take the risk of flashing new ROM. I waited. This twrp couldn't even mount my system partion. So I seeked knowledge from different person. It took a lot of effort.
Then I learned that, I should change this version of TWRP. I changed to an older version and it didn't decrypt my internal storage after formatting, but it mounted my system partion. Since, it couldn't decrypt my internal storage, I couldn't take backup of my rom and save it to internal storage. so I inserted a pendrive in my phone, and saved the backup of my rom there.
Permanent Solution​
Flashing DM Verity Force Encryption Disabler will decrypt your storage instantly. But in my case, it aroused another problem, None of the security measures of my phone worked afterwards. FOD, pin, password, pattern none of them worked. I don't know the reason but I don't suggest it with my little knowledge. but almost every rom flasher use them, so I thing I have to study about them to know how they work.​
second and best option: start trying older version of TWRP, the good one will be the one to ask the password the recovery in the beginning. It will decrypt your internal storage.​
I was brief here, if anyone doesn't understand these things, let me know, I will explain them step by step because I know the pain of being NEWB.

URGENT HELP needed - Oneplus 6 lost access to internal storage

I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
UPDATE:
problem not solved yet, but what I found is, the main problem is the root directory for the internal storage has changed somehow. By default, it resides in root/storage/emulated/0, but now it has changed to root/storage/emulated, so the apps cannot access it. Now how can I turn it back to default?
Android_Attitude said:
I will try to make it short. While trying to install edxposed, I messed up. It went into startloop. Then I flashed the custom ROM, twrp, base rom, formatted internal storage etc. But now I lost the access to internal storage.
So, current scenario is
1. TWRP can access internal sdcard. It's not even showing any encrypted folders, only 2 folders showing - TWRP & Obb
2. Google play can install apps, but no apps can write anything to internal storage I.e. Camera cannot save Photos, cannot save screenshot, Chrome cannot download anything etc.
3. Settings app showing 0b/0b. Es explorer showing 100% filled. Storage showing 12gb used of 56gb.
4. PC can see my phone storage but cannot paste anything in it.
So it seems to me that somehow my internal storage has become RO or something. So if anyone can help me solve this problem, I will be highly grateful. TIA
Click to expand...
Click to collapse
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
SAMSUNG_MANIX_64 said:
It sounds like to me you have corrupted your internal SD card you will have to format SD card instead of normal wipe and then reflash rom via Computer
Click to expand...
Click to collapse
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Android_Attitude said:
I have formatted it already. And what's the difference between flashing a ROM via computer & via USB?
Click to expand...
Click to collapse
Wipe vs format. Wipe is just removing files from partition without destroying the partition. Format is rebuilding the partition fresh. You did not format phone because that would fix this problem. Format data partition and this will be fixed.
I also had the same issue so i flashed stock through pc. Now its fine. Only issue is on Twrp data shows encrypted, i think i have to flash dm verity zip to decrypt it

Categories

Resources