yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] eng.stk:
blu_spark r147 OB unified

All right crew!

New OB build is up. Wicked!

Because of latest TWRP changes, you'll need to use latest TWRP 3.1.0-1+ or flash my unified TWRP 3.1.1-x blu_spark v37 (recommended). Any other versions will not have full support for the kernel and the installer.

Also take a look to the rest of blu_spark v37 extras to get some nice and useful additions to the kernel.

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) or OB.

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.

If you like my work, donations are always welcome (but not mandatory).

Don't forget to hit thanks and rate the thread nicely, it's free ;)
[OnePlus 3 & 3T Cross Device Development] drive2droad:
Is this build exclusively for the latest OOS Beta only ? will flashing on the stable OOS cause any issues ?
[OnePlus 3 & 3T Cross Device Development] bipinbedi:
I am using official OOS, flashed this build and no issues, it is working superbly
[OnePlus 3 & 3T Cross Device Development] Vixiebalistic:
I dont know if there is difference or not, but 4.1.6 source has been released also
[OnePlus 3 & 3T Cross Device Development] bipinbedi:
Hey OP, I am using your kernel from 3.5.4 OOS and recently started using on OOS too. The speed and performance of your kernel is awesome, but one major concern I must share with you is that the apps like kernel Adiutor, truecaller, supersu, my data manager, and many other apps that are bound to start on boot don't start automatically. These apps are needed to be started manually and I have also attached the screenshot for the same which did show that they receive the boot completed state but don't start on boot. The same issue persists with stock kernel and so far what I have found is that it is kernel related only.

I am going to report the same on ONEPLUS forums too as what I feel is that it has something to do with official kernel source.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
You need to whitelist them or don't optimize them and turn off advanced optimizations to run unaffected by doze

Settings > Battery > Battery Optimizations > Don't optimize (ones you want to run on boot)
[OnePlus 3 & 3T Cross Device Development] sarus_b:
I appreciate your help but even that option isn't helping... That issue he mentioned started on 4.1.3 I guess.. It's also interesting to know that some apps start at boot like the Acr calls app in ss below, but many don't. I doubt kernel has to do something with it..
[OnePlus 3 & 3T Cross Device Development] Scarface1991:
R147 works flawlessly with the newest Open Beta.

As always great job [MENTION=3873953]eng.stk[/MENTION]
[OnePlus 3 & 3T Cross Device Development] bipinbedi:
I tried that out and nothing works, plz fix this issue on top priority.

Edit: Another thing I would like to share is that the apps that are optimized are starting on boot, may be this is very aggressive behavior and something is not working properly.
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Apologies for OT [MENTION=3873953]eng.stk[/MENTION]

First of all let me clarify that this behavior is not kernel related, so should not be discussed here as OP is sensitive towards OT.

Appreciate your feedback and I will forward the same to the rom team, I would also request you to report the same using the feedback app.

This feature was marked as experimental and has been hidden since beta4 as far as I remember, a workaround that I use is as follows:

* Required Nova Launcher

Widgets > Activities > Message Centre > Apps Auto Launch

PS: Select as desired, reboot and test. Please move this discussion to my beta or stable thread in the Guides section.

[MENTION=3873953]eng.stk[/MENTION] BTW the latest r147 is flying for me on the Test Beta. Many Thanks for synchronizing the beta codes to the update, making blu my preferred kernel yet again [emoji6]

Sent from Funk Tuned 3T
[OnePlus 3 & 3T Cross Device Development] Floydfire:
Wait did I missed​ something? Now ob has source or is just a new Wicked ob build?
[OnePlus 3 & 3T Cross Device Development] Dieppy:
OP published kernel sources for beta build
[OnePlus 3 & 3T Cross Device Development] Chaplan:
Been looking for both these options on OB since the OB15/4 release.

Great to get back in control of those options.

Updating from Stable to OB always transported my auto lauch settings over to the OB build, but as I installed new apps I could not either add new ones to the list or revoke the old ones I had added before moving to OB.

I have been under the impression that those settings were working but not exposed on the android settings, looks like that is the case alright.

Kind of strange you state these features to have been marked as experimental because they were already present on stable aswell. I was really missing them on OB.

This is a nice topic for discussion, I will excuse myself from keeping the OT going and will head to your thread to see if any more info comes out of it.

