yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 & 6T Cross Device Development] Stoowyguy:
Thanks for including bluschedutil and conservative in your kernel! Although wip to tune conservative or blusched I feel this is what we should shoot for. Back in the days when I owned a g935f or g920t I noticed developers provided kernels that could relax on interactive tuning the timers to be battery friendly and conservative a close second. schedutil maxes low cores I noticed bluschedutil has the aim I'm looking for in which it balances the load on big cores for those small ones to rest. ? Any way to tune bluschedutil to not jump so high? What if I proved like 10h of sot with conservative I believe in it.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
The old SMP and HMP concepts don't really apply to new stuff like energy models, load awareness, task placement, scheduling and other things used in EAS.

I think you should read on it, there's even a couple xda portal articles iirc.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] Siddk:
First flash magisk uninstaller to restore boot img then flash twrp zip then flash magisk zip

Or you can restore image through magisk manager then flash twrp then again flash magisk
[OnePlus 6 & 6T Cross Device Development] vivmar:
sry to ask this guys, but i'm not sure:

latest version of TWRP working on android 8.1 is "twrp-3.2.3-x_blu_spark_v8.83_op6", is this correct?
[OnePlus 6 & 6T Cross Device Development] eng.stk:
9.85 is latest for Oreo/earlier Pie

9.85 v2 is for Pie starting OB3
[OnePlus 6 & 6T Cross Device Development] efattal:
Hi every one,

After several failures to install a custom Pie ROM, I am trying this :

- I cleaned the phone with MsmDownloadTool V4.0 International

- Booted in OOS 5.1.5 and allowed OEM unlock

- fastboot oem unlock

- fastboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

Instead of entering blu_spark recovery mode, I get the fastboot splash screen, then a black screen with a blue LED. Rebooting in recovery mode goes to stock recovery. What am I missing? Thanks for your help.
[OnePlus 6 & 6T Cross Device Development] refedit:
Flash patched boot.img for root before twrp
[OnePlus 6 & 6T Cross Device Development] RagingHarry:
You missed reading the last post before yours ;)
[OnePlus 6 & 6T Cross Device Development] efattal:
Thanks for your answer. I read several pages but could not find what you are referring to. Could you please telle me more?
[OnePlus 6 & 6T Cross Device Development] zyonee:
You tried using 9.85 v2 on OOS 5.1.5. Use 9.85 instead.
[OnePlus 6 & 6T Cross Device Development] efattal:
So I should flash 9.85 over 5.1.5. Then flash OB3 then flash 9.85v2? Am I right?
[OnePlus 6 & 6T Cross Device Development] Terrigible:
If you are going directly to OB3, then might as well boot 9.85v1 to flash ROM and 9.85v2
[OnePlus 6 & 6T Cross Device Development] xxxSilverxxx:
+1

Twrp blu spark v.9.85 v2 bootloop to recovery.
[OnePlus 6 & 6T Cross Device Development] lollyjay:
You probably forgot to flash Magisk
[OnePlus 6 & 6T Cross Device Development] xxxSilverxxx:
Thank you. It works fine now.
[OnePlus 6 & 6T Cross Device Development] olifee:
Did somebody already try if further modifications are needed with the 9.0 stable?
[OnePlus 6 & 6T Cross Device Development] lollyjay:
I just flashed the 9 stable with it.
[OnePlus 6 & 6T Cross Device Development] kiki059:
Hello,

The last version of TWRP don't working with and I Pie OSS official . It's right?

I can flash this TWRP bluspark with Android 9 OSS ?

PS : I'm o OSS 5.1.8 and I will do update Pie 9
[OnePlus 6 & 6T Cross Device Development] ChemoNL:
I am using last version on pie official, no issue
[OnePlus 6 & 6T Cross Device Development] cocopara:
I flashed Android Pie and Magisk and it boots fine. But when I flash the kernel (V42, tried both stock and custom Pie) it sits on the bootloader warning message. Nothing seems to happen

Any ideas?
[OnePlus 6 & 6T Cross Device Development] HannibalLecter:
okay I did a stupid thing.

I was on OB3 and stock recovery.wanted to go to twrp and flash stable Pie.

I Fastboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

worked fine.

I then advanced wipe everything including internal storage

and then rebooted to Fastboot

now trying Fastboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img again

getting error

FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
[OnePlus 6 & 6T Cross Device Development] Testerofroms:
TWRP Download for Pie:

twrp-3.2.3-x_blu_spark_v9.85v2_op6.zip

is not working actually.

