yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] eng.stk:
blu_sp★rk r108

All right crew!

New builds are up :highfive:

fastlane for blu_active is here with freq step selection method:

0: default conservative operation aka smooth mode

1: fast operation mode aka damn smooth mode

blu_plug also updated with up_threshold value to be a bit more lazy and match hi_speed load.

Also this build features lot's of nice updates from CAF and Nexus upstream.

CM beta is also updated, this test build is aimed for Marshmallow 6.0.1 ROMs.

If you flash in CM 12.1 you will find broken stuff, just use an old build (r98).

Keep in mind: I will give no support for betas. I am only interested on debugging stuff in OOS.

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

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, it's free ;)
[OnePlus X Original Android Development] Chris.nl:
U just keep on pushing updates :highfive:

I've got a rocksolid 149 hrs uptime since r104 last update, not one reboot needed.
[OnePlus X Original Android Development] ironwick:
OMG! It seems to be a huge update (r108). :)

Your work is absolutely awesome [MENTION=3873953]eng.stk[/MENTION] thanks a lot!!
[OnePlus X Original Android Development] eng.stk:
Massive mate!
[OnePlus X Original Android Development] :
Strangely, had to swap BACK and MENU in Generic.kl since r108. Flashed on OOS 2.2.0 over r104, wiped cache and dalvik. Tried swapping the buttons in the OOS options, with no success.

Only worked after swapping lines in Generic.kl *and* swapping as well on OOS options, Buttons section.
[OnePlus X Original Android Development] eng.stk:
You don't have to change nothing, already talked about this a couple times, TWRP related.

Search is your friend.

http://xdaforums.com/showpost.php?p=65727598&postcount=1227

http://xdaforums.com/showpost.php?p=65727967&postcount=1228
[OnePlus X Original Android Development] :
I actually tried searching but failed to do so (only found the post where someone changed Generic.kl). Anyway, you're right, it is TWRP-related and got solved by booting (again) into TWRP and then into OOS.
[OnePlus X Original Android Development] MarkoPam:
I had 700hrs uptime with r91 build( UV -60v). Was thinking to go further but couldnt resist flashing marsmallow and new versions of sultans hal.

This stuff/kernel is amazing, it was smooth all the time, no problems.

Thank you [MENTION=3873953]eng.stk[/MENTION] :highfive:
[OnePlus X Original Android Development] Xyam:
I can confirm that it is an issue with the OS. No WIFI speed drop in stock OOS with your kernel when BT is ON.
[OnePlus X Original Android Development] Chris.nl:
Yup, the only thing keeping us from real record uptimes are those nice updates devs give us..
[OnePlus X Original Android Development] RWBY:
Hai [MENTION=3873953]eng.stk[/MENTION] , just wonder if you are pushing the same update of oos for cm13 too since you said you only focus to debug oos ?
[OnePlus X Original Android Development] OnePlusXDA:
Both OOS and CM are updated simultaneously. No support for CM is offered, it's just an extra gift.

This kernel just keeps getting better. Thanks eng.stk
[OnePlus X Original Android Development] Calvin2394:
Thanks for the update!

Could you please add the Kexec hardboot patch for MultiROM to work? :)

Boeffla already did it. Works well on kernel side, the MR part is being fixed.
[OnePlus X Original Android Development] Cookie Ninja:
Running 104 on OOS 2.2-X, on my A-1003. Will this work on H2 OS also?
[OnePlus X Original Android Development] Portgas D. Ace:
Read this post.
[OnePlus X Original Android Development] FingolfinTheEldar:
Does this kernel works with CM13? If someone has it with that rom: how much is better than the stock one? Thanks
[OnePlus X Original Android Development] 73IGH:
Read OP
[OnePlus X Original Android Development] Cookie Ninja:
Ah! Didn't see that. Thanks...
[OnePlus X Original Android Development] eng.stk:
Not quite the same, but some updates apply to both branches yes.

Even to my N5 branch.

Well some people also have issues with bluetooth when Wifi on in stock OOS.

The rrot cause yet to be determined, but not kernel related nevertheless.

I don't think so, project doesn't seem to have much support, not quite updated and so on.

I will not add something that is not 100% solid.
[OnePlus X Original Android Development] Calvin2394:
[MENTION=3873953]eng.stk[/MENTION] Thanks for your reply.

