[KERNEL][Z1] [5.0-5.1][F2FS]Advanced-Kernel v19.0[03/26/2017]

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei

hi, can you add double tap 2 wake with no wakelock problem ? Thank you... your kernel seems good

---------- Post added at 10:11 PM ---------- Previous post was at 10:09 PM ----------



another user has created a kernel with dt2w function with no problem for battery.. without wakelock bug[/QUOTE]
I tried to apply code-red's dt2w patch my 5.1.1 kernel, but it didn't work:confused:.
 
  • Like
Reactions: hxq88

rebiiejr

Member
Nov 22, 2014
25
1
33
Jakarta
light notifications is working fine. it's going slowly on and slowly off(base on AndroPlusKernel source codes).
I choose MultiRom TWRP 2.8.4 because it's working with MultiRom. If other developer release MultiRom TWRP 2.8.7,
i will update asap.
in v.13 light notification back to normal ? i want like in v.12 hehe (sorry my bad english)
 

[Fenix]

Senior Member
Jan 6, 2011
1,100
830
143
Italy
www.youtube.com
Any suggestion about Best governor for CPU and gpu for performance and battery saving?
  • CPU
    Max Clock: 1728 MzH
    Min Clock: 300 MHz
    Governor: ondemandplus
  • CPU Hotplug
    Hotplug Driver: Mako Hotplug
  • Thermal
    Thermal Managment: Intellithermal
    Frequency Throttle Temp: 65 Celcius
    Core Throttle Temp: 60 Celcius
    (VDD can't be disabled for now)
  • GPU
    GPU Governor: Simple_Ondemand
    GPU Clock Control: 450 Mhz
    Adreno Idler: On
  • IO Scheduler
    IO Scheduler: row (for both)
    Readahead Size: 128kB / 512kB (eMMC / SDCard)
  • Miscellanous Tweaks
    Power Suspend Modes: Hybrid
    Dynamic File Sync: On
    TCP Congestion Control: cubic
    Wakelock: all On
 
Last edited:
  • Like
Reactions: sharonliu

olokos

Recognized Developer
Oct 16, 2011
2,939
2,477
0
Warsaw
@sharonliu +1 for adding custom bootimage, I can help with that if you'd have any issues, shoot me a pm!
I'd also appreciate if you'd multirom TWRP changes.
Oh, F2FS support would also be bonkers. :)

while at TWRP, please don't forget adding elf ramdisk extract https://twrp.me/devices/sonyxperiaz2.html you can find some info about it in z2 twrp notes

BTW. Your kernel is awesome, the only one for .368 and I think one of the best for Z1 overall, those things above will make it perfect for me.
 
Last edited:
  • Like
Reactions: sharonliu

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei
@sharonliu

did u add a logo to this kernel? it's better to have a custom logo than SONY
I have already had a custom logo with traditional chinese twrp in my country.
Maybe i will add a custom logo in the next version.
I have question. How can i turn off vdd_ristriction in thermal
Force turn on VDD restrictions in thermal by default. Disable VDD restrictions
may cause instability. If valtage is too low, cpu die. we have strong control
for cpu freq.
@sharonliu can u add faux sound to your kernel ..??wcd9320 seems quite low as compared to faux sound...
No. Faux's Sound Control didn't fully work and seems to be a buggy after
updating to Android Lollipop. I changed Sound Control to cocafe's taiko control
v3, it fully work now. Headset analog/digital gain,Speaker digital gain are
works fine for z1/z1 compact.
in v.13 light notification back to normal ? i want like in v.12 hehe (sorry my bad english)
I’ll think it over in the next version.
 

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei
@sharonliu +1 for adding custom bootimage, I can help with that if you'd have any issues, shoot me a pm!
I'd also appreciate if you'd multirom TWRP changes.
Oh, F2FS support would also be bonkers. :)

while at TWRP, please don't forget adding elf ramdisk extract https://twrp.me/devices/sonyxperiaz2.html you can find some info about it in z2 twrp notes

