yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] senotrius:
[MENTION=3873953]eng.stk[/MENTION],please bring back the max screen off cpu freq option.I don't know any other app that can replicate the feature without inbuilt kernel support.
[Nexus 5 Original Android Development] fapste:
[MENTION=3873953]eng.stk[/MENTION] can you please add a min freq of 190mhz in this kernel? This will help increase battery life a bit. Currently I'm getting almost 3 hours SOT with 18% screen brightness and wifi.
[Nexus 5 Original Android Development] phantom146:
I think adding 190 would only mess up with cpu background algorithm... Itll take more time for tasks to be completed if your device stays idle there
[Nexus 5 Original Android Development] eng.stk:
You can change the tunables on:

# Set dt2w
echo "0" > /sys/android_touch/doubletap2wake
echo "0" > /sys/android_touch/wake_timeout
echo "0" > /sys/module/qpnp_power_on/parameters/pwrkey_suspend

Not gonna happen, I prefer the way it is.

Nope, already discussd about it. Pointless imo.
[Nexus 5 Original Android Development] onesolo:
Another one for cpu max screen off!!
[Nexus 5 Original Android Development] Arstoien:
He just said in the post above yours that it's not going to happen. Respect the dev's choices. Many developers have quit xda because if comments like yours.

BTW to the person asking for automated colour profiles [MENTION=5295556]lynnux[/MENTION] : If it's just the r/g/b you want to decrease, in Tasker you can echo (with "Use Root" checked)

echo "255 200 200" > /sys/devices/platform/kcal_ctrl.0/kcal

, or whatever values you want instead of these (255 being max). You can also echo colour profiles – pm me for more info, let's keep the thread clean, as the dev asked.
[Nexus 5 Original Android Development] paul222008:
Thank you sir :) do i have to set it "1" not "0" ?
[Nexus 5 Original Android Development] eng.stk:
To enable the function, yes. Those I wrote is the default, all disabled.

The wake_timeout is a number to the timeout in minutes: put five, it will auto disable in 5 minutes.
[Nexus 5 Original Android Development] paul222008:
When i set it in root explorer it doesn't saved when i save it . it always says 0 in doubletap2wake and Y in pwrkey_suspend

Edit: sorry its working now . thank you sir :D :D :D
[Nexus 5 Original Android Development] eng.stk:
echo those on terminal or make a script.

Or use another text editor.
[Nexus 5 Original Android Development] paul222008:
It doesnt stick when i reboot right? I tried reboot but it doesn't seem to work. I check the file it says "0" now ??
[Nexus 5 Original Android Development] eng.stk:
It will go to the defaults on reboot ofc.

Either use Kernel Auditor to set on boot or an script on /system/su.d to set the values
[Nexus 5 Original Android Development] bouwew:
Well, I followed above recipe, and it didn't work :(

More like a disaster, now my internal SD is completely empty!

Only a TiBu-backup to HDD would work in this case, I think...
[Nexus 5 Original Android Development] drac0:
Ofc it is empty if you formatted with f2fs. Is why you need to nandroid, its the first most important step! Also I can confirm this little trick works pretty fine as I've done it many times before. Lets try not to fill in this thread anymore with f2fs, but continue on Nexus 5 F2FS thread if you need any help. I'll be glad to help you, you just need to follow steps by the letter. Cheers!
[Nexus 5 Original Android Development] Pretoriano80:
Nandroid backup will only save /boot /system and /data, not the whole internal storage. So for future reference it should be better to advise other users about it.

Basically anyone who decide to switch to F2FS should do a nandroid backup, and then store it elsewhere togheter with other important data (downloads, documents, photos, music, etc).
[Nexus 5 Original Android Development] drac0:
Of course is why I said, copy your backup to your PC, meaning your cache data and everything you value. Also other users should have some elementary knowledge and do some f2fs research prior to formatting their devices. Cheers.
[Nexus 5 Original Android Development] khandelwalgaurav:
Will it work with cm13?
[Nexus 5 Original Android Development] phantom146:
Yes
[Nexus 5 Original Android Development] nitramus:
Kernel is so good 4 days and still no new posts. Until now but doesn't really count. Lol
[Nexus 5 Original Android Development] eng.stk:
blu_sp★rk r56

