Kernel [KERNEL][Nougat v3.2][Oreo v4.1] SimpleGX for OOS

  • Auteur de la discussion SkelettSkelter
  • Date de début
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #1
2HkayfE.png

Un grand merci à
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
pour son kernel !

Source :
S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
(topic du kernel)​

=============================================================================================================================================


/!\ AVERTISSEMENT /!\ : Cette opération comporte des risques. Phonandroid et moi-même ne pouvons être tenus pour responsables des éventuels problèmes rencontrés !

=============================================================================================================================================


nVJb31G.png

Base

- Always directly based from latest available "android_kernel_oneplus_msm8998" Android 7.1.1 source from OxygenOS / Oneplus 5T (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.21 (for Nougat) & 4.4.78 (for Oreo)

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​

3BrZUQp.png

13.02.2018 : v4.1

- Fixed notifications delay (credits @joshuous)
- Disabled suspicious OnePlus services and logging (credits @joshuous)

07.02.2018 : v4.0

- 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.

19.01.2018 : v3.2

- 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

- Updated WireGuard to match latest version available
- Updated Anykernel2 to match latest version available
- Update build script

16.01.2018 : v3.0 :

- 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

- Added some new arm64 patches
- Updated Anykernel2 to match latest version available

04.01.2018 : v2.3

- Enable back stock Adaptive LowMemoryKiller

03.01.2018 : v2.2

- Add some new optimizations/fixes interesting commits (check github for changes)

01.01.2018 : v2.1

- Add WireGuard support

31.12.2017 : v2.0

- 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

- Revert "sched: Disable gentle fair sleepers"
- DTS: Decrease BCL low battery threshold to 5%

11.12.2017 : v1.6

- 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

- Synchronize codes for OxygenOS 4.7.4

01.12.2017 : v1.4

- 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

- 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

- 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

- 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

- Initial release (check actual features)

UgIgEqK.png

  1. Avoir déverrouillé votre bootloader et installé le TWRP -->> Voir ici
  2. Avoir téléchargé le fichier suivant :

S'il vous plaît, Connexion ou S'inscrire pour voir le contenu ou les urls !
(v3.2 pour Nougat et v4.1 pour Oreo).

vfRXw5h.png

  • [*]Copier/coller le fichier zip désiré que vous avez téléchargé dans la mémoire interne de votre téléphone.
  • Téléphone éteint, redémarrer en mode recovery
  • Dans le menu qui s'affiche, sélectionnez "Back Up" puis choisissez les partitions que vous voulez sauvegarder. Puis faites glisser votre doigt de la gauche vers la droite sur "Swipe to Back Up" pour commencer la sauvegarde
  • Revenez sur le menu principal, puis appuyez cette fois sur "Install". Là, il ne vous reste plus qu'à choisir le fichier de la rom et glissez votre doigt sur "Swipe to Confirm Flash" pour lancer le flash
  • Swipez une nouvelle fois pour Wiper le Dalvik Cache et le Cache.
  • Une fois le flash terminé, faite un wipe Cache puis "Reboot System Now"


N'hésitez pas si vous avez des questions / précisions / corrections.
 
L

laupuy

Membre
Inscrit
8 Octobre 2014
Messages
8 176
Points
113
  • #2
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.2

Salut Jérôme,
Merci à toi [emoji6]
 
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #3
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.2

Salut Laurent,

Avec plaisir [SMILING FACE WITH SMILING EYES]
 
L

laupuy

Membre
Inscrit
8 Octobre 2014
Messages
8 176
Points
113
  • #4
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.2

t'y vas un peu fort en demandant un factory reset pour un kernel mais bon... :mrgreen:
 
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #5
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.2

[emoji38][emoji38]
Zut, j'ai fait un copier/coller de mon tuto pour la ROM sur cette partie, et je n'ai pas corrigé.

Édit : Voilà qui est modifié, merci :D
 
incree

incree

Membre
Inscrit
19 Avril 2012
Messages
284
Points
18
  • #6
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.3

bijour,
bientot en possession du 5T.....trop hate....

mais quelles differences avec le kernel blu_spark?
lequel choisir pour une phone au mieux de sa forme?

cordialement
 
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #7
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.4

Salut,

Aucune idée, jamais testé le blu_spark. Donc autant te faire un avis de toi-même.

Ce qui me dérange sur le blu_spark actuellement, c'est que le kernel a été rendu dispo 5 jours avant la sortie du 5T. Pas mis à jour depuis, je t'avouerais que ma confiance est presque basse pour le moment (pourtant excellent sur l'OP 3)
 
incree

incree

Membre
Inscrit
19 Avril 2012
Messages
284
Points
18
  • #8
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.4

OK merci skelett de ton retour
 
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #9
Re: [KERNEL][OOS - NOUGAT] SimpleGX v1.6

Hello,

Mise à jour du kernel en v1.6

Changelog :

11.12.2017 : v1.6

- 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
 
SkelettSkelter

SkelettSkelter

Administrateur
Inscrit
12 Mai 2013
Messages
13 391
Points
113
  • #10
Re: [KERNEL][OOS] SimpleGX v2.3

Hello,

Mise à jour du kernel en 2.3.

Plusieurs mises à jour ont eu lieu entre mon précédent post et celui-ci. C'est pourquoi je ne mettrais aucun changelog, tout à été rajouté dans le tuto.
 
Haut Bas