I don't personally have much sensitive data on my device and previously owned a OnePlus 5T which I customized, unencrypted and formatted data to f2fs for extreme ease to restore backups and try different roms without the hassle of having to start from scratch every time I felt like something new. However, now that I own a 6T I haven't been able to find any guides or files on how to decrypt it and run f2fs if its even possible. The files I have received haven't been working whatsoever.
Please if you can provide any information I would like to be unencrypted and run f2fs in data partition, if this is not possible at the very least unencrypting must be, I just don't know how.
Thanks for any replies, Cheers!
Related
I recently switched from ext4 to f2fs file system on all partitions. After that I flashed omni's nightly in order to update and noticed that my /system partition was reverted to ext4 due to the reformat while flashing.
I think it would be helpful if the OmniROM zips contained some sort of check routine, so the file system type could be preserved and future updates are possible without the whole process of backing up, reformatting and restoring again.
I know the file system type depends on kernel support and also the custom recovery must be able to work with it, but I think it's the users responsibility anyway. I mean, either you know what you're doing or you leave it alone, right?
I hope this gets realised or there is some compromise. Currently I'm using latest OmniROM with Devil's recovery and kernel without dualboot.
Sent from my GT-N7100 using Tapatalk
klenamenis said:
I recently switched from ext4 to f2fs file system on all partitions. After that I flashed omni's nightly in order to update and noticed that my /system partition was reverted to ext4 due to the reformat while flashing.
I think it would be helpful if the OmniROM zips contained some sort of check routine, so the file system type could be preserved and future updates are possible without the whole process of backing up, reformatting and restoring again.
I know the file system type depends on kernel support and also the custom recovery must be able to work with it, but I think it's the users responsibility anyway. I mean, either you know what you're doing or you leave it alone, right?
I hope this gets realised or there is some compromise. Currently I'm using latest OmniROM with Devil's recovery and kernel without dualboot.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
That's a lot of work and means maintainers then have to officially support testing two different filesystem configurations.
f2fs on /system is pointless since /system is only written to when updating. Even Motorola, one of the first OEMs to actually use f2fs, only uses it for /data
For devices that don't already use it, I'm not transitioning them. It doesn't offer enough performance benefits to compensate for its piss-poor data integrity. A filesystem that can get corrupted to the point of needing a complete format just to get its fsck to run without crashing (this has already happened to me TWICE on the Moto G) is just not ready for production.
Entropy512 said:
f2fs on /system is pointless since /system is only written to when updating. Even Motorola, one of the first OEMs to actually use f2fs, only uses it for /data
For devices that don't already use it, I'm not transitioning them. It doesn't offer enough performance benefits to compensate for its piss-poor data integrity. A filesystem that can get corrupted to the point of needing a complete format just to get its fsck to run without crashing (this has already happened to me TWICE on the Moto G) is just not ready for production.
Click to expand...
Click to collapse
Well, pretty much makes sense. I just updated and let system be ext4 formatted from now on.
Sent from my GT-N7100 using Tapatalk
I was wondering that with TWRP 3.0, it is possible to convert the file system to f2fs. The performance in f2fs seems to be far greater when compared to ext4. Has anyone tried converting the x play to f2fs? If so, what all ROMs are compatible with it?
varounmirchi said:
I was wondering that with TWRP 3.0, it is possible to convert the file system to f2fs. The performance in f2fs seems to be far greater when compared to ext4. Has anyone tried converting the x play to f2fs? If so, what all ROMs are compatible with it?
Click to expand...
Click to collapse
I don't think it's possible to convert a filesystem to another, you'll probably need to format your partition in f2fs, so make a backup first.
Also, note that f2fs is designed to take advantage of nand-based storage. Have a look at http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
claudineimatos said:
I don't think it's possible to convert a filesystem to another, you'll probably need to format your partition in f2fs, so make a backup first.
Also, note that f2fs is designed to take advantage of nand-based storage. Have a look at http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
Click to expand...
Click to collapse
As far as I know, you do need to format in order to convert. I don't think any kind of conversion tool exists at this point, or may ever exist. I remember reading that there's only really a benefit to making the data partition f2fs (and perhaps the cache as well? I'm pretty tired atm so I can't confirm that.) If so, you should be able to format Data without reinstalling the ROM. Correct me if I'm mistaken!
Be aware that while f2fs is definitely faster, filesystems are relatively simple things that wind themselves into complex knots when put into action. So, despite f2fs being optimized for NAND, it hasn't been thoroughly tested the way EXT4 and others have. You could always run into some issues with data loss or other confusing bugs. Because of this, it's probably also safer to leave the System partition as EXT4, if you even can/would want to make it f2fs.
I'd also like to know if anyone has gotten f2fs working on the Moto X Play, @squid2 has f2fs driver updates listed in the changelog for his kernel, although it may also take support in the ROM to fully implement. Please let us know if you get it running! The performance is significantly faster, and it's also less wear-and-tear on the memory, if I understand correctly.
JohnHorus said:
As far as I know, you do need to format in order to convert. I don't think any kind of conversion tool exists at this point, or may ever exist. I remember reading that there's only really a benefit to making the data partition f2fs (and perhaps the cache as well? I'm pretty tired atm so I can't confirm that.) If so, you should be able to format Data without reinstalling the ROM. Correct me if I'm mistaken!
Be aware that while f2fs is definitely faster, filesystems are relatively simple things that wind themselves into complex knots when put into action. So, despite f2fs being optimized for NAND, it hasn't been thoroughly tested the way EXT4 and others have. You could always run into some issues with data loss or other confusing bugs. Because of this, it's probably also safer to leave the System partition as EXT4, if you even can/would want to make it f2fs.
I'd also like to know if anyone has gotten f2fs working on the Moto X Play, @squid2 has f2fs driver updates listed in the changelog for his kernel, although it may also take support in the ROM to fully implement. Please let us know if you get it running! The performance is significantly faster, and it's also less wear-and-tear on the memory, if I understand correctly.
Click to expand...
Click to collapse
Actually TWRP allows to convert the file system to f2fs (yes by formatting it obviously). Its usually recommended to convert the /data and the /cache partitions for optimum results. I had a Yu Yuphoria before this, and I had converted the file system to f2fs, and the performance was whooping fast.
And I did see that @squid2 has mentioned f2fs support in his kernel (i guess it comes directly from CAF) but I wanted to know which ROMs do support it? So far I don't see "f2fs supported" mentioned in any of the ROMs for our device and thats why I am still on hold.
We're already using f2fs. Even the stock ROM uses f2fs for the userdata partition.
So can we use f2fs with your Kernel and CM13? Data and cache partitions?
squid2 said:
We're already using f2fs. Even the stock ROM uses f2fs for the userdata partition.
Click to expand...
Click to collapse
Cache shows up as ext4 in TWRP, for me at least. Would that benefit from switching to f2fs?
Edit: Tried formatting the cache as f2fs, no boots.
F2fs does use a log, but still, it took up 128MB of the cache partition, seems kinda weird unless the partition actually grows to accomodate that. Maybe I did something wrong, idk.
How do I format data to Ftfs and why it's needed. If I do that and then change to a different rom (from Freedom OS), like RR, will I need to format back to ext4? Only format data or other partitions too if going to Ftfs? Very confused.
What partitions are we supposed to be backing up and restoring as we go back and forth? When does system image come into play? Why do I remain on encrypted on FOS 1.4 (Freedom Os) when I formatted data in twerp after using the no-verity.zip flash?
Why does my sdcard constantly mess up and randomally I don't see any files and even after flashing update-fix-sdcard-permissions.zip it still isn't fixed. Says the data is being used but can't see any files in the folders and end up having to do a fastboot format user data and restart completely. Very confused with the one plus coming from a nexus 6p which didn't have these problems. Please help. Any suggestions would be greatly appreciated.
Also, if I want to keep a nandroid backup of a FOS 1.4 install and a RR backup and switch between the two without any headaches as described above...is it possible and if so how? Thank you in advance.
Thought I had some decent questions that others may also be wondering about. Not one reply?
Sent from my ONEPLUS A5000 using XDA-Developers Legacy app
Why? It's been stuck at 60.5mb used and 1.2GB free according to Diskinfo forever now. Ever since I restored Madvane's unrooted B180 backup & then flashed root with Magisk.
Why does it bother me? Because I have no idea what I'm talking about and I feel like maybe Cache is storing in the Data Partition where I install my apps...? Is it?
Also with 1.2GB free in the Cache parition & 1.2GB free in the System Partition, can I just partition those and make the Data partition bigger for more available Internal Storage for apps and stuff? I mean I have external storage as default location but so many files still get installed on internal and I'd like to expand that if I could alter these partitions.
Anybody done that before or can answer my questions? Thanks! Images attached
Anyone ?
I have not read of anyone here repartitioning internal storage. I don't think it's as simple as repartitioning a PC hard drive with a GUI tool.
Do you have any tools in mind to do this repartitioning? I think it would be a highly risky operation, so be sure to make full backups and note all the original settings of existing partitions before repartitioning.
You can Google threads on people repartitioning internal storage for other phones, but note the ones who ran into problems and bricked their phones.
I wouldn't mess with the partition sizes, personally.. in theory it works, but it can trigger some arcane safeguards added by oems.
Try wiping the cache partition in twrp..? Could have gotten bugged, which would throw an error and require reformatting
Is there any indication of a problem with the cache partition?
It's biggest usage would be to download an OTA file, so unless that's happening, I would expect cache partition to remain remain mostly empty as OP reported. Probably what's in there is TWRP or stock recovery logs - you can confirm with a root file manager.
Wiping the cache partition as suggested won't harm anything and it would be interesting to know what it's reported usage is after wipe and reboot.
divineBliss said:
Is there any indication of a problem with the cache partition?
It's biggest usage would be to download an OTA file, so unless that's happening, I would expect cache partition to remain remain mostly empty as OP reported. Probably what's in there is TWRP or stock recovery logs - you can confirm with a root file manager.
Wiping the cache partition as suggested won't harm anything and it would be interesting to know what it's reported usage is after wipe and reboot.
Click to expand...
Click to collapse
I guess that was my question too. If there was any idication of an issue here. Seeing that free space I'd like to have it though.
On another note. There's no indication of anything being wrong with my Data partition but I formatted it to ext4 back when I bricked my phone in a hope it would fix something. But it seems fine. IDK what they default partition type was.
My data partition is ext4, which I believe is the stock default type.
divineBliss said:
My data partition is ext4, which I believe is the stock default type.
Click to expand...
Click to collapse
Thanks man you've been allot of help. Have you tried L-Speed? I'm thinking about trying it. I do have Kernel Auditiur installed. Don't use it.
Nothing is broke but thought about trying L-Speed.
Never heard of it. If you try it, let us know what you think.
WifiGhost said:
Thanks man you've been allot of help. Have you tried L-Speed? I'm thinking about trying it. I do have Kernel Auditiur installed. Don't use it.
Nothing is broke but thought about trying L-Speed.
Click to expand...
Click to collapse
divineBliss said:
Never heard of it. If you try it, let us know what you think.
Click to expand...
Click to collapse
I just tried it seems like a nice and easy way to tweak performance or battery.
I prefer kernel adiuator myself.. L Speed has too many generic settings which do next to nothing for actual performance, reminiscent of the many garbage tweak programs that have been out there for years. K.A. allowed for better control of the cpu governor settings, which allowed me to negate some of the impact of emui's 'battery optimization'. A little bit of entropy tweaking on top of that, and I no longer experience nearly the amount of choppiness
Hello,
6T is my first phone with A/B system.
Previous one phone was quite easy to trwp/backup/restore
Now I had some problems with that so I "touching my phone" with some distance (I made backup but I could not restore it)
But my question is:
It is possible to use A/B partition system as mulitirom (double rom)?
How to check on which partion phone working?
BR
friend
first is asked in the wrong topic.
here is roms development
Already asked multiple times
Wrong section, should be in Q and A section
The answer is no
chwiejak said:
Hello,
6T is my first phone with A/B system.
Previous one phone was quite easy to trwp/backup/restore
Now I had some problems with that so I "touching my phone" with some distance (I made backup but I could not restore it)
But my question is:
It is possible to use A/B partition system as mulitirom (double rom)?
How to check on which partion phone working?
BR
Click to expand...
Click to collapse
A/B partition system is not designed for dual boot
Both slots are intended to use the same data partition..
I don't think that is a way to "split" or change how the data partition is used
cultofluna said:
A/B partition system is not designed for dual boot
Both slots are intended to use the same data partition..
I don't think that is a way to "split" or change how the data partition is used
Click to expand...
Click to collapse
I say the same but one vast knowledge guy say is possible but need a lot of work in the long way this will be more problematic this is why no much Development here for OP6T due the PITA I wish flash whatever ROM on the go but no Back Up 120gb of stuff