Development [KERNEL] [blu_spark r131] [A13 Jun 2023] - Google Pixel 6

{
"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"
}
Kernel features:
Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)
ThinLTO full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish kernel+modules+dtb builds based on Google latest sourcedrop for max stability (android-gs-raviole-5.10-android13-qpr3)
Full kernel tree with OEM integrated drivers, for minimal build overhead and fast deploy
Systemless installer (doesn't touch system/vendor partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
Misc ARM performance and battery patches
CVE security patches, general upstream and fixes for important subsystems when applicable
No OC, use 250HZ base timer frequency
Enhanced TCP methods (westwood is default, BBR and others available)
Some I/O tweaks (SSG added), advanced filesystems enabled (ExFAT upstreamed, , CIFS & NFS)
ZRAM set at 3G (default lz77eh with lzo-rle, zstd, etc available)
WIP: Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
Gamepad support enabled (xbox, ps4, switch)
USB2 Fast Charge (force USB CDP mode up to 1500mA with MTP on)
TWRP Support(LZMA/LZ4 Ramdisk)
Wireguard updates
Compatible with Kernel Flasher, EXKM, FKM , Kernel Adiutor and others
DOWNLOAD KERNEL ZIP
Kernel Flasher/FKM download configs: HERE
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock setup or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) you're much on your own. I'm mostly interested on debugging stuff in stock and stable ROM.
Also try not to spam the thread with too much OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/vendor_boot.img/vendor_dlkm.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock. You can also flash boot.img/vendor_boot.img/vbmeta.img in fastboot and vendor_dlkm.img in fastbootd from you stock ROM. Or just dirty flash your full OTA ROM zip.
Source Code: https://github.com/engstk/pxl6
Don't forget to hit thanks, it's free

blu_spark_r29 (A12)
So here's blu_spark for the oriole (and probably raven ;p)
Been cracking around on this since I got the device a couple weeks ago.
The new GKI kernel stuff(which imo will kill custom kerneling in the future) and the "let's use 10GB of garbage device tree to build a kernel" is not really for me.
So I decided to put on an full tree with all the vendor stuff on it, with less that 5% of what Google proposes we can play with the device just fine.
My primary objective was also to make a full builtin kernel, but seems like init expects modules and other stuff to be in place so it's a no go, at least for now (maybe with some further init stages crack it's possible, idk)
So kernel output is splitted across boot.img, vendor_boot.img and vendor_dlkm.img.
I also take the time to make AK3 basic hdr v4 compliant (big shouts to @osm0sis for being the best wingman, as always). Because fastboot is tedious and since it's 2021 there's no room for that in my builds.
You can flash the AK3 kernel zip in your favorite kernel app with autoflash functions or with TWRP when/if available. If you want/need to go stock again, instructions are on OP.
Besides Pixel 6, this should work on Pro also, but I can only test on Oriole, let me know how it goes on Raven if you're brave enough.
You can use FKM download kernel feature, just import the link bellow in the app flash section.
FKM download config: HERE
Changelog:
Build with Google Clang 12.0.5 + LLD linker
Full kernel based from kernel/gs+google-modules @ android-gs-raviole-5.10-android12-d1 (android-12.0.0_r0.17) (Nov 2021.1)
Several build fixes and improvements (check git for details)
drivers: google-modules: make it build and additional fixes, remove cruft
Disable some debug and logging
FS and F2FS improvements
Enable advanced TCP congestion control (westwood default)
Add wakelock blocker framework
Tuned a couple IO and ZRAM runtime stuff
AK3 updates (v20211118) plus my own additional fixes for hdrv4 flashing (big shouts @osm0sis for the help)
For root, canary Magisk 23015 or newer is mandatory
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including stock based ones).
I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).
No mirrors please
Don't forget to hit thanks, it's free

Just installed using FKM will be testing thanks for the hard work

Great to see blu_spark kernel on the Pixel 6. Thanks. Installed last night and ready to give the kernel a go today.

lovin to see it!
gonna flash asap

eng.stk said:
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
Click to expand...
Click to collapse
Where are we able to tune this? EXKM & FK don't show anything for me.

Flawn said:
Where are we able to tune this? EXKM & FK don't show anything for me.
Click to expand...
Click to collapse
It's work in progress, some stuff are to indicate what I want to add later on.

eng.stk said:
Kernel features: (WIP)
Build with Google Clang version 12.0.5 + LLD linker
Full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish builds based on Google latest sourcedrop for max stability (android-gs-raviole-5.10-android12-d1)
Full kernel tree with OEM integrated drivers, for minimal build overhead and fast deploy
Systemless installer (doesn't touch system/vendor partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
Misc ARM performance and battery patches
CVE security patches, general upstream and fixes for important subsystems when applicable
No OC, use 250HZ base timer frequency
Enhanced TCP methods (westwood is default, BBR and others available)
Some I/O control tweaks, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
ZRAM set at 4G (default lz77eh with lzo-rle, zstd, etc available)
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
Gamepad support enabled (xbox, ps4, switch)
USB2 Fast Charge (USB mode up to 900mA with MTP on)
Wakelock blockers available
TWRP Support(LZMA/LZ4 Ramdisk)
Compatible with EXKM, FKM , Kernel Adiutor and others
DOWNLOAD KERNEL ZIP
FKM download configs: HERE
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock setup or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) you're much on your own. I'm mostly interested on debugging stuff in stock and stable ROM.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img/vendor_boot.img/vendor_dlkm.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock. You can also flash boot.img/vendor_boot.img in fastboot and vendor_dlkm.img in fastbootd from you stock ROM. Or just dirty flash your full OTA ROM zip.
Source Code: https://github.com/engstk/pxl6
Don't forget to hit thanks, it's free
Click to expand...
Click to collapse
Thanks for kernel...
To go back to stock all three images ( boot, dtbo, vendor dlkm) can be flsahed through EX kernel manager actually....

