yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] eng.stk:
Code is exactly the same, there is no wifi works better. OOS uses wifi module and It's the same network quality over wifi.

We can't have both at the same time in the same kernel, so no go.

Like I said, it's easier to change the driver when building the ROM, that me doing a kernel zip just for that ROM.

I will not do it, waste of time.

They want to do their own thing, nothing I can do. Also there's plenty of ROMs including AOSP ones, move on I guess.
[OnePlus X Original Android Development] motherninja:
Hi eng.stk,

First of all, thank you very much for your custom kernel, it makes my OPX works very smoothly. I really love it.

I'm flashed your kernel since the version r118 with OOS 2.2.1 (My OPX is E1003 Asia/Eur regions). Just 2 days ago, I flashed the newest version which is version r123 and everything works as intended.

However, today I noticed for several times already that when my OPX connected to my home Wifi, sometimes the connection hangs, I need to disable and then re-enable the Wifi to make it work again. This is not happening to another device in my house (Meizu M2 Note, Nexus 5, and Zenfone 2 Laser LTE).

I just wanted to know, is this situation related to ROM or kernel?

Thank you
[OnePlus X Original Android Development] eng.stk:
Wifi works fine here on several networks I use everyday.
[OnePlus X Original Android Development] pompe90:
2.2.1 isn't that good either. Almost ripped my hair of when the phone started doing real odd things like mobile data stopped working, sms just stopped in... Space? Never got to the person I sent it to anyway, notifications acted weird and so on. This was a clean installation, with 2.2.1 Rom. Never ever had a single problem like this with earlier oos rom w/o bluspark kernel.

Also when I tried reboot the phone it got stuck at boot. Only one thing to do after trying deleting dalvik cache, a clean installation by using Cm13 rom and then flashing bluspark kernel and other stuff.

Working great, going like a train, always does.

Nothing wrong with Eng.stk kernel at all.

:)

Skickat från min ONE E1003 via Tapatalk
[OnePlus X Original Android Development] dingermtb:
Still fairly new on this phone, but this kernel is running like a champ on Exdodus 6 ROM. Super job, once again?

Sent from Outside the 9 using my Exodus Zombiefied OnyX
[OnePlus X Original Android Development] Nexoez:
Have the same issue, except It only happens when my bluetooth is connected. WiFi is ok for me
[OnePlus X Original Android Development] motherninja:
Yes, everything's is work good, no problem at all except the wifi, that's why I asked here, whether is this the OOS problem or kernel related. Today the same thing is happened again at my workplace Wifi, when the phone is connected for more than 1 hour or so, the connection is hang/idle, I need to disable the wifi and then re-enable again in order to make it connected to the internet again.

But no worry, it's a small issue, there is no way I can go back to OOS stock kernel after BluSpark :)
[OnePlus X Original Android Development] ukanth:
delete this. sorry.
[OnePlus X Original Android Development] pompe90:
Is your Bluetooth disabled when you get this issue? Try to disable it and test WiFi again.

Edit- oh yeah Btw... All non kernel-related issues - > all ppl who reads this, get your answers by creating a new thread in Q/A - section instead by asking a kernel developer how exodus, ashwins rom works and so on...

Plz respect this :) keep it clean so we still can get awesome updates from Eng.stk.

Peace.

Skickat från min ONE E1003 via Tapatalk
[OnePlus X Original Android Development] motherninja:
Bluetooth is always disabled on my OPX since I don't have any more device that needed BT connectivity.
[OnePlus X Original Android Development] TECCC:
deleted
[OnePlus X Original Android Development] Pootch17:
Can I dirty flash the kernel when coming from stock kernel?

Br

Pootch
[OnePlus X Original Android Development] Portgas D. Ace:
There is no "dirty flash" if you are coming from stock kernel, just flash blu_spark kernel and reboot. That's it.
[OnePlus X Original Android Development] dj_pirtu:
Flashed R123 over R118 and now it wont boot anymore. Tried few older versions of this kernel and doesnt boot. ****ing great.
[OnePlus X Original Android Development] Portgas D. Ace:
Restore your system backup. Otherwise make a clean flash of your ROM (wipe system, cache and dalvik).
[OnePlus X Original Android Development] dj_pirtu:
Tried flash newest OOS 2.2.1 and booted, tells about encrypt error (i havent use any kind of encrypting)... Flashed older bluspark kernel, doesnt boot.

