yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] xenyz:
ak you're gonna have a sore thumb. :)

I find westwood works great except in one specific area: torrent streams. I use acestream to watch football with torrent stream controller, and I find it pauses more often with westwood than with cubic. I'm not 100% sure if that is the reason but cubic seems to work better for me.

There's also this paper which is an interesting read:

Speaking of TCP congestion, OP has CoDel but I couldn't find it.
[Nexus 4 Original Android Development] GFXi0N:
I'm having a weird issue:Sometimes my screen just stops responding. I noticed it first while charging with am unofficial qi charger, but lately twice just after pulling it out of the pocket. I have swipe to wake activated via synapse. No uv or anything out of stock.... Any ideas?
[Nexus 4 Original Android Development] XsceneXhippieX:
my s2w in synapse absolutely will not work, dt2w and s2s work fine but i can never ever get my s2w working in synapse for some reason, but ive been the only person with the issue so i havent said anything because its probably something i did that causes it.
[Nexus 4 Original Android Development] maxver0:
Synapse doesn't for me at all. It shows me error.
[Nexus 4 Original Android Development] XsceneXhippieX:
Mine works awesome for everything I need it to do, I've gotten used to dt2w and s2w isn't really necessary for using the phone normally, that's the only thing it doesn't do perfectly for me, maybe you need to wipe it and reinstall or something

Sent from my LGOG converted to N4
[Nexus 4 Original Android Development] xenyz:
Updated intelliactive settings again, now much better gfx benchmark results.

I'm going to run regular stock interactive tomorrow and compare battery results.

I'm still not sure if it's better to keep the CPU in lower freq or asleep more often (race to idle), but I've been getting ~ 45 m per 10% battery, ~7 h SOT lately with wireless and a dim screen. I think it's pretty good and I'm not sure how much extra SOT an efficient CPU can really give with the huge power difference.
[Nexus 4 Original Android Development] Connor Baker:
I personally prefer race to idle. Are you overclocked or underclocked, and undervolted by any chance? Just curious.

Connor Baker
[Nexus 4 Original Android Development] xenyz:
If you click the link I have -75 mV and 270-1728 MHz.

I tried lower freq but they don't work well with interactive gov.

One really big question regarding race to idle is, why not just pin the CPU at max frequency? Why have a governor at all? There must be some benefit to lower frequencies at some time, right?
[Nexus 4 Original Android Development] emanoj.i9103:
Works great with KK AOSP build by Franco. Colors seem better than stock. Just finished up booting. Will see if something pops up. Thank you anarkia1976
[Nexus 4 Original Android Development] super noob bros:
Works with the Odexed Nexus 5 port :)
[Nexus 4 Original Android Development] mustangtim49:
I can second that. Also, fauxclock app works to control features of kernel.
[Nexus 4 Original Android Development] genkralyz:
Awesome!

works fine on ported N5 rom, you're so fast! :D thanks [MENTION=3685904]anarkia1976[/MENTION]

Is there negative effects if I leave HW overlays disabled? tia
[Nexus 4 Original Android Development] Targaeryan:
No negative effects..
[Nexus 4 Original Android Development] snak3ater:
Having Bootloop in Ported 4.4 kit kat Rom :crying:

Is it because i am using ART compiler :confused:
[Nexus 4 Original Android Development] Targaeryan:
Try dirty flashing the ROM and then the kernel. After that try the ART compiler. :thumbsup:
[Nexus 4 Original Android Development] snak3ater:
I was using Art when i flashed AK kernel.Got myself stuck into bootloop.Now i'm reverting back to Dalvik..Will flash the kernel again :good:
[Nexus 4 Original Android Development] Targaeryan:
Dirty flashing would revert it back to dalvik. :thumbup:
[Nexus 4 Original Android Development] snak3ater:
Reverted back to Dalvik..Now Rom booted fine...Thanks for responding :)

Thanks Anarkia for the Kernel..Great job :good:
[Nexus 4 Original Android Development] malcho:
No problem on mine source built kk.

