[KERNEL] [MM] [H815 & H811] ★ SimpleGX KERNEL v3.0.0 ★ (17th July) - G4 Original Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel concerns LG G4 (both H815/International and H811/T-Mobile) versions only
You will void your warranty after flashing this kernel
I'am not responsible of any damage caused to your device after flashing this kernel
Some reading..
Here I go again from Samsung, but now to LG adventure!
SimpleGX is only looking for simplicity and stability, trying to aim for best battery life, smoothness and performance experience, than a pure stock kernel.
It has been mostly designed for people who like "flash-and-play" kernels (you flash and you can directly enjoy, without doing customizing anything to get the best battery life and smoothness experience possible), that is how I always liked things.
This kernel will never implement experimental things to stay as close as possible as stock and avoid bugs like many other kernels. Choice is large in H815 kernels, but I wans't personally enough satisfied after testing all of them, so I decided to make mine for my personal use first, and share it to the community.
Keep in mind I still dont qualify myself as of a real developer, but just a basic person with some android/linux knowledge already.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing (my device has already been a lot tortured to release this kernel) so, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official LG ROM and not AOSP/AOKP (like CyanogenMod, etc) !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Better battery life and overall performance experience
Trying to include only efficient (but not so much experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Directly based from latest available "LGH815_Android_Marshmallow_V20j" Android 6.0 source from LG (for clean work and stability)
Compiled with UBER-TC (4.9.4 / 2017-01-15 / aarch64-linux-android) toolchain with optimization flags
Ramdisk from 20g stock kernel
Stock Linux 3.10.84
Main :
Auto install SuperSU 2.79 SR3
Auto install BusyBox 1.26.2
Native ExFAT support
FIOPS scheduler added
noop as default I/O scheduler
Optimized other stock schedulers for SSD's
All TCP congestion control modules activated with Westwood currently as default
SElinux set to "Permissive"
Stock ZRAM enabled (may be configurable with scripts provded in downloads section)
Logd disabled
init.d support
USB fast charge (but disabled as default)
KCAL post-processing driver
DriveDroid support
Dual-boot ready
All yet QuadRooter vulnerabilities fixed
Some miscellaneous tweaks, fix and patches to improve overall smoothness and battery life experience
... and (maybe?) more to come !
Various tweaks :
Full changes to be discovered directly in my Github source below
(some tweaks may be configurable via Kernel Adiutor)
Features that will NEVER be included in this kernel :
Any CPU/GPU overclocking / undervolting
Adreno idler
state_notifier
Any upgrade of Linux kernel 3.10.x
Dual-Boot Sammy/AOSP
CyanogenMod compatibility
MIUI compatibility
Any integrated pre-settings scripts (kernel will always stay with stock values)
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
A Marshmallow LG firmware (H815-20X - X means A/B/C/D/E/F/G/H/I/L, etc)
A custom recovery (TWRP recommanded), to flash the kernel
Optional : to control some kernel tweaks, you can install Kernel Adiutor)
★ SOURCE (up-to-date) ★ :​
Github >> SimpleGX.
★ INSTALLATION PROCEDURE ★ :​
Backup everything you need (internal & external),
Unlock your Bootloader
Flash TWRP recovery
Reboot to Recovery
Make a backup of your boot partition (just in case)
Flash kernel
Reboot and enjoy !
★ FAQ ★ :​
Can I install this kernel into my actual ROM/Firmware ?
As long as you run any Marshmallow firmware, it should be compatible. For your information, in the zip name, "X" means firmwares A/B/C/D/E/F/G/H/I/L, etc.
What is the difference between H815 and H811 versions ?
If your LG G4 is the International version then it's called H815, if it's the T-Mobile version then it's H811. Both worlds are compatible with this kernel. Please download the right version corresponding your device. The difference between the two builds are just the respective defconfigs for each devices.
I checked into system info and can still see "3.10.83", is this normal ?
It's because I don't upgrade stock linux 3.10.83 and system info only show this information. To see if you flashed kernel properly, please check with Kernel Adiutor (into kernel version), or CPUSpy, etc.
I'm feeling some weird battery drain, how can I fix this ?
Try THIS tips, it should do the trick.
★ for H815 ★
★ for H811 ★
★ ZRAM scripts ★
/!\ BEWARE TO SELECT THE RIGHT VERSION THAT CORRESPONDS YOUR G4 /!\
/!\ CHECK MD5 BEFORE FLASHING IS HIGHLY RECOMMENDED /!\
/!\ PLEASE DO NOT MIRROR MY DOWNLOADS /!\​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​

Changelog
★ CHANGELOG ★ :​
17.07.2017 : v3.0.0 released.
Fully and completely rebased from latest available 20o official LG source (for clean work)
Ramdisk updated to 20o
Update UBER-TC toolchain to latest 2017-04-22 (from @DespairFactor)
Removed KCAL post-processing driver (was causing some artifacts sometimes while browsing)
Removed some unnecessary commits about QuadRooter patches and microphone fix while recording (since new 20o source already fix them by itself)
Other personnal minor kernel compilation optimizations
31.03.2017 : v2.1.0 released.
ramdisk updated to 20p
Removed SuperSU (I now prefer to let people decide by themselves which root solution they want to have)
Removed BusyBox from osm0zis (same as root above)
05.03.2017 : v2.0.3 released.
fix sound recording problem from latest 20L firmware
Update toolchain to latest UBER-TC 2017-02-26 toolchain (from @DespairFactor)
tools: update mkbootimg
01.03.2017 : v2.0.2 released.
ramdisk updated to 20l
31.01.2017 : v2.0.1 released.
Revert back to FIOPS as default I/O scheduler.
28.01.2017 : v2.0.0 released.
Fully and completely rebased from latest available 20j official LG source (for clean work)
ramdisk updated to 20g
BusyBox installer updated to 1.26.2 from osm0sis
sbin: update internal busybox to 1.26.2 from osm0sis
defconfigs: set noop as default I/O scheduler (instead of fiops)
19.01.2017 : v1.5.10 released.
Now compiled with latest UBER-TC 2017-01-15 toolchain (from @DespairFactor)
15.01.2017 : v1.5.9 released.
SuperSU updated to 2.79 SR3
sbin: update internal busybox to 1.25.1 from osm0sis
defconfig: enable back stock ZRAM
Added two flashable ZIP's to configure ZRAM (can be found in downloads section).
Few other scripts will be available very soon. Actual ones are to disable or enable ZRAM (stock flashing kernel will enable ZRAM as default now).
Some new UI retouch during flashing procedure
25.12.2016 : v1.5.8 released.
simplegx.sh: added a small battery life tweak
Minor retouch during flashing procedure (updater-script)
Removed old useless init.d script during flashing procedure
24.12.2016 : v1.5.7 released.
ramdisk updated to 20k
24.12.2016 : v1.5.6 released.
SuperSU updated to 2.79
ramdisk updated to 20j
30.11.2016 : v1.5.5 released.
SuperSU updated to 2.78 SR5
29.11.2016 : v1.5.4 released.
SuperSU updated to 2.78 SR4
simplegx.sh: stop google service and restart it on boot
27.10.2016 : v1.5.3 released.
defconfigs: enable both "WQ_POWER_EFFICIENT_DEFAULT" and "CRYPTO_CRC32_ARM64"
A little mistake from me but I completely forgot to make them active.. so those two tweaks are now really enabled.
21.10.2016 : v1.5.2 released.
block_dev: implement readpages() to optimize sequential read
ramdisk: minor update into simplegx.sh script
19.10.2016 : v1.5.1 released.
ramdisk updated to 20L
15.10.2016 : v1.5.0 released.
Fully and completely rebased from latest available 20i official LG source (for clean work)
ramdisk updated to 20i
BusyBox updated to 1.25.1
UBER-TC toolchain updated to latest available (20160726).
Previous releases changelog...
02.09.2016 : v1.4.8 released.
Update SuperSU to latest 2.78
20.08.2016 : v1.4.7 released.
Fixed all yet QuadRooter vulnerabilities
31.07.2016 : v1.4.6 released.
add FIOPS I/O Scheduler
defconfig: add FIOPS I/O Scheduler and set it as default
30.07.2016 : v1.4.5 released.
ext4: Speedup WB_SYNC_ALL pass called from sync
arm64: crypto: increase AES interleave to 4x
readahead: make context readahead more conservative
writeback: fix race that cause writeback hung
writeback: fix writeback cache thrashing
mm: slub: Default slub_max_order to 0
05.07.2016 : v1.4.4 released.
Reverted all previously added cpu-hotplug things
Update SuperSU to latest 2.76 stable
18.06.2016 : v1.4.3 released.
soc: qcom: add bricked_hotplug driver
soc: qcom: add msm performance hotplug
defconfig: Enable 'BRICKED_HOTPLUG'
defconfig: Enable 'MSM_PERFORMANCE_HOTPLUG_ON'
11.06.2016 : v1.4.2 released.
ramdisk: update to 20h
01.06.2016 : v1.4.1 released.
cpufreq: cpu-boost: don't boost big cluster on input touch unless it has at least 1 task running on any of its cores to save power
cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
23.05.2016 : v1.4.0 released.
defconfig: disable ZRAM (again)
Revert "cpufreq: governor: Be friendly towards latency-sensitive bursty workloads"
Update SuperSU to latest 2.74 beta
18.05.2016 : v1.3.6 released.
Update SuperSU to latest 2.72 beta
06.05.2016 : v1.3.5 released.
ramdisk: update to 20g
01.05.2016 : v1.3.4 released.
Fixed battery drain issue from stock 20f ramdisk.
23.04.2016 : v1.3.3 released.
Makefile: force 'fno-pic'
ramdisk: update to 20f
ramdisk: removes new 'xfrm logging' service from stock 20f ramdisk
Now auto installing (latest 1.24.2) BusyBox during flashing procedure
08.04.2016 : v1.3.2 released.
arm64: lib: memory utilities optimization
arm64: kconfig: Move LIST_POISON to a safe value
crypto: crc32 - Add ARM64 CRC32 hw accelerated module
Fixed ExFAT support (for people which had issues with it)
03.04.2016 : v1.3.1 released.
Update compilation toolchain (UBERTC) from 20160303 to latest 20160401
Update SuperSU from 2.68 to latest 2.71 beta
29.03.2016 : v1.3.0 released.
SELinux: Reduce overhead of mls_level_isvalid() function call
arm64: topology: fix cpu power calculation
Revert "cpufreq: cpu-boost: don't boost big cluster on input touch unless it …"
Revert "mm: optimize Kernel Samepage Merging (KSM)"
Revert "mm/ksm: engage deferred timer by default"
Revert "power: process: drecrease time to enter sleep"
26.03.2016 : v1.2.9 released.
Migrate compilation toolchain to latest UBER-TC 4.9.4 - 2016.03 (infos)
21.03.2016 : v1.2.8 released.
Revert "defconfig: enable KSM and ZBUD"
power: process: drecrease time to enter sleep
futex: Implement lockless wakeups
sched: Implement lockless wake-queues
mm/ksm: engage deferred timer by default
mm: optimize Kernel Samepage Merging (KSM)
08.03.2016 : v1.2.7 released.
defconfig: enable back stock ZRAM, SWAP and ZSMALLOC
defconfig: enable KSM and ZBUD
defconfig: disable back SCHED_AUTOGROUP
Now auto installing (latest 2.68) SuperSU during flashing procedure
23.02.2016 : v1.2.6 released.
cpufreq: cpu-boost: don't boost big cluster on input touch unless it has at least 1 task running on any of its cores to save power
23.02.2016 : v1.2.5 released.
cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
Bluetooth: hidp: fix device disconnect on idle timeout
19.02.2016 : v1.2.4 released.
Add USB fast charge (but disabled as default)
Add KCAL post-processing driver
13.02.2016 : v1.2.3 released.
tcp_output: set initial TCP window size to 64K for speed improvement
Makefile: optimize gcc toolchain for big.LITTLE system
ramdisk: fix init.d permissions
07.02.2016 : v1.2.2 released.
ramdisk: update to 20E
06.02.2016 : v1.2.1 released.
ramdisk: remove logd to avoid probable battery drain
ramdisk: update simplegx script
31.01.2016 : v1.2.0 released.
This release is like a new start. I completely started again from stock source and revised commits one by one (some were deleted, some added) because I wasn't satisfied enough about previous release.
Less artificial, more efficiency but always more close to stock.
Please visit my github page to see what exactly changed (old source deleted), or you can just read actual main features from post above.
26.01.2016 : v1.1.1 released.
ramdisk updated to 20D.
Added a slight optimization in Makefile.
24.01.2016 : v1.1.0 released.
Fully and completely rebased from latest available 20d official LG source (for clean work).
Fixed broken ExFAT (this time definitely).
Fixed broken Bluetooth (thx @slim80).
Some more tweaks for better smoothness and battery life.
Completely revised personal scripts for better kernel building (+ tools updated, etc).
21.01.2016 : v1.0.2 released.
Definitely fixed random lags/freezes.
ExFAT finally fixed ! (big thanks to my friend @xdamc2010 for his precious help)
15.01.2016 : v1.0.1 released.
Fixed some more random lags/freezes.
Slight tweak for battery life.
Some very slight ramdisk and Makefile changes.
ExFAT still not fixed (currentry trying to).
10.01.2016 : v1.0.0 released.
Initial release (check actual features).

