yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Darkcrystal38:
Hummmmmm, i don't know i've just tried now again i've got the message unpacking ramdisk error.
[OnePlus 6 & 6T Cross Device Development] Tomatot-:
It's because of Magisk 18, dirty flash your setup.
[OnePlus 6 & 6T Cross Device Development] Darkcrystal38:
How to do that please?

Edit: found it
[OnePlus 6 & 6T Cross Device Development] Ganapatya:
I've done dirty flash of the latest stable version of OOS, then flash kernel, as indicated in the instructions. Now I have lost root and TWRP. How to solve it? :/

Edit: also if I make this sequence the result is that magisk remains un-installed (using Blue spark TWRP):

"Reflash ROM -> if you want root flash SuperSU or Magisk (default, no plugins/modules) -> flash blu_spark"

Another question, how do I know that I have the kernel installed correctly? in android information this appears: "4.9.106-perf+ #1 Fri Oct 26 .... "
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Flash ROM, flash twrp, flash Magisk, flash kernel.

Basic stuff.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] Ganapatya:
It does not work for me, following these steps does not install magisk, I do not get root. I must install magisk again.

If I have this information on the Android system, is the kernel installed correctly?
[OnePlus 6 & 6T Cross Device Development] Macusercom:
Please tell me you rebooted after flashing OOS and TWRP.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Of course not. You need to rebbot to recovery again after installing ROM and TWRP.

Only then install Magisk and kernel.

This is basic A/B partition stuff and we are way offtopic here. Read before starting messing with your device mate, it's better for you.
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
Is there anyway to lock kernel frequencies?
[OnePlus 6 & 6T Cross Device Development] Ganapatya:
Now yes, that was missing., reboot after flashing OOS. Thanks you!.
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
Kernel is running awesome I save a lot of battery with bluspark governor
[OnePlus 6 & 6T Cross Device Development] 4396316:
Hello, author.I tried to compile the kernel with source code.I executed these instructions in the source directory:

1) export PATH=$PATH:/home/aarch64-linux-gcc/bin

2) export CROSS_GCC=aarch64-linux-android-

3) export ARCH=arm64

4) export DEFCONFIG=op6-perf_defconfig

5) make O=$OUT CROSS_COMPILE=$CROSS_GCC $DEFCONFIG

6) make O=$OUT CROSS_COMPILE=$CROSS_GCC headers_install

But step six was wrong.

Can you tell me how to compile it?
[OnePlus 6 & 6T Cross Device Development] starche_old:
Earlier this morning did a backup of my ROM. Backup completed successfully. However, when I tried to restore it back, TWRP gave me an error 255 while restoring /data.

What I skewed up?
[OnePlus 6 & 6T Cross Device Development] Punkid:
How will the zram changes affect the devices? What are the advantages and disadvantages?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Some devices have it enabled so memory is managed a bit better, since latest droid likes to go high on the juice.

Produces a bit overhead but is low, pretty much neglictable.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] virsys:
[RECOVERY]createTarFork() process ended with ERROR: 255 when trying to back up data

Preconditions: Make sure you have installed OxygenOS 9.0.2 and TWRP 3.2.3-x | blu_spark v9.86

TWRP fingerprint: OnePlus/omni_enchilada/enchilada:16.1.0/OPM4.171019.021.Y1/engstk09251804:eng

OxygenOS fingerprint: OnePlus/OnePlus6/OnePlus6:9/PKQ1.180716.001/1810252315:user/release-keys

Steps to reproduce: Create a second user in the settings of OxygenOS (Settings > System > Multiple Users > Add users). Boot into TWRP. Back up data.

Expected behavior: TWRP backs up data.

What happens instead: TWRP fails to backup. The error message is [createTarFork() process ended with ERROR: 255].

This error happens on the "usual" TWRP, too. Also it's not possible to backup the data from custom ROMs with multiple users. With one user TWRP backs up data flawlessly on both custom ROMs and the official OxygenOS.

[MENTION=3873953]eng.stk[/MENTION] : Even though this is the blu_spark kernel thread I've decided to post this here, since TWRP is listed at the download section here. Let me know if this is a known issue or if you need more logs. For now I've included the TWRP logs only.
[OnePlus 6 & 6T Cross Device Development] TheKnux:
Terminal emulator or emulator in TWRP, su, pm remove-user 999.
[OnePlus 6 & 6T Cross Device Development] virsys:
Doesn't work. Maybe because I have not setup parallel apps.
[OnePlus 6 & 6T Cross Device Development] TheKnux:
You have to use the command using super user privileges, hence the "su".
[OnePlus 6 & 6T Cross Device Development] eng.stk:
blu_spark extras v9.86 (Pie only)

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 Pie stuff. There's a fastboot bootable img and a zip installer.

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.91_op6.img