All right crew!

New goodies for the hammer, enjoy!

[IMG="paypal"]https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png[/IMG]

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

Don't forget to hit thanks, it's free ;)
[Nexus 5 Original Android Development] pianistaPL:
Wow, you are on fire! ?

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Nexus 5 Original Android Development] eng.stk:
Enjoy while it last!
[Nexus 5 Original Android Development] xmaciek82x:
[emoji52]

Hmmm.... I don't like the sound of that....

Thanks for the new kernel.
[Nexus 5 Original Android Development] drac0:
Freakin amazing!!! :good:

I dont want another Nexus without spark sorcery! Thank you for your perseverance and continuous work. I will donate. Cheers mate! :highfive:
[Nexus 5 Original Android Development] midnighteight:
Hello everyone! Iuse the Pure Nexus 09/01 + Blue Spark R47.

At the end of the day the Wakelock always consumes 2-3%.

The only Wakelock is due to the "Kernel (Android OS)".

The situation you can see it in the pictures.

Everything is normal or is there something wrong?

Thanks so much! :)﻿
[Nexus 5 Original Android Development] vampsoft:
nice kernel, thanks

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] SnoopHTC:
Nooooo... ? please...
[Nexus 5 Original Android Development] eng.stk:
Nothing wrong with it.

Only thing wrong is using a custom ROM to debug stuff and even worse: using a long deprecated blu_spark build.

Yeah but no need to post a big [MENTION=310254]sss[/MENTION] screenshot lol

There will be a day when my wife sends the N5 away that this will end.

Not there yet ;)
[Nexus 5 Original Android Development] Wh1t3Rose:
Blasphemy! Long Live Blu!
[Nexus 5 Original Android Development] Sytis:
The best Nexus 5 Kernel i used so far, thumbs for your great work! :D

May i ask what your opinion on Dynamic Fsync or Dynamic management of dirty page writebacks is?

Are those features that may have a chance to be included or something that you personally dont like? :confused:

Here is a link to the namend features http://xdaforums.com/showthread.php?t=2401988
[Nexus 5 Original Android Development] eng.stk:
Old stuff that doesn't make sense in new Android versions.

Dynamic Fsync was used by HTC to cheat the poor performance and issues of some of their eMMCs.

Writeback is already tweaked and new Android versions deal with memory quite nicely.

Those dynamic stuff cause more issues than solve them.
[Nexus 5 Original Android Development] fapste:
Solid kernel as always. Not here to complain but I'm noticing faster drain on this release. Everything else is stock.
[Nexus 5 Original Android Development] Bl4ck3urn:
Battey drain is low as usual.
[Nexus 5 Original Android Development] miseusegau:
The best kernel ever...thanks [MENTION=3873953]eng.stk[/MENTION]..?
[Nexus 5 Original Android Development] emanuele1986:
What is OFC?
[Nexus 5 Original Android Development] fajarlazuarding:
Of course ?
[Nexus 5 Original Android Development] alen1901:
[MENTION=3873953]eng.stk[/MENTION] did you changed something RAM related? I mean, in term of background apps closing etc. Im trying to figure out why light manager app closes itself after 4,5-10 hours of working. Then i need to open it again to start working. Maybe doze is getting a bit agressive or?

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] phantom146:
That light manager app again, the one you had a prob with krex. There is no prob with ram or any changes :) again to be honest i think its with the app. If a force close happens it mught be the oom_priority associated with the app that has the problem
[Nexus 5 Original Android Development] yuannovesa:
stay on r53.. i think r53 best than r56 on dirty unicorn rom..