Thanks & greetings
★ THANKS & GREETINGS ★ :​
(by alphabetic order)
Chainfire
DespairFactor
DorimanX
googy_anas
osm0sis
xdamc2010
. . . and of course to all talented devs properly credited in my commits!

Donations
★ DONATIONS ★ :​
Many thanks to @johnny8910 ! :good:
Many thanks to @Sub8 ! :good:
Many thanks to @Hoffmanns ! :good:
Many thanks to @bender_007 ! :good:
Many thanks to Hubert P. ! :good:
Many thanks to @herveonex ! :good:
Many thanks to @Alejuan2005 ! :good:
Many thanks to @Snah ! :good:
Many thanks to @HorstiG ! :good:
Many thanks to @jmlnice ! :good:
Thank you to support my work ! :highfive:

Welcome to LG's world. Good luck with your job.

Welcome my friend! Nice job!

Any reason why you'll never add overclocking/underclock? It's your kernel and you're of course allowed to do whatever you want with it [emoji14]
Sent from my LG-H815 using Tapatalk

DaarkieDoo said:
Any reason why you'll never add overclocking/underclock?
Click to expand...
Click to collapse
Because:
I'm not a fan of those things, as it is source of many instabilities and not recommanded for long term (reducing life of components, a bit)
I found the LG G4 already powerful enough for my daily use
:highfive:

Welcome to LG! I like your signature. "If you take life too seriously : just undervolt it." Heh, yes, instabilities...
I'll keep an eye on this kernel for experiences. I hadn't tried a custom kernel on my G4 yet...
Looks like this one is less likely to break things than others.

SD card failure. Unusable for me. Back to stock rooted.

viruz82 said:
SD card failure. Unusable for me. Back to stock rooted.
Click to expand...
Click to collapse
+1
Sent from my LG-H815 using Tapatalk

Corrupt sd card... going back to stock and waiting for a future release. In lupus kernel works fine too.
Thanks for your work anyway

