[CM11/12][ROM + KERNEL][Linaro][EXT4][F2FS][UV][Intelliplug][AndMore] Khaon's kitchen 13/01


New build online

changelog:

  • fast charge: initial introduction- thanks to @faux123 for this.
  • BLX: corrected max battery extension max level
  • Conservative: decreased min_sampling_rate to 10000, sampling rate is equal to 40000 by default- request by @T3sla
Faux's fast charge sysfs interface is located here:
/sys/kernel/fast_charge
 
New build online

changelog



Kernel not working on TDB kernels where data has f2fs as FS.
However, you can link dalvik-cache to /cache partition even if it has been formated with f2fs to take advantage of improved f2fs's writting speed

Thought of a new workaround to mount enabled/disabled TDB where fs are either ext4 or f2fs. Stay tunned.



New NIGHTLY BUILD ONLINE
 
Last edited:
the kernel makes vibration don't work on omni just as official build before and I turn on ture double system,the mount of data partition seems has a little problem,wipe data could not clear the partition
 
New Kernel looks good so far, doesn't go to 2 GHz though. No idea about battery life since I greenified Moves to solve my wakelock issue. So all my stats are off. New starting point. How intelligent is the max OC/ undervolting compared to recent XperianPro kernels?
 
New Kernel looks good so far, doesn't go to 2 GHz though. No idea about battery life since I greenified Moves to solve my wakelock issue. So all my stats are off. New starting point. How intelligent is the max OC/ undervolting compared to recent XperianPro kernels?
What exactly are you saying? Your device crashers when trying to go beyond 2,1Ghz
 
It never even overclocks to 2 GHz, as the XperianPro kernel does. I do feel battery usage on this one is a bit higher than his. But yours feels snappier. Do you default undervolt? Do you take into account cpu speed bin?
 
It never even overclocks to 2 GHz, as the XperianPro kernel does. I do feel battery usage on this one is a bit higher than his. But yours feels snappier. Do you default undervolt? Do you take into account cpu speed bin?
There is no undervolt but maybe some revision would need more voltage. Here my smartphone runs at 2.1
 
Changelog
  • f2fs: synced with upstream revision
    following commits were squashed
    • f2fs: remove pointless bit testing in f2fs_delete_entry()
    • f2fs: revisit inline_data to avoid data races and potential bugs
    • f2fs: fix possible data corruption in f2fs_write_begin()
    • f2fs: use current_sit_addr to replace the open code
    • f2fs: rename f2fs_set/clear_bit to f2fs_test_and_set/clear_bit
    • f2fs: set raw_super default to NULL to avoid compile warning
    • f2fs: introduce f2fs_change_bit to simplify the change bit logic
    • f2fs: remove the redundant function cond_clear_inode_flag
    • f2fs: remove the seems unneeded argument 'type' from __get_victim
    • f2fs: avoid returning uninitialized value to userspace from f2fs_trim_fs()
    • f2fs: declare f2fs_convert_inline_dir as a static function
    • f2fs: use kmap_atomic instead of kmap
    • f2fs: reuse make_empty_dir code for inline_dentry
    • f2fs: introduce f2fs_dentry_ptr structure for code clean-up
    • f2fs: should not truncate any inline_dentry
    • f2fs: reuse core function in f2fs_readdir for inline_dentry
    • f2fs: fix counting inline_data inode numbers
    • f2fs: add stat info for inline_dentry inodes
    • f2fs: avoid deadlock on init_inode_metadata
    • f2fs: fix to wait correct block type
    • f2fs: reuse find_in_block code for find_in_inline_dir
    • f2fs: reuse room_for_filename for inline dentry operation
    • f2fs: update f2fs documentation for inline dir support
    • f2fs: enable inline dir handling
    • f2fs: add key function to handle inline dir
    • f2fs: export dir operations for inline dir
    • f2fs: add a new mount option for inline dir
    • f2fs: add infra struct and helper for inline dir
    • f2fs: avoid infinite loop at cp_error
    • f2fs: avoid build warning
    • f2fs: fix to call f2fs_unlock_op
    • f2fs: avoid to allocate when inline_data was written
    • f2fs: use highmem for directory pages
    • f2fs: fix race conditon on truncation with inline_data
    • f2fs: should truncate any allocated block for inline_data write
    • f2fs: invalidate inmemory page
    • f2fs: do not make dirty any inmemory pages
  • cpufreq:intelliactive:tweaked tunnables

There is now two builds : one for regular usuers and another one for TDB users.
SYS 2 is not mounting correctly the userdata partition. Do not install this kernel on a sys2 partition

I will add a script that format userdata partition with f2fs and enable TDB .
 
  • Like
Reactions: MSephiroth
ROM? Or kernel? By the way your kernel support f2fs /system partition now?
 
Last edited:
It supports system0 and system1 formatted either with ext4 or f2fs.

I don't recommend using f2fs tho on system partitions
 
Ok, thx u for reporting that, must have done something wrong or smthing as my current system 2 is formated with f2fs and is booting. I will try reproducing that with my lastest build and correct the issue.
 
Indeed 25/10 build doesnt boot, however, the kernel shipped with 20/10 rom doest boot. I am not home until tonight so won't be able to fix that until then


You can use the kernel on ext4 partitions
I flashed it on ext4 partition and I couldn't boot successfully ,on f2fs it's ok