[KERNEL] SimpleGX v1.8 (August 06) - Google Pixel 3 ROMs, Kernels, Recoveries, & Other

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel is for Google Pixel 3/XL (blueline/crosshatch)
Code:
You will NOT void your warranty after flashing this kernel.
Be sure to make all necessary backups first before processing to installation.
I'am not responsible of any damage caused to your device or data lost after flashing this kernel.
Of course, these are only basic warnings ! but generally you'll not get any problem :)[/COLOR][/FONT]
Some reading..
Welcome to SimpleGX kernel ! a kernel that aims for simplicity, stability, better performance, smoothness and battery life over a pure stock kernel.
This kernel is designed for people who are (like me) bored to flash kernels which integrate tons of unneeded things.
Main goals of it, is to stay MUCH closer to stock than every kernels shared here and almost not to be a “custom kernel” on its own. So beware, no exotic stuffs here !
No need for any third app or whatever to control this kernel. Just "flash-n-joy" ! this is how I always liked thing.
Keep in mind that this kernel has been designed for my daily use first.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing. So, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official Google Pixel 3/XL firmware !
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Slightly better battery life
Slightly better performance
Include only efficient (but definitely not experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Always directly based from latest available "android-msm-crosshatch-4.9-pie-qpr2" Android source from Google (for clean work)
Compiled with stock Google (4.9.x / CLANG) toolchain with stock LTO/CFI options (for best stability and security)
Featuring AnyKernel3 (for all ramdisk compatibility)
Stock Linux
Main :
Completely optimized stock 'cfq' I/O scheduler
All TCP congestion control modules activated with Westwood currently as default
mmc/core: disabled CRC check
tcp_output: set initial TCP window size to 64K
fs: default to noatime
WireGuard support (thanks to @zx2c4)
Removed verify and forced encryption + patched SafetyNet flags to pass CTS
Some miscellaneous tweaks, fixes, and security patches
Various tweaks :
Full changes to be discovered directly in my Github source below
Features that will NEVER be included in this kernel :
adding any other governor/IO schedulers than those stock
root/busybox auto-installation
CPU/GPU overclocking/undervolting
KCAL
adreno idler
state_notifier
any upstream of Linux kernel
dual-boot
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
An Android Pie firmware
Optional : to control some kernel options, you can install Kernel Adiutor)
★ INSTALLATION PROCEDURE ★ :​METHOD 1 : testing kernel without real flashing
Backup everything you need (internal & external)
Unlock your bootloader (if not already done)
adb reboot bootloader
Extract 'Image.lz4-dtb' from kernel ZIP (SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip)
fastboot boot Image.lz4-dtb
Enjoy ! (but beware.. kernel will be lost after any single reboot!)
METHOD 2 : flashing kernel classically
Backup everything you need (internal & external)
Unlock your bootloader (if not already done)
adb reboot bootloader
fastboot boot twrp-3.2.3-0-blueline.img (or better)
ADB sideload SimpleGX_KERNEL_Pixel3-XXX_vX.X.zip
OPTIONAL (if you want to root the kernel) : ADB sideload Magisk-v18.1.zip (or better)
Enjoy ! (kernel will stay after any single reboot)
★ Frequently Asked Questions (FAQ) ★ :​
How can I update my SimpleGX kernel version ?
- Just make a dirty flash over it. If there is a special thing to do, then it will be precised directly into the announce.
How can I go back to stock kernel ?
Just flash back your full usual firmware back.
Is there a LineageOS (LOS) version of you kernel ?
No, and there won’t be any.
My battery is draining like hell, what's wrong ?
As @nathanchance perfectly said for his kernel: "The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone".
Also, generally, I remarked that wiping cache+dalvik between updates may drain a lot for the percentage left and the first cycle. Anyway, be sure to make at least two full cycles (from 100% to 0%) before judging battery life for any kernel.
How to recover excellent battery life ?
Check my personal tips HERE.
★ for Google Pixel 3/XL ★
/! PLEASE DO NOT MIRROR MY DOWNLOADS /!​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below). It's always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​
XDA:DevDB Information
SimpleGX, Kernel for the Google Pixel 3
Contributors
AndroidGX
Source Code: https://github.com/AndroidGX/SimpleGX-P3-bluecross
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.8
Stable Release Date: 2019-08-06
Created 2019-03-17
Last Updated 2019-08-06

★ CHANGELOG ★ :​
06.08.2019 : v1.8 released.
Source: Synchronize code as of latest August 2019 update
AnyKernel3: update to latest version
03.07.2019 : v1.7 released.
Source: Synchronize code as of latest July 2019 update
AnyKernel3: update to latest version
WireGuard: update to latest version (20190702)
04.06.2019 : v1.6 released.
Synchronize source as of latest June 2019 update
Upgrade from AnyKernel2 to AnyKernel3
wireguard: update to latest version (20190601)
19.05.2019 : v1.5 released.
anykernel2: update to latest version
Revert "cpuidle: don't disable cpuidle when entering suspend"
Revert "binfmt_elf.c: use get_random_int() to fix entropy depleting"
Revert "AIO: Don't plug the I/O queue in do_io_submit()"
07.05.2019 : v1.4 released.
Synchronize source as of latest May 2019 update
anykernel2: update to latest version
revert: printk: Add sys kernel interface to configure linux printk logging (not very useful after all)
07.04.2019 : v1.3 released.
anykernel2: update to latest version
wireguard: update to latest version (20190406)
02.04.2019 : v1.2 released.
Synchronize source as of latest April 2019 update
23.03.2019 : v1.1 released.
anykernel2: update to latest version
anykernel2: fix flashing message at the end (no more need to flash Magisk to boot, unlike OnePlus 5T version)
cpuidle: don't disable cpuidle when entering suspend
binfmt_elf.c: use get_random_int() to fix entropy depleting
AIO: Don't plug the I/O queue in do_io_submit()
17.03.2019 : v1.0 released.
Initial release for March firmware (check actual features)

Thanks & greetings
★ THANKS & GREETINGS ★ :​
Google
nathanchance
flar2
osm0sis
. . .and of course to all talented devs credited in my commits!

Donations
★ DONATIONS ★ :​
Many thanks @Serial Kazama :good:
Thank you to support my work ! :highfive:

