[KERNEL] [blu_spark r108 OP6T] [OOS 10 / Pie Custom ROMs] - OnePlus 6T ROMs, Kernels, Recoveries, & Other Dev

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel features:
Powered by Ubuntu 18.04.3 x86_64 (sparky VPS @ www.servercore.com.br - thanks @ChristianLetti)
Build with custom toolchain blu_gcc-9.2.0 (cortex-a75.cortex-a55 targeted, build with latest Crosstool-NG from GCC-9.2.0 snapshot)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish OP6T builds based on OnePlusOSS/android_kernel_oneplus_sdm845
Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel2 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes
Several CPU Governors (blu_schedutil modded governor merged from latest Pixel 3 patchset)
No OC, use 300HZ kernel timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default), Network tweaks and updated drivers
Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, advanced filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
Patched SafetyNet flags to pass CTS
Stock thermal driver by default
ZRAM Swap (LZ4) and adaptive LMK on by default
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and reworked GPU driver
adrenoboost enable by default at medium
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
KLAPSE support (v5.0)
USB Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP​Extras download location​(No mirrors please)​
Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark.
If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
About bugs and troubleshoots: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
If you're using custom ROMs (including OOS based ones) or Open Betas you're on your own. I'm only interested on debugging stuff in stock and stable OOS.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with CM or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
OnePlus 6T development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to Manu J. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for OnePlus 6T, Kernel for the OnePlus 6T
Contributors
eng.stk
Source Code: https://github.com/engstk/op6
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r103 unified
Stable Release Date: 2019-09-27
Current Beta Version: r108 unified
Beta Release Date: 2019-10-25
Created 2018-10-31
Last Updated 2019-10-25