It gives me error 410 Gone
[OnePlus 6 & 6T Cross Device Development] windo34:
Working here using Chrome
[OnePlus 6 & 6T Cross Device Development] b.huss2:
Same here.
[OnePlus 6 & 6T Cross Device Development] Batfink33:
Official stable release Pie? The only sources we have are the beta 3 sources so you'll need to wait for the official release.sorces for the kernel to work.
[OnePlus 6 & 6T Cross Device Development] Alex1911:
Hi.

I think there are some significant changes in the Kernel-Source.

Give the Dev a few Day's to update the source.

PS: I had the same issue. Stay on Stock-Kernel for now

Best Regard's

Alex1911
[OnePlus 6 & 6T Cross Device Development] b.huss2:
Yeah that would most likely be the case. I was just confirming...
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Heads up guys:

You can use latest blu_spark twrp 9.85 v2 with stable OOS Pie.

Current blu_spark r42 kernel will not work, we have to wait for the Oneplus source drop.
[OnePlus 6 & 6T Cross Device Development] Runtaid:
Hello,

TWRP v2 .zip link is down.

Any mirrors?

Enviado desde mi ONEPLUS A6000 mediante Tapatalk
[OnePlus 6 & 6T Cross Device Development] lollyjay:
Its working fine for me
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
What to do with the v2twrp.IMG? do i need to fastboot flash it first thing before i start anything?

Or can i just flash v2 twrp.ZIP via twrp 3.2.3.0?
[OnePlus 6 & 6T Cross Device Development] enerGy:
https://xdaforums.com/showpost.php?p=76596833&postcount=3
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
Hey thanks for helping out. But i have already read the thread and it doesn't mention the .IMG file.

Also you can just take a minute to write it down if you know it. Do i flash the .IMG file via fastboot first or not?
[OnePlus 6 & 6T Cross Device Development] enerGy:
If your not already on bluspark twrp then yes IMG first then when in twrp flash the zip also :good:
[OnePlus 6 & 6T Cross Device Development] masri1987:
if someone can help me and remind me... i don't have any form of twrp im unlocked bootloader, i try to do fastboot boot twrp.img and it just goes to black screen with led constantly on. I try to flash twrp fastboot flash recovery twrp.img and it tells me it can't do slot a or b.

What am i supposed to do, i know im missing something
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
what is the fastboot command for the twrp.img? cant seem to get it to work
[OnePlus 6 & 6T Cross Device Development] null0seven:
fastboot flash boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img
[OnePlus 6 & 6T Cross Device Development] masri1987:
i literally cannot fastboot boot recovery.img ( goes straight to black screen after it says Fastboot on screen with LED on)

Can't do fastboot flash recovery recovery.img either. tells me partition_a not found

I'm stuck, i need help. been without my phone all day

Edit:

I did fastboot flash boot recovery.img

i got this

```C:\adb>fastboot flash boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

target reported max download size of 536870912 bytes

sending 'boot' (28780 KB)...

OKAY [ 0.678s]

writing 'boot'...

OKAY [ 0.121s]

finished. total time: 0.809s```

In fastboot I select the option to boot in recovery.

I'm back to a black screen with a single LED light on consistently
[OnePlus 6 & 6T Cross Device Development] nikexv2:
You need to specify boot_a or boot_b in the fastboot command

Is your phone still booting ?
[OnePlus 6 & 6T Cross Device Development] masri1987:
It is now, used the msmtool to bring it back to 5.1.11 ,

Gonna try this again tomorrow, i know i made a mistake somewhere.
[OnePlus 6 & 6T Cross Device Development] felonius:
I m on 5.1.11 and planning to go Pie 9.0.

Which twrp should i flash?
[OnePlus 6 & 6T Cross Device Development] -Deco-:
Follow the below procedure:
[OnePlus 6 & 6T Cross Device Development] Flying Fox:
twrp-3.2.3-x_blu_spark_v9.85

v2

op6.zip from #1 (download link)
[OnePlus 6 & 6T Cross Device Development] Funk Wizard:
[MENTION=3873953]eng.stk[/MENTION]: I recommend you should make a separate thread for TWRP so we can keep the kernel related thread on development lines only. I was going through the last few pages and this does not look like a kernel thread, instead its looking like a twrp support thread. As the official twrp is not maintained actively there is going to be more traffic on this thread for all twrp related requirements and issues.

None the less thank you once again for your continues efforts to support OnePlus Devices and ignore this message if you like to keep one thread for all your releases.
[OnePlus 6 & 6T Cross Device Development] :
A lot of people don't seem to have read that.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
There you go...

