yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 & 5T Cross Device Development] eng.stk:
blu_spark r102 unified (oreo)

All right crew!

New Oreo build is up :highfive:

Oreo builds are unified, also good to go on 5T Oreo stuff :good:

Because of latest TWRP and Oreo changes, you'll need to use TWRP 3.2+ or my unified TWRP 3.2.1-x blu_spark v8.69 (recommended).

Any other versions may not have full support for the kernel and the installer.

Also mind that for now on builds will touch system partition (Oreo stuff).

So, if you want to go back to stock, just backup boot and system beforehand or dirty flash you ROM zip.

If coming from other kernel always dirty flash your ROM (and root if that's the case) beforehand.

This is for Oreo only.

blu_spark_r102-oos-oreo_op5-op5t_ba379f5.zip

blu_spark_r102-custom_oreo_op5-op5t_6e0f23c.zip

Keep it real, keep it true, keep it blu :highfive:

Keep in mind: I will give no active support for custom ROMs (including OOS based ones).

Meaning, if using anything besides stock and stable OOS don't bother posting about it.

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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.

Custom build isn't compatible with EAS stuff.

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 ;)
[OnePlus 5 & 5T Cross Device Development] archraziel:
I don't know what you did, but airdroid and whatsapp web are working on your kernel now! Thanks!
[OnePlus 5 & 5T Cross Device Development] saiprasadgawde:
As always r102 is silky smooth and stable on 5.0.4 for me. No bugs encountered so far. Keep up the good work bro.
[OnePlus 5 & 5T Cross Device Development] eng.stk:
You probably missed:

https://xdaforums.com/showpost.php?p=75542415&postcount=1800

https://xdaforums.com/showpost.php?p=75570437&postcount=1822

We were trying to OnePlus releasing the proper full source, but we're still waiting...

After stumbling on the mentioned info and since I was not happy with the "if you have a flat tyre, don't use your car" approach, I tried something else instead.

I went ahead and tried to fix the kernel driver instead and not disabling ROM configs like some people were (and still are) doing.

Glad it worked ok and my contribution helped out :)

You're welcome, enjoy mate :highfive:
[OnePlus 5 & 5T Cross Device Development] Chaplan:
OOS Panel Modes on Custom ROMs paired with blu_spark custom kernel builds

Using this with LOS 15.1 Official, other custom ROMs should also benefit from it if they don't already have an exposed setting for the panel modes, AFAIK.

The deal here is simple, use a terminal app with root privileges, Terminal Shortcut app, ExKM user settings self created profile or a simple script (last 2 are both great to set it on boot) to echo 1 the sys path for the desired panel mode, echo 0 to turn it OFF and get back to original mode.

Example for sRGB (both ExKM and KA already have a builtin setting for sRGB):

Turn ON:

su
echo '1' > /sys/devices/virtual/graphics/fb0/SRGB

Turn OFF:

su
echo '0' > /sys/devices/virtual/graphics/fb0/SRGB

Now the interesting stuff, sys paths to:

Night Mode (my personal favourite, nice white point with non oversaturated colors)

sys/devices/virtual/graphics/fb0/night_mode

DCI-P3 (self-explanatory)

/sys/devices/virtual/graphics/fb0/DCI_P3

OnePlus Mode (quite similar to the original NTSC mode OnePlus uses by default but with a bit less color saturation)

/sys/devices/virtual/graphics/fb0/oneplus_mode

OnePlus mode might not work on ExKM user settings because of the content present on the file. echo command works fine though.

Simply run the echo command as given in the example above to set the preferred panel mode and that's it.

For the never settling people, it's possible to create QS Tiles to enable or disable any of the above panel modes as posted here, adapting it is as easy as it gets.

Hope it comes in handy. :)
[OnePlus 5 & 5T Cross Device Development] archraziel:
Now that I can fully use your kernel. What should I use to tune it? ExKM, AKT, Helix Engine? And there are any profiles to use?

