[KERNEL] [N] [LineageOS] SimpleGX v1.03 (22th sept) ~ DISCONTINUED

Status
Not open for further replies.

AndroidGX

Inactive Recognized Contributor
Jun 24, 2010
3,339
9,091
0
★ Montpellier ★


WARNING :

This kernel is for OnePlus 5 (cheeseburger)


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.
I would like to personally thanks @Lord Boeffla for his precious help to build my first OP5 kernel ! without him, this kernel won’t be there ! so please consider it.

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 5 LineageOS (LOS) 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) :
  • Better battery life
  • Overall better performance
  • Trying to include only efficient (but definitely no 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 7.1.1 source from LineageOS / OnePlus 5 (for clean work)
  • Compiled with stock Google (4.9.x / aarch64-linux-android) toolchain (for best stability)
  • Featuring Anykenel2 (for all ramdisk compatibility)
  • Stock Linux 4.4.52
Main :
  • Kernel logger disabled
  • Fixed annoying minimum backlight level
  • Wakelocks control support (all wakelocks disabled by default)
  • Several fixes/optimizations patches for stock cpufreq_conservative governor
  • MAPLE I/O scheduler added (and set as default)
  • Completely optimized stock 'cfq' I/O scheduler
  • Xbox controller (and other USB pads) support
  • All TCP congestion control modules activated with Westwood currently as default
  • Removed verify and forced encryption + patched SafetyNet flags to pass CTS
  • Some miscellaneous tweaks, fix, patches and security patches to improve overall smoothness and battery life experience
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 (than those stock)
  • root/busybox auto-installation
  • CPU/GPU overclocking/undervolting
  • adreno idler
  • state_notifier
  • any upgrade of Linux kernel
  • dual-boot
  • etc




★ PREREQUISITE ★ :
  • An unlocked Bootloader
  • An Android Nougat firmware (based on LineageOS)
  • A custom recovery (TWRP recommanded), to flash the kernel
  • Optional : to control some kernel tweaks, you can install Kernel Adiutor)



★ SOURCE (up-to-date) ★ :



★ INSTALLATION PROCEDURE ★ :
(personally I'm not on LOS, so here is @dr.zook instructions instead (thanks to him!) :
  1. Backup everything you need (internal & external)
  2. Unlock your bootloader
  3. Flash official TWRP recovery
  4. Reboot to TWRP
  5. Wipe system/cache/dalvik and data (without data/media) partitions
  6. Flash your full latest AOSP + 4.5.10 firmware package
  7. Optional: flash your favorite Gapps package
  8. Flash SimpleGX kernel
  9. Flash root (Magisk or SuperSU)
  10. Optional: this last step is only for the unencrypted devices: flash "no_verity_op5.zip"
  11. Reboot and enjoy !



★ FAQ ★ :
  • How can I update my SimpleGX kernel version ?
    Follow THESE steps.
  • How can I go back to stock kernel ?
    Just flash back your full usual rom back.
  • Is there a OxygenOS (OOS) version of you kernel ?
    Of course ! grab it HERE.
  • How to recover excellent battery life ?
    Check my personal tips HERE.






★ for LineageOS ★
/!\ CHECK MD5 BEFORE FLASHING IS ALWAYS 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). It's always appreciated to keep this thread maintained ;)



LIKE MY WORK ?
OFFER ME A

:good::highfive::good:
 
Last edited:

AndroidGX

Inactive Recognized Contributor
Jun 24, 2010
3,339
9,091
0
★ Montpellier ★
CHANGELOG

★ CHANGELOG ★ :

22.09.2017 : v1.03 released.
  • Added one cpufreq_conservative (fix/optimization) patch
  • Added wakelocks control back and disable them by default (for better battery life)
  • Add (CVE-2017-1000251) security patch for Bluetooth BlueBorne attack
  • Added OnePlus5 minimum backlight fix (current value has been set to 8 for now).


17.09.2017 : v1.02 released.
  • Synchronize codes to latest LineageOS source
  • Anykernel2: updated to latest version


08.09.2017 : v1.01 released.
  • Synchronize codes to latest LineageOS source
  • Removed all queue work on power efficient wq patches from franciscofranco. (Less experimental, more close to stock now).