DavyA as well as another dev is working on it, I'll alert you when it's 100% :good:
[OnePlus X Original Android Development] sydeu:
Today after installing r108 and latest camera HAL from sultan my battery was horrible. It drained the remaining 60% with less than 1 hour of screen time and no usage at all. Very weird, we'll see tomorrow if things have calmed down again. I use cm13. I was on r104 and 7 march camera HAL before this.
[OnePlus X Original Android Development] eng.stk:
Not kernel related.
[OnePlus X Original Android Development] sydeu:
You know better than me of course so I trust you. It was just weird, have had no battery problems earlier and those were the only changes. Battery life for the first 40% were as good as usual. Battery stats didn't show anything draining it either, it just went down fast and hard for no apparent reason. Hopefully just a fluke and things settling in or something.
[OnePlus X Original Android Development] Addys123:
Battery is draining a lot after r108. I lost 40% in an hour.
[OnePlus X Original Android Development] ChavitoArg:
Check your stuff, kernel is rock solid.

Enviado desde mi ONE E1005 mediante Tapatalk
[OnePlus X Original Android Development] Sathya241288:
Google App drained my battery a lot. Adjust the settings for this app .it may help you
[OnePlus X Original Android Development] FingolfinTheEldar:
How does the USB fast charge works exactly? Is it dangerous?
[OnePlus X Original Android Development] eng.stk:
Just a switch to turn on USB controller to hi power mode.

If you USB port support more than 500mA, it will use whatever the port can put out.

If it only supports 500mA, it will use 500mA
[OnePlus X Original Android Development] jonrodz:
crDroid x Bluspark.

Fast. Smooth.
[OnePlus X Original Android Development] kethsawant:
Even i am facing a battery drain on V108 ,What changes in google app setting should be done pls assist
[OnePlus X Original Android Development] Sathya241288:
I disabled the permission like location request, keep awake and used amplify app to allow it every 1hour once.
[OnePlus X Original Android Development] eng.stk:
There is no drain caused by kernel.

Now stop this ROM OT talk.
[OnePlus X Original Android Development] sankarshan:
If I'm coming from other custom kernel , is it enough of I *Just* flash this kernel?
[OnePlus X Original Android Development] Mojar7070:
No, you will need to flash stock FULL rom first and then Blu spark kernel.
[OnePlus X Original Android Development] sankarshan:
Thank you. But, I flashed it over other kernel since I was impatient. :P

PS: But, even if I flash stock full rom, I would be flashing this one on a kernel right?
[OnePlus X Original Android Development] Mojar7070:
This is from the OP on the very first page, where you should've read first.

Warning: If you come from other kernel, you should dirty flash your ROM before flashing blu_sp★rk zip to avoid problems.

Reflash ROM -> flash SuperSU -> flash blu_sp★rk.

Also uninstall or clean data of any kernel control app you're using.

You're not just flashing the kernel, there are other files effected. If you start having problems, [MENTION=3873953]eng.stk[/MENTION] will not give support unless you follow the instructions correctly.
[OnePlus X Original Android Development] sankarshan:
Okay.. Thank you. Sorry , I somehow missed that.
[OnePlus X Original Android Development] Addys123:
Amazing battery life on r108. Awesome kernel.
[OnePlus X Original Android Development] awildsloth:
What ROM are you using?

Enviado do meu ONE E1003 através de Tapatalk
[OnePlus X Original Android Development] Kéno40:
"Same" for me.

Nearly 2 days, 30% remaining. 4H SOT.

I just use one, but I think it's a must have for the one who are on 2 SIMs.
[OnePlus X Original Android Development] Addys123:
Stock ROM.
[OnePlus X Original Android Development] awildsloth:
Nice :D I just flashed 108, let's see how the phone behaves.

Enviado do meu ONE E1003 através de Tapatalk
[OnePlus X Original Android Development] Kéno40:
For the record, I use the stock rom too, but with Xposed with Amplify & Greenify modules.
[OnePlus X Original Android Development] awildsloth:
Nice! Also, what Xposed files did you flash? I'm too afraid to **** up even though I already backed-up my files.

Enviado do meu ONE E1003 através de Tapatalk
[OnePlus X Original Android Development] Addys123:
Just flash the zip in twrp and install the xposed installer apk.

https://drive.google.com/folderview?id=0B1ZqPibeQIp-WUE5SzQyZEdFcEU
[OnePlus X Original Android Development] bindaasdude99:
Hi guys, just flashed this kernel.

Can anyone recommend any settings in the kernel adiutor to conserve some battery?
[OnePlus X Original Android Development] nihilista:
I'm using standard settings which are very good for battery as far as i see, but you can lower maximum cpu frequency or max online cores to save more with cost of less performance.
[OnePlus X Original Android Development] sniper20:
The cm kernel is compatible with Android 6??