twrp-3.2.3-x_blu_spark_v9.91_op6.zip

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 ;)
[OnePlus 6 & 6T Cross Device Development] HatRiGt:
Flashed latest Twrp and its works fine ?
[OnePlus 6 & 6T Cross Device Development] cultofluna:
Thanks...

Also for 6T?:D
[OnePlus 6 & 6T Cross Device Development] LazerH:
Thanks!

Do I still have to flash TWRP after flashing oos or will this ever be gone?
[OnePlus 6 & 6T Cross Device Development] Pianoman144:
I got this unpacking error...so I decided to dirty Flash my setup. I first flashed OOS then the new 9.91 Twrp and rebootet to Twrp. Then I flashed magisk 18 and the blu r63 Kernel and rebootet to System. But magisk says me that i am not rootet und not have magisk installed. When I try to go in Twrp and Flash magisk again it will not enable root in my device. Magisk is saying that it is not installed.. Any solution? That really annoying..
[OnePlus 6 & 6T Cross Device Development] gorilla p:
I updated to latest TWRP, flashed TWRP zip and upon reboot started getting error that my device was corrupted and could no longer be trusted to work correctly.

I wiped data, cache and formatted date to reinstall the OS and now can't get back into recovery.

Tried to push twrp recovery to phone again, but it keeps failing with

FAILED (remote: 'Failed to load/authenticate boot image: Load Error')