Thanks guys for the report about ExFAT issue, I'll fix this very soon :good:
(I wasn't aware because I still have my old 32gb sdcard so cannot test personally, I will attach a beta here in my next post, so you guys will confirm if it will work :good
Stay tuned!
Cheers' :good:

Can you guys please try this beta version and report if ExFAT is working.
(If not, I have another solution but will take me some time :good
'laters
*new beta2 to test, please download it HERE and report*

Sd card issue

Tested beta 2, still no go for sd card.

I have not problem with SD card because I using old 32gb card.
But overall performance is great and battery seems great too.
Im tested all custom kernels for LG G4 and this kernel seems good maybe best of all...

ozzyblack said:
Sd card issue
Click to expand...
Click to collapse
zuqka10 said:
Tested beta 2, still no go for sd card.
Click to expand...
Click to collapse
Thanks guys for your report. I know where the problem is, I'm currently stuck at signing exfat module step. It will be fixed asap (I hope) :good:
Hoffmanns said:
I have not problem with SD card because I using old 32gb card.
But overall performance is great and battery seems great too.
Im tested all custom kernels for LG G4 and this kernel seems good maybe best of all...
Click to expand...
Click to collapse
Thanks for your report, if you wait for official v1.0.1, you'll even be more surprised, removing a bit more both thermal and random lags :good:
'laters

UPDATE
★ UPDATE ★ :​
15.01.2016 : v1.0.1 released.
Fixed some more random lags/freezes.
Slight tweak for battery life.
Some very slight ramdisk and Makefile changes.
ExFAT still not fixed (currentry trying to).
I'm releasing this v1.0.1 by waiting ExFAT fix :good:
Cheers' and enjoy :good: :highfive:

Thx a lot, have to skip this one and wait for sd fix

Related

[KERNEL][EOL][LINARO/UBER]DorimanX kernel for LP and MM

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unofficial DorimanX builds by Saber (formerly gsstudios)​
Development has ended.
The Background:
DorimanX development has stopped for a while now. I've been a long term dorimanx user, but I felt that a lot of features need to be implemented into the kernel. As of a result, I decided to make my own personal builds! Please note that I'm no way as good as the master himself, Dorimanx, but I try to implement features to the best of my abilities. Also, I'm not going to be a proper maintainer of dorimanx kernel, this is just what I've done in my spare time.
If you have problems or if anything goes wrong, you need to reflash your current ROM to revert kernel.
The Mission:
To continue giving support for the much loved kernel. New features and additions will be added to improve flexibility and speed to the already amazing kernel. My goal is to improve DorimanX kernel as much as I can, without sacrificing stability.
DISCLAIMER:
ONLY FOR AOSP BASED ROMS
I'm not responsible for bricked devices or wrong version flashing
You are using this kernel at your own responsibility​
——— !!!!!!!! YOU HAVE BEEN WARNED !!!!!!!! ———
​
FEATURES:
This kernel includes the following additional features over stock dorimanX kernel:
- CPU Governors: HYPER, Ondemand, pegasusQ, Intellidemand, neoX, darkness, nightmare, zzmoove, sleepy, conservative (Default: HYPER)
- IO Schedulers: ROW, Tripndroid, FIOPS, SIOPlus, BFQ, CFQ, Noop, ZEN, Deadline (Default: ZEN)
- TCP Algorithms: Cubic, Reno, BIC, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, Lp, Yeah, Illinois (Default: Westwood)
- Built with Latest Linaro 4.9/UBER 6.1 Toolchains
- Built-in Stweaks profiles updated (All profiles suit needs for most people now)
- Trim support (Be careful if you have brickbug affected chip!)
- Updated FPBug/Musicbug fix is already included in this kernel!
- BLN and BLNWW support
- Updated Linux Kernel version to 3.15.0 stable!
- Freezefix is already included in this kernel!
- Isorec support
- Low Latency Audio bugfix is included in this kernel
- MDNIE mode and scenario tuning
- F2FS support
THINGS TO DO:
- Provide an actual fix for device off battery charging animation
- Allow users to dirty flash ROM to restore original kernel
- Fix cache partition wipe on Resurrection Remix ROM
THINGS I WILL NOT ADD:
- LZ4 Compression (Our Boot partition is way too small to support this)
- Useless CPU governors such as Userspace
- Colour tuning support (Unless someone helps me with this)
- Recovery version (Will only consider doing this if working on LP kernel)
- Higher thermal limits (We all know what happens if we do this)
- Higher overclocking/Lower underclocking capabilities (So you want less stability and more SODs?)
- Synapse support (Stweaks is the only app that can fully support this kernel)
- Linux Kernel version updates (My skills need to improve first before taking on something this big)
CREDITS:
Dorimanx (the real master of the kernel)
Gokhanmoral (Siyah Kernel)
Voku1987(This Kernel)
Alucard_24(This Kernel)
STANTRC(This Kernel)
Entropy512 (CyanogenMod)
Tungstwenty (On screen gestures addon)
Torvalds (Kernel 3.6.Y maintainer)
Computoncio (This Kernel)
cybernetus (This Kernel)
stelistcristi (Contents of this post)
chhapil (For helping me with all of the issues, thanks man)
Chet Kener (For UBER toolchain)
Christopher83 (For Linaro custom toolchain)
Lanchon (For TRIM fix and Isorec for Dorimanx)
Zeitferne (For FP Bug/Music Bug fix and freezefix)
Lysergic Acid (For CM12.1, source and fixes)
Realex-fire (Marshmallow support and kernel fixes)
DOWNLOAD:
Refer to third post
CHANGELOG:
Refer to second post
KERNEL SOURCE:
Source code of the kernel can be found here:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
https://github.com/gsstudios/initramfs3
ISSUES:
- Users can not dirty flash ROM to restore original kernel
- Resurrection Remix users can not wipe cache partition as it will cause bootloops
- MM support limited to CM13 based roms
- LP support limited to CM12.1 based roms (Doesn't work with Slimsaber, SlimLP, Omni, Paranoid Android yet)
- If you reboot your phone, you may experience a large battery percentage drop.
- All dorimanx bugs
WHAT ROMS WORK WITH THE KERNEL:
So far, the kernel works with:
- Cyanogenmod 13
- Cyanogenmod 12.1
USEFUL LINKS
CPU Governor and I/O Scheduler Guide
DorimanX tuning guide
TCP Algorithm guide
HAVING PROBLEMS?
Read post 4 before posting questions!
GOT QUESTIONS?
Click here for Q&A Thread
HOW TO FLASH?
Check the troubleshooting guide
XDA:DevDB Information
DorimanX kernel for LP and MM by Saber, Kernel for the Samsung Galaxy S II
Contributors
gsstudios
Source Code: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
Kernel Special Features: See post #1
Version Information
Status: No Longer Updated
Current Stable Version: 12.0b013
Stable Release Date: 2017-01-14
Current Beta Version: 12.0b011
Beta Release Date: 2016-08-07
Created 2015-06-29
Last Updated 2017-01-13
Changelogs:
--UNRELEASED VERSIONS (KERNEL UNDER TEST) --
For live changelogs, see my github: Github Link
Code:
[FONT="Arial"][COLOR="Red"]Development has been stopped. No more builds.[/COLOR]
[/FONT]
--RELEASED VERSIONS (GENERAL AVAILABILITY) --
Code:
[FONT="Arial"][B]DorimanX 12.0 b013 (STABLE)[/B]
- Additional security updates from LineageOS kernel source
- Updated stweaks descriptions from previous commits
- Re-enabled Software CRCs. DorimanX kernel does experience corruption issues so it is better to keep this enabled.
[B]DorimanX 12.0 b012 (STABLE)[/B]
- Security updates from LineageOS (formerly Cyanogenmod) kernel source
- Change default I/O scheduler to ZEN - CFQ better for hard disks, ZEN is good for flash storage
- Set swappiness to 60 - Should help with low memory problems
- Remove UKSM - The kernel needs to be more in-line with the linux kernel
- Remove Adaptive LMK - Drains more battery without making much of a difference to memory savings
- Remove toggle for Software CRCs and disable by default - Tested safe by other devs so why not?
- Remove power saving workqueues control - Had little to no effect
- Remove Powersave and Performance governors - I don't keep garbage :)
[B]DorimanX 12.0 b011 (BETA)[/B]
- Synced MM and LMK updates from Dorimanx's LG G2 kernel
- Adaptive LMK and tuning support in stweaks
[B]DorimanX 12.0 b010 (BETA)[/B]
- Reverted nr_requests to 64 to reduce RAM usage on I/O load
- Fixed md5 generation on nandroid backups
- Bring back relaxed LMK profiles to allow better selection between aggressive and non-aggressive RAM management
- UBER toolchain updated
[B]DorimanX 12.0 b009 (BETA)[/B]
- Fifo batch tuned for sioplus and tripndroid
- nr_requests increased to 128 for better throughput - The downside is that we have less RAM to work with when I/O requests are full
- Hack to get power off charging animation working - Thanks Realex-fire. This is only a temporary solution.
- More cleanup to initramfs
- UBER toolchain updated
[B]DorimanX 12.0 b008 (BETA)[/B]
- Merged net updates
- UKSM support and initial UKSM tuning support in stweaks - UKSM can help free more RAM but at the cost of extra battery drainage. UKSM is off by default.
- General performance improvements and stability fixes
- Profiles will be reset after flashing this build
[B]DorimanX 12.0 b007 (BETA)[/B]
- Added back IPV6 toggle
- Synced sched, LZ4 and LZO updates from Linux 3.16
- Merged a wifi security fix
- Reverted back to aggressive LMK profiles - Phone felts smoother with more aggressive LMK
[B]DorimanX 12.0 b006 (BETA)[/B]
- Fixed mounting of F2FS partitions
- Many bug fixes and small cleanup to initramfs
- Partitions check and fix function for F2FS is now working properly
- Reverted LMK profiles back to CM defaults. Optimized profile is now the old default profile - This should bring better battery life
- Linaro and UBER toolchain updated
[B]DorimanX 12.0 b005 (BETA)[/B]
- Fixed partition error boot popup when /data or /cache was formatted as F2FS
- Fixed wifi hotspot - Thanks to Realex-fire
- Change default I/O scheduler to CFQ
[B]DorimanX 12.0 b004 (BETA)[/B]
- Fixed mass storage mount on LP
- Full support for F2FS partitions - error log still may show on boot, but can be safely ignored
- Updated exfat modules from Dorimanx's source
- Added and enabled temperature export for zzmoove
- Changed the default hotplug method for zzmoove to Alucard. Force native zzmoove hotplug disabled - Intelliplug doesn't hotplug for zzmoove, only Alucard works.
[B]DorimanX 12.0 b003 (BETA)[/B]
- More ZRAM tweaks have been added for better ZRAM performance - max_comp_streams=2 and force LZ4 algorithm
- Disabled panic and reboot on oops bugs. According to Dorimanx, the kernel will recover 99% of the time when kernel encounters a problem.
If not, kernel will hang making it possible to diagnose random reboots
- Merged many f2fs fixes and improvements from mainline linux kernel - F2FS is functional, but there are some problems we need to fix
- Minor selinux fixes
- Removed broken features from stweaks - Root options and kernel update check
- Fixed mass storage USB mount mode
- General performance improvements and stability fixes
[B]DorimanX 12.0 b002 (BETA)[/B]
[B]Starting from this build, kernel will support CM12.1 and CM13 at the same time![/B]
- CM13 Support - Many thanks again to realex-fire for his hard work
- Selinux is now enabled and set to permissive by default
- Wifi driver updated to version 1.141.44
- VPN fixed
- General performance improvements and stability fixes
- UBER toolchain updated
[B]DorimanX 12.0 b001 (BETA)[/B]
[COLOR="Red"]CM13 is not supported yet, only CM12.1 support for now![/COLOR]
[B]Most of the changes were done by realex-fire. Big thanks for his contribution[/B]
- Many changes from CM have been merged
- Major rework of init and ramdisk - Bugs fixes, a lot of unused code deleted. Kernel size reduced!
- Mali driver updated (CM12.1 will still work)
- General fixes and performance improvements
- UBER toolchain updated
[B]DorimanX 11.0 b042 (BETA)[/B]
- Merged several broadcom wifi security fixes
[B]DorimanX 11.0 b041 (BETA)[/B]
- Switched to self-built Cortex-A9 optimized Linaro 4.9 toolchain from Cl3Kener's sources - Includes latest fixes and changes from Linaro. Linaro 4.9 is the sweet spot for our device :)
- Add TRIM function to stweaks and other TRIM related fixes from @chhapil's initramfs
- VM parameters have been tuned again - Now it matches Dori G2 LP values for better balance between performance and stability
- Increased swappiness to 40% - This should help prevent RAM drain under heavy load
- Updated UBER toolchain with latest changes
- Full tuneup to LMK profiles synced with Dori's G2 kernel. New optimized profile. Low profile removed - RAM management is now very aggressive and will not allow kernel to have less than 200MB of RAM
- Fixed incorrect file permissions for lowmemorykiller minfree and adj files
- Entropy tuned for better performance. Kernel will now tune entropy on boot.
- General stability fixes
- Your profiles will be reset after flashing this build!
[B]DorimanX 11.0 b040 (BETA)[/B]
- Re-enabled mmc software CRCs - We should value data integrity over performance
- Allow users to enable or disable mmc software CRCs via sysfs. Added software CRCs toggle in stweaks - If you do feel that having it disabled is better, I will let you do so.
- Fixed workqueue control not running in cortexbrain service
- Re-enabled CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
- Updated UBER toolchain with latest changes
[B]DorimanX 11.0 b039 (BETA)[/B]
- Fixes to zzmoove profiles
- Merged a few of missing and recent updates from CM13
- Changed config_hz to 300 (from 250) - This should give a small boost in interactivity with no cost in battery life
- sched.h: Changed LOAD_FREQ calculation
- UBER builds are now being built with latest UBER 6.1 with Cortex-A9 optimizations - I forgot to change the UBER version string from 6.0.0 to 6.1.0, but you can just look at GCC version for proof :)
[B]DorimanX 11.0 b038 (BETA)[/B]
- OOM and LMK fixes thanks to realex-fire
- HYPER cpu gov synced with latest changes from Dorimanx's G2 kernel
- Changed the default I/O scheduler to BFQ - After some testing, I have found BFQ to be slightly more responsive compared to CFQ
[B]DorimanX 11.0 b037 (BETA)[/B]
- Reverted o3 flags - This fixes the high power consumption from the last build and large kernel size
- We will no longer see UBER 5.3 builds.
- Reverted more VM tweaks
- General stability fixes
[B]DorimanX 11.0 b036 (BETA)[/B]
- Default I/O scheduler changed back to CFQ
- Compiler optimisations thanks to @chhapil - Dori kernel was missing a lot of optimisation flags after kernel was updated past 3.12 linux kernel. Now we finally get them back :)
- The kernel is now compiled with the -o3 optimization flag - Increased kernel size, better performance
[B]DorimanX 11.0 b035 (STABLE)[/B]
- Various security updates and stability fixes pulled from CM13 kernel
- LMK will now kill system and protected (root) apps and services to prevent kernel crash - This fixes Launcher FC bug and poor RAM performance
- Stweaks updated with material design thanks to @Skyline!
[B]DorimanX 11.0 b034 (BETA)[/B]
- Added support for GCC 6.0 toolchains. We will see how UBER 6.0 experimental builds go
- Default I/O scheduler changed to ZEN
- lowmemreserve ratio changed back to default values
[B]DorimanX 11.0 b033 (BETA)[/B]
[COLOR="Red"]Your stweaks profile will be reset automatically once you flash this build[/COLOR]
- Restored aggressive LMK changes (After reverting the LMK changes, phone felt noticeably more laggy and system would lock up more frequently)
- Reduced swappiness back to 20% to reduce CPU usage and to improve performance
- Reverted VM changes (VFS cache pressure, dirty background ratio) - This might restore stability and performance
- Merged a few updates from CM - Minor stability fixes and security fixes
- Updated UBER toolchain
[B]DorimanX 11.0 b032 (BETA)[/B]
[COLOR="Red"]It is recommended to reset your stweaks profiles to ensure you get the best stability [/COLOR]
- Fixed lots of stweaks descriptions. Matched all non-matching default value descriptions
- Removed relaxed lowmem_reserve_ratio option. Our device doesn't have more than 600MB of free RAM :)
- Merged many changes from CM13 kernel
- Reverted LMK profile and made it less aggressive. We'll see if this helps with Launcher FCs. Note: It is not recommended to decrease swappiness!
- Increased swappiness to 50. We need LMK to do less work otherwise apps will just suddenly close. - Slightly less battery life, better multitasking
- UBER 5.3 Toolchain updated to March build
- zzmoove will now use intelliplug as the default hotplug method
[B]DorimanX 11.0 b031 (BETA)[/B]
- Added MDNIE override toggle. If your settings don't apply, just re-enable this toggle and make changes again.
- hyper gov updated with DorimanX LG G2 LP thanks to realex-fire - Better balance between performance and battery life.
[B]DorimanX 11.0 b030 (BETA)[/B]
- Updated sio to sioplus iosched - Thanks to DorimanX. Now it is working as it should and stweaks doesn't freeze anymore! :) - Better performance and multitasking
- Merged many changes to zzmoove. Thanks to @zanezam - Bug fixes, performance/battery life improvements
- A few other minor kernel changes were merged from linux mainline kernel - Bug fixes, stability improvements
- MDNIE mode and scenario changing support added to stweaks. Note: This will override the ROMs values. Also, other scripts will be able to override this as well.
[B]DorimanX 11.0 b029 (BETA)[/B]
- Match stweaks descriptions with actual default values
- Merged updates to CFQ io scheduler - Better performance
- Disabled MMC CRC check - Better I/O performance
- Deleted all zipalign functions! it's no longer supported with ART in LP. - Fixed possible nasty bug that would have deleted all app symlinks in /data/app. Before zipalign was enabled by default for performance profiles! Now all good :)
- Stweaks profile will be reset!
- Remove all fix permissions functions. It is old and broken. Lollipop is much more advanced compared to jellybean 4.3 so there is much less chance of apps breaking after a ROM update.
- CORTEX: move OOM fix to cortex to set on each wakeup. Thanks to DorimanX. Before this, the default ROM OOM values were being used after boot, the kernel was not always overriding ROM values and causing slower performance. This fixes this issue.
[B]DorimanX 11.0 b028 (STABLE)[/B]
- Merged a few kernel updates from CM13
- Removed ability to tune vfs_cache_pressure. This is required for cortexbrain to function properly. If you tune it, the kernel script will not run!
- Adaptive vfs_cache_pressure values synced with DorimanX LG G2 LP values. - Better performance, more free RAM, slightly less battery life
[B]DorimanX 11.0 b027 (STABLE)[/B]
- Updated OOM profiles to better match CM Marshmallow and DorimanX LG G2 LP values
- UBER 5.3 Toolchain updated to 01/02/16 build
- Added HOTPLUG tab to stweaks. All hotplug config is now grouped together, minor fixes to spelling
[B]DorimanX 11.0 b026 (BETA)[/B]
- Merged many workqueue updates from linux mainline kernel - Improvements to stability, performance and battery life
- Merged updates to tcp_yeah
- Disabled auditd service to remove selinux related logspam
- Low latency audio fix will be applied on boot. DorimanX doesn't support low latency audio which causes games using recent unity versions to sound horrible. Thanks to @dualjoe. If you want to re-enable low latency audio, reflash rom and use different kernel!
[B]DorimanX 11.0 b025 (BETA) - LAST BUILD FOR NON-TRIM AND UBER 4.9[/B]
- Synced chhapil's zram updates
- LZ4 is set as the default algorithm for zram. I have properly checked now and it is all good. You can see this under /sys/block/zram0/comp_algorithm, where the algorithm inside the brackets is the active one.
[COLOR="Red"]- This will be the last build for NON-TRIM and UBER 4.9. TRIM should be used by everyone and UBER 4.9 is just unnecessary extra toolchain.
[/COLOR]- Changed default I/O scheduler to CFQ. This was Samsung's default choice and it was a good choice. LP needs as much I/O performance we can get, so simpler schedulers are not that great :)
- Merged many zram updates up to what the kernel can allow. This is the max zram can update to before causing build errors.
- UBER 5.3 builds will be moved to the UBER main folder. Not experimental anymore :)
[B]DorimanX 11.0 b024 (BETA)[/B]
- BLN is properly fixed now without having to modify install script thanks to realex-fire
- Fixed stweaks not installing on kernel install thanks to realex-fire
- Many other changes to kernel init system thanks to realex-fire
- LZ4 support on the ZRAM thanks to @chhapil. Changed default compression to LZ4. Before we were using LZO which was slower but gave slightly better compression. LZ4 is much faster but gives slightly worse compression. TL;DR, better performance :) Edit: Wasn't sure if it was really enabled by default because there was no way to check.
[B]DorimanX 11.0 b023 (BETA)[/B]
- BLN is now working!!! I simply updated the updater-script to delete old lights.exynos4.so from ROM and add new one to /system/lib/hw. Thanks @charlie8104 and @arnab If BLN doesn't work, reflash the kernel and make sure to reapply BLN after boot. This should fix BLN for most people :)
- sched: Set MC (multi-core) sched domain's busy_factor attribute to 1. This will increase CPU performance.
- fixed compilations warnings thanks to @chhapil
[B]DorimanX 11.0 b022 (BETA)[/B]
- Changed swappiness drop down to slider. Allow users to select a more precise percentage.
- Limit boot booster frequency to a max of 1.4Ghz. Anything higher will cause many devices not to boot :) Plus there are very few CPUs out there that can run higher than this config.
- Added lowmem_reserved_ratio tuning to stweaks thanks to @dorimanX. A higher ratio will give you more free RAM if you see that your free RAM is always loaded and device LAG, but it's also uses more battery to gain more free RAM with loaded system. Please don't use the relaxed setting as you will run out of RAM very easily.
- Isorec recovery support. Many thanks to lanchon who has been working with me for the past few days. If you require to dualboot, don't use isorec recovery. I have linked the isorec disabler for people who want dualboot/dorimanx recovery. Also, TWRP can't mount USB storage so you won't be able to transfer files between PC, go back to CWM to fix this. We have isorec on DorimanX :) However this is still a WIP.
[B]DorimanX 11.0 b021 (BETA)[/B]
- Synced missing cortexbrain changes and typo fixes from KK initramfs
- zzmoove will now use alucard as the default hotplugging driver.
- Add toggle for power efficient workqueues. Enable to save power, disable for performance. Fixed parameter permissions. If you disable this, Cortexbrain will automatically switch on this during sleep state to save battery. Avoid using Kernel Adiutor to set this value as stweaks can do this properly.
[B]DorimanX 11.0 b020 (STABLE)[/B]
- Full update to 2016 January CM12.1 Ramdisk - Stability improved, smoother operation and better experience. Thanks realex-fire!
- Bugs fixes and dorimanx features fixed from previous ramdisk updates
[B]DorimanX 11.0 b019 (BETA)[/B]
- GCC 5.x support. Starting from this build, we will see UBER 5.3 experimental builds for those who want the best performance they can get. Thanks @chhapil
- Toolchain GCC Version is also included now in zip file name so we don't get confused
- Ramdisk updated once again to CM12.1 October 15th build
- Remove root installer and remover from stweaks to prevent people from breaking root
[B]DorimanX 11.0 b018 (STABLE)[/B]
- Many changes to the LMK/OOM management. Synced values with DorimanX LG G2 and CM12.1. Now much more aggressive than before. Prior to this was the reason why we had such bad RAM management.
- All profiles are now set to default OOM settings. Default is now the same as the settings found in stock CM12.1.
[B]DorimanX 11.0 b017 (BETA)[/B]
- Fixed all issues found in previous build
- Bring back SIO scheduler, deleted SIOPlus (Doesn't work on DorimanX)
[B]DorimanX 11.0 b016 (BETA) - BUGGED AND REMOVED[/B]
- Synced missing futex updates from Linux 3.15 stable
- Reduced swappiness from 40 to 20 (ZRam will only be used under heavy load, rather than in medium loads)
- UBER toolchain updated to 2016-01-11 build
- This build will be built with Linaro and UBER (From now on, I will be naming builds with the selected toolchain)
- Updated SIO to SIOPlus
- tick: Fix a bug which impacts CPU frequency scaling
[B]DorimanX 11.0 b015 (BETA)[/B]
- Reduced swappiness from 60 to 40 (Will only swap when under heavier loads, before it was too aggressive)
- Includes latest LP freeze fix patch from Zeitferne (Note: This is not the final fix, this is an attempt to solve current freeze issues. If you want to help debug, use the proper kernel given by Zeitferne!)
- This build will be built with Linaro and UBER
[B]DorimanX 11.0 b014 (BETA)[/B]
- Enabled zram and set zram to 300MB by default
- Synced all net, TCP Cubic, ipv4, ipv6 and mutex updates from KK branch
- Change the VM_MAX_READAHEAD value to 512KB for best throughput
- Upstreamed kernel version to 3.15.0 stable! Lots and lots of fixes for various parts of the kernel, once again, thanks to realex-fire for contributing! ;)
[B]DorimanX 11.0 b013 (BETA) - Linaro[/B]
- This build is built with latest Linaro 4.9 from Christopher83
- Comes with all changes from original b013 release
[B]DorimanX 11.0 b013 (BETA)[/B]
- Synced missing changes from KK branch thanks to @Realex-fire
- Reverted initramfs changes from CM12.1 (Not required to get CM12.1 running smooth, I think this introduced issues)
- Updated UBER toolchain to 20151031 build
- Fixed derp in Samsung WL Bug patch (Doesn't make a difference since our phone is not affected anyway. Looks like I will have to recreate the patch files again :) )
- Reverted I/O scheduler updates
- Tuned I/O scheduler fifo batch and other tweaks
- Changed OOM behavior so it is more aggressive, this would be a big advantage for people with lots of apps running!
- Last release built with UBER toolchain
[B]DorimanX 11.0 b012 (BETA)[/B]
[B]This is a long awaited update that should make cyanogenmod experience better again!!![/B]
- Changed toolchain back to UBER 4.9 and updated to latest version
- Updated Cyanogenmod ramdisk to October 15th
- Fixed all zzmoove tunables in stweaks. I'm not adding more tunables for zzmoove since it will cause stability issues.
- proper zzmoove profile switching has been added (previous solution was more of a workaround).
- Allow tunable mode for zzmoove (It's just no profile set, this is required if you want to manually adjust zzmoove values)
[B]DorimanX 11.0 b011 (BETA)[/B]
- Revert Custom profiles 1, 2 and 3 and related fixes
- Revert GPU changes
- Updated default profile
- Revert Partitions and Root tab
- Updated UBER 4.8 toolchain to latest
[B]DorimanX 11.0 b010 (BETA)[/B]
- We're moving back to UBER 4.8 toolchain (should be more battery friendly than linaro)
[B]DorimanX 11.0 b009 (BETA)[/B]
- zzmoove updated to 1.0 beta 8
[B]DorimanX 11.0 b008 (BETA)[/B]
- Restore Linaro 4.9 toolchain
[B]DorimanX 11.0 b007 (BETA)[/B]
- Reverted WiFi driver
- Reverted Linaro toolchain to 4.8 for the time being
- Deleted sharpness tweak again (I forgot to delete the tweak in the previous build)
[B]DorimanX 11.0 b006 (BETA)[/B]
- More work on Wifi-driver to get Ad-hoc networks working (Still not working yet)
- Many minor changes to stweaks descriptions
- Updated kernel update check function (Doesn't work yet, I think it's because there is 2 'v' in the kernel version and build version, in other words it is a WIP!)
- We're moving back to Linaro 4.9 (Less bugs, more performance!)
[B]DorimanX 11.0 b005 (BETA)[/B]
- Wifi drivers updated to 1.141.44 thanks to @stelistcristi
- Updated to latest UBER toolchain
- Switched to UBER 4.9 toolchain instead of 4.8
- Revert: "allowed IO Read Ahead up to 4096KB"
- Allow mod of vfs cache pressure - This is used by cortex background service, don't modify if you don't know what you are doing
[B]DorimanX 11.0 b004 (BETA)[/B] - Tweak your GPU beyond belief :)
- More overclocking of GPU! (All steps can have higher or lower frequencies and voltages)
- Revert boot boost limits
- Fixed file permissions
[B]DorimanX 11.0 b003 (BETA)[/B]
- Separated root actions into own tab in stweaks
- Added zzmoove 1.0beta7a to replace zzmanX! Profile switching is included!
- Added back powersave governor
- Temporary workaround for root check (will not say if root is enabled or not)
[B]DorimanX 11.0 b002 (BETA)[/B]
- Optimize default profile for LP
- I will build trim and non trim builds for now on
- Remove sharpness tweak temporarily to prevent bootloop
- Still only supports CM12.1 based roms
- Fixes to custom profile reset
- Re-add missing performance governor in stweaks
- Allow users to debug stweaks again
- Separated CRON tasks into own tab , separated partitions fixes into own tab
[B]DorimanX 11.0 b001 - TRIM (BETA)[/B]
- Initial lollipop support thanks to lysergic acid
- All features from my dorimanx kk builds[/FONT]
Downloads
--STOP!!! IMPORTANT, PLEASE READ--
It is important that you make a backup before flashing this kernel. If you want to restore the original kernel found in your ROM, you need to restore from a backup or clean flash your ROM.
MAKE SURE YOU'RE DOWNLOADING THE RIGHT KERNEL. OTHERWISE YOU COULD BRICK YOUR DEVICE!
For TRIM users:
To use TRIM, you can download an app on the app store called trimmer or use terminal commands as directed in the troubleshooting guide.
Isorec (Isolated Recovery)
Starting from build b022, I have introduced isorec into DorimanX kernel. You can use either TWRP or CWM. It is important to note that the default CWM recovery has kernel specific options within the menus, so if you require to use them, be sure to flash the isorec disabler.
Download for isorec recoveries:
https://www.androidfilehost.com/?w=files&flid=47550
If you have a dualboot setup or if you want to set up dualboot, you should stay on StanTRC recovery. If you want to return to StanTRC recovery, flash the isorec disabler:
https://www.androidfilehost.com/?fid=24369303960682947
Forgot to download backup/older kernel/isorec disabler after flashing TWRP?
Go to download mode and flash a kernel .tar file OR wait until OS boots and copy required files to your phone
Which build should I use?
Linaro 4.9: Use this build for best stability. Battery life is better than UBER 6.1 and is the smoothest. Most users should use these builds.
UBER 6.1: Use this build for best performance. UBER 6.1 contains bleeding edge optimizations that may not be fully reliable yet, so this toolchain is better suited for advanced users.
Go with the build that is the best for you. You are the one that is making the changes so you are responsible for choosing what experience you want with the kernel! If you are still not sure which build to choose, use the Linaro 4.9 build first.
Main download link:
https://www.androidfilehost.com/?w=files&flid=43490
Mirror download link:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases
​
Beta builds and stable builds will only be uploaded on AFH and github.
In order to tweak the kernel properly, you need to install stweaks from the play store, or from the apk linked here, or from the XDA downloads page, or from the apk in the attachments below:
Troubleshooting
For general help, please use the Q&A thread
http://forum.xda-developers.com/galaxy-s2/help/qa-dorimanx-lp-5-x-x-t3161661
Q: Why flash your kernel? - For new users of DorimanX kernel
DorimanX kernel is an aftermarket kernel (or custom kernel) that is designed to allow users to tweak their phone at the kernel or near-hardware level side of things. In other words, users get more fine-grained control over their phone, this includes overclocking, underclocking, changing behavior of CPU/GPU etc. Adjusting such settings isn't for the faint-hearted since there is many things to understand, but you aren't required to understand all of the settings. Ultimately, if you want to improve your phone experience, try DorimanX kernel!
Q:How do I flash your kernel?
A: You flash kernels like flashing ROMs, except you don't have to factory reset your phone. However, if you are official CM12.1 nightly, you will have to flash the kernel differently (if you want to flash my old unsigned builds).
Method A: If you get signature verification errors, you need to sign the zip with a program like Sign-em or Sign+.
Method B: To flash this kernel on official CM12.1 nightly, you first need to flash Philz recovery on your phone via ODIN. Here is the link to the for philz recovery: Philz Touch Recovery After that, you can flash the kernel like normal.
Method C: Another way is to create a kernel .tar file by extracting the zimage file located in /boot folder of the kernel zip then create a .tar archive. Then flash it in ODIN. Here is the guide to create your own kernel tar file: http://forum.xda-developers.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381 For your convenience, I've create a tar file of build b002 in the guide linked.
Q: Which kernel version build should I flash?
A: Flash the latest stable version if you want the most stable experience. Beta builds will always have the latest features and should be fine to use as a daily driver. Stable builds have been thoroughly tested for issues, but are usually older than current builds. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.
Q: Which app should I use to tweak the kernel?
You should only use stweaks to tune DorimanX kernel.
Q: Can I use isorec recovery on DorimanX kernel?
A: Yes you can. All important information was covered in the OP already!
Q: Why should I flash your builds when the last 'real' unofficial build was v008?
A: If you don't want to enjoy awesome features that improve the experience of dorimanx kernel, then it doesn't worry me. Real or not, I don't build kernels to have bad battery life, bad stability and etc. This is my personal build of dorimanx kernel!
Q: Wifi doesn't work after I flash this kernel
A: There are several possible causes to this issue, there could be a problem with your:
- Partitions OR
- Permissions OR
- Gapps OR
- ROM OR
- Compatibility with your wifi hardware
Don't use a pit with modded preload! It will just cause issues with ROMs and Kernels. Use stock pit or use a pit with unmodded preload. Sometimes, the gapps package you flash somehow breaks compatibility with the kernel. You can fix this by flashing a different gapps (making sure to clean cache and dalvik). If you have permissions problem, you can fix this by repartitioning your internal sd card or by reflashing back to stock rom. Sometimes, the ROM doesn't fully support the wireless drivers in the kernel, this can be solved by flashing a different ROM or different kernel. But if your wifi hardware is not compatible (a way to tell this is when you have tried everything and failed), there is nothing you can do but reflash the rom or flash a different kernel.
Q: I came from a different custom kernel that used Stweaks, now the app has issues
A: Every time you come from a different custom kernel with stweaks support, make sure to wipe cache and dalvik cache after install dorimanx kernel
Q: My battery life sucks after flashing this kernel!
A: Download and install Betterbatterystats and see what is the culprit to your problem. If it is kernel related, have you made sure you have wipe cache and dalvik and reset stweaks settings? If yes, it would be nice if you posted a logcat.
Q: How do I get a logcat for the kernel?
A: In stweaks, go to BUG-REPORT and tap on KERNEL-BUG.
Q: Why do I get bootloops with this kernel?
A: If you were on a working version on dorimanx before, there is probably something wrong with the installation. Sometimes, bootloops can occur due to corruption of the kernel zip file (usually from bad download) or from corrupted partitions.
Q: What do all of the settings mean? They are all confusing!
A: Please note that DorimanX kernel isn't for users who have just rooted their device. Before jumping into the custom kernel world, try playing around with other kernels first. Once you think you have some experience, read the stweaks beginners guide I made and then attempt to tweak the kernel using stweaks.
Q: How do I trim my partitions?
BEWARE: Make sure you have read all of the precautions before attempting to trim your partitions!
A: install the trimmer app from the playstore. App link . Check for all 3 partitions, and tap on run. grant root access. the 3 fstrim operations should be successful ("partition was trimmed" means success).
alternatively, instead of using trimmer you can run one of these commands (these are better because they also trim /preload):
# on the phone in the terminal app:
su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
# on your PC if you are connected to the phone via adb:
adb shell su -c "fstrim -v /system; fstrim -v /data; fstrim -v /cache; fstrim -v /preload"
reboot.
Click to expand...
Click to collapse
Q: My device is (hard) bricked after flashing your kernel!
A: Have you read all of the precautions before installing the kernel? You made the decision to flash the kernel and now you've stuffed up your phone.
Q: I get constant FCs after flashing your kernel!
A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice
Q: How do I use dual boot?
A: There are many guides on how to dual boot roms using dorimanx kernel. Just use the search function on XDA or GOOGLE it!
Q: What's a good combination for CPU governor and I/O scheduler?
A: Have a look at the default settings, they are optimised for our phone
However, here are some settings I recommend:
CPU Governor: HYPER/zzmoove/Darkness
I/O Scheduler: CFQ/BFQ/ZEN/Deadline/SIO
Q: Why does the screen turn blank after the dorimanx logo appears during the boot process?
A: If your kernel doesn't bootloop, but the screen remains blank, there is a good chance that the ROM that you've used uses an older version of GPU drivers (Mali). This kernel only support ROMs with Maliv3 support. If you flash this kernel on MaliV2 or MaliV1 only roms, you will get a blank screen after flashing. To fix this, flash to the kernel the corresponds to your mali driver version and you should get your display back.
Q: What is a TCP algorithm?
A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.
Q: What is a toolchain?
In software, a toolchain is the set of programming tools that are used to create a product (typically another computer program or system of programs). The tools may be used in a chain, so that the output of each tool becomes the input for the next, but the term is used widely to refer to any set of linked development tools.
A simple software development toolchain consists of a compiler and linker to transform the source code into an executable program, libraries to provide interfaces to the operating system, and a debugger. A complex product such as a video game needs tools for preparing sound effects, music, textures, 3-dimensional models, and animations, and further tools for combining these resources into the finished product.
Click to expand...
Click to collapse
Q: What is UBER?
A: After years of using different custom toolchains like Linaro and SaberMod, I found there were things I liked about both of them but also things that didn't sit quite as well with me. SaberMod always seemed to have UI lag (especially in scrolling) but opened apps well and Linaro always seemed to be buttery smooth but had terrible app opening speed. Linaro battery was also worse for me than SaberMod. After going back and forth between toolchains I finally had this epiphany! Why not just take all of the best parts of all toolchains and merge them into one? So I began bringing up my own toolchain from gnu.org. At first I patched in all of the AOSP toolchain pactches (much like how SaberMod did it originally however it is important that you realize that No! I did not copy and paste SaberMod into my source I'm simply stating that I used their idea of merging aosp into gnu.org) to my source. Then I went through and added all of the linaro patches that I could to the source. I also made sure that I had the very latest of every toolchain component. I then made very minimal changes to the aosp toolchain build folder to allow for building with these newer toolchain components and UBERTC was born!!! (Note: both Linaro and SaberMod both made lots of modifications to the toolchain build folder, UBERTC is the closest to the aosp build process)
Click to expand...
Click to collapse
Q: What is Linaro?
Linaro is the place where engineers from the world's leading technology companies define the future of Linux on ARM. The company is a not-for-profit engineering organization with over 120 engineers working on consolidating and optimizing open source software for the ARM architecture, including the GCC toolchain, the Linux kernel, ARM power management, graphics and multimedia interfaces.
Click to expand...
Click to collapse
let me try your kernel, btw where is download link ?
haris1976 said:
let me try your kernel, btw where is download link ?
Click to expand...
Click to collapse
I'm still building it right now. Will upload soon, will have my features from my personal builds on top of lysergic acids fixes.
First build up. Can't test since I'm on kitkat rom right now. Will update to LP when I have the chance to.
Ah man...... Here It is, great can you make a non trim version, pretty plsí*½í¸Š
NoctisBlade said:
Ah man...... Here It is, great can you make a non trim version, pretty plsí*½í¸Š
Click to expand...
Click to collapse
I'm not on my PC right now. Probably will upload new build tomorrow (running out of space in my build machine). Would be great if someone reports the issues they encounter and what's working.
Great to see a dedicated thread for Dorimanx Kernel for S2's lollipop support.....Subscribed and will be testing whenever I get time....Great job man....Good luck....
I tried it so far both on SlimLP and Omni and failed to boot on both. Bootloop on SlimLP and stuck on boot on Omni. Gonna keep on testing though.
Edit: Managed to boot on CM12.1 finally. Let's see how it goes.
kostelo said:
I tried it so far both on SlimLP and Omni and failed to boot on both. Bootloop on SlimLP and stuck on boot on Omni. Gonna keep on testing though.
Edit: Managed to boot on CM12.1 finally. Let's see how it goes.
Click to expand...
Click to collapse
Only cm12.1 ramdisk was merged. I'm working with lysergic acid and hopefully warrior to get it working on more roms.
little report about dualboot
Hi all, i quoted myself and about what i have done.
maybe that can help for more test, i found one rom that dualbooted, didnt test another for now.
And , i forgot to add yesterday that sdcard (int card) wasnt mounted when i ran 2nd LP rom.
thanks.
Troubadour666 said:
Hi @Lysergic Acid, sory for OT, little report about DUALBOOT i gave a try about it right now
i was on SlimLP build#12 from @warrior1208, runing Apolo 8 beta9 EXTv2.
i backuped SlimLP and formatted cache/dalvik/data
then i flashed pac_i9100_LP-MR1.Beta-2.Unofficial_20150628-122342 , new release from @phenomarc.
i rebooted the rom with his stock kernel and let it run 15min.
then, reboot recovery and i flashed your DORIMANX LP version and rebbot, the pac_i9100_LP-MR1.Beta-2 booted fine.
then , i rebooted again recovery (STANtrc) and restored the previous build from @phenomarc with my TBO black modified i have , on 2nd rom space i have kept with old SPIRIT 4.4.4, and rebooted .
At boot, this time i choose 2nd rom , and 2nd rom booted !
Thanks , You save dualboot for US , Man , ITS ENORMOUS
Click to expand...
Click to collapse
Lysergic Acid said:
Good to know that feature is already working mate, I had no clue about that honestly, cause the ramdisk for that needs two inits, two fstabs, etc
Click to expand...
Click to collapse
Troubadour666 said:
Hi all, i quoted myself and about what i have done.
maybe that can help for more test, i found one rom that dualbooted, didnt test another for now.
And , i forgot to add yesterday that sdcard (int card) wasnt mounted when i ran 2nd LP rom.
thanks.
Click to expand...
Click to collapse
@Troubadour666 can u give me link ROM from PAC_I9100_LP-mr1
haris1976 said:
@Troubadour666 can u give me link ROM from PAC_I9100_LP-mr1
Click to expand...
Click to collapse
http://www.darksideteam.com/threads/2010-5-0-2-UNOFFICIAL-SABERMOD-PAC-MAN-ROM-5-0-la-ROM-definitiva
No idea which language it is.
Dori for LP on S2, didn't see that coming, but will test asap with Slimsaber LP, and check if it works. Pedestre stopped apolo development and gustavo's kernel is also kinda dead so it's the only one left.
Don't drop it please!
Facuu said:
Dori for LP on S2, didn't see that coming, but will test asap with Slimsaber LP, and check if it works. Pedestre stopped apolo development and gustavo's kernel is also kinda dead so it's the only one left.
Don't drop it please!
Click to expand...
Click to collapse
It won't boot on Slimsaber LP at the moment, only CM12.1 based ROM, ramdisk incompatibility.
Edit : Apolo 8 beta 9 Omni boots slimsaber fine by the way, sorry didn't mean to speak of another kernel here.
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
I9100 Tapatalk, DU AOSP 5.1.1 Lollipop
089man said:
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
I9100 Tapatalk, DU AOSP 5.1.1 Lollipop
Click to expand...
Click to collapse
CWM 6.0.4.8
CM12.1 roms (RR,bliss....)
089man said:
Sorry for stupid question... Is this twrp based?
Or is that complete other?
Works for AOSP roms, right?
Click to expand...
Click to collapse
It's indeed for AOSP ROMs It's CWM based. I'm currently using it with CM12.1 by @Lysergic Acid.
EDIT: Oops, you beat me to it, @NoctisBlade. Perhaps what I can add is that so far I've been having great stability and battery life.

