[KERNEL][PORT] Sultan Kernel for Android 11 [February 3, 2021] - Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth

Hi again Sultan Kernel does not support Android 11. So with permission from @Sultanxda, I decided to port Sultan Kernel over to Android 11.
There are a few things I should say about this project so users are aware. I currently do not intend on maintaining this kernel after Sultan has released his official kernel for Android 11. I'm yet to have any issues with stability. Your mileage may vary.
Downloads
Latest Kernel
Features
Everything from Sultan Kernel
Telegram Group
I've started a Telegram group for my various kernel / rom projects. You can join here if you're interested.
Source
sultan-r branch
Credits
Huge thanks to Sultan for all his work on the kernel and allowing me to share this with you guys.
flar2 for his work on ElementalX
zx2c4 (for WireGuard, providing project resources and working directly on development)
nathanchance (for helping with testing, AnyKernel2, and providing lots of general info on this device)
osm0sis (for AnyKernel3)
If your name should be here and it isn't, then replace my camera with a OnePlus device
Installation steps should be identical to the ones provided by Sultan. If you have any additional questions, please search and then ask.

Changelog
February 3
Checked out Sultan's 11.0.0-sultan branch
December ASB
Previous Changelogs
2020
October 10
October ASB
GCC 10.2
August 28
Android R Beta 3 source
Latest patches from Sultan Kernel
July 23
Linux 4.4.223
Latest patches from Sultan Kernel
June 11
Rebased on Android 11 Beta 1 kernel source
Merged latest changes from Sultan Kernel
May 9
Compiled with GCC 10.1
Merged latest changes from Sultan Kernel
May 8
Merged Android R DP4 source
May 5
Merged latest changes from Sultan Kernel
April 25
Merged Android R DP3 source
Merged latest changes from Sultan Kernel
March 29
Rebased on Android R DP2 source
Compiled with GCC 9.3 with LTO
Latest patches from Sultan Kernel
March 6
Reduced minimum frequency for big and small clusters
Merged Android 10 March ASB
February 27
Simple LMK updates for Android 10
Various minor improvements
February 23
Rebased on Android R Preview 1 source
Merged latest changes from Sultan Kernel
January 10
January ASB
2019
December 8
Merged December ASB
Added Wireguard again
November 11
November ASB
Merged Sultan's latest Simple LMK force push
October 30
Reverted Sultan's scatterlist performance enhancement as it caused stability issues with some drivers
October 27
Merged Sultan's latest performance enhancements
October 21
Merged Sultan's latest ion and iommu force push
October 19
Merged Sultan's latest ion force push
October 15
Merged Sultan's latest ion force push
Updated mkdtimg and dtc submodules
October 9
Merged Sultan's latest ion force push
October 8
Merged October ASB
October 7
Patched a critical security vulnerability that affects the Pixel 2
Merged Sultan's latest ion force push
October 1
Fixed newly introduced ion memory leaks and further improved ion performance
Removed Wireguard kernel support as it appears to be broken on Android 10 anyway
September 27
Merged Sultan's latest ion and iommu force push
September 4
Rebased on Android 10 stable kernel source
Merged Sultan's latest force push
August 22
Merged Sultan's latest force push
Kernel is now compiled with GCC 9.2
August 10
Merged Android Q Beta 6 kernel source
Up to date with Sultan's latest modifications
July 29
Fixed a rare graphical glitch
July 26
Merged Sultan's latest force push
July 22
Re-introduced ashmem overhaul as it was falsely identified for introducing bugs
July 21
Fixed some severe bugs
Removed wake gestures and backlight dimmer as it was causing more breakage than functionality
Kernel is now exclusively compiled with GCC 9.1
July 14
Merged Sultan's latest force push
July 13
Several performance enhancements and bug fixes
July 12
Ion stability improvements and performance enhancements
July 11
Rebased on Android Q Beta 5 kernel source
Unset CONFIG_DEBUG_FS
Overhauled several old commits
July 2
Removed some unnecessary bloat
Various performance improvements
July 1
More ion stability fixes
Fixed more memory leaks
June 30
Fixed several memory leaks from stock kernel
June 29
Fixed an old commit causing instability
June 28
Switched to Arch Linux's GCC 9.1 (same as Sultan)
Performance improvements
June 27
Fixes for GCC 9.1 warnings
June 26
Merged latest ion stability improvements
Fixed an old memory leak from Qualcomm
June 25
Fixed a kernel panic caused by gross DEBUG_FS code on Android Q
Additional stability improvements
June 24
Minor performance improvements
Reverted charging modifications as it appeared to be causing strange issues for users
June 23
Removed charge-rate limitation when screen is on
Prevent Google Camera and Settings from running in the background
Ion stability fixes
June 22
Fixed issues that were preventing the ion rewrite from booting on Android Q
Added ion driver rewrite again with the latest stability fixes
June 21
Reverted ion modifications for now as it appears to cause issues on Q
Additional minor performance improvements
June 20
Massive ion rewrite
June 17
Lots of minor performance improvements
June 16
Minor performance enhancements
June 14
Faster ion reserve caches
Reduced GPU processing latency
June 13
Optimised binder's reserve caches
June 12
Ashmem overhaul
June 10
Hopefully fixed battery regressions from previous build
General code cleanup
June 7
Performance improvements
General improvements to wake gestures and KCAL
Removed some additional unnecessary debugging
Fixed memory leaks in ion modifications
June 6
Merged Q DP 4 kernel source
Reverted performance governor on small cluster for now due to increased jitter
June 4
Changed little cluster to use performance CPU governor in order to remove unnecessary overhead from schedutil
June 3
Merged Sultan's latest force push
June 2
Rare display glitches fixed
June 1
Restored performance from previous versions when launching new processes
May 30
Merged Sultan's latest force push
May 28
Various power efficiency improvements
Improve i2c interrupts
Reduced frame commit latency
Inline with latest stable release
May 27
Merged cpuidle and IRQ affinity mask optimisations
May 26
Merged latest Sultan Kernel modifications
May 25
Reworked Simple LMK
May 24
Merged latest Simple LMK update
Fixed minor KCAL bug
Alternative build compiled with GCC 9.1 is now available
May 19
Initial release

Runs great! Thanks for the kernel.

What does the removal of the panel brightness limit mean?

Sentheb3ast said:
What does the removal of the panel brightness limit mean?
Click to expand...
Click to collapse
By default, Google have limited the brightness of the panel to a value of 225 out of a maximum of 255. This removed that limit and allows the device to utilise the panels full brightness

Be sweet if you made a P version of this same kernel!

shindiggity said:
Be sweet if you made a P version of this same kernel!
Click to expand...
Click to collapse
+1
Sent from my Google Pixel 2 XL using XDA Labs

shindiggity said:
Be sweet if you made a P version of this same kernel!
Click to expand...
Click to collapse
I do have similar builds available for P on my GitHub releases page. The builds for P are unified with Q kernel sources and contain the same features as the Q kernel.

Will the top one work on P
Edut: working great, thank you!!

Eamo5 said:
I do have similar builds available for P on my GitHub releases page. The builds for P are unified with Q kernel sources and contain the same features as the Q kernel.
Click to expand...
Click to collapse
Can you please add usb fast charge?
Sent from my Google Pixel 2 XL using XDA Labs

Eamo5 said:
By default, Google have limited the brightness of the panel to a value of 225 out of a maximum of 255. This removed that limit and allows the device to utilise the panels full brightness
Click to expand...
Click to collapse
Is this a stable feature?

Sentheb3ast said:
Is this a stable feature?
Click to expand...
Click to collapse
Yes it is 'stable' and is used in other kernels like ElementalX by default. The only negative that I think could arise from this is an increased chance of experiencing screen burn in when utilising that high brightness a lot.

Can I flash this in EXKM?

bgboii said:
Can I flash this in EXKM?
Click to expand...
Click to collapse
Yes

Can you add zstd compression for zram?

neekless said:
Can you add zstd compression for zram?
Click to expand...
Click to collapse
No, as I don't believe the compression algorithm for ZRAM can be modified from within userspace. The concept is to stay as close to Sultan's kernel with only additional options for those who want them. The core kernel should remain the same. Besides Simple LMK already does a fantastic job of memory management IMO.

Sultan Kernel Q 24/05/19
Merged latest Simple LMK update
Fixed minor KCAL bug
Alternative build compiled with GCC 9.1 is now available

Eamo5 said:
Sultan Kernel Q 24/05/19
Merged latest Simple LMK update
Fixed minor KCAL bug
Alternative build compiled with GCC 9.1 is now available
Click to expand...
Click to collapse
Please add usb fast charge for p version
Sent from my Google Pixel 2 XL using XDA Labs

Eamo5 said:
Sultan Kernel Q 24/05/19
Merged latest Simple LMK update
Fixed minor KCAL bug
Alternative build compiled with GCC 9.1 is now available
Click to expand...
Click to collapse
Does the compiler make a difference in the finished product?
Sent from my Pixel 2 XL using XDA Labs

CyberpodS2 said:
Does the compiler make a difference in the finished product?
Click to expand...
Click to collapse
New compiler benchmark results from hackbench — a tool (compiled executable here) that aims to solely benchmark scheduler and pipe performance. Keep in mind that you'll probably never see an improvement in real-world scenarios.
TLDR: GCC 9 > GCC 8 > Clang 9.
Click to expand...
Click to collapse
Thanks to kdrag0n for his extensive testing

Related

[Kernel][CAF][7.1] Neon kernel v23

