yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] DespairFactor:
LOL, hilarious

It should be coming soon, in addition to OnePlus Two kernel, when I have a device
[Nexus 6 Android Development] DespairFactor:
I am working on getting us LZ4 ramdisks in AnyKernel zips for the next update.
[Nexus 6 Android Development] jodvova:
It looks like my occasional hard reboot issues were related to overclocking. I was at 3ghz with a substantial increase in voltage, but that didn't help much.

I moved back to 2.8ghz and haven't had a single hard reboot yet.
[Nexus 6 Android Development] KonoeKyon:
Unfortunately not all phones can handle that overclock and be stable, and honestly it doesn't boost performance by that much anyway so you are better off having it stable and a lower speed. :)
[Nexus 6 Android Development] moraytadroidz:
Saw the new version, why the increase in size? Any major thing added? Tnx. Great kernel.
[Nexus 6 Android Development] Darian71:
On R26.6 I've got core 4 staying here on elementalx. On conservative, interactive and intelliactive, core 4 will not drop below 300MHz. The rest idle at 98 like I intended.
[Nexus 6 Android Development] DespairFactor:
Try setting the minimum again, it works fine on my device.
[Nexus 6 Android Development] Darian71:
You are the man! Set it again and she's working as usual sir. Back on my favorite governor now. Lesson learned. Always try resetting values in kernel auditor before posting. :thumbup::sly:
[Nexus 6 Android Development] Megaflop666:
Both versions (lollipop and M) are working great! Thanks.
[Nexus 6 Android Development] uudruid74:
Ouch. I get to try the kernel when you get a OnePlus Two? Considering the waiting list and how fast they are shipping, you could have just given me the finger and told me to go F$#@ myself! :p
[Nexus 6 Android Development] tatoniss:
So I'm really enjoying r25 on omni rom, Very smooth. But I have one weird issue. I normally edit the thermal engine shamu conf file to not downclock at certain battery levels. This has worked fine for a long time. But now around 40% I get brought down to 1958. I can't stop this no matter what. I'm not sure if it's a kernel feature/setting or omni. Do you have any ideas or tips I could try? I use on demand governor, overclock to 2083, simple on demand gpu , and bfq.
[Nexus 6 Android Development] skinzy98:
So just curious. What's the difference between CFS and regular because I would love to try this on deselation ROM and need to know what to flash
[Nexus 6 Android Development] hellsgod:
The difference is the cpu scheduler, how it calculates load and behavior for the cores. CFS has a workqueue for every core and tries to handle the whole thing as fair as possible, whereas BFS only has one workqueue for all cores. Less calculations and maybe more efficient in some cases. Try em both.

hells
[Nexus 6 Android Development] DespairFactor:
Updated the zzmoove governor to beta8 and now we are trying out LZ4 with O3
[Nexus 6 Android Development] cerico76:
I have to say to you THANK YOU! I've got 4 HR SOT and 45 % of battery remaining! Very impressive! Of course,just in WI FI,no 4G,but is really awesome!
[Nexus 6 Android Development] quaman:
I'm really digging this kernel with euphoria. Does anyone else use a dual core mako setup? some hotplugs such as despair, conservative and interactive work correctly and others such as Barry Allen and hellsactive online all 4 cores. I'm attaching a screen shot of my settings there the same one mike barrett posted on YouTube not sure if you guys are familiar with him. Maybe it's an error with setup.
[Nexus 6 Android Development] DespairFactor:
Set load threshold to 100
[Nexus 6 Android Development] erk1725:
Ive watched this video you are referring to, I believe.....quite a few times actually, unless there is a more recent one, and I think he onlines all four cores at 2496 or whatever with the load at 90% fwiw, maybe watch it again, and he does this using conservative gov.:good:
[Nexus 6 Android Development] erk1725:
Thanks for the update..... Downloading now

Edit....or not! Ha....can't see 26.8 yet....my bad