blu_spark r51 unified
Your favorite kernel for Oneplus devices is here :victory:
I merged in OOS 9.0.4 source drop, so I decided to push OP6/6Tunified beta build (untested, don't have 6T device atm).
Just got on 6T
If you're brave enough, details and downloads here (backup your boot.img so you can go back to stock):
https://forum.xda-developers.com/showpost.php?p=78027996&postcount=963

eng.stk said:
Your favorite kernel for Oneplus devices is here :victory:
I merged in OOS 9.0.4 source drop, so I decided to push OP6/6Tunified beta build (untested, don't have 6T device atm)
If you're brave enough, details and downloads here (backup your boot.img so you can go back to stock):
https://forum.xda-developers.com/showpost.php?p=78027996&postcount=963
Click to expand...
Click to collapse
1st
Best op6 kernel is already available for 6t ?

There is not even a TWRP to flash the kernel and you already made the kernel. Nice work :good: :highfive:

@eng.stk: Thank you buddy for your continued support, we are proud to have you on the developer team
I am suppose to get a device within next 48 hours so i will flash and report.
Keep up the good work.

marf28101995 said:
1st
Best op6 kernel is already available for 6t
Click to expand...
Click to collapse
Bam! Always on the #fastlane
Kir3 said:
There is not even a TWRP to flash the kernel and you already made the kernel. Nice work :good: :highfive:
Click to expand...
Click to collapse
Indeed xD You can try to temp fastboot boot my blu_twrp, maybe it will work.
Funk Wizard said:
@eng.stk: Thank you buddy for your continued support, we are proud to have you on the developer team
I am suppose to get a device within next 48 hours so i will flash and report.
Keep up the good work.
Click to expand...
Click to collapse
Thanks for the kind words my friend. Wouldn't be as much without your support
Yeah test it out and let me know!

OMG its awesome to see u here this soon
That was fastttttt, custom kernel served even before we are seated at the custom recovery table.
My device should be delivered tomorrow.
Its going to be Blusparked ASAP. Switching from oneplus 5T to 6T

I have twrp on my OP6T, but decryption doesn't work so i cant restore my backup. ill try and flash when i fixed that.

How did you get twrp?

meljohnsony2k said:
How did you get twrp?
Click to expand...
Click to collapse
He used OP6 twrp see his tuto in Guide News Discussions section

mingo_mgx said:
I have twrp on my OP6T, but decryption doesn't work so i cant restore my backup. ill try and flash when i fixed that.
Click to expand...
Click to collapse
So to be clear, does the twrp work when no screen lock is set ? Cant test anything as the 6T is yet to be delivered

saiprasadgawde said:
So to be clear, does the twrp work when no screen lock is set ? Cant test anything as the 6T is yet to be delivered
Click to expand...
Click to collapse
TWRP works but decryption does not, regardless of whether screen lock is disabled or not.
I want to try this kernel but a bit too risky at the mo as we have no way to restore a backup and there are no factory images available as yet.

iaTa said:
TWRP works but decryption does not, regardless of whether screen lock is disabled or not.
I want to try this kernel but a bit too risky at the mo as we have no way to restore a backup and there are no factory images available as yet.
Click to expand...
Click to collapse
Oh i see. It is risky no doubt but I am sure it wont be long before working TWRP will be out. Fingers crossed

@eng.stk: Look what's Rocking my Fajita :laugh:
Kernel boots fine, everything works, nothing broken. Used Enchilada 9.86 TWRP, boots fine but has decryption issues so had to sideload the kernel. Thank you once again for your continued support and i look forward to a fully compatible TWRP :highfive:
Edit: Temporary Workaround till we get a fully compatible Blu TWRP :laugh:

Brave! Nice work from all around though
EDIT: Kernel working fine here too!

Funk Wizard said:
@eng.stk: Look what's Rocking my Fajita :laugh:
Kernel boots fine, everything works, nothing broken. Used Enchilada 9.86 TWRP, boots fine but has decryption issues so had to sideload the kernel. Thank you once again for your continued support and i look forward to a fully compatible TWRP :highfive:
​
Click to expand...
Click to collapse
Oh yeah, awesome stuff my friend, really happy it's all good :highfive:

Seems this phone doesn't have notification light. Does this solve in this kernel as mentioned.
Sent from my [device_name] using XDA-Developers Legacy app

aniesh1114 said:
Seems this phone doesn't have notification light. Does this solve in this kernel as mentioned.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
No it will not add a LED to your phone... it's just a placeholder from the OP6.

Finally rooted and Blusparked my 6T through adb sideload on temporary recovery :laugh:
Device definitely feels more fluid and responsive as expected. The customised vibration is a wonderful addition.
Thanks eng.stk, great work as always

saiprasadgawde said:
Finally rooted and Blusparked my 6T through adb sideload on temporary recovery :laugh:
Device definitely feels more fluid and responsive as expected. The customised vibration is a wonderful addition.
Thanks eng.stk, great work as always
Click to expand...
Click to collapse
Great, but you should hide your IMEI

Related

[Kernel] AX7Kernel - STOCK B15 / B19

{
"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"
}
Hello!
I want to introduce my first custom kernel for the ZTE Axon 7. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
We'll have two kernels one based off LOS sources and will try to have updated with each and every commit that is submitted and the other one will be Stock ZTE sources based. If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
BLX (Battery Longevity eXtender) added, check Post#2 for instructions.
Updated to lastest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest STOCK Release: AX7Kernel-STOCK-R9
Known issues:
02.13.2017 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
AX7Kernel, Kernel for the ZTE Axon 7
Contributors
jimbo77
Source Code: https://github.com/Jimbo77
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R9
Stable Release Date: 2017-03-16
Created 2017-03-17
Last Updated 2017-03-22
Reserved
How to Bypass SafetyNet bootloader and/or root checks
* If comming from a clean flash of ROM or GAPS only do the following:
Magisk Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest Magisk from this thread:
Donwload Magisk Manager from the Playstore
Enable Magisk Hide in Magisk Manager
Profit, SafetyNet Checks will pass, all green!
SuperSU Approach
Flash the UnSu file from HERE
Flash my latest Kernel
Flash the latest SuperSU from this thread:
Donwload RootSwitch APP from HERE
Unpack the zip and install the apk inside it
Open Root Switch and disable root
Profit! SafetyNet checks will all be green!
Battery Life Extender (BLX) feature
In order to configure the cap you'll have to navigate to:
Code:
/sys/class/misc/batterylifeextender/charging_cap_level
edit the file and put the cap you want the battery to charge to, i won't recommend setting a cap lower than 90% cause then the phone could abruptely stop a fast charging cycle and damage your battery. If you want to have your phone charging to 100% just put 100 in the file and close it. No need to reboot, just plug and unplug your charger.
On a side note, this value will be set at 97% after every boot. So you'll need to manually change it back to 100.
Reserved
AX7Kernel Changelogs:
AX7Kernel R9 - 03/22/2017
Updated Source with ZTE Changes in B19 source code.
AX7Kernel R8 - 03/17/2017
Fixed NFC issue with B19 builds.
Updated WLAN driver to LA.UM.5.5.r1-03800-8x96.0 github from CAF
Fixed the SDCard error shown in R8 version from 03.16
AX7Kernel R8 - 03/16/2017
Updated to newest B15 Source dropped by ZTE a few days ago. This is mainly a Maintenance Update. Keep in mind the Kernel works with 7.1.1 but it breaks NFC, will be fixes most likely until a new sources is dropped by ZTE.
AX7Kernel R7 - 03/16/2017
For both STOCK and LOS Based versions. Upstream Linux Kernel to 3.18.45 thanks to jcadduono patches.
AX7Kernel R6 - 03/03/2017
Cap for battery charging set back to 100% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. If you want to extend your battery's life think about adding the cap to a 95 or 97%
Fixed the issue where the phone won't go into deep sleep at all.
WQ_POWER_EFFICIENT MODE is enabled by default now.
AX7Kernel R5 - 03/01/2017
Cap for battery charging set to 97% by deffault. BLX Settings, you want to change them, refer to this POST and to this POST. Your battery won't charge beyond 97%.
Added options to manipulate thermal settings, now you can choose when the phone will throtle the CPU or when to start shutting down cores to prevent damage. My recommendation don't push it too high or your phone might get damaged due to the high temps. It's not set to 60 Celcius so i recommend lowering that to avoid damage.
Added WQ_POWER_EFFICIENT MODE ( you'll need EX Kernel manager to get this, it's paid app but it's totally worth it guys)
Enabled the option to 'disable' some wakelocks. Disable them on your own risk. Wakelocks that can be disabled are: Bluedroid, wlan_rx, wlan_ctrl, wlan, IPA_WS, wlan_extscan_wl_ws, qcom_rx_wakelock_ws - You'll also need EX Kernel manager to get this options.
AX7Kernel R4 - 02/24/2017
Renamed both the Folder and Kernel zip file to appoint to the version. Now we'll have 2 versions, LOS and Stock AX7Kernel, make sure to check the zip name correctly to avoid issues when cross flashing kernels. All LOS/RR/AOKP and other LOS Based kernels will have the word LOS in it.
Fixed BLX feature. It should now properly stop the charging process when the battery has reached the cap_level set by users. Charge will resume once the charge drops from the cap assigned.
AX7Kernel R3 - 02/21/2017
Added one more step of OC (pushed just a little bit further)
Added my own and really simple implementation of BLX (battery life extender) based on the work made by bedalus for the OP3 and OP3T
AX7Kernel R2.3 - 02/17/2017
Updated to latest LOS Stock Kernel
Disabled some debugging
fixes to ZEN ioScheduler - highly recommended now.
Disabled color inversion in Kcal - can't be used anyways.
Fixed USB Fast Charge - Should worl properly now.
GPU OverClock - 684MHZ max frequency now.
Adreno Boost added and enabled (should boost GPU a bit)
Updates to interactive governor (should work better when operation are in the background and screen is off - music streaming is an example.
Changes to the Sync
Changes to Random function for IO ops.
Updates to Zram.
AX7Kernel R1 - 02/13/2017:
Updated to latest LOS Stock Kernel
Added a few governors like: lionfish / despair / darkness / blu_active / wheatley / ironactive and bioshock
added a few IO Schedulers: Tripndroid / Zen / SioPlus / VR
Kcal Color Control driver
USB Fast Charge
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock
Motorola Quickwake
Extended battery charge time from 30s to 100s
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
jimbo77 said:
Link will still redirect to R7 , androidfilehost is conducting a server maintenance. Once completed I'll upload R8 to the usual file location!
EDIT: STOCK R8 has been uploaded. Again, keep in mind this release is not fully compatible with 7.1.1 it breaks NFC, until we get an updated source it will remain as is.
Happy Flashing!
Click to expand...
Click to collapse
Sorry, no download file as of 4:49PDT
amphi66 said:
Sorry, no download file as of 4:49PDT
Click to expand...
Click to collapse
Yeah i'm sorry, i had to take it down. Forgot to add the exfat module and that breaks SDCard support. Will work on this tomorrow morning and will reupload then. For now R7 is there
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Sebastian Fox said:
So this is a kernel for the stock firmware?? I have b19 unfortunately so I can't test, 1 thing I surely want you to add on the b19 version if you make one, aside from all these cool features is f2fs support please make it happen.
Click to expand...
Click to collapse
This works for the B19, only issue is that it breaks NFC. Other than that it works great
jimbo77 said:
This works for the B19, only issue is that it breaks NFC. Other than that it works great
Click to expand...
Click to collapse
I'll give it a try as well as freeza kernel, let's see about f2fs
Sebastian Fox said:
I'll give it a try as well as freeza kernel, let's see about f2fs
Click to expand...
Click to collapse
F2fs is not yet included. I'll see about it this weekend or next week
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Dang it >_> then freeza is my only solution for now
In case if you're interested about why I'm asking for f2fs, I am doing so to dualboot my stock b19 using @sbr method , unfortunately stock is ext4 and secondary can't be f2fs because it takes part in data, both either have to be f2fs or ext4
it's a bit complicated >_>
jimbo77 said:
F2fs is not yet included. I'll see about it this weekend or next week
Click to expand...
Click to collapse
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
osmosizzz said:
Why is f2fs so important to people. Back in the day, yes, it was an improvement in speed. Now, with today's storage speeds, it's performance is negligible yet people still demand for it. Doesn't it just complaints things now?
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Exactly what I was thinking too.
Feeling the same. It won't hurt to have support tough. I'll try to add it but I'm afraid it could break the anykernel aprox ah since the support needs to be added Ramdisk wise and for that I'll need to move away from the current kernel approach.
I'll take a look at the lazy flasher scripts from jcadduono to check if I can patch whatever Ramdisk user has
Finished the R8 build... It was a PITA to fix find the fix for SDCARD issue (it was kinda silly what was breaking it lol). Also updated WLAN driver to CAF LA.UM.5.5.r1-03800-8x96.0 version published yesterday and fixed the damn NFC in 7.1.1 builds (this most likely break NFC in 7.0 builds). I'm sorry if you are still in 7.0 and need NFC, move on! ..
I'll push the update once android file host is out of maintenance (around 30 mins from now).
As to F2FS i have enabled the driver in the kernel and stock ramdisk supports data as F2FS so i'm assuming it should work. Although i don't use so if it doesn't i won't fix it
EDIT: LINK IS UP!
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Borias said:
I'm not sure if I'm just blind, but I cannot find the link anywhere
EDIT: The file is there, found it in AFH over LOS version's thread. It's here: link removed
EDIT 2: Ok apparently it's in OP and I am blind...
Click to expand...
Click to collapse
LOL. That's what I was gonna say haha I'm glad you find it
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
pookachee said:
sorry if this is the wrong place to ask but, where can i find the stock kernel that comes with the phone?
Click to expand...
Click to collapse
Download the bootstack of the firmware you have and flash it.
https://forum.xda-developers.com/ax...de-updates-to-stock-files-via-t3469484/page53
So does the stock version suffer from video playback issue like freeza's kernal?

[EOL] [OP6] [OOS 9.0.2/OB6] [4.9.136] [CLANG 7.0] Flash Kernel 2.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"
}
Introduction
NOTE: This kernel is currently not being updated. I recommend using Franco Kernel instead.
Hello everyone, this is my personal kernel for the OnePlus 6. While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
Stable kernel rules work best (only add small things when possible).
Security and stability are paramount. Vulnerabilities are patched as soon as they are disclosed.
Features will be added only as needed (I have a list of things in the FAQ I will NOT add, even if requested).
Hopefully you enjoy
Important thread information!
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Keep things civil, I do NOT tolerate flaming of any kind.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with OxygenOS 9.0.2/Open Beta 6
Up to date with the latest stable Linux version (4.9.136)
Up to date with the latest Qualcomm changes (LA.UM.7.3.r1-05900-sdm845.0)
Power efficient workqueues enabled by default
Westwood as the default congestion algorithm
Latest WireGuard snapshot (0.0.20181018)
Sultanxda's boost driver (smooth experience while still staying sane on battery)
The following user facing features:
KCAL color control
Minimum backlight control
Sound control
Wake gestures (thanks to @flar2)
Vibration control
Built with a self compiled Clang 7.0 toolchain with a local initialization sanitizer
Attempts to hide bootloader unlock from SafetyNet (can still fail through other means)
Available to flash with AnyKernel2 (thanks to @osm0sis) [zip will automatically detect when Magisk is installed and patch the kernel so reflashing Magisk becomes unnecessary]
Downloads
Primary: https://github.com/nathanchance/op6/releases
Installation
NOTE: These sets of steps should work for both initial installations and upgrades. All sane kernels on this device are just replacing the kernel image and maybe adding some cmdline parameters, which this kernel won't care about. If there are ANY issues after flashing this kernel over another, be sure to flash the stock boot image for your ROM, TWRP + Magisk if you want them, then the kernel before reporting any issues.
Through TWRP:
See their instructions for further information, you can install the kernel with TWRP temporarily booted or permanently installed.
Boot into TWRP.
Flash the zip (flashing Magisk is not necessary if you already have it installed).
Reboot and enjoy!
Through FK Kernel Manager (requires root):
Download the zip (and optionally, the md5) from my server
Tap on "Manual flasher"
Navigate to Download
Tap on the zip, select Auto-flash, and choose one of the options.
Reboot and enjoy!
Changelog
Latest release post!
Commits
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add the following:
Overclocking or underclocking of CPU or GPU
Undervolting
Any governors other than schedutil
Any schedulers other than cfq
Anything that compromises performance
1.3 Q: How do I control the kernel?
1.3 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience.
To control the user visible features of the kernel listed above, I recommend using either @franciscofranco's FK Kernel Manager (which has Flash Kernel support for downloading and automatically flashing the latest kernel zip along with some nice, user friendly ways for tuning the kernel) or @flar2's EX Kernel Manager.
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
OnePlus for the device through their developer program
The various other developers for their patches (specifically @zx2c4 for WireGuard)
@osm0sis for AnyKernel2
@franciscofranco for adding Flash Kernel support to FK Kernel Manager
@phantom146 for the thread banner
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
8.1 (OxygenOS 5.1.5+): [url]https://github.com/nathanchance/op6/tree/8.1[/URL]
9 (OxygenOS OB1+): [url]https://github.com/nathanchance/op6/tree/9.0[/URL]
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.
Reserved
Good to have you here! Been a Fan on the 5T!
Yay, favorite kernel!! Thank you Nathan!
Mine!
nathanchance said:
Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
Click to expand...
Click to collapse
Woot ?
Oh yes! U are here! Missed you since I sold my pixel 2 xl
mgear356 said:
Oh yes! U are here! Missed you since I sold my pixel 2 xl
Click to expand...
Click to collapse
Sold mines too, but the pixel 3 looks beautiful. They keep trying to take my money lol
Great to see you. Welcome on board Nathan
Sent from my ONEPLUS A6003 using Tapatalk
Great to see you here!
can it be flashed on 5.1.6?
Awesome to see your kernel here buddy!!!
Sent from my OnePlus6 using XDA Labs
tbalden said:
Great to see you. Welcome on board Nathan
Click to expand...
Click to collapse
Glad to be here, I'm glad you got up and running
Muntasir Mahmud Saif said:
can it be flashed on 5.1.6?
Click to expand...
Click to collapse
Well... The title says 5.1.6 and the OP says it's up to date with 5.1.6 so... Yes, it can be flashed on 5.1.6 lol.
Sent from my Pixel 2 XL using XDA Labs
Thanks, runs nicely on my op6
The Best kernel is here!
Enviado desde mi ONEPLUS A6003 mediante Tapatalk
nathanchance said:
Glad to be here, I'm glad you got up and running
Well... The title says 5.1.6 and the OP says it's up to date with 5.1.6 so... Yes, it can be flashed on 5.1.6 lol.
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
I'm extremely sorry bro..i didn't see that.. extremely sorry to bother you..
It is a pleasure to see you here too!
nathanchance said:
Glad to be here, I'm glad you got up and running
Well... The title says 5.1.6 and the OP says it's up to date with 5.1.6 so... Yes, it can be flashed on 5.1.6 lol.
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
but..... are you absolutely sure?
:silly:
@nathanchance Your signature needs to be updated to include OnePlus 6 alongside all the others
Edit:
Word.

[KERNEL] [blu_spark r36 Red Magic] [8.1 ROMs]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel features:
Build with custom toolchain blu_gcc-8.2.0 (cortex-a73.cortex-a53 targeted, build with latest Crosstool-NG from GCC-8.2.0 snapshot)
Full -O2 build with device and target flags enhanced, linaro build improvements, etc
Less is more: stockish builds based on ztemt/NX609J_O_kernel
Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel2 (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes
Several CPU Governors (blu_active modded own governor by default - fastlane mode available!)
No OC, use 100HZ base timer frequency
msm_performance input boost toggle on/off (enabled by default), tweaked cpu_boost driver (Dynamic stune available)
Enhanced TCP methods (westwood is default), Network and Wifi tweaks and updated drivers
Several I/O control tweaks, added schedulers FIOPS and ZEN v2 is default, tweaked and upstreamed filesystems (F2FS, ExFAT, NTFS, CIFS & NFS)
Removed verify and doesn't force encryption, patched SafetyNet flags to pass CTS
Stock thermal driver by default (custom tunables available for ROMs with no thermal daemon)
Disabled hotplug, also on low battery levels (CTL and BCL)
Optimized crypto routines
Swap and adaptive LMK off by default
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel) [WIP]
KGSL fixes and reworked GPU driver
KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
USB Fast Charge (USB mode up to 900mA with MTP on)
Battery/Notification LED control [WIP]
FS fsync toggle on/off
Wakelock blockers available
zx2c4's wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
init.d support (put your scripts in /system/su.d or /su.su.d [systemless SuperSU], /magisk/.core/post-fs-data.d [Magisk])
Compatible with Kernel Adiutor and others
DOWNLOAD KERNEL ZIP (No mirrors please)​
Warning: If you come from other kernel or have any issues, you should dirty flash your ROM before flashing blu_spark zip to avoid problems.
Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark.
If you are already rooted or upgrading between blu_spark versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
About bugs and troubleshoots: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with modules, etc.
Save the SOT and battery stats/screenshots for general threads, here we deal with development, not personal tastes and results.
Also don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" , no OT about OTAs, apps, ROM bugs, Recovery/TWRP troubleshoots and other userspace stuff. There's threads for it, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Red Magic development unit donated by Nubia. Big shouts to them
Special thanks to Adam K. for being such a supportive person.
XDA:DevDB Information
blu_spark kernel for nubia redmagic, Kernel for the ZTE nubia Red Magic
Contributors
eng.stk
Source Code: https://github.com/engstk/redmagic
Kernel Special Features: Powered by sparky
Version Information
Status: Stable
Current Stable Version: r36
Stable Release Date: 2018-09-04
Current Beta Version: r25
Beta Release Date: 2018-07-06
Created 2018-07-06
Last Updated 2019-11-29
blu_spark r25
First blu_spark kernel build is up, go get here
blu_spark extras v8.82
All right crew!
Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-8.1 branch (including more recent upstream than official TWRP) and some specific device fixes.
Fully synced with TWRP 3.2.2+, name changing to reflect base 8.version. decryption, backup & restore, MTP, USB OTG and other basic stuff are working.
Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.
twrp-3.2.2-x_blu_spark_v8.82_redmagic.img
build: TWRP 3.2.2-x | blu_spark v8.82
minuitwrp: Respect TARGET_RECOVERY_PIXEL_FORMAT config in screenshot.
minuitwrp: Add support for QCOM haptics vibrator.
android: release 8.1.0_r32
General cleanup
Device specific changes here
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Wakelock blocker info and example script
I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).
If your cat get's on fire you're on your own ;p
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
blu_spark r28
All right crew!
New build is up :highfive:
Dynamic stune updates, wireguard updates and custom ROM support (use the custom zip, tested on OMNI)
Also checkout latest recommended blu_spark extras with blu_twrp v8.82
blu_spark_r28-redmagic_1903ca3.zip
blu_spark_r28-redmagic-custom_f9dba90.zip
sched/boost: Update functions for newer Dynamic Schedtune Boost changes
cpu-boost: Update functions for newer Dynamic Schedtune Boost changes
sched/tune: Rename dynamic_boost parameter to sched_boost, Switch Dynamic Schedtune Boost to a slot-based tracking system
sched/stune: Rename stune_boost() to do_stune_sched_boost()
wireguard updates (v0.0.20180708)
Anykernel2 updates
synaptics: split wakeup gesture types, cleanup and unify gesture codes with other devices (custom only)
defconfig: disable CONFIG_NUBIA_LCD_BACKLIGHT_CURVE (custom only)
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including stock based ones).
Meaning, if using anything besides stock don't bother posting about it.
I am only interested on debugging stuff in stock international (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
Man I'd like to try this. Still don't fully understand the process. I did a little messing around with my gs7 edge. Although it was pretty simple. Literally just flashed a custom stock rom with Odin and had SuperSU built it with rom controls and a simple tar img to flash to root and rom control easy unroot button. Was first time I was had a phone I could do something with. New territory for me. Will have to tread lightly lol.
Sent from my nubia Red Magic using XDA Labs
anyone of you have the stock android rom from this phone?
javier211086 said:
anyone of you have the stock android rom from this phone?
Click to expand...
Click to collapse
I have International Stock Rom with Play Store
blu_spark r31
All right crew!
New build is up :highfive:
Also checkout latest recommended blu_spark extras with blu_twrp v8.82
blu_spark_r31-redmagic_a9af12f.zip
blu_spark_r31-redmagic-custom_aa4e2d6.zip
proc: cmdline: remove additional nubia flags (fixes Magisk root factory reset on the Red Magic)
wireguard updates (v0.0.20180718)
Anykernel2 updates
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including stock based ones).
Meaning, if using anything besides stock don't bother posting about it.
I am only interested on debugging stuff in stock international (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
blu_spark extras v8.83
All right crew!
Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-8.1 branch (including more recent upstream than official TWRP) and some specific device fixes.
Fully synced with TWRP 3.2.3+, name changing to reflect base 8.version. decryption, backup & restore, MTP, USB OTG and other basic stuff are working.
Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.
twrp-3.2.3-x_blu_spark_v8.83_redmagic.img
build: TWRP 3.2.3-x | blu_spark v8.83
enable md5sum digest verification
Fix installing OTAs without decrypting
Fix ld.config.txt errors on Android 8.1 system root devices
language: italian: Fix SELinux support label
android: release 8.1.0_r40
Device specific changes here
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Wakelock blocker info and example script
I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).
If your cat get's on fire you're on your own ;p
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
blu_spark r34
All right crew!
New build is up :highfive:
Also checkout latest recommended blu_spark extras with blu_twrp v8.83
blu_spark_r34-redmagic_a137be0.zip
blu_spark_r34-redmagic-custom_56e7374.zip
drivers: misc: implement usb fast charge mode
wireguard updates (v0.0.20180809)
Anykernel2 updates
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including stock based ones).
Meaning, if using anything besides stock don't bother posting about it.
I am only interested on debugging stuff in stock international (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
blu_spark extras v9.85
All right crew!
Here's an updated TWRP with all the blu_spark goodies inside and fully synced with TWRP Android-9.0 branch (including more recent upstream than official TWRP) and some specific device fixes.
Fully synced with TWRP 3.2.3+, name changing to reflect base 9.version, full compatible with upcoming Pie & current Oreo stuff.
Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.
twrp-3.2.3-x_blu_spark_v9.85_redmagic.img
build: TWRP 3.2.3-x | blu_spark v9.85
Fix header file for property_get
Decrypt FBE on 9.0 (backwards compatible)
Merge AOSP android-9.0.0_r3
Device specific changes here
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Wakelock blocker info and example script
I'm just sharing my personal mods since people asked, meaning no support will be given (don't bother post about it).
If your cat get's on fire you're on your own ;p
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
blu_spark r36
All right crew!
New build is up :highfive:
Also checkout latest recommended blu_spark extras with blu_twrp v9.85
blu_spark_r36-redmagic_c5448b3.zip
blu_spark_r36-redmagic-custom_cf0b45f.zip
build: use new and improved blu_gcc-8.2.0
makefile: supress some gcc-8 warnings
Makefile: Set KBUILD_OUTPUT to out by default
wireguard updates (v0.0.20180904)
Click to expand...
Click to collapse
Keep it real, keep it true, keep it blu :highfive:
Keep in mind: I will give no active support for custom ROMs (including stock based ones).
Meaning, if using anything besides stock don't bother posting about it.
I am only interested on debugging stuff in stock international (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
eng.stk said:
All right crew!
New build is up :highfive:
Also checkout latest recommended blu_spark extras with blu_twrp v9.85
blu_spark_r36-redmagic_c5448b3.zip
blu_spark_r36-redmagic-custom_cf0b45f.zip
Keep it real, keep it true, keep it blu :highfive:
Click to expand...
Click to collapse
Thanks for your work. Can I use blu_spark_r36-redmagic_c5448b3.zip with stock rom NX609J-global-v109?
tlgod said:
Thanks for your work. Can I use blu_spark_r36-redmagic_c5448b3.zip with stock rom NX609J-global-v109?
Click to expand...
Click to collapse
Sure, should work fine
Sent from my blu_spark'd OP6
Hi eng.stk
Firstly thanks for your great work, i'm using ur TWRP Blue Spark since release., i'm sure its the best recovery for nubia.
I'm using ominirom, and loving it.
I just wanna know if i can install your kernel on omini rom.
Have someone tested?
unegro said:
Hi eng.stk
Firstly thanks for your great work, i'm using ur TWRP Blue Spark since release., i'm sure its the best recovery for nubia.
I'm using ominirom, and loving it.
I just wanna know if i can install your kernel on omini rom.
Have someone tested?
Click to expand...
Click to collapse
Yes tou can, custom build will work on omni 8.1
Sent from my blu_spark'd OP6
eng.stk said:
Yes tou can, custom build will work on omni 8.1
Sent from my blu_spark'd OP6
Click to expand...
Click to collapse
Flashed blu_spark_r36-redmagic-custom_cf0b45f.zip on ominirom....
Testing it now, thanks.
Hello @eng.stk
We have a common friend that shipped me his nubia. Martinusbe aka the Grumpy Clown it is lol.
I'd like to try to continue his work on red magic with GZR roms but i have a weird issue on it 1st of all...the damn bootloader keeps relocking itself on his own, even after flashing twrp and omni on it.
I know they shipped as tarball the kernel but well...i'll try as well.
Any way to contact you in pm on telegram hangouts or something please? ...to avoid an off topic here.
Thx.
Regards.
Sent from my Poco F1 using Tapatalk
Alx31 said:
Hello @eng.stk
We have a common friend that shipped me his nubia. Martinusbe aka the Grumpy Clown it is lol.
I'd like to try to continue his work on red magic with GZR roms but i have a weird issue on it 1st of all...the damn bootloader keeps relocking itself on his own, even after flashing twrp and omni on it.
I know they shipped as tarball the kernel but well...i'll try as well.
Any way to contact you in pm on telegram hangouts or something please? ...to avoid an off topic here.
Thx.
Regards.
Sent from my Poco F1 using Tapatalk
Click to expand...
Click to collapse
Hit me on tapatalk chat mate, no prob.
Sent from my blu_spark'd Oneplus 6
@eng.stk I know you stopped working on this device long ago since Max stopped making OMNi i guess! i have tried to take someone on-board for development. I was even ready for donating like 5 from my side. NUBIA ditched the international users on Oreo update. even the security patch is october 2018. They gave a update in china for pie. But there are deaf and silent on the pie international updates. The GSI are riddled with sounds issues are there no one who picks this device. Phh is busy man. Even with logs i tried to help him. But he can't. I hope this device is still lying somewhere with you. Can you share and point someone who can start development for this device like lineageOs or something like that. Because Alex's phone doesn't work somehow with anything he tried. So there are no updates from his side. Its not like i have tried to make ROM. I have burnt my laptop motherboard while trying to make ROM. Max said this device killed his two sim cards so he is not willing to work onto this device. I had asked a lot of people in my own country to work onto it. But no one came forward as i said when i tried with money also. Paypal don't work with my bank account. That's the irony and i don't know anyone who can do this.

Melina Reborn (Melina returns for AOSP Support)

Melina Reborn
Melina returns for AOSP Support​
If you loved Melina Kernel, you will be happy to hear that Melina Reborn has been developed with new V30A sources (as of rel_r5, Melina is now using more stable sources), with all of the features and performance you loved from Melina Kernel, but now with AOSP support! I did have to disable F2FS, if it is requested, I will try to re-implement it, but AFAIK it was never used on our devices anyway. Aside from F2FS everything else is available. Or should be
Tested on HavocOS-v3.2 on a US997 with BL 21E. (Note: My SD Card slot is broken. I cannot test any SDCard related issues. No issues are foreseen, but if any SDCard related issues happen to arise, please report them in as much detail as possible (dmesg, logcat, etc), as I cannot test SDCard functionality myself.)
Note: There have been reports of missing functionality under Pixel Experience Pie. This may occur on all Pie ROMs, but this is yet unknown. Pie was not tested, so consider this an Android 10 Only kernel for now.
"bootloop" note: Your G6 may reboot itself once after flashing my kernel, before reaching the OS boot animation. Do not panic, this is normal. I believe it is part of the Magisk recovery. If the bootloop occurs more than 1 time, even if it makes it to the OS, please report it here.
Primary Features:
Can now charge while powered off (offline charging) (rel_r5)
clang compiled and optimized kernel with extended armv8-a attributes (rel_r5) (for real this time!)
WiFi Hotspot working with properly configured ROM (rel_r5) (including 5ghz)
USB disconnect issues should be fixed (rel_r5)
Charging issues should be fixed (rel_r5)
Enabled FM Radio (requires supported ROM which currently there is none because it is still in testing, but looking promising)
Switched to more stable kernel sources (rel_r5) (see github readme)
Optimized and DEBUG editions (rel_r4)
Even more debug routines reduced (rel_r4)
Updated CPU optimizations one more time (tune for Kyro) (rel_r4) (this actually failed silently that is why rel_r4 was terrible)
More adjustments to reduce (and hopefully remove) the chance of random reboots (rel_r4)
Updated to AnyKernel 3, allows retaining Magisk when flashing kernel (rel_r3)
Module-less Kernel (rel_r3)
Removed old exFAT driver in favor of new sdfat driver (rel_r3)
Significantly reduce debugging messages/routines for performance enhancements (rel_r2)
Cleaner Kernel code, fixed all compiler warnings (with ubertc 6.x) (rel_r2)
Optimize compiler flags with big.LITTLE optimizations (rel_r2)
Updated AnyKernel Installer to place modules where they should be (rel_r2)
Fixed crashes due to missing 32-bit support (rel_r1.1)
Added maple iosched, enabled tcp westwood congestion sched
New kernel defaults: iosched (now: maple, was: cfq), tcp (now: westwood, was: bic) (Note: These default values may be overridden by the ROM. Be sure to use something like kernel adiutor to verify and set the values as desired.)
Binary releases built with ubertc aarch64-linux-android-6.x
DriveDroid CD-ROM Emulation Support
zzmove and elementalx governors
Various other improvements
Removes /sbin/rctd and related service entry in init.lge.rc if detected (for Stock ROMs, untested)
Remove forceencrypt (for Stock ROMs, untested)
Open source compatible replacement for Tuxera exFAT driver (removed in rel_r3, superseded by sdfat)
The following features from the original Melina Kernel are no longer available due to issues:
Flash Friendly FS (F2FS) Support
Downloads
Note: The difference between optimized and DEBUG is that the optimized version of Melina Kernel has extra debugging removed, which may increase battery life and performance slightly, but at the cost of making it harder to fix problems. The DEBUG kernel is more like most other kernels that are based on LGE official code, where LGE left on a lot of debug routines that aren't needed once the ROM is functional. However, those wanting to help fix issues, or ROM developers working on their ROM may want this extra information. This is why Melina Reborn now offers both kernels as an option.
rel_r5
US997: Optimized - DEBUG
H870 Optimized - DEBUG
H872 Optimized - DEBUG
rel_r4
US997: Optimized - DEBUG
H870 Optimized - DEBUG
H872 Optimized - DEBUG
rel_r3
US997
H870
H872
rel_r2
US997
H870
H872
rel_r1.1
US997
H870
H872
Known Issues
Some users have been reporting "random" reboots with rel_r1.1 and rel_r2. It seems linked to spi8 (fingerprint) and spi12 (touchscreen). An attempt to address this was added to rel_r3.
Attribution
For a full list of credits, please see the Github sources below, and browse the commit log. I try to keep commits as authentic as possible (except my own which I rebase and amend alot lol).
@TheWolfSVK for his work on the V30A sources, as well as for his incredible Havoc ROM
@osm0sis for AnyKernel3
Everyone who used and helped test the original Melina Kernel
When reporting any issues please be as detailed as possible. At a minimum, include your model and bootloader version. Any logs would be appreciated but I know sometimes it's not possible to get them (check for /sys/fs/pstore/console-ramoops). Also try to explain with as much detail as possible what you were doing when the problem happened (What app was active (running and on screen)? Which apps were in the background? Are you rooted? etc)
Github Sources
ROM Developers: You may include this kernel in your ROM so long as you link back to this thread in your release thread. If you modify any of the kernel or config, please also change the name from melinareborn to melinamodified in arch/arm64/configs/melina_common_android_intree_subconfig. This kernel can now be used in-tree while building Android, without clang, although ubertc may be required, untested (I built with ubertc in the tree, see here how to add Melina to a lineage-based G6 device tree.)
clang in-tree building now works and the bluetooth issue was found and addressed (don't ask, it was silly)
{
"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"
}
Guess who's back! Guess who's back! Haha welcome back! I know you thought about the song! Anyways to the point. Does this support stock as well? Since it uses 30A sources does that mean it can't be used on stock 8.0? It's essentially a pie kennel right? I loved custom ROMs but on TMobile using a phone as phone is hard without volte, vowifi. Still would love you to updateTWRP. It would also be nice if be you did it for v20 too. Since it's been basically the same phone. Although everyone with g5 would get jealous then. Haha! :silly::good::highfive:
Vortell said:
Guess who's back! Guess who's back! Haha welcome back! I know you thought about the song! Anyways to the point. Does this support stock as well? Since it uses 30A sources does that mean it can't be used on stock 8.0? It's essentially a pie kennel right? I loved custom ROMs but on TMobile using a phone as phone is hard without volte, vowifi.:
Click to expand...
Click to collapse
Stock is untested, I could not stand 21E long enough. Though Melina rel_o2 worked well for the 10 minutes I tried to deal with Stock
Have you tried Havoks? I don't have those services to test. If you can snag some logcats on Havoks' Android 10 of you trying to use the services, I will look at it but no promises)
Vortell said:
Still would love you to updateTWRP.
Click to expand...
Click to collapse
TWRP is in planning, since my SD is broken I can't test backups until my USB OTG arrive, should be tomorrow, but I have plans this weekend, and still have to try to fix the issue, so unknown ETA for TWRP.
Vortell said:
It would also be nice if be you did it for v20 too. Since it's been basically the same phone. Although everyone with g5 would get jealous then. Haha! :silly::good::highfive:
Click to expand...
Click to collapse
Depends on how technically it is the same phone. If it has the same hardware, perhaps a device config could be made.
zefie said:
Depends on how technically it is the same phone. If it has the same hardware, perhaps a device config could be made.
Click to expand...
Click to collapse
Both are msm8996 hardware and there is souces for the rest in older trwp page I think. It was just a wish I didn't think you would actually do it.
Vortell said:
Both are msm8996 hardware and there is souces for the rest in older trwp page I think. It was just a wish I didn't think you would actually do it.
Click to expand...
Click to collapse
I mean, if EVERYTHING was the same (except a few unique traits, kinda like the differences between H870, H872 and US997) then it wouldn't really be a problem. But if it even has a different camera, it becomes complicated.
zefie said:
I mean, if EVERYTHING was the same (except a few unique traits, kinda like the differences between H870, H872 and US997) then it wouldn't really be a problem. But if it even has a different camera, it becomes complicated.
Click to expand...
Click to collapse
I see I though blobs were easy, but I have yet to build for Android. If you want to take a look. After this post I promise no more off topic posts.
Here's a link to a kernel kind of like yours for v20:
https://forum.xda-developers.com/v20/development/kernel-gamma-kernel-t394011
Here's modified for stock kernel:
https://forum.xda-developers.com/v20/development/h918-h910-us996-ucl-mk2000-kernel-t3708330
Here's Los 17.1 for it from x86cpu who is same person who builds los for LG G6:
https://forum.xda-developers.com/v20/development/rom-unofficial-lineageos-17-0-lg-v20-t4010893
Here's TWRP for it:
https://forum.xda-developers.com/v20/development/recovery-twrp-3-2-1-0-t3720239
One last thing do you want me to test this on stock 8.0 LG G6 us997? I swear if havoc had volte I would never use anything else. My favorite ROMs are havoc , aicp and crdroid. I had Samsung S5 and it had dozens of ROMs to try. My note 4 had probably a dozen. LG v20 has probably 10, but only 3 current ones.
Vortell said:
I see I though blobs were easy, but I have yet to build for Android. If you want to take a look. After this post I promise no more off topic posts.
Here's a link to a kernel kind of like yours for v20:
https://forum.xda-developers.com/v20/development/kernel-gamma-kernel-t394011
Here's modified for stock kernel:
https://forum.xda-developers.com/v20/development/h918-h910-us996-ucl-mk2000-kernel-t3708330
Here's Los 17.1 for it from x86cpu who is same person who builds los for LG G6:
https://forum.xda-developers.com/v20/development/rom-unofficial-lineageos-17-0-lg-v20-t4010893
Here's TWRP for it:
https://forum.xda-developers.com/v20/development/recovery-twrp-3-2-1-0-t3720239
One last thing do you want me to test this on stock 8.0 LG G6 us997? I swear if havoc had volte I would never use anything else. My favorite ROMs are havoc , aicp and crdroid. I had Samsung S5 and it had dozens of ROMs to try. My note 4 had probably a dozen. LG v20 has probably 10, but only 3 current ones.
Click to expand...
Click to collapse
I'll look into the other device when I get a chance, but I'll be honest its pretty low priority. You can try the kernel on stock. I did score 3 months of Mint Mobile free during their (special american footbal game that has a huge trademark liability on its name) special and apparently they support VoLTE. No promises but I will try to look into it, as I am also working with the developer of Havoc.
Also be on the lookout for rel_r2, r1/r1.1 was kinda rushed, but I am working to further optimize r2, beyond even what the original Melina Kernel had.
zefie said:
I'll look into the other device when I get a chance, but I'll be honest its pretty low priority.
Click to expand...
Click to collapse
Either way always love a extra developer on any phone i own. If you are saying you hope to get volte working on custom ROMs for the g6 that's more impressive and should be a higher priority. I'm almost giddy just thinking about being able to use custom ROM with volte. It would open it up for at least g5 and v20. Assuming you open source it.
Also u will give it a try on stock and let you know.
Hey guys,
On stock pie V30B bluetooth isn't working on my h870 with all modified kernels I tried. Any suggestions? Thank you.
I'm glad that you're back zefie ?
Hi there . it doesn't work for me with the V30B Stock rum either. is there a modified kernel for stock pie?
Rothrex93 said:
Hi there . it doesn't work for me with the V30B Stock rum either. is there a modified kernel for stock pie?
Click to expand...
Click to collapse
It isn't for STOCK Rom this kernel is for AOSP ROMS. Stock kernel has a lot proprietary stuff.
SkylineDiT said:
It isn't for STOCK Rom this kernel is for AOSP ROMS. Stock kernel has a lot proprietary stuff.
Click to expand...
Click to collapse
Sorry you misunderstood. my Stock V30B rom to want a modified kernel. Has anyone done this already?
Rothrex93 said:
Sorry you misunderstood. my Stock V30B rom to want a modified kernel. Has anyone done this already?
Click to expand...
Click to collapse
Sorry, this is for AOSP and there is no plans for a Melina for stock Pie. You can thank LGE for abandoning the US997 Unlocked variant for the fact that I cannot make a Pie Stock kernel
Testing Melina Reborn kernel rel2 on H870 bootloader 20J ROM: PixelExpierence 2019-08-23-2221 (PIE). BT works fine battery is good performace great. Not working: camera, flashlight, NFC, and fastcharging. Will try to test rel3
I am using rl3 with havocOS 3.2 without issues.
I noticed that my device isn't heating as much as it used to.
Battery life is better.
H870.
I agree the melina kernel installation in TWRP preserved all magisk, viper settings in Havoc 3.2 07.02. All works from NFC to kernel adiutor settings e.g. cpu governor zzmove (very quick and more energy safe than performance) - no more powersave which mantained my phone very cool even during games, but was very slow in starting apps. Now my phone is slightly warm all the time, but very quick and responsive. Thank you very much zefie!
Hello, Sir can i install it on H870 with Havoc 2.9 ( Pie) with magisk installed ?
kurogami555 said:
Hello, Sir can i install it on H870 with Havoc 2.9 ( Pie) with magisk installed ?
Click to expand...
Click to collapse
There have been reports of it not working with PE Pie, not sure about Havoc Pie. The kernel may only work on Android 10, not sure yet.. If you do try it, be sure it have a backup of your current kernel.
Vortell said:
Either way always love a extra developer on any phone i own. If you are saying you hope to get volte working on custom ROMs for the g6 that's more impressive and should be a higher priority. I'm almost giddy just thinking about being able to use custom ROM with volte. It would open it up for at least g5 and v20. Assuming you open source it.
Also u will give it a try on stock and let you know.
Click to expand...
Click to collapse
Three things
1) What is the device model code (us996?) for a kernel for you to test
2) it won't work on stock and probably only Android 10 ROMs, if at all lol
3) still no eta