BTW. Your kernel is awesome, the only one for .368 and I think one of the best for Z1 overall, those things above will make it perfect for me.
Thank you for recognizing my work. I choose MultiRom TWRP 2.8.4 and it's working with MultiRom in 5.0.2.
v13 with MultiRom TWRP 2.8.4 as primary rom is fine but when reboot into Second ROM, doesn't boot, what
should I do? It seems like the Multirom support is dropped from the initial porter, it's on a outdated
version. Maybe you and other developer can continue this project.
 
  • Like
Reactions: olokos

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei
to be included in v14.0 changeLog:

Support F2FS filesystem(/data and /cache supported)! There is no more: e.g.,wi-fi doesn't turn on,
brightness is stuck pretty bright, fm radio not working.:D

It will be released this Thursday

changeLog:
  • Updated kernel to 3.4.14
  • Support F2FS filesystem(from linux kernel 4.2)
  • Updated ZRAM (from Linaro Stable Kernel 3.10)
  • ZRAM: enable lz4 algorithm backend
  • Built with UBER toolchains 4.9.4 20151001
  • Add custom logo
  • leds-qpnp:Blink interpolation; fix qpnp-pwm driver
  • notifier:it's going slowly on and slowly off
  • Re-updated bfq I/O gov to v7r8
  • tcp_output: set initial TCP window size to 64K (speed improvement)
  • PM: Enable asynchronous noirq resume threads to save the resuming time
f2fs.png
 

SuperLamic

Senior Member
Oct 24, 2011
937
1,080
0
Prague
Support F2FS filesystem(/data and /cache supported)! There is no more: e.g.,wi-fi doesn't turn on,
brightness is stuck pretty bright, fm radio not working.:D

It will be released this Thursday

changeLog:
  • Updated kernel to 3.4.14
  • Support F2FS filesystem(from linux kernel 4.2)
  • Updated ZRAM (from Linaro Stable Kernel 3.10)
  • ZRAM: enable lz4 algorithm backend
  • Built with UBER toolchains 4.9.4 20151001
  • Add custom logo
  • leds-qpnp:Blink interpolation; fix qpnp-pwm driver
  • notifier:it's going slowly on and slowly off
  • Re-updated bfq I/O gov to v7r8
  • tcp_output: set initial TCP window size to 64K (speed improvement)
  • PM: Enable asynchronous noirq resume threads to save the resuming time
View attachment 3496386
Hi,

is there any reason why not to build the kernel with UBERTC 5.2 toolchain? Is it causing a bootloop? because I think there are some improvements. ( https://bitbucket.org/UBERTC/arm-eabi-5.2 )

Anyway thank you for your work, I really appreciate it.
 

olokos

Recognized Developer
Oct 16, 2011
2,939
2,477
0
Warsaw
Thank you for recognizing my work. I choose MultiRom TWRP 2.8.4 and it's working with MultiRom in 5.0.2.
v13 with MultiRom TWRP 2.8.4 as primary rom is fine but when reboot into Second ROM, doesn't boot, what
should I do? It seems like the Multirom support is dropped from the initial porter, it's on a outdated
version. Maybe you and other developer can continue this project.
You're very welcome. Thanks for adding F2FS! Hopefully it'll work with stock rom without changing much. :)
You indeed chose the latest TWRP, but it's missing MultiROM button under advanced so I don't really know how did you managed to install Second rom. I've tried installing MultiROM twrp with fastboot flash recovery twrp.img but it still remains the one you include with your kernel for whatever reason and that's why I'm nagging you to include it in your kernel, since it's not that much to add MultiROM twrp changes to your TWRP build. I'd try to get it up and running but since I can't even flash second rom, not to mention that Multirom zip fails to flash because your kernel doesn't include boot image extraction so even if I have a second rom I can't really boot it as I'm not even getting to multirom screen.

Thank you for what you do! :)
 

lavenbut

Senior Member
Feb 12, 2015
112
32
0
Support F2FS filesystem(/data and /cache supported)! There is no more: e.g.,wi-fi doesn't turn on,
brightness is stuck pretty bright, fm radio not working.:D