Then I tried older OOS 2.2.0 and booted, same thing, encrypt error. Flashed bluspark kernel, doesnt boot.

I have no idea what went wrong in the first Place. Yes, backups would be nice. Pissed.
[OnePlus X Original Android Development] jonrodz:
Hope you're pissed because you don't know how to do things the right way, and not because of the kernel...
[OnePlus X Original Android Development] Liam_G:
[MENTION=3873953]eng.stk[/MENTION] or anybody here, hello sir, curently i am using blu spark r123,oos 2.2.1 rooted. Perhaps this is a silly question to you..in cpu gov. Tuneables theres target_loads which default value are:

"85 1500000:90 1900000:70" is this value are correct? In a quick words when cpu load at 85-90 it will ramp up freq at 1,5ghz and when cpu load at 70 why does it ramp up to higher freq at 1,9ghz instead of ramp down at lower freq? i dont understand or maybe i was wrong interpretating the value. How to read these value exactly? Thanks in advanced!
[OnePlus X Original Android Development] eng.stk:
Google is your friend...

Check the interactive section

https://android.googlesource.com/kernel/common/+/android-3.4/Documentation/cpu-freq/governors.txt
[OnePlus X Original Android Development] Liam_G:
[MENTION=3873953]eng.stk[/MENTION] sir, I still don't understand, in r123 your target loads default value of below or at 90% cpu load scale at 1,5ghz, but 70% cpu load reached is scale at 1,8ghz. I thought it should've been more than at least 90% cpu load or more to be at 1,8ghz freq or higher.

Well,.call me stupid..but i really dont get it.. Why 70 ?

What would happen if i change the value to 90 1500000:85 1800000:90 ?
[OnePlus X Original Android Development] Part.0:
please help, i can't change the TCP network. the default is westwood, but i got bad internet really bad. i want to go back to cubic, everytime i change to cubic it revert back to westwood after close the kernel adiutor or rebooted. im so frustrated with this, my network is sh**ty with westwood.
[OnePlus X Original Android Development] Chris.nl:
Kernel Adiutor should do the trick. I use Trickster Mod, also works fine for me. Tested it and cubic remains.
[OnePlus X Original Android Development] piotrpan:
I did not read about westbood / cubic or other algorithms for TCP handling since your post. A quick googling lead me to that article:

http://androidmodguide.blogspot.de/p/tcp-algorithms.html

So there the recommendation are westwood or cubic. FOllowing the articles benchmarks / recommendations (though it also states it might vary anyhow for anybody), I wonder why cubic will be so much better.

Is it only special networks you are connected to where you face that problem or for any, independant of 3/4G or WiFi, where you face speed problems using westwood?
[OnePlus X Original Android Development] mindphuq:
Hello, is there anything specific I should do if I have r118 and kernel aduitor already installed on OOS 2.2.1? Or I just have to flash the newest r123 zip in TWRP? Thanks in advance!
[OnePlus X Original Android Development] Part.0:
ive tried trickster mod free (playstore) unfortunately it only has a few gov. tuneables setting and other tools, need the pro/donate version to enabled all setting.

EDIT: yes, changed the tcp algo. to cubic and it works.

i got serious 3g/Lte connection while using westwood, signal is good 4 to full bar indicator, but the internet very slowed, i also tried with another SIM provider the results still the same, very shi tty internet. i never had the issue while on stock kernel using cubic. i know westwood is the most prefferable algo. but it doesnt works on me.

EDIT: yes, changed the tcp algo using trickster from westwood. to cubic and it works. but trickster is limited for some tuneable setting. im comfy with adiutor, but still couldnt change the tcp algo.

one more Q' sir.. does undervolting also affected network strength or connection speed, besides power consumption and battery life advantages? i did UV around -75-100 it is stable for now,its been 2 days no prob whatsoever..
[OnePlus X Original Android Development] eng.stk:
That's CAF values defaults for our SoC, probably to work with load spikes and such.

You can try whatever you want.

Cubic is linux and Android defaults. Westwood bahaves a little better than cubic in some situations and it's the default in some routers also.

Some APs work better with one or the other, you should use what fits your needs.

Just flash.

I can change from westwood to cubic with Adiutor just fine.

