Backup done on ext4 restore on f2fs? - ONE Q&A, Help & Troubleshooting

I made a twrp backup with phone/rom that used ext4 for data/cache, though rom was compatible with either ext4 or f2fs.
I've now switched my file system to f2fs with a new rom.
If restoring the old rom backup, will it work on my current f2fs?

Related

Nandroid backup HELP!! :(

I'm freaking out. I was running Leedroid and switched to Coredroid. I did a nandroid backup like I always do and now I'm trying to restore back to Leedroid and it doesn't do a full restore. Pretty much everything is gone. PLEEEEEEEEASE someone help me. I can't even download stuff from the market. I'm so frustrated!
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
ThEiiNoCeNT said:
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
will do thanks
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
diablo009 said:
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
Click to expand...
Click to collapse
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Focustom said:
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Click to expand...
Click to collapse
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
diablo009 said:
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
Click to expand...
Click to collapse
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Focustom said:
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Click to expand...
Click to collapse
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
diablo009 said:
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
Click to expand...
Click to collapse
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Focustom said:
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Click to expand...
Click to collapse
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
diablo009 said:
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
Click to expand...
Click to collapse
Hmm and it backs up/restores just fine?
Ok so I just rooted my new inspire and the boot logo is something completely different when I restored from my nandroid backup. Can these back ups become currupt? The only thing I want from this back are my texts and one of my apps everything else is fine without.
Focustom said:
Hmm and it backs up/restores just fine?
Click to expand...
Click to collapse
Yes
10 char

Clockworkmod 3.x and ext4

Hi all, I just need to check something about how cwm restores work. If I do a nandroid backup from a ROM that formats and mounts ext4, and then I do a full data system and cache wipe in cwm and then restore, i'll actually be restoring the files to ext3? As in, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system?
TIA
m
Sent from my Desire HD using XDA App
AFAICT the default is ext2. And it does not matter which of the extX filesystems is there when restoring as long as it is supported by kernel.
Thanks. So, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system - it just restores to whatever it finds?
mossywell said:
Thanks. So, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system - it just restores to whatever it finds?
Click to expand...
Click to collapse
Answered my own question: yes it does.
And it is ext3, not 2

TWRP autonomously encrypts phone after restoring from backup!

i did a restore last night so did a format /data /cache /system /dalvik /internal memory and did format data type yes command in TWRP. After doing the restore the phone on first boot said it was encrypting the phone!! i hadnt issued any such command so i dont know why it did that on its own. because of this one other nandroid backup on SD card has become corrupted and giving an error 255 when doing a restore. It is using the 'default' TWRP encryption password, whatever that is. I want to recover the corrupted nandroid backup. How can that be done?

Cannot delete large files in f2fs

Hi.
I've formatted my /data and /cache to F2FS from ext4. I'm using TWRP 3.1.0-0 and lated SultanXDA build.
After the format, I restored the nandroid backup by following this guide:
https://forums.oneplus.net/threads/f...e-data.439999/
Since the format, I cannot delete large files and I cannot create new files. Is it a permission issue or did the format break the file system?

Changing data partition before restoring

Hello guys. Is it necessary to change data file system back to f2fs before restoring?
Restoring what, a backup of stock rom by what i assume? If you went of custom, and now you're coming back to stock yes, you gotta restore data partition to f2fs before restore a backup. If not, it won't work.

Categories

Resources