Disabling device encryption - Sony Xperia X Questions & Answers

Hello,
Is there anyway to disable forced-encryption for the /data partition? It is said encryption could decrease the system overall performance and, as consecuence, the battery life.

Related

Disable journaling??

Is there any way to disable journaling on ext4 file system?I have seen some flashable zips in galaxy ace's thread,but it doesnt seem to work.Anyone please.
You can, I haven't tried it though. Create a script with the following commands. (Got from knzo's tweaks thread)
Code:
tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/mmcblk0p2
Chuck it in the rom's init.d folder, and give appropriate permissions.
if u use the ext partition i'm assuming that u use something like a2sd or link2sd.
without journaling a bad reboot (eg. due to low battery) may results into not booting phone. A not clean partition cannot be mounted (bad sector) and device can miss some foundamental apps.
chiabre said:
if u use the ext partition i'm assuming that u use something like a2sd or link2sd.
without journaling a bad reboot (eg. due to low battery) may results into not booting phone. A not clean partition cannot be mounted (bad sector) and device can miss some foundamental apps.
Click to expand...
Click to collapse
Afaik,journaling is helpful only for hard drives and not sd cards.Also journaling cause a lot of read/write cycles which slows system slightly and also decreases sd card life.
how to give permission anyway?
So, what is the difference between ext4 without journaling and ext2. :-/
anotherloony said:
So, what is the difference between ext4 without journaling and ext2. :-/
Click to expand...
Click to collapse
Ext4 without journaling is even faster than ext2.
And you think you will have a performance boost on a low end device like Oo? :-B

F2FS on GT-I9300?

Recently found an article on XDA Portal about benchmarking F2FS vs EXT4 which forced me into conclusions that F2FS is better for DB operations and some WRITE operations, but worse for READ/SEEK/SWEEP or something else. I know there are some kernels for SGS3 which support F2FS but I did not bother to try convert my device filesystem. Does anybody tried to run GT-I9300 on F2FS? What do you think about performance, any noticeable improvements? What is point of using F2FS on read-only filesystems such as /system if one can not WRITE on them?

F2FS data partition becomes readonly (on Nexus 5)

Hi,
I am now using F2FS for the data and cache partitions of my Nexus 5.
my kernel is blu_sp★rk r56
my rom is Cataclysm
Everything is OK and my Nexus 5 is snappier!
BUT, from time to time, the /data partition becomes read only... which causes the crash of lots of applications. Most of the time, this happens during the night and I notice it on the morning. This never happened when the /data partition was ext4.
What could be the cause of this problem? How to investigate it?
Thanks in advance for your help !
Phyl

F2FS /system not working

To try to use F2FS on /system I did these steps
1. Installed F2FS compatible kernel
2. Took TWRP backup of /system
3. Formatted /system as F2FS
4. Enabled use rm -rf instead of formatting in recovery
5. Restored /system backup to the newly formatted F2FS /system
6. Edited /cust/etc/fstab.qcom to mount /system as F2FS
7. Rebooted but phone shuts down during mounting/kernel boot probably due to ramfs trying to mount as ext4 instead of F2FS
ROM is Pixel Experience and kernel is KudKernel.
I don't know how to obtain boot logs on this device since it doesn't have a UART and it crashes too early for ADB to be usable. Being able to obtain logs would be really helpful for this
I'm on AOSP extended Pie (latest) with Englezos kernel.
My cache is f2fs.
I had data as f2fs as well but kept encountering problems, most significantly, Magisk would not function normally.
On my next clean flash I'll just go stock file systems since from what I've read and experienced, the difference in performance is negligible to minimal.
not recommended use f2fs on mido. which is unstable

resize /system

Anyone knows and explain how to increase the /system partition ? By standard, poco has 2975 mb on /system , I need to increase this for flashing some gsi's that require a bigger system partition.
saintjimmy1984 said:
Anyone knows and explain how to increase the /system partition ? By standard, poco has 2975 mb on /system , I need to increase this for flashing some gsi's that require a bigger system partition.
Click to expand...
Click to collapse
Don't go on that route. It is risky.
If you are rooted, use Titanium Backup to uninstall various Google apps (which are available on the PlayStore and can be reinstalled as user apps later). The bloatware of Xiaomi apps can also be uninstalled. You will get sufficient space.

Categories

Resources