thanks dev for amazing kernel
[Nexus 5 Original Android Development] alen1901:
Yep, im trying to troubleshoot and narrow down possibilities what might cause that issue. And app is not force closing, its just like its killed in the background.

Sent from Pure Nexus 5
[Nexus 5 Original Android Development] phantom146:
Still the same if the app is getting ditched in the background the oom_priority might be the answer, it must be at least 0 so it wont be killed that easily when android requires space/ram to process
[Nexus 5 Original Android Development] goutham kumar muvva:
Changed to F2FS

I have a nexus 5 having systemless root super su2.62 and I backed up the data in original format in twrp and then changed to F2FS and I lost root . Now can I flash the backed up data ? Or will it cause conflict ?
[Nexus 5 Original Android Development] gaosphappy:
It's been done before but its not recommended. So basically how chuck Norris do ya feel today. ??
[Nexus 5 Original Android Development] phantom146:
Golden comment of the decade
[Nexus 5 Original Android Development] Sytis:
Didn't knew that, thanks for the info! But i do have another question: Is there a reason why fast_charge_level is not supported by the Kernel?

Or is it just me who can't get it working? :silly: Thanks in advance and here is some reference code i found for it:

To enable it use:
echo 1 > /sys/kernel/fast_charge/force_fast_charge

For USB 2.0 use 500mA as MAX
echo 500 > /sys/kernel/fast_charge/fast_charge_level

For USB 3.0 use 700mA or 900mA as MAX
echo 900 > /sys/kernel/fast_charge/fast_charge_level

For wallcharger use from 900mA, 1100mA, 1300mA to 1500mA as top
[Nexus 5 Original Android Development] eng.stk:
Fast charge in blu_spark is to draw more available mA from USB port, if the port allows it.

Doesn't force anything.

The PMIC already can use up to 1.5A if the charger allows it
[Nexus 5 Original Android Development] Ating-kj:
Double click to wake

how can I use double click to wake after I flash the kernel blu_sp*rk r56?
[Nexus 5 Original Android Development] tmihai20:
You need to activate it from Kernel Adiutor. I am using it.
[Nexus 5 Original Android Development] Ating-kj:
I cannot find the way to activate it ,can you help me or tell me how to do it ?
[Nexus 5 Original Android Development] tmihai20:
Install Kernel Adiutor, tap the 3 lines in the upper left corner, swipe up until you see Wake Controls, select your type of Double Tap To Wake (whole screen or the lower half), tick the Apply on boot toggle and you should have it enabled.
[Nexus 5 Original Android Development] Ating-kj:
Thank you very much
[Nexus 5 Original Android Development] moddroid:
[MENTION=3873953]eng.stk[/MENTION] this one not have any audio driver like franco or faux right?

There is any way to change analog amplifier volume?

Anyway thanks for the great kernel!
[Nexus 5 Original Android Development] Gunners_Classic:
Hello everyone

Just one question. Since I'm on 6.0.1 I get this wakelock which is eating my battery and make Doze don't working. It happens on stock rom and custom roms. Even after a clean flash of the factory images with an internal wipe I get this.

Does somebody know how to fix this wakelock?

IpReachabilityMonitor.wlan0 and It's from the Android System according to Better Battery stats.

I'm on Nexus 5 with a clean flash of krexus rom with banks gapps, SuperSU 2.67 and Viper4android. And of course blu spark. ;)

Thanks in advance for helping
[Nexus 5 Original Android Development] coffeecore:
Google IpReachabilityMonitor.wlan0.

You will find more about the issue :)

More people are having this.

No blu_spark problem.
[Nexus 5 Original Android Development] midnighteight:
Hi, with Pure Nexus rom is better r53 or r56??

I read that some people say that r53 is better than r56, is true?