Edit2....found it :)
[Nexus 6 Android Development] DespairFactor:
You posted before I uploaded it;)
[Nexus 6 Android Development] erk1725:
Well I could tell from just rebooting after installation that this is blazing!!! Without a doubt something made it noticeably faster!! Stock settings....hopefully battery remains what I'm used to seeing but you're the man!

Thank you very much for your time and hard work!
[Nexus 6 Android Development] DespairFactor:
Stock settings is same as google's settings:P I tend to encourage people to change them
[Nexus 6 Android Development] erk1725:
Well I'm still new to this phone coming from a galaxy nexus and so far I feel like the more effin with stuff I do the more my battery sucks! Ha....I've tried to under clock, UV, mako with mike Barrett? Tweaks like posted above and just seems like my battery life goes downhill. I've read around a lot and tried....I dunno finally got really good idle drain again so maybe Ill will try something's. I've read your op for your ROM and tried those too but it was a while ago so maybe I will try them again

Good to know you encourage people to change them. I never knew they were googles settings. Just went by the developer knows best
[Nexus 6 Android Development] DespairFactor:
I do not like to force settings on users, this kernel is meant to be the tweaker/advanced user's treasure. You can flash it and change tons of things to make it truly your setup.
[Nexus 6 Android Development] erk1725:
Certainly plenty of options:thumbup:

Thank you....sounds like playtime:)
[Nexus 6 Android Development] alligator_fight:
I keep getting

E:Error executing updater binary in zip 'usb-otg/Despair.M.HH.R2.zip

How can I fix this?
[Nexus 6 Android Development] DespairFactor:
Don't use OTG to install?
[Nexus 6 Android Development] stevew84:
Gotta ask, what happened with the ROM you were going to build but ended up closing the thread?
[Nexus 6 Android Development] DespairFactor:
it's being worked on still.
[Nexus 6 Android Development] Megaflop666:
You're slowing down man... I was logging in to download my daily update and it's not here. ;)
[Nexus 6 Android Development] fedef12evo:
Any plan on cfq patch for SSD device?
[Nexus 6 Android Development] DespairFactor:
Ummmm what?
[Nexus 6 Android Development] fedef12evo:
https://github.com/hhoffstaette/ker...10-fix-the-setting-of-IOPS-mode-on-SSDs.patch
[Nexus 6 Android Development] DespairFactor:
I have had that for 15 days....

https://github.com/DespairFactor/N6/commit/0943a8da1c7d97b7550a766fc2feab337284b479
[Nexus 6 Android Development] fedef12evo:
Awesome
[Nexus 6 Android Development] kronikings:
This kernel is ok
[Nexus 6 Android Development] networkdood:
I am still on R25 of this kernel...no reason to upgrade...

Sent from....a phone
[Nexus 6 Android Development] Darian71:
Well, that is one impressive reason to change...., BUT, I actually switched back to R26.6 lastnite to see how my deep sleep went and undeniably got less battery drainage. BUT, I am running a new Rom with nightlies called Exodus (Morph) on the Exodus setup. Gonna see how my SOT is today. Past 2 days on R 26.8 I squeezed out 4 hours. I'm used to 5+ on Euphoria and Chroma. BUT!... the R26.8 is very smooth and worked flawlessly. Just basically commenting because it's been quiet in here......:D:D:thumbup:
[Nexus 6 Android Development] networkdood:
Wowsers...maybe I should upgrade...lol

Sent from....a phone
[Nexus 6 Android Development] ztotherad:
running 26.8 with zzmoove (insane profile) with zen. i used zzmoove on my note 2 and thought it was just a governor for exynos cpus, but it's kicking ass and taking names! thank you so so damn much
[Nexus 6 Android Development] networkdood:
Is it great on the battery life?