[KERNEL] [blu_spark r218 OP8/Pro/T] [A13 Custom]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel features:
Build with custom upstream LLVM 14.x (Clang 14.0.6 + LLD linker + IAS)
Full -O2 build with device and target flags enhanced, build improvements and compiler fixes, etc
Less is more: stockish OP8 builds based on OnePlusOSS/android_kernel_oneplus_sm8250 for max stability
Systemless installer (doesn't touch system partition, OTA friendly), AnyKernel3 backend (compatible with autoflash apps)
Removed some debug and logging options
ARM enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes for important subsystems
Modded schedutil governor merged from latest CAF sm8250 patchset
No OC, use 250HZ base timer frequency
msm_performance touchboost toggle on/off (enabled by default), tweaked cpu_boost driver
Enhanced TCP methods (westwood is default, BBR available), Network tweaks and updated drivers
Several I/O control tweaks, added schedulers ZEN v2 is default, advanced filesystems enabled (F2FS, ExFAT, NTFS, CIFS & NFS)
ZRAM Swap (LZ4 default) and with file disabled, LZO-RLE and ZSTD are available
Vibrator Strength tunable and Gesture Haptic Feedback control (touchpanel and FPR)
KGSL fixes and general improvements for GPU driver
adrenoboost ready (disabled by default)
Backlight min brightness and backlight scale option
Gamepad support enabled (xbox, ps4, switch)
USB Fast Charge (USB mode up to 900mA with MTP on)
FS fsync toggle on/off
Wakelock blockers available
wireguard support
CDROM emulation on mass_storage (compatible with DriveDroid 0.10.36+)
Compatible with Kernel Adiutor, EXKM, FKM and others
DOWNLOAD KERNEL ZIP
FKM download configs: oos | custom
(No mirrors please)​
Setup and troubleshoot: To install just flash the zip on a stock setup with either TWRP or autoflash kernel app.
If you come from other kernel or have any issues, you should restore your stock boot.img or dirty flash your ROM before flashing blu_spark zip to avoid problems. Also uninstall or clean data of any kernel control app you're using.
If you are upgrading between blu_spark versions, just flash the kernel zip.
About bugs and reports: don't bother to post if a log isn't ready or without steps so the behavior can be replicated. I only active support stock OOS ROM with NO mods whatsoever (apart from root). That includes NO support if using xposed, Magisk with added modules, etc.
If you're using custom ROMs (including stock based ones) and OOS Open Betas you're much on your own. I'm mostly interested on debugging stuff in stock and stable OOS.
Also try not to spam the thread with OT. There's threads for all kind of stuff, use them.
Going back to stock: This kernel installer doesn't change your filesystem. You can backup your boot.img with TWRP or kernel app before flashing blu_spark if you want to go back to full stock or just dirty flash your full ROM.
Source Code: https://github.com/engstk/op8
Don't forget to hit thanks, it's free
OnePlus 8 Pro development unit donated by OnePlus. Big shouts to them
Very proud of being on the OnePlus Developer Program, special thanks to dev relations team.
blu_spark r12 release
All right crew!
It's that time again, 1st build is up :highfive:
This kernel source is unified for OP8/Pro, don't know how it will run in the regular model (can only test in the Pro). Let me know.
At the moment we're maybe at 80% of the usual goodies, get a nice and stable base and go from there.
I'm building with clang currently got some hiccups with gcc. I'll probably revisit this in the future but it will need more TLC.
You can now use FKM download kernel feature, just import the links bellow in the app :highfive:
blu_spark_r12release
FKM download configs: oos | custom
Build with latest Google Clang version 11.0.2 (Android 11) - blu_gcc may come in the future, needs som TLC
Synchronize codes for OnePlus 8 Oxygen OS 10.5.9.IN21AA and OnePlus 8 Pro Oxygen OS 10.5.10.IN11AA
Build errors and warnings fixes
Compiling improving and target optimizations
Goodies: IO and filesystem stuff, priorities and UX, touchboost, zram, wakelock blocker, haptic and gestures level, adrenoboost, etc
wireguard updates (v1.0.20200611)
init adjust for sdm8250
AnyKernel3 latest updates
For root, stable Magisk 20.4 or newer is mandatory
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free
ur kernel is great for daily use when I have 6t, it's fast, smoot, and stable. do u plan to build one for oneplus 8?
Great to see your blu-spark here! Kudos
Great job! Any list of the best settings to activate for your kernel in FKM? Can't manage to activate westwood TCP method, it gets stuck to reno, for example. Or any config file to have the best settings selected, maybe? Sorry, I'm not too familiar with FKM yet.
Hey there, welcome. Nice to see you here.
Just one question, why are so many features listed in the OP and many or most not in the sources on GitHub? Isn't this a copy paste error?
Sent from my Pixel 4 XL using Tapatalk
orochi9999 said:
ur kernel is great for daily use when I have 6t, it's fast, smoot, and stable. do u plan to build one for oneplus 8?
Click to expand...
Click to collapse
Has it is doesn't work? idk.
At the moment I'm focused on the bringup.
Surfeur-des-Reves said:
Great job! Any list of the best settings to activate for your kernel in FKM? Can't manage to activate westwood TCP method, it gets stuck to reno, for example. Or any config file to have the best settings selected, maybe? Sorry, I'm not too familiar with FKM yet.
Click to expand...
Click to collapse
I already inject settings I see importanton the background. TCP method is westwood by default, that reno situation is a bug from the app, franco is on it :good:
tbalden said:
Hey there, welcome. Nice to see you here.
Just one question, why are so many features listed in the OP and many or most not in the sources on GitHub? Isn't this a copy paste error?
Sent from my Pixel 4 XL using Tapatalk
Click to expand...
Click to collapse
Hey. WIP and will come soon after.
eng.stk said:
Hey. WIP and will come soon after.
Click to expand...
Click to collapse
great to see ya here mate... i just got my pro... will teat ince i feel like rooting lol
eng.stk said:
Has it is doesn't work? idk.
At the moment I'm focused on the bringup.
I already inject settings I see importanton the background. TCP method is westwood by default, that reno situation is a bug from the app, franco is on it :good:
Hey. WIP and will come soon after.
Click to expand...
Click to collapse
it's not working on regular 8
After installing this kernel I'm getting an option to boost GPU clock to 900 MHz. This also resulted in a much higher compute score. Is this normal? @eng.stk
On8 not working
Cool to see another old kernel dev from the nexus 5 days xD
orochi9999 said:
it's not working on regular 8
Click to expand...
Click to collapse
Smturbo said:
On8 not working
Click to expand...
Click to collapse
Hum too bad. Seems like there's driver differences between the models, we'll see what can be done ib the future.
For now I'll concentrate on the pro.
akshat207 said:
After installing this kernel I'm getting an option to boost GPU clock to 900 MHz. This also resulted in a much higher compute score. Is this normal? @eng.stk
Click to expand...
Click to collapse
Wait, what? Seem like that app is on acid lol
Sent from my blu_spark'd OnePlus
kevp75 said:
great to see ya here mate... i just got my pro... will teat ince i feel like rooting lol
Click to expand...
Click to collapse
hjjiang said:
Cool to see another old kernel dev from the nexus 5 days xD
Click to expand...
Click to collapse
Welcome guys, nice device choices [emoji16]
Sent from my blu_spark'd OnePlus
eng.stk said:
Wait, what? Seem like that app is on acid lol
Sent from my blu_spark'd OnePlus
Click to expand...
Click to collapse
Then how did I get 4351 OpenCL score on Geekbench lol?
akshat207 said:
Then how did I get 4351 OpenCL score on Geekbench lol?
Click to expand...
Click to collapse
You probably still have custom dtb from the kernel that have gpu oc, since this kernel doesn't replace the dtb and you switched kernels without keeping that in mind you ended up with mixed kernel images and dtbs.
acuicultor said:
You probably still have custom dtb from the kernel that have gpu oc since this kernel doesn't replace the dtb and you switched kernels without keeping that in mind you ended up with mixed kernel images and dtbs.
Click to expand...
Click to collapse
So, how is that much GPU OC possible? that's almost double the stock max frequency!
EDIT: You were right, it was from "Evira Kernel". Now my question is, is that much OC safe? That's insane.
Do note that my device didn't get hot when I was running the benchmark even at 900 MHz.
Smturbo said:
On8 not working
Click to expand...
Click to collapse
what was the problem for the regular OnePlus 8? bootloop and what region was ur phone
hjjiang said:
what was the problem for the regular OnePlus 8? bootloop and what region was ur phone
Click to expand...
Click to collapse
At the bootloader unlock screen, after a few seconds, the text turns green and has black lines through it, when it finishes booting, by the screen goes completely black. Vibration and sound still work though. Have to force power off and back to TWRP to restore stock boot.
blu_spark r18 release
All right crew!
New build is up :highfive:
This kernel is only tested for the Pro variant which I have, regular OP8 support may come in the future.
You can now use FKM download kernel feature, just import the links bellow in the app :highfive:
blu_spark_r18 release
FKM download configs: oos | custom wip
Full LLVM tools build (Clang + LLD), add a couple build fixes/improvements
drivers: misc: power: implement usb2 fast charge mode
power: smb5-lib: reset level on removal
drm-msm-dsi: add backlight min option
fs: exfat: version 2.2.0-3arter97
cpufreq: schedutil: make iowait boost optional
remove and disable some debug and logging
defconfig: enable overlay and disable dtb append
init adjustments
For root, stable Magisk 20.4 or newer is mandatory
Click to expand...
Click to collapse
Keep in mind: I will give no active support for custom ROMs (including OOS based ones).
I am only interested on debugging stuff in stock and stable OOS (with logs and reproducible steps to replicate the issue).
Don't spam this thread with LOS or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.
Also don't go spam and bug reporting on ROM threads if using this.
No mirrors please
If you like my work, donations are always welcome.
Don't forget to hit thanks and rate the thread nicely, it's free

Categories

Resources