[Xperia Z4/Z3+ Android Development] zacharias.maladroit:
Introducing SunKernel , codename Corona [EXPERIMENTAL]

Download, AndroidFileHost :

253 Kernel

https://www.androidfilehost.com/?w=files&flid=110880 SunKernel_for_Z4_Z3Plus 253_corona_III.1_9_4

Notes

- ALL functions (well, most) have been tested and should work reliably (

including FM Radio app

)

-FM Radio app should work reliably now, the wakelock toggles made it stop working randomly (when activated ?!) + also to Kernel panic once activated

-after longer usage of Audio (Music listening, Movies, etc.) FM Radio still breaks + kernel panic (phone reboot) - this indicates that there are issues with the sound drivers, DSP, etc.

which are not easily fixed

[investigating ...]

-In-built WiFi Module is

NOT working for suzuran [Z5 Compact], so the prebuilt module from Sony is used instead

- The Kernel is built on the following premise of having a slim Base with which only the relevant (needed & desired) areas are updated, others are deliberately left alone

- [e.g. not ALL Hotplug mechanisms are merged which cannot be used or NOT needed to avoid cluttering the source or even binary from any unwanted effects]

- the governors do not seem to act correctly right now (most behave in the way that they stay at 1.2 or 1.3 GHz instead of downclocking when idle, might be due to KTM<----> BCL hotplug interface, investigating ...)

- video recording should work smoothly with MSM_PERFORMANCE again, the same for audio playback via bluetooth

unlock OVERCLOCKING via:

echo "0:4294967295 1:4294967295 2:4294967295 3:4294967295 4:4294967295 5:4294967295 6:4294967295 7:4294967295" > /sys/module/msm_performance/parameters/max_cpu_freq

This is the last kernel for some time, I'm fed up with Stock Kernel and need to focus on personal affairs, also will switch to AOSP-based ROMs for some time now

Power efficiency Tests

- Downclock the max GPU frequency to 390 MHz [this should be NO Problem for e.g. MX Player Pro with HW and HW+ acceleration for even 1080p videos (tested)]

- Downclock the max CPU frequencies for BIG to 1.5 GHz, little 1.3 GHz

- More aggressive Task packing for HMP Scheduling (this needs in-depth knowledge and LOTS of tests)

- In case your phone uses LOTS of Background tasks, try to use conservative governor for BOTH big and little cores, this will make your phone a bit less smooth but battery consumption goes down, the up_threshold needs to have a lower value (e.g. 75)

- ...

Attention

- This kernel is in

TESTING

state since power efficient WQ, quickwakeup, LPM improvements, NVIDIA relax improvements, KTM/BCL interface, the WiFi driver is built-in, CAF changes and some more got merged

- The goal is to IMPROVE STABILITY and RELIABILITY and also

CUT Battery consumption

but it needs more TESTING to confirm this intention

- issues CANNOT be ruled out - caveat emptor !

- This is reason enough to Backup your data, have another Kernel release on your phone's Internal or External storage ready in case of (potential) trouble

Kudos

to [MENTION=5627933]androidexpert35[/MENTION] , [MENTION=6791680]_LLJY[/MENTION] , the BETA Testing team, [MENTION=4798704]RyTekk[/MENTION] , [MENTION=5169444]AndroPlus[/MENTION] , Myself5,

Sauce

https://github.com/zachariasmaladro...-Kernel_Eclipse_32.2.A.0.253_corona_III.1_9_4