[KERNEL] (18-FEB) GoogyMax-G4 [MM LG 1.7 /CM13 1.7.1a] (Linux 3.10.96 / GCC Linaro)

This kernel is for LG G4 H815 ONLY !!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features :
GoogyMax Kernel for LG Firmwares
- Based on 20A LG MM Sources and synced with V20D source drop
- Updated ramdisk to V20D
- Patched to latest Linux 3.10.96
- Compiled with toolchain gcc Linaro 4.9.3
- Auto-root included
- Busybox included
- ExFAT support
- Dynamic FSync support
- SELinux set to permissive
- A lot of changes and tweaks for better performance & battery life
GoogyMax Kernel for CM13
- Based on latest cyanogenmod kernel sources
- Patched to latest Linux 3.10.96
- Compiled with toolchain gcc Linaro 4.9.3
- ExFAT support
- Dynamic FSync support
- SELinux set to permissive
- A lot of changes and tweaks for better performance & battery life
- MORE TO COME ...
Thanks :
The Beta Team : @FadeFx
- LG : For the code source
- Cyanogenmod : For the source code
- All the talented devs I cherry-picked their commits (Proper credits in my github)
- @qrashers for the Googy-Max Kernel logo & user / betatester signatures
- THE WONDERFUL XDA COMMUNITY !!!
Sources : https://github.com/googyanas/GoogyMax-G4
Signature for users :
Kernel for LG firmware - Downloads & Changelogs
GOOGYMAX KERNEL FOR LG Firmware​
[14-FEB] Version 1.7 :
~ all details and credits in github ~
- fs: implement Dynamic FSync 2.0 (thx andip71)
- fs: disabled Async FSync
- various tweaks (mmc - thermal - devfreq - fs writeback)
[05-FEB] Version 1.6 :
~ all details and credits in github ~
- Patched to latest Linux 3.10.96
- cpufreq: cpuboost little tweak for more battery saving
To all GoogyMax kernel users: If you're tempted by disabling logd service to fix battery drain, you should know that it's not necessary with GoogyMax kernel as it was already disabled since some versions ago !
[29-JAN] Version 1.5 :
~ all details and credits in github ~
- fs: Asynchronous Fsync from HTC
- arm64: memory utilities optimization
- various patches to gain more smoothness (cpufreq, block, lowmemorykiller ...)
- Updated ramdisk to V20D
[25-JAN] Version 1.4a :
~ all details and credits in github ~
- Fixed and tested Bluetooth & FM Radio & Exfat
[24-JAN] Version 1.4 :
~ all details and credits in github ~
- WORKING NATIVE EXFAT SUPPORT :good: :good:
- Patched to latest Linux 3.10.95
- Completely disabled ZRAM, ZSMALLOC & SWAP
- random: boost entropy
- wireless: reduce wakelocks by /4
- gcc: tune flag for big.Little architecture
[22-JAN] Version 1.3 :
~ all details and credits in github ~
- Synced with LG v20d source drop :good: :good:
- Some patches to reduce lags & improve battery life (cpufreq, thermal)
- cpufreq: disable cpufreq_waver (removed anyway by v20d)
- devfreq: Use high priority workqueue
- arm64: add seccomp support
- arm64: add ARM64_ERRATUM_843419
- arm64: add support ARCH_SUPPORTS_ATOMIC_RMW
- mm: increase VM_MIN_READAHEAD from 16 to 32
[28-DEC] Version 1.2 :
~ all details and credits in github ~
- finally fixed MM lags and slowdowns ( + back to same battery life as with lollipop !!! ) :good: :good: :good:
- fs: hopefully fixed exFat support
NO MORE NEED TO DOWNGRADE TO LOLLIPOP !!! ( at least for me )
[24-DEC] Version 1.1 :
~ all details and credits in github ~
- block: update bfq to v7r8 and made it default scheduler
- fs: add exFat support
- sched: enable autogroup
- defconfig: disable ZRAM completely
- cpufreq: Introduce new relation for freq selection
- cpufreq: tune cpu & gpu target load values
- defconfig: include all tcp congestion modes
- defconfig: (experimental) enable display DFPS & VSYNC_SKIP
[14-DEC] Version 1.0 :
~ all details and credits in github ~
- Based on 20A LG MM Sources
- Patched to latest Linux 3.10.94
- Compiled with toolchain gcc Linaro 4.9.3
- Auto-root included
- Busybox included
- SELinux set to permissive
- A lot of changes and tweaks for better performance & battery life
PLEASE DO NOT MIRROR !!!
Kernel for CM13 - Downloads & Changelogs
GOOGYMAX KERNEL FOR CM13​
[18-FEB] Version 1.7.1a :
~ all details and credits in github ~
- fixed flashlight button disappearing from notification drawer
[16-FEB] Version 1.7.1 :
~ all details and credits in github ~
- updates from lg v20d source (time - sched - soc - camera_v2 - leds - thermal - clk - hwmon - dts ...)
- some minor tweaks
[14-FEB] Version 1.7 :
~ all details and credits in github ~
- fs: implement Dynamic FSync 2.0 (thx andip71)
- fs: disabled Async FSync
- various tweaks (mmc - thermal - devfreq - fs writeback)
- updated ramdisk to 14feb build
[05-FEB] Version 1.6 :
~ all details and credits in github ~
- Based on latest cyanogenmod kernel sources
- Patched to Linux 3.10.96
- Synced with GoogyMax 1.6 (all patches and tweaks included)
PLEASE DO NOT MIRROR !!!
thanks . but flash how? twrp and that all? wipe something after? etc etc
shudoha said:
thanks . but flash how? twrp and that all? wipe something after? etc etc
Click to expand...
Click to collapse
It's a zip flashable via twrp. No wipe needed. Just flash and enjoy
Envoyé de mon LG-H815
Happy to see you here friend, excellent news!!! I will test it. Any project to make an AOSP kernel?
Thanks a lot
sayou94 said:
Happy to see you here friend, excellent news!!! I will test it. Any project to make an AOSP kernel?
Thanks a lot
Click to expand...
Click to collapse
We got there already? [emoji14] Surely aosp kernel will come but only when cm13 is mature enough.
Envoyé de mon LG-H815
googy_anas said:
We got there already? [emoji14] Surely aosp kernel will come but only when cm13 is mature enough.
Envoyé de mon LG-H815
Click to expand...
Click to collapse
Thanks friend, I want to flash AOSP rom but i need a solid custom kernel for it. I used your kernel for the note 4 and it was excellent!!!!
Hey googy: Noticed a bug with my external sd-card. Don't know how the phone is formatting the sd-card, but even formatting several times, it won't get recognized. Default kernel is fine. Guess, it will get formatted as exFAT and maybe you (currently) don't have exFAT included? Am I right?
Thanks anyways for your time and all the things in the past. I really appreciate your work.
P.S.: Don't mind my signature. I am on 20B .
Hey welcome here. I used your kernel on sgs3
:good: cheers
MickyFoley said:
Hey googy: Noticed a bug with my external sd-card. Don't know how the phone is formatting the sd-card, but even formatting several times, it won't get recognized. Default kernel is fine. Guess, it will get formatted as exFAT and maybe you (currently) don't have exFAT included? Am I right?
Thanks anyways for your time and all the things in the past. I really appreciate your work.
P.S.: Don't mind my signature. I am on 20B .
Click to expand...
Click to collapse
Thanks for taking the time to try the kernel.
Exfat isn't included yet but is planned for next release
Envoyé de mon LG-H815
Excuse me guys, please re-download 1.0 version as I just corrected a little problem affecting some modules loading (mainly bluetooth ...)
Another kernel wow thank you!
Future come faux sound support?.
Would this work on a Lollipop based ROM at all? Or does it have to be MM?
Adam86 said:
Would this work on a Lollipop based ROM at all? Or does it have to be MM?
Click to expand...
Click to collapse
Considering the sources are 20A which is MM, there's your answer
Trying it out but gives to much battery drain.
Will wait for a new release more optimized and with more features.
Keep the good work.
patalao said:
Trying it out but gives to much battery drain.
Will wait for a new release more optimized and with more features.
Keep the good work.
Click to expand...
Click to collapse
Sorry to hear that, but I am getting opposite results as my battery lasts noticeably longer with same usage.
Please check your init scripts or tweaks and consider checking after at least one charge cycle
Envoyé de mon LG-H815
I`m using Genisys 3.4 with superxe kernel,with no scripts and the only mods are greenify,powernap.
I just installed your kernel and wiped cache and dalvik.
But i`ll give it another try on your next update.
Thanks for bringing another kernel for our phones.
Actually @BySezerSimsek in Genisys Rom uses LS scripts. They are from L SPEED. I am using the same firmware.
I know, but I deleted them all

