yashsingh1/xdaforums huggingface dataset:
[T-Mobile, Samsung Galaxy SIII] galahadUSA:
Vanir latest nightly. It booted all the way, once it was done I went to unlock it and it froze. Then my boot screen animation starts and begins to strobe off and on.

I had to move on. I've tried this kernel before and my phone just doesnt get along with it. Thanks anyway though.
[T-Mobile, Samsung Galaxy SIII] decimalman:
I promised a user I'd put out a new AOSP build today, so I guess I will. It's up on both mirrors.

Changelog:

Merged the latest commits from CM: Linux 3.4.104 and a fix for the BT headset issue

Built with a shiny new GCC 4.9 toolchain

Added a new, wildly experimental CPU governor that I've been playing with for a couple days*

Switched to 120 Hz timer frequency as an experiment

* The new governor is called "tierservative" because it's vaguely similar to conservative, except it uses frequency "tiers," and I'm not at all creative. :p It's nowhere near finished, but I expect good things from it in the future.

EDIT: Looks like MediaFire just took down the latest build, and I can't get it uploaded again. :mad:
[T-Mobile, Samsung Galaxy SIII] Mervingio:
Is working

http://www.mediafire.com/?pbjmk2e6b3pzdb9
[T-Mobile, Samsung Galaxy SIII] decimalman:
So I've been playing with tierservative some more. I removed a bunch of stuff that didn't make sense (ramp delays), was completely useless (hotplug notifier), or actively hurt performance. There's a new AOSP build up on both mirrors.
[T-Mobile, Samsung Galaxy SIII] Jay Rock:
Will simply flashing this without tuning any settings improve anything compared to stock kernel on AOSP based ROMs?
[T-Mobile, Samsung Galaxy SIII] decimalman:
Yes, though I'm not sure how noticeable it'll be (I haven't run the stock kernel lately). You should see a modest improvement in both performance and battery life, since dkp includes a lot of general optimizations and changes that don't require tuning.
[T-Mobile, Samsung Galaxy SIII] milojoseph:
can we get some of the smartass family in this kernel. plz
[T-Mobile, Samsung Galaxy SIII] decimalman:
I think it's time for a new build. I'm not 100% satisfied with the new changes to tierservative (battery usage has definitely increased), but a new build is way past due.

New AOSP build is up on both mirrors. Changelog:

Lots of changes to tierservative

Changed balanced performance profile (i.e. the default) to use tierservative

BFQ v7r6

A shiny new GCC 4.9.2 toolchain with some new Krait-specific tuning

Feedback on the changes to tierservative is encouraged. They definitely increased battery usage a bit, but also smoothed out performance considerably.

asswax is almost identical to the newer versions of smartass (or at least the newest versions of smartass that I've run into).
[T-Mobile, Samsung Galaxy SIII] milojoseph:
the more you know, and thanks for the constant update. :D
[T-Mobile, Samsung Galaxy SIII] decimalman:
No problem. I do this for fun, and I don't want to splurge on a new phone, so you're stuck with me. :laugh:
[T-Mobile, Samsung Galaxy SIII] nirogu325:
One question, if I may. Do you think a TouchWiz Kitkat kernel's existence from you is possible? Us T-mo and AT&T users only have Ktoon and ibuddler's stockish kernel. Right now ibuddler's decent but something is wrong with his Trinity Colors implementation (not working) and Ktoon...well...let's say I miss having Intelliactive and your kernel tweaks and battery life. I am now using Likewise ROM, for reference.
[T-Mobile, Samsung Galaxy SIII] decimalman:
It's something I'd like to do, but I really don't like working with Samsung's kernel source. I haven't spent a lot of time with the TW4.4 source yet, but from what I've seen, I'll have to manually merge and/or rewrite a lot of code to get it working. On top of that, it looks like Samsung added a few new traps to the code that will prevent builds from working optimally (they did the same thing with the TW4.3 source, and it took a month or so to get custom kernels working on all carriers).

The kernel situation is even worse on other carriers. AFAIK, ibuddler is only building for d2att/d2tmo, which leaves all the other carriers with KT747 or stock kernels. I completely understand the need for another custom kernel, I'm just stubborn. ;)
[T-Mobile, Samsung Galaxy SIII] nirogu325:
Oh. Also no, you're not stubborn. It just takes a lot of time and effort, I got it and am grateful for all previous and current efforts. I only asked because it was curious your kernel's up to 4.3. I now understand. Thanks for the reply!
[T-Mobile, Samsung Galaxy SIII] TheKucho:
I know this may seem really out of the blue, but I was wondering if your TouchWiz 4.1.2 kernel builds were still up somewhere? I checked your "really old" link but it didn't seem to be there. I'm on d2tmo btw. Thanks!
[T-Mobile, Samsung Galaxy SIII] Mervingio:
https://www.mediafire.com/folder/9nc6cmdzmb8km/dkp#4a7ma396g313d
[T-Mobile, Samsung Galaxy SIII] TheKucho:
Wow I thought I checked all the links, but I guess not. Used the first link in op and there it was. Thanks though!
[T-Mobile, Samsung Galaxy SIII] TheKucho:
Alright, so i got around to flashing this on Dandroid 4.1.2 using the "latest" 4.1.2 dkp, released on 140426. Though this is a extremely well made kernel, i'm having one issue, my notification LED is not lighting up, for example when i'm charging my phone, the red LED does not light up. The menu and back softkeys light up and fade away just fine and the bootup blue LED lights up just fine aswell. But after that, all notification LEDs do not seem to work. Any help?

Edit: Also noticing that when i let to screen turn off by itself, it doesn't actually lock the phone, it literally just turns the screen off lol. I'm not expecting any changes or updates to the kernel, I'm just wondering if there was a fix for these issues. Thanks!
[T-Mobile, Samsung Galaxy SIII] milojoseph:
Can you add the new intelimm by faux.
[T-Mobile, Samsung Galaxy SIII] nirogu325:
Recheck your LED and Lockscreen Settings. I have an old nandroid based on the last 4.1.2 build for Dandroid using this kernel and the LED and lockscreen settings always worked.
[T-Mobile, Samsung Galaxy SIII] decimalman:
So apparently it's been like 4 months since the last official build came out. Oops.

There's two new builds up: a new build for AOSP 4.4, and a new (and very experimental) build for AOSP 5.0. The xstefen.net mirror has been taken down, so update your bookmarks.

Changelog for 4.4:

Updates to tierservative

BFQ v7r7

A couple new tweaks and optimizations

A couple updates from CM

Changelog for 5.0:

Fixed (I hope) a subtle bug from the previous 5.0 build, so this build should be more stable

Everything from 4.4

Lots of commits from CM
[T-Mobile, Samsung Galaxy SIII] tdotdot:
It's working better than most kernels for 5.0. And camera is working with it. No video obviously.

Can you explain the tunables for the tierservative governor please?
[T-Mobile, Samsung Galaxy SIII] decimalman:
I'll try, anyway. I don't think these will make much sense without sort of understanding how TS works. I'll edit with a better explanation once I figure out how to describe everything.

tier_count: the number of usage tiers that TS will use

extra_mhz: how aggressively to boost CPU frequency to handle short-term load

sample_time_ms: milliseconds between sampling cycles

max_sample_ms: milliseconds of CPU usage samples to save for each tier

active_sample_ms: milliseconds of recent CPU usage to track

saved_expire_ms: milliseconds TS can "change its mind" about lowering frequency
[T-Mobile, Samsung Galaxy SIII] decimalman:
New AOSP 4.4 & 5.0 builds are going up! Changelog:

Synced with CM

Fixed a longstanding bug I accidentally caused in intelliactive, and cleaned up asswax a little bit

Fixed rotation for SPH-L710T (triband) devices

Added new builds that support older KitKat ROMs. dkp causes problems (GPS, sync, etc. not working) on ROMs built before October 2014 or so. Builds listed under "dkp for AOSP 4.4.x (old ROMs)" should fix these problems.
[T-Mobile, Samsung Galaxy SIII] Johnnyy9262:
Is there anyway to update touchwiz 4.3 kernel with the current features of aosp? I tried your aosp kernel and I love it but I needed touchwiz since a couple of custom Rom were given me problems, I don't know it will he possible or not, i am sorry if this has been asked before and answered [emoji16]
[T-Mobile, Samsung Galaxy SIII] decimalman:
Maybe. I don't know how well the recent changes will work with 4.3, but I can look into it.

Any particular changes you're interested in?
[T-Mobile, Samsung Galaxy SIII] Johnnyy9262:
Tiersactive in particular and I am unsure If your Isaac mod was merged in tw4.3 seems a very cool mod, thank you for the consideration!
[T-Mobile, Samsung Galaxy SIII] decimalman:
tierservative should be easy to port over. ISAAC will take a little more work, but I think it's doable. I'll shoot you a PM once I get a build together.
[T-Mobile, Samsung Galaxy SIII] tdotdot:
I'd be willing to test it too if you want.

edit: oops never mind, didn't see that it was 4.3.
[T-Mobile, Samsung Galaxy SIII] mc00:
So I'm using this kernel on liquidsmooth kk-milestone 3.2 on a t999l and i get good battery life with intelliactive until I start using my lte...

which rom ya using with this kernel??
[T-Mobile, Samsung Galaxy SIII] churrumino:
Hello, does thiskernel could work on s3 t999 with slimkat 4.4.4
[T-Mobile, Samsung Galaxy SIII] decimalman:
I just uploaded a new set of builds. They include a change that is known to cause problems. I think I fixed the cause of those problems, but I can't be sure without some more people testing. It's possible that these builds will cause random reboots and/or touchscreen weirdness. If you have any issues, let me know.

Changelog:

Added a build for AOSP 5.1

Synced with CM

Improved support for Kernel Adiutor. If you haven't tried it, you should. The latest beta build even has an Override Minimum Voltage setting! :)

Changed a bunch of power management stuff. Battery life should be a bit better for it.

Fixed a bug in the touchscreen driver that caused e.g. Sweep2Wake to gobble battery.

Added Sweep2Wake and DoubleTap2Wake. I'm not sure why Trickster doesn't show the settings, but Kernel Adiutor does. DT2W can be kind of stubborn, but S2W works well. EDIT: Enabling either option on these builds will eventually hang the touchscreen. I should have fixed builds out later today.

EDIT: It's been longer than I thought since the last build. These builds also include more optimizations to UKSM scanning; scanning is ~40% faster. They also fix a bug in ISAAC that can cause problems in some games.
[T-Mobile, Samsung Galaxy SIII] amealwithlargefries:
Recently CM12.1 released an update for that fixed the camera. (im referring to the thread below)

http://xdaforums.com/galaxy-s3-t-mobile/development/rom-cyanogenmod-12-t-mobile-samsung-t3055048

The kernel works great when I started testing, but noticed the the camera broke again. I confirmed this when reverted to a backup I previously made before flashing this kernel.
[T-Mobile, Samsung Galaxy SIII] decimalman:
http://www.mediafire.com/download/4uvn67hyyhs5hrv/dkp-aosp51-d2-20150422-001349-dkp-aosp51.zip

This includes the camera commits. Unfortunately, something in dkp causing issues with the front-facing camera. :(

EDIT: This build also includes a handful of fixes, including a fix for battery saver freezing the phone.
[T-Mobile, Samsung Galaxy SIII] decimalman:
New AOSP 4.4, 5.0, and 5.1 builds are going up now. :)

Changelog:

Synced 5.1 with CM. Camera works on recent ROMs!

Fixed a bug that broke the front camera on 5.1.

Disabled freelunch on 5.1, since it's very broken and causes freezes and glitches.

Overhauled performance profiles/battery modes. Balanced will save and restore custom settings, performance won't lower your frequencies if you're overclocked, and battery saver won't increase your frequencies if you're underclocked.

Removed DT2W and S2W. It takes ages to register the initial touch, so I don't think I can get them to feel natural.

Built with a shiny new toolchain based on GCC 4.9.3.

A few small changes and optimizations.

EDIT: My build script misbehaved, so the original builds were missing some commits. I've taken the old builds down, and new builds will be up shortly.

EDIT 2: New builds are up, and they actually work this time.
[T-Mobile, Samsung Galaxy SIII] anil2653:
Thanks decimalman

Downloading now [emoji106]

---------- Post added at 01:23 PM ---------- Previous post was at 12:44 PM ----------

Installed 25th April build on PACMAN 5.1.1 and it is running great both camera working

???
[T-Mobile, Samsung Galaxy SIII] decimalman:
New builds for AOSP 4.4 and 5.1 just landed. I'm dropping support for 5.0, since very few people are using it.

Changelog:

5.1: Synced with CM

5.1: Disabled CPU boost (it's interfering with hotplug), re-enabled freelunch, set up the installer to patch mpdecision into the ROM

4.4: Fixed mpdecision not starting

I still haven't tracked down the boot issues on 5.1, but I'm working on it.
[T-Mobile, Samsung Galaxy SIII] anil2653:
This is my AnTuTu results LS lollipop rom with DKP Kernel And default governor settings

[emoji106] [emoji106] [emoji106]
[T-Mobile, Samsung Galaxy SIII] decimalman:
New builds just went up.

Changelog:

Synced with CM: 5.1 got lots of interesting stuff, 4.4 got a couple small fixes.

Fixed a bug that breaks boot. Rebooting from recovery shouldn't be needed anymore. :D
[T-Mobile, Samsung Galaxy SIII] Soul0Reaper:
Glad to see kernels still being developed for the s3
[T-Mobile, Samsung Galaxy SIII] decimalman:
dkp has fallen pretty far behind CM, so it's time for a new build. Unfortunately, I still haven't tracked down the battery drain issue that's been affecting some people. :( Since nothing has changed for 4.4, I'm only doing a 5.1 build.

Changelog:

Synced with CM: lots of cleanups, fixes and optimizations.
[T-Mobile, Samsung Galaxy SIII] anil2653:
Thanks decimalman

Downloading latest version of dkp

???
[T-Mobile, Samsung Galaxy SIII] decimalman:
New builds are up. I was playing with the toolchain I use for dkp, and discovered a handful of interesting optimization possibilities. Everything seems stable, but it's possible that some new issues will pop up with the new optimizations.

Changelog:

Synced 5.1 with CM

Updated to BFQ v7r8

Reworked some hotplug infrastructure in preparation for a project I'm planning

Overhauled auto-hotplug: it's now more efficient and much more aggressive

Enabled -ftoplevel-reorder, allowing LTO to do a better job optimizing

Specialized some LTO behavior to further improve optimization

Added a few smaller optimizations: inlined spinlocks, improved optimization for CPU hotplug, etc.

Normally, I'd just describe optimizations as "...and I optimized some stuff," but I'm pretty excited about the new optimizations in this build. The benchmarks I usually use to evaluate changes are all showing 5-10% improvements, and battery life over the past 24 hours has been noticeably better. Not too bad, considering how little I actually changed. :D
[T-Mobile, Samsung Galaxy SIII] anil2653:
Thanks decimalman

Downloading now
[T-Mobile, Samsung Galaxy SIII] mc00:
Thank you for all your work you put into this kernel!

I like any "optimizations" improve battery life lol
[T-Mobile, Samsung Galaxy SIII] Infamous_Cheez:
I agree. Thank you decimalman for continuing to update!
[T-Mobile, Samsung Galaxy SIII] anil2653:
Working great on pac man

?
[T-Mobile, Samsung Galaxy SIII] cLogic:
so I click the link to download from mediafire in the OP

then I click dkp for AOSP 5.1.x since I'm running cm 12.1

then I click dkp-aosp51-d2-20150608.zip

and I get a 93k invalid zip

am I doing something wrong?
[T-Mobile, Samsung Galaxy SIII] canodroid15:
Download it on your PC. Or if you must use your phone DL it using Opera browser. Mediafire has always been like that on mobile.
[T-Mobile, Samsung Galaxy SIII] cLogic:
yep, found that out the hard way, lol
[T-Mobile, Samsung Galaxy SIII] decimalman:
So dkp is embarrassingly out of date, and I haven't dealt with any bug reports in the last month and a half. Oops. :( I haven't been working on dkp as much lately, and when I do, I'm hung up on improving the optimizations from the last build. I haven't gotten very far with that, so I'm putting it on hold to get a new build out. Not a lot has changed on my end, but there's new builds up on Mediafire.

Changelog:

Synced 5.1 with CM. The new screen color controls are supported, and there's been plenty of other updates as well.

Switched to a shiny new toolchain based on GCC 5.2. Performance seems similar, but it's making much smaller kernels.

Added an option to disable standalone power collapse. See below.

Added new builds that disable dkp's optimized spinlocks. See below.

Changed some build settings to take advantage of GCC 5, improve optimization, and make dkp easier to build.

Probably some other stuff, but it's been ages since the last build and I don't remember.

The standalone power collapse and spinlock stuff is to help track down a few issues. If you aren't getting random freezes/reboots with the previous dkp builds, you don't need to worry about this stuff; just flash the regular (not "revert-spinlock") builds as usual.

If you've been seeing random freezes (possibly with a black screen and/or tons of lag right before), try flashing one of the revert-spinlock builds. Whether or not it helps, please let me know.

If you've been seeing random reboots, try disabling standalone power collapse. I'm not sure it's the actual issue, but it's worth a try. To disable SPC, either open /sys/kernel/dkp/spc_enabled and change the "1" to "0", or open a terminal app and enter "su", followed by "echo 0 >/sys/kernel/dkp/spc_enabled". If it helps, let me know and I'll figure out an easier way to disable it.

Finally, there have been several bug reports involving the battery/charger stuff. I don't see any differences between dkp and CM that would cause it, but I'm going to take a closer look when I get a chance. If I find anything, I'll send out some test builds.
[T-Mobile, Samsung Galaxy SIII] anil2653:
Flashed new dkp on my d2tmo running dirty unicorn unofficial and no issues with default settings no reboots
[T-Mobile, Samsung Galaxy SIII] cLogic:
questions

in the OP, you say "It should get excellent battery life without feeling sluggish"

Q1 does that mean that it tries not to use higher cpu MHz and/or is geared towards lower performance for better battery life?

in the OP, you say "It doesn't come with its own tuner app, so pick your favorite"

Q2 does that mean that it's default settings are not expected to be optimal?

.
[T-Mobile, Samsung Galaxy SIII] decimalman:
A1. Short answer: no, dkp is not geared toward lower performance. I keep both performance and battery life in mind when making changes, and dkp should outperform other kernels in terms of both.

Long answer: dkp includes lots of changes intended to save power, including smarter CPU and GPU governors, power-saving features that are disabled in stock kernels, and more efficient code. I wrote dkp's default governors with the goal that they'd be as responsive as the stock governors, but use lower frequencies when appropriate. I would consider it a bug if they felt slower than the stock governors.

A2. "Optimal" means different things to different people. The default settings are meant to be reasonable. You shouldn't have to change anything, but tweaking is half the fun of a custom kernel. ;)
[T-Mobile, Samsung Galaxy SIII] niphoet:
I'm confused. I'm on 4/17 CM10.1 and I couldn't boot work the newest experimental kernel. Did I do something wrong?
[T-Mobile, Samsung Galaxy SIII] decimalman:
Derp. I posted the announcement literally 10 minutes after waking up, and failed to specify that it's only for the 4/19 nightly, which has some driver changes that will break existing kernels. Sorry for the confusion.
[T-Mobile, Samsung Galaxy SIII] niphoet:
So in other words, it won't be usable until the next nightly is released?
[T-Mobile, Samsung Galaxy SIII] decimalman:
Derp again. I really need to stop posting before I've had my coffee. It looks like only d2att got a build with the changes and everyone else is still on 4/17.

Correct, the newest kernel won't boot until the next CM nightly.
[T-Mobile, Samsung Galaxy SIII] niphoet:
I updated via CyanDelta (just found out about it), then I was able to boot with the new kernel.
[T-Mobile, Samsung Galaxy SIII] decimalman:
Interesting. I didn't expect CyanDelta to be more updated than the get.cm builds. Good to know. :good:

A d2att user reported that the first round of builds has broken USB: the phone won't boot when plugged in, and data transfer won't work. I fixed it and uploaded new builds, so you should grab one if you get a chance.
[T-Mobile, Samsung Galaxy SIII] niphoet:
I can confirm no boot when plugged in. I'll download the new one shortly and report back.
[T-Mobile, Samsung Galaxy SIII] ckisgen:
mine boots fine plugged in with newest dkp kernel and latest 4-18/4-19 CM nightly

I am however getting a fair amount of screen flickering for the first time since the Jan/Feb nightlies ... wondering if its the kernel.

haven't had a chance to look at kmsg or logs. been on the road all day.
[T-Mobile, Samsung Galaxy SIII] decimalman:
You probably downloaded the second build that had the USB bug fixed. As for the flickering, I haven't seen any all day. I'm not running the full driver update (I had to revert a commit to be able to use it with my current ROM), so it's possible there's an issue there. I'll grab my ROM's next nightly and look into it tomorrow. Until then, you might want to go back to an older CM with a more stable kernel. :(
[T-Mobile, Samsung Galaxy SIII] ayysir:
Its because display drivers has been updated by cm. New ROMs based on latest nightly will be ok
[T-Mobile, Samsung Galaxy SIII] nicksmizzle:
any suggestions to tweak freelunch? i'm mainly looking for battery life (i know every phone is different, just looking for a jumping off point)
[T-Mobile, Samsung Galaxy SIII] decimalman:
I've been meaning to write up how freelunch works, but I keep getting distracted. Decreasing interaction_hispeed and interaction_overestimate_khz, as well as increasing hispeed_decrease should all increase battery life at the expense of some performance. You could also try tuning all the hotplug settings, since I don't think they're perfect.
[T-Mobile, Samsung Galaxy SIII] nicksmizzle:
thanks dude!:good:
[T-Mobile, Samsung Galaxy SIII] decimalman:
New 3.4 stable builds are going up! I'm planning to backport a few changes and do a new stable 3.0 release soon, since I know there are still some users that don't like 3.4.

Major features since the last stable release: lots of stuff. If your ROM hasn't merged in the CM video driver changes yet, your should ask the dev merge them so you can upgrade. :)

Notable changes since the last test builds:

Newest CM commits integrated. They've been hard at work causing merge conflicts. :p

At user request, the AssWax governor has been added (and works!). It has an extra interaction mode to support dkp's interaction hints.

Kernel-wide erandom finally works on 3.4

New CPU load interface with much higher precision than the existing one, plus two new governor variations to take advantage of it

Trinity colors setting takes effect instantly. Now I just need to get apps to show a setting for it. :( Want to try it temporarily? Enter 'trinity' in a terminal emulator.

Cleaned up some touchscreen code
[T-Mobile, Samsung Galaxy SIII] LuigiBull23:
appreciate the hard work!
[T-Mobile, Samsung Galaxy SIII] ayysir:
dammit beat me to the asswax implement. good work man. don't mind if i cherry pick a few of your changes?
[T-Mobile, Samsung Galaxy SIII] decimalman:
Go for it, but don't grab asswax yet. I need to push a bugfix first. You'll also need to strip out all the interaction stuff or it won't compile.
[T-Mobile, Samsung Galaxy SIII] ayysir:
gotcha, ive been mostly working on my own governor just need more choices