Finally.....:good:
if possible please add voltage control & OC features :fingers-crossed:
Last edited:
Okay, I take it as a "yes" as request for CarbonROM custom kernel refresh (due to interest),
updating the ramdisk probably will fix the not booting issue ...
What specific lineageOS build do you want a custom kernel for ? Berni's ? Official ?
If he did make one for .54 it would have already been here. Patience.
- SunKernel Logos I.1_2_5 base changes:
- uses updated kernel base (thanks to @GreyLeshy )
- built with 4.9 Linaro Toolchain (newer GCC versions are still tricky to get working with Nougat kernel base and Sony's original kernel sauce)
- enhanced compiler flags [stability & speed]
- using Adreno-Idler to cut down GPU power consumption
- disabled MirrorLink, disabled MobiCore drivers
- lots of hardening (improved security): mm-subsystem, slub, ... more to come
- security: improve security against use-after-free (via slub)
- security, data/system integrity: slub: disable slub_merging to increase stability and avoid memory/data corruption in case of faulty drivers, etc.
- fixed & improved lz4 driver
- mm (memory) subsystem improvements
- enhanced camera driver (speed & reliability)
- disabled KSM (better battery)
- most external drivers are rebuilt externally as modules (compatibility & stability & reliability)
- make a backup of your system (drivers on /system/modules !) before flashing
- readhead enhancements
- writeback enhancements
- swap driver fixes & enhancements
- OOM driver fixes & enhancments
- i2c fixes & enhancements
- irq fixes & improvements
- spi driver fixes & improvements
- kthread fixes & enhancements
- bcmdhd (wlan driver): security updates & improvements
- BCL driver: fixes & improvements
- net/bluetooth: fixes & improvements
- load average (battery & system load): use interruptible wait in various instances
- exfat: use an opensource in-built kernel driver (better performance, reliability & stability with custom kernel)
- touchpad driver fixes & improvements
- fingerprint driver fixes & improvements
- several others
- .
- changes up to SunKernel Logos I.1_5_2 :
- {fixme}
- take a look at github for now
Heeyy, you are backugh - let's hope this one is working fine
...
Kernel for 32.4.A.1.54 (Android Nougat 7.1.1) ROMs
Sauce:
https://github.com/zachariasmaladro...i_r2/commits/32.4.A.1.54_Sun-Kernel_Logos_I.1
Battery life under investigation to match stock kernel,
There should be a detailed instruction on how to build a binary matching kernel to Sony's stock kernel so that we get at least similar battery runtime & smoothness
and get to know how to achieve a most stable kernel, also that's usually the assumed way to comply with GPL
works fine with M-ROM and similar ROMs on Z5 (no UI crashes)
LOL - zip size is just barely below 20 MB
NOT boot-tested on Z5 compact ... yet
Features
Heeyy, you are backnice!! Im gonna test it today :d
Btw... Have we tried actually *disabling* swap..? It uses up some CPU cycles and with moderate use ZRAM = 0 has given me good results in the past day with regards to smoothness and consistent performance.
@zacharias.maladroit this is what I was talking about in my previous post - Messenger and Chrome are running in the background, as are Magisk, KA and some more - still I would consider this a light/moderate use and would recommend just for testing purposes
Afaik, with good VM and LMK settings we can achieve greater efficiency without ZRAM, KSM might be needed tho.
What has a higher CPU cost out of those two, afaik its ZRAM..?![]()
Yeah ! That's indeed great to see you back :good:
Why disabling MirrorLink and MobiCore drivers ? Is there any way to enable them, on demand, for test purpose ? According to my understanding, MobiCore is required for MirrorLink, and I'm desperately trying to take advantage of this feature in my vehicule.
Cheers mate and thank you ! Will definitively upgrade my dear Z5C still running on 6.0.1![]()
- SunKernel Logos I.1_2_5 base changes:
- uses updated kernel base (thanks to @GreyLeshy )
- built with 4.9 Linaro Toolchain (newer GCC versions are still tricky to get working with Nougat kernel base and Sony's original kernel sauce)
- enhanced compiler flags [stability & speed]
- using Adreno-Idler to cut down GPU power consumption
disabled MirrorLink, disabled MobiCore drivers- lots of hardening (improved security): mm-subsystem, slub, ... more to come
- security: improve security against use-after-free (via slub)
- security, data/system integrity: slub: disable slub_merging to increase stability and avoid memory/data corruption in case of faulty drivers, etc.
- fixed & improved lz4 driver
- mm (memory) subsystem improvements
- enhanced camera driver (speed & reliability)
- disabled KSM (better battery)
- most external drivers are rebuilt externally as modules (compatibility & stability & reliability)
- make a backup of your system (drivers on /system/modules !) before flashing
- readhead enhancements
- writeback enhancements
- swap driver fixes & enhancements
- OOM driver fixes & enhancments
- i2c fixes & enhancements
- irq fixes & improvements
- spi driver fixes & improvements
- kthread fixes & enhancements
- bcmdhd (wlan driver): security updates & improvements
- BCL driver: fixes & improvements
- net/bluetooth: fixes & improvements
- load average (battery & system load): use interruptible wait in various instances
- exfat: use an opensource in-built kernel driver (better performance, reliability & stability with custom kernel)
- touchpad driver fixes & improvements
- fingerprint driver fixes & improvements
- several others
- .
- changes up to SunKernel Logos I.1_5_2 :
- {fixme}
- take a look at github for now
- .
- changes up to SunKernel Logos I.1_5_3 :
- re-add MobiCore & MirrorLink upon demand
- [sumire only] (potentially) fix higher battery drain/consumption, boot failure, stability issues
I've always been after the best optimisation, good enough is only acceptable if I hit a huge read blockyep, been using it on LineageOS, etc. - it's default there,
I prefer having a swap though - running without swap has issues sometimes - VM will work much differently without it and there's lag & increased latency problems when LMK, OOM, VM, etc. isn't patched up & set up properly
Also: zram is Sony's default - so I'm going with that - not sure if any of the apps not depend on that underneath that (improbable but who knows)
KSM is really a battery drainer and it only saves a few pages, perhaps we could try something else ... let's see if I get something else working, in the past there were issues but perhaps now it'll work (needs investigation though).
How did you set that all up (what apps ? what scripts ?),
can you share your settings ?
Interesting suggestion, saving CPU cycles from overhead is certainly great with the (somewhat) inefficient SoC (Snapdragon 810) but with the current ROM I'm on M-ROM it's not that bad actually
Yeah ! That's indeed great to see you back :good:
Why disabling MirrorLink and MobiCore drivers ? Is there any way to enable them, on demand, for test purpose ? According to my understanding, MobiCore is required for MirrorLink, and I'm desperately trying to take advantage of this feature in my vehicule.
Cheers mate and thank you ! Will definitively upgrade my dear Z5C still running on 6.0.1![]()
How long does it take to fully shut down with Magisk with this kernel?
"ages" ?
afaik that's a known issue that the phone has a hard time shutting down with Magisk
Yeah, you have to wait a big amount of time sometimes. And you cant tell when it happens.I know, but with this kernel, I couldn't get it to shut down at all. (Had to use the force shutdown combo every time.)
Yeah, you have to wait a big amount of time sometimes. And you cant tell when it happens.
Some app hasnt allowed it to go to sleep - try leaving it on the homescreen before putting it to sleep on ur desk.The phone literally had like 6 hours to shut off!(Noticed I couldn't turn it on when I woke up.)
model = device single sim
model_dual = device dual SIM / dsds SIM
dsds = dual SIM dual standby
1)
Choose your device from one of the 4 folders
Z5 + Z5 Dual: https://drive.google.com/open?id=0BykGGWB96CBQQy05VURLbzJTZlU
Z5 Compact: https://drive.google.com/open?id=0BykGGWB96CBQVE0tb2dieTZMXzg
Z5 Prem + Z5 Prem Dual: https://drive.google.com/open?id=0BykGGWB96CBQaVZTdnF5QnVTMU0
Z4/Z3+ + Z4/Z3+ Dual: https://drive.google.com/open?id=0BykGGWB96CBQa2xBdHR5TzlrNUE
2)
At the upper right, click on "List View"
3)
At the top of the table, there are 3 labels (name, owner, [last] modified, File size)
click on "Last modified", the newest Kernels should be shown either at the top, or at the bottom
4)
Download the latest Kernel
5)
???
6)
Profit !
fastboot boot boot.img
fastboot boot boot.img
Features said:
- @AndroPlus for build-scripts, kernel patches
- @Tommy-Geenexus for kernel patches, fixes
- pstore
- LPM (low power mode, battery efficiency)
- fix high load average (lower battery consumption)
- microSD, internal SD reliability improvements
- cpuidle improvements (battery efficiency)
- fix page thrashing in case of low memory situation (when you disable zram)
- vmalloc improvements (less memory fragmentation, better reliability of camera, wifi, etc. drivers with long runtime)
- FauxSound
- KCAL
- WLAN: disable memdesc and ramdumps (thanks to @Tommy-Geenexus )
- notification LED changes to green+blue (cyan), when battery is really full (thanks to @Tommy-Geenexus )
- Powersuspend, QuickWakeup, Power Efficient Workqueues,
- improved vibrator, faster/more reliable interactivity
- bluetooth hidp, fix disconnect on idle timeout
- a few general stability fixes & reliability improvements
- added wakelock switches (only use, if you observe high drain with specific functions; might cause instabilities or higher battery drain !)
- big.LITTLE optimization flags; aggressive compiler optimization flags
- disabled KSM, it's a battery drainer and magically gets enabled by Sony's ROM so remove it
- added BFQ i/o scheduler (now YOU show me where it's smoother !
)
- improved noop i/o scheduler - now it's more bare, previously it was similar to simple i/o scheduler - now it should be optimum for bare metal SSD/microSD access
- GPU default set to 180 MHz
- cpu governors: added ZZMoove, elementalX
- added vibrator intensity switch support
- added a bunch touchpad (screen) and fingerprint scanner fixes & improvements
support for Sumire DSDS (dual sim) (testing, used single SIM ramdisk)- kudos to all devs working on android, whether at Linux Foundation (Linux Kernel), Android (Google), Codeaurora, XDA or elsewhere - YOU ROCK !
- this one looks to be more battery friendly
- WIP branch
Changelog said:185_I.1_2_4 has an totally new kernel base.
This is an entirely new base an compatible to 32.1.A.1.185+ only,
lots of experience with AOSP and CM-based kernels meanwhile has been collected and was applied to the creation of this release.
For this kernel the mottos are:
- less is more
- never change a running system
- fixing bugs causes new bugs
So you'll get an idea where the direction is going ...
Changes: said:- new upstream (Sony) kernel base, should be more reliable and less error-prone
- slim Kernel base (thanks to @AndroPlus for letting us know that it's possible)
- frandom + frandom fixes + DoS TCP protection
- graphics page allocator (kgsl: page cache allocator) for more smoother UI experience and more FPS
- CAF merge of latest updates (beginning of August)
- tons of sound improvements (make sure to enable Headset High Performance mode in Kernel Adiutor Mod)
- LPM (low power mode improvements),
- nvidia power efficiency ("blob") commit
- microSD improvements
- reduced load average (less battery consumption)
- LED (backlight) value close to powersave during booting (less heat, less battery consumption, NO blinding in darkness);
- KCAL support
- cpufreq governors: zzmoove, elementalX, darkness, smartmax, alucard (and all the other "default" ones: conservative, ondemand, interactive, performance, etc.)
- wakelock toggles, less power consumption for modem usage
- GENTLE_FAIR_SLEEPS, ARCH_POWER toggles
- reduced RAM power usage
- powerefficient workqueues (up to 25% less battery consumption for the SoC)
- GPU clocks down to 27 MHz when idle
- some more workqueue improvements, kthread improvements
- faux sound control
- BCL <-- --> KTM (thermal) interface [less issues with throttling and less stability issues with hotplug; port from AOSP/1.3.3 kernel]
- powersuspend driver (smartmax has support for it, so needed to be added to make it work efficiently),
- 2 bluetooth fixes
- touchpad + fingerprint stability fixes & improvements
- 2 additional audio commits I missed out during first collection (probably even better quality during calling or with headphones that have a mic),
- quickwakeup driver
- some other stuff I forgot
- ...
- Changes since 253_corona_III.1_9_4_6
- optional input boosting reverted (didn't restore the control to enable/disable input boost frequency control)
- reverted IPA wakelock "fix", this might improve the occasional battery drain and stability problems
-compiled in FM Radio driver- causes mute (silent) FM Radio driver, under investigation [goal was to improve reliability for FM]
- restored Sony's prebuilt MHL driver (using the kernel module of the ROM), causes kernel to panic during bootup, under investigation
- improved LZ4 algorithm
- GPU governor fixes (thanks to @AndroPlus and the upstream authors)
- added State_Notifier driver + Adreno Idler (thanks for the changes (?) to @RyTekk )
- removed Sony RIC for good (doesn't play well with custom kernels)
- Overclock by default 1.7 GHz for Little cores, 2.0 GHz for Big cores
- potentially improved sound quality of the DAC (disabled Dolby DAP [HeadphoneX], DTS Eagle, Dolby DS2), there's no ROM and/or userspace support thus the effect might be better and/or worse [feedback needed]