RESERVED
Reserved :highfive:

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

Porogami said:
Would work l-speed settings and improve batter/performance more? Also how much battery (SOT) would you say I would gain?
Click to expand...
Click to collapse
It depends all on yourself - what kind of apps you are using, how you use your phone and so on..

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

Porogami said:
But like a rough estimate. Like 1 hour. 30 mins or 1min
Click to expand...
Click to collapse
Like @xFirefly93 explained perfectly, everyone has different usage.
Personally with stock kernel I was getting a SOT like ~3h30, now with my kernel I gained 1 hour more.
I'm planning to release soon v1.1 which have very slightly better battery (that I currently experiment) :good:

UPDATE
★ UPDATE ★ :​
23.03.2019 : v1.1 released.
anykernel2: update to latest version
anykernel2: fix flashing message at the end (no more need to flash Magisk to boot, unlike OnePlus 5T version)
cpuidle: don't disable cpuidle when entering suspend
binfmt_elf.c: use get_random_int() to fix entropy depleting
AIO: Don't plug the I/O queue in do_io_submit()

Ok thanks. But one more thing. Would this work with LKT because it didn't work with proton kernel

Porogami said:
Ok thanks. But one more thing. Would this work with LKT because it didn't work with proton kernel
Click to expand...
Click to collapse
"LKT" ?

Nice work. Confirm that battery is much better than stock. No issue. Thanks man.

AndroidGX said:
"LKT" ?
Click to expand...
Click to collapse
That is a magisk module that's like an analoge of BlackenedMod tweaks

luckana said:
That is a magisk module that's like an analoge of BlackenedMod tweaks
Click to expand...
Click to collapse
Not aware of this module, anyway, if there is nothing to add from kernel side, then it should work properly. If not, then it's from rom/firmware/magisk side (which of course I cannot act).

I've tested it and can confirm it works. Good work ?

UPDATE
★ CHANGELOG ★ :​
02.04.2019 : v1.2 released.
Synchronize source as of latest April 2019 update
Enjoy :good:

If I flash this through ek manager, will Magiak be patched?

gvsukids said:
If I flash this through ek manager, will Magiak be patched?
Click to expand...
Click to collapse
I recommend to flash my kernel using my first post instructions, nothing else (althought you can still give a try via EXKM) :good:
You will need to always flash Magisk right after flashing kernel to get root back.

UPDATE
★ CHANGELOG ★ :​
07.04.2019 : v1.3 released.
anykernel2: update to latest version
wireguard: update to latest version (20190406)
Enjoy :highfive:

Related