03.09.2017 : v1.00 released.
  • Initial release (check actual features. Should match v1.06 of OxygenOS version. The only difference for now is USB fast charge removed due to already integrated fast charge USB tweak from LOS source).
 
Last edited:

dr.zook

Senior Member
Dec 12, 2015
249
216
0
Awesome, my favorite kernel is there for LOS! ?

Thanks for your great work, keep it up ??

Cheers :highfive:

Sent from my ONEPLUS A5000 using XDA Labs
 
  • Like
Reactions: AndroidGX

4RM4N1

Senior Member
Oct 25, 2014
202
33
0
well, I can't use this kernel with LOS.
When the phone boots up it just says "android is starting" with my background picture. I'm using the newest built that came out today + the OOS 4.5.10 files
 

AndroidGX

Inactive Recognized Contributor
Jun 24, 2010
3,339
9,091
0
★ Montpellier ★
+ the OOS 4.5.10 files
This kernel is for LineageOS, not OxygenOS :good:

I can't confirm myself if my LOS version is working since I will stick to OOS for now (and no plan to go for LOS one day), but @dr.zook tested my beta3 recently and confirmed working perfectly into official LOS. All I did is just removing "-beta3" from local version, so it should be weird that it's not working anymore.
 

dr.zook

Senior Member
Dec 12, 2015
249
216
0
well, I can't use this kernel with LOS.
When the phone boots up it just says "android is starting" with my background picture. I'm using the newest built that came out today + the OOS 4.5.10 files
Could you please tell what exactly you did?
Clean flash?
Coming from stock or custom kernel?
First boot on stock or SimpleGX?
Root? If yes supersu, magisk or other?
Is your device encrypted or unencrypted?

I am unencrypted.
I clean flashed rom, same firmware as you, then SimpleGX, then magisk,then no_verity_op5.zip and all worked flawlessly.

Sent from my ONEPLUS A5000 using XDA Labs

---------- Post added at 07:35 PM ---------- Previous post was at 07:31 PM ----------

This kernel is for LineageOS, not OxygenOS :good:

...
I think he talks about the latest firmware package with is the one I used to flash, too.
It's a thing you have to do on LOS/CAF/AOSP roms.


Sent from my ONEPLUS A5000 using XDA Labs
 

AndroidGX

Inactive Recognized Contributor
Jun 24, 2010
3,339
9,091
0
★ Montpellier ★
Could you please tell what exactly you did?
Clean flash?
Coming from stock or custom kernel?
First boot on stock or SimpleGX?
Root? If yes supersu, magisk or other?
Is your device encrypted or unencrypted?

I am unencrypted.
I clean flashed rom, same firmware as you, then SimpleGX, then magisk,then no_verity_op5.zip and all worked flawlessly.

Sent from my ONEPLUS A5000 using XDA Labs

---------- Post added at 07:35 PM ---------- Previous post was at 07:31 PM ----------



I think he talks about the latest firmware package with is the one I used to flash, too.
It's a thing you have to do on LOS/CAF/AOSP roms.


Sent from my ONEPLUS A5000 using XDA Labs
I'm also pretty sure that he does something wrong anywhere during flashing steps for LOS :highfive:
Thanks for the infos, it looks like it's a bit hard to move into LOS, that is why I guess LOS is not getting much success into OP5 for now :cowboy:
It's more from the "elite" side :p
 

4RM4N1

Senior Member
Oct 25, 2014
202
33
0
Could you please tell what exactly you did?
Clean flash?
Coming from stock or custom kernel?
First boot on stock or SimpleGX?
Root? If yes supersu, magisk or other?
Is your device encrypted or unencrypted?

I am unencrypted.
I clean flashed rom, same firmware as you, then SimpleGX, then magisk,then no_verity_op5.zip and all worked flawlessly.
I came from RR official. Device is encrypted.
• Factory Reset
• flashed LineageOS with Factory Wipe
• flashed GApps
• flashed the Kernel
• flashed Magisk
 

dr.zook