Now unable to get to anything but bootloader.
[OnePlus 6 & 6T Cross Device Development] vlaf:
This happening also to me. Flash fastboot stock roms (https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665) from general section (for example opb9 (this will erase all your data, including internal storage ). After that no problem with blue spark recovery.

I don't know why this is happening....
[OnePlus 6 & 6T Cross Device Development] YassGo:
Hi [MENTION=3873953]eng.stk[/MENTION],

Will you release a version for OP6T ?

Thanks bro

Envoyé de mon ONEPLUS A6010 en utilisant Tapatalk
[OnePlus 6 & 6T Cross Device Development] adizz4:
Thanks for the r63 and twrp!

Everything is working flawlessly on 9.0.2 :good:
[OnePlus 6 & 6T Cross Device Development] Reli4nth:
Kernel works on OP6T. It can be flashed with official TWRP recovery. Running it without issues here.
[OnePlus 6 & 6T Cross Device Development] MJFox78:
anybody tried the kernel with OB10?
[OnePlus 6 & 6T Cross Device Development] Darkcrystal38:
Same here everything work fine
[OnePlus 6 & 6T Cross Device Development] gorilla p:
Thanks for the suggestion. I was eventually able to get the msmdownload tool to work. I am able to boot to system now. Im going to see if I can get this to work properly now that I have a failsafe.
[OnePlus 6 & 6T Cross Device Development] YassGo:
Yeahh sorry I was talking about TWRP [emoji16]

Envoyé de mon ONEPLUS A6010 en utilisant Tapatalk
[OnePlus 6 & 6T Cross Device Development] zyonee:
Works as it should.
[OnePlus 6 & 6T Cross Device Development] virsys:
I've used superuser privileges in OxygenOS. The $ changed to a # in termux and adb shell > su > pm remove-user 999 doesn't work either. The new TWRP ( OnePlus/omni_enchilada/enchilada:16.1.0/OPM8.181105.002/stk12280135:eng/test-keys ) fails to backup with the same error when using multiple users. It works when the second user is deleted manually like the version before.

Further suggestions?
[OnePlus 6 & 6T Cross Device Development] starche_old:
For those who've got the same problem.

Check these posts:

https://xdaforums.com/oneplus-5/help/error-255-twrp-t3739468/post75308014#post75308014

https://xdaforums.com/showpost.php?p=75308014&postcount=4
[OnePlus 6 & 6T Cross Device Development] manudhomra:
I'm on treskmod ROM on my op6, installed bluspark recovery 9.86, I want to update to the latest build of recovery 9.91. Can someone share the flashing process to update the recovery on my op6. As per my knowledge I should do the following:

Flesh recovery,

Reboot to recovery

Flash magisk.

Correct me if I'm wrong.
[OnePlus 6 & 6T Cross Device Development] virsys:
I don't have these folders and still get the 255 error when backing up data with multiple users.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Nope.

I don't have the device to flash blu_spark on it, so I guess I don't need TWRP for it :cyclops:

This is know for several iterations of TWRP.

It would probably take quite some work from twrp upstream, you should take that to twrp developers.
[OnePlus 6 & 6T Cross Device Development] TheKnux:
Hmm, a bit stumped. Try enabling a few apps in Parallel Apps buy turning them on, waiting a few, then turning them off, reboot, then try the command and making a backup again.
[OnePlus 6 & 6T Cross Device Development] Darkcrystal38:
I've just flash twrp and magisk just after.

But it's ok too
[OnePlus 6 & 6T Cross Device Development] virsys:
Mkay. Let's see if they are able to help us :)

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1373
[OnePlus 6 & 6T Cross Device Development] franco985:
9.0.3 is rolling out. Can I use the r63 directly? Thanks
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
First of all we need to check twrp & root I guess.
[OnePlus 6 & 6T Cross Device Development] Darkcrystal38:
I've just flashed r63 , no problem
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
full zip of new stable update 9.0.3 so here it is for everyone who needs it

https://drive.google.com/file/d/1dPukGoWbldRd4HUkuB8KFmq2d0QB0Uu7/view?usp=drivesdk
[OnePlus 6 & 6T Cross Device Development] georgiapi:
Forgive my lack of understanding please, just making sure I understand. This full update is AKA boot image?
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
System image, after flashing this zip in twrp> flash twrp zip >reboot to recovery > flash magisk > flash kernal
[OnePlus 6 & 6T Cross Device Development] georgiapi:
MUCH appreciated!
[OnePlus 6 & 6T Cross Device Development] vrda08:
Blu r63, LKT balanced, universal GMS doze, AIO analytics disabler, wakeblock, greenify.

Finally have some nice standby drain below <0.7%/h and nice sot, without airplane mod (Mostly wifi). Google play services/wakelocks are really big impact on battery life on OOS.
[OnePlus 6 & 6T Cross Device Development] starche_old:
Nice times. Can you please peroxide a bit more details, like what's LKT, GMS doze and such?

Update 1. Found LKT (https://www.google.ca/amp/s/xdaforu...e-battery-life-12h-sot-t3700688/amp/?espv=1}.

I cannot download from Google drive, tried to get the module from github and no luck either.

Does it really work? I think eng.stk did everything possible with governors and such.
[OnePlus 6 & 6T Cross Device Development] -Deco-:
Yes you can, it works fine.
[OnePlus 6 & 6T Cross Device Development] vrda08:
LKT

https://xdaforums.com/apps/magisk/xz-lxt-1-0-insane-battery-life-12h-sot-t3700688

AIO ONEPLUS ANALYTICS DISABLER

https://xdaforums.com/attachment.php?attachmentid=4594996

GMS doze

https://www.google.hr/amp/s/xdaforums.com/apps/magisk/module-universal-gms-doze-t3853710/amp/

WAKEBLOCK

https://xdaforums.com/android/software/wakeblock-blocking-drain-late-t3526313

Screenshots of blocked wakelock, for more details checl telegram group info.
[OnePlus 6 & 6T Cross Device Development] OPO13R:
NVM, the download worked on my phone (still not on my brower (latest Vivaldi, cleared cache and stuff))
[OnePlus 6 & 6T Cross Device Development] vrda08:
Edit:

Wakeblock times:
[OnePlus 6 & 6T Cross Device Development] starche_old:
Octal AIO and GMS. My ROM has built-in functionality for blocking wakeblocks, so u block whatever I have from what you mentioned plus additional stuff I think is appropriate. I'll keep an eye on wakelocks in BBS as well.
[OnePlus 6 & 6T Cross Device Development] vrda08:
This is definitely working. This combo + r63
[OnePlus 6 & 6T Cross Device Development] corleone48:
I know GMs doze but not the other. As I'm a noob with all that add-on, can you tell me if you have installed all of them? Or just a few?

Thanks!
[OnePlus 6 & 6T Cross Device Development] habylab:
Always have to due to A/B partition setup.
[OnePlus 6 & 6T Cross Device Development] BossNexusS:
What theme is this?
[OnePlus 6 & 6T Cross Device Development] aojie654:
Which Kernel should I flash on H2OS?

I've noticed that there are two edition of this kernel: OOS, Customer OS, But If I want to flash it on H2os , which edition I should Flash ? Thx a lot:D
[OnePlus 6 & 6T Cross Device Development] Mysterion1:
Nope. Flash A/B retention script from magisk after OOS incremental update. Then install magisk to inactive slot and twrp will still be in place (+magisk & root). Only the kernel has to be reflashed.
[OnePlus 6 & 6T Cross Device Development] vrda08:
Swift
[OnePlus 6 & 6T Cross Device Development] megaslx:
flash oos version
[OnePlus 6 & 6T Cross Device Development] habylab:
Surely just as quick to reflash? Each to their own.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
blu_spark r65 release (pie unified)

All right crew!

New build is up :highfive:

This is unified, good to go on OP6 9.0.3 and OP6T 9.0.11 (untested)

Also checkout latest recommended blu_spark extras with blu_twrp v9.93 (Pie support).

This is only for Pie ROMs! (with Pie based kernels also in case of custom ROMs)

Happy New Year peeps ;)

blu_spark_r65-oos-pie_op6_9a5f932e4.zip

blu_spark_r65-custom-pie_op6_bdb0ff65e.zip

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 :)
[OnePlus 6 & 6T Cross Device Development] aojie654:
Thanks

