[Elephone P8000] Stefan Gündhör:
gueste kernel v2.4.1

handcrafted in Austria, compatible with stock-based ROMs like Eragon and BlueFlame4's CyanogenMod :cool:

*CyanogenMod ROM compatibility requires guestekrnl v2.2.0 or newer

;) - If you like my work, you could press thx or vote positively for this thread.​

Howdy :cowboy:

In an attempt to continue improving the kernel of BlueFlame4 (as he is was switching to a different phone) I hereby offer guestekrnl.

The usual disclaimer applies:

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications.
*/

guestekrnl continues seamlessly where visi0nary's kernel left off (v1.6.1), which is why the initial version of guestekrnl is v1.6.2 (or v1.6.1, if you count my re-build)

The main goals for this kernel are improvements:

maximizing (ui) smoothness / snappiness

keeping power consumption as low as possible, while still feeling smooth

keeping linux-base up-to-date

Apart from these improvements, I would consider the kernel quite feature-complete, so you should not expect countless new features.

Please remember: After you have flashed the kernel in Recovery, perform the following steps:

go to menu "Wipe and Format Options"

perform "Wipe Dalvik/ART Cache"

perform "Wipe Cache"

Please do not report any problems or bugs, if you did not perform these steps along with the installation of the new kernel.​

Version Log:

v2.4.1

merged fix for new camera driver from visi0nary upstream ( thanks to [MENTION=3784300]BlueFlame4[/MENTION] and [MENTION=382340]walter79[/MENTION] ) to support new P8000 model's camera

if your camera still does not work with your new P8000 model and this kernel, your ROM might be lacking some drivers - try those by [MENTION=4626501]skeleton1911[/MENTION] for Android 5.1.x ROMs https://www.androidfilehost.com/?fid=24591000424939670

v2.4

upgraded linux base from 3.10.101 to 3.10.102 ("Linux kernel 3.10.102 LTS is a pretty big maintenance update that changes a total of 153 files, with 1,194 insertions and 608 deletions.")

cherry-picked new camera driver from visi0nary upstream ( thanks to [MENTION=3784300]BlueFlame4[/MENTION] and [MENTION=382340]walter79[/MENTION] ) to support new P8000 models

cherry-picked a read/write persmissions change for doubleTap2Wake from visi0nary upstream ( thanks to [MENTION=3784300]BlueFlame4[/MENTION] )

v2.3.3

switched toolchain in hope of improved power consumption

