So i have tried to downgrade to android 7.0 from oreo as i have replaced the screen to an unoriginal one and the touchscreen didn't work (j730f/ds.). I flashed twrp through odin and it booted up but i couldn't use touchscreen as well. so then i found older version of twrp (3.2.1-0) and it worked but it claims it is unable to mount storage. changing filesystem works only for cache and system (i haven't tried changing it for whole storage option or internal memory as i don't want to format the efs folder) and my question is what should i do now? flashing anyting using twrp doesn't work and i'm not very keen on loosing my imei.
McXred said:
So i have tried to downgrade to android 7.0 from oreo as i have replaced the screen to an unoriginal one and the touchscreen didn't work (j730f/ds.). I flashed twrp through odin and it booted up but i couldn't use touchscreen as well. so then i found older version of twrp (3.2.1-0) and it worked but it claims it is unable to mount storage. changing filesystem works only for cache and system (i haven't tried changing it for whole storage option or internal memory as i don't want to format the efs folder) and my question is what should i do now? flashing anyting using twrp doesn't work and i'm not very keen on loosing my imei.
Click to expand...
Click to collapse
The system partition and EFS partition are separate partitions to /data, so no need at all to touch those.
Format the data partition and it will mount.
The Format data option can be found under the wipe settings.
ashyx said:
The system partition and EFS partition are separate partitions to /data, so no need at all to touch those.
Format the data partition and it will mount.
The Format data option can be found under the wipe settings.
Click to expand...
Click to collapse
Worked for me. Thanks!
Related
Hey Guys,
After doing some reading about Folder & partition structure of Android, I am totally confused & in worse condition.
My question is simple;
Flashing a new ROM does not reset/delete the folder in the internal SD card. Since I have capacity problem, I would like to delete those folders and make fresh start. How can I do this? Is is safe to delete /android/data folder?
Under setting/storage, the sum of all folders is around 5.2 GB, while it shows the total as 8.8 GB. Where is the rest of my space?
Best Regards
I have a GT-I9500, running Arrow ROM 11.0 (android 4.3)
Philz recovery has an option to format the device internal memory.
Sent from my GT-I9505 using XDA Premium 4 mobile app
9505 has 9.13gb
in recovery before flashing a rom you have to wipe data, system, cache, dalvkit cache, etc
i wist phyl recovery sayd wike internal memory, but there is no option like that, only wipe sdcard1 (external)
Okay this is what you need to do.
First download official firmware through SamMobile, then flash the .tar file through Odin, the boot into recovery, factory reset, the flash the same .tar file again. This will wipe out ALL your data on internal storage and give you a true fresh start. Of course after that if you're not happy you can always flash a custom recovery and flash a ROM.
Thanks for the replies. Going back to original firmware, seems like a tough route.
When I connect my device to windows, it simply allows me to format the SD card. What would happen IF I just do that? Would I brick the phone or loose an irrecoverable important data? (I don't care, If some bloatware does not work or loose its data)
xhuttra said:
Thanks for the replies. Going back to original firmware, seems like a tough route.
When I connect my device to windows, it simply allows me to format the SD card. What would happen IF I just do that? Would I brick the phone or loose an irrecoverable important data? (I don't care, If some bloatware does not work or loose its data)
Click to expand...
Click to collapse
I'm pretty sure if you format the internal card from a Terminal prompt, you will brick your phone.
we already told you you have to WIPE though recovery
maurocds said:
we already told you you have to WIPE though recovery
Click to expand...
Click to collapse
When wiping through recovery will that wipe/erase my efs folder?
That contance my imei and other...
marcel112 said:
When wiping through recovery will that wipe/erase my efs folder?
That contance my imei and other...
Click to expand...
Click to collapse
No. wiping through philz does not erase your efs directory.
However, you can always backup your efs to be totally safe
I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
The Fix.
kcohen67 said:
I've been using TWRP for ....ever on my N900T (Note 3). Today I thought to format System/Data/cached to f2fs. TWRP 2.8.7.0 would only format system and cache, and only offered "Error =1" when trying to format data. By dropping down to 2.8.1.0 I was able to format data. All seemed well until I found the system and cache reverted back to ext4...probably after restoring the rom. I DID check the -rf box in settings before restoring the backup, but ...oh well.
After updating TWRP to 2.8.7.0 I went to backup the rom again, but data was not accessible. I tried repairing the file, but that was in vain also. I went BACK down to 2.8.1.0 and formatted the data back to ext4, but left system and cache f2fs. The phone seem to work fine like this, but I would REALLY like to format the data f2fs. Is there anyway of doing this with success?
Click to expand...
Click to collapse
Okay...I found that by downgrading TWRP to 2.8.1.0 I was able to format all to f2fs, restore the backup, and create a new backup. So...I'm going to stay on 2.8.1.0 until someone can assure me 2.8.7.0 or another version can perform the format and maintain the stability..
Hi.
I Have a problem on my SM-G900M (Klte)
After Interrupt(I pull off battery of a freeze while wiping System Partition) a Wipe in System Partition,
I Tried to flash Stock Firmware, Not Starting up, Not Booting
I Try to install a Custom ROM, Wiping not Working (TWRP 3.0.2-2): Could not mound /Data and unable to find crypto Footer.
"Failed to mount "/Cache /System /Data"
"Failed to Wipe Dalvik, System/Data, Cache, Internal"
How i Solve this problem?
Thank you.
EDIT:
I FOUND SOLUTION
I go to Wipe Section in TWRP, Repair or Change partition
System and Data, Changed Ext4 to EXTFAT
And changed back to Ext4
Partition Working normal.
killerBRs said:
Hi.
EDIT:
I FOUND SOLUTION
I go to Wipe Section in TWRP, Repair or Change partition
System and Data, Changed Ext4 to EXTFAT
And changed back to Ext4
Partition Working normal.
Click to expand...
Click to collapse
Nice to notice you find a solution to your pb.
And nice to see you explaining how you fixed it.
Best regards
Franck
Thanks helped solve a flashing problem
This was just what i needed as i had forgotten my partitions had been encrypted.
Great clear explanation worked great for me :good::laugh:
killerBRs said:
EDIT:
I FOUND SOLUTION
I go to Wipe Section in TWRP, Repair or Change partition
System and Data, Changed Ext4 to EXTFAT
And changed back to Ext4
Partition Working normal.
Click to expand...
Click to collapse
I love you
[HOWTO] [GUIDE] Repairing corrupted /data partition
[HOWTO] [GUIDE] Repairing corrupted /data partition
I had an experience the other night that I found rather frightening and enlightening, and felt the need to contribute my learning. I attempted to install a new ROM on my Nexus 5 and encountered a freeze during the /system write process. I waited...
forum.xda-developers.com
Hey guys, I was trying to flash a ROM. TWRP was unable to wipe data. It showed error "unable to mount data". So I reformatted the data partition to exFat from ext4. After that, I was able to wipe data.
Then I flashed Carbon ROM. Everything went fine but when I booted I got Encryption unsuccessful message with an option to reset the phone. I clicked reset phone, then I was booted to recovery. I tried wiping data but it doesn't work. It gives errors which you can see in the images attached.
So, can the problem be fixed using the MiFlash tool and flashing stock rom? Or do I need to manually format data partition first?
Thanks!
Nevermind, I was able to boot into twrp and then I reformatted the data partition to ext4. Then I reflashed this rom and it seems to boot fine now.
GizmoFreak said:
Nevermind, I was able to boot into twrp and then I reformatted the data partition to ext4. Then I reflashed this rom and it seems to boot fine now.
Click to expand...
Click to collapse
How did you reformatted the data partition. ? Would you please share the process .
Soham Biswas said:
How did you reformatted the data partition. ? Would you please share the process .
Click to expand...
Click to collapse
Sure, in TWRP go to Wipe > advanced wipe > select data > change or repair file system > change file system > select your preferred format.
GizmoFreak said:
Nevermind, I was able to boot into twrp and then I reformatted the data partition to ext4. Then I reflashed this rom and it seems to boot fine now.
Click to expand...
Click to collapse
Thank you so much. Was really frustrated with this encryption deal. Worked like a charm. Cheers :good:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
cyborgium said:
I tried creating a system backup through TWRP just now for the first time ever. Throughout the process, it gave me multiple messages saying "unable to mount data" and the same for some other folders, and when the backup supposedly finished, it just said failed.
Is there anything I can try without actually wiping either of the partitions? This obviously because I'm trying to create a backup so I can wipe afterwards.
Click to expand...
Click to collapse
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
spawnlives said:
In twrp main menu screen select ' Mount ' menu and make sure mount data is ticked then go back and try backing up again.
Click to expand...
Click to collapse
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
cyborgium said:
Thanks for your reply, it doesn't actually let me tick that box. Nothing happens when I tick it. It also says that the data partition is 0mb. Any idea what that might mean?
Click to expand...
Click to collapse
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
spawnlives said:
Which version of twrp are you using
Latest is 3.2.3.0 which should fix the data issue ( it"s a known issue).
Click to expand...
Click to collapse
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
cyborgium said:
That's the TWRP version that I've got installed.
I just reinstalled both stock firmware and reflashed TWRP but the exact same issue persists. At first I was able to mount data though, I could flash zips such as Magisk etc. But after having set everything up again on my phone, I couldn't mount data anymore.
Click to expand...
Click to collapse
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
spawnlives said:
Not sure on your steps to install twrp
Have you tried going into twrp in wipe menu and format data
Click to expand...
Click to collapse
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
spawnlives said:
Sounds like your device is still encrypted
Did you flash the no Verity encrypt zip file
Also I said to format data not wipe.
In the mount menu these are the options I have enabled.
Click to expand...
Click to collapse
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
cyborgium said:
You're right, I formatted data, not wipe.
I did flash the no verity zip, does the order in which I flash Magisk, no-verity and RMM state unlock matter?
Click to expand...
Click to collapse
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
spawnlives said:
The instructions I followed to install twrp
Flash twrp (which you have done)
Format data
When finished reboot back into twrp(use twrp reboot menu option)
Flash no-verity zip via twrp ( have to make sure you have it on internal storage or SD card)
Then flash everything else
Not sure if you need RMM state unlock if your bootloader(OEM) is already unlocked in developer options though.
Click to expand...
Click to collapse
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
cyborgium said:
I've just done everything you stated above, still the same issue, can't mount /data.
Really don't understand what it is that im doing wrong or if I'm even doing anything wrong..
Thanks for your help anyway though, appreciate it.
Click to expand...
Click to collapse
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
spawnlives said:
Just as matter of curiosity I use FX file explorer (root) in the menu filesystem it should tell you what format your data partition is mine or ext4. I have read that some people through twrp have changed it to something like ext3 and then back to ext4
Also this is the thread I used to install my twrp
https://forum.xda-developers.com/ga...pment/recovery-twrp-galaxy-s8-exynos-t3595102
This thread may also help you out
https://forum.xda-developers.com/ga...ment/fix-data-mount-fix-s8-twrp-oreo-t3769254
Click to expand...
Click to collapse
I think that second thread you linked may have done the trick.
At first it didn't seem to help, but when I tried it again after reflashing everything, I am now able to mount /data.
I'm still in the dark as to why this happened and hasn't happened to anyone else other than the person who created that file, but either way, thank you very much for your help.
cyborgium said:
Maybe I wasn't very clear.
I flash the stock firmware, set that up to enable OEM unlock. Then flash TWRP, wipe /data, flash magisk and other required zips (at this point, data is mounted). I then set that all up however I want, install apps etc.
If I want to create a backup after all that, it doesn't work cause of the unable to mount /data and /storage.
Click to expand...
Click to collapse
Try the modded twrp from nx thread