Omicron Technics
[OnePlus X Original Android Development] neopbm:
Yes
[OnePlus X Original Android Development] Manelit:
[MENTION=3873953]eng.stk[/MENTION] can i ask you a favor? Could you kindly update your kernel so it functions correctly with the new CM13 update please?
[OnePlus X Original Android Development] eng.stk:
What's wrong?

I can't update stuff everyday since it's always changing...
[OnePlus X Original Android Development] Manelit:
The tap to wake feature and the vibration..when setting it to certain value it does not work. Sorry, it is just a favor..if you dont have time dont worry but the vibration is just an important feature.
[OnePlus X Original Android Development] eng.stk:
The vibration is a ROM regression, nothing to do with kernel.

The D2TW you can change

key 143 WAKEUP VIRTUAL

to

key 116 POWER VIRTUAL

on file /system/usr/keylayout/synaptics-rmi.kl

You can control the tunables with Kernel Adiutor if ROM controls don't work also.
[OnePlus X Original Android Development] Fotios Sikalias:
I flashed blue spark 3 days ago and I must say that the smoothness is real nice and noticable. What is also noticable though is my reduced SOT :/ Did that happen to anyone else or just me? (i think i lost about half an hour SOT)
[OnePlus X Original Android Development] sankarshan:
For me it's about 0.5 hr more than what is used to have with stock kernel :P
[OnePlus X Original Android Development] Fotios Sikalias:
How much did you have before flashing it? In my case it was 4+ before now close to 4.
[OnePlus X Original Android Development] RWBY:
We dont talk sot here. This will make eng.stk annoying. There are many thread you can ask about sot.

Cheers
[OnePlus X Original Android Development] Morphine1:
Nvm.
[OnePlus X Original Android Development] chinmai560621:
Is the CM support available also for marshmallow???
[OnePlus X Original Android Development] ArmStrongDickPunch:
Yes hence cm beta's haha but with any build over r9x (for example build r108 will most likely brake stuff in cm12 but will work good with cm13) but as stated in the op remember no support will be give to the cm kernels due to them not being official builds yet! Hope this helps!
[OnePlus X Original Android Development] Vaas_FC:
Can i install this kernel on exodus?if yes then please tell which version

Thanks
[OnePlus X Original Android Development] FcoEnrique:
No.
[OnePlus X Original Android Development] sand87ch:
Which version can be used for cm13 based ROMs??could anybody pls help?
[OnePlus X Original Android Development] neopbm:
Cm 108 version
[OnePlus X Original Android Development] mvanvoorden:
Just wondering, a critical kernel patch was released by Google last Friday: http://source.android.com/security/advisory/2016-03-18.html

Does this also get patched into the kernel?
[OnePlus X Original Android Development] Nandeh:
Cm version of kernel working perfect here with Exodus :)

Enviado desde mi ONE E1003 mediante Tapatalk
[OnePlus X Original Android Development] eng.stk:
Yeah it can be merged probably, but they haven't merged it on Nexus devices yet.
[OnePlus X Original Android Development] sankarshan:
This phone gets really hot when *just* browsing the web on 'mobile data' with this kernel installed. Please look into it.
[OnePlus X Original Android Development] eng.stk:
Kernel doesn't create heat, load by apps and radio do.

Nothing I can do for you.
[OnePlus X Original Android Development] mousse04:
I tried 108 CM version kernel with purity ROM (CM based) and T2W doesn't work.

I searched but can't find anything related to 108 kernel

edit : tried on 104, didn't work either

Edit2 : found the solution, 2 pages back , http://xdaforums.com/showpost.php?p=65919849&postcount=1338
[OnePlus X Original Android Development] eng.stk:
blu_sp★rk r114

All right crew!

New builds are up :highfive:

CM beta is also updated, this test build is aimed for Marshmallow 6.0.1 ROMs.

If you flash in CM 12.1 you will find broken stuff, just use an old build (r98).

Keep in mind: I will give no support for betas. I am only interested on debugging stuff in OOS.

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

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, it's free ;)
[OnePlus X Original Android Development] Chris.nl:
Just flashed r114 on stock ROM.

As always, everything is ok and smooth. Thnx!
[OnePlus X Original Android Development] Shmi117:
If any of you performed the fix for any CM based rom a few pages back and wonder why DT2W isn't working on r114, revert your changes. It'll work after you change it back to default.
[OnePlus X Original Android Development] RWBY:
Hi [MENTION=3873953]eng.stk[/MENTION] , i have been searching about thermal driver and i found THIS. what is the best option ? Appreciate if anyone can explain a bit more.