The rest, you should use what best fits your needs.
[OnePlus X Original Android Development] Part.0:
yes you can flash it usimg twrp latest ver. of blu_spark v29 or older ver. should be fine. i did wipe 'cache only' before flash r123 and did wipe 'dalvick/cache' after. reboot system and done.

note: just remember to clear data and uninstall any kernel setting app you currently use (adiutor,trickster, etc) before flashing new kernel. just a suggestion , do some screenshots of your kernel tweak setting so it will make you easier to re-tweak your new kernel with the same app.

---------- Post added at 11:26 AM ---------- Previous post was at 11:14 AM ----------

ok thank you sir for the reply and explanation, i'll leave it to default value. for changing tcp algo. perhaps i should re flash the kernel and see if it work to me.. thanks
[OnePlus X Original Android Development] pompe90:
No need for deleting cache. Doesn't actually do anything good or bad when are flashing a kernel.

Last 3month I have never wiped cache when flashin kernel on either oos, cm13, exodus, purity and so on. Never a issue.

Save time, stop wiping dalvik cache.(But it's up to you..)

Skickat från min ONE E1003 via Tapatalk
[OnePlus X Original Android Development] krotin:
Thank you A LOT for your work. I have been enjoying your kernel since a few month and I have nothing to say except it PERFORMS very well.

In your line of work when people just forget about the kernel they just flashed it justs means its perfect.

Thank you Sir.
[OnePlus X Original Android Development] eng.stk:
Thanks mate, I appreciate that :)
[OnePlus X Original Android Development] eng.stk:
blu_sp★rk r128

All right crew!

New builds are up, go get them!

This features the all new HZ race google started on N5X and N6P backported to the N5, enjoy!

http://www.androidpolice.com/2016/0...e-improvements-a-do-not-disturb-fix-and-more/

Also new wifi prima/wcnss and lot's of upstream stuff :)

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] Exodusche:
Appreciate all your work Eng.stk on the Oneplus X. Donations coming your way. :)
[OnePlus X Original Android Development] dingermtb:
Once again, phenominal job! Running awesome, as usual on Exodus 6?

Sent from Outside the 9 using my Exodus Zombiefied OnyX
[OnePlus X Original Android Development] crian:
[MENTION=3873953]eng.stk[/MENTION] all right captain!

New build with HZ stuff is running great. Definitely a boost in performance. Thanks!
[OnePlus X Original Android Development] eng.stk:
Thank sman, I really appreciate that.

Also props to the other couple guys donations, you know who you are :)

Yeah me and my team have been testing it for a week and all points to better performance (not 200% better, but better) with +/- the same battery usage.

Win win so far :)
[OnePlus X Original Android Development] Part.0:
[MENTION=3873953]eng.stk[/MENTION] awesome work, better performance since r123. I've been using it for 2 days now..it does boost performance but i found it more battery drains than r123. I tested on medium-heavy games like NFS,RR3 took 25% of battery in 30 mins, while on r123 only took around 10-15% of battery. I also undervolted -75mv but it seems don't help much. Please don't gt it wrong..i'm not putting my thumbs down here i really appreciated your hardwork and your great team. Is there any way to make battery drain less w/out sacrifice the performance too much? Any kernel setting that i could work it out my self? Please. (am using kernel adiutor) Thanks again, and you have a great day!
[OnePlus X Original Android Development] piotrpan:
But was performance noticeably worse with r123 where at least you were happy with battery usage.

How about your phone performance/battery usage with "normal" (non-gaming) phone usage?

As for me battery usage was less than with r123.

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Part.0:
[MENTION=4505346]piotrpan[/MENTION] Are you replyin to my post? I guessed you are.

Well, r123 was NOT worse at all. Not even close. It has a well balanced for battery life and performance, Excelent for multitasking. While on r128 it really boost performance and speed, but very less battery life compare with r123. R128 does really outstanding, i could say it triple times much better than the stock kernel. the only prob for ME its battery hunger, Even in medium multitasking. Got no idea to solve this out..

EDIT: as for now the battery reduce 6% in 13 mins (LTE on "excelent signal", browse this thread, and few pages, only sync 1 gmail acc, WA.) :-S
[OnePlus X Original Android Development] dingermtb:
I use Project SkyNet with this on Exodus 6 ROM and battery is awesome. In SkyNet, it has 3 modes, balanced, battery and gaming. It may help you out with battery. It's really helped me on battery because I play music almost all day.

