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?
Related
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
Hello All
I'm aware that the virtual SDCard is on data/media/0 with assorted symlinks and mountpoints
Now, I see file changes on /data/media/0 being shown also on /sdcard and on /storage/emulated/0 etc as expected. For example, Titanium backups or Downloads,
Except for a TWRP backup I did earlier today. This is only shown in /data/media/0
An older TWRP backup inb the same parent folder is present on all mount points
I flashed TWRP this morning after a full wipe and flash of Lollipop.
The 2 TWRP backups are "before" and "after" upgrade backups.
Why is the later backup only visible on /data/media/0?
related to this
http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749
Read posts at the end too
I have my phone encrypted and my sd card is used as adopted storage. I was about to change my /cache and /data partitions from ext4 to f2fs. Now I'm unable to decrypt my sd card. I use twrp 3.0.2-0.
What I did was:
Create a full backup of all available partitions on adopted storage. (using TWRP)
Copy the backup files to my PC over MTP.
Change /cache and /data partitions' file system from ext4 to f2fs.
Restore the backup of /cache and /data (first forgetting about the rm -rf option and thus having to repeat the previous step for /cache).
Boot up and notice I can't access my adopted storage any more.
It seems that my backup of /data partition does not include the /data/misc/vold/expand_$PARTGUID.key file. The /vold folder seems to not be included in the backup, while the other folders in /data/misc are. Should I have known this?
My backup also contains partition named external_sd. It has a /misc/vold folder but it only has an empty "bench" folder in it.
It appears that I am in the same boat as well, despite having a different phone and a slightly older version of TWRP. Despite restoring from the backup, it appears that the key file isn't included. I have tried restoring the external_sd backup, but that ultimately wipes my SD card and errors out due to the file being on said SD card.
My best guess from that is, it is trying to go ahead and restore the partition layout on the card itself. As I have a Moto E 2014, I am unable to test whether or not the backup will restore the key due to extremely limited storage.
So this time I was wiser and I saved the keyfile separately. When restoring the backup I placed it back in the same folder and the sd seemed to mount happily. Later I noticed that I couldn't see my data even though my sd seemed like it was filled with my data. Then I thought that it could be related to the fact that internal storage was chosen as the primary storage. I went to move data to sd in settings and now my sd card seems to be almost empty.
E: I even restored from the sd card after placing the keyfile into the correct folder with twrp!
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?
The subject says it all...... Anyone know of any way to do this on a stock android file system?? (7.0 Nougat)
Thanks
Sandman
Partition /data/media contains all of the contents of what you think of as your internal sdcard.
To backup it use ADB Backup method.
Thanks
xXx yYy said:
Partition /data/media contains all of the contents of what you think of as your internal sdcard.
To backup it use ADB Backup method.
Click to expand...
Click to collapse
SO if I copy data/media/0 over too my external SD card it would be the same a creating a .tar file from within TWRP??
A .TAR-file is a compressed archive-file, whereas a simple copy of files / folders always is uncompressed.
Other than compression, either way would have identical backup content; that's what I was asking.