People don't understand that I make it mainly to my personal needs to make backups, flash stuff, encryption working and have proper support for new things that come. It's just the same as any other mods I do, all goes around the kernel.

If it suits your needs good, if it doesn't good just the same. Users started asking me to post more stuff, I even started put changelogs for extra stuff, it's my pleasure to help out and improve the all around experience with the device. Just don't expect me to cook for you and also cleaning up dishes and take out the trash.

A bit of OT now and then is fine, what's really annoying is people storming in not bothering to search a bit and read sometimes a couple posts back, going through the same thing over and over.

There's no blu twrp without blu_spark kernel, if this is a problem I can just stop posting any extras. Works the same for me.

Sent from my blu_spark'd Oneplus 6
[OnePlus 6 & 6T Cross Device Development] MickyFoley:
Ahm... this isn't the right direction I want to see for my preferred developer. So I again have to correct one sentence:

Correct, no doubt:

"There's no blu twrp without blu_spark kernel."

But the real story is:

"There's no OnePlus device without blu twrp and blu_spark kernel."

At least for me.
[OnePlus 6 & 6T Cross Device Development] Rebel7022:
Noooooooooooo, i live for Blu twrp, please keep making it. It's so simple to use.

(This is how you do it)

flashboot boot twrp-3.2.3-x_blu_spark_v9.85v2_op6.img

Then, flash the installer & reboot recovery . That's it.. is so simple.
[OnePlus 6 & 6T Cross Device Development] sansanc:
FYI:

Not sure if this was a TWRP or a kernel (franco) problem.

I had TWRP 32.3 mtp version. Installed blu spark's TWRP 9.85 v2. MTP was not working, so i installed the previous 3.2.3 mtp version. Not only MTP still was not working (but it did before), but now the phone always rebooted to recovery. Fortunately, i had a boot (kernel) partition backup, because i installed Flashkernel, the systemed booted, but something funky was going on.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Hehe touché :)

Thanks for the support mate!

Sent from my blu_spark'd OP6
[OnePlus 6 & 6T Cross Device Development] 3dawg:
Links are down for TWRP and Kernel it seems.
[OnePlus 6 & 6T Cross Device Development] AdrianM:
Works for me
[OnePlus 6 & 6T Cross Device Development] anhtin:
[MENTION=3873953]eng.stk[/MENTION] Thank you for the wonderful kernel, I have been a fan since my Oneplus 3T.

for latest v42, somehow the bokeh effect camera freezes the entire system. I had to manually restart via buttons. Didnt happen when I am on stock kernel. Please advise. I am currently on OB3. Thanks!
[OnePlus 6 & 6T Cross Device Development] LostGaijin:
Hi everyone, new here.

I have been having issues with the latest blu_spark install on my OnePlus 6 in that after install I can't boot to the the TWRP, it just stays on the stock bootloader and won't boot to Android at all. I'm running the latest image from OnePlus released last night (Android 9). Am I doing something wrong here? I've been following the instructions from the main page on how to fastboot to the blu_spark image but after a couple install attempts still no joy.
[OnePlus 6 & 6T Cross Device Development] Kevin86:
Just checking in to say I love your kernels :) Can't wait for the Pie version. Rock on \m/
[OnePlus 6 & 6T Cross Device Development] vtec303:
pie version of blu-spark is there since the time pie beta 1 was released, custom and OOS both, cheers.
[OnePlus 6 & 6T Cross Device Development] blaze9090:
There is no pie version for stable pie yet. New Kernel source that has not been released.
[OnePlus 6 & 6T Cross Device Development] Kevin86:
Don't try and flash it on the stable Pie OOS just released. It will bootloop, been there done that. Some other users also mentioned it earlier in the thread.

No stress, kernel surely will be here soon. Developing takes time ?
[OnePlus 6 & 6T Cross Device Development] kistedu:
Had same problem. If you press down the volume button whille starting, it will boot to twrp. Then just reflash stock rom.
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
And this is the first time I'm reading this after already spending 6 hours trying to unbrick lol.

Why is this not in any guide.. Thank you though, gonna use this next time..
[OnePlus 6 & 6T Cross Device Development] nikexv2:
But i think if you dont flash a pre patched boot image it wont work, fastboot can not patch a boot image.
[OnePlus 6 & 6T Cross Device Development] LostGaijin:
Thank you. So every time I restart the phone, do this? Until there is a more permanent solution?