Another one, what exactly is "might get problem with changing frequencies" when MPDecision is enable. I mean how is the problem occur when enable ?

**sorry if you guys dont understand my question :confused::confused:
[OnePlus X Original Android Development] nihilista:
Thx, i didn't change anything before, but seems my rom has the fix, so i had to set it back to what i never has before ;) but now dt2w works again:good:
[OnePlus X Original Android Development] Vaas_FC:
I think when mpdesicion is enabled than it will set some random cpu frequency and even if you will try to change the frequencies it will be again set to a random value

Correct me if i am wrong :)
[OnePlus X Original Android Development] eng.stk:
Yeah

Thermal is managed by a binary daemon after boot, there's no use for that.
[OnePlus X Original Android Development] priyansh17:
Great update.. Just a quick question I am getting orange bars for mobile network in battery stats after flashing the kernel. It was all green earlier.
[OnePlus X Original Android Development] demolatorul:
It's not kernel related, mobile network is a RIL thing.

Trimis de pe al meu ONE E1003 folosind Tapatalk
[OnePlus X Original Android Development] Chris.nl:
[MENTION=3873953]eng.stk[/MENTION] thnx for your time & work. I've made a small donation. Have a beer!
[OnePlus X Original Android Development] eng.stk:
Thanks mate, bottoms up!
[OnePlus X Original Android Development] Manelit:
Desculpa lá mas nao contive!! Que bela cerveja ahahah
[OnePlus X Original Android Development] :
Hello there,

This is the first kernel I flash in a phone and I am kinda newbie. Should I enable any of these things in Adiutor to extend the battery life or should they be default?

Thanks!

Στάλθηκε από το ONE E1003 μου χρησιμοποιώντας Tapatalk
[OnePlus X Original Android Development] nihilista:
You can leave it at default, its absolutely good for battery life and performance :good:
[OnePlus X Original Android Development] eng.stk:
TWRP 3.0.0-2 | blu_sp★rk v21 recovery

All right crew!

Been updating TWRP 3.0.0-2 | blu_sp★rk v21 recovery with some fixes, here's the lates build while it's not merged to official.

Just for the sake of sharing, I will give no support to this in here.

Enjoy!

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

Don't forget to hit thanks, it's free ;)
[OnePlus X Original Android Development] andu86:
Can you tell us what is changed?
[OnePlus X Original Android Development] eng.stk:
Check pull request on TWRP github
[OnePlus X Original Android Development] tiritchi:
Can't reboot

Hello there,

first of all thanks for your work, I always appreciate when guys like you do something for our phone.

Anyway, I recently wanted to try your kernel with the official rom.

First I installed twrp 3.0.0.1 -> unlock my bootloader & lost my data : ok

then I wiped all my system (data / cache / system..)

I installed the official rom with sideload,

reboot, did all the start guide... reboot recovery

sideload the ota update (patch 2.2.0-x)

and finally sideload your kernel (v108)

I also decided to try F2FS partition, I followed your guide to do so, everything was good.

reboot use my phone, all good, installed back my apps... installed root...

And then last night want to reboot once ... problems began

It won't start.... stuck on the animation and when it is connected on a pc, there is only the driver partition that is showing up )

I tried to repair data & cache partition but still won't boot,

The only things that's working, is wipe cache & data. but of course i loose everything again...

Any idea what's may causing this issue... ?

thanks ;)
[OnePlus X Original Android Development] anshu goel:
My phone overheats while charging my phone while using this kernel. Whereas on stock kernel it doesn't. I even tried dirty flash after flashing your kernel to get back to stock kernel. and Again it's normal
[OnePlus X Original Android Development] Exodusche:
This kernel is amazing!!!
[OnePlus X Original Android Development] Kéno40:
It gives a better battery life too. You didn't notice that?
[OnePlus X Original Android Development] awildsloth:
I agree dude.

Enviado do meu ONE E1003 através de Tapatalk
[OnePlus X Original Android Development] eng.stk:
There's no overheat caused by kernel.

And both thermal and charging drivers are the same as stock.

Nothing I can do.
[OnePlus X Original Android Development] anshu goel:
that's weird
[OnePlus X Original Android Development] Exodusche:
Not enough for me to stick with something I know nothing about. Also really hard to point fingers at your new rom when your using external source kernel. However that being said the onyx battery is very small so any extra battery life would be taken with open arms. Happy flashing! ;)
[OnePlus X Original Android Development] kgr:
Thanks [MENTION=3873953]eng.stk[/MENTION] , appreciate all you are doing! Can you link me to this updated TWRP? (or direct me where to find it?)

