yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] elreydenj:
Hello all. I am still a bit confused which doesn't take a lot! My kernel still drops down to 1958 once it hits 49% and even lower when it is around 15% I think??? I saw some mention about an init.d script to fix this. Can we have some very specific instruction as to how to do this? Does it have Anything to do with the hotplug chosen?
[Nexus 6 Android Development] DespairFactor:
Are you using the newest build?
[Nexus 6 Android Development] elreydenj:
Yes I am. Despair governor with zen hotplug.
[Nexus 6 Android Development] DespairFactor:
that hotplug has a parameter that throttles at 15% by default.
[Nexus 6 Android Development] elreydenj:
Yes I know. It is throttling down to 1958 at 49% as others mentioned. I am trying the script but I thought 6.9 had worked on it.

---------- Post added at 10:49 PM ---------- Previous post was at 10:45 PM ----------

The script works as mentioned. I wasn't a fan of the throttling down to 1958 at under 50%. I remember it happening on elemental as well.
[Nexus 6 Android Development] DespairFactor:
Is anyone else having this issue?

Also, what do you guys think about me hosting an AMA?
[Nexus 6 Android Development] pantmunu:
I'm.sorry in advance for not providing any logs as I was at work a d needed the phone to work. Had tonrandom reboots .

Was on Barry Allen governor and msm hotplug. Nothing else touched.
[Nexus 6 Android Development] DespairFactor:
I can't do anything without logs
[Nexus 6 Android Development] pantmunu:
I know . I'm sorry. FYI I'm on the sinless m rom. I'm gonna flash it tomorrow morning. And give it a go. Just flashed urs lp kernel on cousins phone. He has been scrolling the phone like a lil monkey hahaa.
[Nexus 6 Android Development] quaman:
I just dropped below 50 percent and I'm not getting throttled. I'm on sinless m rom with 6.9
[Nexus 6 Android Development] Darian71:
American Music Awards? Awesome! Got for it!! :eek::sly::D Lol. I'm game for anything Bro.
[Nexus 6 Android Development] DespairFactor:
LOL AMA=Ask Me Anything
[Nexus 6 Android Development] Darian71:
LOL! Is that like Jeopardy?
[Nexus 6 Android Development] DespairFactor:
It's when people can ask you random questions and you answer, it's usually on reddit.
[Nexus 6 Android Development] Darian71:
I haven't used Reddit in a year or more. But heck yeah! I'll download it now
[Nexus 6 Android Development] DespairFactor:
It won't be on reddit;) I can't put any details yet, I am going to be doing AMAs and live chats often soon I believe.
[Nexus 6 Android Development] Darian71:
Cool beans. I'll check on hangouts after you get the details hammered out. BTW, R6.6 Is running flawlessly on MP3 The JDX.3.0. Im at 48% battery and still have my cpu settings ,which I figure will throttle at 40%, but I'm ok with that. I will backup this setup and try his 3.01 version with R6.9 later and see if I am still getting those random freezes /reboots. And if so I'll upload you some logs. Would you rather the logs be on pastebin,mediafire,or my drop box?
[Nexus 6 Android Development] DespairFactor:
pastebin or hastebin is preferred.
[Nexus 6 Android Development] Darian71:
Not a problem sir.
[Nexus 6 Android Development] mtw4991:
What kernel control app are you using with Despair kernel? I have franco updater installed, would that work?
[Nexus 6 Android Development] Darian71:
It would but most of us are using Kernel Auditor from the play store.

---------- Post added at 11:50 AM ---------- Previous post was at 11:47 AM ----------

@DespairFactor, I'm dumb founded. No issues what so ever now with R6.9 on JDX 3.01. Have been using my device pretty constant since the flash and full charge 3 hours ago. 1 hour of SOT, 1.5 Hours of call time and still at 85% battery. Looking good Bro.
[Nexus 6 Android Development] Hen Ry:
[MENTION=5169465]DespairFactor[/MENTION]

how it looks with GPU min 27MHz?
[Nexus 6 Android Development] DespairFactor:
I don't get the question you are asking.
[Nexus 6 Android Development] Hen Ry:
I have just SinLessROM v8.0.1 | Android 6.0 | Marshmallow (Based on MPA44I) installed. This is the elite kernel inside, with GPU min. 27 MHz.

But it only CPU min 300MHz.

http://forums.team-nocturnal.com/in...700-android-511/&do=findComment&comment=31083
[Nexus 6 Android Development] DespairFactor:
Every kernel has that as the minimum, that's been the slumber frequency for a while on snapdragons
[Nexus 6 Android Development] Hen Ry:
View attachment 3447092

sorry I meant max. frequency
[Nexus 6 Android Development] DespairFactor:
That's maximum, not minimum and the GPU hardly goes over 300. I do not see a benefit to forcing your GPU into a slumber state.
[Nexus 6 Android Development] KonoeKyon:
The Android M 6.9 kernel is running good so far other than a couple reboots most likely related to over clocking.

On another note I hit 61k benchmarking now. :good:

View attachment 3447093
[Nexus 6 Android Development] jon.s.nelson:
Sounds good. What's your governor/CPU scaling set up?
[Nexus 6 Android Development] Darian71:
Not as good as [MENTION=5293130]KonoeKyon[/MENTION] is! Dang Bro! That is a record. Lol. I normally try to run Elementalx governor, however,for some reason my cores stay at 1574 min frequency with it on for some reason. Same with R6.6. Never had that issue on the Lollipop kernels. So I'm using 98min MHz/2726max MHz with zen hotplug and Intelliactive governor. But that's about to change with the governor as I'm barely gonna get 12 hours battery with 3.5 SOT AND 2.5 Phone call time. I usually get way better. You'll just have to experiment with the various governors according to how snappy you want your device to run ,and how much battery you want to conserve. In my opinion, conservative offers a good balance.

---------- Post added at 04:48 PM ---------- Previous post was at 04:43 PM ----------

By the way, R6.9 is still throttling my max cpu to 1958 below 40%. And I have my thermal settings to 66°C/150°F. No core control. And she's running cool as a cucumber so idk
[Nexus 6 Android Development] DespairFactor:
Remove the thermal.conf
[Nexus 6 Android Development] Darian71:
Will do. And I fixed the Elementalx governor. Noticed in governor tunables the min cpu boost was set to 1574. So dropped it to 98.

Update: Device shut down at 5% battery left. Anyone else have this on the new Bootloader and Radio? I reset the logs and am charging full again. R6.9
[Nexus 6 Android Development] DespairFactor:
alright guys, starting later today, there will be a new naming convention and all current builds will be moved to an old folder.
[Nexus 6 Android Development] jon.s.nelson:
Could anybody explain what the "core control" option (enabled by default) in Thermal Settings

is? I guess it night be so obvious to everyone that I can't seem to find anything about it :D
[Nexus 6 Android Development] DespairFactor:
I may have some bad news, my machine is currently not functional, it will not even boot into linux. I am about to sleep and can try to troubleshoot when I wake up.
[Nexus 6 Android Development] jodvova:
Why is it bad? No more kernels?
[Nexus 6 Android Development] DespairFactor:
I can't get it to boot currently, so no more android development until I get it working.

EDIT: I managed to get the new builds from the machine, but can't get anything else going.
[Nexus 6 Android Development] CharFalco:
Is there a reason to use the M kernels if you're still on lollipop? Can you even do so? And what's the difference between Linaro and Uber?
[Nexus 6 Android Development] DespairFactor:
You can't use M on lollipop because it uses a different offset for the ramdisk. The only difference between M and L builds are the ramdisk offset.

Linaro is just a straight linaro 5.x.x toolchain compiled by me and uber is a hybrid toolchain using patches from linaro, gnu and Google.

On a side note, I got my machine working again, I had to set up a new build environment.
[Nexus 6 Android Development] jodvova:
Hurray!

Although somewhere from 6.5 the kernel is perfect. Can't even imagine what features you're adding there.

---------- Post added at 21:59 ---------- Previous post was at 21:56 ----------

Which kernel would you recommend? Linaro or Uber?
[Nexus 6 Android Development] DespairFactor:
I literally just flashed the M BFS Linaro build, I have never used Linaro 5 before today, so I thought I'd give it a try:) its really an experiment haha
[Nexus 6 Android Development] Megaflop666:
Just flashed your marshmallow bfs linaro build, so far so good. [emoji106]
[Nexus 6 Android Development] jodvova:
I'm on CFS linaro now. Seems the same as 6.9.
[Nexus 6 Android Development] DespairFactor:
It's mostly my build script changes on my side, new toolchains and a couple new compiler flags for graphite.
[Nexus 6 Android Development] quaman:
I'm on the uber m bfs build. It's running great also testing out intelliplug. I don't know how but battery life seems to be even better great job i'm at an Hour screen on time with 86%left [MENTION=5169465]DespairFactor[/MENTION]
[Nexus 6 Android Development] mtw4991:
If I am unencrytped now and flash M-BFS-27 -Shamu-Linaro, will I stay unencrypted ?
[Nexus 6 Android Development] mtw4991:
I flashed the M BFS and was stuck at the google logo. Weird. 5 minutes later, still stuck. I didn't wipe anything coming from R20 with the no-force-encryption hack. Ideas?
[Nexus 6 Android Development] quaman:
You can't flash the m kernel if you're not running m
[Nexus 6 Android Development] mtw4991:
Running MPA44G, Android M Preview 3 with Despair R20.6.Shamu. Only other tweak is the No_Force_Encrypt_shamu_v1.0-signed.zip and SuperSU-v2.49-Beta. Don't have a clue why it wouldn't boot up. Do I need to wipe anything to switch to m.BFS.R27.shamu.Linaro?
[Nexus 6 Android Development] quaman:
I'm not sure but you don't need the no force encrypt so try without that. If it still doesn't work try to wipe caches if that doesn't work clean flash
[Nexus 6 Android Development] DespairFactor:
Alright guys, new 51 commits form Google in R27.1:) I cannot build it until I get home in the morning though. It has that silly battery learning commit again, we will see if it works this time.
[Nexus 6 Android Development] chipis:
Why i lost external sd card detection after flashing the kernel, i did get faux sound to work on. But external sdcard can detect it any more
[Nexus 6 Android Development] DespairFactor:
If you guys want to have a look, I have pushed the source for the next builds already, they will compile in the morning when I get home from work, all 8 builds will be up:)
[Nexus 6 Android Development] DespairFactor:
I don't know guys, but this is the best battery I have had so far. I am on track to get 5 hours SOT or more starting with 90%. I have 2:50 SOT so far, 40 minutes of teamviewer, 10-15 mins of Fallout Shelter and I am at 40%
[Nexus 6 Android Development] aloom:
Would you mind sharing your setup??
[Nexus 6 Android Development] DespairFactor:
It's basically stock conservative, zen hotplug, fiops 1536, CDG congestion control
[Nexus 6 Android Development] twinkyz1979:
i am not familiar with what BFS or CFS is nor do i know what uber or linaro is can someone please explain?
[Nexus 6 Android Development] DespairFactor:
search
[Nexus 6 Android Development] jodvova:
R20.6 is a lollipop kernel?

---------- Post added at 07:34 ---------- Previous post was at 07:33 ----------

What is your screen brightness?
[Nexus 6 Android Development] elevatorguy:
OK thanks. Google here I come ☺
[Nexus 6 Android Development] apophis9283:
On a whim I flashed that blu kernel. The blu active governor had more options than the governor you have. does it just need updating
[Nexus 6 Android Development] DespairFactor:
It should be the same, except I merged code from his beta branch for it, I think he refactored it in the beta branch

UPDATE: I see he added another new commit for it in the beta branch, its merged, expect R10 shortly
[Nexus 6 Android Development] DespairFactor:
Here is r10, change log in op

AFH is borked right now
[Nexus 6 Android Development] DespairFactor:
Guys, I will be reverting blu active code and possibly blu plug in the next release. Sorry for any inconvenience, for now R10 will be pulled.
[Nexus 6 Android Development] apophis9283:
Why? its really good
[Nexus 6 Android Development] DespairFactor:
Hangouts message me please matthewdalex92@gmail.com
[Nexus 6 Android Development] DespairFactor:
blu plug and blu active reverted in favour of mako hotplug, it appears to provide better battery life.
[Nexus 6 Android Development] kaden93:
So this is probably a stupid question, but I'm going to ask it anyway. Does this kernel work (correctly) on stock and stock based ROMs? Considering how similar stock seems to be to CyanogenMod/AOSP based ROMs and whatnot I would think so, but I don't want to bork my CleanROM installation.
[Nexus 6 Android Development] DespairFactor:
It will, although I do recommend a nandroid first, if you have any further issues you can reach out to me on hangouts.
[Nexus 6 Android Development] kaden93:
I'll definitely try that. I'll let you know if I see any issues. Thank you.

---------- Post added at 01:53 AM ---------- Previous post was at 01:37 AM ----------

Ironically, androidfilehost.com is down again. So currently the download is unavailable. I guess that's what I get for hesitating to download the kernel earlier. :P
[Nexus 6 Android Development] DespairFactor:
Hangouts message me and I'll shoot you a build
[Nexus 6 Android Development] kaden93:
Hahaha. Thank you for being willing to support your "product". However, androidfilehost.com seems to back up now. :D
[Nexus 6 Android Development] DespairFactor:
AFH is broken again, here is R11, changelog is in OP.

UPDATE: AFH WORKS NOW!
[Nexus 6 Android Development] KerryWood34:
Is mako hotplug enabled by disabling both mpdecision and intelliplug?
[Nexus 6 Android Development] kaden93:
Last night I tried R9 on my CleanROM installation. Soon after I flashed it, my Nexus shut off by itself so I restored from backup. I unfortunately do not have a log (Sorry :P). So my new question is, what ROMs do you guys recommend using with Despair Kernel?
[Nexus 6 Android Development] DespairFactor:
Right now I am using SimpleAOSP RRO version with R11
[Nexus 6 Android Development] kaden93:
I'm very OCD about all features working correctly (Even if I don't use them because I'm stupid like that) I tend to stay on stock or AOSP ROMs because even if there's no extra features, everything tends to work. Does SimpleAOSP have any issues?
[Nexus 6 Android Development] DespairFactor:
Not that I have seen
[Nexus 6 Android Development] DespairFactor:
It is, I don't know how these guys are flashing LP stuff on M or vice versa, and I never told them to do it

I use adaptive and set it to it's lowest and sometimes turn it up for games, videos etc.
[Nexus 6 Android Development] jodvova:
27V9099940066684X thanks for the work you do!

---------- Post added at 08:58 ---------- Previous post was at 08:38 ----------

Why not CAKE? I thought it deemed superior 20 pages back.
[Nexus 6 Android Development] DespairFactor:
CAKE is a packet scheduler, not congestion control, I am using CAKE as my packet scheduler.
[Nexus 6 Android Development] DespairFactor:
Hangouts message me please
[Nexus 6 Android Development] jodvova:
How do you check that it's set?

I have this script in init.d but don't know how to check whether it is actually set.