Thanks anarkia
[Nexus 4 Original Android Development] ak:
Wow ... super malcho kk rom is on the way ... right? :D
[Nexus 4 Original Android Development] malcho:
Ha ha i won't call it super but it will be kk:)
[Nexus 4 Original Android Development] jlink38:
Great kernel! Works great on Gnome's build!!
[Nexus 4 Original Android Development] 0.0:
There are some small flickers of the screen here and there on the KitKat kernel. Other than that, it's good. Thanks AK!

sent from my Nexus 4
[Nexus 4 Original Android Development] Abaddon:
haha :good:

please call it super malcho. it'll b nice! :D
[Nexus 4 Original Android Development] Targaeryan:
That's because then kernel is still based on caf :angel:
[Nexus 4 Original Android Development] ak:
Disable hw overlay and your love for caf will start :o

I have a suggestion for wheatley, will be inside for next release:

- io is busy = 1

- sampling rate = 2000

- target residency = 2000

- up threshold = 85

sooooo smoooth.
[Nexus 4 Original Android Development] ak:
Op updated

[/CODE]Q: How i can resolve problem with overlay and flickering with Kitkat and Jw roms?

thanks to @Targaeryan:

go to Developer options and enable "Force GPU rendering" + "Disable HW overlays".

-
[Nexus 4 Original Android Development] notbrodie:
Working perfectly on n5 port build. Using ART compiler. I haven't noticed any flickers or tearing. [MENTION=3685904]anarkia1976[/MENTION] you are awesome!

Sent from my Nexus 4
[Nexus 4 Original Android Development] Connor Baker:
There is. The voltage consumed at a frequency is (and correct me if my math is a bit off here (it was, thanks [MENTION=4203114]mrg666[/MENTION])), frequency times square of voltage. So even if 81mhz and 1015mhz had the same voltage level, they'd still consume different amounts of battery. Governor manages loads either for performance, or battery, or a mix of the two. They deal with finding the best frequency to run at, depending on the load.

Connor Baker
[Nexus 4 Original Android Development] xenyz:
Here's something interesting I just found on XDA. Wouldn't that blow the race to idle argument away? And therefore if we can get interactive to give decent performance at lower frequencies, we would get some (marginal) extra battery life?

It's all pretty interesting stuff but again I have a feeling it's diminishing returns on efficient CPU vs. screen on time.
[Nexus 4 Original Android Development] mrg666:
It should be power proportional to frequency times square of voltage
[Nexus 4 Original Android Development] Connor Baker:
That's also a reason why we have single core on screen off, and I believe that it's underlcocked to ~800mhz as well on screen off? Then again, as soon as the screen turns back on, you want the UI to be buttery smooth, so it onlines another (or all) cores, and returns the clockspeed to normal.

As for the interactive at lower frequencies, I guess you could. The UI isn't super CPU intensive, and is really only used for loading things, and scroll friction. It is important, however, that it is extremely responsive. For example, I overclock to 1.7ghz, because I notice that taking photos with HDR is faster when overclocked. So it's really up to the user. Are they willing to trade (marginal) battery life for (marginal) speed increases and (marginally) hotter devices?

Connor Baker

EXTRA POST!!!!!!

@ak

Thanks to your awesome kernel, I'm nearly able to best my buddy's HTC One's benchmark.

Connor Baker

(PS: Mine is on the right)
[Nexus 4 Original Android Development] ak:
v.080

New kernel is near stay tuned:

- log

https://github.com/anarkia1976/AK-xGenesis/commits/ak-xGenesis-nightly

ecc ...

- synapse

new 0.23 app is on the market - thanks andreilux

support for backup/restore - thanks osm0sis

support for lmk and whitelist and entropy and ecc .... thanks osm0sis

ecc ...
[Nexus 4 Original Android Development] musa47:
Gas masks on. This is about to get viral! :P amazing stuff.
[Nexus 4 Original Android Development] ak:
new kernel

[XGENESIS KERNEL v.080 - EXPERIMENTAL]

A kernel based on CAF CM branch.