Thank you!
[OnePlus 5 & 5T Cross Device Development] marf28101995:
Default settings are very good

If you need more power you can always turn on fast lane on gov settings with exkm or ka
[OnePlus 5 & 5T Cross Device Development] archraziel:
I need more balanced settings slightly more battery. This phone have more than enough power for my daily basis routine.
[OnePlus 5 & 5T Cross Device Development] marf28101995:
Just run default settings then .. ?
[OnePlus 5 & 5T Cross Device Development] archraziel:
Default setting is consuming 4% battery while I sleep. That is 7 hours in idle with wifi on. Isn't that too high?
[OnePlus 5 & 5T Cross Device Development] marf28101995:
That has nothing to do with the kernel itself.. it's more userspace

You can check what is keeping your phone awake

And you can use the built in wakelock blocker with exkm app
[OnePlus 5 & 5T Cross Device Development] archraziel:
Just bought it, thanks!
[OnePlus 5 & 5T Cross Device Development] Scarbelli:
I have been unable to download anything from Blu_Spark for 2 days now. I get the error below.

I have tried using different Browsers, Computer, Phone and reset my router/modem. Could not find any option to disable pre-fetching. Is there another download source too use? I searched but no luck.

"429 Rate Limited

Whoa there, hold your horses! We've detected a lot of requests coming from your IP and have rate limited you. Please check your configuration and try again."
[OnePlus 5 & 5T Cross Device Development] ThaWaX:
Can´t download it either ..

EDIT:

Works now!
[OnePlus 5 & 5T Cross Device Development] Scarbelli:
Still doesn't for me
[OnePlus 5 & 5T Cross Device Development] eng.stk:
blu_spark extras v8.70

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.1+, name changing to reflect base 8.version, full compatible with OOS Oreo 8.1/8.0 stuff and Nougat.

TWRP blu_spark edition is not only universal but also unified, works for both OP5/5T.

Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.

twrp-3.2.1-x_blu_spark_v8.70-op5_op5t.img

Keep it real, keep it true, keep it blu :highfive:

Wakelock blocker info and example script

Android wireguard-tools Magisk Module

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 ;)
[OnePlus 5 & 5T Cross Device Development] dragoi90:
[MENTION=3873953]eng.stk[/MENTION] Sorry about my ignorance but how can i delete TWRP settings?Thank You!
[OnePlus 5 & 5T Cross Device Development] eng.stk:
Inside TWRP folder on sdcard you have the .twrps file, which is the settings
[OnePlus 5 & 5T Cross Device Development] dragoi90:
Thank you!
[OnePlus 5 & 5T Cross Device Development] Scarbelli:
could someone please pm me the new twrp and new custom firmware? The download links just won't work. keep getting the following error no matter what device I try to download with . Thanks in advance.

"429 Rate Limited

Whoa there, hold your horses! We've detected a lot of requests coming from your IP and have rate limited you. Please check your configuration and try again."

Never Mind,,,, I was able to download them by shutting off my WiFi and downloading using my Phone's data.. But I wonder why I can't download from XDA ? I connect to net with Comcast / Xfinity
[OnePlus 5 & 5T Cross Device Development] crowsnestitsupport:
Is anyone else having trouble getting twrp to stay with a clean flash of 5.0.4? If I flash magisk before first boot, twrp stays but then I have no wifi or NFC. If I clean flash 5.0.4 and boot before flashing magisk I have wifi and NFC but twrp is replaced with stock recovery???
[OnePlus 5 & 5T Cross Device Development] Sc4r3Crow:
TWRP gets replaced during/after clean flash? In which order and how do you flash the files, and what do you mean by "5.0.4"...OOS, xXx or another rom?
[OnePlus 5 & 5T Cross Device Development] crowsnestitsupport:
5.0.4 OOS downloaded directly from oneplus.net, flashed with the blu_Spark TWRP just released today. Steps:

Boot phone to fastboot mode, flash blu_Spark twrp

boot to twrp, format data reboot to recovery,