I will add only that this is kernel unrelated, not to you of course, but to the user who is blaming all the kernels he can find for not being able to autolaunch apps.
[OnePlus 3 & 3T Cross Device Development] sarus_b:
Thanks for pointing that out. I already knew about that option but had completely forgotten about it. :eek:

I discovered it long ago when I was searching through some settings. The apps auto launch can be accessed by searching it in settings too. Tried those settings and it worked. :good:
[OnePlus 3 & 3T Cross Device Development] terragady:
Is it a flash&forget kernel or I need to optimize it somehow?
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Flash and forget mostly but many people would recommend using kernel adiutor to enable Fastlane under bluactive governor settings.
[OnePlus 3 & 3T Cross Device Development] bipinbedi:
Hi OP the weird behavior was not due to kernel but due to some new features added in OOS that aggressively kills the apps and doesn't allow them to start on boot.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
You can use on stable, from our testing is good.

The stuff related to gestures and ambient display could be affected but fortunately they aren't.

It's all solid.
[OnePlus 3 & 3T Cross Device Development] drive2droad:
An awesome build & works perfectly on the stable OOS Build 4.1.6.
[OnePlus 3 & 3T Cross Device Development] infatality:
Sorry if this had been asked before.. But what does fast lane actually do?
[OnePlus 3 & 3T Cross Device Development] NickosD:
Search
[OnePlus 3 & 3T Cross Device Development] Floydfire:
The ob kernel suffer of the same issue as the stable. Can we please do something or I need to donate to have bugfix done properly?
[OnePlus 3 & 3T Cross Device Development] agayabag:
Well at least the dev kept his promise, hahaha
[OnePlus 3 & 3T Cross Device Development] MrMeeseeks:
Donating doesn't mean you get to demand things from the dev. It is to show your appreciation for the time and work they put into giving you things like awesome kernels.

That being said, [MENTION=3873953]eng.stk[/MENTION], do we have kernel sources for the beta kernel? You know, for us cherry-pickers.
[OnePlus 3 & 3T Cross Device Development] La Yung:
Question

How to enable fastlane and how dose it work?
[OnePlus 3 & 3T Cross Device Development] juliusedward:
The bug :D
[OnePlus 3 & 3T Cross Device Development] MrMeeseeks:
Oh that bug.... Completely flew over my head. My apologies [MENTION=4233428]Floydfire[/MENTION]
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
You can enable it in any Kernel manager under governor settings if you're using the Blu active governor. For how it works use search.
[OnePlus 3 & 3T Cross Device Development] equlizer:
go into settings and at the top search bar type "optim" then choose battery optimisation/battery optimisation then click on all apps then scroll down to whatever app you dont want optimised.
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Bet you money they are saving all beta features for the OP5 release
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Someone knows what exactly is this?..
[OnePlus 3 & 3T Cross Device Development] Chaplan:
https://xdaforums.com/showpost.php?p=70882325&postcount=3064

Search next time.
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Thanks ...

Comment was not necessary ...

Next time.keep it for yourself.....
[OnePlus 3 & 3T Cross Device Development] Chaplan:
Don't count on it!

I searched for you in case you haven't noticed.

And I shall comment as I wish FYI.

So use search button next time, it actually helps a lot in keeping the thread clutter free.
[OnePlus 3 & 3T Cross Device Development] Xennet:
Search the thread before you post has been mentioned a 100 times before in this thread...

Don't think it to be taken badly when someone asks you search the thread before posting..

It's equal for everyone whether you are a new member, senior, super senior or a recognised contributor...

As said by [MENTION=774530]Chaplan[/MENTION] helps to keep the thread clean...
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Posting a link you call it help ??...come on....!!....

I can also use Google.....

Anyway.....
[OnePlus 3 & 3T Cross Device Development] A Sad Napkin:
[MENTION=774530]Chaplan[/MENTION] is correct. Use search next time. And stop arguing. You're in the wrong. Stop with the OT unless you want this thread locked.
[OnePlus 3 & 3T Cross Device Development] Mostafa Wael:
In my opinion, that is not needed. It is just an extra 30-sec turbo boost frequency that will make the phone throttle faster. ;)
[OnePlus 3 & 3T Cross Device Development] eng.stk:
If you mean support like working, yes it works.But that's about it.

I only officially support stable builds.