Thanks for your reply;)
[OnePlus 6 & 6T Cross Device Development] RusherDude:
Hey [MENTION=3873953]eng.stk[/MENTION], whats the difference between your TWRP (which everyone uses and recommends but noone tells me why..) and the official one?

Thanks!
[OnePlus 6 & 6T Cross Device Development] clarkcant:
Last I checked Blu spark's TWRP was not able to decrypt the internal storage.
[OnePlus 6 & 6T Cross Device Development] char101:
Hi, how can I change the zram compression to lz4hc? I can't change it at runtime because the device is busy
[OnePlus 6 & 6T Cross Device Development] sting5566:
You are kidding right?
[OnePlus 6 & 6T Cross Device Development] gregsoir:
not true
[OnePlus 6 & 6T Cross Device Development] finotti:
I will update TWRP (blu_spark versions) tomorrow.

1) The OP mentions that we need to remove settings. That simply means remove TWRP/.twrps from internal storage, correct?

2) I have encryption working. (TWRP asks for the PIN.) The update will not affect it, correct?

Thanks in advance!
[OnePlus 6 & 6T Cross Device Development] Hskom:
radio.img OP6

[removed]
[OnePlus 6 & 6T Cross Device Development] tunerskynet:
LKT is Better of NFS injector?
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
I tired above modules which they themself drain battery.

Use bluespark + ex kernal Manger, you will get best out it
[OnePlus 6 & 6T Cross Device Development] metaxda:
[MENTION=5406595]vrda08[/MENTION] ,

thanks so much for this post & subsequent posts for the useful links (LKT, GMS, etc.)

i tried this too & can confirm, battery life is very good :good: with 0.5 - 1 % drain per hour , with following conditions:

- xXx.NoLimits ROM (without 'kernel tweaks')

- Blu_Spark R65 (default install)

- LKT (Balanced profile)

- Universal GMS Doze (default)

- AIO Analytics Disabler (default)

- Wakeblock (installed but not running it yet)

- using mostly WiFi only

[MENTION=6892058]kryshnakishore[/MENTION],

when you try modules, try to reboot the phone first,

and then install each Module and then reboot,

before installing next Module & then reboot.

( if you are using xXx.NoLimits ROM, then disabled "kernel tweaks")

if you like EX Kernel Manager, then try ElementalX kernel.

that's a very good kernel too.

i used it in Motorola and tested it with OP6 too, with decent/good results.
[OnePlus 6 & 6T Cross Device Development] spartan268:
He's referring to NFS and/or LKT

A lot of these magic kernel tweaking modules just do some generic setting which is nearly identical to what kernel developers implement. I tried out LKT recently and got no where near the quoted 1.5 hrs of extra SOT. Infact it did nothing for me except turn off touchboost. When you got devs who know what they're doing around here, it's practically snake oil. It may be more useful for devices that don't use EAS and tuning plays a bigger factor.
[OnePlus 6 & 6T Cross Device Development] starche_old:
100%. Tried LKT, no difference at all. Deleted already.
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
This is my best after 9.0.3 + r65 update.. I stopped using other battery apps & magisk modules where they drain battery a lot.

Modules I use : tez hider & sans font zip only