flash 5.0.4 OOS from Oneplus

boot system

after first boot, boot back to recovery and find that it has been replaced with stock recovery..

other option:

Boot phone to fastboot mode, flash blu_Spark twrp

boot to twrp, format data reboot to recovery,

flash 5.0.4 OOS from Oneplus

clear cache

flash Franco R 25 kernel

boot system

after first boot, have no wifi or NFC but twrp has not been replaced with stock recovery.

Thanks,

EDIT: stated that I flashed Magisk before first boot.. It was Franco Kernel, not magisk. Magisk can only be flashed after first boot if data was formatted.
[OnePlus 5 & 5T Cross Device Development] Sc4r3Crow:
I think your problems are caused by 2 facts:

1. Regarding 1st option: Your flashing order seems to be right, but imo flashing OOS 5.0.4 (it's the stock rom with its own recovery) is the reason why TWRP is replaced.

2. Regarding 2nd option: Magisk should not be flashed before 1st boot, because on the one hand it causes bootloops, non operational wifi and other problems...BUT on the other hand it provides root to your phone. That should be the reason why in this case TWRP is not replaced.

I hope these infos are easy to understand :good:

EDIT: This is the wrong thread to discuss this/such topic(s)
[OnePlus 5 & 5T Cross Device Development] Knightrid3r:
Thanks for this awesome kernel!

I'm new to custom kernels, so i hope its not a bad / stupid question.

How can i change settings of this kernel? Like changing the LED-color for notifications?
[OnePlus 5 & 5T Cross Device Development] eng.stk:
That's ROM stuff.

Sent from my blu_spark'd OP5T
[OnePlus 5 & 5T Cross Device Development] Knightrid3r:
Okay, thanks.

Just thought because i read: Battery/Notification LED control on kernel features.
[OnePlus 5 & 5T Cross Device Development] eng.stk:
[KERNEL] [blu_spark r102 / r69 OP5] [OOS 5.* / 4.5.* / 8.1 custom ROMs]

That's for blink state, speed, etc not color or apps modes and stuff like that

Sent from my blu_spark'd OP5T
[OnePlus 5 & 5T Cross Device Development] Knightrid3r:
So I need EXKM to change settings, right? Or another KernelAPP?
[OnePlus 5 & 5T Cross Device Development] ImEraaz:
Hi, it's compatible with Lineageos 15.1 ?
[OnePlus 5 & 5T Cross Device Development] marf28101995:
Yes

Btw it was already answered before so next time use search button ;)
[OnePlus 5 & 5T Cross Device Development] ImEraaz:
i used it, i typed lineageos and nothing interesting.

Thanks for the answer
[OnePlus 5 & 5T Cross Device Development] Blueblob:
Can someone send me in pm 102 for custom rom plz ?

XDA forum seems down...

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[OnePlus 5 & 5T Cross Device Development] more_than_hater:
[MENTION=3873953]eng.stk[/MENTION] can you please upload kernel & twrp at some alternative filehost? XDA seems dead for 3 days already
[OnePlus 5 & 5T Cross Device Development] dadashi.reza:
+1
[OnePlus 5 & 5T Cross Device Development] dartvader316:
Is it compatible with pixel experience?
[OnePlus 5 & 5T Cross Device Development] eng.stk:
Meanwhile here's a mirror: https://ewo0x9.s.cld.pt
[OnePlus 5 & 5T Cross Device Development] gaspolo:
DOWNLOAD KERNEL ZIP and RECOVERY (No mirrors please) :p:p:p:p:p:p:p:p:p:p
[OnePlus 5 & 5T Cross Device Development] mrjuniork:
So you are Portuguese? Unless there is no connection to your choice of mirror :)
[OnePlus 5 & 5T Cross Device Development] fjsferreira:
Wait wait wait, are you portuguese?

Então caralho? Agora é que dizes? :)
[OnePlus 5 & 5T Cross Device Development] marf28101995:
Everyone can see that by opening his profile or looking to his email address ;)