Thanks! :)
[Nexus 5 Original Android Development] eng.stk:
I recommend r1 :good:
[Nexus 5 Original Android Development] frikakwa:
Lol... best answer ever!!!! :good::good:
[Nexus 5 Original Android Development] phantom146:
Hello [MENTION=3873953]eng.stk[/MENTION] i was wondering if blu_spark's gpu goes to idle a lot? If not, have you incorporated any patches of adreno-idler driver in it?

Thanks!
[Nexus 5 Original Android Development] eng.stk:
I don't do GPUs (yet), there's no blu_spark GPU :silly:

Now seriously, hammerhead actually sleeps (or idles to be exact) quite nicely.

Adreno Idler was created to tame the ramp up or down in poor adreno implementations (some devfreq ones are good, others not, depends on the device), so you can keep the freqs low when doing low intensive GPU stuff like presenting a menu for instance.

For example, when watching a video on my OPX without Adreno Idler, the device goes over to 330MHz or 389MHz.

WIth Adreno idler on, it sticks on 200MHz watching the same movie, eithout performance drops.

On the case of the N5, with or without Adreno Idler it would stick always to 200MHz becuase there's a good implementation and it's not devfreq.

I prefer to use simple gpu driver on the N5, gives some customization and doesn't cut on the grunt.
[Nexus 5 Original Android Development] phantom146:
Thanks for the extensive explanation i would surely take note of this
[Nexus 5 Original Android Development] Mrcactuseater:
[MENTION=3873953]eng.stk[/MENTION], what do you think of this EAS thing that has surfaced recently?

Tapatalk'd from my Twisted, Blu_spark'd Nexus 5
[Nexus 5 Original Android Development] fapste:
[MENTION=3873953]eng.stk[/MENTION] I don't know why you won't do Adreno or specially nexus 5s gpu but I believe you can make it better. I flashed the latest adreno drivers and I'm getting 20 or 30 extra SOT minutes. However I can easily feel these drivers aren't as accelerated/snapier then the older ones. May be if you could blu_spark these drivers, the nexus 5 will become invincible.
[Nexus 5 Original Android Development] phantom146:
Can you post a link on that zip your talking about sir? It will be much appreciated :)
[Nexus 5 Original Android Development] :
https://developer.qualcomm.com/software/adreno-gpu-sdk/tools [emoji2]

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] phantom146:
That one isnt fully flashable.. But thanks anyway, i was just curious about adreno-idler but on my tests nexus 5 has great idle optimization so we wont notice that much of a difference
[Nexus 5 Original Android Development] eng.stk:
I don't recommend using that, will get you more trouble than good.

Proprietary blobs, closed source nothing we can change.

N5 graphic performance and power management is rock solid, I don't understand all the fixation in it.
[Nexus 5 Original Android Development] eng.stk:
Don't know what you mean.
[Nexus 5 Original Android Development] Mrcactuseater:
More recently with AK kernel, the dev has come across this.

http://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-project/

Tapatalk'd from my Twisted, Blu_spark'd Nexus 5
[Nexus 5 Original Android Development] eng.stk:
That's old news.

Started with power aware workqueues (that are really old) and those scheduler power aware stuff a couple years ago.

I tested both in several devices and all I can see is performance drops with no battery gains.

Most if the time people add that stuff and run all of it in performance mode because of the perf drop.

Even in HMP SoC I question the efficiency of this.

Keep it simple, works better.
[Nexus 5 Original Android Development] Mrcactuseater:
I assume it would be more effective on big.LITTLE devices, on even ones with larger batteries?

But even still, surely it may help the phone when in powersave mode, or help with making the device more efficient?

Tapatalk'd from my Twisted, Blu_spark'd Nexus 5
[Nexus 5 Original Android Development] eng.stk:
No, it just cuts the grunt.

I already tested all that stuff in HMP device.

nVIDIA also had some power aware patches in similar way, everybody used that crap some months ago.

I tested them, never merged them in blu_spark.

Just the same, cuts the power, no battery gains.