Ps: Oneplus should hire [MENTION=3873953]eng.stk[/MENTION] you are Gem
[OnePlus 6 & 6T Cross Device Development] franco985:
SOT is on wifi only?
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
I switch between wifi/ 4g data but this sot of 80% wifi & 20 % 4g data
[OnePlus 6 & 6T Cross Device Development] franco985:
Wow, really amazing. Could you share your kernel settings? Thanks
[OnePlus 6 & 6T Cross Device Development] kryshnakishore:
I am using ex kernal manager, there is no option to backup settings & everytime I reboot I apply settings again becoz apply on boot is not working even after delaying to 90s
[OnePlus 6 & 6T Cross Device Development] franco985:
EX kernel correctly works after reboot if you select under battery settings "no battery optimization". For the settings, you could share some screenshots. Thanks.
[OnePlus 6 & 6T Cross Device Development] thekubiaks:
I was using blu_spark 9.86 TWRP and Magisk 18 for Root. After the 9.03 OTA update, I can't get to recovery after reflashing blu_spark 9.86 img. Any recommendations on how to get into recovery, will blu_spark 9.91 fix this? Thx
[OnePlus 6 & 6T Cross Device Development] tofuboi01:
Fastboot the recovery then flash the twrp zip within the recovery. OTA would remove custom recovery so I would usually flash full ROM update in twrp then reflash the twrp zip. That way you can avoid having to fastboot with pc again for recovery.
[OnePlus 6 & 6T Cross Device Development] thekubiaks:
Thanks for the reply. To prevent others from making the mistake I made, I was doing a "Flash Recovery" instead of a "Flash Boot" on the blu_spark....img Once I figured that out, blu_spark 9.91 and OTA 9.03 works perfectly on my OP6
[OnePlus 6 & 6T Cross Device Development] Ivenlin:
PWM duty ratio to direct current

May I ask if you would consider adding this feature?

It's chaning the metohd of adjust brightness from PWM duty ratio to direct current

https://xdaforums.com/oneplus-6t/development/kernel-imagebreaker-kernel-oneplus-6t-t3885167

Thx
[OnePlus 6 & 6T Cross Device Development] eng.stk:
I don't see the need, sorry.

edit: also "Due to the compatible issue with OnePlus original design, the Night mode will not work, and the brightness will flash for a instant after fingerprint unlock".

So nope^2

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] metaxda:
thank you for posting this, [MENTION=9303175]Ivenlin[/MENTION] .

this is a very interesting aspect of smartphone usage, that really needs to be considered by all kernel developers.

i've been running F.Lux (bluelight filter for WinPCs) for 6-7 years now & can confirm it as positively changed/improved my sleep quality.

if this feature (listed above) can be merged into Blu_Spark, then it really could be the ultimate kernel for me.

(so far, i tried the other kernels and Blu_Spark has been very good to me so far :good: )

---------- Post added at 06:51 PM ---------- Previous post was at 06:18 PM ----------

the reduction of flickering can improve people's eyesight & life of phone screens ?
[OnePlus 6 & 6T Cross Device Development] amithiel:
Hey guys, links for TWRP zip and img are down :

410 Gone

nginx

can anyone provide mirrors please?
[OnePlus 6 & 6T Cross Device Development] Voltaine:
Working for me with link from OP
[OnePlus 6 & 6T Cross Device Development] keelsonkeelson:
Had the same when i tried to download from phone, worked with a browser on my computer. Was reported here before
[OnePlus 6 & 6T Cross Device Development] starche_old:
You might want to request desktop version of the website. Opera for example can do that.
[OnePlus 6 & 6T Cross Device Development] Sharparam:
On the latest blu_spark version of TWRP (twrp-3.2.3-x_blu_spark_v9.91_op6) I did not get a PIN/password prompt to decrypt when booting into recovery. On the latest official TWRP (twrp-3.2.3-1-fajita) I do get a PIN/password prompt to decrypt.

The above leads to not being able to backup on blu_spark TWRP since it cannot access the internal storage for writing the backup files (no SD card or USB storage), and the flashable uninstaller for Magisk not working.
[OnePlus 6 & 6T Cross Device Development] tofuboi01:
Night mode display has the same effect of f.lux. it's in the display settings.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
OP6 twrp is not for OP6T.

Kernel is unified and will work on both devices.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] Sharparam:
Oh well that explains a lot. Must have missed something, thank you for the information!
[OnePlus 6 & 6T Cross Device Development] finotti:
Replying to my own post, in case it helps anyone:

Re-reading the post, it seems that you should do that only if you are coming from a non-blu_spark version. Since I was in the previous blu_spark, I did not try to do it, and all seems fine.

It seems it is working fine.
[OnePlus 6 & 6T Cross Device Development] gnam:
Installing first time, I'm a FK kernel user but it isn't updated yet (at least it seems to).
[OnePlus 6 & 6T Cross Device Development] Devil7331:
Hey guys,

How do I permanently make changes to vibration intensity and TCP congestion algorithm? Because everytime i reboot my phone the values are back to default in EX Kernel Manager.

Please Help, thank you :)
[OnePlus 6 & 6T Cross Device Development] Macusercom:
Change the startup delay the in EXKM to 45 seconds. That should make it stick.
[OnePlus 6 & 6T Cross Device Development] James Blode:
Disable battery optimisation for exkm... In battery settings... That should do the work