Deixa de dormir :)
[OnePlus 5 & 5T Cross Device Development] mrjuniork:
My mistake. Haven't checked the profile neither did I send a mail :)

So now there are 2 wicked Portuguese kernel Devs for OP :)
[OnePlus 5 & 5T Cross Device Development] marf28101995:
No there is one wicked and then there are the others
[OnePlus 5 & 5T Cross Device Development] PyroYuy:
Been trying to download but it keeps on telling me the site is under maintenance...

Wait, found the "mirror".
[OnePlus 5 & 5T Cross Device Development] HighDesertTrekker:
Tossed you a donation for a beer. Keep up the good work.
[OnePlus 5 & 5T Cross Device Development] eng.stk:
Thanks for the support mate :)

Sent from my blu_spark'd OP5/5T
[OnePlus 5 & 5T Cross Device Development] RMarques:
Excuse my ignorance... Forums are under maintenance for days. How did you do manage to download latest twrp & kernel?
[OnePlus 5 & 5T Cross Device Development] SREEPRAJAY:
Just one page away...please search sir. Not trying to be negative but using Google search is not so difficult.
[OnePlus 5 & 5T Cross Device Development] RMarques:
Thanks man,

I did a quick search on the 1st page link, which isn't working for days, I did a search within this app and when I saw a person who seems to have ran over the same problem I had, perhaps...you know what, nevermind, I really don't have time to that.

Thank you for your answer, it was really inspiring.

BTW..if [MENTION=268788]pyro[/MENTION]Youi have said " I saw the mirror (x pages back) ", we wouldn't have had the pleasure to even met.
[OnePlus 5 & 5T Cross Device Development] jdogzilla:
Am considering trying this ROM out. What additional customizations are people doing through Kernel Auditor? Do share your settings.
[OnePlus 5 & 5T Cross Device Development] skyknife93:
Mate, this is a kernel.
[OnePlus 5 & 5T Cross Device Development] MurdererFight:
Fastlane 1 on both cores

Fastlane_Threshold at 35
[OnePlus 5 & 5T Cross Device Development] jdogzilla:
Sorry i meant kernel and not ROM
[OnePlus 5 & 5T Cross Device Development] SweDunda:
Hi

I dowloaded and installed "twrp 3.2.1-x blu_spark v8.70" and it went good. BUT now after the install when I enter the recovery it is locked whit a Decrypt Pattern... I have not entered a pattern or requested one. I can't get in and see my files now... I can't even make a backup...

How do I solve this problem?

Regards
[OnePlus 5 & 5T Cross Device Development] Chaplan:
TWRP is working on the usual setups as stated all over.

Flashing ROMs that don't support FBE or update keymaster to the latest will lead to what you are reporting.

Taken to your own thread so follow-up there.
[OnePlus 5 & 5T Cross Device Development] acrylamid:
Where can I enable KCAL support in this kernel?

(Using Kernel auditor)

I want to be able to use Night Light.

https://labs.xda-developers.com/store/app/com.corphish.nightlight.generic
[OnePlus 5 & 5T Cross Device Development] Chaplan:
Kcal works out of the box, you can tweak it's values with Kernel Adiutor but for the solo purpose of using the nightlight app you don't need to enable anything on KA.

The app will change kCal values for you.
[OnePlus 5 & 5T Cross Device Development] zv0n:
Hi, does the newest twrp decrypt spblob v2?
[OnePlus 5 & 5T Cross Device Development] eng.stk:
blu_spark extras v8.71

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.1+, name changing to reflect base 8.version, full compatible with OOS Oreo 8.1/8.0 stuff and Nougat.

TWRP blu_spark edition is not only universal but also unified, works for both OP5/5T.

Delete your twrp settings or else issues may arise if coming from other version besides blu_spark.

twrp-3.2.1-x_blu_spark_v8.71-op5_op5t.img

Keep it real, keep it true, keep it blu :highfive:

Wakelock blocker info and example script