#!/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
[Nexus 6 Android Development] DespairFactor:
tc qdisc will tell you what is set.
[Nexus 6 Android Development] jodvova:
It tells me that :(

u0_a112@shamu:/ $ su -

root@shamu:/ # tc qdisc

Android does not support qdisc 'cake'

qdisc cake 8001: dev wlan0 root refcnt 2 [cannot parse qdisc parameters]

Android does not support qdisc 'cake'

qdisc cake 8002: dev rmnet_usb0 root refcnt 2 [cannot parse qdisc parameters]

Android does not support qdisc 'cake'

qdisc cake 8003: dev rmnet_data0 root refcnt 2 [cannot parse qdisc parameters]

root@shamu:/ #
[Nexus 6 Android Development] DespairFactor:
It is set, look

Android does not support qdisc 'cake'

qdisc cake 8001: dev wlan0 root refcnt 2 [cannot parse qdisc parameters]

Android does not support qdisc 'cake'

qdisc cake 8002: dev rmnet_usb0 root refcnt 2 [cannot parse qdisc parameters]

Android does not support qdisc 'cake'

qdisc cake 8003: dev rmnet_data0 root refcnt 2 [cannot parse qdisc parameters]
[Nexus 6 Android Development] mtw4991:
It was the recommended kernel to use with the no-force-encryption zip, the zip was said to work with all roms and kernels.
[Nexus 6 Android Development] jodvova:
Got it. Was distracted by all those Android doesn't support lines.
[Nexus 6 Android Development] mtw4991:
Tried wiping cache, dalvik, flashing R28.Uber, still stuck at the Google logo. I don't get it, I'm on M P3. Do I need the stock boot.img or will a modified (unencrypted) boot.img work also? I'm stumped
[Nexus 6 Android Development] quaman:
[MENTION=5169465]DespairFactor[/MENTION] is there any reason you left out intelliplug in the latest build? Also I'm getting the best battery life I've ever had with this kernel and sinless 8.0.1 5 hours sot easy
[Nexus 6 Android Development] Hen Ry:
Please times a brief information in the 1st post about the various kernel.

BFS, Linaro, UBER
[Nexus 6 Android Development] ridobe:
Post the exact file name of the zip you are flashing.
[Nexus 6 Android Development] mtw4991:
Despair.M.BFS.R28.Shamu.UBER.zip

The unencrypted file I used to unencrypt was NO_FORCE_ENCRYPT_shamu_v1.0-signed.zip
[Nexus 6 Android Development] ridobe:
That is the exact kernel I'm using on m3 as well. Now, are you actually unencrypted? The kernel doesn't unencrypt it just doesn't enforce it. You still have to wipe userdata. Plus, you only have to do it once.
[Nexus 6 Android Development] Trixter313:
+1 Can anyone please explain the differences between "CFS" and "BFS" and Linaro and Uber in not too confusing words? I'm just using it to root the Android M Preview 3, no tweaking or anything else. :confused:

Thanks!
[Nexus 6 Android Development] mtw4991:
I wiped initially, including userdata, flashed M Preview 3, boot, radio etc, then Despair.R20.6.Shamu.zip, then the No_Force_Encrypt_v1.0, then SuperSU.2.49-Beta. All good.

Do I need to do a full wipe including userdata again to get to the M kernels? I guess R20 is a lollipop kernel but it is working well on M-P3, just can't flash R27 or R28 M kernels. Maybe reflash boot.img, then R28, then unencrypt zip?
[Nexus 6 Android Development] jodvova:
Search the thread.

---------- Post added at 17:47 ---------- Previous post was at 17:46 ----------

That's a wrong noencrypt image. Get one from root m thread from general.
[Nexus 6 Android Development] ridobe:
Not sure what's going on. You are running a lollipop kernel on m? You're confusing me a bit. You don't achieve decrypt unless you wipe userdata AFTER the noencrypt. Does your phone under security actually say you are decrypted? I can't really tell what's going on with your phone but if I were having these issues, I would start with a clean everything.

You know the drill: full wipe, fasboot flash everything but fastboot flash TWRP.img and fastboot boot.img (insert decrypt kernel here). At this point, fastboot flash userdata. Reboot. After getting things set up, reboot into bootloader then flash:

Dispair

SuperSu

Busybox.

Good luck.
[Nexus 6 Android Development] DespairFactor:
It's in the CFS builds
[Nexus 6 Android Development] jodvova:
Just throw a dime and install anything. You won't notice a difference.
[Nexus 6 Android Development] Hen Ry:
illogical :confused:
[Nexus 6 Android Development] Megaflop666:
Why all the talk about non encrypt scripts? When you initially set up your ROM flash the ROM, gapps if necessary, SuperSU and a kernel like despair that doesn't force encryption all before first boot. I've done this every time and my phone is still not encrypted. I'd you're already encrypted, well you have some work to do...
[Nexus 6 Android Development] mtw4991:
could I just flash the decrypted_mp3_boot.img to replace the old one without wiping everything all over again?
[Nexus 6 Android Development] DespairFactor:
Any weird battery activity on R28 for anyone?
[Nexus 6 Android Development] Megaflop666:
I haven't been able to tell. I've been battling black screen. Had to dirty flash my ROM and your kernel all over again to get it to stop. Now everything seems to be behaving so I'll let you know. 27 was working well with no issues.

---------- Post added at 03:58 PM ---------- Previous post was at 03:56 PM ----------

If you're encrypted, you have to wipe user data to un-encrypt unless someone has found a new way of decrypting your info. If you do this and flash despair kernel you won't be encrypted. I just posted about this in the post above yours. The additional image zips aren't needed.
[Nexus 6 Android Development] jodvova:
Yes.

---------- Post added at 20:02 ---------- Previous post was at 20:01 ----------

Haven't noticed anything yet, but I just flashed it.
[Nexus 6 Android Development] tiernan22:
One's faster; the other's more stable. One's older; the other is newer.
[Nexus 6 Android Development] Tylog:
Looks like as before the Patches from Google , the Battery show correct but feels drain faster but can't give you a 100% answer need some hours to test it.
[Nexus 6 Android Development] Jon.StatiK:
Cfs is an old Linux scheduler and bfs is a newer one that offers optimizations.

Kinda the same thing for linaro and Uber. They're tool chains which compiles the code that Despair looks at here. One offers different option and optimizations than the other.

Correct me if I'm wrong though. I used Google.

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

So far so good for me. Although, I've only been using it for a few hours now.
[Nexus 6 Android Development] DespairFactor:
I am seeing the issue right now, not sure if it's just my device/battery acting stupid.
[Nexus 6 Android Development] DespairFactor:
I have posted R28.1, I reverted the google battery commits once again, these things are still not fixed.
[Nexus 6 Android Development] Tylog:
Hehe, yes I also was not sure after the short time of testing but my first feeling after the first hour was, not fixed from Google.

Yes, that's my though, thanks.
[Nexus 6 Android Development] pantmunu:
I'm on r28 bfs m kernel and after few hrs of using it .. The max frequency seems to get stuck at 1.7 ghz .. Turned off thermal throttling and I'm using zen decision.
[Nexus 6 Android Development] Tylog:
28.1 is back to normally :)
[Nexus 6 Android Development] DespairFactor:
I may get rid of O3 in the next builds, I don't see any real gain from O3 over Os

Actually, I am looking to maybe do a rebase to clean my commit history a bit and remove garbage
[Nexus 6 Android Development] mtw4991:
r28.1 bfs m kernel working great, 1 hr sot, 2.5 hr on battery, 85% remaining. And I haven't touched kernel auditor yet! (Not sure what to touch anyway lol)
[Nexus 6 Android Development] Saber:
This is a bit of OT.

I've simplified the description on the CDG TCP algorithm. Link is below.

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

gsstudios :)
[Nexus 6 Android Development] jodvova:
There is difference, but maybe not in the kernel code.
[Nexus 6 Android Development] DespairFactor:
O3 was added a while ago, I don't see any benefit to it currently. It adds about 2MB to each zip
[Nexus 6 Android Development] jodvova:
Yeap, a much more aggressive inlining. That just doesn't make much difference in the real life usage of a mobile. Actually I would argue that removing those 2 extra mb will make any difference. Part of it is highly likely a dead code that will be swapped out and won't affect the hot path.
[Nexus 6 Android Development] DespairFactor:
Read and compare the flags in Os vs O3, these optimizations may actually degrade performance. I am contemplating a rebase, but might wait till official M source is dropped.

https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html