Neon kernel for Oneplus One (bacon)
Disclaimer:
use this kernel at your own risk. Flashing it the wrong way might brick your device. I'm not responsible for any software/hardware damage.
Features/changelog:
v23 (June 8th)
kernel code base updated to Linux 3.4.32
DCACHE_WORD_ACCESS optimization for ARM devices
old releases:
v22 (May 13th)
AutoSMP hotplug
support for wakelock blocker (by franciscofranco)
code base updated to Linux 3.4.18
minor fixes & improvements
v21.1 (May 6th)
a couple of fixes for the GPU drivers
v21 (May 3rd)
CPU undervolting & overclocking
kexec-hardboot patch
zen I/O scheduler
impulse CPU governor
msm_limiter v5.4
sound control interface
miscellaneous fixes, tweaks & improvements
v20 (April 21st)
added State Notifier
added bricked hotplug
many miscellaneous improvements and fixes
a few security fixes
v19 (April 15th)
built from scratch on top of Sultan's latest sources - read this post for more info
built with QUVNTNM-TC (based on GCC 7)
f2fs backported from Linux 3.10
sdcardfs support
many architecture-specific improvements, tweaks and optimizations
many of the latest CVE fixes have been implemented
CPU underclocking (268,8 MHz)
unaligned memory access enabled
zen-tune scheduler tweaks
lots of minor updates, fixes and improvements (check Github for more details)
v18.5 (27th February)
security fixes
v18.4 (17th February)
minor updates & fixes for cpufreq and f2fs
v18.3 (14th February)
adreno crashes are possibly fixed
v18.2 (February 10th)
cpufreq governor tweaks
minor updates & fixes
v18.1 (February 4th)
cpufreq governor improvements & fixes
a few security updates
zen-tune scheduler tweaks
v18 (20th January)
lots of source updates (among which, spi & qseecom backports from 3.10)
minor optimizations and improvements
v17.1
a couple of security fixes
fixed some issues with the getrandom syscall
v17 (8th January)
f2fs driver backported from Linux 3.10
random number generator driver backported from Linux 4.1
several updates & optimizations for the ARM platform and our MSM8974 SoC
some security fixes
improved memory management parameters (might provide better battery life)
up-to-date with Sultan's kernel
new (and default) TCP congestion control algorithm: "ascarex" by Klozz
ZRAM, zcache, zsmalloc are supported (they are disabled by default)
v16.2 (27th December)
a few source updates
swap support
improved power consumption during suspension
v16.1 (24th December)
compiled with more GCC optimizations
fix for issues with Magisk modules
minor updates and improvements
v16 (21st December)
additional GCC optimizations
loads of source updates applied to: locking, cpuidle, binder and other parts of the kernel
AutoSMP has been re-added and updated
added & implemented quickwakeup
other minor, miscellaneous changes
v15 (December 15th)
improved memory compaction routine
some security fixes
patches by Nvidia to improve power usage
v14.1
minor security & bug fixes
improved automatic memory compaction algorithm
v14 (4th December)
up-to-date with Sultan's kernel
removed zzmoove governor, added ondemandplus and impulse
removed AutoSMP, added intelliplug by faux123
kernel/workqueue and cpufreq backports from Linux 3.10
directIO patches ported from Linux 3.16
random number generator improvements
CPU overclocking (disabled by default) and underclocking
max CPU freq. set to 1,9 GHz during the booting process
task scheduling algorithm updates & improvements
kexec-hardboot patch fixed
KCAL color control interface updates
binder updates
hundreds of minor security fixes, improvements, and optimizations
v13 (12th November)
Efficient unaligned memory access & dcache word access
random number generator driver backported from Linux 3.16
several backports for the kernel's task scheduling algorithm
memory management/lowmemorykiller source updates & backports
zzmoove CPU governor added
minor source updates, fixes and backports
v12 (5th November)
Spectrum support (profiles will be perfected in the next releases)
added the possibility to block certain wakelocks (thanks to franciscofranco)
UKSM v0.1.2.3 added and enabled by default
maple I/O scheduler tweaks
minor miscellaneous improvements and fixes
v11 (23rd October)
code base updated to Linux 3.4.113
I/O schedulers: maple
built with the most appropriate set of compiler optimizations for Krait CPUs
hundreds of source updates & backports, mainly related to the kernel's task scheduler
completely renewed and up-to-date sdcardfs driver
smarter AutoSMP hotplug
v10 (6th October)
kernel code base updated to Linux 3.4.108
I/O schedulers: fiops
built with an up-to-date gcc-5 based UBER Toolchain
v9.1
performance improvements (?)
v9 (27th September)
built with up-to-date GCC 5 UBER toolchain
kernel code base updated to Linux 3.4.83
v8 (21st September)
kernel code base updated to Linux 3.4.60
minor improvements (more details on Github)
v7 (9th September)
kernel code base updated to Linux 3.4.45
several minor optimizations and security fixes (see Github for more details)
f2fs driver updated
I/O schedulers: added cfq and zen (default)
kexec-hardboot fix (still not working)
v6 (28th August)
kexec-hardboot patch (not working at the moment)
support for charging at up to 2,5 A
up-to-date with Sultan's kernel
v5 (26th August)
kernel code base rolled back to 3.4.27
CPU memory bandwidth overclock & tweaks
added new compiler optimizations as suggested by the Linaro team
security updates & fixes
v4 (15th August)
kernel code base updated to Linux 3.4.64
minor improvements, fixes and optimizations
v3.1 (7th August)
rebased on top of Sultan's latest updates
"impulse" CPU governor
v3 (5th August)
CPU undervolting
battery charging limiter (learn how to use it here: https://forum.xda-developers.com/showpost.php?p=73126071&postcount=2)
kernel base updated to Linux 3.4.27
built with O3 optimizations
other misc improvements/fixes
v2 (2nd August)
built with krait and neon vfpv4 optimization flags (for Krait CPUs)
KSM is available
source updated to Linux 3.4.8
Gentle fair sleepers and Arch power toggles
Power-efficient workqueues
optimized Krait memcopy libraries
frandom support
other minor tweaks/improvements/fixes
v1 (22nd July)
built with UBER gcc 4.9 toolchain
no CPU underclocking
async fsync
sdcardfs support
franciscofranco's sound control
state notifier with PM suspension hooks
AutoSMP hotplug by mrg666 and neobuddy89
other minor improvements and optimizations (check commits on Github)
Compatibility
The kernel is fully compatible with Sultanxda's LineageOS 14.1. It should be compatible with all the other CAF/"sultanized" ROMs. If you decide to try it on any other ROM please report if it's working or not. The kernel is obviously not compatible with non-CAF ROMs.
Download
The kernel can be download from AFH: Neon kernel on AndroidFileHost
Credits to:
@franciscofranco
@neobuddy89
@faux123
@AdrianDC
@dorimanx
XDA:DevDB Information
Neon kernel for Oneplus One, Kernel for the OnePlus One
Contributors
Tomoms
Source Code: https://github.com/Tomoms/neon_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 23.0
Stable Release Date: 2018-06-08
Created 2017-07-22
Last Updated 2018-06-08
Reserved
Not supported as of v19.
How to tweak the parameters that are not shown in Kernel Adiutor
battery charging limiter:
open
Code:
/sys/kernel/charge_levels/charge_level_ac
or
Code:
/sys/kernel/charge_levels/charge_level_usb
and write the maximum charging current you want (measured in mA). Obviously the -ac file applies the limit when charging via the wall charger, the -usb file when charging via USB. 0 = stock settings.
Reserved
Bugs:
in v19 there are no major bugs or known issues.
Does this kernel have LCD KCAL?
aocboe said:
Does this kernel have LCD KCAL?
Click to expand...
Click to collapse
Yes, indeed.
Fast charge
pankspoo said:
Fast charge
Click to expand...
Click to collapse
Is that a question or a feature request or whatnot? This kernel hasn't got fast charging and I'll probably add it soon.
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
pankspoo said:
Ok thanks. I just used sdcardfs with u r kernel and RRM sutenized rom is running snappiest ever. Thanks your kernel is really amazing.
Click to expand...
Click to collapse
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Tomoms said:
Thank you! Yeah, I've noticed too that with this kernel and sdcardfs the phone really flies.
Click to expand...
Click to collapse
Your kernel will work with aosp-caf?
Mr.Ak said:
Your kernel will work with aosp-caf?
Click to expand...
Click to collapse
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Autosmp was developed by mrg666.
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
DerRomtester said:
Autosmp was developed by mrg666.
Click to expand...
Click to collapse
Thanks for the clarification. I'll correct the first post as soon as possible.
Lisko said:
Which thermal driver? And a way to use sdcardfs instead of fuse on sultan's los? And thank you for sharing this with us.
Click to expand...
Click to collapse
Sultan's thermal driver. To use sdcardfs on ROMs that normally use fuse, just add ro.sys.sdcardfs=true at the end of your build.prop and reboot.
Tomoms said:
I have no idea. I'm still a beginner in the world of OPO's ROM's. If AOSP-CAF uses Sultan's camera, my guess is that the whole kernel will probably work. If you try, let me know the result.
Click to expand...
Click to collapse
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Mr.Ak said:
I don't think aosp-caf ROM that I'm using,is using sultan's camera.Here's the ROM that I'm using,
https://forum.xda-developers.com/oneplus-one/development/rom-aosp-caf-t3584633
I'll give your kernel a try and let you know what works and what not.Thanks for your work!
Click to expand...
Click to collapse
I don't think it will work.
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
pankspoo said:
Meanwhile i created video how to use sdcardfs with this kernel
MOD EDIT: YOUTUBE LINK REMOVED
But video recording is upside down in RRM CAF rom is it bug?
Click to expand...
Click to collapse
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
Tomoms said:
I don't think it will work.
Click to expand...
Click to collapse
The camera or the whole kernel?
Mr.Ak said:
Please take permission from OP before creating such videos,or,otherwise noted in OP.
---------- Post added at 04:49 PM ---------- Previous post was at 04:46 PM ----------
The camera or the whole kernel?
Click to expand...
Click to collapse
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man! I ak just spreading his work so most of peoples will get in touch, i am not copying anything.
pankspoo said:
Only camera screen while taking video. But saved video is playing ok.
And regarding OPs permission if he is not Ok with my work he will tell me about that, but he don't. So nothing is wrong man!
Click to expand...
Click to collapse
It's a ROM bug. On my phone it doesn't happen.
Yeah no problem with the video, asking for permission is right when you need to mirror a file, or publish it somewhere etc. To show my work in a simple video is totally fine!

[EOL][OFFICIAL][9.0.0_r46][X00T] XenonHD 9.0 (14-08-2019)

{
"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"
}
TeamHorizon's XenonHD ROM builds for ASUS ZenFone Max Pro (M1) ZB601/2KL (X00T)
https://www.xenonhd.com/
XenonHD is a custom firmware aka ROM for various Android devices. It is based on LineageOS 16.0 with additional features, performance and battery life improvements.
The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".​
Device Source:
android_device_asus_X00T
kernel_asus_sdm660
proprietary_vendor_asus
Download Links:
Recovery: TWRP with F2FS support
ROM: Experimental | Official
Gapps: opengapps.org
Changelog: Experimental | Official​
Flashing Instructions:
To install this ROM you will need to have a latest custom Recovery such as TWRP installed.
Copy the downloaded ROM to your phone.
Boot into your recovery
Back up your ROM
Make a full wipe (system, data, cache, dalvik)
Install the ROM
Install GAPPS package
Reboot - the first boot can take up to 5 minutes
Installing updates:
Copy the downloaded update to your phone.
Boot into your recovery
Back up your ROM
Install the update
Optionally wipe caches
Reboot
Other Links:
GitHub
Telegram
XDA:DevDB Information
Official XenonHD 9.0 ROM by TeamHorizon, ROM for the Asus ZenFone Max Pro M1
Contributors
krasCGQ, dadi11
Source Code: https://github.com/TeamHorizon
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: 16.2017.1906.056
Based On: LineageOS
Version Information
Status: No Longer Updated
Stable Release Date: 2019-08-14
Beta Release Date: 2019-08-04
Created 2018-10-07
Last Updated 2019-08-20
[SIZE=+1]Notes[/SIZE]​
WARNING: Latest firmware is now required and enforced starting from 20190214 build. Make sure you flash firmware once BEFORE the ROM or you'll get error while flashing. You can find the latest firmware on my webserver, the OSDN or AndroidFileHost.
Firmware requirements:
20190804 and newer: Pie 16.2017.1906.056
20190526 until 20190712: Pie 16.2017.1905.053
20190505 until 20190513: Pie 16.2017.1903.050
20190312: Pie beta 16.2017.1902.037
20190214 until 20190223: Oreo 15.2016.1901.339
NXP TFA98xx amplifier support won't be fixed until I find a working OSS variant for it.
Don't ask me to ship prebuilt audio blobs together with prebuilt audio amplifier from TheRagingBeast, since it's a pretty bad idea to use prebuilt audio HALs. If you want it that bad, use custom kernel that has the required commits and flash the amplifier zip (please find it elsewhere and don't share it here, sorry).
[SIZE=+1]Changelogs[/SIZE]​14-08-2019 (UTC+8) – Official
Synced with XenonHD and LineageOS changes up to August 14, 2019 (UTC+8).
Android 9.0.0_r46 (August security patch)
kernel: Updated to Linux 4.4.189 and CAF LA.UM.7.2.r1-07400-sdm660.0.
kernel: Merged android-4.4 changes up to August 11, 2019 (UTC+8).
04-08-2019 (UTC+8) – Experimental
WARNING: Pie 16.2017.1906.056 firmware is now required and enforced from this build.
Please refer to this build's changelog for the removed July 12 build.
Synced with XenonHD and LineageOS sources up to August 4, 2019 2:00 AM (UTC+8)
Android 9.0.0_r44 (July security patch)
Updated stock blobs from 16.2017.1906.056.
Builds are now in SELinux enforcing with several SEPolicy-related patches from LineageOS.
Replaced LineageHW implementation with touch HIDL HAL for gestures.
Updated CAF sources to LA.UM.7.4.r1-05400-8x98.0 / LA.UM.7.6.r1-05500-89xx.0.
Some cleanups here and there...
kernel: Updated to Linux 4.4.187 and CAF LA.UM.7.2.r1-07200-sdm660.0.
kernel: Merged android-4.4 changes up to August 4, 2019 (UTC+8).
12-06-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to June 12, 2019 12:00 AM (UTC+8).
Android 9.0.0_r40 (June security patch)
Updated CAF sources to LA.UM.7.3.r1-07800-sdm845.0 / LA.UM.7.4.r1-05300-8x98.0.
kernel: Updated to Linux 4.4.181 and CAF LA.UM.7.2.r1-07000-sdm660.0.
26-05-2019 (UTC+8) – Experimental
WARNING: Pie 16.2017.1905.053 firmware is now required and enforced from this build.
Synced with XenonHD and LineageOS sources up to May 25, 2019 1:00 AM (UTC+8).
Updated stock blobs from 16.2017.1905.053.
Disabled dexpreopt of prebuilts.
kernel: Updated to Linux 4.4.180.
13-05-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to May 12, 2019 2:00 PM (UTC+8).
Android 9.0.0_r37 (May security patch)
Imported qti-telephony-common from jasmine V10.0.1.0.PDIMIFJ.
Used alternative manual network selection.
kernel: Added support for compat vDSO.
08-05-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to May 8, 2019 1:00 AM (UTC+8).
Fixed BT audio routing.
Reverted minimum brightness from 5 to 1.
kernel: Updated to CAF LA.UM.7.2.r1-06900-sdm660.0.
05-05-2019 (UTC+8) – Experimental
WARNING: Pie 16.2017.1903.050 firmware is now required and enforced from this build.
Synced with XenonHD and LineageOS sources up to May 5, 2019 5:15 PM (UTC+8).
Android 9.0.0_r35 (April security patch)
Fixed media support.
Updated most stuffs from stock 16.2017.1903.050.
Updated graphics blobs from chiron China developer 9.3.21.
Updated CAF HALs to LA.UM.7.4.r1-05000-8x98.0 / LA.UM.7.3.r1-07400-sdm845.0.
Imported Soter blobs from stock.
Reverted back to HIDL ANT+ from lavender China stable.
Switched to source-built libsensorndkbridge.
Restored and updated power off alarm configuration.
Updated EIS-related props.
Build [email protected] required by some blobs.
Pre-optimized SystemUI.
Dropped aptX support.
Initial SEPolicy updates for Pie.
Restart HIDL audio and camera provider services after successful decryption.
Restart HIDL bluetooth service after setting proper MAC address.
Cleanups here and there...
kernel: Updated to Linux 4.4.179 and CAF LA.UM.7.2.r1-06700-sdm660.0.
kernel: Cleaned few imports and update as per S050 source drop.
kernel: Compiled with AOSP Clang 9.0.3.
12-03-2019 (UTC+8) – Experimental
WARNING: Pie beta 16.2017.1902.037 firmware is now required and enforced from this build.
Synced with XenonHD and LineageOS sources up to March 12, 2019 5:45 PM (UTC+8).
Android 9.0.0_r34 (March security patch)
Massive updates from Pie beta 16.2017.1902.037.
Upstreamed CAF HALs to their latest respective tags.
Fixed wrong Bluetooth MAC address issue (may need to toggle BT off and on for it to take effect).
Fixed USB-OTG (partially?).
Fixed IMS issues.
Any other under the hood changes.
kernel: Built with Clang 9.0.1.
kernel: Updated to CAF LA.UM.7.2.r1-06500-sdm660.0.
23-02-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to February 23, 2018 9:00 PM (UTC+8)
kernel: Updated to Linux 4.4.176.
14-02-2019 (UTC+8) – Experimental
WARNING: 15.2016.1901.339 firmware is now required and enforced from this build.
Synced with XenonHD and LineageOS sources up to February 14, 2018 (UTC+8).
Android 9.0.0_r31 (February security patch)
Compiled kernel using AOSP Clang 8.0.8.
Updated base from LA.UM.7.2.r1-05300-sdm660.0.
Massive blobs kang from X01BD 16.2017.1901.046 (closed Beta firmware).
Updated SDM blobs from LA.UM.7.4.r1-04100-8x98.0.
Updated aptX libs from crosshatch PD1A.180720.030.
Upstreamed CAF HALs to their latest respective tags.
Migrated to use tether automatic upstream selection.
Moved ZRAM to use pagecluster=0.
Included VR hal, LiveDisplay 2.0, and Trust HAL.
Enabled B-services aging propagation.
Removed forced triple framebuffers.
Dropped liboemcrypto (welcome, Widevine L3 ).
RSSNR signal level ignored.
Various cleanups here and there (saves ~70 MB).
kernel: Synced with S339 kernel source, updated to Linux 4.4.174 and CAF LA.UM.7.2.r1-05900-sdm660.0.
18-02-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to February 18, 2019 2:00 PM (UTC+8).
Updated F2FS mount flags for data partition.
Some small cleanups.
Included missing kernel support for 'Deny new USB' option in Trust 2.0.
Note: LineageOS Settings will FC upon entering status bar options from either XenonHD Hub or from inside System section of Settings. Team is already alerted and currently under investigation.
19-01-2019 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to January 19, 2018 (UTC+8).
Android 9.0.0_r30 (January security patch)
Used bluetooth and ANT+ stack from lavender China stable V10.2.3.0.PFGCNXM.
Updated SDM blobs from D1C.
Massive blobs kang from nitrogen/platina China developer 8.12.13.
Switched to data-ipa-cfg-mgr from LA.UM.7.3.r1-06600-sdm845.0.
Upstreamed CAF HALs to their latest respective tags and changes from LineageOS.
Dropped more blobs.
kernel: Synced with S338 kernel source, updated to Linux 4.4.171 and CAF LA.UM.7.2.r1-05800-sdm660.0.
kernel: Switched to LZ4 compression algorithm for ZRAM.
20-12-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to December 21, 2018 11:30 AM (UTC+8).
Android 9.0.0_r21 (December security patch)
Synced stock blobs with 338 FOTA firmware.
Updated GPS blobs from nitrogen China developer 8.12.13.
Updated DRM, gatekeeper, keymaster, keystore and Wi-Fi Display blobs from jasmine V10.0.1.0.PDIMIFJ.
Updated audio, bluetooth, display, WLAN CAF HALs and Qcom SEPolicy to LA.UM.7.4.r1-04100-8x98.0.
Updated data-ipa-cfg-mgr to LA.UM.7.2.r1-05500-sdm660.0.
Updated GPS HAL to LA.UM.7.2.r1-05200-sdm660.0.
Updated libaudiopolicymanager to LA.UM.7.8.r1-04300-SDM710.0.
Updated SDM props for Pie (should fix display issues).
Fixed failed product model fallback on non-B variants for 4/6 GB models.
Added experimental encryption support (cryptfs_hw upstreamed to CAF LA.UM.7.6.r1-03700-89xx.0).
Enabled WiFi dual interface (Wi-Fi and mobile hotspot can now be turned on simultaneously).
Enabled in-call music.
Enabled LED overlays (should fix notification LED issues with r16 source and newer).
Increased media volume (25) and voice call volume (7) steps.
Improved NFC detection for newer non-NFC devices.
Dropped AOSP keymaster HIDL HAL.
Cleaned up non-existent services from init files.
Various cleanups here and there.
kernel: Synced with S337 kernel source, updated to Linux 4.4.168 and CAF LA.UM.7.2.r1-05500-sdm660.0.
26-11-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to November 26, 2018 4:00 PM (UTC+8).
Switched to OSS sensor HIDL HAL.
Implemented Power Off Alarm from jasmine V10.0.1.0.PDIMIFJ.
Updated data-ipa-cfg-mgr to LA.UM.7.2.r1-05400-sdm660.0.
Fixed stereo audio output on our mono speaker.
Properly fixed NFC.
Fixed qvop-daemon crashing spam by restoring voiceprint HIDL blobs.
Re-enabled libaudiopolicymanager from CAF LA.UM.7.3.r1-06300-sdm845.0.
Removed SpeakerCalibrationTest binary (requires asusfw from X00Q).
kernel: Updated to Linux 4.4.164 and CAF LA.UM.7.2.r1-05400-sdm660.0.
19-11-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to November 19, 2018 8:20 PM (UTC+8)
Enabled full dexpreopt.
18-11-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to November 18, 2018 11:00 PM (UTC+8).
Synced stock blobs with 337 firmware.
Updated most of blobs from jasmine V10.0.1.0.PDIMIFJ.
Added SpeakerCalibrationTest binary from X00Q.
Updated data-ipa-cfg-mgr to LA.UM.7.2.r1-05300-sdm660.0.
Updated libaudiopolicymanager to LA.UM.7.3.r1-06300-sdm845.0.
Enabled EIS support for 3/4 GB variant as well.
Fixed NFC (incomplete, needs to manually move or bind /vendor/firmware/libpn553_fw.so to /vendor/lib).
Updated sensor props for Pie (fixed screen rotation issue).
Removed unused AW87339 firmware.
kernel: Disabled scheduler auto grouping.
PSA: AOSP security patch and build number will show "unknown" due to source bug in this build.
16-11-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to November 14, 2018 12:00 AM (UTC+8).
Android 9.0.0_r16 (November security patch)
Compiled kernel using AOSP Clang 8.0.4.
Updated sound trigger blobs from Nokia 7 Plus.
Updated audio, display, and media CAF HALs to LA.UM.7.4.r1-03900-8x98.0.
Updated CAF HIDLs to LA.UM.7.3.r1-05900-sdm845.0.
Merged CAF's SEPolicy changes from LA.UM.7.4.r1-03900-8x98.0.
Complete rewrite of init driver, especially properties overrides.
Enabled EIS support on Google Camera for 6 GB variant.
Cleaned more unused blobs.
kernel: Updated to Linux 4.4.163, F2FS v4.20-rc1 and CAF LA.UM.7.2.r1-05300-sdm660.
PSA: LiveDisplay and Night Light are broken due to recent changes to SDM HAL on latest display tag.
05-11-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to November 5, 2018 12:45 AM (UTC+8).
Synced stock blobs with 334 firmware.
Rebased kernel to LA.UM.7.2.r1-05200-sdm660.0 with android-4.4 merged in.
Compiled kernel using AOSP Clang 8.0.3.
Switched audio policy manager to LA.UM.7.3.r1-05900-sdm845.0 rather than using LineageOS' fork.
Updated audio HAL and data services with changes from LineageOS.
F2FS is fully supported now.
28-10-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to October 27, 2018 5:00 PM (UTC+8).
Upstreamed audio and WLAN HALs to LA.UM.7.4.r1-03800-8x98.0.
23-10-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to October 23, 2018 8:30 AM (UTC+8).
Added support for F2FS (F2FS supported recovery is required).
Mount point and file system type of SD card and USB-OTG are no longer hardcoded.
Upstreamed RIL to LA.UM.7.4.r1-03000-8x98.0 (changes nothing but to bloat this changelog).
kernel: Updated to Linux 4.4.162.
19-10-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to October 19, 2018 8:55 PM (UTC+8).
Synced stock blobs with 331 OTA firmware.
Cleaned up some unused blobs.
13-10-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to October 13, 2018 4:00 PM (UTC+8).
Rebased device and vendor trees (I hate this part, but sound cracking should be fixed on this build).
Upstreamed audio, BT, display, and media CAF HALs to LA.UM.7.4.r1-03600-8x98.0.
kernel: Updated to Linux 4.4.161 and CAF LA.UM.6.4.r1-11200-8x98.0.
09-10-2018 (UTC+8) – Experimental
Synced with XenonHD and LineageOS sources up to October 9, 2018 8:00 AM (UTC+8).
Android 9.0.0_r10 (October security patch)
Improved vendor init driver.
Upstreamed GPS HAL to LA.UM.7.2.r1-04900-sdm660.0.
Various miscellaneous changes.
07-10-2018 (UTC+8) – Experimental
First Experimental build.
[SIZE=+1]Known issues (latest build)[/SIZE]​
In-call audio issues for some (?)
ViLTE
USB-OTG (sometimes)
LineageOS issues
here all the roms have facing auto-rotate issue ,no one solve this issue
after few min watching doc or third party video player without any action automatically stuck auto-rotate .this issue has facing since source build
this issue only facing custom rom expect stock ,stock rom works well
media volume low
Is there any battery drain issue
How much SOT we can get?
---------- Post added at 05:25 PM ---------- Previous post was at 05:09 PM ----------
Is snapchat working please tell
Not working with many roms
Amanpreet singh1132 said:
Is snapchat working please tell
Not working with many roms
Click to expand...
Click to collapse
Snapchat uses SafetyNet to check device's integrity, with many ROMs on X00T development can't pass SafetyNet...
Sent from my ASUS_X00TD using XDA Labs
krasCGQ said:
Snapchat uses SafetyNet to check device's integrity, with many ROMs on X00T development can't pass SafetyNet...
Sent from my ASUS_X00TD using XDA Labs
Click to expand...
Click to collapse
So what's the solution please help
savijaysalem said:
here all the roms have facing auto-rotate issue ,no one solve this issue
after few min watching doc or third party video player without any action automatically stuck auto-rotate .this issue has facing since source build
this issue only facing custom rom expect stock ,stock rom works well
media volume low
Click to expand...
Click to collapse
who are facing auto-rotate issue ,use this method won't face auto-rotate issue
Settings-->Display-->Screen Stabilisation -->Enable Screen Stabilisation
Velocity Friction = 0.4x
Position Friction = 0.4x
Velocity amplitude=2x
Try this man
Amanpreet singh1132 said:
So what's the solution please help
Click to expand...
Click to collapse
Try to pass it.
abuzahwa said:
who are facing auto-rotate issue ,use this method won't face auto-rotate issue
Settings-->Display-->Screen Stabilisation -->Enable Screen Stabilisation
Velocity Friction = 0.4x
Position Friction = 0.4x
Velocity amplitude=2x
Try this man
Click to expand...
Click to collapse
Is Screen stabilization feature even exist on XenonHD? Can't find it.
Sent from my ASUS_X00TD using XDA Labs
krasCGQ said:
Try to pass it.
Is Screen stabilization feature even exist on XenonHD? Can't find it.
Click to expand...
Click to collapse
Sorry man,I forgot to say if "ROM supports screen stabilization", or maybe later on Xenon HD you will enter the feature
@krasCGQ feeling very good to see a developer like u is working for this device.
Your ROM is smooth!
BTW, if u don't mind, can u kindly port the MIUI10 ROM for our device?
Or, any custom skinned OS.
As, we are bored with the stock Android looks.
(There's a stable miui10 port already by Sagar Makhar, with the SOT of 8hrs~9hrs approx!)
But, we need updates!
afridi.shahriar said:
BTW, if u don't mind, can u kindly port the MIUI10 ROM for our device?
Or, any custom skinned OS.
Click to expand...
Click to collapse
To be honest, I hate MIUI and everything about porting OS from another device.
Sent from my ASUS_X00TD using XDA Labs
krasCGQ said:
To be honest, I hate MIUI and everything about porting OS from another device.
Sent from my ASUS_X00TD using XDA Labs
Click to expand...
Click to collapse
Ok.
Is there any custom ROM available , which has something different in looks ,specially the status bar.
(I really become irritated whenever i see the AOSP status bar, this is so much ugly! yaak)
afridi.shahriar said:
Ok.
Is there any custom ROM available , which has something different in looks ,specially the status bar.
(I really become irritated whenever i see the AOSP status bar, this is so much ugly! yaak)
Click to expand...
Click to collapse
There's no rom with such kind of feature... U can always try substratum... it's really good for customisation..
New build is up with latest security patch merged and other goodies. Enjoy!
Is I have to flash firmware?
---------- Post added at 02:19 PM ---------- Previous post was at 02:19 PM ----------
krasCGQ said:
New build is up with latest security patch merged and other goodies. Enjoy!
Click to expand...
Click to collapse
Is I have to flash firmware?
Amanpreet singh1132 said:
Is I have to flash firmware?
Click to expand...
Click to collapse
It's recommended to be on 327 firmware. However, any firmware, 309 onwards should work.
Sent from my ASUS_X00TD using XDA Labs
krasCGQ said:
New build is up with latest security patch merged and other goodies. Enjoy!
Click to expand...
Click to collapse
Please please can you set default antibanding to 50hz and there is a problem in vedio recording sound in ever rom including this one
Of all the pie roms i have used...this is best one as i am getting more than 10hrs of SOT..So kudos to developer for that...but it will be more awesome if it gets basic custom rom features like...long press power for torch,staus bar modifications.
And theming is also not working...acsent colour ,dark theme or black theme doesn't seem to work...i do understand it's experimental but it will be really nice to have these goodies
Paramvir Singh said:
Of all the pie roms i have used...this is best one as i am getting more than 10hrs of SOT..So kudos to developer for that...but it will be more awesome if it gets basic custom rom features like...long press power for torch,staus bar modifications.
And theming is also not working...acsent colour ,dark theme or black theme doesn't seem to work...i do understand it's experimental but it will be really nice to have these goodies
Click to expand...
Click to collapse
As I remember:
1. Long press power for torch is exist and working.
2. As I said in OP, it's still on development.
3. If it doesn't work on LineageOS, it doesn't either on XenonHD.
Sent from my ASUS_X00TD using XDA Labs

[r71] arter97 kernel for OnePlus 7 series

{
"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"
}
arter97 kernel for OnePlus 7 series running OxygenOS​
/* Features */
Supports OnePlus 7, OnePlus 7 Pro, OnePlus 7T and OnePlus 7T Pro
Fully rebased kernel without unnecessary OnePlus' code
Latest CAF msm-4.14 kernel fully merged
Using zswap + vnswap to replace zram
- Ditched conventional zram swap approach for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
Use CONFIG_HZ = 300
Optimized power configuration
BBR as the default TCP network congestion control
vDSO 32 patches to improve 32-bit performance
vmalloc backported from mainline to improve memory allocation performance
Latest Linux 4.14 subversion merged
DM-verity fully disabled (you can remount /vendor to R/W properly)
Timer optimizations
Additional power savings applied to the display panel
RTL8152/8153 USB LAN adapter support
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
No VLAs(info)
A whole lot more...
/* Details */
- Fully rebased kernel without unnecessary OnePlus' code -
This kernel is not based on stock OxygenOS kernel source provided by OnePlus. Instead, it’s based on the latest and greatest Qualcomm has to offer. Only the necessary parts from the OnePlus kernel has been cherry-picked, such as OnePlus 7 specific device drivers.
This brings 2 major changes: less debugging code and an overall lighter kernel.
There are miscellaneous changes made by OnePlus that are supposed to maximize utilization of system memory. But seeing how it’s implemented(heavily relying on zram and a physical writeback swapfile), I decided to remove it entirely.
Users are recommended to disable the “RAM Boost” feature from Settings > System > RAM Boost.
Due to the completely different base, the memory management with this kernel will be drastically different from other kernels.
- Latest CAF msm-4.14 kernel fully merged -
This kernel is also constantly merging the latest Qualcomm Android 4.14 kernel. This tag contains more up-to-date changes from Qualcomm than the regular Snapdragon 855 tag(sm8150).
- Use CONFIG_HZ = 300 -
This changes the context switching interval from 10ms to 3.33ms. Pixel used this for years and Google recommends other vendors to do the same for less jitter.
This is even more important on displays with higher refresh rates.
- Optimized power configuration -
Stock OnePlus configuration forces display-related processes to use the Gold cluster(formerly known as big cores) exclusively.
This configuration brings a huge power regression since it makes every frame dispatch to wake up and use Gold cores.
This kernel resets this profile to use the configuration Google recommends, which is to use the Silver cluster(formerly known as LITTLE cores) exclusively instead. No performance penalty was noticed with this change while massively improving battery life.
- BBR as the default TCP network congestion control -
BBR is a (relatively)new TCP congestion control developed by Google, and it’s regarded as one of the best things you could do to your network configuration. You can find its benefits easily just by Googling BBR. I’ve been personally running BBR for months on various Linux machines including the server running arter97.com and it’s been great.
Now that our Android kernel is running v4.14, I’ve enabled BBR and backported other BBR changes from mainline.
/* Notice */
5G variant is unsupported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
OnePlus 7T and OnePlus 7T Pro users cannot use f2fs without involving heavy and risky repartitioning operations due to Dynamic Partitions.
r61+ allows using f2fs on OnePlus 7T and OnePlus 7T Pro.
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
The process differs with T and non-T series.
/* T variants */
The kernel now detects whether the userdata is in f2fs format and patches fstab on boot for OnePlus 7T and 7T Pro users during boot.
This is done in a volatile manner, which means your system files are not modified and using other kernels will revert the effect.
This is half of the puzzle.
The other half of the puzzle is to getting userdata partition into the f2fs format.
Due to lack of a proper recovery for the OnePlus 7T, I patched up f2fs-tools to support formatting while the Android is up and running.
You can use Franco Kernel Manager's flasher to flash the live-formatter.
This obviously removes all data on the device.
Please make sure your data is fully backed-up.
f2fs live-formatter:
https://arter97.com/browse/f2fs/liveformat
Existing f2fs users won't be affected by any of these changes.
Note that the OnePlus 7T and 7T Pro's OxygenOS has an issue handling FBE(File-Based Encryption) with f2fs(which is presumably why they left it out while the OnePlus 7 Pro had it), and encryption will be disabled when you use my kernel's f2fs live-patching feature.
Without encryption, your entire data will be in danger if you lose your device.
Please use f2fs if you understand this trade-off.
(Non-T series users can safely use f2fs with encryption.)
f2fs installation steps:
1. Download and install my kernel.
2. Download and install f2fs live-formatter.
OxygenOS OTA steps:
1. Install OTA and DO NOT reboot.
2. Download and install my kernel using Franco Kernel Manager.
3. Reboot.
Re-format into ext4 steps:
1. Use stock recovery and perform a factory reset.
Re-format into f2fs steps:
1. Use stock recovery and perform a factory reset and turn the userdata back to ext4.
2. Reboot to Android.
3. Download and install f2fs live-formatter using Franco Kernel Manager.
/* Non-T variants */
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, simply format /data to f2fs with TWRP.
Afterwards, flash f2fs-optimize.zip from http://arter97.com/browse/f2fs/optimize
There’s no need to flash separate zip files for replacing f2fs-tools or fstab.
/* Disclaimer */
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
kdrag0n
nathanchance - for android-linux-stable
/* Instructions */
1. Read the above. Please.
2. Flash the zip file from your existing TWRP recovery.
2.1. FK Kernel Manager also works for installation. EXKM is unsupported and reported to brick the device due to installation failures.
/* Downloads and links */
r30 and up only supports Android 10
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 7, Kernel for the OnePlus 7 Pro
Contributors
arter97
Source Code: https://github.com/arter97/android_kernel_oneplus_sm8150
Kernel Special Features:
Version Information
Status: Stable
Created 2019-07-28
Last Updated 2020-10-18
/* Changelog */
r71
Merged f2fs fixes from mainline (fixes quota inode corruptions)
Linux v4.14.233 merged
Wi-Fi drivers updated to 5.2.03.32J
Sultan's Simple LMK updated
r70
zswap + vbswap replaced with zram
Commits backported from mainline to improve lz4 performance (better memory performance)
LA.UM.8.1.r1-17100-sm8150.0 merged
Linux v4.14.231 merged
Wi-Fi drivers updated to 5.2.03.32G
2021-04-05 security patch merged
RTL8152/8153 drivers updated
Merged optimizations from Sultan
r65
Enabled SECCOMP to address recent security vulnerability issue
LA.UM.8.1.r1-16900-sm8150.0 merged
Linux v4.14.226 merged
Wi-Fi drivers updated to 5.2.03.32E
2021-03-05 security patch merged
WireGuard updated to v1.0.20210219
Merged mainline f2fs fixes
Merged optimizations from Sultan
r64
Merged mmap/mremap fixes from upstream to fix some Chinese apps causing reboots
Merged mremap optimization from upstream (~19x speed up)
r63
mmap/mremap, TLB invalidation, mmu_gather backported from mainline for a major performance boost
(Including https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.10-Mremap-Optimization )
Disabled PG table mapping for swap memory allocator (increased performance for 64-bit)
Saved 48 MB of RAM by removing unused reserved regions
Applied MAC fall-through patch for Chinese users
LA.UM.8.1.r1-16300-sm8150.0 merged
Linux v4.14.212 merged
Wi-Fi drivers reverted to 5.2.03.31L to fix compatibility issues
2020-12-05 security patch merged
WireGuard updated to v1.0.20201112
Merged OnePlus kernel changes
r62
A major memory management issue fixed for 6GB variants
A scheduler patch from Pixel merged to improve power consumption
Reverted drm changes from July to fix intermittent frame drops (mostly noticeable from app open/close animations)
Linux v4.14.202 merged (includes a fix for critical Bluetooth vulnerability "BleedingTooth")
Thanks to @idkwhoiam322 and @NTLinhHaHa for this release
r61
SELinux is now set to enforcing
f2fs fstab live-patching implemented to allow f2fs on OnePlus 7T and 7T Pro users
Memory swap's aggressiveness tuned to reflect the device's RAM size
Wi-Fi driver backported from LA.UM.9.12.r1-08400-SMxx50.0
(The version jumped from 5.2.03.31A to 5.2.022.4J)
Merged LE.UM.3.3.2-09000-SDX55 tag
OnePlus brain service is disabled in a cleaner manner
Disabled f2fs' background GC
r60
Applied a fix for rare random reboots since r57
The entire SELinux subsystem backported from mainline Linux for better performance and efficiency
(Magisk users must use Magisk v21.0 or the kernel will not boot)
LA.UM.8.1.r1-16000-sm8150.0 merged
Linux v4.14.200 merged
Wi-Fi drivers updated to 5.2.03.31A
Now built with GCC 10.2
2020-09-05 security patch merged
WireGuard updated to v1.0.20200908
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r58
LA.UM.8.1.r1-15400-sm8150.0 merged
Linux v4.14.188 merged
Wi-Fi drivers updated to 5.2.03.27R
Minor trivial optimizations
r57
Linux v4.14.186 merged
Wi-Fi drivers updated to 5.2.03.27K
LE.UM.4.3.3.r1-00500-SDX55 tag merged
Minor memory optimization to the graphics drivers (by Yaro330)
r56
Merged OnePlus kernel changes to support optimized charging
Bunch of memory allocations from various subsystems were reworked to perform much better
Now built with GCC 10.1
2020-06-05 security patch merged
Linux v4.14.183 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.26Q
WireGuard updated to v1.0.20200520
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r54
Switched to Sultan's Simple LMK to fix lags and stalls on memory-pressured scenarios
Disabled scheduler debug for better performance
Reduced memory allocations on network sockets
Reworked and optimized vnswap (renamed to vbswap)
Reworked Wi-Fi configuration
USB UASP enabled
Minor fixes to previous memory optimization commits
LV.AU.0.2.0-01800-gen3meta.0 merged
2020-03-05 security patch merged
Linux v4.14.173 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.22Q
r52
Fixed slow boot issue on OnePlus 7T series
r51
Fixed Wi-Fi not working on some devices due to MAC address loading failures
Backported Android ion driver from Snapdragon 865 kernel
Latest f2fs-stable merged
Linux v4.14.170 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.19P
r50
Beta details
Cleanly rebased version
OnePlus performance boost hacks removed
Random reboots with WireGuard fixed
Random reboots with f2fs encryption fixed
Added vibration level control (by flar2)
Few patches from LE.UM.4.1.1-02910-sa515m merged including scheduler improvements
LV.AU.0.2.0-00810-gen3meta.0 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Linux v4.14.163 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.18B
r40
OnePlus 7T and OnePlus 7T Pro support added
Added support for flashing via FK Kernel Manager
Major optimizations to touch panel drivers for lower overheads
Merged a zswap patch for faster lookups - better memory swap performance
Disabled unnecessary kernel log writeback debug feature
Linux v4.14.156 merged
Latest Qualcomm's Android 4.14 kernel merged
(LA.UM.8.1.r1-12200-sm8150.0, LA.UM.8.11.r1-01800-NICOBAR.0, LA.UM.8.9.r1-06500-SM6xx.0)
Wi-Fi drivers updated to 5.2.03.15T
exFAT drivers added
WireGuard updated to 20191127
r33
LA.UM.8.1.r1-10700-sm8150.0 merged
r32
Ported patches from Razer Phone 2 to improve touchboost and general performance (by TheCrazyLex)
Linux v4.14.151 merged
Ported patches from LA.UM.8.9.r1-05300-SM6xx.0
Wi-Fi drivers updated to 5.2.03.14L
Memory management patches applied from kdrag0n kernel
r31
Integrated Google Camera AUX mod
(No need to use a separate Magisk Module)
LA.UM.8.1.r1-10300-sm8150.0 merged
Linux v4.14.150 merged
WireGuard updated to 20191012
Backported patches from LA.AU.0.0.2.c1-07610-gen3meta.0
r30
Rebased the kernel for Android 10 (based on LA.UM.8.1.r1-09500-sm8150.0)
Applied zswap + vnswap for replacing zram
Wi-Fi drivers updated to 5.2.03.13O
Linux v4.14.148 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Backported BBR TCP congestion control patches (by kdrag0n)
Switched to AnyKernel3
r30 won't work with the OnePlus 7T
r25
Linux v4.14.141 merged
Merged additional f2fs bug-fixes
Kernel download size reduced
LA.AU.0.0.1-15710-gen3meta.0 merged as an extension of SDX55 merge (contains various patches including scheduler enhancements)
GPU runtime overhead reduced
Garbled sound with type-C wired headphones fixed
General stability improvements
r24
Fixed a display-related patch introduced in r20 that may cause severe memory leakage and freezes
r23
Fixed yet another recent f2fs rapid GC changes that caused an indefinite wakelock
Reverted TCP backports and cherry-picked relevant BBR commits to fix rare random reboots
r22
Fixed a recent f2fs rapid GC commit that caused an indefinite wakelock
5G support removed due to improper radio support
Linux v4.14.138 merged
Switched to GCC 9.2.0
r21
Merged some performance improvement patches from kdrag0n
r20
Random reboots due to improper TCP backports fixed (thanks to freak07)
Random reboots due to f2fs rapid GC fixed (thanks to ab123321)
Nightscape fixed
Booting issues with OnePlus 7 non-Pro fixed
Support for OnePlus 7 Pro 5G added
Linux v4.14.137 merged
LA.UM.7.1.r1-15800-sm8150.0 merged
Wi-Fi drivers updated to 5.2.03.11J
Latest OnePlus changes merged
Latest f2fs-stable merged with correct encryption patch
Properly disabled userspace lmkd
Qualcomm RmNet extensions added
Enabled power efficient workqueues
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
r1
Initial release
/* Known issues */
None
/* Telegram */
Join our Telegram group:
https://t.me/joinchat/FW_6TBAlmu0DeMzUDyLkIw
Reserved 4
Reserved 5
I'll be the first. Just formatted my device and rooted it, first kernel im going to test!
Wow, very interesting changelog, will be interesting to see how it performs and what others think!
Conflicting decisions between kernel devs it seems on some features, like ZRAM for example.
Looking forward to flashing
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Congrats on this release!
Finally arrived! waiting for it since I know you are about to build one for op7pro.
RazorBlade123 said:
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Click to expand...
Click to collapse
You came from stock or something else?
NateDev said:
You came from stock or something else?
Click to expand...
Click to collapse
I came from kirisakura, first went to stock and then this kernel
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Did you still flash the f2fs-optimise zip in the OP?
storytellerz said:
Did you still flash the f2fs-optimise zip in the OP?
Click to expand...
Click to collapse
I'm not using F2FS.
Asop or OOS only kernel?
kenbrownstone said:
Asop or OOS only kernel?
Click to expand...
Click to collapse
/* Notice */
Both OnePlus 7 and 7 Pro is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Android Q beta is not supported and I’ll not spend my time adding support for it.
Do not ask for premature Android Q beta support.
Click to expand...
Click to collapse
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
thank you @arter97 ... finally ... its been too long... thank you! :good: kamsahamnida
Nice to see here! Kudos
I know it says not supported on Q, but I will still give a try
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Do you have a link to the stock 9.5.10 kernel is zip, flashable form? Thanks

[ROM][STABLE][Signature Spoofing/MicroG support][OTA updates] LineageOS 18.1 for S7 Exynos

{
"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"
}
LineageOS 18.1 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons and their backlight
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Take a note that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread as you will be reported to moderator also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications
Install gapps right after installing the rom itself dont try to boot to system before that if you want to use gapps
NikGapps and BiTgapps were both tested and working
Downloads:
Google Drive
Mega.nz
GitHub releases
MD5: 4ed429913caa5cca1434ca0e084f4346
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
ETH(erc20): 0x979a8e42551e62e6994d3762c9d9f0e76b5d87f9
Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Due to requests from some users I added signature spoofing support to the rom which allows usage of MicroG
you can simply install MinMicroG and grant it needed permissions for signature spoofing to make it work as intended
Based On Android 11/R
Changelog
08.05.2023.
- Merged June 2023. Security update
- Synced with LineageOS source
07.05.2023.
- Merged May 2023. Security update
- Switched to more source built components from new Exynos 850/Linaro BSP
hwcomposer
memtrack
libion_exynos
libGrallocWrapper
gralloc
libcsc
libexynosscaler
libexynosgscaler
libhwjpeg
Whole OMX stack (libOMX.Exynos.*) and stagefrighthw
- Performance, stability and battery life improvements
- Synced with LineageOS source
15.04.2023.
- Merged April 2023. Security update
- Synced with LOS source
21.03.2023.
- Merged March 2023. Security update
- Synced with LOS source
12.02.2023.
- Merged February 2023. Security update
- Synced with LOS source
05.01.2023.
- Merged January 2023. Security update
- Synced with LOS source
08.12.2022.
- Merged December 2022. Security update
- Switched to a new power hal (same one as in 19.1 and 20.0)
- Improved battery life and performance
- Rebased kernel to fix some issues with ipv4 stack
- Synced with LOS source
09.11.2022.
- Merged November 2022. Security update
- Synced with LOS source
06.10.2022.
- Merged October 2022. Security update
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Synced with LOS source
08.09.2022.
- Merged September 2022. Security update
- Synced with LOS source
06.08.2022.
- Merged August 2022. Security update
- Synced with LOS source
08.07.2022.
- Merged July 2022. Security update
- Synced with LOS source
09.05.2022.
- Merged June 2022. Security update
- Synced with LOS source
07.05.2022.
- Merged May 2022. Security update
- Synced with LOS source
07.04.2022.
- Drastically speed up app launch time (more info about that here)
- Merged April 2022. Security update
- Imrpoved performance and battery life by disabling some unnecessary logging
- Removed AudioFX which was causing audio issues
- Synced with LOS source
12.03.2022.
- Merged March 2022. Security update
- Implemented OTA updates
- Synced with LOS source
11.02.2022.
- Merged February 2022. security update
- Fixed issue where camera would stop working after prolonged use
- Removed unused custom ld.config.txt that was overriding main one
- Switched to few source built ril related libs
- Added support for changing wireless charging sound
- Misc performance and stability improvements
- Synced with LOS source
09.01.2022.
- Merged January 2022. Security update
- Synced with LOS source
15.12.2021.
- Merged December 2021. Security update
- Removed liboemcrypto which was breaking playback in some apps that use drm
- Synced with LOS source
05.11.2021.
- Merged upstream wireguard kernel changes
- Merged November 2021. Security update
- Synced with LOS source
05.10.2021.
- Merged October security update
- Merged October Kernel upodates to 3.18.x
- Added more advanced burn in protection
- Misc performance and stability updates
- Synced with LOS source
09.09.2021.
- Merged September 2021. Security Update
- Merged September 2021. Security update to kernel
- Fixed WiFi Display (Screen mirroring)
- Resolved few sepolicy issues
- Synced with LOS source
04.08.2021.
- Added battery saver options (settings -> battery)
This allows you to limit phone charging to given percentage
(By default it stops on 75% and starts charging at 25%)
this can be controled by sysfs paths
module/sec_battery/parameters/store_mode_min
and
module/sec_battery/parameters/store_mode_max
In future release there will be a slider for this
- Merged August 2021. Security update
- Merged August 2021. Security update to kernel
- Misc performance and stability improvements
- Synced with LOS source
08.07.2021.
- Merged latest kernel patches from kernel/common android-3.18 branch
- Merged July 2021. security update
- Synced with LOS source
- misc performance and stability improvements
05.07.2021.
- Kernel: Fixed issue where using external sdcard as combined internal storage caused high cpu usage
- Removed leftover aosp charging animations
- mounted cpefs folder on boot
- Added NFC Extended Lenght support
- Fixed power profile swtiching (Better performance/battery life)
- Synced with LOS source
21.06.2021.
- Audio: resewt mixer gains to default values since we have lifevibes working now and handling it
- Audio: Reworked incall audio handling in mixer paths to disable 2nd mic that was picking up noise
- Audio: Reworked voice commands input mixer paths
- Audio: Fixed voip calls not picking up microphone due to wrong paths (e.g. apps telegram, whatsapp)
- Replaced vulkan lib with symlink to mali lib (Like on stock) (This saved some space too)
- Kernel: Merged upstream aosp 3.18 kernel
- Kernel: Merged latest upstream cpufreq (DVFS) patches for dynamic voltage and frequency handling
- Kernel: Enabled CONFIG_HZ_300 for faster interaction handling
- Cleaned up public.libraries.txt
- Resolved few more sepolicy issues
- A lot of perforamnce and stability improvements
- Synced with LOS source
10.06.2021.
- Removed deprecated custom bt hal as AOSP one works too with extra config flag
- removed audio effects from voice_recognition as it caused audio hal to crash/restart
- Merged June 2021. Security update
- Synced with LOS source
06.06.2021.
- kernel: reverted "net: disable netpoll on fresh napis" which caused cpu to lock up at higher frequencies
- removed unsupported audio devices from audio policy config
- Synced with LOS source
03.06.2021.
- sepolicy: Resolved audioserver denial
- sepolicy: Allowed mediaserver to read exported_camera_prop
- Moved volume panel to left side
- Removed invalid media codec config for vc1 decoder
- Removed prop that would try to load non existing vulkan lib
- Updated media profiles to new schema
- kernel: Upstreamed and updated to 3.18.140 with all of the latyest security patches and updates to date
- kernel: enabled vdso32 (https://source.android.com/devices/architecture/kernel/config#vdso32-on-arm64) perf. and battery life improvements
- kernel: fixed issues with obb folder present in rare cases
- kernel: merged latest android kernel/common 3.18 branch
- kernel: updated wireguard
- kernel: merged N935FXXS8CUD1 source drop
- Synced with latest los source
05.05.2021.
- sepolicy: Allowed cbd (Modem daemon) service to read proc_net sysfs
- sepolicy: Allowed gpuservice acces to graphics_config_prop
- sepolicy: improved debugfs handling for mali and ion
- Fixed video recording in a lot of apps (Might require clean flash for some users)
- Updated blobs to N935FXXS8CUD1 (April 2021 security update)
- Fixed edge case where fast charging switch would be ignored because its chwoned too late
- Compiled NFC hal from source (Google released samsung nfc source
(https://android.googlesource.com/platform/hardware/samsung/nfc/), (Should improve stability)
- Upreved livedisplay implementation (to 2.1) with native flicker free support
- Added lifevibes blobs for audio effects and enhancements
- Merged May 2021 security update
- Synced with LOS source
07.04.2021.
- Fixed Vulkan
- Disabled WPA2 to WPA3 auto-upgrade (This caused issues on some wifi networks)
- Rebased AntiFlicker and livedisplay support
- Performance and stability improvements
- Synced April 2021 Security Update
- Synced with LOS source
22.03.2021.
- Added signature spoofing support for MicroG
- Cleaned up codebase
- Misc performance and satbility improvements
- Synced with LOSsource
04.03.2021.
- Fixed Mouse pointer icon when using an external mouse
- Improved swcodec handling
- Performance and stability improvements
- Merged March 2021. security update
- Synced with LOS source
18.02.2021.
- Fixed cover case display states being flipped
- Improved renderscript handling
- Further imrpoved selinux policies and fixed denials
- Fixed binder related vurnability in kernel
- disabled zcache compression which could caue kernel panics
- Misc performance and stability improvements
- Synced with LOS source
05.02.2021.
- Improved HWC handling
- Added always on display
- Fixed issue where some games would show swapped colors
- Rebased sepolicy
- Fixed hwc selinux denials that slowed down UI
- Added support for smart cover cases
- Imrpoved renderscript performance
- Imrpoved offline charging (New animation and it should recognize wireless charger while phone is off now)
- Misc performance and stability improvements (A lot of them, as always you can check github and lineageos gerrit)
- Merged February 2021. security update
- Synced with LineageOS source
24.01.2021.
- Fixed HWC
- Drastically improved performance and battery life
- Added back flicker free dimming and fast charging switch (Now as hiidl interfaces)
- Switched to samsungs DT2W driver used on AOD on stock (Battery life improvements)
- Added custom LiveDisplay modes
- Disabled some excess logging
- Cleaned up codebase
13.01.2021.
- Merged januart 2021 Security Updat
- Fixed issues with fingerprint in 3rd party secure apps (banking apps paypal password managers)
- Updated prebuilt binaries
- Cleaned up mixer paths
- Added neural network drivers
- Disabled p2p mac randomization
- Fixed wifi direct
- Removed unused 32bit drivers
- Improved performance and stability
- A lot more unmder the hood changes
22.12.2020.
- Merged december 2020 security update
- Fixed volume adjustment with audio
- Drastically improved audio quality
- Merged December pixel feature drop
- Fixed noise cancelling in call
- Misc performance and stability improvements
24.11.2020.
- Fixed in call audio (Volume changing in call is still somewhat broken)
- Merged November 2020 security update
- Imrpoved BT audio handling
- Selinux is back in Enforcing mode
- Fixed signal strenght indicator for all network modes (2g/3g/4g)
- Fixed soft buttons backlight handling
- Fixed fingerprint recognition in some apps (Non secure ones for now)
- Fixed glove mode
- Misc performance and stability improvements
- Synced with LOS source
06.10.2020.
- Improved brightness slider range
- Improved microphone input in some voip apps
- Synced with LOS source
05.10.2020.
- Initial release
XDA:DevDB Information
LineageOS 18.0 for S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-18.1
ROM OS Version: Android 11
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
Keep in mind this is early build and many los features are not merged yet do not report those as bugs as they are not device specific and will be resolved
Also here are some screenshots
Also big thanks to everyone who supported this and other projects since lineageos 15.1 since i do this in my free time and donations help offset server cost and get me coffee
reserved
Wow, you just keep this device alive. Cant wait to try this Rom(im currently downloading...) Will report in a few days how it is
Holy moly, that was real quick. Thanks for this ROM! Do you think you could fix the microstuttering that sometimes appears on LOS 17.1? I see you have an EAS implementation in the works but only you know the real status of your tree.
Alternatively, could you provide a no-op performance profile so we can tweak the interactive governor through a kernel manager? When I change my governor settings for my custom ones microstuttering goes away until they reset to default after a while even if I enable apply on boot, and the default performance option is janky when doing anything more intensive than scrolling a webpage or through the system UI. Sometimes playing games is impossible because it runs smoothly but randomly jumps.
Again, thanks for your ROM. We are blessed to have a dev like you working on this old horse
So far ROM is awesome smooth and fast ,only problems for me at least:
1-brightness slider
2-calls problem can't hear or talk and can't record in such apps like WhatsApp
Thx for ur awesome works so much appreciated
Hi,
Did anybody try to dirtyflash from 17.1? I had no luck so far...
And again, big thank to Ivan, for the rom and keeping device alive!!!!!
thx
vagika said:
Hi,
Did anybody try to dirtyflash from 17.1? I had no luck so far...
And again, big thank to Ivan, for the rom and keeping device alive!!!!!
thx
Click to expand...
Click to collapse
I don't think it will be possible to dirty flash from 17.1, you can use oandbackup
---------- Post added at 07:26 PM ---------- Previous post was at 07:21 PM ----------
Many thanks Ivan, great work!
New build is up here is a brief changelog
- Improved brightness slider range
- Improved microphone input in some voip apps
- Synced with LOS source
Big thanks to evryone who supported this project as their donations go towards build server cost and coffee
Thank you for your time!
Where can I find the changelog for lineage os 18? What is new?
Wattsensi said:
Holy moly, that was real quick. Thanks for this ROM! Do you think you could fix the microstuttering that sometimes appears on LOS 17.1?
Click to expand...
Click to collapse
I don't know if you mean the same thing, but at least Pokemon Go "jerkiness" can be completely fixed by changing GPU powersave mode from "coarse demand" to "always on".. But you need some adjustable kernel like Morokernel to be able to do this, and Moro is not very good with recent LOS versions.
I don't know what the issue with "coarse demand* is.. it turns off GPU power after 100ms of idle. That certainly shouldn't happen during gameplay when there's constant movement on screen?
Zuikkis said:
I don't know if you mean the same thing, but at least Pokemon Go "jerkiness" can be completely fixed by changing GPU powersave mode from "coarse demand" to "always on".. But you need some adjustable kernel like Morokernel to be able to do this, and Moro is not very good with recent LOS versions.
I don't know what the issue with "coarse demand* is.. it turns off GPU power after 100ms of idle. That certainly shouldn't happen during gameplay when there's constant movement on screen?
Click to expand...
Click to collapse
Thanks for responding. Changing to always_on does help a little but it makes the phone MUCH hotter...or is it my idea?
The phone is hotter and it still stutters, I tried changing the I/O schedulers to less intensive noop and tweaking the interactive governor helps but then it resets itself back to stock settings no matter what I do. But no matter what, there is always at least a bit of microstuttering. It is ruining the experience on this otherwise perfect ROM.
Also the custom kernels are using a different kernel/binary blob base that doesn't work with this ROM family anymore. I personally don't want to delve in the headache of merging commits and fixing build failures, it means downloading yet another kernel for yet another SoC and my space is kinda limited right now because I already maintain a device.
Hmm. I'm actually currently on FloydQ rom. It is very smooth with Moro and this "always on" mode. Battery use is very minimal, phone does not get hot.
FloydQ is using the older code base so Moro works. But earlier I was using some older LOS 17.1 beta with Morokernel and it was smooth. The later versions (with newer code base) stuttered..
Hmm.. perhaps there is some bug causing entire device to halt for over 100ms? Then coarse_demand mistakes this as idling and powers off the GPU, making things even worse.
I can't see call screen when someone calls please fix this
mertcaners12 said:
I can't see call screen when someone calls please fix this
Click to expand...
Click to collapse
As it says on the main post, it's pointless to report a bug without including:
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
as he can't possibly recreate every issue.
Thank you !
I will test with NikGapps
please someone upload it on sourceforge ((((
i cant download from google drive
Zuikkis said:
Hmm. I'm actually currently on FloydQ rom. It is very smooth with Moro and this "always on" mode. Battery use is very minimal, phone does not get hot.
FloydQ is using the older code base so Moro works. But earlier I was using some older LOS 17.1 beta with Morokernel and it was smooth. The later versions (with newer code base) stuttered..
Hmm.. perhaps there is some bug causing entire device to halt for over 100ms? Then coarse_demand mistakes this as idling and powers off the GPU, making things even worse.
Click to expand...
Click to collapse
I am switching to another ROM and flashing echofix
Wattsensi said:
Does this ROM have all the bugs and instability older Lineage ROMs had, or it works as a daily driver? Apart from the fixable echo problem, do calls work well? I am considering switching ROMs to instal ThundeRStorms Kernel if I can't solve this issue from userspace. as a bonus I get EAS.
Click to expand...
Click to collapse
Well.. I'm probably the wrong person to answer, as I have never encountered the echo or volume problems on LOS either. And I use this as my work phone so I call quite a lot.
But still yeah, FloydQ feels very stable. I think it's mostly binaries moved from the S9+ rom, as it has all Samsung proprietaries working (like VoLTE calls).. I assume echo cancellation as well. And it passes SafetyNet out of the box, you don't necessarily need Magisk to run bank apps etc.
Zuikkis said:
Well.. I'm probably the wrong person to answer, as I have never encountered the echo or volume problems on LOS either. And I use this as my work phone so I call quite a lot.
But still yeah, FloydQ feels very stable. I think it's mostly binaries moved from the S9+ rom, as it has all Samsung proprietaries working (like VoLTE calls).. I assume echo cancellation as well. And it passes SafetyNet out of the box, you don't necessarily need Magisk to run bank apps etc.
Click to expand...
Click to collapse
Well, I flashed Resurrection Remix and indeed, the microstuttering is gone! Thanks for the recommendation.
EDIT: The culprit seems to be the N935KKKU4CTH1 rebase, running a ROM previous to their inclusion makes the problems disappear

[KERNEL] [11.0.0] Kazuki Kernel [February 18, 2022]

Introduction
Kazuki Kernel is a kernel based on Sultan's kernel with some additional modifications aiming to give a better experience than the stock kernel.
Compatibility
This kernel only supports devices running the latest firmware (vendor.img), and will NOT BOOT on anything else.
Features
Everything from Sultan Kernel
Backports from Sultan's Pixel 4/XL kernel
Patches from kdrag0n's Pixel 2/XL kernel
New set of optimized CPU frequencies and EAS energy model
Wi-Fi WPA3 support
Miscellaneous treewide optimizations
Downloads
Latest kernel
Enable support for flip covers (optional)
Credits
Sultan Alsawaf (Sultanxda/kerneltoast) for his kernel and help
Danny Lin (kdrag0n) for his patches and freqbench
Everyone else who I cherry-picked from
Source code
https://github.com/Kaz205/android_kernel_google_wahoo/commits/20220218
Changelog
February 18, 2022:
• Massively reduce latency
• Fixed a regression which caused performance to drop when executing heavy tasks
• More EAS patches from android-4.4-p
• Merged February ASB
October 26, 2021:
• Fixed the deadlock (finally!)
Thanks to @ab123321 for the help
October 14, 2021:
• Fixed a deadlock (for real this time).
October 11, 2021:
• Fixed a deadlock
September 28, 2021:
• EAS patches from android-4.4-p
• Optimized lock usage in various subsystems
• Lowered idle drain
September 12, 2021:
• Fix high power consumption when playing video
September 8, 2021:
• Bring back support for AFWall
• Allow vibration when the Camera is used
September 7, 2021:
• Complete revamp! Cleaned up broken commits
and rebased onto Sultanxda's 11.0.0-sultan branch
• Revert back to v4.4.223
• Update compiler to GCC 11.2
• Save power when rendering static images
• Massively save power when playing video
• Merge September ASB
• Further backports from Sultan's Pixel 4/XL kernel
• New set of optimized CPU frequencies for performance and battery life
July 11, 2021:
*Further tweak scheduler for better performance and battery life
*Better low-memory-killer performance (Thanks Sultan)
*Update WireGuard to v1.0.20210606
*Merge linux-stable v4.4.275
*More stuff that I forgot about
May 12, 2021:
*Switch compiler to GCC 11.1 for improved performance
*Merge April and May ASB
*Merge linux-stable v4.4.265
*Update Simple LMK
*Enable zram deduplication (saves 100~200mb of memory)
*Massively optimize Unity games (thanks Sultan)
*Further backports from Sultan's Pixel 4/XL kernel
*Micro-optimize Qualcomm secure channel manager
April 26, 2021:
*Revert zram compressor back to zsmalloc as z3fold was causing problems
*Slightly reduce overall power consumption
*Minor bug fixes from Qualcomm
April 24, 2021:
*Switch zram compressor backend to z3fold (for hopefully better long term performance)
*Micro-optimize Qualcomm G-link driver
*Slightly reduce overall power consumption
*Minor scheduler improvements
April 18, 2021:
*Initial release
Flashing straightaway!
Thanks for your work
Working fast and snappy on taimen running ProtonAOSP 11.4.0
Is anyone successful in flashing on crdroid? What's the experience like
Flash in walleye run 11.4 proton OS . Boot fail. Auto boot to bootloader
Show notify yellow at the bottom: ERROR: BootLinux Failed: Not Found
Can i use this on Android 10?
ValKyre said:
Flash in walleye run 11.4 proton OS . Boot fail. Auto boot to bootloader
Show notify yellow at the bottom: ERROR: BootLinux Failed: Not Found
Click to expand...
Click to collapse
Did you flash the kernel correctly? It appears that your boot image is corrupted.
Prattham said:
Can i use this on Android 10?
Click to expand...
Click to collapse
No, only Android 11 phones with the latest firmware are supported.
Kaz205 said:
Did you flash the kernel correctly? It appears that your boot image is corrupted.
Click to expand...
Click to collapse
Download your kernel.
And flash via twrp
It appears that I had removed important dtb files which made the kernel unbootable on walleye. I uploaded a new build to (hopefully) fix the issue. The new build should be called "Sultan-kernel-plus_20210418-fixup.zip".
EDIT: It's fixed and is safe to flash.
Kaz205 said:
It appears that I had removed important dtb files which made the kernel unbootable on walleye. I uploaded a new build to (hopefully) fix the issue. The new build should be called "Sultan-kernel-plus_20210418-fixup.zip".
Click to expand...
Click to collapse
Yay... It boot now. But do u know why it same issue like other kernel ? (kirisakura, sultan old version,...) .
The issue is: when restart, the boot amination very very slow. Some time when the screen of press power key to turn on phone it take 3-5s to open (sometimes not usually) .
New build is up with some original commits. Nice!
Kaz205 said:
新建了一些原始提交。好的!
Click to expand...
Click to collapse
希望优化的更好,感谢
any settings for rgb to eliminate the yellowish from white?
Newwwww build
@Kaz205 I've been following your github repo for a while and there was a period of time where you used PELT and is no longer using it. Just wanted to know what are your findings regarding PELT?
Chaninoza said:
any settings for rgb to eliminate the yellowish from white?
Click to expand...
Click to collapse
Yes it's present.
neekless said:
@Kaz205 I've been following your github repo for a while and there was a period of time where you used PELT and is no longer using it. Just wanted to know what are your findings regarding PELT?
Click to expand...
Click to collapse
I initially switched to PELT in hopes of lower jank. However I switched back because it turns out that PELT breaks live frequency stats and that jank is more or less the same as WALT with some proper tuning.
New build is out with lots of cool changes!
May I use this kernel for 10?
Sui77 said:
May I use this kernel for 10?
Click to expand...
Click to collapse
No. Already answered by dev before in this thread... Post#6
Kaz205 said:
New build is out with lots of cool changes!
Click to expand...
Click to collapse
hehe less jank
flashed for some testing....

Categories

Resources