Android wireguard-tools Magisk Module

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 ;)
[OnePlus 5 & 5T Cross Device Development] eng.stk:
blu_spark r103 unified (oreo custom)

All right crew!

New Oreo build is up :highfive:

Oreo builds are unified, also good to go on 5T Oreo stuff :good:

Because of latest TWRP and Oreo changes, you'll need to use TWRP 3.2+ or my unified TWRP 3.2.1-x blu_spark v8.71 (recommended).

Any other versions may not have full support for the kernel and the installer.

Also mind that for now on builds will touch system partition (Oreo stuff).

So, if you want to go back to stock, just backup boot and system beforehand or dirty flash you ROM zip.

If coming from other kernel always dirty flash your ROM (and root if that's the case) beforehand.

This is for Oreo only.

blu_spark_r103-custom_oreo_op5-op5t_251e6ad.zip

Keep it real, keep it true, keep it blu :highfive:

Keep in mind: I will give no active support for custom ROMs (including OOS based ones).

Meaning, if using anything besides stock and stable OOS don't bother posting about it.

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 CM or other ROMs stuff like "this don't work, my app doesn't open, etc" or debugging features.

Custom build isn't compatible with EAS stuff.

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 ;)
[OnePlus 5 & 5T Cross Device Development] MurdererFight:
For some reason WiFi breaks and I can't automatically reboot to recovery anymore.

First Magisk V16 then blue_spark v103 - same

First blue_spark v103 and Magisk V16 - same

I've also did a dirty flash of OOS 5.0.4 and updated recovery to v8.71

EDIT: Looks like it's for custom rom, not for OOS. If not, then I'm sure this build is kinda broken. I don't have these issues with r102 (wifi and boot works fine)
[OnePlus 5 & 5T Cross Device Development] smerm07:
edit: worked it out
[OnePlus 5 & 5T Cross Device Development] andre0005:
Of course it's for custom roms. It's right there in the name. I'm on the most recent resurrection remix and twrp + kernel are working fine.
[OnePlus 5 & 5T Cross Device Development] eng.stk:
ZIp is for Oreo -> people flash it on Nougat

Zip is for custom ROMs -> people flash it in OOS

How wonder how things get broken? :confused:
[OnePlus 5 & 5T Cross Device Development] livsey:
Hey.I hurried and installed the kernel for custom 103 on oos 5.0.4!Now I can not boot into the recovery and bootloader to fix the situation! What can I do?

PS : I solved my problem! From the firmware could not reboot into bootloader, got from the loading menu, not the first time!
[OnePlus 5 & 5T Cross Device Development] ZalnarT:
Have you tried rebooting via the power and volume Buttons?
[OnePlus 5 & 5T Cross Device Development] i.am.newbie:
[MENTION=3873953]eng.stk[/MENTION]

Can u add haptic feedback for the double tap to wake gesture?

And y don't add EAS to ur kernel? :D

---------- Post added at 07:02 AM ---------- Previous post was at 07:00 AM ----------

Also can reduce the screen latency like arter97 kernel :fingers-crossed:
[OnePlus 5 & 5T Cross Device Development] elbuenzurdo:
Hello guys, anyone tried to dirty flash OOS OB6 using latest blu_spark TWRP on an encrypted device (coming from OB5)?
[OnePlus 5 & 5T Cross Device Development] Blueblob:
Feedback : With 103 on last nightly lOS, wifi is still disabled at boot.

I saw a commit about that : a WiFi flag.

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[OnePlus 5 & 5T Cross Device Development] marf28101995:
WiFi works good in last nighty with 103 I has running that before flashing new beta
[OnePlus 5 & 5T Cross Device Development] turbotorsten:
Is the latest 103 release compatible with the Open Beta 6?
[OnePlus 5 & 5T Cross Device Development] Blueblob:
My mistake, my English sux : WiFi works fine, it's just on OFF at boot. It doesn't keep the state before reboot.