Flashed the kernel using EX-Manager.
So far, so good on my P6.

cultofluna said:
Thanks for kernel...
To go back to stock all three images ( boot, dtbo, vendor dlkm) can be flsahed through EX kernel manager actually....
Click to expand...
Click to collapse
"with TWRP or kernel app" "fastboot" "dirty flash OTA zip"
People can use what is easier/better for them if there's the need to restore stock.
I don't use dtbo, I don't patch anything there.

eng.stk said:
blu_spark_r29 (A12)
So here's blu_spark for the oriole (and probably raven ;p)
Been cracking around on this since I got the device a couple weeks ago.
The new GKI kernel stuff(which imo will kill custom kerneling in the future) and the "let's use 10GB of garbage device tree to build a kernel" is not really for me.
So I decided to put on an full tree with all the vendor stuff on it, with less that 5% of what Google proposes we can play with the device just fine.
Click to expand...
Click to collapse
Is this the reason there aren't many custom kernels up until now? I thought the GKI would make things easier at least after some time that devs get more accustomed with it.
Btw nice to see you here I was running your kernel for the past few months on op8pro.

eng.stk said:
"with TWRP or kernel app" "fastboot" "dirty flash OTA zip"
People can use what is easier/better for them if there's the need to restore stock.
I don't use dtbo, I don't patch anything there
Click to expand...
Click to collapse

Of course...
Just sharing the info that vendor dlkm img can also be flashed on the phone through the ex manager ( not other kernel manager) ..
Otherwise on fastbootd
@eng.stk booted fine on 6pro

Great to see you on Pixel 6 @eng.stk been using your kernel on most of the devices that i have granted 1 or 2 dont have it but like always you're on your a game and i look foward to how much battery savings we will get with this kernel over time. Seems great so far btw on your kernel.

cultofluna said:
Of course...
Just sharing the info that vendor dlkm img can also be flashed on the phone through the ex manager ( not other kernel manager) ..
Otherwise on fastbootd
@eng.stk booted fine on 6pro
Click to expand...
Click to collapse
Nice, thanks for testing out

arvylas said:
Is this the reason there aren't many custom kernels up until now? I thought the GKI would make things easier at least after some time that devs get more accustomed with it.
Btw nice to see you here I was running your kernel for the past few months on op8pro.
Click to expand...
Click to collapse
Well GKI is for getting vendor/oem life easier the way updates are maintained.
Actually the choices the big G has made over time complicate the aftermarket tinkering.
They are making thinks too convoluted for instance, keeping source scattered all over the place creating artificial dependencies, using a build backend full of unneeded junk, output goes in random places just because, images full of junk with multi-ramdisks and padding with weird layouts, etc.
They started complicating ROM stuff, partitions, etc. Then they went after gapps and root. Now it's kernel.
Android is becoming ChromeOS imo.
Doesn't mean things can't be modded, just the way they are going is deterring to do it.

Excellent to see you here mate! Just got my 6, so I want to give myself some stock time with it, but Im sure I'll be flashing soon

kevp75 said:
Excellent to see you here mate! Just got my 6, so I want to give myself some stock time with it, but Im sure I'll be flashing soon
Click to expand...
Click to collapse
Nice to see here dude, enjoy your oriole

eng.stk said:
Nice to see here dude, enjoy your oriole
Click to expand...
Click to collapse
so far loving it. making a modified case so I can attach it to my telescope

Been working pretty well, I've had a couple of weird freezing and things becoming unresponsive but besides that it's working great.

Related

[KERNEL][LINARO][EOL]DorimanX kernel for LOS14.1