[KERNEL] [MM] [H815 & H811] ★ SimpleGX KERNEL v3.0.0 ★ (17th July)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WARNING :
This kernel concerns LG G4 (both H815/International and H811/T-Mobile) versions only
You will void your warranty after flashing this kernel
I'am not responsible of any damage caused to your device after flashing this kernel
Some reading..
Here I go again from Samsung, but now to LG adventure!
SimpleGX is only looking for simplicity and stability, trying to aim for best battery life, smoothness and performance experience, than a pure stock kernel.
It has been mostly designed for people who like "flash-and-play" kernels (you flash and you can directly enjoy, without doing customizing anything to get the best battery life and smoothness experience possible), that is how I always liked things.
This kernel will never implement experimental things to stay as close as possible as stock and avoid bugs like many other kernels. Choice is large in H815 kernels, but I wans't personally enough satisfied after testing all of them, so I decided to make mine for my personal use first, and share it to the community.
Keep in mind I still dont qualify myself as of a real developer, but just a basic person with some android/linux knowledge already.
As always, I'm enjoying sharing my contribution here on XDA for free, which taking me a lot of (my free) time to test before releasing (my device has already been a lot tortured to release this kernel) so, if you can offer me a little beer, it will be really appreciated!
This kernel must be only flashed over an official LG ROM and not AOSP/AOKP (like CyanogenMod, etc) !
Feel free to include my kernel to your ROMs / Threads but please don't forget to inform/ask first via PM and credit me in your original thread.
​
★ WHAT TO EXPECT ★ :​
(over a pure stock kernel) :
Better battery life and overall performance experience
Trying to include only efficient (but not so much experimental) tweaks
Stay as close as possible from pure stock source
★ FEATURES (up-to-date) ★ :​
Base :
Directly based from latest available "LGH815_Android_Marshmallow_V20j" Android 6.0 source from LG (for clean work and stability)
Compiled with UBER-TC (4.9.4 / 2017-01-15 / aarch64-linux-android) toolchain with optimization flags
Ramdisk from 20g stock kernel
Stock Linux 3.10.84
Main :
Auto install SuperSU 2.79 SR3
Auto install BusyBox 1.26.2
Native ExFAT support
FIOPS scheduler added
noop as default I/O scheduler
Optimized other stock schedulers for SSD's
All TCP congestion control modules activated with Westwood currently as default
SElinux set to "Permissive"
Stock ZRAM enabled (may be configurable with scripts provded in downloads section)
Logd disabled
init.d support
USB fast charge (but disabled as default)
KCAL post-processing driver
DriveDroid support
Dual-boot ready
All yet QuadRooter vulnerabilities fixed
Some miscellaneous tweaks, fix and patches to improve overall smoothness and battery life experience
... and (maybe?) more to come !
Various tweaks :
Full changes to be discovered directly in my Github source below
(some tweaks may be configurable via Kernel Adiutor)
Features that will NEVER be included in this kernel :
Any CPU/GPU overclocking / undervolting
Adreno idler
state_notifier
Any upgrade of Linux kernel 3.10.x
Dual-Boot Sammy/AOSP
CyanogenMod compatibility
MIUI compatibility
Any integrated pre-settings scripts (kernel will always stay with stock values)
etc
★ PREREQUISITE ★ :​
An unlocked Bootloader
A Marshmallow LG firmware (H815-20X - X means A/B/C/D/E/F/G/H/I/L, etc)
A custom recovery (TWRP recommanded), to flash the kernel
Optional : to control some kernel tweaks, you can install Kernel Adiutor)
★ SOURCE (up-to-date) ★ :​
Github >> SimpleGX.
★ INSTALLATION PROCEDURE ★ :​
Backup everything you need (internal & external),
Unlock your Bootloader
Flash TWRP recovery
Reboot to Recovery
Make a backup of your boot partition (just in case)
Flash kernel
Reboot and enjoy !
★ FAQ ★ :​
Can I install this kernel into my actual ROM/Firmware ?
As long as you run any Marshmallow firmware, it should be compatible. For your information, in the zip name, "X" means firmwares A/B/C/D/E/F/G/H/I/L, etc.
What is the difference between H815 and H811 versions ?
If your LG G4 is the International version then it's called H815, if it's the T-Mobile version then it's H811. Both worlds are compatible with this kernel. Please download the right version corresponding your device. The difference between the two builds are just the respective defconfigs for each devices.
I checked into system info and can still see "3.10.83", is this normal ?
It's because I don't upgrade stock linux 3.10.83 and system info only show this information. To see if you flashed kernel properly, please check with Kernel Adiutor (into kernel version), or CPUSpy, etc.
I'm feeling some weird battery drain, how can I fix this ?
Try THIS tips, it should do the trick.
★ for H815 ★
★ for H811 ★
★ ZRAM scripts ★
/!\ BEWARE TO SELECT THE RIGHT VERSION THAT CORRESPONDS YOUR G4 /!\
/!\ CHECK MD5 BEFORE FLASHING IS HIGHLY RECOMMENDED /!\
/!\ PLEASE DO NOT MIRROR MY DOWNLOADS /!\​
Need supports ? all kind of questions must be posted on this thread directly. Be sure to read at least completely this first post before asking any question.
If you enjoy this kernel, don't forget to rate this thread
stars, and clicking the 'thanks' button (right below) is always appreciated to keep this thread maintained ​
LIKE MY WORK ?
OFFER ME A
:good::highfive::good:​​
Changelog
★ CHANGELOG ★ :​
17.07.2017 : v3.0.0 released.
Fully and completely rebased from latest available 20o official LG source (for clean work)
Ramdisk updated to 20o
Update UBER-TC toolchain to latest 2017-04-22 (from @DespairFactor)
Removed KCAL post-processing driver (was causing some artifacts sometimes while browsing)
Removed some unnecessary commits about QuadRooter patches and microphone fix while recording (since new 20o source already fix them by itself)
Other personnal minor kernel compilation optimizations
31.03.2017 : v2.1.0 released.
ramdisk updated to 20p
Removed SuperSU (I now prefer to let people decide by themselves which root solution they want to have)
Removed BusyBox from osm0zis (same as root above)
05.03.2017 : v2.0.3 released.
fix sound recording problem from latest 20L firmware
Update toolchain to latest UBER-TC 2017-02-26 toolchain (from @DespairFactor)
tools: update mkbootimg
01.03.2017 : v2.0.2 released.
ramdisk updated to 20l
31.01.2017 : v2.0.1 released.
Revert back to FIOPS as default I/O scheduler.
28.01.2017 : v2.0.0 released.
Fully and completely rebased from latest available 20j official LG source (for clean work)
ramdisk updated to 20g
BusyBox installer updated to 1.26.2 from osm0sis
sbin: update internal busybox to 1.26.2 from osm0sis
defconfigs: set noop as default I/O scheduler (instead of fiops)
19.01.2017 : v1.5.10 released.
Now compiled with latest UBER-TC 2017-01-15 toolchain (from @DespairFactor)
15.01.2017 : v1.5.9 released.
SuperSU updated to 2.79 SR3
sbin: update internal busybox to 1.25.1 from osm0sis
defconfig: enable back stock ZRAM
Added two flashable ZIP's to configure ZRAM (can be found in downloads section).
Few other scripts will be available very soon. Actual ones are to disable or enable ZRAM (stock flashing kernel will enable ZRAM as default now).
Some new UI retouch during flashing procedure
25.12.2016 : v1.5.8 released.
simplegx.sh: added a small battery life tweak
Minor retouch during flashing procedure (updater-script)
Removed old useless init.d script during flashing procedure
24.12.2016 : v1.5.7 released.
ramdisk updated to 20k
24.12.2016 : v1.5.6 released.
SuperSU updated to 2.79
ramdisk updated to 20j
30.11.2016 : v1.5.5 released.
SuperSU updated to 2.78 SR5
29.11.2016 : v1.5.4 released.
SuperSU updated to 2.78 SR4
simplegx.sh: stop google service and restart it on boot
27.10.2016 : v1.5.3 released.
defconfigs: enable both "WQ_POWER_EFFICIENT_DEFAULT" and "CRYPTO_CRC32_ARM64"
A little mistake from me but I completely forgot to make them active.. so those two tweaks are now really enabled.
21.10.2016 : v1.5.2 released.
block_dev: implement readpages() to optimize sequential read
ramdisk: minor update into simplegx.sh script
19.10.2016 : v1.5.1 released.
ramdisk updated to 20L
15.10.2016 : v1.5.0 released.
Fully and completely rebased from latest available 20i official LG source (for clean work)
ramdisk updated to 20i
BusyBox updated to 1.25.1
UBER-TC toolchain updated to latest available (20160726).
Previous releases changelog...
02.09.2016 : v1.4.8 released.
Update SuperSU to latest 2.78
20.08.2016 : v1.4.7 released.
Fixed all yet QuadRooter vulnerabilities
31.07.2016 : v1.4.6 released.
add FIOPS I/O Scheduler
defconfig: add FIOPS I/O Scheduler and set it as default
30.07.2016 : v1.4.5 released.
ext4: Speedup WB_SYNC_ALL pass called from sync
arm64: crypto: increase AES interleave to 4x
readahead: make context readahead more conservative
writeback: fix race that cause writeback hung
writeback: fix writeback cache thrashing
mm: slub: Default slub_max_order to 0
05.07.2016 : v1.4.4 released.
Reverted all previously added cpu-hotplug things
Update SuperSU to latest 2.76 stable
18.06.2016 : v1.4.3 released.
soc: qcom: add bricked_hotplug driver
soc: qcom: add msm performance hotplug
defconfig: Enable 'BRICKED_HOTPLUG'
defconfig: Enable 'MSM_PERFORMANCE_HOTPLUG_ON'
11.06.2016 : v1.4.2 released.
ramdisk: update to 20h
01.06.2016 : v1.4.1 released.
cpufreq: cpu-boost: don't boost big cluster on input touch unless it has at least 1 task running on any of its cores to save power
cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
23.05.2016 : v1.4.0 released.
defconfig: disable ZRAM (again)
Revert "cpufreq: governor: Be friendly towards latency-sensitive bursty workloads"
Update SuperSU to latest 2.74 beta
18.05.2016 : v1.3.6 released.
Update SuperSU to latest 2.72 beta
06.05.2016 : v1.3.5 released.
ramdisk: update to 20g
01.05.2016 : v1.3.4 released.
Fixed battery drain issue from stock 20f ramdisk.
23.04.2016 : v1.3.3 released.
Makefile: force 'fno-pic'
ramdisk: update to 20f
ramdisk: removes new 'xfrm logging' service from stock 20f ramdisk
Now auto installing (latest 1.24.2) BusyBox during flashing procedure
08.04.2016 : v1.3.2 released.
arm64: lib: memory utilities optimization
arm64: kconfig: Move LIST_POISON to a safe value
crypto: crc32 - Add ARM64 CRC32 hw accelerated module
Fixed ExFAT support (for people which had issues with it)
03.04.2016 : v1.3.1 released.
Update compilation toolchain (UBERTC) from 20160303 to latest 20160401
Update SuperSU from 2.68 to latest 2.71 beta
29.03.2016 : v1.3.0 released.
SELinux: Reduce overhead of mls_level_isvalid() function call
arm64: topology: fix cpu power calculation
Revert "cpufreq: cpu-boost: don't boost big cluster on input touch unless it …"
Revert "mm: optimize Kernel Samepage Merging (KSM)"
Revert "mm/ksm: engage deferred timer by default"
Revert "power: process: drecrease time to enter sleep"
26.03.2016 : v1.2.9 released.
Migrate compilation toolchain to latest UBER-TC 4.9.4 - 2016.03 (infos)
21.03.2016 : v1.2.8 released.
Revert "defconfig: enable KSM and ZBUD"
power: process: drecrease time to enter sleep
futex: Implement lockless wakeups
sched: Implement lockless wake-queues
mm/ksm: engage deferred timer by default
mm: optimize Kernel Samepage Merging (KSM)
08.03.2016 : v1.2.7 released.
defconfig: enable back stock ZRAM, SWAP and ZSMALLOC
defconfig: enable KSM and ZBUD
defconfig: disable back SCHED_AUTOGROUP
Now auto installing (latest 2.68) SuperSU during flashing procedure
23.02.2016 : v1.2.6 released.
cpufreq: cpu-boost: don't boost big cluster on input touch unless it has at least 1 task running on any of its cores to save power
23.02.2016 : v1.2.5 released.
cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
Bluetooth: hidp: fix device disconnect on idle timeout
19.02.2016 : v1.2.4 released.
Add USB fast charge (but disabled as default)
Add KCAL post-processing driver
13.02.2016 : v1.2.3 released.
tcp_output: set initial TCP window size to 64K for speed improvement
Makefile: optimize gcc toolchain for big.LITTLE system
ramdisk: fix init.d permissions
07.02.2016 : v1.2.2 released.
ramdisk: update to 20E
06.02.2016 : v1.2.1 released.
ramdisk: remove logd to avoid probable battery drain
ramdisk: update simplegx script
31.01.2016 : v1.2.0 released.
This release is like a new start. I completely started again from stock source and revised commits one by one (some were deleted, some added) because I wasn't satisfied enough about previous release.
Less artificial, more efficiency but always more close to stock.
Please visit my github page to see what exactly changed (old source deleted), or you can just read actual main features from post above.
26.01.2016 : v1.1.1 released.
ramdisk updated to 20D.
Added a slight optimization in Makefile.
24.01.2016 : v1.1.0 released.
Fully and completely rebased from latest available 20d official LG source (for clean work).
Fixed broken ExFAT (this time definitely).
Fixed broken Bluetooth (thx @slim80).
Some more tweaks for better smoothness and battery life.
Completely revised personal scripts for better kernel building (+ tools updated, etc).
21.01.2016 : v1.0.2 released.
Definitely fixed random lags/freezes.
ExFAT finally fixed ! (big thanks to my friend @xdamc2010 for his precious help)
15.01.2016 : v1.0.1 released.
Fixed some more random lags/freezes.
Slight tweak for battery life.
Some very slight ramdisk and Makefile changes.
ExFAT still not fixed (currentry trying to).
10.01.2016 : v1.0.0 released.
Initial release (check actual features).
Thanks & greetings
★ THANKS & GREETINGS ★ :​
(by alphabetic order)
Chainfire
DespairFactor
DorimanX
googy_anas
osm0sis
xdamc2010
. . . and of course to all talented devs properly credited in my commits!
Donations
★ DONATIONS ★ :​
Many thanks to @johnny8910 ! :good:
Many thanks to @Sub8 ! :good:
Many thanks to @Hoffmanns ! :good:
Many thanks to @bender_007 ! :good:
Many thanks to Hubert P. ! :good:
Many thanks to @herveonex ! :good:
Many thanks to @Alejuan2005 ! :good:
Many thanks to @Snah ! :good:
Many thanks to @HorstiG ! :good:
Many thanks to @jmlnice ! :good:
Thank you to support my work ! :highfive:
Welcome to LG's world. Good luck with your job.
Welcome my friend! Nice job!
Any reason why you'll never add overclocking/underclock? It's your kernel and you're of course allowed to do whatever you want with it [emoji14]
Sent from my LG-H815 using Tapatalk
DaarkieDoo said:
Any reason why you'll never add overclocking/underclock?
Click to expand...
Click to collapse
Because:
I'm not a fan of those things, as it is source of many instabilities and not recommanded for long term (reducing life of components, a bit)
I found the LG G4 already powerful enough for my daily use
:highfive:
Welcome to LG! I like your signature. "If you take life too seriously : just undervolt it." Heh, yes, instabilities...
I'll keep an eye on this kernel for experiences. I hadn't tried a custom kernel on my G4 yet...
Looks like this one is less likely to break things than others.
SD card failure. Unusable for me. Back to stock rooted.
viruz82 said:
SD card failure. Unusable for me. Back to stock rooted.
Click to expand...
Click to collapse
+1
Sent from my LG-H815 using Tapatalk
Corrupt sd card... going back to stock and waiting for a future release. In lupus kernel works fine too.
Thanks for your work anyway
Thanks guys for the report about ExFAT issue, I'll fix this very soon :good:
(I wasn't aware because I still have my old 32gb sdcard so cannot test personally, I will attach a beta here in my next post, so you guys will confirm if it will work :good
Stay tuned!
Cheers' :good:
Can you guys please try this beta version and report if ExFAT is working.
(If not, I have another solution but will take me some time :good
'laters
*new beta2 to test, please download it HERE and report*
Sd card issue
Tested beta 2, still no go for sd card.
I have not problem with SD card because I using old 32gb card.
But overall performance is great and battery seems great too.
Im tested all custom kernels for LG G4 and this kernel seems good maybe best of all...
ozzyblack said:
Sd card issue
Click to expand...
Click to collapse
zuqka10 said:
Tested beta 2, still no go for sd card.
Click to expand...
Click to collapse
Thanks guys for your report. I know where the problem is, I'm currently stuck at signing exfat module step. It will be fixed asap (I hope) :good:
Hoffmanns said:
I have not problem with SD card because I using old 32gb card.
But overall performance is great and battery seems great too.
Im tested all custom kernels for LG G4 and this kernel seems good maybe best of all...
Click to expand...
Click to collapse
Thanks for your report, if you wait for official v1.0.1, you'll even be more surprised, removing a bit more both thermal and random lags :good:
'laters
UPDATE
★ UPDATE ★ :​
15.01.2016 : v1.0.1 released.
Fixed some more random lags/freezes.
Slight tweak for battery life.
Some very slight ramdisk and Makefile changes.
ExFAT still not fixed (currentry trying to).
I'm releasing this v1.0.1 by waiting ExFAT fix :good:
Cheers' and enjoy :good: :highfive:
Thx a lot, have to skip this one and wait for sd fix

[EOL][KERNEL][STABLE][TW][N][7.0][CRC7][23.04.18][SM-G95XF/FD/N] BatKernel V2.1.1

BatKernel for SM-G95XF/FD/N models
{
"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"
}
Supports Touchwiz Roms with AQG5 and higher, for bases below AQGX, use 1.2.x release version!
IF YOU FOLLOW MY STEPS BELOW, YOU WILL LOSE YOUR WARRANTY, KNOX WILL DISPLAY 0x1! I'M NOT RESPONSIBLE FOR ANY DAMAGED DEVICE!
If you want to take my work and need it somewhere, or do other things with it, ask me first for the permission. Otherwise you are not allowed to take it! Thank you !
Features of this Kernel:
- Build with latest 6.4.1 GNU GCC toolchain by @djb77
- Build with CRC7 kernel source code
- Latest Linux version 4.4.128, is always up to date
- Performance and Batterylife improved
- Choose between different CPU governors: performance, powersave, userspace, ondemand, interactiv (default), conservative, schedutil
- Includes latest CRC7 ramdisk
- I/O schedulers: CFQ (Default), No-op, Deadline, BFQ
- F2FS enabled for /data and /cache disabled on 1.2.2 for testing
- NTFS enabled
- TCP (Network) control: Bic (default), Reno, cdg, cubic, dctcp, Westwood, Highspeed, Hybla, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois, Lia, Olia, Wvegas, balia
- SeLinux is set to permissive
- All samsung security related configs disabled (as knox, tima, restrict rooting)
Download:
V2.1.1 on AndroidFilehost (Oreo)
V1.8.0 on AndroidFilehost (Nougat)
Via Grifo Development Thread
Bugs/Problems:
- None
Instructions:
0. Have a working recovery and encryption removed!
1. Download kernel
2. Boot into twrp recovery mode
3. Flash kernel
4. Flash any other file which affects ramdisk (Magisk or SuperSU)
5. Reboot
If you wanna join the beta tester group, download yourself telegram and click on the chat link: Telegram Group
Support:
If you like my work, feel free to hit thanks and/or give me a small donation by clicking the link right below. Thank you very much in any way! :good:
​
PayPal​
Credits/Thanks:
- Samsung for sources
- the great linus for his amazing kernel source
- Jesec for his workaround, without him custom kernels won't be possible on the s8!
XDA:DevDB Information
BatKernel SM-G95XF, Kernel for the Samsung Galaxy S8
Contributors
Tkkg1994
Source Code: https://github.com/Tkkg1994/BatKernel
Kernel Special Features: Close to Stock Kernel
Version Information
Status: Stable
Current Stable Version: V2.1.1
Stable Release Date: 2018-04-23
Created 2017-07-14
Last Updated 2018-04-23
Changelog:
Nougat:
BatStock-Kernel V1.0:
- Initial testing release (not on XDA)
BatStock-Kernel V1.0.1:
- Fixed slow read speed
- enabled f2fs
- enabled ntfs
- enabled all included govs/tcp/ioscheds
- random driver updates
BatStock-Kernel V1.1.0:
- Based on latest AQE5 source code
- Updated ramdisk to AQEB
- Added init.d support
- Hopefully fixed some issues with shealth
- Updated linux to most recent 4.4.69
- Changes made by samsung in source code: led cover support, some other battery updates, display updates (mainly for red tint), other small fixes
BatStock-Kernel V1.2.0:
- Based on latest AQF7 release
- Updated ramdisk to AQF7
- Updated Linux to 4.4.74
- ext4: fix data exposure after a crash (which should maybe fix the random reboots)
- Updated included camera binaries
BatStock-Kernel V1.2.2:
- Reverted an alarmtimer update which could have broken some deepsleep things
- Added support for private mode
- Updated linux to 4.4.76
- Added stock init file (without being patched for f2fs, means f2fs won't work right now) to see if that has something to do with continous bootloops
BatStock-Kernel V1.3.2:
- Remember, this kernel won't boot on AQF7 or lower bases, only on AQG5 or highter!!
- Added BFQ ioscheduler
- Updated resetprop from latest magisk release
- Updated Linux version to 4.4.82
- Added Spectrum support (right now it will only change cpugovs, this will be extended in future releases)
- Updated ramdisk to AQGB
- Updated source code to AQGB
BatStock-Kernel V1.4.0:
- Kernel base updated to AQH3
- Ramdisk updated to AQH3
- Linux updated to most recent 4.4.83
- Switched back to an older version of the toolchain
BatStock-Kernel V1.4.1:
- Linux updated to 4.4.87
- Toolchain switched to GNU GCC 6.4.0 build by @djb77
- Small adjustments to make your experience even greater!
BatStock-Kernel V1.5.0:
- Updated base of the kernel to AQI7
- Updated ramdisk to AQI7
- Linux updated to 4.4.92
- Toolchain switched to GNU GCC 6.4.1 build by @djb77
- Updated camera binaries to AQI7 thanks to @geiti94
- Enabled dex on all hdmi adapters thanks to @kbarni
BatStock-Kernel V1.6.0:
- Updated source of the kernel to AQJ1
- Updated ramdisk to AQJ1
- Updated linux to latest 4.4.95
- Updated patched firmware binaries to AQJ1
BatStock-Kernel V1.7.0:
- Source code update to AQK7
- Ramdisk update to AQK7
- Linux update to latest 4.4.102
BatStock-Kernel V1.8.0:
- Source code update to AQL5
- Ramdisk update to AQL5
- Linux update to latest 4.4.111
- Toolchain updated
- AIK updated to latest v3.1
Oreo:
BatKernel V2.0.0:
- Rebased on latest CRB7 source code (Oreo)
- Ramdisk update to CRB7 (Oreo)
- DON'T use this on Nougat
- Linux update to latest 4.4.124
- Toolchain updated
- Camera bins updated to CRB7 @Noxxxious
- Updated AIK to latest 3.2 release
- If you got issues with your wifi, you were previously using a "dirty" hack to get wifi working. I can confirm that wifi works fine on a full stock rom. If wifi doesn't work, please tell your rom developer to fix it :good:
BatKernel V2.1.0:
- Based on latest CRC7 source code
- Ramdisk updated to CRC7
- Linux updated to 4.4.125
BatKernel V2.1.1 Final:
- Fixed issues with deodexed roms not creating dalvik-cache files (thanks @mwilky )
- Linux updated to 4.4.128
Reserved
Reserved
Hey guys, this isn't anything new, I just moved the BatStock-kernel thread into the criss cross development section as it's way more active in here :fingers-crossed: :good:
I think you should should delete old thread
Sent from my SM-G955F using Tapatalk
rehanraza said:
I think you should should delete old thread
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
You can't delete them you can only close the threads and that I already did
Sent from my BatMan powered SM-G955F
Suddenly I started getting failed Safetynet .. Magisk Core Only or Magisk Hide both enabled but fails ... any clue ... i tried fresh install of Batstock Rom and new kernel version with Magisk, but no use ...
I know it has been a long ongoing issue but just wanted to check if anybody found a working solution on this combo
v-b-n said:
Suddenly I started getting failed Safetynet .. Magisk Core Only or Magisk Hide both enabled but fails ... any clue ... i tried fresh install of Batstock Rom and new kernel version with Magisk, but no use ...
I know it has been a long ongoing issue but just wanted to check if anybody found a working solution on this combo
Click to expand...
Click to collapse
Which version of magisk and the kernel?
PS magisk broke 36 hours ago and 13.3 fixed it overnight.
Sent from my Nexus 7 using Tapatalk
goRt said:
Which version of magisk and the kernel?
PS magisk broke 36 hours ago and 13.3 fixed it overnight.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Yup all good now ... how did i miss that .. lol
Can someone be nice and kind to send me an screenshot of Default governor settings for the Galaxy S8 ? I would be very grateful!
time keeping module shows wrong boot epoch time
Hi,
This issue was observed on V1.1.0, but stil exist in V1.2.2.
A sympthom of the problem can be seen in:
dreamlte:/ # cat /proc/stat
btime 1485100236
The kernel functions that suppose to return the boot epoch time (wall time since 1970), e.g. ktime_get_real_seconds, getboottime etc,
returns an erronouse value.
commit e1d7ba8 (time: Always make sure wall_to_monotonic isn't positive), which is included in kernel V4.3-rc1,
observe the same issue and proposed a fix, but still it is not working for the exynos platform.
Does anyone has noticed this, and maybe have an idea for a fix?
Thanks a lot,
Avri
Hey guys and girls
I'm back from holidays and should be able to answer the most questions from now on!
Just in case you want to have quicker support you should be thinking about registering yourself on our website, as there are most of the time other team members online and here on XDA it's just me supporting all of those threads.
BTW, there is already a test version available for AQG5 or higher roms, check it out here!
Have a nice day and see you in the forums
Loving the BatStock Rom / Kernel - is there anyway to get Samsung Pass to work? Any setting or other kernel?
BlindDroid said:
Loving the BatStock Rom / Kernel - is there anyway to get Samsung Pass to work? Any setting or other kernel?
Click to expand...
Click to collapse
Sadly no (or not that I would be aware)
Samsung fixed all checks to find knox state
Sent from my BatMan powered SM-G955F
im using aqg5 firmware does this kernel work with that and what about battery life and overheating? pekaka kernel was very bad with good performance but u can only use 5 minutes after 5 minutes it was overheating is this kernel good for gamers who want long battery life without lag and overheat?
azamet90 said:
im using aqg5 firmware does this kernel work with that and what about battery life and overheating? pekaka kernel was very bad with good performance but u can only use 5 minutes after 5 minutes it was overheating is this kernel good for gamers who want long battery life without lag and overheat?
Click to expand...
Click to collapse
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel
Sent from my BatMan powered SM-G955F
Tkkg1994 said:
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel
Sent from my BatMan powered SM-G955F
Click to expand...
Click to collapse
wow great! u answer so quick im coming from pekaka kernel it was very very bad with overheating problem i want a good kernel with antutu point lowest 175000 without overheating in 10 minutes to 38-40 celcius.. i dont know if it is because of kernel or the renovate rom 3.0 but on lock screen i loose only 1% in 10 hours! but if i only use chrome in 5 minutes it is 28-40 celcius!!!
i did removed the kernel installed renovate 148 i like your quick answer very much thank u for that i dont believe to youtube videos about roms kernels etc i want to have ideal kernel im a gamer can u suggest me your kernel as a gamer? if yes i will wait for your kernel
Tkkg1994 said:
The kernel base of 1.2.2 is AQF7. Means it won't boot on AQG5. I am currently waiting for AQGB kernel source to update the kernel
Click to expand...
Click to collapse
Constant reboots on 1.3.1 beta, no issues with noto kernel, yes I am on aqg5 rom and latest twrp for that base
azamet90 said:
wow great! u answer so quick im coming from pekaka kernel it was very very bad with overheating problem i want a good kernel with antutu point lowest 175000 without overheating in 10 minutes to 38-40 celcius.. i dont know if it is because of kernel or the renovate rom 3.0 but on lock screen i loose only 1% in 10 hours! but if i only use chrome in 5 minutes it is 28-40 celcius!!!
i did removed the kernel installed renovate 148 i like your quick answer very much thank u for that i dont believe to youtube videos about roms kernels etc i want to have ideal kernel im a gamer can u suggest me your kernel as a gamer? if yes i will wait for your kernel
Click to expand...
Click to collapse
About the kernel and if it is for gaming, this kernel is mainly very close to stock and not heavily modded. So if you didn't had any issues with stock kernel this one will be good for you as well!
As said waiting for AQGB kernel source code!
seraphyz said:
Constant reboots on 1.3.1 beta, no issues with noto kernel, yes I am on aqg5 rom and latest twrp for that base
Click to expand...
Click to collapse
That only happens if you are NOT on AQG5, reason: camera libs need to be updated otherwise the camera will constantly loop your device (some seconds after successfully boot process)

[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❯ 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][ONEUI3.1/GSI][11][A505F/FN/G/GN] Refined Kernel v2.0

{
"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 works only on A505F ,A505FN and A505G, A505GN. I'm not responsible for any damage if you flash on other devices.
- I am not responsible about any damage of any kind that this may cause.
- You are allowed to use this kernel in your project with proper credits and links to the thread or source code.
- Bugs can be reported in XDA or via my Telegram Group. Make sure you provide detailed info when reporting bugs (device variant and logcat).
- If you like my work please hit the "Thanks" button and feel free to donate to me via my paypal.
- Supports the latest OneUI 2.5 Update
- Built from BTL1 source code
- Supports GSI
- Upstreamed to 4.14.113
- SELinux Enforcing/Permissive
- Comes with TWRP 3.4.0
- Enabled Governors
- Enabled Schedulers
- Drivedroid support
- Fsync 2.0
- StateNotifier
- Impressive performance & battery life
- CRC Disabled by default
- Security Related Features disabled
- Full Wakelock Control for wlan/bt and much more
- Enabled Power Efficient Workqueue
- Better deep sleep
- Optimised Performance
- Better display rendering, touch response, reduces jitter
- Magisk 20.4 ( patched )
- Other improvments for Batterylife and performance
And many more listed in changelogs below!
- SM-A505F
- SM-A505FN
- SM-A505G
-SM-A505GN
1. - Download the kernel zip
2. - Copy the kernel zip into your phone
3.- Reboot in Recovery Mode
4. - Flash the Kernel Zip
5. - Enjoy!
Download links in Post #2
- None
- Click here
- Samsung for kernel sources
- @geiti94 for Original Device Tree and support.
- @prashantp01 for helping and his TWRP tree.
- @corsicanu, @ananjaser1211 for helping.
- @Lucifer121, @muhamet & @charkafahim for testing​
Device Tree: https://github.com/mohitmallick17/android_device_samsung_a50dd
Source: https://github.com/mohitmallick17/android_kernel_samsung_a50dd
Telegram Support: https://t.me/SamsungGalaxyA50
Contributors: @mohitmallick17 @geiti94 @prashantp01
----------------------------------------------------------------
V2.0 [LATEST]
Download & Full Post
V1.0
OneUI : Download
GSI : Download
V2.0
- Supports Android 11 (OneUI/GSI)
- Rebased the kernel to CUBC source
- Pre-rooted with magisk v22
- Boots to system directly with root(No button combination needed)
- Tons of optimizations for smooth performance & great battery
- Disabled various debug logs in background
- Completely removed Samsung based securities
- Wakelock blocker
- Added the maple IO scheduler
- Enabled the available CPU governors, IO Schedulers
- Wireguard support
- Better deep sleep
- Power Efficient Workqueue
- fsync support (Disabled by default)
- Removed hard-enforce selinux
- TCP size to 64K for better speed
- NTFS Support
- Disabled FIFS
- Comes with TWRP 3.4.0
- DriveDroid support
- CRC checking disabled
And other features from the previous release
V1.0
- Initial Release​
Good idea to read the F.A.Q before installing
Q : Will it work on A51,M30,A70 or any other device ?
A : Clearly, No.
Q : How to root ?
A : The image comes pre-rooted with the latest Magisk 22. Boot normally and it should boot rooted.
Note: GSI Users must use the phh superuser app instead of magisk manager.
Q : How to update magisk version?
A : You can't. Wait for me to build a new kernel with the latest magisk
Q : Bootloops after updating magisk version from magisk manager
A : Told ya. It's my job to update the magisk in kernel. Just reflash the kernel and you should boot fine.
Q : How to flash?
A : Flash the zip normally. Additionally, if you just flashed stock, use multidisabler + format data.
Q : Camera working?
A : Yes
Q : Phone rebooting to splash screen after installation
A : Make sure you have the latest BL and CP installed from CUBC update Also flash multidisabler, just in case.
Q : Stuck at Samsung bootanimation after formatting data and reboot
A : Reboot manually with button combo
Q : How is battery backup / performance ?
A : After thorough testing I'd say battery backup is good with great performance
Q : Will it work on xyz rom ?
A : Normally it should. But if you can't, update your software and try again.
Q : Will it void warranty ?
A : Yes. Flashing any image not signed by samsung requires an unlocked bootloader and it voids warranty, depanding as per your country restrictions.
Q : Will I receive OTA from samsung or secure folder, Samsung Pay work ?
A : No!​
How to pass Safetynet ?
Before I tell you that, remove all the SafetyNet-related modules that you might have installed and reboot.
If you have used the MagiskHide props module and changed your device fingerprint/have enabled device simulation Make sure you reset your props to default & disable any of the device simulations. Revert any changes that you may have made with it.
Finally, install this module from Magisk
Click to download
To pass SafetyNet, you need to enable magisk hide and hide magisk manager so that 3rd party apps cannot detect the package.
This module bare is enough to pass SafetyNet
However, if the changes you have made are hard to revert and you cannot pass SafetyNet with it, I think a clean flash of the ROM + this module would be a good start. Again, do not use MagiskHide Props with android 9 fingerprints. It really isn't a good idea. If you use the above module, you'll rock with the stock fingerprints
​
--- Reserved ---​
--- Reserved ---​
--- Reserved ---​
Keep it up. Nice work
Will this work at freshrom os? the latest one here in a50?
Good kernel! But the camera doesn't work. My phone A505FN.
icalgoos said:
Good kernel! But the camera doesn't work. My phone A505FN.
Click to expand...
Click to collapse
I am sure it does, for me and possibly everyone else. Would suggest you to update. Most likely your drivers are outdated making them incompatible with the kernel. Good luck
Samsung Smart switch not working after installing this kernel, any solution to get it back ?
Does this work on stock rom?
Sir I know you from j7 nxt . You have ALWAYS been a legend. I wonder if you could make this kernel available for a51 ?
Hi
Is it possible to overclock a205f display to 68-75 hz?
Update: Refined Kernel V2.0
RefinedKernel V2 is here! Finally, after putting a lot of work into this project, I can say you are going to be amazed by the outcome. For the first time in the community, I present you a hassle free-rooting with the latest kernel. Now the user needs not to remember the hectic button combinations to boot with and without root. It is as easy as it used to be. Just boot to the system normally and I can assure you will be rooted out-of-the-box. This also means that booting to recovery just got easier and we can use the appropriate commands to do the right thing. At last, I'd like to add, please don't try to update the magisk version yourself. Now that it's implemented in the kernel, you cannot modify it. It's my job now to keep my users updated with the latest stable version of magisk.
Refined Kernel v2.0 - 18.03.2021
- Supports Android 11 (OneUI/GSI)
- Rebased the kernel to CUBC source
- Pre-rooted with magisk v22
- Boots to system directly with root(No button combination needed)
- Tons of optimizations for smooth performance & great battery
- Disabled various debug logs in background
- Completely removed Samsung based securities
- Wakelock blocker
- Added the maple IO scheduler
- Enabled the available CPU governors, IO Schedulers
- Wireguard support
- Better deep sleep
- Power Efficient Workqueue
- fsync support (Disabled by default)
- Removed hard-enforce selinux
- TCP size to 64K for better speed
- NTFS Support
- Disabled FIFS
- Comes with TWRP 3.4.0
- DriveDroid support
- CRC checking disabled
And other features from the previous release
1. Ensure you have the latest bootloader and modem from CUBC update
2. Download the appropriate kernel zip (OneUI/GSI)
3. Flash the zip with TWRP
4. Reboot to system (Not Recovery !)
Note: If you are coming from stock rom (Official Binary) then you must format data in TWRP and flash multidisabler to remove encryption and Samsung securities in the system itself. Otherwise you may find incorrect available space in internal memory or your userdata may keep getting encrypted on every reboot.
None
GDrive Album : Click Here
----------------------------------------------------------------
RefinedKernel V2.0 Based on CUBC [LATEST] [Magisk v22.1]
OneUI : Download
GSI : Download
Come hang with us on our chat: Telegram
Credits: @corsicanu @ananjaser1211 @geiti94 @prashantp01 @muhamet
@corsicanu can't thank you enough for this one. Thanks again ​
mohitmallick17 said:
Update: Refined Kernel V2.0
RefinedKernel V2 is here! Finally, after putting a lot of work into this project, I can say you are going to be amazed by the outcome. For the first time in the community, I present you a hassle free-rooting with the latest kernel. Now the user needs not to remember the hectic button combinations to boot with and without root. It is as easy as it used to be. Just boot to the system normally and I can assure you will be rooted out-of-the-box. This also means that booting to recovery just got easier and we can use the appropriate commands to do the right thing. At last, I'd like to add, please don't try to update the magisk version yourself. Now that it's implemented in the kernel, you cannot modify it. It's my job now to keep my users updated with the latest stable version of magisk.
Refined Kernel v2.0 - 18.03.2021
- Supports Android 11 (OneUI/GSI)
- Rebased the kernel to CUBC source
- Pre-rooted with magisk v22
- Boots to system directly with root(No button combination needed)
- Tons of optimizations for smooth performance & great battery
- Disabled various debug logs in background
- Completely removed Samsung based securities
- Wakelock blocker
- Added the maple IO scheduler
- Enabled the available CPU governors, IO Schedulers
- Wireguard support
- Better deep sleep
- Power Efficient Workqueue
- fsync support (Disabled by default)
- Removed hard-enforce selinux
- TCP size to 64K for better speed
- NTFS Support
- Disabled FIFS
- Comes with TWRP 3.4.0
- DriveDroid support
- CRC checking disabled
And other features from the previous release
1. Ensure you have the latest bootloader and modem from CUBC update
2. Download the appropriate kernel zip (OneUI/GSI)
3. Flash the zip with TWRP
4. Reboot to system (Not Recovery !)
Note: If you are coming from stock rom (Official Binary) then you must format data in TWRP and flash multidisabler to remove encryption and Samsung securities in the system itself. Otherwise you may find incorrect available space in internal memory or your userdata may keep getting encrypted on every reboot.
None
GDrive Album : Click Here
----------------------------------------------------------------
RefinedKernel V2.0 Based on CUBC [LATEST]
OneUI : Download
GSI : Download
Come hang with us on our chat : Telegram
Credits: @corsicanu @ananjaser1211 @geiti94 @prashantp01 @muhamet
@corsicanu can't thank you enough for this one. Thanks again ​
Click to expand...
Click to collapse
thank you sir
Can i use in Android 10???
Good Jobs! Here is a tutorial how to flash it
kinda stucked at splash screen after flashing this kernel
im on a gsi

Categories

Resources