Nowadays, nobody use them...
[Nexus 5 Original Android Development] a g bell:
Hi is there anyway to set selinux to permissive and survive reboots?
[Nexus 5 Original Android Development] Primokorn:
Use a (simple) script... or the plugin from Kernel Adiutor app.
[Nexus 5 Original Android Development] a g bell:
Don't have a script the plugin doesn't stick but cheers

?
[Nexus 5 Original Android Development] Primokorn:
https://www.androidfilehost.com/?fid=23991606952602503
[Nexus 5 Original Android Development] phyl65:
F2FS data partition becomes readonly

Hi,

I am now using F2FS for the data and cache partitions and everything is OK and my Nexus 5 is snappier!

BUT, from time to time, the /data partition becomes read only... which causes the crash of lots of applications. Most of the time, this happens during the night and I notice it on the morning. This never happened when the /data partition was ext4 :confused:.

What could be the cause of this problem? How to investigate it?

I would like to test the background_gc=sync mount option. I edited the /fstab.hammerhead file but after reboot the option has disappeared. What should I do to use this option?

Thanks in advance for your help !
[Nexus 5 Original Android Development] shad876:
Hi. Can this kernel be used with the latest stock ROM MMB29Q? I'm currently using elementalx but I wanna flash the boot img and try this
[Nexus 5 Original Android Development] eng.stk:
It' not f2fs doing that, you have something making your data partition with errors and making it emergency RO remount.

Do you undervolt? Can be your eMMC giving out too.

I recommend you backup your data to PC.

Go to twrp, unmount your data partition and type in twrp terminal:

fsck.f2fs -f /dev/block/platform/msm_sdcc.1/by-name/userdata

This can fix some errors.
[Nexus 5 Original Android Development] phyl65:
[MENTION=3873953]eng.stk[/MENTION] thanks for your reply !

Any idea on how to find the culprit? It never happened when data was in EXT4 with the same apps & rom.

No undervolt. I hope it's not the eMMC... Is it possible that F2FS is more sensitive to eMMC issues ?

Already done... but it comes back.
[Nexus 5 Original Android Development] eng.stk:
Cleanflash.
[Nexus 5 Original Android Development] ensboarder:
Off topic: how good is that One Plus X ?
[Nexus 5 Original Android Development] eng.stk:
It's good, pretty happy with it.
[Nexus 5 Original Android Development] razr003:
drain

i m using blue spark r25 with blisspop3.9

battery draining 20% in night

i undervolted -50 still battery drain any fix or setting for best battery
[Nexus 5 Original Android Development] swat4samp:
Use latest blu spark ?
[Nexus 5 Original Android Development] drac0:
r1 recommended :laugh:
[Nexus 5 Original Android Development] razr003:
drain

latest kernel is for android m

i m on 5.1.1.

m using latest for 5.1.1 i guess still battery drain
[Nexus 5 Original Android Development] navy676aw:
Hey, does this by any chance have the thing that enables your phone to be a keyboard? "Use Android device as USB keyboard/mouse"
[Nexus 5 Original Android Development] frikakwa:
I'd say dev won't be able to help on a deprecated version of Android and his kernel! :rolleyes:

Why not rolling to the last version on M? Really... don't get you! :eek:
[Nexus 5 Original Android Development] eng.stk:
Like already said above, I only support latest versions.

But nevertheless, nothing on kernel would make a 20% during the night.

No, we have drivedroid with CDROM/USB drive emulation.

Is keyboard emulation something that most people would use? idk.
[Nexus 5 Original Android Development] fapste:
[MENTION=3873953]eng.stk[/MENTION] Can you please increase the entropy value from 4096 to 8184? Or at least provide an option for the users to choose the value.
[Nexus 5 Original Android Development] _Vegas:
That's useless?

通过我的 Nexus 5 上的 Tapatalk发言
[Nexus 5 Original Android Development] coffeecore:
I hope one time I can use blu_sp★rk in combination with Purity ROM just like the old code_blue + Purity..