{
"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)​
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 LOS14.1 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 optimised Linaro 4.9 Toolchain
- 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
- MDNIE mode and scenario tuning
- F2FS support
THINGS TO DO:
- Allow users to revert kernel back to stock with everything working
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)
- 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 (Linux Kernel maintainer)
Computoncio (This Kernel)
cybernetus (This Kernel)
stelistcristi (Contents of this post, updates)
chhapil (Kernel build support, updates)
Chet Kener (Linaro/UBER toolchain)
Lanchon (TRIM fix and Isorec for Dorimanx)
Zeitferne (FP Bug/Music Bug fix and freezefix)
Lysergic Acid (LOS14.1)
rINanDO (LOS14.1)
serenitys (LOS14.1)
Realex-fire (Marshmallow/Nougat support and kernel fixes)
Skyline (Material Stweaks and testing)
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 will lose a lot of functionality if they dirty flash ROM to restore kernel
- If you reboot your phone, you may experience a large battery percentage drop
- All dorimanx bugs
WHAT ROMS DO I SUPPORT?
You should only flash this kernel on top of:
- LineageOS 14.1
USEFUL LINKS
CPU Governor and I/O Scheduler Guide
DorimanX tuning guide
TCP Algorithm guide
XDA:DevDB Information
DorimanX kernel for LOS14.1 by Saber, Kernel for the Samsung Galaxy S II
Contributors
Saber, dorimanx, Realex-fire
Source Code: https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel
Kernel Special Features: See post #1
Version Information
Status: No Longer Updated
Created 2017-07-25
Last Updated 2017-09-19
Changelogs:
--UNRELEASED VERSIONS (KERNEL UNDER TEST) --
For live changelogs, see my github:
Kernel: Github Link
Initramfs (Ramdisk): Github Link
--RELEASED VERSIONS (GENERAL AVAILABILITY) --
Code:
[B]DorimanX 13.0 b005[/B]
- Pulled updates for tcp, net, uksm, binder and many more from DorimanX OP3T kernel, all thanks to @Realex-fire
- Minor build script improvements
- TCP fast open control added to Stweaks
- HYPER is now the default sleep governor
- Updated busybox from Dorimanx source - Again thanks to @Realex-fire
- Minor fixes to ROM init script
[B]DorimanX 13.0 b004[/B]
- Synced scheduler and block changes from linux 3.16
- Synced security/keys and selinux changes from linux 3.16
- Synced kernel/fork, lmk and other changes from dorimanx
- Temporarily disable playready DRM to fix package manager corruption issues
- Remove powerHAL introduced in lineageOS to remove governor setting conflicts
- Various script improvements thanks to @Realex-fire
[B]DorimanX 13.0 b003[/B]
- Reverted default governor back to HYPER
- Synced ext4 updates from mainline - Thanks to @Realex-fire
- Partition checking will only check for bad blocks now
- Lower cortexbrain auto read ahead values and add 3072KB option
- Stweaks settings will be reset after flashing this build!
[B]DorimanX 13.0 b002[/B]
- Updated exfat from Dorimanx sources
- Reverted the kernel's internal tick rate back to 250
- Changed default governor to Nightmare
- Stweaks profile updates
- Enable adb autostart and insecure adb for debugging purposes
[B]DorimanX 13.0 b001[/B]
- Initial LOS14.1 Support
- Re-added Adaptive LMK and UKMS - Better for RAM usage at the cost of some CPU time
- LZO is now being used as the default compression method for ZRAM - Much better compression, worse decompression. Better for our ZRAM size limitations.
- Synced recent zzmoove updates - New profile, stability updates, some code only for SD devices
- ZEN I/O scheduler updates from Dorimanx
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!
Flashing instructions:
1. Download latest kernel build
2. Reboot to recovery
3. Flash kernel zip
4. Reboot
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)
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
Main download link:
https://www.androidfilehost.com/?w=files&flid=201577
Mirror download link:
https://github.com/gsstudios/Dorimanx-SG2-I9100-Kernel/releases
In order to tweak the kernel properly, you need to install stweaks from the apk linked here, or from the XDA downloads page
Troubleshooting
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: 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 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
Q: Why not use XYZ toolchain?
Linaro toolchain is the only one I'm going to use. If you believe that XYZ toolchain is better, then you'd have to build my kernel yourself. I chose the toolchain that I like the most, and I've had positive experiences using Linaro.
Click to expand...
Click to collapse
First kernel build for LOS14.1 is up on AFH and github. Enjoy.
Firstly, sorry for the dupe threads. Internet was acting out and now I'll have to get the mods onto it
Also, expect bugs with this release. This is a really early build and I'm doing blind builds now.
Don't flash on any other ROM than LOS otherwise you will not receive support. This kernel is only designed for LOS.
No new features will be added because I don't use the S2 as daily driver, so I won't be able to test changes thoroughly.
Regards, Saber
Nice.
Hi @Saber
Thanks a lot for spending your spare time to work on this kernel.
I wish you the best!
Sent from my STAIRWAY using XDA-Developers Legacy app
Welcome back @Saber
EDIT: I am not able to get it work on latest LOS 14.1 build. May be something wrong on my side. Phone going back to galaxy s2 logo from dori kernel logo. This is happening in loop. Anyone???
Yeah this is cool. Maybe we can make S2 N-builds even better. :laugh:
Skyline said:
Welcome back @Saber
EDIT: I am not able to get it work on latest LOS 14.1 build. May be something wrong on my side. Phone going back to galaxy s2 logo from dori kernel logo. This is happening in loop. Anyone???
Click to expand...
Click to collapse
Can you please detail your flashing procedure? Did you try reflashing the kernel?
Saber said:
Can you please detail your flashing procedure? Did you try reflashing the kernel?
Click to expand...
Click to collapse
I get it to work after too many tries and now again I am not able to boot.
*Wiped everything other than ext sdcard
*flashed rom and gapps
*flashed kernel zip
Also tried without gapps. Weird thing is that whenever I flash gapps it gives me alot of force closes. I tried 2 gapps packages and AICP but same problem occurs(without flashing kernel) that's why I thought may be something wrong on my side
Edit: I am using I9100g display panel can it be reason for my problem?? Anyways I attached dmesg.
Nice
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
If you mean 2,0GHz I doubt it.
I tried F2FS and it seems cache is okay but data makes android.phone process crash all the time. Not sure if it is LOS or kernel's fault.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
What?? 2.0 Ghz is too much and also not safe. Even overclocking more than 1.4 Ghz is not good for our old device. I think we should limit cpu clock to 1.4Ghz max on this kernel for safety @saber.
Syaani said:
I tried F2FS and it seems cache is okay but data makes android.phone process crash all the time. Not sure if it is LOS or kernel's fault.
Click to expand...
Click to collapse
This issue is actually kernel's fault as it also exists on my CM13 kernel. A reboot is a possible solution to solve this issue and it shouldn't reappear. I might pull some F2FS updates from the linux git to increase stability, however the only filesystem I recommend is ext4 for internal partitions.
Edit: I was thinking before about a kernel issue where after first flashing the kernel over stock LOS kernel, the phone process would crash where it can be solved by rebooting. Need more reports to see if its just F2FS or if its regardless of fs used.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse
2.0GHz? Not possible with our SOC. 1.6GHz is about the limits and only a lucky few are able to use this frequency. Any more and I'd suspect our tiny SOC go poof along with some bad electronic smoke.
dt2w is not optimised for our touch panel and as of a result, significant battery drainage will occur. It's the same story with sweep to wake, these features weren't even supposed to be possible with our device.
Skyline said:
I am using I9100g display panel can it be reason for my problem?? Anyways I attached dmesg.
Click to expand...
Click to collapse
I've had a quick skim over the dmesg and couldn't find anything too substantial to be the root cause of the issue (may need to go through with a fine comb). Maybe logcat? How about marshmallow? Does the same behaviour occur there?
Saber said:
I've had a quick skim over the dmesg and couldn't find anything too substantial to be the root cause of the issue (may need to go through with a fine comb). Maybe logcat? How about marshmallow? Does the same behaviour occur there?
Click to expand...
Click to collapse
If I comment last lines in init.rc then rom boots fine
EDIT: @Saber, How can I take logs during s2 bootlogo to dorimanx kernel logo? I tried to take logcat using command 'adb logcat > log.txt' on linux but device is not getting detected.
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
Click to expand...
Click to collapse
With 2.0 GHz the CPU will explode
X_Svyatoslav_X said:
Nice Kernel,Works fine on los14.1 and I also have overclocked up to 1.6 MHz but would not like to add 2.0 MHz in future updates?
And is it possible to add support to the kernel dt2w ?
Sorry if I'm not writing correctly, I'm not an Englishman :laugh:
Click to expand...
Click to collapse