uninstaller: ak_unistaller_mako

aosp: ak.080.xgenesis

cm: ak.080.xgenesis.cm

[install]

- reboot recovery

- flash kernel

- reboot

- install synapse

[uninstall]

- reboot recovery

- flash ak_uninstaller_mako

- flash another kernel

- reboot

[changelog]

full changelog:

Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.080.XGENESIS.MAKO.CM
Greg Kroah-Hartman - Linux 3.4.83
anarkia1976 - cpufreq: intelliactive: tuning for performance
anarkia1976 - cpufreq: interactive: tuning for performance
Shridhar Rasal - cpufreq: interactive: delete timers for GOV_START
myfluxi - SELinux: ipv4: Dump stack on attempt to release alive inet socket
franciscofranco - SELinux: add a ugly workaround to bail early when selinux tries to free a socket
Srinivasarao P - power: don't wait for timeout if sys_sync completes early
Deva Ramasubramanian - [media] media: Init the reserved fields of struct media_link_desc
Stratos Karafotis - msm: camera: Added the NULL pointer check
mrg666 - csdio: Remove the driver
anarkia1976 - ak_mako_defconfig: disable SMD_LOGGING
mrg666 - msm: remove perf_debug
Johannes Berg - wireless: remove wext sysfs
Eric Dumazet - net: loopback: set default mtu to 64K
anarkia1976 - msm: msm_mpdecision: set min cpus to 2 and boostime to 1.5s
mrg666 - prima: disable DEBUG into WiFi driver
anarkia1976 - ak_mako_defconfig: min 384, max 1512
anarkia1976 - ak_mako_defconfig: enable LOW_MEMORY_KILLER_DO_NOT_KILL_PROCESS
Cristoforo Cataldo - staging: android: lowmemorykiller: Management of not killable processes
Deva Ramasubramanian - switch: Reset device's drvdata before destroying it
anarkia1976 - ak_mako_defconfig: enable MOTOROLA MEMUTILS OPT
anarkia1976 - msm: memutils: memcpy, memmove Fix makefile issue
Hong-Mei Li - msm: memutils: memcpy, memmove optimization
Chris Fries - msm: memutils: memcpy, memmove, copy_page optimization
Mohammad Johny Shaik - ASoC: msm: qdsp6: Fix pop noise seen with touch tone during playback
anarkia1976 - ak_mako_defconfig: disable some LOGS, thanks @xboxfanj
anarkia1976 - ak_mako_defconfig: enable SIO
anarkia1976 - block: scheduler: tuning SIO based on Cylon 801
Gokhan Moral - block: scheduler: add SIO
Greg Hackmann - power: wakeup_reason: rename irq_count to irqcount
Ruchi Kandoi - power: Add guard condition for maximum wakeup reasons

[short changelog]

kernel:

- linux 3.4.83

- interactive intellidemand tuning

- selinux fixes

- interactive patch

- common patches

- removed some logs and drivers

- mmutils boost

- added sio

- added lmk whitelist support

- fix pop noise with touch during playback

synapse:

- support for backup and restore

- fix typos

- lmk tunable

- lmk whitelist

- entropy

- ecc ecc
[Nexus 4 Original Android Development] 0.0:
[MENTION=3685904]ak[/MENTION] when faux releases the code for his updated intelliplug and other stuff for mako, will you include that as well? Faux already updated it for nexus 5

Sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
Yes i want to merge today ....:D
[Nexus 4 Original Android Development] pables123:
Nice work
[Nexus 4 Original Android Development] ken_alpha24:
Will try this. Ty AK
[Nexus 4 Original Android Development] stavca:
latest version seems to be very good, performance is a bit better than on previous versions (seems to be small 3D performance increase) and thx for the SIO ;)
[Nexus 4 Original Android Development] ak:
Thanks to all guys that support the kernel.

I'm waiting feedback for synapse

Ak in the house :)
[Nexus 4 Original Android Development] mammenj:
Any one else having major freeze on v80?
[Nexus 4 Original Android Development] ak:
All infos please and log.

Ak in the house :)
[Nexus 4 Original Android Development] ken_alpha24:
I'm from hells doctor kernel. How do I install this?

Dirty Flash Rom First? Or is it ok to Flash Kernel Right Away?
[Nexus 4 Original Android Development] mammenj:
Sorry @ak, reverted to v70. I will get it next time.
[Nexus 4 Original Android Development] ak:
Stock settings?

Ak in the house :)
[Nexus 4 Original Android Development] ak:
No you have to reflash stock kernel.

Ak in the house :)
[Nexus 4 Original Android Development] betobm:
working fine until now!

no freezing at all!

just changed to intelliactive / sio / intelliplug on / mpdecision off from the default settings.

thanks!:good:
[Nexus 4 Original Android Development] ken_alpha24:
Ok so you're saying that I have to dirty flash my ROM again to be in the stock kernel. Then install. Thanks! :)
[Nexus 4 Original Android Development] ak:
Yes if you have flash tardis

Ak in the house :)
[Nexus 4 Original Android Development] Targaeryan:
Noticed freezing. After I changed to intelliactive governor from intellidemand, the freezes have gone down. [MENTION=3685904]ak[/MENTION] if I have a freeze using intelliactivr I'll post a log, but so far I haven't had any. Only with intellidemand.

Addon- are you still using slimkat or have you been using any other ROMs?
[Nexus 4 Original Android Development] ken_alpha24:
Apparently I did lol. Will report tomorrow. :) Purity + AK = still the best combination for me.
[Nexus 4 Original Android Development] mammenj:
All stock, except -60mv undervolt.
[Nexus 4 Original Android Development] ak:
Lag or freeze? ... I have tuned intelliactive and interactive a lot.

Please can you try to change settings?

Ak in the house :)
[Nexus 4 Original Android Development] ak:
Lag or freeze with reboot ?

Ak in the house :)
[Nexus 4 Original Android Development] Targaeryan:
Intelliactive is perfect.. When I used intellidemand, it froze (not lag) and rebooted a few times.. I was out so couldn't get log. When I changed to intelliactive its fine. :)
[Nexus 4 Original Android Development] teachmeluv:
Hello there,

dumb question but is the 0.23 version on the website the 0.63 stable version? :)
[Nexus 4 Original Android Development] ak:
Thanks. Do you have used mpd or intelliplug?

Ak in the house :)
[Nexus 4 Original Android Development] mammenj:
Freeze, cant use it for almost few seconds.

EDIT, freeze but NO reboot.
[Nexus 4 Original Android Development] ak:
No do you have mako or flo?

Do you know the diff?

Ak in the house :)
[Nexus 4 Original Android Development] Targaeryan:
.23 is for nexus 7 please dont flash that.. 63 is for n4.

And new one is 80

Intelliplug
[Nexus 4 Original Android Development] ak:
With stock is strange. Do you have adaway or fdroid installed?

Ak in the house :)
[Nexus 4 Original Android Development] mammenj:
Neither...may be I will flash it again and get the logs for you.

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

Ok, I was able to reproduce. It freezes when I charge on wireless charger and try to use the phone.

Logs attached
[Nexus 4 Original Android Development] fr3quency:
Wow I come here and I see version 080. MIND=BLOWN, totally unexpected.

Works like a charm on latest CM11 Nightly. The stuttering is now gone when you have disabled MPDECISION and using either Intellidemand or Intelliactive. Amazing job ak. :) The stuttering with Intelliplug still persists though, but that's not a problem for me. :)

One question, where can I find more info about Intelliactive(I want to know more about this particular Governor) and Intellidemand as well as FIOPS I/O? Thanks!
[Nexus 4 Original Android Development] teachmeluv:
Due to my signature i own the mako :)

Just have seen the version number on the download page and not the device name ... sorry for be that impatient ;)

So AK.063.XGENESIS.MAKO.zip is the correct file? I want the stable kernel 0.63
[Nexus 4 Original Android Development] ak:
Yes ... But if you want a stable kernel ... Don't flash

Ak in the house :)
[Nexus 4 Original Android Development] Targaeryan:
All of aks releases are stable in my opinion.. 80 is stable too. 63 is pretty old..
[Nexus 4 Original Android Development] ken_alpha24:
My thoughts exactly!
[Nexus 4 Original Android Development] teachmeluv:
Now im getting a little bit mindfuc*ed :cyclops:

If i click the stable version in the first post i land on the download page...but where is the stable version?

Anyway...i will try 0.80 :good:
[Nexus 4 Original Android Development] Blackcrx:
On the far right side of the Web page click on "xgenesis". That will take you to all the previous kernels. As title states, 63 is the last milestone.

http://ak.hiddenbytes.org/xgenesis.php
[Nexus 4 Original Android Development] ak:
I'm working on it .... Thanks friend

Ak in the house :)
[Nexus 4 Original Android Development] ak:
You have made a reboot manually I can't do anything no last kmsg

Ak in the house :)
[Nexus 4 Original Android Development] maxver0:
Just got a reboot. I think I forgot to turn up voltage on 1,6GHz and 1,7GHz. But it rebooted when phone was idling and connected to a PC (just charging up). Also I've been using Xenyz settings which can be found here:

https://www.dropbox.com/s/gr4fremypgd450x/05intelliactivebyxenyz

https://www.dropbox.com/s/a5r6d927l5n75hj/last_kmsg.txt

PS. I'm translating and sharing your thread on largest Polish Android forum. Translating is in progress :D I hope it isn't an issue. If it is I can delete it immiedietly.

http://forum.android.com.pl/f794/ak...-3-4-82-aosp-cm11-05-03-a-397770/#post3414354

---------- Post added at 05:36 PM ---------- Previous post was at 05:15 PM ----------

During reboot third, boot animation frozen. I think it's interfering with SuperCharger V6, gonna uninstall it.
[Nexus 4 Original Android Development] TheNerd:]:
AK please keep the version numbers down. Your old naming scheme was very confusing, and I'm hoping you don't subconsciously revert to old habits with your naming schemes. Right now it's now too bad but slowly it might get worse

If you find this rude and annoying just ignore it. I don't really have a right to criticize a great piece of work that I have no ability to do.

Anyways thanks for v80!
[Nexus 4 Original Android Development] maxver0:
I had same thing on Slimkat. When I clicked on Messenger bubble to open chat.
[Nexus 4 Original Android Development] Almayce:
On 80 i had freezes whilst watching a movie in BS player, so i went back to 70 to finish the movie,but now audio is stuttering. Like each song atleast twice. I underclocked by 50, intelliactive, infelliplug.
[Nexus 4 Original Android Development] xenyz:
Did the device reboot by itself or just freeze up for an extended time?

I had one ~20 s freeze, no response at all but no reboot either. Forgot to grab a log. :/

And BTW I've made a few changes to those intelliactive settings here. Interactive does not like 81 MHz.
[Nexus 4 Original Android Development] krystyuc:
What app should i use to controll the kernel?specially the min/max cores,kcontrol?
[Nexus 4 Original Android Development] maxver0:
It just freeze up for extended time. I waited like 1min but no respond so I forced to shut down by power button.

Trickster Mod
[Nexus 4 Original Android Development] XsceneXhippieX:
Synapse works awesome for backups for me, tested backing up both kernel and config and restoring config, the screen with entropy variables is over my head as far as I know though, haven't touched it at all thus far, love the set at boot functions working right

Sent from my LGOG converted to N4
[Nexus 4 Original Android Development] RootNightmareX:
What is the diference between MIL and EXPerimental ?
[Nexus 4 Original Android Development] XsceneXhippieX:
MIL = milestone EXP = experimental

IMO EXP has better performance and is very stable in almost every respect
[Nexus 4 Original Android Development] RootNightmareX:
And does the kernel have volume and bass booster, undervolt and gpu oc if i use that app ''kcontrol'' ?
[Nexus 4 Original Android Development] maxver0:
Bass booster in kernel :confused:

