f2fs not showing up in TWRP - Moto G4 Plus Questions & Answers

Hi. I accidentaly changed file system of data partition to EXT4 and now when I try to restore my backup I get a warning that the backup was done with f2fs file system. The problem is that TWRP is not showing up the f2fs option when I go to change file system menu. Any help?
Thanks!

I think you can restore the data anyway? I backed up my ext4 data partition, formatted it as f2fs and then restored the backup and it gave me the warning but it worked anyway. If it doesn't let you proceed, reflash TWRP and try again.

hernaner28 said:
Hi. I accidentaly changed file system of data partition to EXT4 and now when I try to restore my backup I get a warning that the backup was done with f2fs file system. The problem is that TWRP is not showing up the f2fs option when I go to change file system menu. Any help?
Thanks!
Click to expand...
Click to collapse
What ROM are you trying to restore, may I ask?

jeshanp said:
I think you can restore the data anyway? I backed up my ext4 data partition, formatted it as f2fs and then restored the backup and it gave me the warning but it worked anyway. If it doesn't let you proceed, reflash TWRP and try again.
Click to expand...
Click to collapse
Yes i could restore it but it worries me that I can't keep the original stock filesystem. I never changed it and I would like to have it as it was, there must be a reason it is f2fs and not ext4.
corlatemanuel said:
What ROM are you trying to restore, may I ask?
Click to expand...
Click to collapse
It is a stock backup.
Thanks for your replies.

Related

[Q] Recovery and File System

I'm running unlocked stock 183.46.10. The file system for my data partition is F2FS, and I believe it should be EXT4. I found this out by trying to install Bliss, and not getting past the boot animation screen. The suggested "fix" is to change data file system to EXT4.
Do custom recoveries "remember" the file system that was backed up? If I back up my system and then change file systems, when I go to restore, do I need to revert back to my original file system?
[EDIT] I answered my own question - TWRP does "remember" the original file system backed up, and will issue a warning that the restored system may not boot if you are restoring using a different file system. I went ahead and restored my backed up system, but now, my data partition is using EXT4 instead of F2FS. So far, all seems to work OK.

TWRP Backup and Restore?

Does backing up my phone using TWRP without the data partition fix the phone if it somehow got the OS removed?
CodeRida said:
Does backing up my phone using TWRP without the data partition fix the phone if it somehow got the OS removed?
Click to expand...
Click to collapse
Depends what got wiped or messed up. If it was just the System partition, then yes you can backup and restore System which should solve your problem.
It certainly helped me when I was trying to install the KangVIP rom. I couldn't initially get it to boot, so I restored previously backed up stock Boot and System partitions and all was fine.

Encryption Unsuccessful - Help Needed

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:

Can't create a backup through TWRP.

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

TWRP Backup never work

Hey guys, i'm at the latest Chinese TWRP (but same issue happen with the latest Russian one).
I can nanodroid backup fine, but EVERY TIME i restore it give error 255 on data and another error on System restore.
Backup is useless.
I tried to format data in case it was a encryption issue (i even take off the screen lock before make the backup to have no encryption password), nothing work.
This is a BIG issue, anyone can help? I can't stand to format data if something go wrong, titanium backup and do a lot of stuff to re set everything as i like EVERY SINGLE TIME!
Ok i found the answer.
I did wipe data but i had to format data. Now it restored fine.
But i have another question now, since i restored data that was before i formated the data partition (so encrypted i guess) would i need to always format data as it restored the encryption or it has nothing to do?
i have same 255 problem . exactly i dont understand how you fix problem ? before restore your backup do you format data or wipe everything ?
Before restore .i format data after i wipe everything . when i try restore then i get 255 error.
i used pda twrp
i found this but not try yet
https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3973779
hulyahulya said:
i have same 255 problem . exactly i dont understand how you fix problem ? before restore your backup do you format data or wipe everything ?
Before restore .i format data after i wipe everything . when i try restore then i get 255 error.
i used pda twrp
i found this but not try yet
https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3973779
Click to expand...
Click to collapse
yes before restore i formated the data
Pupet_Master said:
yes before restore i formated the data
Click to expand...
Click to collapse
When i format data with china twrp after restore . i still get 255 error . i looked all google no solution
hulyahulya said:
When i format data with china twrp after restore . i still get 255 error . i looked all google no solution
Click to expand...
Click to collapse
The backup must be corrupted then.
I think this TWRP is not good with backups
Pupet_Master said:
The backup must be corrupted then.
I think this TWRP is not good with backups
Click to expand...
Click to collapse
im now successful restore backup but now another problem i cant access strorage. when i open any file explorer . i see everything is blank . i think after restore , twrp encrypts phone
Does anyone know a solution to this that doesn't involve formatting data?

Categories

Resources