[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][AOSP][AnyKernel][LOS-14.1+EAS] Gamma Kernel for [All Lineage Variants]

{
"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"
}
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources with 98% CAF. So I would like to share my own performance and usability improvements with minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with screen calibrated against iPhone 8 Plus, also helps reducing screen retention
Schedutil governor making use of EAS features with updates from Linux 4.4 and 4.12
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
Transparent Hugepages are enabled
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Simple temperature controls for msm_thermals exposed
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Undervolted the Adreno 530 GPU voltage rail to keep things cooler
CAF Rebase on major portions of the Kernel has helped lower the memory footprint a lot
ES9218 Quad DAC automatic toggling working inside the kernel for headphone HIFI playback, please read here for details
DOWNLOADS
AnyKernel: Click Here (Or check top of the post, download tab)
(Optional) LineageOS 14.1 Netflix Black Screen Fix : Click Here
(Optional) Updated Adreno Drivers by @BlackSoulxxx : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
Here is a GeekbenchV4 result example : http://browser.geekbench.com/v4/cpu/7618872
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Since LineageOS uses a way newer Bluetooth stack, this Kernel will most likely not work on old ROM's such as ResurrectionRemix
This will not work with LineageOS 15.1, please see the other thread
KNOWN BUGS
When using v1.0.0 will fail to boot if you had Magisk previously installed. Please install something newer if using Magisk.
When using v13.0.0 - v15.x.x infrared remote control will not work.
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
@joshuous
@RenderBroken
and many others!
<< If you like my work here is my hat, please donate! >>​
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code: https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 46.0.0
Stable Release Date: 2018-07-11
Created 2017-12-10
Last Updated 2018-10-22
CHANGELOG
46.0.0 - Started msm_irqbalance by default on boot, disabled lp11 and enabled allow mdss phy powerdown during idle screen.
45.0.0 - Smoother memlat ramp and tuned the schedTune DVR cpusets a bit for better performance overall.
44.0.0 - More deep sleep enhancements.
43.0.0 - Update to Oreo TouchScreen firmware and more MDSS PLL merge fixes that help deep sleep.
42.0.0 - Missing MDSS Oreo merges are now in place.
41.0.0 - Added IPA_WS as a default in the wakelock blocker, as well as enabling CONFIG_PM_SLEEP which if missing would in turn cause some ueventd wakeups.
40.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers. Tweaked the random wakeup values, added some extra cpusets based on Marlin's android-cts-8.0_r8/init.common.rc and fixed some BFQ IO possible hang.
39.0.0 - Disabled CONFIG_RMNET_DATA_DEBUG_PKT. Full fix for USB OTG and added missing slimport drivers.
38.2.0 - Removed LGE's battery manager alarms.
38.1.0 - Fixed potential wireless packet loss.
38.0.0 - Further tweaked the wlan_rx_wake wakelock, migrated the audio and thermal workers to power efficient queues, and added an arm64 prefetching optimization for memcpy.
37.0.0 - Better deep sleep enhancements with the charger infrastructure borrowed from the V30 Kernel Oreo sources.
36.0.0 - Full fix for 6a00000.ssusb wakelocks while keeping fast charging enabled.
34.0.0 - Added boeffla_wl_blocker to tame NETLINK wakelock, this wakelock is caused by IPC between the wireless driver in the Kernel and Android. This was the reason why when on wireless the battery would drain more compared than radio. Also disabled OTG as this keeps the phone from deep-sleeping for now.
33.0.0 - Enabled OTG.
32.0.0 - Fixed a bug from Oreo merge that causes video to go green and crash sometimes. Disabled ZRAM from the compilation rather than AnyKernel patch.
31.0.0 - Merged some V20 Oreo Kernel changes in, as well as some DAC enhancements to prevent popping, better USB PD and QC 2.0/3.0 charging code.
30.0.0 - Oreo Kernel changes in, trying to unify the Kernel to keep support for a little while on 14.1.
29.0.0 - Merged msm idle from Linux 4.4 as well as full EAS 1.4 support from Linux 4.4, reduced the memory subsystem timer ramp values for speedier operation.
27.0.0 - Enabled wifi.supplicant_scan_interval on boot, and disabled IPv4 TCP Timestamps and ICMP responses as well as CCKM fast secure roaming.
26.0.0 - Full EAS 1.4 from Wahoo (Pixel 2XL) backported.
25.0.0 - Updated EAS (schedutil, walt, fair scheduler) to be in sync with Wahoo (Pixel 2XL) latest changes.
24.0.0 - Fixed another performance regression in multi-core scores within schedutil.
23.0.0 - Screen brightness is 50% while booting to reduce heat when it is regenerating cache on boot. v22.1.0 was 25% but this was barely visible if you were rebooting under direct sunlight. So went for the safe value.
22.1.0 - Reduced the screen brightness while booting to reduce the heat of the device during cache wipes.
22.0.0 - WALT and schedutil cpufreq commit fixes backported from RenderBroken.
21.0.0 - The GPU Voltage rail undrervolt is now ~60 mV, do not see any problem and games run way cooler.
20.0.0 - After feedback on frequency utilization/distribution I've put 3 WELT commits that should help alleviate this. And enabled some extra configurations from our wireless driver for better power savings.
19.0.0 - Trimmed around ~40 mV from the GPU voltage rails, and updating the wireless stack to DHD 1.80.13 - 2017.06.22, from us997 V16a.
17.0.0 - Increased the multi-core benchmark scores.
16.1.0 - Reverted the binder to be Nougat only, since Oreo support will be on a separate Kernel anyway. Fixed the Infrared Remote Control support that I had broken, and tuned the memory scaling to be more responsive.
15.0.0 - More audio fixes. This audio CAF merging has fixed the speaker-phone that suddenly stops recording or suddenly stops recieving audio from the phone call in LineageOS. Also have increased the schedutil timer values to be similar to the Pixel 2 XL (Wahoo). And finally have fixed a CONFIG_LGE_PM_LGE_POWER_CLASS_CHARGER_SLEEP problem, so that the charger module now sleeps better and uses less power in idle.
14.0.0 - Updated WALT (Window Assisted Load Tracking) fixes aggregated by RenderBroken. Fixed an audio bug introduced in 13.0.0 where headphone insertion could change the sampling rate of other audio sessions. Changed again the schedutil timer values to favor benchmarks a tiny bit and increased the external SD read-ahead and minimum number of requests so that there is better merging when using slow SD cards while keeping the internal storage device in a low-latency configuration.
13.0.0 - Merged CAF audio upstream changes and enabled transparent hugepages.
12.0.0 - Tuned the memory subsystem frequency scaling parameters further down to focus on batter savings as well as the EAS timers.
11.0.0 - Added cpuidle optimizations to idle more, bumped up the memlatency trigger.
10.2.0 - Reintroduced back QuickCharge 2.0 and QuickCharge 3.0 fast charging support into the Kernel.
10.0.0 - Bumped up the Kernel to version 3.18.71.
9.0.0 - Full arm64 arch CAF update done to the Kernel based on CAF LA.UM.6.5.r1-05300-8x96.0. Added support for H918 variant too.
8.2.0 - Partial update to get the Kernel in a big percent that of CAF LA.UM.6.5.r1-05300-8x96.0, no bugs introduced and using a CAF / LineageOS kernel base. Using the binder interface that works both for Android Oreo and Nougat to be prepared for Lineage15. Also fixed a bug that I had introduced in previous versions related to wireless access point, hence why I had pulled versions 7.x from the server.
4.1.0 - Reintroduced into the LineageOS kernel the partial-update in the panel, to gain some power savings and overall performance feeling when refreshing the panel and screen elements.
4.0.0 - Raised the EAS schedutil timers and the memlat governor threshold to kick in faster. This will bring up the responsiveness to similar levels to HMP even when still using EAS. Brought back KSM after profiling on battery utilization, it doesn't hurt as long as a the timer value is between 4000.
3.0.x - Bugfixes and testing with Magisk compatibility, I think there are no more compatibility problems with Magisk after this, had to remove KSM for testing.
1.0.0 - Initial version, with KCAL, and streamlined defconfig based on cm-14.1 kernel sources and minor commits on top.
Omar-Avelar said:
DESCRIPTION
Hey guys, I have started a custom Kernel based on LineageOS sources to get and share my own performance improvements up and adding minimal feature and enhancements on top. The intention is to have a minimal light-weight kernel that is very fine tuned for the device.
FEATURES
Minimal Kernel with a stripped defconfig base to be more streamlined and have less memory footprint
User space display color calibration (KCAL) with less blue tints by default
Schedutil governor making use of EAS features
Up to date with LineageOS sources for maximum compatibility and security bugfixes
Memory and cache subsystem optimizations, you will feel it
Adaptive LMK enabled by default
ZRAM/Swap partition is disabled by default
BFQ IO scheduler set by default to avoid slow-downs on task intensive scenarios
No overclocking was chosen to avoid unnecessary heat, optimizations were focused on other different areas
Kernel Samepage Sharing enabled with deferred timer by default to gain some memory usage optimizations, the process sleeps on regular basis and I've profiled it so that there's no battery drains due to it
Compiled with GCC 6.x optimized toolchain and -O3 plus other hardware specific flags
Re-introduced stock thermal values and engine for a safer device operation
DOWNLOADS
1) AnyKernel: Click Here (Or check top of the post, download tab)
2) EAS-Project OP3 Prebuilts Flashable : Click Here
3) Thermal Engine Flashable : Click Here
SOURCE
V20-Kernel-Gamma GitHub Source
NOTES
These is intended to be used primarily with LineageOS, I have not tested other ROM's
Please flash all *.zip's mentioned in the download sections for optimal results
KNOWN BUGS
Hopefully none
I would also like to thanks to various people who contribute tremendously such as:
@x86cpu
@EvilHowl
@USA-RedDragon
@savoca
@albinoman887
@emdroidle
@Rashed97
and many others!
<< If you like my work here is my hat, please donate! >>
​
XDA:DevDB Information
Gamma Kernel, Kernel for the LG V20
Contributors
Omar-Avelar
Source Code:https://github.com/oxavelar/V20-Kernel-Gamma
Kernel Special Features:
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2017-12-09
Created 2017-12-10
Last Updated 2017-12-09
Click to expand...
Click to collapse
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
nightra88 said:
I don't know how 'in-depth' testing I can do. But I'll be willing to do what I can!
I'll be flashing this soon.
I'm on Desolation ROM, VS995. I'll report back. Thanks for your hard work!
Edit: not necessarily a problem, but it has static on boot.
Click to expand...
Click to collapse
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Here are some Geekbench results in case anyone is interested : http://browser.geekbench.com/v4/cpu/5506983
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Omar-Avelar said:
Oh, I didn't compile specifically for VS995 so it will have static on boot. Since these two are mostly the same devices I might give u a VS995 Kernel next week with that static gone.
Click to expand...
Click to collapse
That sounds great! I'll look forward to it! But I'm about 12-14hrs in the kernel now, and so far so good! With normal usage.
Have updated Kernel to 1.1.0 version with two minor changes that improve the performance by quite a big. Figured out the OP3 and the Marlin Kernel was using 300 Hz tick timers. But for some reason our Kernel was only using 100 Hz tick's. So two changes in this version.
1. Enable high-res timers for schedulercks
2. arm64: hz: make it configurable
Click to expand...
Click to collapse
Plus I have decided to go on and change the perfd binary again. I was not aware how much of impact this has to EAS and the fluidity, since with EAS the input freq boost in the Kernel is now gone. You can read more about it here : https://github.com/EAS-Project/android_device_voxpopuli in the README.md. I am not yet using 100% of the capabilities of Vox Populi Power HAL but a lot of features from it turned off for now.
NippleSauce said:
Great to have someone finally building an AOSP kernel!
Any chance you'll be compiling for the H918 sometime in the future? No worries if you aren't. I'm just curious =p
Click to expand...
Click to collapse
Most likely yes, but after I polish a few features and once I am 100% happy with the performance
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I only tried the latest one. I did not try without Magisk though or the older version, the all 3 reference was all 3 files you had. gamma/vox/thermal.
I noticed in your thermal, that the camera files are the same as Lineage, so you could take those out. I also took out the mixer one as I bumped those VOL up as it was hard to hear on calls without it. If you do find any adjustments that the op3 or marlin did, we might be able to get those into the Lineage msm8996 kernel. Ideally, the commits from op3 in the Lineage tree, then I can cherry pick it to preserve history. I'm all for getting things into Lineage where we can.
Omar-Avelar said:
Oh shoot... I haven't tested it with Magisk on top myself, I wonder if I removed some thing in the defconfig that Magisk needs... Mmmm, both versions give u that same outcome ? Thx for the report!
Click to expand...
Click to collapse
I flashed with Magisk, on the first version, and everything is going fine for me
nightra88 said:
I flashed with Magisk, on the first version, and everything is going fine for me
Click to expand...
Click to collapse
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Omar-Avelar said:
Thanks man, let me re-upload the 2nd version just in case then and will verify the MD5 hash...
Click to expand...
Click to collapse
No problem! Glad to help.
x86cpu said:
Hmm... Oddly enough if I install I get stuck into a boot loop. Not even a LineageOS boot animation. I am and will continue to use Magisk, even flashed all 3.
Click to expand...
Click to collapse
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Flashed Magisk-v14.5(1456).zip
Hit reboot
If you can let me know if the v1.1.1 version works on your side then I can blame the bad upload. If not I can do more experiments to see if there is some other condition that depends on the order of flashing with my AnyKernel approach... and then I can try and replicate and fix it , please do let me know...
UPDATE: I am able to hit the failure now @x86cpu... let me see if AnyKernel needs any update or something to allow to re-install the Kernel if Magisk is already pre-installed. In order to hit it I had to:
Wiped /system (as I had su from LineageOS flashed before)
Flashed system with lineage-us996-*.zip
Flashed OpenGapps
Flashed perfd update (2nd of my zips)
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
I've uploaded flashable-us996-gamma-kernel-v1.2.0.zip now with an updated AnyKernel script that seems to now be working even with Magisk installed previously. Thanks to @x86cpu for reporting this bug.
U
Omar-Avelar said:
So I got home to try just in case @x86cpu and I was able to flash Magisk-v14.5(1456).zip after all of the 3 files had been flashed on my system and it booted fine.... so I've re-uploaded the Kernel as v1.1.1 in the downloads section just in case...
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed Magisk-v14.5(1456).zip
Wiped /system (as I had su from LineageOS flashed before)
Flashed OpenGapps
Flashed the 'hotfixes' (3rd of my zips)
Flashed gamma-kernel (1st zip)
Hit reboot
Essentially flashing the Kernel last... which might be a common thing that could happen, let me polish that up...
Click to expand...
Click to collapse
I just installed the v1.1.1 before the fix. So. In other words before I saw this update, I just flashed it with no wiping, Desolation rom, and it booted fine, it's just now, in Magisk I can't pass cts or basic integrity. I'll try your updated method and see if that fixes the problem.
Edit: did the above steps, minus wiping twice and flashing the hot fixes twice. Rebooted it. And now I can successfully pass safetynet on the latest gamma kernel!
Edit#2: false hope, my apologies, safetynet apparently isn't passed.
Edit#3: okay. I had a blonde moment. I forgot to wipe my dalvik. It passes now.
What do the HAL's do? And what order should I flash the zips?
Obamaloominaty said:
What do the HAL's do? And what order should I flash the zips?
Click to expand...
Click to collapse
The order doesn't matter as they are independent. And I would suggest you read about the EAS perfd HAL in here : README.md
However keep in mind that I haven't implemented all of the VoxPopuli features from the HAL in the AnyKernel as it needs some SELInux permissions updates (which I can do later on). But without all of those enhancements it will behave like the Pixel HAL.

KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15

KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15
{
"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"
}
THIS KERNEL IS FOR​TREBLE & NO-TREBLE​
Introduction
Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
Follow upstream Linux always
Features will be added only as needed
Security and stability are paramount
I hope you'll all agree with these three rules
Thread Rules
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
Stay classy, I won't tolerate flaming of any kind, ever.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version (3.18.119)
Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
Mainline Linux patches for CFQ and media memory allocation
F2FS driver updated
VDSO32 built in
Latest energy aware scheduling patches ported to 3.18 (check EAS)
Converted some workqueues to use power efficient workqueues
Wake up improvements and other optimization from Sultanxda
Rewrited the fingerprint sensor driver (fpc1020_tee)
The following user features:
Faux Sound Control with high-performance audio
Westwood (default)
Maple I/O scheduler
Wakelock control
Lastest WireGuard snapshot
Build with official Clang toolchains 7.0 (clang-4679922).
Hides bootloader unlock from SafetyNet (can still fail through other means)
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads
Lastest version is the v2.01 (AceKernel-Potter-v2.01_eas_unified.zip)
Eas-Unifiedhttps://download.martichou.me/Potter/
Only small issue is fingerprint gestures broken on Treble rom with this version. I'm working on how to solve this issue.
Old versions: https://download.martichou.me/Potter/Old/
Do not mirror my kernels and don't share the direct link!
Installation
If you are on a custom ROM:
Either dirty flash your ROM or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
If you are on a GSI/Treble ROM:
Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
Upgrading from one Flash version to the other:
Boot into TWRP
Flash the zip.
Reboot and profit!
Changelog
Complet changelog here:
https://github.com/Martichou/potter/
Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread
DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou
TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w
Website
I've made my personal website. (Hosted at OVH, should be fast for everyone)
It means, I'm gonna upload all zip on it and it also mean that you can take a look at the website
Website: https://martichou.me
DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus
Contributors
Martichou
Source Code: https://github.com/Martichou/potter
Kernel Special Features:
Version Information
Status: Stable
Created 2018-06-08
Last Updated 2018-09-15
Reserved
Thank you señor
Best kernel overall! (for me). Thanks Martichou!
which non treble rom can I use??
https://potterroms.me/du-mod/
can I use this??
I tried it on cr-droid 01/06, camera stops, so which roms have the latest commits??
Can u please suggest one? Or is it in development??
rishivg said:
which non treble rom can I use??
https://potterroms.me/du-mod/
can I use this??
I tried it on cr-droid 01/06, camera stops, so which roms have the latest commits??
Can u please suggest one? Or is it in development??
Click to expand...
Click to collapse
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
Martichou said:
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
Click to expand...
Click to collapse
Tried all of them after 7th June... none of them supported this...
rishivg said:
Tried all of them after 7th June... none of them supported this...
Click to expand...
Click to collapse
Try the 8 June Pixelexperience build.
There is also the lastest LOS15.1 from Vache.
As I said, maintainer will have to update their own tree.
Basically it's just a 2-3 days gaps.
As of now, supported roms are PE, LOS, and Firehound
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.
I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?
Also, what are the effects of "audio high performance mode"?
ichmyselfandi said:
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.
I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?
Also, what are the effects of "audio high performance mode"?
Click to expand...
Click to collapse
I don't recommend you to change the GPU governor. GPU don't take that much battery, and adreno_tz is already pretty great.
On GPU side, you can however change the GPU initial frequency to 133MHz if you want.
If you really want to change GPU governor (even if I don't recommend that at all), you can use simple_ondemand.
And about the Audio High performance mode:
Every phone powered by a Qualcomm processor has a built-in WCD9xx Audio DAC,
but it's rarely configured to be used to its full potential by OEMs.
This might not seem like a problem to some people, but if you're a music lover,
or you simply enjoy high-quality sound, it's an issue you'll definitely want to fix.
By enabling High-Performance Mode, the audio quality of Qualcomm-powered devices
will not only receive a boost in volume but will sound more clear and crisp as well.
- from android.gadgethacks.com
Click to expand...
Click to collapse
Is this kernel compatible with LiquidRemix?
jesus693 said:
Is this kernel compatible with LiquidRemix?
Click to expand...
Click to collapse
If the rom has been merged with june updates, then yes. Otherwise camera won't work.
.... i feel like people are going to yell at me but what is treble? i thought it was all about that bass
Ae3NerdGod said:
.... i feel like people are going to yell at me but what is treble? i thought it was all about that bass
Click to expand...
Click to collapse
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
Martichou said:
THIS KERNEL IS FOR​TREBLE & NO-TREBLE​
Introduction
Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
Follow upstream Linux always
Features will be added only as needed
Security and stability are paramount
I hope you'll all agree with these three rules
Thread Rules
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
Stay classy, I won't tolerate flaming of any kind, ever.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version (3.18.112)
Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
Mainline Linux patches for CFQ and media memory allocation
Latest energy aware scheduling patches ported to 3.18 (check EAS)
Converted some workqueues to use power efficient workqueues
Wake up improvements and other optimization from Sultanxda
Rewrited the fingerprint sensor driver (fpc1020_tee)
The following user features:
Faux Sound Control with high-performance audio
Westwood (default)
Maple I/O scheduler
Wakelock control
Lastest WireGuard snapshot
Build with official Clang toolchains 7.0 (clang-4679922).
Hides bootloader unlock from SafetyNet (can still fail through other means)
Flashed with AnyKernel2 (thanks to @osm0sis)
Downloads
Treble : AceKernel-Potter-v1.10_eas_treble
No-Treble : AceKernel-Potter-v1.10_eas_no-treble
For no-treble, the ROM need to be updated with lastest blobs from boulzordev GitHub organization.
Do not mirror my kernels and don't share the direct link!
Installation
If you are on a custom ROM:
Either dirty flash your ROM or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
If you are on a GSI/Treble ROM:
Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
Install or temporarily boot into TWRP (follow their instructions)
Reboot to TWRP
Flash the zip.
Reboot and profit!
Upgrading from one Flash version to the other:
Boot into TWRP
Flash the zip.
Reboot and profit!
Changelog
Complet changelog here:
For TREBLE variant use the eas_treble branch.
For NO-TREBLE variant, use the eas_no-treble branch.
https://github.com/Martichou/potter/commits/eas_treble
Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread
DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou
TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w
FOR DEVELOPER:
If you want to inline this kernel into your rom, you'll need a change in init.qcom.rc.
I also made this commit to make your life easier. Feel free to pick it [Treble & No-treble branch (depends on what you're building)]
https://github.com/Martichou/android_device_motorola_potter/commit/654854f3bc695a7cfbcc5ff11d7d3943b67869af
DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus
Contributors
Martichou
Source Code: https://github.com/Martichou/potter
Kernel Special Features:
Version Information
Status: Stable
Created 2018-06-08
Last Updated 2018-06-11
Click to expand...
Click to collapse
Great kernel ??? thank you
monster1612 said:
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
Click to expand...
Click to collapse
That is brilliant.
Does this mean our phones compass works on Oreo now? I read somewhere it was because of an issue with not having the 64bit drivers for it. Makes gps apps unusable for me and is basically while I'm still on nougat
hello I want to install the ROM but there is 2 treble version and no treble and I do not know which one to install. I have the latest version of RR-O-v6.0-20180608-potter-official
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 now the games are closed only after 5 minutes of opening them by little ram: '(
jesus693 said:
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 now the games are closed only after 5 minutes of opening them by little ram: '(
Click to expand...
Click to collapse
You can enable Zram in Kernel Auditor or Exkm or any kernel tweakers.
Enabling Zram should fix your issue.
By the way, I want to say that free ram is wasted ram. The ram need to be full the most of the time. (As far as I know and what others dev said).

[KERNEL] [blu_spark r60 OP7/Pro] [OOS /Custom A10]

{
"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"
}
Kernel features:
Powered by Ubuntu 18.04.3 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
Build with custom toolchain blu_gcc-9.2.0 (cortex-a76.cortex-a55 targeted, build with latest Crosstool-NG from GCC-9.2.0 snapshot)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP7 builds based on OnePlusOSS/android_kernel_oneplus_sm8150 for max stability
Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes for important subsystems
Several CPU Governors (blu_schedutil modded governor merged from latest CAF sm8150 patchset)
No OC, use 300HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
Patched SafetyNet flags to pass CTS
Stock thermal driver by default
ZRAM Swap (LZ4) and with file disabled
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver
adrenoboost enabled by default at low level
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
USB Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP​(No mirrors please)​
Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
Reflash ROM -> flash TWRP --> reboot to recovery --> flash Magisk if you want (default, no plugins/modules) -> flash blu_spark.
If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
About bugs and troubleshoots: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
If you're using custom ROMs (including OOS based ones) or Open Betas you're on your own. I'm only interested on debugging stuff in stock and stable OOS.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
OnePlus 7 Pro development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for OnePlus 7/Pro, Kernel for the OnePlus 7
Contributors
eng.stk
Source Code: https://github.com/engstk/op7
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r60 unified
Stable Release Date: 2019-10-13
Current Beta Version: r38 unified
Beta Release Date: 2019-08-24
Created 2019-07-01
Last Updated 2019-11-08
blu_spark r10 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
So keep this in mind if there's anything wonky. Check out the 7 Pro thread, some stuff is already discussed there.
blu_spark_r10 release
KCAL v2
KLAPSE v5.0
adrenoboost
USB2 fast charge (if it doesn't work, restart the device without any cable, turn on fast charge and connect the cable after)
couple init settings tune
AnyKernel3 updates
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Will try this soon! Thank you for your work
Finally u r here!!!!
So how's it rolling, all good?
Sent from my blu_spark'd Oneplus
Waiting for the device to come... Then I will flash your kernel... Can't wait
eng.stk said:
So how's it rolling, all good?
Click to expand...
Click to collapse
Yes, all good! "Battery life" and performance are great. Zero heat up while playing heavy games. Keep up the good work!
blu_spark r14 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r14 release
Merge blu_schedutil
input: touchscreen: add haptic feedback control sysfs
power: smb5-lib: reset level on removal (fix fast charge toggle without reboot)
set hz=300 (for interactiveness)
wireguard updates (v0.0.20190702)
some UX improve tuning
AnyKernel3 updates
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Has the kernel something todo with the signal strength/mechanism of a device or is this a rom setting?
nexuspur said:
Has the kernel something todo with the signal strength/mechanism of a device or is this a rom setting?
Click to expand...
Click to collapse
Depends strength of what in particular?
If you're talking about 4g/gsm, nope.
Sent from my blu_spark'd OnePlus
Flashed kernel an hour ago. Will see how it goes. Thanks for your work
eng.stk said:
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r14 release
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Click to expand...
Click to collapse
Hi,
Thanks for excellent battery friendly Kernal.
pushpendrayadav said:
Hi,
Thanks for excellent battery friendly Kernal.
Click to expand...
Click to collapse
Stock settings?
blu_spark r16 release (unified)
All right crew!
New build is up :highfive:
This kernel is unified, should be good on OP7/Pro (I only can test on Pro).
blu_spark_r16 release
Synchronize codes for Oneplus 7 Pro Oxygen OS 9.5.9.GM21AA
Add GPU 675Mhz freq step (default is 585Mhz)
couple build improvements
defconfig: enable some perf configs and remove cruft
Remove some debug and logging
Add support for OP7 Pro TMO on installer
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
pushpendrayadav said:
Hi,
Thanks for excellent battery friendly Kernal.
Click to expand...
Click to collapse
Lol, I get the same SOT with stock kernel.
Edit: @eng.stk the update works great for me on my OP7.
Thanks
I cant set the minimum cpu frequency. It goes back to stock which is the same as the maximum cpu frequency(1785MHz on little cores)
carlsmad said:
I cant set the minimum cpu frequency. It goes back to stock which is the same as the maximum cpu frequency(1785MHz on little cores)
Click to expand...
Click to collapse
I can set it just fine.
1785 is not the default min, if you cant change it and its locked to that max value you have something else derping and locking it.
Sent from my blu_spark'd Oneplus
eng.stk said:
I can set it just fine.
1785 is not the default min, if you cant change it and its locked to that max value you have something else derping and locking it.
Sent from my blu_spark'd Oneplus
Click to expand...
Click to collapse
Okay sir. Thanks. I think I'll just format my phone again.
@eng.stk Portrait mode isn't working with your kernel.
Kollachi said:
@eng.stk Portrait mode isn't working with your kernel.
Click to expand...
Click to collapse
Works fine in 7pro OOS 9.5.9 with stock camera app, used it yesterday actually several times.
Multimedia driver stack, including camera, is totally stock in blu_spark.
edit: also OP7 is behind in ROM versions, they updated camera stuff on latest OOS 9.5.9 sourcedrop, so you may have to stay with previous kernel build until they update OP7 ROM with matching binaries.

Categories

Resources