Sent from Outside the 9 using my Exodus Zombiefied OnyX
[OnePlus X Original Android Development] piotrpan:
[MENTION=7424328]Part.0[/MENTION] yes somehow TTs reply did not Quote you. Ah interesring. Did not see that huge boost with E-Mail, surfing, messaging and music, but better battery performance :)

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Part.0:
Hi, thanks for your suggestion but for now i really stick with OOS and sitting duck while lollipop's battery eating me alive from inside. Hhh. I got to see official OOS Marshmallow running in my opx (somehow) maybe in few or couple months. Hhh need M.

Well, as i noticed listening music (through headset/earpphone) it only takes very less battery and low power consumption. Let say 5-7% in a hour? :) what i need is overall best battery life+performance. Thanks anyway..

---------- Post added at 07:17 PM ---------- Previous post was at 07:10 PM ----------

Do you also multitasking? If yes, how much SOT you got in r128? Can you post the screenshot here tomorrow, if you please. Thanks
[OnePlus X Original Android Development] piotrpan:
What do mean by "doing" Multitasking? The apps partially run in the background anyhow.

SOT?

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Part.0:
Means doing simultaneous browsing, chating, email, opening apps, music/video, etc, at the same time. Yes i know app runs in background /minimized when you switch onto another app/task. But still consume battery.

SOT = screen on time (in hours)
[OnePlus X Original Android Development] RWBY:
I reverted back to r123 after using r128 couple of days because battery drain too fast. Dont get me wrong, both is the best because of blu_spark it self like eng.stk said its a win-win situation. But im more comfortable with r123. Cheers =)
[OnePlus X Original Android Development] piotrpan:
I see. Do you check sot with any APP? Just to compare correct figures.checking display in battery tab just gave me 30mins since last 6hrs so will wait for a more busy day...

Ahh that you mean. Well actually mt just when BT streaming music or listening but not much i have to admit.

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Kir3:
Maybe dumb question, but how can we backup IMG with TWRP? Just do the normal backup? Or just flash the OOS zip and skip backup?
[OnePlus X Original Android Development] hearmeart:
it support for H2OS?? comment please and give me information
[OnePlus X Original Android Development] Part.0:
I see.. Thought i was the only one who facing the battery drains.. Need suggestion [MENTION=3873953]eng.stk[/MENTION] is there would be a new build coming for balance the battery drain stuff? Sorry i hope i'm not asking too much, i just need to know. Thank you for all your support mate!

---------- Post added at 07:48 PM ---------- Previous post was at 07:41 PM ----------

You can backup using twrp in backup menu check list the system, boot, and data also if you want. "the backups" thing are optional, Just in case you face any prob after flashing or want to revert back to stock rom/kernel, You can refer to your backups.
[OnePlus X Original Android Development] :
I'm seeing roughly the same battery usage with r128, but I'm a very casual phone user.
[OnePlus X Original Android Development] Exodusche:
For me no dramatic change in battery usage with R128. I'm still in awe over the fact I no longer have to top my battery up at work. Coming home with 40% to spare! Oneplus should be contracting these developers for making there handsets actually worth something. Nothing bothers me more then company's not utilizing the phones hardware to its full potential!!
[OnePlus X Original Android Development] RWBY:
yes mate it support. Been told many times
[OnePlus X Original Android Development] eng.stk:
I'm happy with the config has it is.
[OnePlus X Original Android Development] mvanvoorden:
An article came out today discussing some cpu scheduler bugs in the Linux kernel. This may also be applicable for Android, so I want to share it with you :)

Article: https://blog.acolyer.org/2016/04/26/the-linux-scheduler-a-decade-of-wasted-cores/

Tools and fixes: https://github.com/jplozi/wastedcores

I hope it's of use!
[OnePlus X Original Android Development] iamelton:
just to report that r128 works with the latest OOS 2.2.1-X (which is intended for Germany users, yet i flashed it anyway..;) )
[OnePlus X Original Android Development] Part.0:
Ok. I'll switch back tempo. to r123 then, till new r133 build (hopefully) coming up. Thanks. <peace and out>
[OnePlus X Original Android Development] eng.stk:
That's mainly for higher kernel revisions, 3.4 is much more simpler and lacks lot's of stuff.