It will be released this Thursday

changeLog:
  • Updated kernel to 3.4.14
  • Support F2FS filesystem(from linux kernel 4.2)
  • Updated ZRAM (from Linaro Stable Kernel 3.10)
  • ZRAM: enable lz4 algorithm backend
  • Built with UBER toolchains 4.9.4 20151001
  • Add custom logo
  • leds-qpnp:Blink interpolation; fix qpnp-pwm driver
  • notifier:it's going slowly on and slowly off
  • Re-updated bfq I/O gov to v7r8
  • tcp_output: set initial TCP window size to 64K (speed improvement)
  • PM: Enable asynchronous noirq resume threads to save the resuming time
View attachment 3496386
What we need, all in here, thank for your work
 

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei
You're very welcome. Thanks for adding F2FS! Hopefully it'll work with stock rom without changing much. :)
You indeed chose the latest TWRP, but it's missing MultiROM button under advanced so I don't really know how did you managed to install Second rom. I've tried installing MultiROM twrp with fastboot flash recovery twrp.img but it still remains the one you include with your kernel for whatever reason and that's why I'm nagging you to include it in your kernel, since it's not that much to add MultiROM twrp changes to your TWRP build. I'd try to get it up and running but since I can't even flash second rom, not to mention that Multirom zip fails to flash because your kernel doesn't include boot image extraction so even if I have a second rom I can't really boot it as I'm not even getting to multirom screen.

Thank you for what you do! :)
I didn't push here v13 with MultiRom TWRP 2.8.4. I tried to modify from venkat kamesh's 5.1 ramdisk,
but when reboot into Second ROM, cause of the bootloop. RockZ1L v4.0 Kernel has the same issue reboot into
Second ROM, cause of the bootloop..
 
Last edited:

sharonliu

Senior Member
Dec 15, 2012
188
680
0
Taipei
v14.0 build is up!:D
Support F2FS filesystem(/data and /cache supported)! There is no more: e.g.,wi-fi doesn't turn on,
brightness is stuck pretty bright, fm radio not working.

This tutorial will show you how to Change File System. Thanks mickybart for the tutorial. It was very helpful.
http://forum.xda-developers.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

WARNING: Changing Partition type of /data WILL wipe ALL data, including INTERNAL STORAGE!

HOW-TO: EXT4 to F2FS

Convert /data to F2FS :
  • Reboot into TWRP
  • Backup the ROM to External SDCard
  • Go to Wipe/Advanced Wipe
  • Select Data
  • Select "Repair or Change File System"
  • Select "Change File System"
  • Select "F2FS" (Swipe to change will format the filesystem,including INTERNAL STORAGE!)

Restore /data :
  • Go to Settings
  • Select "Use rm -rf instead of formatting"
  • Go to Restore
  • Select your backup and check ONLY "Data"
  • Swipe to restore
  • When the restore is done, go to Settings and uncheck "Use rm -rf instead of formatting"

Convert /cache to F2FS :
  • Go to Wipe/Advanced Wipe
  • Select Cache
  • Select "Repair or Change File System"
  • Select "Change File System"
  • Select "F2FS" (Swipe to change will format the filesystem.)

HOW-TO: F2FS to EXT4

Convert /data to EXT4 :
  • Reboot into TWRP
  • Backup the ROM to External SDCard
  • Go to Wipe/Advanced Wipe
  • Select Data
  • Select "Repair or Change File System"
  • Select "Change File System"
  • Select "EXT4" (Swipe to change will format the filesystem,including INTERNAL STORAGE!)

Restore /data :
  • Go to Settings
  • Select "Use rm -rf instead of formatting"
  • Go to Restore
  • Select your backup and check ONLY "Data"
  • Swipe to restore
  • When the restore is done, go to Settings and uncheck "Use rm -rf instead of formatting"

Convert /cache to EXT4 :
  • Go to Wipe/Advanced Wipe
  • Select Cache
  • Select "Repair or Change File System"
  • Select "Change File System"
  • Select "EXT4" (Swipe to change will format the filesystem.)