[LG L Fino ROMs, Kernels, Recoveries, & Other Devel] christpp:
update-20170703

Changelog:

Sync with LineageOS sources

Introduce and enable PegasusQ cpu governor. This governor is based on OnDemand and also takes care of cpu hot-plugging, based on scheduler's runqueue lengths. This change eliminates the need for the cpu touch boost driver for device responsiveness and I believe it makes battery usage a bit better. PowerHAL is also modified to work with this governor. People that need pure cpu power (eg. for gaming), change your power profile to performance before entering the app (Settings->Battery->Power Profile). Balanced profile(default) is tuned for lower battery usage while maintaining acceptable device responsiveness and power save profile is tuned for lowest battery usage. The governor configuration needs more work, so please let me know of any issues you might face.

Kernel: Multiple CVEs are fixed, based on work for official LineageOS devices.

System: Set external SD card I/O scheduler to ROW. This scheduler favors reads over writes, and might perform a little better with adoptable storage. Generally, adoptable storage is a mess on the Fino, due to the very limited Sd card reader of the board. So, I am looking in other ways to increase internal storage free space for apps (see below).

System: Change cache partition back to ext4. This is done in order to make it easier re-partitioning the internal storage to make room for more apps. Cache partition is not used by anything on the device(correct me if I am wrong). I managed to free around 200mb on my device. I have written a small guide on how to re-partition your internal storage here . [MENTION=5364110]carmeloamg[/MENTION] thanks for sharing your work on this, both on cm13 and Los14.1 ports!

There are some more ways to free up some space on the internal storage of device. One is changing the art vm behavior so it only interprets new apps, without making a cached bytecode version of them. Actually, this is experimentally enabled in this update. My /data/dalvik-cache folder has stayed at 272 MB size after installing some apps. This change might cause the device to feel a little slower, I am waiting for your feedback.

Also, internal emulated storage (music, videos, photos etc) can be migrated to adoptable storage. This can be done by going to Settings->Storage->Click on the Adopted Card->Click on the top right menu button->Migrate Data.

I am looking for a way to move the dalvik-cache folder to the external card, so some more space is freed. There is also the possibility of removing some system apps from the ROM and creating a "slim" ROM, to minimize the system partition and give the extra space to userdata partition.

Lastly, the issue distorted sound while recording video turns out very difficult to solve. I have decided to reduce the microphone volume until I manage to change the audio subsystem code (due to my fault this is not included in this update, will be there on the next version).

Links are on the first post. Remember to change the cache filesystem to ext4 before rebooting in the freshly installed rom! (TWRP->Wipe->Advanced Wipe->Select cache->Change/Repair Partition->Change->ext4)