EDIT: Also, is Blu_Spark the only official TWRP for Android 9 + OnePlus 6 or something?
[OnePlus 6 & 6T Cross Device Development] Terrigible:
People: NEVER flash a recovery.img unless told to do so. NEVER. Especially on A/B devices. If you need help with unbricking your OnePlus 6, I'll link some stuff in my Signature (soon).
[OnePlus 6 & 6T Cross Device Development] Rebel7022:
You totally got this
[OnePlus 6 & 6T Cross Device Development] thugslug:
Mate it's not in any guide because really, you don't need to. The device knows what slot it's running. If you don't know what you're doing specifying the slot could get you into more trouble.

Make sure latest drivers are installed.

Make sure latest fastboot installed.

The twrp.img file must be in the directory you're running the CMD prompt from.

Boot phone into fastboot mode. Starting screen with the green text on top is the right place.

Run fastboot devices and make sure it sees your device by returning the serial number.

The command is

fastboot boot twrpfilename.img

When it works it will reboot to TWRP image, where you flash the TWRP zip file permanently. It automatically flashes it to both slots all by itself. Check the log on screen when it's done.

You really should read the TWRP threads - they have all the instructions there. I'm getting sick of doing so in this thread and thread owner will be too.

Flash Magisk next before you reboot.

Have the TWRP img file in the right dir on your PC and the TWRP zip and Magisk in the root dir of phone before you start.
[OnePlus 6 & 6T Cross Device Development] Terrigible:
Yes. Someone who understands what to do.
[OnePlus 6 & 6T Cross Device Development] thugslug:
Great words there mate......

Shame all this TWRP stuff clogs up the Blu spark kernel thread, buy personally I think the Blu spark TWRP is one of the greatest things to happen for the OP6. Along with the kernel of course!

I'm so glad [MENTION=3873953]eng.stk[/MENTION] decided to put out the modded TWRP. Great work!
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
Yup that's exactly how I ended up doing it after the 4th try.

First time user of A/B partition phone, bricked it in first try ;)

Thanks for the detailed procedure, even though I updated successfully, i saved it to my notes for next time! :good:

And yes you're right this is a kernel thread. I just wanted to thank the other guy for the partition command.

But I guess I don't need the command since as u stated, it's not needed. So thanks for letting me know about that too :)

No more twrp talk. (After the next sentence I mean lol)

Apologies and thanks to [MENTION=3873953]eng.stk[/MENTION] for the beautiful sparkly twrp he created. I really love it!

Waiting for sources to drop so I can flash the kernel as well.

Cheers:svetius:
[OnePlus 6 & 6T Cross Device Development] thugslug:
Thanks. Also good [MENTION=5851457]Lord. Tech[/MENTION] listened to me. Good on you mate for getting there in the end. Happy to help

If you read up first and pay attention to the detail it works just fine.
[OnePlus 6 & 6T Cross Device Development] Lord. Tech:
:laugh: I'd listen to someone trying to help. Which I know you are, even if you're "getting sick of doing so" lol.

Appreciate the tough-love.
[OnePlus 6 & 6T Cross Device Development] Vuska:
Hi.. Please help.

Using latest bluespark v2, and flash OOS 9 stable from stable 5.1.11, already made a nandroid backup first, but it got bootloop like... Stay only in circle dot.

Then i restore that backup.

But it only take me to bluspark twrp.

And then i see all my sdcard content only folder like with weird characters.

Please help to restore my internal sdcard

Thank you
[OnePlus 6 & 6T Cross Device Development] refedit:
Try to fastboot boot recovery. Then flash TWRP.zip and reboot to recovery.

Then flash oos 9.0 and right after TWRP.zip and reboot recovery.

Then flash magisk 17.1 and restart system
[OnePlus 6 & 6T Cross Device Development] Vuska:
Thats the way i do when flashing oos 9, and it bootloop.. thats why i restore my nandroid backup.

and

is that your way will make my internal sdcard readable again? and not lost my content?

or it just to make my phone boot and lost my sdcard content?
[OnePlus 6 & 6T Cross Device Development] Terrigible:
You don't lose any data.
[OnePlus 6 & 6T Cross Device Development] refedit:
If you're decrypted, flash dm-verity after magisk
[OnePlus 6 & 6T Cross Device Development] Vuska:
Thanks.. will try after i got home..

i never do any decrypted process... only unlock bootloader to install twrp and magisk only.

so.. is that need to flash dm-verity?
[OnePlus 6 & 6T Cross Device Development] refedit:
Well I never decrypted phone till last week. Seems phone works better.

To mention that I completely erased storage with msmDownloadTool so everything works fine.

It's up to you now :highfive:
[OnePlus 6 & 6T Cross Device Development] Flasher8:
https://github.com/OnePlusOSS/android_kernel_oneplus_sdm845/tree/oneplus/SDM845_P_9.0