Sent from....a phone
[Nexus 6 Android Development] KonoeKyon:
I consistently get between 4 and 5.5 hours SoT and full day of usage, even over clocked to 3033MHz with horrible cell reception. I've never had much in the way of battery issues, at least not kernel related :svetius:.
[Nexus 6 Android Development] jodvova:
Has anyone yet tried this kernel with a new M release?
[Nexus 6 Android Development] DespairFactor:
It should work, there is no kernel changes yet from Google. I am waiting for a flashable zip myself to test.
[Nexus 6 Android Development] jodvova:
I confirm it all works fine.

I dirty flashed M3 without userdata, then boot_m3_no_forceencrypt, then super su, busy box and 6.8. All booted up and works as before on m2.
[Nexus 6 Android Development] SmartBrother90:
+1
[Nexus 6 Android Development] elreydenj:
Can you write to system? Thanks.
[Nexus 6 Android Development] jodvova:
No.

And I forgot how I fixed that in M2.
[Nexus 6 Android Development] SmartBrother90:
nope, i skipped the busybox step..might be why its not letting me
[Nexus 6 Android Development] elreydenj:
There is a fix r/w zip that you can flash. That did the trick on preview 2. I'll try it tomorrow and see if it works. It worked on preview 2.
[Nexus 6 Android Development] siddhesh.raikar:
Can you send me a link to the no force encrypt boot img..

Edit: Found it in the general section

Sent from my Nexus 6
[Nexus 6 Android Development] :
wanted the M kernel but the download page is confusing, all uploaded same time, R26,R6,R26.7,R6.7????? dont know what all that is please provide a link to the latest that works on M3. Thanks
[Nexus 6 Android Development] DespairFactor:
It's the ones that say M in the name...
[Nexus 6 Android Development] jodvova:
Do you have a link to it please?
[Nexus 6 Android Development] elreydenj:
I will try it and report back today when I get to work. Then I will link it.
[Nexus 6 Android Development] elreydenj:
It is the link in the OP under links. Third one down. Someone else reported that it did not work and resulted in a boot loop. I will try it and get back to you.
[Nexus 6 Android Development] elreydenj:
it results in a bootloop....
[Nexus 6 Android Development] jodvova:
To make r/w on system flash decrypted_mp3_boot.img from here http://projectelite.net/buck/shamu/M/
[Nexus 6 Android Development] jon.s.nelson:
Question about kernel's behavior when battery gets lower then 40-50%

Hi, and thanks as always for the great kernel!

So..It seems that whatever kernel I'm on, my max cpu (2726) gets lowered when the battery reaches less than 40-50% (first to 2265; then to 1728) Also, the 3rd and 4th cores get shut off as the battery gets lower. I heard somewhere that this is an automatic "feature" (built in lollipop?) but I'd actually like the option to have my cpu setup to remain the same regardless of my battery state (since I can always choose to turn on the battery saver when I want) Can you offer a word or two about this "feature" and perhaps a solution for overriding it?

*Needless to say I'm NOT running any battery saving profile

Thanks in advance
[Nexus 6 Android Development] jodvova:
As I understand, this "feature" entirely depends on the hotplug that you're using.
[Nexus 6 Android Development] jon.s.nelson:
I'm not applying any specific hot plug, but I'd be happy to apply whatever might override this behavior.
[Nexus 6 Android Development] jodvova:
Well, install kernel adiutor and play with CPU hotplugs. MSM hotplug might have what you want (min CPUs online).
[Nexus 6 Android Development] pantmunu:
So I have mine flashed with hellcore and rooted. Can I just flash this in recovery ??
[Nexus 6 Android Development] jodvova:
Yes. Dont forget to flash 6.8 after it.

You will get an error message on boot, but just ignore it.
[Nexus 6 Android Development] the.emilio:
I think he was asking if the img file can be flashed in recovery. Doesn't the img file have to be flashed via fastboot first then flash hc or Despair in recovery?
[Nexus 6 Android Development] DespairFactor:
No errors on my side:)
[Nexus 6 Android Development] jodvova:
Doesn't matter. I flashed img and 6.8 zip in TWRP.