deactivated to old battery drop shift fix (the one that didn't fix the drop, but shifted it upwards) - also in hope of improved power consumption

one cherry-pick from visi0nary upstream

this is supposed to be the last release for a longer period of time, because there's not much to improve currently - I sincerely hope this release will work well for everyone :good: :highfive:

v2.3.2

finally working battery drop fix by [MENTION=3784300]BlueFlame4[/MENTION] (confirmed working by community). the battery drop might still occur, if you rebooted between charging cycles, but if you use the phone starting with a full battery until it's empty, you should no longer experience a noticeable drop.

re-enabled the old battery drop fix as well (which shifted the drop from 15->0% to 35->20%. So if a drop occurs after a reboot (as mentioned above), it should happen somewhere above 20% battery and not drop directly to 0%.

double-tap 2 wake is still enabled, so if you are on Cyanogenmod and use a build without dt2w, you can just flash this kernel and it will work again

v2.2.1

this is not the experimental 2.2.1-SNAPSHOT-kernel some of you tested. This is the final 2.2.1 kernel.

upgraded linux base from 3.10.100 to 3.10.101 - Changelog

use updated sabermod toolchain (aarch64-linux-gnu-5.3-03-06-16)

provide 2 flavors: with or without experimental battery fix (if the battery fix of v2.2.0 does not work for you, or you still get a drop and would prefer the drop to happen at the end of a charging cycle (like on stock kernel), you can just flash the version without the experimental fix)

v2.2.0

compatible with the latest CyanogenMod ROM - CM Thread

upgraded linux base from 3.10.99 to 3.10.100 - Changelog

fix for 20 percent battery drop (sorry, reportedly not working) (by [MENTION=4196889]DerTeufel1980[/MENTION] , [MENTION=3784300]BlueFlame4[/MENTION] and [MENTION=382340]walter97[/MENTION] - thanks a lot for sharing!!) - Commit

increased charging speed ( by [MENTION=3784300]BlueFlame4[/MENTION] and [MENTION=382340]walter97[/MENTION] - thanks a lot for sharing!!) - Commit

v2.1.0

upgraded linux base from 3.10.98 to 3.10.99 - Changelog

upgraded linux base from 3.10.97 to 3.10.98 - Changelog

switched to a different toolchain (latest sabermod gcc 5.3)

v2.0.5

upgraded linux base from 3.10.96 to 3.10.97 (2016-02-19) - this includes the following commits:

furthermore, the IPv6 config has been changed, which might or might not improve IPv6 router connectivity for some users.

v2.0.4

upgraded linux base from 3.10.95 to 3.10.96 (2016-01-29) - this includes the following commits:

v2.0.3

upgraded linux base from 3.10.94 to 3.10.95 (2016-01-23) - this includes the following commits:

yes, this includes the fix for keychain vulnerability CVE-2016-0728

v2.0.2

upgraded linux base from 3.10.90 to 3.10.94 (12/2015) - this includes dozens of improvements over the old linux base

switched to toolchain "ubertc" gcc 4.9 (01/2016)

v2.0.1

fix stability issues (this release is a replacement for v2.0.0): Mediatek seems to have compatibility/stability issues with additionally introduced CPU governors and I/O schedulers, which is why in 2.0.1 I use the same built-in governor and scheduler I used for stable v1.6.1 (rebuild)

wake-up delay gone (also thanks to using the same governor as in v1.6.1)

I'm sorry if you experienced any stability issues with v1.6.2 and v2.0.0 - they seem to be caused by the governors/schedulers and should be gone now

I'll remove the download for v2.0.0 in favor of v2.0.1 which should now be stable.

v2.0.0

first major release of guestekrnl with over 900 commits ahead of the source of visi0nary's kernel

upgraded linux base from 3.10.65 to 3.10.90 (LTS) - this includes hundreds of improvements over the old linux base

switch from sio I/O scheduler to deadline

update/modify intelliactive CPU governor & switch from wheatley governor to intelliactive

introduce and enable power efficient work queues

reduced log spamming

various performance improvements and hopefully power-saving mechanisms

pocketmod is now disabled, as it breaks doubletap2wake (same as in visi0nary's kernel). Enabling pocketmod through vTool won't do anything

introduce and enable UKSM (Ultra-KSM) along with KSM (Kernel same-page merging)

various arm64 improvements

various defconfig changes

updated build flags

introduce BFQ-v7r8 I/O scheduler (though currently not set as default in favor of deadline)

all the other changes are listed here https://github.com/gueste/android_kernel_elephone_p8000/commits/master

everyone is adviced to upgrade to guestekrnl v2.0.0 and to report on the usage experience - thank you!

v1.6.2

introduce SIO IO scheduler & use as default IO scheduler

introduce wheatley CPU governor & use as default CPU governor

also introduce intelliactive governor, but not used as a default, because it didn't convince me during my everyday-use tests

use custom/enhanced kernel compilation flags

minor changes in kernel defconfig

built with a freshly built sabermod toolchain, using custom compilation flags

v1.6.1

the kernel from my separate thread "visi0nary's kernel alternative build"

Kernel Tool:

For tweaking a couple of kernel parameters, you can use the same "vTool", you have been using for visi0nary's kernel. In case you haven't got this tool yet, you can find it here.

exFAT Support:

If you want to use an exFAT formatted external SD card, then you can enable exFAT support as posted by [MENTION=5895603]dr_root[/MENTION] : http://xdaforums.com/showpost.php?p=65063912&postcount=77

Installation:

Just flash in recovery - wipe cache & dalvik cache afterwards (before initially booting the system with the new kernel)

Tip:

Double-tap 2 wake is set to only work in the middle of the screen, so remember to tap in the middle

If your phone after longer periods of sleep doesn't react to "double-tap to wake", try "triple-tap to wake"

Further tips & kernel source: see second and third posting!

I'd be delighted to get your usage feedbacks! This kernel should always be stable and is intended for daily usage.​

Credits:

The credits of the original visi0nary's kernel remain intact.