[KERNEL] [OOS] SimpleGX v6.4 (August 13)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel is for Oneplus 5T (dumpling)
Code:
You will NOT void your warranty after flashing this kernel.
Be sure to make all necessary backups first before processing to installation.
I'am not responsible of any damage caused to your device or data lost after flashing this kernel.
Of course, these are only basic warnings ! but generally you'll not get any problem :)[/COLOR][/FONT]
Some reading..
Welcome to SimpleGX kernel ! a kernel that aims for simplicity, stability, better performance, smoothness and battery life over a pure stock kernel.
This kernel is designed for people who are (like me) bored to flash kernels which integrate tons of unneeded things.
Main goals of it is to stay MUCH closer to stock than every kernels shared here and almost not to be a “custom kernel” on its own. So beware, no exotic stuffs here !
No need for any third app or whatever to control this kernel. Just "flash-n-joy" ! this is how I always liked thing.
Keep in mind that this kernel has been designed for my daily use first.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing. So, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official Oneplus 5T OxygenOS (OOS) ROM !
Feel free to include my kernel to your ROMs / threads but please don't forget to inform/ask first via PM and credit me properly in your original thread. It's always appreciated.
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Slightly better battery life
Slightly better performance
Include only efficient (but definitely not experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Always directly based from latest available "android_kernel_oneplus_msm8998" Android Nougat/Oreo/Pie source from Oneplus5T OxygenOS (for clean work)
Compiled with stock Google (4.9.x / aarch64-linux-android) toolchain (for best stability)
Featuring AnyKernel3 (for all ramdisk compatibility)
Stock Linux
Main :
Kernel logger disabled
Very few fixes/optimizations patches for stock interactive governor
Completely optimized stock 'cfq' I/O scheduler
All TCP congestion control modules activated with Westwood currently as default
mmc/core: disabled CRC check
Disabled CC_OPTIMIZE_FOR_SIZE
tcp_output: set initial TCP window size to 64K
fs: default to noatime
Decrease BCL low battery threshold to 5%
WireGuard support (thanks to @zx2c4)
Xbox controller (and other USB pads) support
Dash Charge support
Removed verify and forced encryption + patched SafetyNet flags to pass CTS
Disabled suspicious OnePlus services and logging
Some miscellaneous tweaks, fixes, patches and security patches
Various tweaks :
Full changes to be discovered directly in my Github source below
Features that will NEVER be included in this kernel :
adding any other governor/IO schedulers than those stock
root/busybox auto-installation
CPU/GPU overclocking/undervolting
KCAL
adreno idler
state_notifier
any upstream of Linux kernel
dual-boot
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
An Android Nougat/Oreo/Pie firmware (based on OxygenOS)
A custom recovery (TWRP recommanded), to flash the kernel
Optional : to control some kernel tweaks, you can install Kernel Adiutor)
★ SOURCE (up-to-date) ★ :​
SimpleGX (normal version)
SimpleGX (ALS version)
★ INSTALLATION PROCEDURE ★ :​
Backup everything you need (internal & external)
Unlock your bootloader
Flash your favorite TWRP recovery
Reboot to TWRP
Wipe both cache & dalvik partitions
Flash your full usual ROM/firmware (optional if you did not flashed any other custom kernel)
Flash SimpleGX kernel
Flash root (Magisk recommended but should work with SuperSU also)
Reboot and enjoy !
★ Frequently Asked Questions (FAQ) ★ :​
How can I update my SimpleGX kernel version ?
- Nougat: Just make a dirty flash over it. If there is a special thing to do, then it will be precised directly into the announce.
- Oreo/Pie: flash kernel and root right after (otherwise your device won't boot).
How can I go back to stock kernel ?
Just flash back your full usual rom/firmware back (flashing stock kernel is not enough since it does not brings stock modules back to the rom/firmware).
Is there a LineageOS (LOS) version of you kernel ?
No, and there won’t be any this time on OP5T.
Is your Oreo/Pie version compatible with custom ROM's (8.1.x) ?
No, only official OOS Oreo/Pie.
My battery is draining like hell, what's wrong ?
As @nathanchance perfectly said for his kernel: "The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone".
Also, generally, I remarked that wiping cache+dalvik between updates may drain a lot for the percentage left and the first cycle. Anyway, be sure to make at least two full cycles (from 100% to 0%) before judging battery life for any kernel.
How to recover excellent battery life ?
Check my personal tips HERE.
★ for OnePlus 5T ★
/!\ PLEASE DO NOT MIRROR MY DOWNLOADS /!\​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below). It's always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​
CHANGELOG
★ CHANGELOG ★ :​
13.08.2019 : v6.4 released.
Synchronize codes for OxygenOS 9.0.8 (Android Pie / 9)
26.07.2019 : v6.3 released.
Synchronize codes for OxygenOS 9.0.7 (Android Pie / 9)
Updated Anykernel3 to latest version
Updated WireGuard to latest version (20190702)
11.06.2019 : v6.2 released.
Synchronize codes for OxygenOS 9.0.6 (Android Pie / 9)
Upgrade from AnyKernel2 to AnyKernel3
Updated WireGuard to latest version (20190601)
22.05.2019 : v6.1 released.
Synchronize codes for OxygenOS 9.0.5 (Android Pie / 9)
Updated Anykernel2 to latest version
Updated WireGuard to latest version (20190406)
(slightly ) updated Google GCC 4.9 toolchain
06.01.2019 : v6.0 released.
Synchronize codes for OxygenOS 9.0.1 (Android Pie / 9)
Updated Google GCC 4.9 toolchain
Updated Anykernel2 to latest version
Updated WireGuard to latest version (20181218)
Reverted to built-in proprietary wifi module instead of opensource OOS drivers (not shared to public for now)
All modules are now internal (instead of external) (smaller kernel size)
Kernel logger is now disabled forever
25.10.2018 : v5.6 released.
Synchronize codes for OxygenOS 5.1.6
Updated WireGuard to latest version (20181018)
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
23.08.2018 : v5.5 released.
Synchronize codes for OxygenOS 5.1.5
Updated WireGuard to latest version (20180809)
Updated Anykernel2 to latest version
28.07.2018 : v5.4 released.
Synchronize codes for OxygenOS 5.1.4
Updated WireGuard to latest version (20180718)
Updated Anykernel2 to latest version
ak2: add a warning to not forget to flash Magisk right after flashing kernel (in order to boot)
27.05.2018 : v5.3 released.
Synchronize codes for OxygenOS 5.1.2
Updated WireGuard to latest version (20180524)
Updated Anykernel2 to latest version
17.05.2018 : v5.2 released.
WiFi: migrated from OOS proprietary module to OOS opensource
Fixed (again) delayed notifications issue
Updated WireGuard to latest version (20180514)
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
26.04.2018 : v5.1 released.
Synchronize codes for OxygenOS 5.1.1
Updated WiFi proprietary module from OOS 5.1.1
Updated WireGuard to latest version (20180420)
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.1.1 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
19.04.2018 : v5.0 released.
Directly based from latest available 5.1.0 Oreo (8.1) OOS kernel source from OnePlus
Updated WiFi proprietary module from OOS 5.1.0
Updated simplegx_defconfig to match latest 5.1.0 OOS needs
Updated WireGuard to latest version (20180413)
Removed fixed notifications delay tips from joshuous (useless on 8.1)
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.1.0 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
Previous releases changelog...
08.04.2018 : v4.2 (ALS) updated.
Linux-stable updated to 4.4.127
Updated Anykernel2 to latest version
Compiled with latest updated Google GCC 4.9 toolchain
04.03.2018 : v4.2 (ALS) updated.
Linux-stable updated to 4.4.120
02.03.2018 : v4.2 (ALS) released.
Introducing ALS (Android Linux Stable) version (same as original v4.2 with linux-stable merged in) - big thanks to @nathanchance
Linux-stable updated to 4.4.119
28.02.2018 : v4.2 released.
Synchronize codes for OxygenOS 5.0.4
Update WiFi proprietary module from OOS 5.0.4
Updated WireGuard to latest version (20180218)
Updated Anykernel2 to latest version
13.02.2018 : v4.1 released.
Fixed notifications delay (credits @joshuous)
Disabled suspicious OnePlus services and logging (credits @joshuous)
07.02.2018 : v4.0 released.
Directly based from latest available 5.0.3 Oreo OOS kernel source from OnePlus.
Compiled with latest updated Google GCC 4.9 toolchain
Updated Anykernel2 to match latest version available
Exact same features from Nougat version excepted the following:
- Updated WiFi proprietary module from OOS 5.0.3
- Stock Oreo defconfig merged with SimpleGX needs
My github will now feat 2 branchs for both respective Nougat and Oreo versions.
Nougat versions will always now be 3.xx and Oreo 4.xx.
Important note: due to added wifi proprietary module, it is highly recommanded to be flashed only on OOS 5.0.3 (please do not complain if wifi is not working if you are on any another OOS version from this). It is also recommanded to flash full stock OOS firmware before flashing kernel and finish by Magisk (otherwise you may face infinite boot at oneplus logo).
19.01.2018 : v3.2 released.
Fixed a little mistake from myself from v3.1 about trying to update WireGuard (thanks to @nathanchance & @zx2c4 for their precious helps)
Updated Anykernel2 to match latest version available
18.01.2018 : v3.1 released.
Updated WireGuard to match latest version available
Updated Anykernel2 to match latest version available
Update build script
16.01.2018 : v3.0 released.
Updated Anykernel2 to match latest version available
Kernel completely rebuilded from zero (again)
Removed all added arm64, cpuidle, etc commits. This version is now even more close from stock than ever (check github for changes or first post for actual features)
Also removed the following:
- Wakelocks control support
- MAPLE I/O scheduler added (and set as default)
- Very few compilation optimizations
10.01.2018 : v2.4 released.
Added some new arm64 patches
Updated Anykernel2 to match latest version available
04.01.2018 : v2.3 released.
Enable back stock Adaptive LowMemoryKiller
03.01.2018 : v2.2 released.
Add some new optimizations/fixes interesting commits (check github for changes)
01.01.2018 : v2.1 released.
Add WireGuard support
31.12.2017 : v2.0 released.
Kernel completely rebuilded from scratch (cleaner github separate commits also)
Completely thinked and reworked from zero (many commits removed, to keep only efficient ones and be more close to stock than ever)
Add some new optimizations/fixes interesting commits (arm64, cpuidle, etc)
Synchronize codes for OxygenOS 4.7.6
Updated Anykernel2 to match latest version available
Removed franciscofranco wakelocks implementation to move up to Boeffla one (only safe wakelocks are now blocked by default)
Removed old github wifi OP5 OOS implementation to now include stock proprietary OOS OP5T wifi module, and load it correctly
Switch back to stock 'O2' optimizations (instead of 'Ofast')
13.12.2017 : v1.7 released.
Revert "sched: Disable gentle fair sleepers"
DTS: Decrease BCL low battery threshold to 5%
11.12.2017 : v1.6 released.
Makefile: enable 'Ofast' optimizations
sched: Disable gentle fair sleepers
Updated Anykernel2 to match latest version available
Compiled with latest updated Google GCC 4.9 toolchain
08.12.2017 : v1.5 released.
Synchronize codes for OxygenOS 4.7.4
01.12.2017 : v1.4 released.
defconfig: Disable SEEMP support
Revert "Correctly unregister usb_psy"
Revert "kgsl: convert some workqueues to use kthreads"
Revert "kgsl: Increase priority of RT thread"
29.11.2017 : v1.3 released.
Correctly unregister usb_psy
Updated Anykernel2 to match latest version available
Revert "cpufreq: interactive: fix to come out of hysteresis mode"
Remove (broken) USB Fast Charge implenetation, for now
27.11.2017 : v1.2 released.
kgsl: Increase priority of RT thread
kgsl: convert some workqueues to use kthreads
cpufreq: interactive: fix to come out of hysteresis mode (ported from OP5 to OP5T by me)
power: qpnp-fg-gen3: queue work on system_power_efficient_wq (ported from OP5 to OP5T by me)
kernel version: add android codename version (as a future Oreo build will be made, it will be easier to discern kernel versions in infos)
25.11.2017 : v1.1 released.
Fixed brightness problem which wasn't really going to 100% (but was stuck at 30% approx).
Removed backlight dimmer useless option
25.11.2017 : v1.0 released.
Initial release (check actual features)
Thanks & greetings
★ THANKS & GREETINGS ★ :​
(by alphabetic order)
Lord Boeffla
osm0sis
. . . and of course to all talented devs credited in my commits!
DONATIONS
★ DONATIONS ★ :​
Many thanks @morback :good:
Many thanks Henry P. :good:
Many thanks @marko94 :good:
Many thanks @kgs1992 :good:
Many thanks @MrPepperino :good:
Many thanks @xrelic7 :good:
Many thanks @Robustuck :good:
Thank you to support my work ! :highfive:
RESERVED
Reserved.
Thanks will try it once the phone arrives. Love to see development starting
Thanks for this, I always prefer the near-stock experience with some much-needed tweaks. Flashed it on 4.7.2, boots fine, looks very smooth for now!
Keep up the good work!
Welcome to the party sir..! Look forward to your subtle and simple kernels builds..!
Welcome :highfive: i am happy to say that the most stable kernel was yours (op5) and great battery life thanx
Nice to see a new Kernel.
Thanks for your hard work!
Did you include any additional wake-up gestures?
Bug so far: Wifi disabled
Fixed
Not sure if I'm the only one or not, but it seems that I'm no longer able to adjust the brightness after installing your kernel. Other then that, everything else looks to be running pretty good.
xocomaox said:
Did you include any additional wake-up gestures?
Click to expand...
Click to collapse
Nope, sorry. I would like to stay as stock as possible, I prefer to let this kind of functions to real custom kernels
DocRambone said:
Bug so far: Wifi disabled
Click to expand...
Click to collapse
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
thephoenixvampire said:
Not sure if I'm the only one or not, but it seems that I'm no longer able to adjust the brightness after installing your kernel. Other then that, everything else looks to be running pretty good.
Click to expand...
Click to collapse
No problem also, just tried to slide from min to max and all is fine (progressive), tried with automatic brightness ON and OFF. Same as above, can you try to flash stock kernel/firmware back and then flash my kernel ? :highfive:
AndroidGX said:
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
Click to expand...
Click to collapse
Yes, restored stock kernel and installed yours after an reboot fixed the bug
Tried to flash this kernel over oos and freedom room and keep getting error 1. What am I doing wrong?
NickMidd91 said:
Tried to flash this kernel over oos and freedom room and keep getting error 1. What am I doing wrong?
Click to expand...
Click to collapse
Probably a bad download, check MD5 to be sure that it corresponds before flashing :good:
AndroidGX said:
Nope, sorry. I would like to stay as stock as possible, I prefer to let this kind of functions to real custom kernels
Strange, no problem of WiFi here, just tried to turn ON and connect to my home wifi and connected with success, internet test = OK :good:
Do you directly comes from another kernel ? (I would say blu_spark since we are only 2 for now on OP5T). I recommand you to revert back to stock kernel before flashing mine, and then re-test.
No problem also, just tried to slide from min to max and all is fine (progressive), tried with automatic brightness ON and OFF. Same as above, can you try to flash stock kernel/firmware back and then flash my kernel ? :highfive:
Click to expand...
Click to collapse
Your kernel was installed within 20 minutes of pulling my op5t out of the box, unlocking, and installing TWRP. I'll go ahead and do another full wipe/data format, see how that goes.
AndroidGX said:
Probably a bad download, check MD5 to be sure that it corresponds before flashing :good:
Click to expand...
Click to collapse
I tried it twice man and I'm flashing it on twrp like I would have on the op5 but only on the op5t. I even downloaded it twice.
Up and running smoothly. Great work!
Edit: No Wifi issues, but I have noticed that the brightness is the same from 25-100% and does not change.