---------- Post added at 20:33 ---------- Previous post was at 20:33 ----------

Did you do anything to get rid of it? Maybe img was updated or smth.
[Nexus 6 Android Development] the.emilio:
Didn't know we could do that. Good to know.
[Nexus 6 Android Development] elreydenj:
I guess it is really an annoyance that doesnt really affect anything whatsoever, but care to share how we can run your kernel with R/W access on MP3 without the annoying warning message showing up at boot? Thanks in advance.
[Nexus 6 Android Development] DespairFactor:
Use the decrypted mp3 boot from earlier in the thread, about a page back. Then boot twrp and it may prompt you saying it is read only system, it will allow you to swipe to fix it, then reboot into rom;)
[Nexus 6 Android Development] elreydenj:
Hmmm , went through these steps and i do not get a prompt from TWRP. I have root and R/W but still get the annoying warning message. Is it possibly because you never flashed the stock recovery when updating to MP3?
[Nexus 6 Android Development] DespairFactor:
Yeah haha, that's possible, prior to boot, I flashed system, cache and userdata, TWRP and decrypted boot were flashed prior to first boot too. No bootloader flashed and no radio.
[Nexus 6 Android Development] elreydenj:
Yes, i believe it is a combination of one of those steps. Either not flashing the stock boot.img up front, or not flashing the stock recovery first, or coming from a rom with no message and then not flashing the updated bootloader. Anyway, not quite sure which. if someone was able to confirm then i would probably take the proper steps to remove it.
[Nexus 6 Android Development] DespairFactor:
It is not bootloader, it is likely the recovery step. if you have time try flashing stuff like I did, and do twrp recovery instead of stock.
[Nexus 6 Android Development] jon.s.nelson:
Thanks for the tip; that solves the issue of cores shutting off when my battery is low. However, I've tried all the hotplugs, and with all of them my maximum CPU still gets lowered when my battery's below 50%... Should I try tweaking with Synapse?

Any advice [MENTION=5169465]DespairFactor[/MENTION]?
[Nexus 6 Android Development] Darian71:
Just flashed R6.8 on MP3 (New Bootloader and Radio JDX 3.0) And absolutely no issues. Testing alllllll day.:eek::D:thumbup:
[Nexus 6 Android Development] DespairFactor:
Logs please.
[Nexus 6 Android Development] tatoniss:
To get around it you have to edit the file thermal_engine_shamu.conf

This used to always work. But lately it's not working anymore and I'm not sure why. At around 50 I get lowered to 1958. You can go ahead and try it. It's in the etc folder.
[Nexus 6 Android Development] KonoeKyon:
You can change that by using a root explorer and going to system/etc/ and opening the thermal-engine-shamu.conf file, it has the values for the battery % it lowers the max freq at. It would be under [BAT-SOC-CPUFREQ]. Thresholds and threshholds-clr are the %'s it lowers the CPU at and raises it again, action info is the frequency it lowers to at that threshold.
[Nexus 6 Android Development] DespairFactor:
Have you tested this and verified changing this works?
[Nexus 6 Android Development] KonoeKyon:
If it is lowering to 1958 then it has to do with the bcl driver, it limits CPU sometimes when you are doing something that places a high load on the CPU and battery to prevent shutdowns, you can disable it with an init.d script if you want.

#!/system/bin/sh echo disabled > /sys/devices/qcom,bcl.39/mode

---------- Post added at 03:45 PM ---------- Previous post was at 03:41 PM ----------

I've done it and it works, also it looks like in Android M they made it only throttle freq under 21% battery now.

[BAT-SOC-CPUFREQ] algo_type monitor sensor soc sampling 5000 thresholds 80 thresholds_clr 79 actions cpu action_info 1728000

---------- Post added at 03:51 PM ---------- Previous post was at 03:45 PM ----------

I believe the second post in the zen kernel thread has the information about it BTW.
[Nexus 6 Android Development] tatoniss:
Yes it does work. I have even tried deleting all the contents of the file and that works as well.

---------- Post added at 08:12 PM ---------- Previous post was at 08:10 PM ----------

@KonoeKyon If this is the issue thank you so much. I'll have to go test it. It has been driving me nuts lately. It's weird because it never used to happen. Now it happens all the time with several roms and kernels.
[Nexus 6 Android Development] KonoeKyon:
I had issues with it before when trying g to record video with Google camera and it would cause issues sometimes with YouTube at higher resolutions and video play back of .mkv files in hi10p or h265. DespairFactor did try to minimize the effect of it by preventing it from hotplugging cores and raising some of the thresholds it uses. I ended up disabling it though. It was a lot more annoying before the fixes he implemented though as it would cause lots of lag at times when it dropped cores.
[Nexus 6 Android Development] DespairFactor:
So you are confirming it's BCL from your side? Are you 100% its this and not thermal? I am looking to fix this in source.
[Nexus 6 Android Development] tatoniss:
[MENTION=5293130]KonoeKyon[/MENTION] I'm not sure if I set up the script right. I'm at 25% battery and stuck at 1958. Here is what I have.View attachment 3444923
[Nexus 6 Android Development] DespairFactor:
Ech 0 into it, iirc
[Nexus 6 Android Development] KonoeKyon:
Oh no I'm not blaming anything it was a reply to him since he was being throttled to 1958 which is what the driver throttles to, the thermal engine throttles to 2256 and 1728 at certain battery percentages. If it's thermal engine you want to block or fix I think lean kernel has a option to prevent the listing of frequencies from it.
[Nexus 6 Android Development] DespairFactor:
I can just remove the file from the device or replace it with a blank file.
[Nexus 6 Android Development] KonoeKyon:
Did you set up 755 permissions? I set mine up as 1bcl for the name if that makes a difference

---------- Post added at 07:42 PM ---------- Previous post was at 07:23 PM ----------

Might not be the best idea in case it causes issues with other things, might be a why to have the kernel ignore the parameters? That way it's just an option of yes or no if you want it to affect frequencies or not.
[Nexus 6 Android Development] DespairFactor:
I can still replace the file, I haven't looked at the file myself so I'm unsure of what's in it right now.
[Nexus 6 Android Development] tatoniss:
[MENTION=5293130]KonoeKyon[/MENTION] I think it was the permissions. I'm at my desired clock speed at 24% battery. Thank you so much for your help. I have been messing with this for a week. I had thought it was the thermal.conf. So glad to be back on despair kernel again. Hopefully this sticks.

[MENTION=5169465]DespairFactor[/MENTION] For a while I just edited the file so the downclock would happen at 5% battery. But now I just open the file and delete all the contents. So far I haven't noticed any bad effects. The main reason I nuked the whole file is I didn't want any throttling. Otherwise it messes with clock speed, cores, and even gpu speed.

---------- Post added at 12:02 AM ---------- Previous post was at 12:00 AM ----------

Oh I think I should say that this bcl thing is happening on zen kernel and lean kernel. Also tried omni rom and pure nexus. So I don't think this is unique to this kernel.
[Nexus 6 Android Development] DespairFactor:
So we have determined BCL? I will get it under control and release a new build tonight, so watch the thread/hosting.
[Nexus 6 Android Development] tatoniss:
If you don't want any throttling then I suppose it's both.
[Nexus 6 Android Development] KonoeKyon:
I don't mind the thermal-engine-shamu.conf throttling so much since you can always edit it and custom tailor it however you want
[Nexus 6 Android Development] tatoniss:
OK I need to test this. I'm going to reinstall rom and kernel. Not sure if this is related but my phone started rebooting randomly. I was overclocked so I went down to stock and still had issues.

Before this tweak while overclocked I'd maybe get one or two reboots a day. After the bcl thing it was almost any time I used the phone. Hopefully a reinstall will help

OK so I dirty flashed my rom and added the init.d script. This time I used r25 instead of r26.8. I also did not overclock. So far I haven't had a reboot even after running antutu and sdmaid. False alarm ha-ha.
[Nexus 6 Android Development] KonoeKyon:
The point of bcl and some of the other throttles are to help mitigate random shut downs from putting too much load on the battery I think, did the reboots happen below a certain battery level?
[Nexus 6 Android Development] jon.s.nelson:
I also got stuck at 1958 when I was in the 40% battery range (inspite of my tweaks to the thermal.confi) but [MENTION=5293130]KonoeKyon[/MENTION]'s init.d fixed it, thanks!

I'm also curious/concerned if overriding the throttling at low battery %s will result in early shutdowns....We'll see in a couple of hours :)
[Nexus 6 Android Development] DespairFactor:
It shouldn't, I am trying to think of how we can get this driver to be off by default.

EDIT: Got it
[Nexus 6 Android Development] Darian71:
Just curious. Was on R6.8 now R6.9. Taking a look at the mv per frequency, and noticed a lot of frequency's are set to the same mv,1115. Is this by default? (I globally set them to +25) Thanks
[Nexus 6 Android Development] Pilz:
That used to happen to me when I would flash ElementalX but I haven't used it in a while. I never found out why it would happen but I know all of the voltages so I would just manually change them.
[Nexus 6 Android Development] DespairFactor:
Something weird happened to your device. Try clearing all settings in the app, reflash kernel and boot again please.
[Nexus 6 Android Development] Darian71:
OK. Lol. I I used R6.8 all day yesterday with no issues except I only go 9 hours of battery. Lol. I'll let ya know

Edit. That was really weird. Because I was on a fresh flash of P3 and had to set kernel auditor up. Oh well,things looking normal now with my +25mv. Thanks !
[Nexus 6 Android Development] Darian71:
R.6.9 +25mv
[Nexus 6 Android Development] jon.s.nelson:
Totally awesome! For the first time ever I used my phone with full cpu performance until 5% battery, then from 5%-1% with a slightly modified profile. No early shutdowns either :)
[Nexus 6 Android Development] elreydenj:
Great news, does this mean that on 6.9 without making any init.d scripts the cpu wont drop to 1958 at a certain point like it used to?
[Nexus 6 Android Development] jodvova:
Did you change your website again? I can't download the kernel from mobile anymore. Chrome says download unsuccessful. It worked perfectly fine with the previous design.
[Nexus 6 Android Development] jon.s.nelson:
[/COLOR]

I am still on 6.7, I applied the 2 tweaks that [MENTION=5293130]KonoeKyon[/MENTION] mentioned in the last couple pages: editing the thermal.confi file and creating an init.d script..... Only those 2 tweaks TOGETHER put the cpu back in my control (I don't know about 6.9)
[Nexus 6 Android Development] Darian71:
I may have to format my internal sd. R6.9 isn't playing well with my device. Back on R6.6 for now to see. Was getting random freezes and occasional reboot with the last reboot resulting in no carrier signal available. Even removed my over volts .IDK. This is another Preview build so could be other issues.
[Nexus 6 Android Development] Megaflop666:
M6.9 is rocking and rolling!
[Nexus 6 Android Development] DespairFactor:
Are you using a ROM or direct from Google?
[Nexus 6 Android Development] Darian71:
JDX 3.0, However, I see that he released 3.01 today. Downloading now and I'll let ya know. Haven't even read through the thread yet to see what changes were made

http://xdaforums.com/showthread.php?t=3121053
[Nexus 6 Android Development] quaman:
Guys definitely check out sinless beta 8.0.1 it's awesome debloated with led notifications and this kernel m 6.9 pairs great with it and battery life has been great with 0 lag
[Nexus 6 Android Development] mtw4991:
Is 6.9m the latest kernel for M preview 3, mpa44g ? I'm using r.20.6 with the no-force-encrypt-shamu-v1.0.zip hack? Also, what kernel control app are you guys using?