Soources is here :D
[OnePlus 6 & 6T Cross Device Development] mitas35:
Can't wait , first time blue s. Kernel for me.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Seems like the source for Pie is already unified...

Expect 1080 x 2340 6.4" Samsung amoled, under display fpr by Silead, 3700mAh battery, USB 3 connection, no jack, similar OP6 SoC/RAM/Storage/cameras... we'll see!

Start saving for the 6T ;p
[OnePlus 6 & 6T Cross Device Development] Sauronych:
I think I'll stick with my OP6, thank you very much :P
[OnePlus 6 & 6T Cross Device Development] Jeik:
Same, I hope people won't hop over form the 6 just because of the in-screen fp sensor and a bit bigger battery.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
blu_spark r45 (Android 9.0)

All right crew!

New build is up :highfive:

Also checkout latest recommended blu_spark extras with blu_twrp v9.85 v2 (Oreo and Pie support).

Here we go for the first stable Android Pie builds :)

Also there's some issues with settings auto inject, so you must use the Magisk 17 blu_settings v1.4 module in the meanwhile.

This is only for Pie ROMs!

blu_spark_r45-oos-pie_op6_d4bbe76.zip

blu_spark_r45-custom-pie_op6_4e99594.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 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 [emoji6]
[OnePlus 6 & 6T Cross Device Development] Veestaai:
Why does the kernel close the background apps so aggressively? Only keeping 2-3 apps in background. Any solution for that?
[OnePlus 6 & 6T Cross Device Development] brmbjn:
How about twrp ?
[OnePlus 6 & 6T Cross Device Development] cultofluna:
Thanks for the kernel

Are you still rocking fastlane ?...
[OnePlus 6 & 6T Cross Device Development] brunsman6229:
Hello, what about battery life with this kernel ? is it better than stock..?
[OnePlus 6 & 6T Cross Device Development] samteeee:
[MENTION=3873953]eng.stk[/MENTION]

Thanks a lot for sharing.:good::good:
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Does it happen with stock? I didn't change anything related to that.

Only thing changed related to memory is disable swap, which seems not be used at all on this device.

There's some Magisk modules to have more apps in memory and such.

This device will be hard to tweak that kind of stuff and other usual ramdisk tweaks because skip_initramfs
[OnePlus 6 & 6T Cross Device Development] Veestaai:
I don't think this happens on stock. Definitely some issue with the kernel.
[OnePlus 6 & 6T Cross Device Development] eng.stk:
My apps stay on the last exit state and I have more than a dozen runnning, so let's not jump into conclusions.

Will need more solid info on that.
[OnePlus 6 & 6T Cross Device Development] djrocks:
[MENTION=3873953]eng.stk[/MENTION] good to see you here mate. Fast lane has arrived on OP6 :)
[OnePlus 6 & 6T Cross Device Development] brunsman6229:
Please, what about battery life with this kernel please ? Better than stock...?
[OnePlus 6 & 6T Cross Device Development] Muntasir Mahmud Saif:
yes
[OnePlus 6 & 6T Cross Device Development] sarthakspiker:
First off, it is so great to see you here sir [MENTION=3873953]eng.stk[/MENTION], I'm still rocking your version of twrp on my oneplus X and it's pretty solid. Love your work and so happy to see you here.

Can we expect a twrp for this device too? :)

Official is already out. And Somehow you managed to get twrp to flash stock updates on oneplus x, if that would be possible it will be awesome.

Anyway, that doesn't stop me from flashing the kernel asap. Thanks again :)
[OnePlus 6 & 6T Cross Device Development] Rebel7022:
Do I need to install busybox or does this kernel come with busybox
[OnePlus 6 & 6T Cross Device Development] eng.stk:
I don't pack any tools on installer, it's only kernel stuff.

If you need that install on your own (there's probably a Magisk module for it).

Sent from my blu_spark'd OP5/5T
[OnePlus 6 & 6T Cross Device Development] kkandy:
He already said that TWRP is not planned right now.
[OnePlus 6 & 6T Cross Device Development] kagwind:
Nice to see you here, eng.stk! :)

Switching from Nexus 5, I was hoping that OP6 would also get some love from you. Now the dream comes true! :silly:
[OnePlus 6 & 6T Cross Device Development] eng.stk:
Nice to see so much familiar faces around here :)

Enjoy the ride mate!

Sent from my blu_spark'd OP5/5T
[OnePlus 6 & 6T Cross Device Development] habylab:
Good to see you here!
[OnePlus 6 & 6T Cross Device Development] donaldnottrump:
awesome work , battery life is much better than stock kernel