Envoyé de mon ONEPLUS A5000 en utilisant Tapatalk
[OnePlus 5 & 5T Cross Device Development] elbuenzurdo:
No, it is for custom ROMs.
[OnePlus 5 & 5T Cross Device Development] walkwitmeinhel:
Did you try R102?
[OnePlus 5 & 5T Cross Device Development] turbotorsten:
For me I couldn't get any custom kernel to work.
[OnePlus 5 & 5T Cross Device Development] vector88:
Wifi not working on r103 and xXx ROM. On r102 wifi working fine.
[OnePlus 5 & 5T Cross Device Development] Denkai:
On R103, wifi is screwed up, as well as button swap and advanced reboot to recovery. It's all due to using custom (r103 doesn't have oos yet) use 102 if your using xXx oroos based rom
[OnePlus 5 & 5T Cross Device Development] andre0005:
Your rom needs an update.
[OnePlus 5 & 5T Cross Device Development] Chaplan:
r103 is for custom ROMs.

r102 for OOS and OOS based ROMs.

?
[OnePlus 5 & 5T Cross Device Development] techlogik:
OP5T, v103 on Open Beta 4, screen is basically in torch mode brightness after flashing kernel.
[OnePlus 5 & 5T Cross Device Development] Chaplan:
Sorry guys, just remembered something else.

On the file name the "custom" word means it's for a custom ROM.

The "OOS" word means it's for OOS.

So, in case it wasn't clear enough:

r103 is for custom ROMs.

r102 for OOS and OOS based ROMs.

??

Chaplan, taking redundancy to whole new level.
[OnePlus 5 & 5T Cross Device Development] eng.stk:
People not even read last post in threads, this is getting ridiculous.

Sent from my blu_spark'd OP5/5T
[OnePlus 5 & 5T Cross Device Development] Denkai:
10 people explain to 100 different ways and still no one gets it...

Anyone tried this with OB6/xXx10?
[OnePlus 5 & 5T Cross Device Development] doki81:
no...just tried and the phone don't even want to get pass the boot :P

just flash back stock kernel on xxx option and it work :) R103 custom is not for OOS OB06... :(
[OnePlus 5 & 5T Cross Device Development] Chaplan:
But then, custom means it's for custom ROMs, AOSP/CAF based, like LOS, OMNI...

To rule out any misconceptions still:

r103 is for custom ROMs (like LOS for example).

r102 for OOS and OOS based ROMs (xXx fits here).

???

Oddities come into the equation when users flash the wrong build. 3 posts obviating this already.

Chaplan, taking redundancy to a whole new level!

On other matters...

OB4/6 with r102 looks good.

Great idle and active drain, me likes it. :good:
[OnePlus 5 & 5T Cross Device Development] Gustav Karlsson:
Looks very nice. Do U use stock kernel settings or have you configured something, Fastlane for example? :)
[OnePlus 5 & 5T Cross Device Development] Chaplan:
Almost everything stock, a few tweaks on the vibrations and led settings, but yeah, I live on the Fastlane.
[OnePlus 5 & 5T Cross Device Development] fanbogo:
Those guys with broken WiFi hahaha, retarded people without reading option :D

Why you are installing custom kernel on xxx? :D

Every page same problems, there are even some pages where are 3 post in row about wifi :D I just can belive xda has so many stupid users, how you even rooted device?
[OnePlus 5 & 5T Cross Device Development] zv0n:
I also have this problem with the latest OOS for 5T, also NFC doesn't work
[OnePlus 5 & 5T Cross Device Development] SirMika:
Some reason links won't work. (This Can't find url) but anyways, I donate as soon as I get things work. Cheers by the way for a great kernel. Keep up the good work

Job well done.
[OnePlus 5 & 5T Cross Device Development] MurdererFight:
It's already been stated many times: it's for custom roms
[OnePlus 5 & 5T Cross Device Development] zv0n:
Yeah, just noticed it myself, I shall now shamefully download the right one... Feeling dumb while doing it