[Kernel][9.0] Argon kernel v16.1

Argon kernel, for Android 8.1 & 9.0 ROM's (bacon).
Disclaimer:
use this kernel at your own risk. Flashing it without any knowledge of what you're doing may brick your device. I'm not responsible for any software/hardware damage.
Argon v11 is the last version for Oreo! Starting from v12 only Pie is supported.
Changelog:
v16.1 (August 11th)
support for OTG Y cables
minor bug fixes and security patches
Previous releases:
v16 (August 2nd)
kernel code base synced with LineageOS
lots of misc. bug fixes and small improvements
sdfat driver now replaces both vfat and exfat
some f2fs backports
v14 (April 24th)
built with the newest GCC toolchain for ARM
dynamic management of dirty page writebacks
some useless drivers have been removed (this might give us a few additional MB's of RAM)
a couple of improvements for the random number generator driver
IRQ threading is enabled by default (as suggested by Con Kolivas)
v13 (March 31st)
memory bandwidth overclock
lots of small updates and improvements (mainly for the assembly memory routines)
a few updates for the impulse CPU governor
new TCP congestion control algorithm: 'ascarex'
v12 (March 10th)
official Pie support (LineageOS 16 & Lineage-based ROMs)
small bug fixes and misc. tweaks
a few updates for the "impulse" CPU gov
memory management backports from Linux 3.8
lighter kernel (some debugging options have been turned off)
v11 (January 27th)
built with the newest ARM toolchain
power-efficient workqueues have been implemented in a couple of places
minor source updates & fixes
DDR bandwidth boost has been fixed
important updates for Sultan's CPU boost driver
v10.2 (January 19th)
synced with our LineageOS kernel (mainly bug fixes and security patches)
v10.1 (January 12th)
some source updates and bug fixes
v10 (December 29th)
built with the latest GCC 8 toolchain by Arm
some debugging options are disabled (this might slightly improve performance)
lots of small bug fixes and source updates
v9 (December 11th)
zzmoove governor updated to the latest version
boosted L2 cache frequencies
Spectrum support
Sultanxda's simple thermal driver (replaces Intellithermal)
miscellaneous kernel updates, backports and fixes
dynamic fsync has been (temporarily?) removed
v8.1 (November 23rd)
lots of kernel source updates & fixes
exFAT/sdFAT support
new CPU governors: intellimm, yankactive, zzmoove and impulse
dynamix fsync (disabled by default)
v8 (November 4th) - diff against v6:
built with GCC 8
old charging drivers (these are stable and work properly for everybody)
several improvements for the audio drivers, the memory management libraries, the CPU boosting driver, f2fs, zram, etc.
latest sdcardfs fixes from Google
Intellithermal (with configurable throttling threshold)
latest security fixes
CPU overclocking (disabled by default)
updated bricked hotplug
UKSM with automatic toggling (wip, it's not fully working as of now)
async fsync for ext4 and f2fs
v7.7 (October 23rd)
rebased on top of v7 + all the extra changes of v7.6
msm_hotplug removed (bricked is the default hotplug)
v7.6 (October 23rd)
completely rebased on top of Argon v6.1 (which seems to be the latest stable release) + the following changes
built with GCC 8.2
MSM hotplug enabled by default
cpu_input_boost improvements
latest sdcardfs updates
several other security fixes and improvements
v7.1, v7.2, v7.3, v7.4, v7.5 (October 10th - 11th - 15th - 16th - 17th)
stability fixes
v7 (October 9th)
msm_hotplug replaces bricked as the default hotplug
optimizations for msm8974 boards
older charging drivers from LineageOS 14.1 (they seem to fix all charging problems)
some more minor tweaks, fixes and optimizations
v6.1 (September 30th)
mpdecision is replaced by bricked hotplug by default
v6 (September 27th)
stability fixes
AIO optimizations reverted (this fixes filesystem errors for ext4 users)
slimbus overclock
several improvements and updates (for the ext4 fs, the LMK and many other drivers)
charging current interface
cpu_input_boost by Sultanxda (it replaces CAF's cpu_boost)
v5 (September 19th)
zram is supported
AIO optimizations & backports
minor tweaks and updates
v4 (September 15th)
Per-process reclaim
minor updates and improvements (including security fixes)
v3 (September 8th)
DDR bandwidth boost on screen unlock
misc. kernel updates, fixes and improvements
v2 (August 31st)
several secuirty fixes and kernel source updates
f2fs driver updates
new CPU hotplug: bricked hotplug
power-efficient workqueues are implemented in more drivers
v1 (August 24th)
based on idprophecy's kernel, thus it should be compatible with any Oreo ROM
built using QUVNTNM-TC, based on GCC 7.3.x
CPU underclocking (268,8 MHz)
several compiler optimizations enabled
sound contol by franciscofranco
lots of miscellaneous fixes and improvements
sysfs interface for Gentle Fair Sleepers and Arch power
power-efficient workqueues
Downloads
Latest version: here.
Argon kernel on MEGA
Argon kernel on AndroidFileHost
Thanks to:
@idprophecy
@dorimanx
@faux123
@Sultanxda
@CertifiedBlyndGuy
@osm0sis
@franciscofranco
@GalaticStryder
@nikhil18
the LineageOS team
and all the other authors of the hundreds of commits in Argon's github repo!
XDA:DevDB Information
Argon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/argon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 16.1
Stable Release Date: 2019-08-11
Created 2018-08-24
Last Updated 2019-08-11
Reserved
How to set up the charging speed interface in Kernel Adiutor?
First thing, download the attached zip and decompress it. You'll find two .json files in it, place them in your internal storage and open KA. Go in the "Custom controls" tab, tap on the "+" button, choose "Import" and select the first of the files you downloaded, then import the second one too. Done! You can now delete the two files.
Keep in mind that the "0" value means that the standard charging logic will be used, and that the AC charging speed cannot be set to a value lower than 200 mAh, even though the slider allows you to set any value. If you set any value between 1 and 199, the driver will fallback to 200.
working fine with AEX 5.7.
is it compatible with oxygen os blobs or sultan blobs?
Running well for me on AEX 5.7.
antfior93 said:
is it compatible with oxygen os blobs or sultan blobs?
Click to expand...
Click to collapse
Starting from Oreo, all ROMs implement Sultan's camera, thus this kernel only supports Sultan's camera HAL.
New version is available
It's an important updates that brings lots of improvements (mainly "under the hood"), for more info I suggest you to check my Github repo!
Really nice work. Don't want to sound rude or something but is there a chance of getting a Pie build? ?
rolarocka said:
Really nice work. Don't want to sound rude or something but is there a chance of getting a Pie build?
Click to expand...
Click to collapse
Most probably, this kernel already works on Pie
You just need to flash it, then flash the Kernel Permissive Patcher (link - needed to set SELinux to Permissive before booting the OS) and you should be good to go. If you try, let me know the result!
What is the stock setting this kernel comes in? I want to try it but don't want to use root (for now). So I'm wondering what settings are default. Would kinda make this a flash and forget kinda kernel
twowheeler said:
What is the stock setting this kernel comes in? I want to try it but don't want to use root (for now). So I'm wondering what settings are default. Would kinda make this a flash and forget kinda kernel
Click to expand...
Click to collapse
The stock settings are kind of good. Not the best you could get, but close (I'll tweak the default configuration a little more in the future). If you're using idprophecy's ROM you will end up having maple as the default I/O scheduler, while if you're using other ROMs, I'm pretty sure you won't. Anyway, if you flash this kernel, I'm sure you'll benefit from the general improvements I implemented, which do not need any tweak to be enabled.
Works well on following ROMs;
-AOSiP 20180825( Argon v1 )
-TugaPower O25 ( Argon v2 )
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
tamboli007 said:
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
Click to expand...
Click to collapse
I have the same thing on all ROMs based on the LOS core. And this kernel is based, as I understand it, on the LOS core ... For example, with FranoKernel there are no such problems.
tamboli007 said:
Hi i installed it over AEX 5.7 . it works but charging is buggy. Keeps disconnecting and connecting .
Click to expand...
Click to collapse
MrYuraB said:
I have the same thing on all ROMs based on the LOS core. And this kernel is based, as I understand it, on the LOS core ... For example, with FranoKernel there are no such problems.
Click to expand...
Click to collapse
I experience the same issue when using a certain non-original (yet good-quality) cable. The weird thing is that if I charge the phone while it's turned off, it charges perfectly. Anyway, I can try to fix this issue. It shouldn't be difficult. I'll keep you informed.
Good to see you're still contributing for Bacon.
Tomoms said:
I experience the same issue when using a certain non-original (yet good-quality) cable. The weird thing is that if I charge the phone while it's turned off, it charges perfectly. Anyway, I can try to fix this issue. It shouldn't be difficult. I'll keep you informed.
Click to expand...
Click to collapse
Yesterday I tried to send you message, but it is why it is not sent... I agree
I've uploaded a new kernel!
Argon v3 is a small yet important update: it brings DDR bandwidth boost on screen unlock (basically, the RAM bandwidth is boosted when you unlock your phone so that opening an app immediately after waking the device from idle takes less time) and some general fixes & improvements for the kernel. More details are available on Github, as usual
Tomoms said:
I've uploaded a new kernel!
Argon v3 is a small yet important update: it brings DDR bandwidth boost on screen unlock (basically, the RAM bandwidth is boosted when you unlock your phone so that opening an app immediately after waking the device from idle takes less time) and some general fixes & improvements for the kernel. More details are available on Github, as usual
Click to expand...
Click to collapse
I've been loving the Kernel on AEX 5.7, but I've needed to reboot a few times because the screen won't turn on, or the screen has frozen.
Do you think that could be from the default underclock?
@Ruggerxpunk Same issue on my side since V2 version, but I don't have any logs cause I'm not using it at this moment.

[KERNEL] SimpleGX v1.8 (August 06)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel is for Google Pixel 3/XL (blueline/crosshatch)
Code:
You will NOT void your warranty after flashing this kernel.
Be sure to make all necessary backups first before processing to installation.
I'am not responsible of any damage caused to your device or data lost after flashing this kernel.
Of course, these are only basic warnings ! but generally you'll not get any problem :)[/COLOR][/FONT]
Some reading..
Welcome to SimpleGX kernel ! a kernel that aims for simplicity, stability, better performance, smoothness and battery life over a pure stock kernel.
This kernel is designed for people who are (like me) bored to flash kernels which integrate tons of unneeded things.
Main goals of it, is to stay MUCH closer to stock than every kernels shared here and almost not to be a “custom kernel” on its own. So beware, no exotic stuffs here !
No need for any third app or whatever to control this kernel. Just "flash-n-joy" ! this is how I always liked thing.
Keep in mind that this kernel has been designed for my daily use first.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing. So, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official Google Pixel 3/XL firmware !
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Slightly better battery life
Slightly better performance
Include only efficient (but definitely not experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Always directly based from latest available "android-msm-crosshatch-4.9-pie-qpr2" Android source from Google (for clean work)
Compiled with stock Google (4.9.x / CLANG) toolchain with stock LTO/CFI options (for best stability and security)
Featuring AnyKernel3 (for all ramdisk compatibility)
Stock Linux
Main :
Completely optimized stock 'cfq' I/O scheduler
All TCP congestion control modules activated with Westwood currently as default
mmc/core: disabled CRC check
tcp_output: set initial TCP window size to 64K
fs: default to noatime
WireGuard support (thanks to @zx2c4)
Removed verify and forced encryption + patched SafetyNet flags to pass CTS
Some miscellaneous tweaks, fixes, and security patches
Various tweaks :
Full changes to be discovered directly in my Github source below
Features that will NEVER be included in this kernel :
adding any other governor/IO schedulers than those stock
root/busybox auto-installation
CPU/GPU overclocking/undervolting
KCAL
adreno idler
state_notifier
any upstream of Linux kernel
dual-boot
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
An Android Pie firmware
Optional : to control some kernel options, you can install Kernel Adiutor)
★ INSTALLATION PROCEDURE ★ :​METHOD 1 : testing kernel without real flashing
Backup everything you need (internal & external)
Unlock your bootloader (if not already done)
adb reboot bootloader
Extract 'Image.lz4-dtb' from kernel ZIP (SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip)
fastboot boot Image.lz4-dtb
Enjoy ! (but beware.. kernel will be lost after any single reboot!)
METHOD 2 : flashing kernel classically
Backup everything you need (internal & external)
Unlock your bootloader (if not already done)
adb reboot bootloader
fastboot boot twrp-3.2.3-0-blueline.img (or better)
ADB sideload SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip
OPTIONAL (if you want to root the kernel) : ADB sideload Magisk-v18.1.zip (or better)
Enjoy ! (kernel will stay after any single reboot)
★ Frequently Asked Questions (FAQ) ★ :​
How can I update my SimpleGX kernel version ?
- Just make a dirty flash over it. If there is a special thing to do, then it will be precised directly into the announce.
How can I go back to stock kernel ?
Just flash back your full usual firmware back.
Is there a LineageOS (LOS) version of you kernel ?
No, and there won’t be any.
My battery is draining like hell, what's wrong ?
As @nathanchance perfectly said for his kernel: "The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone".
Also, generally, I remarked that wiping cache+dalvik between updates may drain a lot for the percentage left and the first cycle. Anyway, be sure to make at least two full cycles (from 100% to 0%) before judging battery life for any kernel.
How to recover excellent battery life ?
Check my personal tips HERE.
★ for Google Pixel 3/XL ★
/! PLEASE DO NOT MIRROR MY DOWNLOADS /!​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below). It's always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​
XDA:DevDB Information
SimpleGX, Kernel for the Google Pixel 3
Contributors
AndroidGX
Source Code: https://github.com/AndroidGX/SimpleGX-P3-bluecross
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2019-08-06
Created 2019-03-17
Last Updated 2019-08-06
★ CHANGELOG ★ :​
06.08.2019 : v1.8 released.
Source: Synchronize code as of latest August 2019 update
AnyKernel3: update to latest version
03.07.2019 : v1.7 released.
Source: Synchronize code as of latest July 2019 update
AnyKernel3: update to latest version
WireGuard: update to latest version (20190702)
04.06.2019 : v1.6 released.
Synchronize source as of latest June 2019 update
Upgrade from AnyKernel2 to AnyKernel3
wireguard: update to latest version (20190601)
19.05.2019 : v1.5 released.
anykernel2: update to latest version
Revert "cpuidle: don't disable cpuidle when entering suspend"
Revert "binfmt_elf.c: use get_random_int() to fix entropy depleting"
Revert "AIO: Don't plug the I/O queue in do_io_submit()"
07.05.2019 : v1.4 released.
Synchronize source as of latest May 2019 update
anykernel2: update to latest version
revert: printk: Add sys kernel interface to configure linux printk logging (not very useful after all)
07.04.2019 : v1.3 released.
anykernel2: update to latest version
wireguard: update to latest version (20190406)
02.04.2019 : v1.2 released.
Synchronize source as of latest April 2019 update
23.03.2019 : v1.1 released.
anykernel2: update to latest version
anykernel2: fix flashing message at the end (no more need to flash Magisk to boot, unlike OnePlus 5T version)
cpuidle: don't disable cpuidle when entering suspend
binfmt_elf.c: use get_random_int() to fix entropy depleting
AIO: Don't plug the I/O queue in do_io_submit()
17.03.2019 : v1.0 released.
Initial release for March firmware (check actual features)
Thanks & greetings
★ THANKS & GREETINGS ★ :​
Google
nathanchance
flar2
osm0sis
. . .and of course to all talented devs credited in my commits!
Donations
★ DONATIONS ★ :​
Many thanks @Serial Kazama :good:
Thank you to support my work ! :highfive:
RESERVED
Reserved :highfive:
Would work l-speed settings and improve batter/performance more? Also how much battery (SOT) would you say I would gain?
Porogami said:
Would work l-speed settings and improve batter/performance more? Also how much battery (SOT) would you say I would gain?
Click to expand...
Click to collapse
It depends all on yourself - what kind of apps you are using, how you use your phone and so on..
But like a rough estimate. Like 1 hour. 30 mins or 1min
Porogami said:
But like a rough estimate. Like 1 hour. 30 mins or 1min
Click to expand...
Click to collapse
Like @xFirefly93 explained perfectly, everyone has different usage.
Personally with stock kernel I was getting a SOT like ~3h30, now with my kernel I gained 1 hour more.
I'm planning to release soon v1.1 which have very slightly better battery (that I currently experiment) :good:
UPDATE
★ UPDATE ★ :​
23.03.2019 : v1.1 released.
anykernel2: update to latest version
anykernel2: fix flashing message at the end (no more need to flash Magisk to boot, unlike OnePlus 5T version)
cpuidle: don't disable cpuidle when entering suspend
binfmt_elf.c: use get_random_int() to fix entropy depleting
AIO: Don't plug the I/O queue in do_io_submit()
Ok thanks. But one more thing. Would this work with LKT because it didn't work with proton kernel
Porogami said:
Ok thanks. But one more thing. Would this work with LKT because it didn't work with proton kernel
Click to expand...
Click to collapse
"LKT" ?
Nice work. Confirm that battery is much better than stock. No issue. Thanks man.
AndroidGX said:
"LKT" ?
Click to expand...
Click to collapse
That is a magisk module that's like an analoge of BlackenedMod tweaks
luckana said:
That is a magisk module that's like an analoge of BlackenedMod tweaks
Click to expand...
Click to collapse
Not aware of this module, anyway, if there is nothing to add from kernel side, then it should work properly. If not, then it's from rom/firmware/magisk side (which of course I cannot act).
I've tested it and can confirm it works. Good work ?
UPDATE
★ CHANGELOG ★ :​
02.04.2019 : v1.2 released.
Synchronize source as of latest April 2019 update
Enjoy :good:
If I flash this through ek manager, will Magiak be patched?
gvsukids said:
If I flash this through ek manager, will Magiak be patched?
Click to expand...
Click to collapse
I recommend to flash my kernel using my first post instructions, nothing else (althought you can still give a try via EXKM) :good:
You will need to always flash Magisk right after flashing kernel to get root back.
UPDATE
★ CHANGELOG ★ :​
07.04.2019 : v1.3 released.
anykernel2: update to latest version
wireguard: update to latest version (20190406)
Enjoy :highfive:

Categories

Resources