Damn that was the best experience I've ever had. [MENTION=3873953]eng.stk[/MENTION] kept pushing this awesome kernel but unfortunately Purity's latest build is still 5.1.1 :(
[Nexus 5 Original Android Development] drac0:
I'm missing BoostPop 5.1 myself but now theres some pretty good ROMs out there like PureNexus or Krexus give them a try, actually its the kernel that matters! :cowboy: :good:
[Nexus 5 Original Android Development] eng.stk:
Dario doesn't have time for Android now.

To be honest, since Lollipop came out I don't have the need to use custom ROMs.

Only thing I like to test out now and then is CM.
[Nexus 5 Original Android Development] phantom146:
[MENTION=3873953]eng.stk[/MENTION]

Waiting for the next version impatiently :p
[Nexus 5 Original Android Development] Mrcactuseater:
Nothing is broken, so what's to update?

Tapatalk'd from my Twisted, Yank'd Nexus 5
[Nexus 5 Original Android Development] phantom146:
Just want an update :p

If ever though, i want a fox on above highspeed delay on interactive so we can set a frequency:delay such as 20000 300000:60000 like that.. I hope he fixes it :)
[Nexus 5 Original Android Development] marf28101995:
Updates ? Nobody got time for that

Sometimes waiting make it worth at the end blu_mate ;)
[Nexus 5 Original Android Development] coffeecore:
r59 how?
[Nexus 5 Original Android Development] Basche:
Probably testing the new version before release
[Nexus 5 Original Android Development] qu4nd:
that's just stupid... No wonder devs are very sensitive about ETAs these days ^^
[Nexus 5 Original Android Development] phantom146:
Before you speak.. Read the comments carefully and it was supposed to be a phrase of sarcasm..

I commented because its been 4 days and the thread was quiet thats why i voiced out just to put it back up on the n5 thread.. Its not stupid because its sarcastic.. And im pretty sure im not a noob to know how devs feels since im also doing my own tweaks..

Read before speaking
[Nexus 5 Original Android Development] qu4nd:
And still I think it's not sarcasm, but just stupid...
[Nexus 5 Original Android Development] Chaplan:
I think the next update will enable the Amoled screen instead of the IPS we currently are running with.

Just a small heads up guys...

Be aware...
[Nexus 5 Original Android Development] drac0:
It will also enable big.LITTLE core on our krait device and usb 3.0 transfer speed. Cheers!
[Nexus 5 Original Android Development] Surfinette:
When I say bootloop, here is exactly what's happening after installing in recovery and reporting: I see the app optimization screen countdown and then the screen goes "Starting apps" but stays there forever (still starting apps alter 30 minutes or so)!

Any idea how I could solve this?

Sent from my SGS3 with Tapatalk
[Nexus 5 Original Android Development] eng.stk:
Code_Blue r131

New build is up guys, check OP!

Last build r126 has more than 570 downloads in just 4 days :angel:
[Nexus 5 Original Android Development] eng.stk:
Going to have to think about donate then, what you guys recommend, paypal?

My temps are very cool: 24 battery and 35 CPU.
[Nexus 5 Original Android Development] Spectrum75:
Paypal should be fine [emoji106]
[Nexus 5 Original Android Development] omvir:
Hi eng.stk! Can I have the path(if you don't have time just give me a general path to look at) to the hotplug controls, input boost frequency and duration? Also what is the range for the input boost duration if any?

I'm trying to create PAM (great app by franco!) settings for low power using apps, and then I'll share them here if I get any progress!
[Nexus 5 Original Android Development] Surfinette:
Just tried r131... still no luck... my rom won't start, while it would with other AOSP kernels :(

Sent from my SGS3 with Tapatalk
[Nexus 5 Original Android Development] Nucleotide:
Good to see you reconsidered the donate option. I will send you a couple of $$ soon. :good: