yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] LunaticSerenade:
I don't know what you did with R28, but I have never seen battery life like this. I'm at 55% after 21 hours.

Only 30 minutes of SoT, but most of that was Fallout Shelter.

In short, amazing work. :)
[Nexus 6 Android Development] tatoniss:
I'm seeing great battery with r28 as well.
[Nexus 6 Android Development] jodvova:
I would argue they can degrade performance. O3 wont increase your performance comparing to O2 in the kernel code that's possible.

If you have highly templated code, O3 runs about 10-15% faster than O2.
[Nexus 6 Android Development] mtw4991:
Any pics/screenshots of the settings you guys are using with Kernel Auditor app? Or should I just leave everything at the defaults, etc?
[Nexus 6 Android Development] berndt_toast:
Here is what I use with good battery and performance results:

CPU

* CPU Governnor = Conservative

* Schedule workqueues on awake CPUs = enabled

CPU Hotplug - Mako

* CPU Freq Unplug Limit - 2496

* High Load Counter - 3

* Load Threshold - 90%

* Max Load Counter - 50

I/O Scheduler

* Scheduler - fiops

* Read-Ahead - 1536kB

Misc Controls

*TCP Congestion Algorithm - cdg

*All 3 wakelocks disabled

All others left at defaults
[Nexus 6 Android Development] mtw4991:
Thanks, been awhile tweaking kernels, lol.
[Nexus 6 Android Development] networkdood:
On the CPU Unplug Limit, if I have my max freq set at 1497 MHz, then should that CPU limit be set at the same number, or lower?

sent from the future imperfect
[Nexus 6 Android Development] berndt_toast:
You'd want it set to the max frequency, basically setting it to max means that it will not unplug and use all cores until load causes it to get to your max frequency. This setup makes it a dual core machine while screen is off and load is small, once load picks up significantly it will use all 4 cores. This helps to save battery by turning off 2 cores when load is small.
[Nexus 6 Android Development] Darian71:
Personally, I'm currently at the 24 hour battery life mark,with 30% left. Sobim getting near zero drain with screen off and since my fall semester started back, I'm only using my device at random totalling 2 hours SOT. M R28 CFS is actually pretty sweet for me right now. And with my setup that includes elementalx as my governor, I'm getting great performance. 2 strange reboots during that time though. So I've raised the stock voltages to see if I can get it to happen again. Can't catch a log for it. Doesn't show anything but start up afterwards.
[Nexus 6 Android Development] nextelbuddy:
what is F2FS TWRP ? Do I need it or is it required to flash this kernel?

i'm on PureNexus rom on nexus 6 androind L 5.1.1. and Franco kernel R31 with FKU app. I downloaded the Despair.L.BFS.R28.2.Shamu.UBER and Despair.L.BFS.R28.2.Shamu.Linar Zips.

which is one is recommended over the other?
[Nexus 6 Android Development] ProRules:
Hey just a quick question,

In the download section, for each version there is "UBER" and "LINARO".

Whats the difference, and which one should i use with Chroma rom?
[Nexus 6 Android Development] erk1725:
They are different toolchains......what a toolchain is? I dunno! ha.....but when I first started with this kernel, I believe all the builds were built with UBER, just lately have the linaro builds started to pop up here. I was a long time GNEX user and everything was linaro, so that is what I am running currently. I don't know if you will notice much of a difference in speed or battery life with either. Just flip a coin and give it a shot! You can always try the other in a day or two:D:good:
[Nexus 6 Android Development] ProRules:
So basicly is can use both with Chroma?
[Nexus 6 Android Development] erk1725:
Yes, just make sure you pick one that has L not M in the filename
[Nexus 6 Android Development] ProRules:
Alright thanks man!
[Nexus 6 Android Development] erk1725:
No problem......either way, you cant go wrong with Despair! Feature packed, stable and fast!:good:
[Nexus 6 Android Development] ProRules:
The only problem i have which buggers me badly, is when i enable double tap to wake, many times a weird thing happens, the phone keeps playing music and everything but the screen doesn't wake, and then you can't wake it anymore untill you hold the power button and manualy reboot.

Deal breaker for me, anyone else experiences this?
[Nexus 6 Android Development] jodvova:
It works flawlessly on pure M build.

---------- Post added at 22:29 ---------- Previous post was at 22:27 ----------

Stick with Franco kernel.
[Nexus 6 Android Development] erk1725:
Delete.....
[Nexus 6 Android Development] jodvova:
I said it works great on 28.3 with pure M3.
[Nexus 6 Android Development] erk1725:
I'm sorry! I misunderstood your post! My mistake! I will delete the above. Just sticking up for despair!

Sorry again, thanks for not murdering me:)

---------- Post added at 06:07 PM ---------- Previous post was at 06:05 PM ----------

Flashing 28.3 now with jdx M 3.0.3......been trying M for 3 days now
[Nexus 6 Android Development] nextelbuddy:
Why is that? I know how to with with kernels, I'm not a newbie units you are saying that you know for a fact that fk works better with pure nexus ROM?
[Nexus 6 Android Development] blinde:
nevermind...
[Nexus 6 Android Development] mantakos:
Hey. Could someone please help me to disable this 1.9 ghz throttling? I thought it would be automatical in the latest releases but it isnt. Any help is apreciated.
[Nexus 6 Android Development] Darian71:
Update: No random reboots after a +25 Global mv increase on M R28 CFS UBER. Staying with this baby for awhile. I did do a Bootloader log reset after flashing the MP3 version so maybe that's why I'm not getting any misleading battery %'s? Thank you [MENTION=5169465]DespairFactor[/MENTION]!!;):thumbup::thumbup:
[Nexus 6 Android Development] jodvova:
Which hotplug are you using?
[Nexus 6 Android Development] mantakos:
I am using kernel 28.3 all stock settings. So it is Zen decision.
[Nexus 6 Android Development] necropuppy:
I just started using this kernel, and I'm loving the responsiveness and battery life, however I cannot get Skvalex's call recorder to record calls.

It works on other kernels using CAF method or ALSA, I tried the MSM options, but nothing is working. I searched the thread and no mention of this so I thought I'd ask if there was a fix for this, or some kernel option that needs to be enabled in the build?

Any help would be appreciated.

Edit: I'm using the 28.3 bfs linaro. Hadn't tried the uber. Also on Android L, pure nexus rom.
[Nexus 6 Android Development] nextelbuddy:
I flashed M preview and its encrypted fine. once i completed the full google auto restore, I copied over the updated TWRP, Superuser beta, Depair Kernel and then flashed everything. I then performed a factory reset and booted back up and let google do its auto restore AGAIN.

finally after all said and done I had DESPAIR Kernel, i'm rooted and fully restored. I go to settings>security and it still says ENCRYPTED ?? cmon really? how the heck do i get decrypted when i thought that what I did was correct... :/
[Nexus 6 Android Development] berndt_toast:
Need to use the Format option, not wipe. And all partitions need to be formatted as best I can tell, which means you will need to backup all your data (including internal sdcard) to your PC or other means.
[Nexus 6 Android Development] nextelbuddy:
ah ok i feel ignorant then. I only did a factory reset but i forgot that in TWRP factory reset doesnt touch userdata and that has to be manually wiped. i will get on that asap. thank you!
[Nexus 6 Android Development] mtw4991:
Here is a DB link to the decrypted boot image I used in the same situation:

https://www.dropbox.com/s/s1hm98w4u5mq5c3/decrypted_mp3_boot.img?dl=0
[Nexus 6 Android Development] Rodrigo Vilhena:
Hello guys I'm running Xtrasmooth last M preview ROM and Despair Kernel BFS 28.3 UBER.

When I run Antutu after it finish the process my CPU is locked on 1958Mhz, and some minutes later it back to 3033Mhs the frequence that I set on Auditor.

I have searched here and tested the themal-engine-shamu.conf edit, I erased that file, tried the init.d script too.

Nothing seems to work.

Any help here?

Thank you!
[Nexus 6 Android Development] KonoeKyon:
1958MHz would be the bcl driver not thermal. If you are referring to the init.d script to disable bcl, make sure you are setting 755 permissions on the file, otherwise it won't work.
[Nexus 6 Android Development] Rodrigo Vilhena:
I did, I will upload a pic of how I set the file.

I put the file on system/etc/init.d

Thank you for your attention!
[Nexus 6 Android Development] KonoeKyon:
Try naming it with a number at the beginning, I have mine named 01disablebcl
[Nexus 6 Android Development] DespairFactor:
Here is my script, I named it 67bcl

#!/system/bin/sh

sleep 60

echo disabled > /sys/devices/qcom,bcl.39/mode
[Nexus 6 Android Development] DespairFactor:
Sorry guys, I have been a bit absent from my thread, thanks to all who are helping out with any issues
[Nexus 6 Android Development] mtw4991:
I copied yours, but what does the "sleep 60" do? ;)
[Nexus 6 Android Development] DespairFactor:
makes it wait 1 minute or 60 seconds
[Nexus 6 Android Development] KonoeKyon:
Makes the script wait 60 seconds before it executes the command
[Nexus 6 Android Development] mtw4991:
When I check in /sys/devices/qcom,bcl.39/mode after reboot it still shows enabled. Are there spaces between

disabled > /sys or none disabled>/sys? Doesn't seem to be setting or do I not understand something? (Likely lol)

---------- Post added at 09:36 PM ---------- Previous post was at 09:28 PM ----------

Probably need to run it in terminal emulator huh?
[Nexus 6 Android Development] KonoeKyon:
I zipped the script I have, unzip it on your phone and push it to the right folder with correct permissions, see if that works
[Nexus 6 Android Development] mtw4991:
Nvm, I got it working, forgot to set permissions to 755 duh! Been awhile lol, thx

---------- Post added at 09:49 PM ---------- Previous post was at 09:46 PM ----------

Thanks for the effort, any other recommended changes? Hard to read 150 pages when you work all the time lol
[Nexus 6 Android Development] KonoeKyon:
Best recommendation I can give is try out the settings and figure out what works best for you. I usually run with conservative set to 3033MHz and 1 second input boost of 1.2GHz, bfq with 2048 read ahead, cake for congestion and cdg for TCP, I don't mess with the wakelocks since they cause connection issues for me when I have bad signal. Right now I'm trying out elemental instead of conservative though. I'm on the BFS Uber kernel for Marshmallow
[Nexus 6 Android Development] mtw4991:
Will do, thanks for the help! Modded the thermal file too
[Nexus 6 Android Development] DespairFactor:
It seems like all your posts are on my thread:P
[Nexus 6 Android Development] KonoeKyon:
I only just started posting on xda and your kernel is the one I use so makes sense :p
[Nexus 6 Android Development] DespairFactor:
I actually delete the thermal file myself or rename it by adding .bak to the end of it on my device
[Nexus 6 Android Development] mtw4991:
No negative affects huh?
[Nexus 6 Android Development] DespairFactor:
Is anyone interested in learning android development? Kernels/ROMs?

EDIT: I am thinking of starting a hangout/IRC to teach some people.
[Nexus 6 Android Development] DonCarluchio:
I would love to. I'm currently reading everything I can on it and starting to port ROMs and such to try and learn the basics. I would love some help just not sure who to ask or how to go about it.
[Nexus 6 Android Development] DespairFactor:
Everyone that is interested can message me on hangouts.
[Nexus 6 Android Development] Rodrigo Vilhena:
Good morning, what is your hangout contact?

Thank you!
[Nexus 6 Android Development] ridobe:
Man, I have hope. It never occurred to me that this could fix my random reboots. Fingers crossed but good results so far. Thanks for the tip.
[Nexus 6 Android Development] mtw4991:
For some reason, I can't find cake in kernel auditor anywhere...tried multiple times lol. Everything else is fine btw, except for the occasional reboot 1-2 times per day. Maybe +25mv bump?
[Nexus 6 Android Development] DespairFactor:
It's set by tc binary, its not in any kernel app
[Nexus 6 Android Development] mtw4991:
Ok, guess I won't mess with it then ;)
[Nexus 6 Android Development] KonoeKyon:
#!/system/bin/sh
sleep 60
tc qdisc add dev wlan0 root cake
tc qdisc add dev rmnet_usb0 root cake
tc qdisc add dev rmnet_data0 root cake

init.d script if you want to try cake, also if you want to try any of the other ones listed in the op replace cake with the corresponding algorithm
[Nexus 6 Android Development] mtw4991:
Thanks!
[Nexus 6 Android Development] Darian71:
Can't complain about this! No reboots, freezes, dogs or cats rebooting either. Great performance, no lags, everything working that I can tell. Now running XtraSmooth MP3 on despair M CFS UBER R28 2 days now. :thumbup::thumbup:
[Nexus 6 Android Development] tatoniss:
So I'm having a weird situation again ha-ha. I just switched to the m preview (jdx specifically) and now my bcl script doesn't seem to be doing anything. I'm stuck at 1958. I have checked permissions and everything.
[Nexus 6 Android Development] DespairFactor:
that's not a kernel issue though, it would have to be something to do with M since the kernel source is the exact same, as is the script.

It could be your thermal conf
[Nexus 6 Android Development] tatoniss:
I deleted the thermal conf. I figured it was Android m. Was just curious if anyone else was running it and figured out a fix.
[Nexus 6 Android Development] DespairFactor:
I am going to work on a rebase tomorrow after I setup my SSD in my system. I will be removing some hotplug stuff and doing a general cleanup.

UPDATE: SSD installed, now setting up my environment while I sleep, then I begin rebase tonight.
[Nexus 6 Android Development] thuggn16315:
M kernel stuck at lower frequency

Is your battery low that can keep your frequency down
[Nexus 6 Android Development] ohad129:
What is the diff between all version ?
[Nexus 6 Android Development] jodvova:
So did it work on Android M3 ? Deleting that file?
[Nexus 6 Android Development] Tylog:
M Build works fine with M3 , didn't test 29'but all other before are fine.
[Nexus 6 Android Development] ohad129:
M3? Where?

---------- Post added at 06:12 PM ---------- Previous post was at 06:11 PM ----------

Fine before? It what hot as hot can be my cpu on 28.3 reach to 72c
[Nexus 6 Android Development] jon.s.nelson:
Hi. I'm on L.BFS.R29. Just curious if hyper governor was removed on purpose since the last build...
[Nexus 6 Android Development] elreydenj:
After updating to 29 the init.d script to no longer have bcl scale down cpu to 1958 or 1728 at certain batter percentages appears not to be working. I re added it and no dice.....

Edit... It worked after renaming the init.d file for a minute but then reverted somehow. Still can't get bcl to not scale down cpu on 29... Worked fine on 28.3. Any ideas?

Edit 2... Also CPU locks to 35 mhz at 10% battery. Need some help!

Edit 3... Seems to be something with Franco kernel app. I uninstalled it and then installed again.... I'll report back.
[Nexus 6 Android Development] elreydenj:
I was wrong about Franco app... It is the thermal conf file. Once deleted it no longer knocks down cpu to 35 mhz . this didn't happen on 28.3. I liked to tweak this file instead of deleting it because I like it to kick a core off at the desired battery threshold. I know despair deletes the thermal conf file as referenced earlier. Any input?
[Nexus 6 Android Development] DespairFactor:
It is not beneficial for our devices so it was removed, I cleaned up some stuff and removed things people don't really use.

What hotplug are you using?
[Nexus 6 Android Development] simms22:
believe it or not, but 72C for the cpu is actually in the safe range. it wont be there constantly, but will shoot up there every once in a while. the safe range extends to 100C. when your phone hits 100C, it will automatically shut down or reboot, to cool off.
[Nexus 6 Android Development] elreydenj:
Zen.
[Nexus 6 Android Development] DespairFactor:
Zen has battery thresholds as part of it's options.
[Nexus 6 Android Development] elreydenj:
Yeah but they wont work. Zen usually killed a core at 15% I believe and that no longer occurs. On zen with thermal conf deleted my cores all stay on and there is no longer a way to throttle back a bit. How would I go about telling the kernel to kill a core at 15% now and to scale down to 1958 at 10%? As my battery dies down again I'll check. Just very curious as to why thermal conf makes cpu go down to 35 mhz at the desired battery percent threshold even though it is set to 1728 or 1958 in the file?
[Nexus 6 Android Development] rignfool:
Tasker... Or any kernel tweaker with triggers will do that
[Nexus 6 Android Development] jodvova:
Can anyone tell where can I find thermal.conf on the filesystem? And do I need to delete it in M29 or does the kernel deletes it automatically?
[Nexus 6 Android Development] jon.s.nelson:
Path:

/system/etc/thermal-engine-shamu.conf

(I'm on L29 but I don't believe kernel deletes it; it's there if you want to use it)
[Nexus 6 Android Development] elreydenj:
I am using 29 BFS Uber for reference. I set the parameters to 99 and 98 so it won't throttle down to 35mhz until 1%. Can you recreate the issue?
[Nexus 6 Android Development] Pilz:
I'm getting a lot of random reboots on the R29 BFS Linaro kernel. I've attached a picture below so you cna see the odd behavior below. I'm running stock frequencies with a bfq scheduler (2048 read ahead buffer) and that's it. Its been occurring on my phone since R26.9 but I don't know why.
[Nexus 6 Android Development] ohad129:
I can a sure that back to elementalX
[Nexus 6 Android Development] KonoeKyon:
Are they reboots or does it just crash and shut off? I've had a few issues on the newer kernels since just before the naming changed with it just silently crashing/shuts down at times. I figured it was because I was on the dev preview for M though. The shut downs also don't leave any logs so I haven't been able to post anything. I've been hopping to get a log when it happens since just saying it randomly reboots or crashes is of no use really in trying to fix it.
[Nexus 6 Android Development] DespairFactor:
I have no issues at all across lollipop and M

Try CFS, others have stated BFS may cause reboots

Cool story, thanks for an NVA post
[Nexus 6 Android Development] Tylog:
What ?
[Nexus 6 Android Development] pantmunu:
I'm on r 29 bfs m uber kernel from yesterday and I have had no reboots yet. And battery life is amazing too . just saying. ;)
[Nexus 6 Android Development] russlowe73:
I don't see a setting in kernel auditor named profile_ number to add a zzmoove profile, can some one post a screenshot?

Sent from my Purified N6 from Hellscore.
[Nexus 6 Android Development] DespairFactor:
It is in the governor tunables.
[Nexus 6 Android Development] russlowe73:
Thanks

Sent from my Purified N6 from Hellscore.
[Nexus 6 Android Development] Pilz:
I'm giving the CFS a try I'll let you know how it goes. Is the LINARO better or worse than UBER to fix random reboots/does it make any difference?
[Nexus 6 Android Development] DespairFactor:
Shouldn't matter
[Nexus 6 Android Development] Pilz:
I had 2 reboots today using the CFS Linaro R29 kernel. I just flashed it and kept everything stock so I'm not sure why its doing that. I can bull s bug report the next time it happens for you
[Nexus 6 Android Development] pantmunu:
This was yesterday. SoundCloud, Instagram, kik, chrome, xda, messaging and other few apps. Constantly. Pretty darn good .
[Nexus 6 Android Development] DespairFactor:
New builds will be coming soon with a more up to date toolchain, Chet is a mad man, pushing too many toolchain source updates, and you know, linaro pushes new stuff daily.
[Nexus 6 Android Development] phillysmako:
Chet is the man! And your the man to!!!! I love these uber toolchains!
[Nexus 6 Android Development] Pilz:
Can't wait for the updates! The kernel is great aside form the small issues I'm having
[Nexus 6 Android Development] DespairFactor:
Can you try flashing the stock no encrypt kernel for your android version and then flash my kernel? I use anykernel and suspect there is some value set by a kernel you flashed before mine lingering in ramdisk.

I have also been working on some PHP for my hosting to ensure it is cleaner and provides a better user experience to the android community.
[Nexus 6 Android Development] russlowe73:
Sorry to be off topic, but not only do you make a great kernel, but a fellow Raiders fan too, team is on the up and up. Hyped up for this season.

Sent from my Purified N6 in Despair.
[Nexus 6 Android Development] DespairFactor:
OT is always allowed:) Cooper and Mack looking good:) Hopefully Murray steps up as RB. Also, that Crabtree and you can't forget the OG Janikowski. Carr should shape up to be good this season, I think last season he was still getting used to playing with the big boys and working out some team chemistry.
[Nexus 6 Android Development] russlowe73:
Yeah, pass rush is gonna be good, Carr should be much improved with Cooper and Crabtree. Hayden needs to step up in the secondary, no better DB to learn from than Charles Woodson.