But there is lot's of CAF and upstream already in to make the scheduler better.
[OnePlus X Original Android Development] andisetyawan11:
i get encyrp unsucsee too after change data and cache to f2fs, what format before i changed to f2fs ? normal format from data and cache, cause i dont read it
[OnePlus X Original Android Development] Exodusche:
I didn't have to reboot. Immediately after flashing spark kernel 1. Wiped cash then changed f2fs file sys.

2. Wiped data then changed f2fs file sys.

I got the error when I didn't wipe each part first.
[OnePlus X Original Android Development] andisetyawan11:
im working fine change f2fs, expect must use spark kernel, someday i i install stock OS without spark i get that error,i want change normal data and cache, is that data and cache format ext4 ??
[OnePlus X Original Android Development] pompe90:
Yes. Ext4 is standard format.

Plz ask these questions in Q/A section instead of here. Eng.stk gives no support on anything beside his own kernel for oos ofc.

Respect this..

Skickat från min ONE E1003 via Tapatalk
[OnePlus X Original Android Development] piotrpan:
Means encryption is not supported for f2fs?

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Androidoo:
DO we have to reflash the rom for flashing blu spark in as stated in main post(for cm 13:))
[OnePlus X Original Android Development] pompe90:
U only need to do a reflash when you change from boeffla kernel to blu_spark or vice versa. If you recently flashed cm13, just flash blu_spark and you are fine. If you have done a update on your cm13 and had blu_spark, just flash same kernel or newer again.

If you just are upgrading to a newer blu_spark kernel, just flash. No need to wipe, reflash rom or anything like that.

Skickat från min ONE E1003 via Tapatalk
[OnePlus X Original Android Development] :
Misread
[OnePlus X Original Android Development] JudoFreak:
Hopefully someone can help me with this. This is my first time with an Android phone so rooting and flash are a bit foreign to me. I managed to flash this kernel last night but once I went to reboot the phone I would just get stuck at the bootloading animation. If I wipe the cache and data and format it into F2S2 like the guide says it will boot fine but only once. Is there something I am doing wrong or something I can do to correct this? Thanks in advance!
[OnePlus X Original Android Development] jonrodz:
What rom you're using?
[OnePlus X Original Android Development] OptimusVDarwin:
Are you rooted?
[OnePlus X Original Android Development] Exodusche:
I'm going with either the gapps or SuperSU your flashing is causing the bootloop.
[OnePlus X Original Android Development] Calvin2394:
[MENTION=3873953]eng.stk[/MENTION] Small request.

Updating ROM (CM nightlies) is difficult as you need to reflash your kernel, wipe caches and reboot.

I've found an addon.d script to allow Xposed to survive updates: http://xdaforums.com/xposed/addon-d-script-xposed-to-survive-cm13-t3268520

Would be awesome if you could look into allowing your kernel to survive updates as well :)

(Side Note: Boeffla kernel already has this functionality)
[OnePlus X Original Android Development] Exodusche:
I've flashed blu_spark after every ROM update and have had zero issues. This not always the case?
[OnePlus X Original Android Development] :
Or you can also use CM Downloader and flash everything automatically until he adds the feature.
[OnePlus X Original Android Development] eng.stk:
No, I use anykernel and I want the ROM base boot.img to be always the latest one.

Don't be lazy, how hard is to set to 2 files to flash in TWRP?

You can evem use Adiutor to flash the zips without even going to TWRP.

Or this :)
[OnePlus X Original Android Development] eng.stk:
blu_sp★rk r130

All right crew!

New builds are up, go get them!

I also pushed TWRP 3.0.2.-1 | blu_sp★rk v32 with updated kernel, components and upstream fixes and updates.

CM build is also updated, this is made for Marshmallow 6.0.1 ROMs.

I decided to take CM build from beta, but same remains: using custom ROMs you're on your own ;)

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 active support for custom ROMs. 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] andisetyawan11:
sir 1 ques ,

if i want update from r128, we just install zip or wipe cache/dalvik ?

thx for your work,
[OnePlus X Original Android Development] Calvin2394:
Just install the zip.
[OnePlus X Original Android Development] Exodusche:
Flashed with no problems on Purity. :)