Which volume?
[Nexus 4 Original Android Development] RootNightmareX:
Ye, I use that option in fku ''headset gain boost'' and ''headphones volume boost'' improves the bass.

BTW Does it have uv and gpu oc ?
[Nexus 4 Original Android Development] TigerV:
I flash aosp ak kernel on PA 4.1 beta 2 then my screen color are more darker... Don't know why... Can anyone help me on this??... Snap for ref
[Nexus 4 Original Android Development] maxver0:
Yes it has UV and GPU OC, have you even read feature post? http://xdaforums.com/showpost.php?p=46249027&postcount=2

AK has fauxsound if you are asking about it...

---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] ak:
No problem guys

Ak in the house :)
[Nexus 4 Original Android Development] ak:
Because it have pa halfb color profile ...

Ak in the house :)
[Nexus 4 Original Android Development] ak:
V080 have problems related to some opt added into ramdisk ... New version is near ... For stability I want to suggest to use old v070

Ak in the house :)
[Nexus 4 Original Android Development] TheNerd:]:
Thanks
[Nexus 4 Original Android Development] clockworkstop:
You know, you can't really make a screenshot of the colors...
[Nexus 4 Original Android Development] ken_alpha24:
Ok here's my review.

Intellidemand is not that much stable. I mean it drop drames and makes the phone stutter for some reason. I even got a random soft reboot.

Ondemand, interactive, and intelliactive on the otherhand is very optimized. I didn't encounter any problems YET.

Anyways, good job AK

---------- Post added at 07:28 AM ---------- Previous post was at 07:23 AM ----------

Ah! One more thing! My playstore was gone after I installed v80. I had to install gapps again.
[Nexus 4 Original Android Development] ken_alpha24:
Btw. I reverted to stock kernel. I'm still waiting for the new exp version. :) I get freezes occasionally :(. But overall, still a smooth experience.
[Nexus 4 Original Android Development] pancham7:
Wakelock

Tried changing (Full Wipe) ROMs. But still I am getting msm_hsic_host wakelock. Any solutions?
[Nexus 4 Original Android Development] xenyz:
Disable cellular radio aka Airplane mode.
[Nexus 4 Original Android Development] pancham7:
Its not enabled :(
[Nexus 4 Original Android Development] Connor Baker:
Switch off of intelliplug/intelliactive. I have a feeling that it's throttling the CPU/GPU down too much to try to conserve power while reducing heat, which in turn causes stuttering in the UI.

See my reply above. Also, are you undervolting? Usually, UV is the source of random rebbots, or a naughty app. That's a very weird issue with the Google play store being gone as well.

What gapps are you using? Do you have location services enabled? Those two are the most probable cases. Take a look at this post: http://xdaforums.com/showthread.php?t=2297291

Connor Baker
[Nexus 4 Original Android Development] ken_alpha24:
Undervolted -50. I use PA Gapps.
[Nexus 4 Original Android Development] pancham7:
PA Gapps. Location services, Wifi scanning always is disabled.

Have gone through the post mentioned above earlier. No gain :(
[Nexus 4 Original Android Development] gorilla p:
Yeah you have to be careful under volting with the new 81mhz min freq. You can't UV across the board. 81mhz has to be UVd a bit less, equal to or maybe 25mv leas than 162mhz
[Nexus 4 Original Android Development] iskandar1023:
Check your mobile signal, if its bad

So the hsic wakelock will appear

SONE!!
[Nexus 4 Original Android Development] krystyuc:
If i lover frequency from 1,5 to 1 all the cores keep online at 1Ghz,why?And how to fix this?
[Nexus 4 Original Android Development] csunny95:
May I know anyone have a recommended trickster app setting?

Also, why eco-mode doesn't work? I have already enabled it in trickster mod app.

But it is still running in 4 cores
[Nexus 4 Original Android Development] maxver0:
Default ones :good: You need to enable intelli-plug as well.
[Nexus 4 Original Android Development] csunny95:
so, which kernel governor u recommended?

I need to enaable intelli-plug in order to activate eco-mode?