Nope.
[OnePlus 3 & 3T Cross Device Development] francise:
it work with h2os 2.5 ?? :3
[OnePlus 3 & 3T Cross Device Development] Mostafa Wael:
Thanks for your answer. Sure i am aware that there won't be any official support from you.
[OnePlus 3 & 3T Cross Device Development] Sytis:
Still got problems with root (systemless and systemmode) and f2fs. A few releases back you added "selinux: whitelist f2fs", has this something to do with this issue? If someone already fixed it or has another place to ask for (seems to happen with arter97's Kernel and f2fs as Well) please answer.

Thanks in advance :)
[OnePlus 3 & 3T Cross Device Development] eng.stk:
No.

And I use f2fs with systemless SuperSU nicely on OOS 3.2.4.

Format your partitions and start over (I don't use encryption btw).
[OnePlus 3 & 3T Cross Device Development] Sytis:
I don't use encryption either, and already reformated everything :rolleyes:

Just realised that there are some leftover in /supersu which might cause issues. But if you can run this setup, I'll try again until I can aswell ;)
[OnePlus 3 & 3T Cross Device Development] Chris.nl:
[MENTION=3873953]eng.stk[/MENTION] what are your recent thoughts on bringing undervolting to this kernel? I know it's not really necessary or needed, but I would undervolt if available. Just to squeeze a little more SoT out of the battery.
[OnePlus 3 & 3T Cross Device Development] cloudx720:
f2fs is overrated ?
[OnePlus 3 & 3T Cross Device Development] eng.stk:
I only had issues with systemless on custom ROMs, never in OOS.

I run systemles with f2fs on OOS since day 1.

Format the partitions in fatsboot, flash twrp, flash stock OOS and then go to twrp and convert ot f2fs.

Works for me.

Undervolt doesn't save battery, kinda pointless in uor device since msm8996 runs cool (main advantage of UV) and runs light on battery.

Never seen it in any big.LITTLE SOCs actually.
[OnePlus 3 & 3T Cross Device Development] Sytis:
I'm also on stock OOS without any mods apart from your Kernel and f2fs.

I know this is not directly kernel related but I don't know where else i could ask, so:

I'm unable to obtain root because the Installer fails at patching the RAMdisk. Before i tried to root i formated /cache and /data as f2fs using the latest TWRP by eng.stk.

So just to clarify, what else do i need to format in order to wipe clean all traces of root leftovers and possible culprits? I guess the fastboot procedure is

fastboot format cache
fastboot format userdata
fastboot format system

and then whilst in TWRP, format data and cache as f2fs then flash OOS Stock ROM, flash blu_spark and last flash SuperSU. Right?

Hope someone could help... :fingers-crossed:
[OnePlus 3 & 3T Cross Device Development] OmerElbaz:
How does the Systemless/Normal Xposed affects battery life exactly?

Which is better, and why?
[OnePlus 3 & 3T Cross Device Development] eng.stk:
No, it isn't kernel related and apart from what I already said there is not much to do.

Yes that's the procedure.

You can also:

fastboot erase boot

fastboot erase cache

fastboot erase system

fastboot erase userdata

Then go to twrp and convert to f2fs.

Reboot to twrp (to mount correctly the partitions) and mount MTP (to copy the zip of OOS 3.2.4, SuperSU and blu_spark)

Then flash OOS + SuperSU + blu_spark

Other than this, nothing I can do for you.

This is not a xposed thread ( I don't even support setups with that installed).

Use the proper thread for that, this is a kernel development thread.
[OnePlus 3 & 3T Cross Device Development] Stroky:
What do you guys think about this?

Maybe switch to cfq?

https://youtu.be/dSknEcbxg74

Gesendet von meinem SGP511 mit Tapatalk
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Nope, there's something very wrong on that test.

fiops is faster than everything else in every device I tested.
[OnePlus 3 & 3T Cross Device Development] nadejo:
To be precise with read ahead 3072 its even better....
[OnePlus 3 & 3T Cross Device Development] Flamehell:
[MENTION=3873953]eng.stk[/MENTION] Tnx for this amazing kernel bro!!!Running xfect!:)
[OnePlus 3 & 3T Cross Device Development] immi803:
CM compatible

is it Cm compatible?:D
[OnePlus 3 & 3T Cross Device Development] donmargarito:
hi, I wanna give a chance to this fantastic kernel but I have a question, I am looking for stability, smoothness and if possible some power friendly, for that I have to use the default setup? or should I change something?

Thank you for your help and congratulations for your work [MENTION=3873953]eng.stk[/MENTION]
[OnePlus 3 & 3T Cross Device Development] Flamehell:
Default bro..and go for it at full speed :)
[OnePlus 3 & 3T Cross Device Development] fbf2201:
And why didn't you do so and asked for special spoonfeed treatment instead?
[OnePlus 3 & 3T Cross Device Development] NickosD:
Thread police have arrived. Seriously, calm down some of you.
[OnePlus 3 & 3T Cross Device Development] Chaplan:
I was under the impression that you thanked for the "search service" I provided you before going sideways over the search comment.

Open the link. It's all in there.

The article has all the info you need to understand that setting. Not posted by me, but Dam, I found it searching haven't I?

Would be redundant to add anything to it.

Hence my search comment.

If you disliked it don't thank me next time.

And I never called it help, what I said, and I quote myself:

And you don't even need to turn to Google, XDA has its own search box.

I'll excuse myself for the OT now, just because I have good manners!
[OnePlus 3 & 3T Cross Device Development] antoniobarros:
Wq power saving

Sorry but I do not see it: wq . I use EXKM.

I try search button but nothing about it.

I'm in #145 flashed with blue spark TWRP.

What wrong?

Thanks for answer.
[OnePlus 3 & 3T Cross Device Development] marf28101995:
Lol we just talked about it last page

Go troll somewhere else lol
[OnePlus 3 & 3T Cross Device Development] antoniobarros:
Maybe because of my bad english you did not understand my question. Does not appear in the EXKM app this option wq power saving . I do not understand why.

Another person has asked what is wq. I asked why it does not appear in my app!

is my question now more clear? I hope.....
[OnePlus 3 & 3T Cross Device Development] marf28101995:
I have it using the app v3.20

So it's something in your setup
[OnePlus 3 & 3T Cross Device Development] antoniobarros:
Thank you for your patience ..simply EXKM was not updated ...now all ok.. option appar...
[OnePlus 3 & 3T Cross Device Development] Nemelo:
Omg, This kernel is a gift from heaven! The most smooth and battery friendly kernel I have used so far. It's amazing work worth supporting. Thanks [MENTION=3873953]eng.stk[/MENTION] for this and God bless your brilliance!
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Thanks for the support and the kind words :highfive:

Enjoy!
[OnePlus 3 & 3T Cross Device Development] vijaytechno21:
can i install this on oos 3.5.4 mm build?
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Short answer: no.

Long answer: search and find the latest MM build.

Keep in mind that I only give support to latest builds,not deprecated stuff.
[OnePlus 3 & 3T Cross Device Development] Dashing_97:
Idk what this problem is related to, i am using this kernel with open beta 9 and i have an issue where google maps doesnt detect my location with high accuracy.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Nope, works fine, not kernel related.

Refrain from posting ROM related stuff, specially without logs and when using unsupported beta/custom ROMs.
[OnePlus 3 & 3T Cross Device Development] Xennet:
No problem here on stock OOS 4.1.6

I don't think kernel has anything to do with your location detection by gmaps..

This is pure non related stuff...

And I still believe the bluspark has nothing to do with your location accuracy...

Most common problem related to inaccuracy of GPS is due to wrong calibration of compass settings...

Recalibrate your compass settings...If still not working may be a hardware problem..

Why is bluspark kernel taking all the fault even though it has all the goodies in it....???

Hah!!! may be due to KARMA...or I don't get it...
[OnePlus 3 & 3T Cross Device Development] sai444:
What's the stock frequency for little clusters? Is it 1.6ghz or 2.1ghz? It seems to be at 1.6ghz in this kernel. But there's also choice to set it to 2.1ghz( kernel auditor) but doesn't get applied.

I am asking this because I think this kernel doesn't support for OC.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Depends on your device. The op3 standard speed for little cluster is 1.6 on the op3t it's 2.1.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Nope, default stock little max freq is 1593MHz in both devices.

You can choose 2.1GHz on little but you'll probably need to disable perfd and/or touchboost or else it will back down to the stock default probably
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
FYI: [MENTION=3873953]eng.stk[/MENTION] Official TWRP updates to 3.1.1.2, Looking forward to the Blu Spark Goodies ;)

OP3T | OP3
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Old news ;p As it is, probably is already more recent than that.

edit: or at least on pair ;p But maybe later I'll cook something with some more recent upstream goodies.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Thank you for the clarification. That's what I had been told by other devs, so my fault.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
On MM it would stick the max 2.1GHz on the little, but on N some power HAL stuff behaves a little different.

But 1593MHz was always the default for both devices in OOS and most custom ROMs (unless someone overrides it).

From my testing,using 2.1 in little doesn't benefit UX, on the contrary.
[OnePlus 3 & 3T Cross Device Development] abalam:
[MENTION=3873953]eng.stk[/MENTION] a question. Wifi strange/ signal etc kernel related? Just a question ?
[OnePlus 3 & 3T Cross Device Development] eng.stk:
There's nothing wrong with wifi/signal or the likes.

If your question is why going from OOS to a custom ROM signal is a little different, it's because the way stuff is measured on the ROMs.

Not really kernel dependent (if using the same wifi drivers, which is my case).

On the other hand, most signal/ radio stuff is kernel agnostic.
[OnePlus 3 & 3T Cross Device Development] ndarkside93:
Thank you for the clarification. It makes a lot of sense
[OnePlus 3 & 3T Cross Device Development] harryfornasier:
Best fastlane settings to start of at? And should big cluster have a higher fastlane setting than little?
[OnePlus 3 & 3T Cross Device Development] laupuy:
Hi,

you can start to 50 for both clusters, it's good and conservative. Or lower to 35 for both for better performance.

Make a search, it has been already discussed.

;)

ex. here: https://xdaforums.com/showpost.php?p=72012239&postcount=4510
[OnePlus 3 & 3T Cross Device Development] harryfornasier:
When you say make a search, do you mean go through every page to look for it or is there an easier way?
[OnePlus 3 & 3T Cross Device Development] panart:
Leave it at default (50) for balanced speed and battery life or play with it and see what suits you better. The lower you set fastlane threshold (e.g. 35) the snappier your phone will be but that might affect battery life. Personally i leave it at default threshold. Anyway it's most probably been discussed extensively before so do a search and see what more info you can find.
[OnePlus 3 & 3T Cross Device Development] laupuy:
for exemple: search fastlane conservative (top right) and result https://xdaforums.com/search/thread/3404970?query=fastlane conservative

then go to https://xdaforums.com/showpost.php?p=72012239&postcount=4510
[OnePlus 3 & 3T Cross Device Development] Funk Wizard:
Its coming ....

https://github.com/OnePlusOSS/android_kernel_oneplus_msm8998

https://github.com/OnePlusOSS/android/tree/oneplus/QC8996_N_7.1

https://github.com/OnePlusOSS/android_vendor_oneplus_8998N
[OnePlus 3 & 3T Cross Device Development] marf28101995:
??:highfive:
[OnePlus 3 & 3T Cross Device Development] Diaze:
What is that ?
[OnePlus 3 & 3T Cross Device Development] marf28101995:
Source for op5
[OnePlus 3 & 3T Cross Device Development] sharath_babu:
Why should 3t owners be excited about op5 source code??
[OnePlus 3 & 3T Cross Device Development] cultofluna:
Because we're going to upgrade to OP5....!!

so simple.....

.
[OnePlus 3 & 3T Cross Device Development] eng.stk:
Let's keep the thread on topic, shall we?
[OnePlus 3 & 3T Cross Device Development] Stephen:
Thread cleaned. OP wants zero off topic on this thread, please respect his wishes.
[OnePlus 3 & 3T Cross Device Development] Aldideos:
Hi, I installed your latest Twrp(v37) but I have a problem when I wanto to reboot or turn off my device from recovery... Pressing reboot, reboot-system, reboot-recovery, turn off or other like that the twrp freeze and I have to force the power off.. Is it normal?
[OnePlus 3 & 3T Cross Device Development] sakumaxp:
No
[OnePlus 3 & 3T Cross Device Development] infatality:
[MENTION=3873953]eng.stk[/MENTION] Came across this. Don't know does it affect your kernel. Latest beta source has a bug according to this.

https://xdaforums.com/showthread.php?p=72744699
[OnePlus 3 & 3T Cross Device Development] marf28101995:
It's beta software so most of the times it will have bugs

Let's see if one plus fix that for the next beta update because I think it's ok in the last stable 4.1.6 already
[OnePlus 3 & 3T Cross Device Development] infatality:
If you have read the following post in that thread. This bug will cause the kernel to panic and turn black screen. It's a matter of time before user would make a fuss out of it. Better be safe than sorry.
[OnePlus 3 & 3T Cross Device Development] marf28101995:
And what op Blu spark means by no support for betas means for you ? No support is simple if you use it you're on your own to solve problems let's wait and see one plus because the issue is not present in stable oos like I said