Senior Member
Dec 12, 2015
249
216
0
I came from RR official. Device is encrypted.
• Factory Reset
• flashed LineageOS with Factory Wipe
• flashed GApps
• flashed the Kernel
• flashed Magisk
What magisk version did you use? Official 13.3 or one of the beta/unofficial versions?

Maybe try to first boot on stock kernel and see if you can get it to boot.

As your device is encrypted it MAY be the cause of the issue, too. I have no experience with encrypted devices, I decrypted my device on day one to have all the options...

Sent from my ONEPLUS A5000 using XDA Labs

---------- Post added at 04:06 AM ---------- Previous post was at 03:57 AM ----------

I'm also pretty sure that he does something wrong anywhere during flashing steps for LOS :highfive:
Thanks for the infos, it looks like it's a bit hard to move into LOS, that is why I guess LOS is not getting much success into OP5 for now :cowboy:
It's more from the "elite" side :p
You're right, but I so much want the customization aosip/rr/aicp and whatnot brings. If the op camera app works on this, I think I'll switch.

I tried a nearly gappless setup with microg magisk module and just the playstore but I could not get it to full functionality on first try. Didn't have the time to dig into the problem.
But that's the way I want it to be. At least for a while ?

Sent from my ONEPLUS A5000 using XDA Labs
 
Last edited:
  • Like
Reactions: AndroidGX

AndroidGX

Inactive Recognized Contributor
Jun 24, 2010
3,339
9,091
0
★ Montpellier ★
What magisk version did you use? Official 13.3 or one of the beta/unofficial versions?

Maybe try to first boot on stock kernel and see if you can get it to boot.

As your device is encrypted it MAY be the cause of the issue, too. I have no experience with encrypted devices, I decrypted my device on day one to have all the options...

Sent from my ONEPLUS A5000 using XDA Labs

---------- Post added at 04:06 AM ---------- Previous post was at 03:57 AM ----------



You're right, but I so much want the customization aosip/rr/aicp and whatnot brings. If the op camera app works on this, I think I'll switch.

I tried a nearly gappless setup with microg magisk module and just the playstore but I could not get it to full functionality on first try. Didn't have the time to dig into the problem.
But that's the way I want it to be. At least for a while

Sent from my ONEPLUS A5000 using XDA Labs
Problem is that I kept old OOS flashing instructions (so i'ts my mistake also).
If you may sum-up exactly the correct steps one by one which were working for you, I will add it into first post :highfive::good:
I have to go to the Hospital this whole day, will edit once I'll come back home (I hope! haha) :cowboy:
Cheers'
 
  • Like
Reactions: dr.zook

4RM4N1

Senior Member
Oct 25, 2014
202
33
0
What magisk version did you use? Official 13.3 or one of the beta/unofficial versions?

Maybe try to first boot on stock kernel and see if you can get it to boot.

As your device is encrypted it MAY be the cause of the issue, too. I have no experience with encrypted devices, I decrypted my device on day one to have all the options...

Sent from my ONEPLUS A5000 using XDA Labs

It is 100% a problem of the ROM. I'm now on AOSPA again and the kernel works there.
I used Magisk 13.6
Everything boots fine on LineageOS but when I add the kernel the whole system is screwy
 
  • Like
Reactions: dr.zook

dr.zook

Senior Member
Dec 12, 2015
249
216
0
Problem is that I kept old OOS flashing instructions (so i'ts my mistake also).
If you may sum-up exactly the correct steps one by one which were working for you, I will add it into first post :highfive::good:
I have to go to the Hospital this whole day, will edit once I'll come back home (I hope! haha) :cowboy:
Cheers'
OK, here's what I did and how my device is set up.

I use twrp 3.1.1.1 official and I am unencrypted.

I wiped cache/dalvik(art), system and data without data/media.

Then I flashed latest aosip and 4.5.10 firmware package.

Then, if wanted, your favorite gapps package.

Then SimpleGX kernel and magisk 13.3 stable.

Last step is only for the unencrypted devices, flashing the no_verity_op5.zip

That's pretty much it.



Sent from my ONEPLUS A5000 using XDA Labs
 
  • Like
Reactions: AndroidGX
Status
Not open for further replies.