FORUMS
Remove All Ads from XDA

[KERNEL] SimpleGX v1.8 (August 06)

3,336 posts
Thanks Meter: 9,099
 
Post Reply Email Thread



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 :)


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
  1. Backup everything you need (internal & external)
  2. Unlock your bootloader (if not already done)
  3. adb reboot bootloader
  4. Extract 'Image.lz4-dtb' from kernel ZIP (SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip)
  5. fastboot boot Image.lz4-dtb
  6. Enjoy ! (but beware.. kernel will be lost after any single reboot!)


METHOD 2 : flashing kernel classically
  1. Backup everything you need (internal & external)
  2. Unlock your bootloader (if not already done)
  3. adb reboot bootloader
  4. fastboot boot twrp-3.2.3-0-blueline.img (or better)
  5. ADB sideload SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip
  6. OPTIONAL (if you want to root the kernel) : ADB sideload Magisk-v18.1.zip (or better)
  7. 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



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
The Following 13 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
 
 
17th March 2019, 05:20 PM |#2  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Info 2
★ 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)
The Following 7 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
17th March 2019, 05:21 PM |#3  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Cool Thanks & greetings
★ THANKS & GREETINGS ★ :
  • Google
  • nathanchance
  • flar2
  • osm0sis
. . .and of course to all talented devs credited in my commits!
The Following 2 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
17th March 2019, 05:21 PM |#4  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Thumbs up Donations
★ DONATIONS ★ :

Thank you to support my work !
The Following 3 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
17th March 2019, 05:21 PM |#5  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Tutorial RESERVED
Reserved
The Following 2 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
21st March 2019, 09:31 PM |#6  
Junior Member
Thanks Meter: 1
 
More
Would work l-speed settings and improve batter/performance more? Also how much battery (SOT) would you say I would gain?
22nd March 2019, 08:02 AM |#7  
xFirefly93's Avatar
Senior Member
Flag Timrå
Thanks Meter: 1,750
 
Donate to Me
More
Quote:
Originally Posted by Porogami

Would work l-speed settings and improve batter/performance more? Also how much battery (SOT) would you say I would gain?

It depends all on yourself - what kind of apps you are using, how you use your phone and so on..
22nd March 2019, 08:17 AM |#8  
Junior Member
Thanks Meter: 1
 
More
But like a rough estimate. Like 1 hour. 30 mins or 1min
22nd March 2019, 08:56 AM |#9  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Quote:
Originally Posted by Porogami

But like a rough estimate. Like 1 hour. 30 mins or 1min

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)
The Following User Says Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
23rd March 2019, 02:16 PM |#10  
AndroidGX's Avatar
OP Recognized Contributor
Flag ★ Montpellier ★
Thanks Meter: 9,099
 
Donate to Me
More
Angry 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()
The Following 4 Users Say Thank You to AndroidGX For This Useful Post: [ View ] Gift AndroidGX Ad-Free
25th March 2019, 10:37 AM |#11  
Junior Member
Thanks Meter: 1
 
More
Ok thanks. But one more thing. Would this work with LKT because it didn't work with proton kernel
Post Reply Subscribe to Thread

Tags
androidgx, kernel, pixel3, simplegx

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes