yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] videogmike:
I thought it was just me. Using AICP.

Sometimes I miss the call before the screen lights up for me to answer.
[X Style (Pure) Android Development] tech_infinity:
Same with me
[X Style (Pure) Android Development] sr.perro:
My problem too! RRmix, handbag 2.1
[X Style (Pure) Android Development] videogmike:
I tried adding the phone app to the battery optimization exclusion, can't tell if it helped
[X Style (Pure) Android Development] kellerman40:
The audio starts crackling after I flash this over latest nightly of AICP. And the wake is slow, especially when someone is calling.
[X Style (Pure) Android Development] rowlers:
Yes! Here too! But I don't think it is this kernel at fault. It was doing it on stock AICP kernel and DU stock Kernel. I installed Handbag kernel to see if this helped.

It didn't!

Constant reboots, mostly whilst phone is idle.

I've tried grabbing a last_kmsg, but this kernel doesn't appear to dump it. I've tried using Syslog..
[X Style (Pure) Android Development] fliperpl:
im getting slow waking up here too with 2.2 version :/

also snapchat is laggy as hell
[X Style (Pure) Android Development] lknnnn:
Try another cpu governor.I just used bioshock instead of interactive and now everything is OK.
[X Style (Pure) Android Development] tdg2k15:
I'm using interactive with glassfish 1.2 and I'm having no issues with SC..
[X Style (Pure) Android Development] redemptionx11:
What is glassfish??
[X Style (Pure) Android Development] lilcdroid:
https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/htmlview

Here's a list of several profiles.

Additional information for the interactive governor.

https://xdaforums.com/showthread.php?p=64279886
[X Style (Pure) Android Development] redemptionx11:
Oh that's interesting... The files for the 5x work for us too?
[X Style (Pure) Android Development] lilcdroid:
They both have the same Snapdragon 808
[X Style (Pure) Android Development] XDleader555:
Yeap, I'm seeing the wakeup lag. I'll try to figure out which commit is causing the slow wakeup.
[X Style (Pure) Android Development] mddunner:
I'm giving this a try as well. Interactive + glassfish1.2 + bricked hotplug

Which hotplug are you using? Have you noted any performance differences between them?
[X Style (Pure) Android Development] tdg2k15:
Seeing updates on [MENTION=3623188]XDleader555[/MENTION] github , so excited for new kernel updates ... And is the kernel up to date with LOS?
[X Style (Pure) Android Development] XDleader555:
New updates are probably going to be relatively small with attempted bug fixing here and there. I don't have a whole lot of time to just sit there and play with code.

Kernel is up to date with LOS. They haven't made any changes in a while.
[X Style (Pure) Android Development] redemptionx11:
I'm running interactive + kestrel with autosmp hotplug.

I just added kestrel last night and things have been running smoothly. It's been 7.5 hours since my last full charge. 2.5 hours SOT. 5 hours screen off with a little over 4 hours of deep sleep. I had around 50-60% battery at that point.

But I'm not concerned with battery life at all. I want a smooth, lagless experience regardless of battery drain. With the except of the performance profiles that keep everything maxxed. I don't want that. Lol.
[X Style (Pure) Android Development] mddunner:
Thanks for the feedback. I'll give that a go as well. I don't think I've ever seen more than 2.5 hours SOT regardless of tweaks I loaded. Basic activity like email and browsing seems to drop my battery like a rock.
[X Style (Pure) Android Development] zohar_ml:
Is there an easy way to apply glassfish1.2 with kernel adiutor or should I set it all by hand as I read some where?
[X Style (Pure) Android Development] obsolete1:
Yeah anything other than Os make the kernel too big...I tried O3 and it bloated out big time. For our purposes Os should be enough. We could expand out the BOOT sector but is it really worth loosing disk space?

Ohh and nice work so far :good:
[X Style (Pure) Android Development] jason2678:
Sorry for the offtopic, but your sig caught my eye. Just out of curiosity, where did you find CosmicOS for the MXP? No thread here, I haven't seen an unofficial come across AFH, and their website only has a couple of Moto G's in supported devices.
[X Style (Pure) Android Development] XDleader555:
05/16/17 - 4:14PM Test Build

Here's a build with bricked hotplug implemented. It shows up as msm_mpdecision (and I have an idea as to why) but if you want to play with it you can enable it in your favorite kernel tuning app. (It should show advanced settings if properly enabled)

My phone seems to get a black screen if you let your phone unplug cores on Interactive governor. You've been warned.

Won't upload to main changelog until I get it just right.

Happy flashing
[X Style (Pure) Android Development] ismithx:
Bricked.hotplug displaying as mpdecision is normal, I know this from frankenkernel. However it is not working for me on mokee os, hotplugging doesn't actually apply to small cores, and core control is still there. I think you need to remove that entirely, have a look at frankenkernel source for ideas.
[X Style (Pure) Android Development] Gulfstream 650:
Happy to see an alternative kernel being worked on, it's something we have sorely lacked. I just flashed the updated version with the hotplugging enabled. Even at idle my little cores don't shed enough load to get into hotplug although one core does intermittently try. All four cores jump all over the place freq wise and have some percentage of load applied. I have noticed an increase in deep sleep so I'm hoping for a little battery life increase, haven't ran the kernel long enough to tell yet. Anyway, thanks for developing this and I look forward to improvements, I think this project has a lot of potential! Do you recommend or have a favorite kernel tuner, I'm using Kernel Adiutor?
[X Style (Pure) Android Development] XDleader555:
Thanks for the feedback. I prefer to use Ex Kernel Manager since I'm cherrypicking a lot of patches from flar2. While it does cost money, he well deserves it. Other than that I've used Kernel Aduitor for a while and liked it.
[X Style (Pure) Android Development] dzidexx:
Just flashed ...1614.zip, Resurrection Remix 14.05, set cpu interactive for big & little.

Do you need any tests?

Any suggestion for settings(kernel adiutor)?

Good job!!!

Interactive - freeze screen. Now checking ElementalX.

Always with gestures&ambient display.
[X Style (Pure) Android Development] lknnnn:
Thanks for your great work.I want bigcore@2016Mhz，and little@1536Mhz，could you have a try？When I was at 6.0，I used this kernel.
[X Style (Pure) Android Development] wiewiurka:
Latest AICP, flashed HandBag-20170516-1614.zip

big core - ondemand,

little core - elementalX

work is perfectly
[X Style (Pure) Android Development] Curlyfry2121:
Yeah ex kernel manager is great with this.
[X Style (Pure) Android Development] Curlyfry2121:
Interactive governor on resurrection remix always froze. I really have no idea why it does that.
[X Style (Pure) Android Development] dzidexx:
Not always - 29.03 & earlier didn't.
[X Style (Pure) Android Development] XDleader555:
We wanted cpu governors right?

05/17/17 - 5:57am

Added Governors (IntelliActive, Lionheart, BioShock, BluActive, Wheatley, ZZMove, Impulse)

Added Adreno Idler

Small optimizations

Disabled Touchboost by default

Added some more features. I'll keep chugging along.

Livedisplay -> kcal and cpu overclock are next. I'll also look into getting bricked hotplug working correctly if it isn't.

Uploaded to the downloads section: https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] Curlyfry2121:
Nice going! Your getting this stuff down quick haha. And the overclock and kcal will definitely be a nice welcome. Flashing now.
[X Style (Pure) Android Development] kadopt:
Is it possible to add slide to wake? In frankenclark there were some issues with the implementation due to the i²s bus or something.

Guess now that a kernel is available for 7.x I'll dump stock.

Thanks

P. S. XT1572 here
[X Style (Pure) Android Development] ismithx:
Having an issue where the cores are jumping around. I think at least core 1 should always be online. I'm getting some stuttering when playing music over BT, I'll try to get a logcat
[X Style (Pure) Android Development] XDleader555:
I believe this may be an issue with the Lineage kernel source. I'll check if other roms have fixed this issue.

EDIT: This erratic core behavior is caused by msm_core_ctl. I'll disable it in the next build since it seems we're heading towards kernel hotplugs.
[X Style (Pure) Android Development] XDleader555:
More Features

05/17/17 - 7:50PM - v1.3

Removed msm_core_ctl to prevent conflicts with bricked hotplug

Renamed bricked_hotplug to prevent confusion

Added msm_hotplug v2.4

Fixed touchboost for those who actually like that

Added color calibration (KCAL)

Interactive is still broken and cpu overclock is still missing. I set msm_hotplug as default, but can be changed with your favorite kernel tuner.

I think the cpu clocks not showing has something to do with my dt.img? If someone knows how to correctly compile the *.dts, I'd appreciate the input.

Downloads are in the same spot as always: https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] Curlyfry2121:
Bricked hotplug is working now. I'm dirty unicorns.
[X Style (Pure) Android Development] ismithx:
Is it me alone having problems with the latest kernel where the little cores only go into sleep 50% of the time, or is it just my core settings?
[X Style (Pure) Android Development] lilcdroid:
I used a sh script apk too install it in kernel adiutor. Ultimately I bought and use ex kernel manager for the simplicity.
[X Style (Pure) Android Development] CSouthwick:
I have Ex Kernel pro but I don't know how to apply the .txt files as a profile. I'm guessing it is something obvious. Thank you for any help you can give
[X Style (Pure) Android Development] lilcdroid:
SD card - Ex Kernel Folder. Place the file in the gov_profiles folder, remove the " .txt ", then load in the CPU governor options in Ex Kernel. Profit.
[X Style (Pure) Android Development] Curlyfry2121:
It's nice seeing you guys use the profiles. I've been using them for over a year on every rom and made everything just a tad bit better in the battery and fluidity department. Glasscanon is my favourite which favours 600mhz
[X Style (Pure) Android Development] redemptionx11:
How's it performance wise? I didn't see it on the at list. Is it not for the 808?
[X Style (Pure) Android Development] CSouthwick:
thanks lilcdroid :)
[X Style (Pure) Android Development] lilcdroid:
Happy to help and glad to be a part of this thread. A lot of nice folks here. Especially [MENTION=3623188]XDleader555[/MENTION] for all his effort.
[X Style (Pure) Android Development] Curlyfry2121:
Performance wise is still like normal for me. Basically it's giving you battery savings without sacrificing performance. I was one of the testers.

https://xdaforums.com/nexus-5x/general/alpha-glasscannon-interactive-tweak-t3587980
[X Style (Pure) Android Development] Fermats_theorem:
Does this work with handbag kernel? And which Governor should I apply this profile on. Thanks.
[X Style (Pure) Android Development] Curlyfry2121:
Yes its fully compatable with handbag, and it should be on interactive
[X Style (Pure) Android Development] videogmike:
Intelliactive with hotplug disabled seems to do a better job of waking
[X Style (Pure) Android Development] ACardAttack:
Anyone have issues with Bluetooth? I flashed if and it would cut in and out and be slow to skip tracks. Restored to crdroid kernel and no problems. I'm gonna change the CPU governor and see if it causes the issue, but I don't think the issues were until after i flashed latest handbrake
[X Style (Pure) Android Development] mddunner:
Im still on 2.1 but I saw some Bluetooth glitches once I started trying the interactive governor profiles. I think it was worse with msm hot plug. Haven't tested crdroid kernel with same settings.
[X Style (Pure) Android Development] ACardAttack:
I used glasscannon, and even reset everythign with kernel manager and that didn't fix it until I restored back to before I installed handbag...I have glasscannon profile now, I will try it a little later today in the car and see what happens
[X Style (Pure) Android Development] ACardAttack:
Think it's the Kernel , glasscanon didn't affect Bluetooth
[X Style (Pure) Android Development] mddunner:
On 2.1 and GlassFish, I did ~40 minutes of bluetooth with no interruptions. Maybe a 2.2 issue??
[X Style (Pure) Android Development] serkyky:
zzmoove governor

The mobile gives me an approximate of 12hrs in general and 3 to 3:30 hrs. I recommend it, I have no problems with the connections. Everything is going very well.
[X Style (Pure) Android Development] ACardAttack:
Might be as I was on 2.2
[X Style (Pure) Android Development] mddunner:
Today I had Bluetooth issues with all the same settings on 2.1. glitching in and out, then eventually the phone rebooted. Bluetooth performance was better post reboot, but still a few glitches. Odd...
[X Style (Pure) Android Development] mddunner:
I started having more consistent problems on 2.1. After upgrading Cr Droid to 3.5 and leaving the stock kernel, I haven't had a single glitch. Did you find any tweaks to fix handbag kernel? I feel like the Cr Droid kernel isn't as good on battery life. I'm considering going to a pre-2.0 handbag release where the bluetooth was stable.
[X Style (Pure) Android Development] ACardAttack:
I haven't tired to see if 2.2 works better with CRDroid3.5 so I will probably give that a shot sometime in the next few days
[X Style (Pure) Android Development] mddunner:
To mix it up I tired that simple Clark kernel version 1.1. seems stable and efficient so far. No Bluetooth audio issues yet.
[X Style (Pure) Android Development] ACardAttack:
2.2 and 3.5 same issues, actually not just Bluetooth, but even if I payed Audio out for speakers.

I might try that one or go back to 1.8 or pre 2 handbag and see what happens
[X Style (Pure) Android Development] thialle:
This kernel work on Lineage 14.1?
[X Style (Pure) Android Development] Spencervb256:
Sure thing
[X Style (Pure) Android Development] ACardAttack:
Something is up with 2.2, I had issues with bluetooth audio on crdroid, I switched to the new resurrection remix, same issues with 2.2, or there is just something with 2.2 (and 2.1) that doesn't jive with something in Lineage based roms
[X Style (Pure) Android Development] Spencervb256:
Exact same issue, don't know what it is but the new RR was supposed to have fixed the audio issues and then it stopped working with handbag.

Edit: anyone know what the best way is to uninstall this kernel without a full clean flash? It's just the boot.img from the room correct?
[X Style (Pure) Android Development] dzidexx:
Before handbag you should do the backup boot+system.

Just in case I suggest flash the same versions RR+Gapps(first uninstall or disable kernel manager).
[X Style (Pure) Android Development] ACardAttack:
I always just do a full backup
[X Style (Pure) Android Development] tdg2k15:
The new RR has no audio issue until you flash a custom kernel.. The audio crackling issue is because of kernel.. Easiest way to figure that out is use the kernel that's included in RR and you won't have the issue.. Another good kernel is DU.!
[X Style (Pure) Android Development] dzidexx:
He had HBK 2.2. Can he flash only boot.img?

Unpacked from RR of DU?
[X Style (Pure) Android Development] Gulfstream 650:
Just wipe cache and dalvik then reflash the ROM, it will reinstall the stock kernel.
[X Style (Pure) Android Development] Spencervb256:
Thanks for the suggestion. I already reinstalled stock kernel by re flashing stock rr boot image. No issues (good thing because I didn't backup I risked !!:/) [MENTION=7065205]dzidexx[/MENTION] and [MENTION=7779010]tdg2k15[/MENTION] were very helpful. But it is now solved!
[X Style (Pure) Android Development] Louis1977:
When sound frame restarts the cell phone

Enviado desde mi XT1575 mediante Tapatalk
[X Style (Pure) Android Development] Spencervb256:
I also had this issue in ex kernel manager. Accessing sound tab causes phone to crash. Can try and grab a log
[X Style (Pure) Android Development] Louis1977:
i used kernel aduitor and I do not know how to do a log..

Enviado desde mi XT1575 mediante Tapatalk
[X Style (Pure) Android Development] tdg2k15:
Its supposed to be Faux123 sound control..and what's included in 2.2 is a direct port from the nexus 5x. So the implementation of it for our device isn't ready and still needs work.
[X Style (Pure) Android Development] Spencervb256:
Oh ok sounds good I won't worry too much about it then!
[X Style (Pure) Android Development] XDleader555:
07/28/17 - 12:39AM - msm branch - v2.3

Re-enable msm_performance (Default Kernel Hotplugging)

Update Zen Tune from 4.5 to 4.10

Enable Partial Resume

Revert Stack Protection from Strong to Normal

Add Software CRC toggle

Revert Alucard, Autosmp, bricked, msm_hotplug, lazyplug Hotplugs

Revert Dynamic fsync

Revert powersuspend and state_notifier

Temporarily Revert power efficient work queues

Revert KEXEC patches until someone complains

Temporarily Revert uKSM

A lot of other various cherry picks reverted

Sorry I've been gone from the scene so long. Here's a build you can play with which has only the default hotplug. I realize if I'm going to disappear for weeks, I should probably leave something that's relatively stable.

It was really hard not cherry-picking commits for this branch, but if the commit wasn't necessary to boot or didn't show immediate functionality, I left it out.

I'll setup this branch (handbag-msm) as the more stable branch (hopefully). The msm branch was rebased from the original stable (v2.2).

So far it seems rather stable; no more laggy wake-ups, alarm clocks, or background music (as far as I can tell). Let me know how the battery drain is. Maybe it'll turn out better than custom hotplugs.

Downloads [url]https://xdaforums.com/devdb/project/?id=20678#downloads[/URL]
[X Style (Pure) Android Development] XDleader555:
Quick Re-Add

07/28/17 - 4:59PM - msm branch - v2.3.1

Bring back alucard governor

Bring back power efficient workqueue

Bring back Dynamic fsync

Bring back uKSM and patches

Add LCD Notifier

Disable trace_printk

Disable sched_hrtick

Downloads [url]https://xdaforums.com/devdb/project/?id=20678#downloads[/URL]
[X Style (Pure) Android Development] XDleader555:
Lag Custom Hotplugging

07/29/17 - 3:45PM - hotplugs branch - v2.3.1

Add bricked_hotplug

I believe the lag caused in Handbag v2.2 was due to the hotplugs queuing/flushing work when powering on the screen. It was probably as bad as it was due to multiple hotplugs idling in the background.

This branch contains the same code as the msm branch, except with bricked hotplug enabled and msm_core_ctl disabled.

You guys can test this version if the msm branch doesn't satisfy your thirst for hotplugging. I'll keep the two branches separate, but with the msm branch as the base since it isn't affected by the laggy wakeups.

I see a delay of up to 1 second with bricked_hotplug enabled. on the msm branch, waking the device is instantaneous every time. Let me know if you're getting the same results.

Download is attached to this post. I'll continue fiddling with it.
[X Style (Pure) Android Development] BlindArtisan:
Thanks for the update, I'll flash and try it out for the next few days. I installed this kernel a couple of weeks ago and it saved me when I forgot to plug my phone in over night. I woke up the next morning with only a few % had been drained, where as before it would have been dead.

I know getting a stable release is priority, but is there any plans too add the ability to undervolt? I would love to be able to squeeze out a little extra SoT on this phone.
[X Style (Pure) Android Development] XDleader555:
Absolutely, I've been playing with some undervolting code from frap129's Nexus 6P kernel. Just a few issues with it, so not exactly release material.
[X Style (Pure) Android Development] XDleader555:
07/30/17 - v2.3.2

Add voltage control

Voltage control is here, don't go blowing up your phones now.

I've added the hotplug branch to the download list as well.

Downloads: https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] ACardAttack:
Anyone getting bluetooth audio issues with the newest build? On both CRdroid and Resurrection Remix I got choppy Bluetooth on 2.2
[X Style (Pure) Android Development] Louis1977:
link download dont work

Enviado desde mi XT1575 mediante Tapatalk
[X Style (Pure) Android Development] XDleader555:
Links don't work on mobile xda or Tapatalk (probably), since it's xda devdb. Download from a show as desktop page on chrome or similar.
[X Style (Pure) Android Development] tech_infinity:
Download fine for me, downloaded using chrome on mobile.
[X Style (Pure) Android Development] Louis1977:
tanks!!

Enviado desde mi XT1575 mediante Tapatalk
[X Style (Pure) Android Development] BlindArtisan:
Thanks, I've been playing around with it and I think I've gotten my global voltage offset stable at -75mv. I'll report back with some stats after a couple of days.

If anyone has a good low compromise powersaving setup let me know. Currently I'm using bricked hotplug with dispair cpu governors. max frequency is 1440MHz on the big and 960MHz on small. Gpu is simple_ondemand with a max of 450Mhz. With these settings I've been getting ~2-3hrs SoT (using lte) and an estimated 2 days standby (on wifi)
[X Style (Pure) Android Development] mix_man:
Very good experience with this version with bricked_hotplug! I tried every version from 1.5 upwards, but went back because the phone would not enter sleep mode at all. This version feels more responsive, phone sleeps nicely and the lag is no longer there, and I can also keep using bricked_hotplug (MSM doesn't cut it for me). Settings: Alucard for both cores / Bricked_hotplug / Maple i/o w 256 kb.

One thing that I could never figure out (applies to all Handbag kernel versions): Big cores always revert to default (Interactive) governor on reboot. Little cores remember the correct setting. Using Kernel Adiutor mod.
[X Style (Pure) Android Development] osk4rin:
Does this Kernel works with CrDroid 7.1?

Thanks!
[X Style (Pure) Android Development] Ijspegel:
Yes
[X Style (Pure) Android Development] XDleader555:
07/31/17 - v2.3.3

handbag-msm:

Forgot to re-enable msm_core_ctl hotplug (oops)

No need to update if you're on the handbag-hotplugs branch. Quick hotfix for something I forgot.

Downloads on xda-db: https://xdaforums.com/devdb/project/?id=20678#downloads
[X Style (Pure) Android Development] mddunner:
I'm jumping in on this branch. Great results so far, but haven't tried Bluetooth yet. I'm using Glassfish 1.2 for the governor options.

I noticed minimum big cores online defaults to 1. I've set this to zero. We'll see if the kernel reverts it back to 1 like the Cr Droid kernel does.
[X Style (Pure) Android Development] XDleader555:
It does, I'll look into fixing that later tonight.
[X Style (Pure) Android Development] mddunner:
Right on. Thanks again for all your work on this!
[X Style (Pure) Android Development] wizardknight:
Installed the last MSM, and am running at a -95mv global under-volt via Kernel auditor. So far so good.

Not seeing any Bluetooth weirdness yet, but I haven't really done any significant testing either.
[X Style (Pure) Android Development] jesful2011:
How to under-volt? On kernel auditor I see "CPU voltage" is it in there?
[X Style (Pure) Android Development] mddunner:
Very curious to hear your under volt results related to battery life.

Are there risks associated to under volt aside from low performance?
[X Style (Pure) Android Development] kadopt:
[MENTION=8057218]mddunner[/MENTION]

There's no low performance associated with under voltage, your device is more prone to hang or crash due to insufficient voltage to switch the transistors inside the CPU.