Sent from my Purified N6 in Despair.
[Nexus 6 Android Development] pantmunu:
[MENTION=5169465]DespairFactor[/MENTION] is there anyway you could look into preservative and ragingmolases governors. Hears good stuff abt them
[Nexus 6 Android Development] DespairFactor:
They are conservative based and likely just tuned settings, if you link I can look either way. Also, please link original source.
[Nexus 6 Android Development] housry23:
Running your M kernel and this question might be off topic, but maybe someone here can help. I am running the latest Marshmallow Preview and rooted. All root apps work and root checker says root and busybox are installed properly. My problem is, I can't change system files and system is not 0644. I try changing DPI and it fails. I try editing build.prop and it fails. I try changing permissions and it fails. Is this an Android M thing or have I failed to flash something I need? I tried by flashing your kernel, SuperSU 2.49 beta and networking pro's busybox. Thanks in advance!
[Nexus 6 Android Development] pantmunu:
Trying to find the original source and takes me straight to xda guide thingy. I'll dig deep.
[Nexus 6 Android Development] DespairFactor:
there is a rw boot img you need to flash, I can't recall where it is though.
[Nexus 6 Android Development] housry23:
Thanks, I found it. Much appreciated. Loving the kernel! Google Play Services really is eating my battery, but I think it's because of a fresh OS install and I forgot to turn off Bluetooth. No reboots or lag though. Thanks!
[Nexus 6 Android Development] Pilz:
I can see that being a possibility considering how many things I've flashed since I first decrypted my phone. I'll have to find the stock non-encrypt kernel first then I'll let you know how it goes.
[Nexus 6 Android Development] droidkevlar:
Been hearing good things about this kernel and wanna check it out. Which version of r29 should I DL if I'm running pure nexus?
[Nexus 6 Android Development] MrBrady:
I'm on Pure Nexus and running the Uber version since yesterday. So far, so good.
[Nexus 6 Android Development] aloom:
If u do find it , throw a link here please . Thanks.
[Nexus 6 Android Development] Pilz:
The only one I found was for 5.1.0 not 5.1.1 I'm going to try it anyway and see what happens.
[Nexus 6 Android Development] elreydenj:
After updating to 29, phone seems to be shutting down well before reaching 0. I believe it has happened 2 times that I have noticed. I wiped bootloader logs and I will run it down again and check. This did not occur on 28.3.
[Nexus 6 Android Development] DespairFactor:
Weird, the commits are reverted in this build too.
[Nexus 6 Android Development] elreydenj:
It is reporting correctly. for example when i boot into recovery the battery is at the same level that the system was reporting. I have just noticed it shut down a handful of times at or under 10%. Im running it down again after the bootloader log clear and ill report back.