Thanks!

Ken
[OnePlus X Original Android Development] eng.stk:
27MHz is not the lowest working freq, is the standby (slumber) freq.

Doesn't matter the max or min freq yiu choose, the gpu will enter slumber when it needs.

The patch just shows if the device is in slumber instead of showing the default min freq as a value.

It doesn't underclocks anything.
[OnePlus X Original Android Development] wuud:
got bootloop on r31 too :(
[OnePlus X Original Android Development] eng.stk:
Ok guys, I think I manage to replicate the bootloop some people had.

Let's see if I can do some magic, stay tuned...
[OnePlus X Original Android Development] Stygmatik:
I don't know if it's only "some people" who are encountering it :p

Anyway, great to hear that! The DriveDroid feature is priceless!

BTW, how about a changelog/timeline on the first post instead of modifying the currently supported features of the latest revision?

Thanks for your work mate!
[OnePlus X Original Android Development] eng.stk:
blu_spark r36

All right crew!

New build is up, if you find some issue cleanflash is mandatory.

Also I uploaded my TWRP r2, with charging LED and USB OTG working.

Steps to cleanflash:

Download my TWRP r2 and flash it (just boot it isn't enough, do fastboot flash recovery twrp-2.8.7.0-onyx_f2fs_r2.img )

Backup your data to external micro sd, usb-otg, computer, etc (all will be erased on next step)

On TWRP, go to wipe and do advanced wipe. Format Dalvick, System, Data and Internal Storage and Cache (pic 1)

On TWRP, go to wipe and do Format Data (type yes, pic 2)

Flash OnePlusOxygen_14_OTA_003_all_201510241934.zip and OnePlusOxygen_14_OTA_003-004_patch_201511031712.zip from the thread on general (pic 3)

Don't flash SuperSu, boot the phone in clean stock

After initial setup of the ROM, reboot to recovery and flash SuperSu and blu_spark r36

Profit (pic 4)

I did this a couple times and works flawlessly everytime.

Posting without doing this or without proper logs is pointless and will be ignored.

No changelog, check GIT if you want to know what's changed (too much stuff)
[OnePlus X Original Android Development] mohammedtabish:
If i am on ext4 recovery then how should i follow the procedure
[OnePlus X Original Android Development] eng.stk:
Like any other recovery: fastboot flash recovery twrp-2.8.7.0-onyx_f2fs_r2.img

And you don't need to change filesystems, I'm using ext4 partitions atm.
[OnePlus X Original Android Development] mohammedtabish:
Do i need to format internal sd card and partition fix thing after flashi your recovery...and will i be able to flash ota usimg your twrp.. i am a noob plz help me out
[OnePlus X Original Android Development] Savya:
r36 again causing a bootloop. Ive followed the methods exactly like youve given. OTA worked on your TWRP so cheers to that!

But kernel not working
[OnePlus X Original Android Development] danbrown162:
Still bootlooping!
[OnePlus X Original Android Development] Razertje:
Bootloop on R36, flashed R25 and fixed bootloop.
[OnePlus X Original Android Development] bubbl3:
Yep, basically backed up everything and followed the procedure but still bootloop. Had to restore my twrp backup.
[OnePlus X Original Android Development] Roykooiman:
So whenever a Ota comes we can just flash it with his modified twrp recovery?

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] ravinder0003:
Confrmed:

Bootloops on r36
[OnePlus X Original Android Development] neopbm:
Yep, bootloop with #36. Fresh install following instructions from dev post.

But #25 is rock solid!
[OnePlus X Original Android Development] eng.stk:
I have a magic phone...

Logs or it didn't happen.
[OnePlus X Original Android Development] sarthakspiker:
:p
[OnePlus X Original Android Development] Roykooiman:
I want to revert back to the stock kernel. What's the best I can do? The r25 is bad for me, bad performance still 1080p playback lag. And battery is worse then stock. Even tho I love the standby time.

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] neopbm:
Dirty flash the rom should replace the kernel.

Sent from my OnePlus X
[OnePlus X Original Android Development] Roykooiman:
It's probably better to make a clean flash, then I sure everything is clean. Don't know if the latest Ota is integrated into a full flashable zip?

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] J0kker:
Download section of this thread:

http://xdaforums.com/devdb/project/?id=12587#downloads
[OnePlus X Original Android Development] kgr:
Doh thanks. Not sure why I didn't think to look in the downloads of THIS very thread lol :o

Thanks!