yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ak:
Here:

http://xdaforums.com/showpost.php?p=46249042&postcount=4

Q: What is boost for cpu and what is the "project butter"?

thanks to @showp1984:

[B]NB:[/B] when no input the min cpu is always the min referred to idle state, not to the boost.
You can use "perf-mon by chainfire" for verify the cpu in real time.
This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
In those events the min cpu freq will be risen to a predefined value (look below) on every online cpu.
This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
Configuration files:
root@android:/sys/kernel/msm_mpdecision/conf # ls
boost_enabled
boost_freqs
boost_time

All of them work like the usual sysfs files, except one special case:
boost_freqs will list all frequencies from cpu 0 to cpu x.
Cpu 3 and any following cpu will share one frequency.

To change those frequencies echo the cpu number + the frequency in khz.

To change the boost freq of cpu3 (and 4,5,6,7,8, etc) the echo would look as follows:
echo "3 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs

for cpu0:
echo "0 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs

Defaults:
cat /sys/kernel/msm_mpdecision/conf/boost_freqs
918000
918000
702000
594000
[Nexus 4 Original Android Development] sercankd:
My wifi got broken, even i have installed the old kernel i was using before, the bug stays still. now i am going to reinstall the rom i was using for 1 year without any format :( the bug appears when i wake device. wifi settings are black blank and everything is frozen and you have to login to wifi for using etc notification appears everytime it gets frozen
[Nexus 4 Original Android Development] ak:
No bug here ... if you want stability dont flash kernels or roms .... stay stock its simple.

read, before flash: you can revert using the script into first page. :fingers-crossed:
[Nexus 4 Original Android Development] hooliganx:
read more. my advice.

mo problems with ak kernel.

wifi is great with it!

learn little more before make changes.

what do you using?

rom? kernel? modem?

more information about helps too. ;)

N4*SlimKat.2.8.RC3*Hells.44.t3*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] sercankd:
i was using rastakat rom, tf kernel and i dont know about modem its just default one i guess. anyway i changed to cyanogenmod 11.
[Nexus 4 Original Android Development] Dark Fear:
hi bro

my batterylife is horrible on genesis.. all cores are mostly online with high frequency..

i prefer your previous work.. it was awesome.. very fast and good batterylife..
[Nexus 4 Original Android Development] ak:
Hey man this is impossible because there is hotplug mechanism.
[Nexus 4 Original Android Development] CamoGeko:
Lol

If only people were able to read and understand words. :rolleyes:

Sent from my baked potato
[Nexus 4 Original Android Development] RealSlimShadyMC:
Greenify your apps and fix your damn processes, I had an issue on AK once where frequency would never drop below 918MHz for all cores, fixed it with a clean flash
[Nexus 4 Original Android Development] hooliganx:
I never use greenify and with ak have 5h SOT, using my mako more than 16h a day. ;)

with any version of ak, I always have around 5h SOT (for my company use...)

and as ak said to me...

this kernel is for more speed... :D

N4*SlimKat.2.8.RC3*Hells.44.t3*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] Dark Fear:
it's also strange to me..but believe me plz.. i can share it's video.. :rolleyes:

even if i wait some sec, it doesn't go to min freq.. it's not normal and cause bad batterylife and much heat

i duno why it's like this and why happen only for me.. but trust me .. why should i lie.. i'm saying your

previous kernel is awesome and easily can reach 5 SOT with previous AK

i just wanted to had a feedback..

no i think it's a kernel issue.. why there isn't any problem with previous ak kernel? or other kernels?
[Nexus 4 Original Android Development] Gallardo994:
Terrible battery life? Disable boost in mp decision. It's the thing which gets the CPU up to 960mhz all the time you touch the screen.
[Nexus 4 Original Android Development] Dark Fear:
dude as i said, even if i don't touch the screen, it doesn't go to min cpu and is on high freq...
[Nexus 4 Original Android Development] gorilla p:
Has anyone here tested the 81mhz minimum freq? I thought 162mhz was low. 162 works well for me. À
[Nexus 4 Original Android Development] Targaeryan:
You can see a few pages back I posted screenies showing CPU at 81 MHz

Edit: http://xdaforums.com/showthread.php?p=50092446

---------- Post added at 03:00 AM ---------- Previous post was at 02:59 AM ----------

What ROM are you running? And what settings did you change in kernel?
[Nexus 4 Original Android Development] clockworkstop:
Reading? Words? what is this madness

Sent speedily from my scurrying Nexus 4

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

Mate we believe you, it's not about that. But even if your freq and cores are on all the time, that doesn't mean it's a kernel issue. This means that you ****ed up something with your phone.

If you're problem is still there after clean flashing the kernel on a stock ROM with no apps installed, .then. you may come back and say it's a kernel issue.

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] spaazm:
I've just posted it on my well known social network. :)

And I've taken credits for it... Hope you don't mind. :P
[Nexus 4 Original Android Development] ak:
No problem.
[Nexus 4 Original Android Development] ak:
This is cool:

http://aokp.co/blog/boot-animation-contest-results-are-in
[Nexus 4 Original Android Development] abalam:
Yeah man! And now that Roman is at the CM will probably be a bomb from a ROM. On my maguro it was my favorite ROM.
[Nexus 4 Original Android Development] mathorv:
CM 10.2

Could you link last stable and experimental builds for CM 10.2?

Or at least provide build numbers.
[Nexus 4 Original Android Development] xX NeOnShK Xx:
.42.xGenesis.cm is the latest stable and 55.XGenesis.mako.cm is latest experimental

And can anyone please help me understand the variables in governor control in trickster? Or a link describing them would be helpful. Want to learn what they do so that I can really personalize my kernel.
[Nexus 4 Original Android Development] mathorv:
CM 10.2 = Android 4.3 :rolleyes:
[Nexus 4 Original Android Development] Targaeryan:
As far as I can remember, ak switched to genesis for 4.4 and got rid of all 4.3 kernels. :) May I ask why you're still using 4.3?
[Nexus 4 Original Android Development] mathorv:
1. I hate Kitkat Dialer, prefer JB one.(I'd like to use CM/AOSP JB dialer with KK)

2. CM 11 is not fully finished.
[Nexus 4 Original Android Development] clockworkstop:
You could try using a different ROM that's already fully finished :) not like you're forced to use CM.

and I might be able to help you with the dialer, depending on what it is you don't like.

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] mathorv:
I'm cool with this rom, there's always PA, AOKP, OMNI.

I like CM just that, got bored with endless flashing and majority of apps - not all - are KK compatible yet (some made by lazy developers)

It's just KK:

Dialer

icon set

no different icon color when connected to google servers

Slightly worse video playback performance than on JB.

I d go for KK only if i had old AOSP/ CM JB dialer.
[Nexus 4 Original Android Development] xX NeOnShK Xx:
Whoops I should read properly :banghead:
[Nexus 4 Original Android Development] RealSlimShadyMC:
You do realise that CM11 actually comes with the AOSP dialer, but the Google Apps you flash remove it? If you want I can provide an .apk for you
[Nexus 4 Original Android Development] mathorv:
I assume that dialer you mentioned is the same as JB one?

I've seen [copy/replace .apk in system\app, set permissions, reboot]method for replacing system apps, but I don't see any dialer in gapps-kk-20140105-signed.zip\system\app you are sure about that?

If so please provide the recipe.
[Nexus 4 Original Android Development] RealSlimShadyMC:
I'll provide you with the apk in a second, PC booting up
[Nexus 4 Original Android Development] TheNerd:]:
Gotta give a hand to the xda community's kindness thank you guys your kindness astonishes me everyday compare to the real world
[Nexus 4 Original Android Development] RealSlimShadyMC:
I've just had some issues (had to go out) I'm back now, I'll keep to my promise

4.3 dialer comin up! ;)

Edit: odd, installing it fails, setting it as system app and giving it the right permissions fails, idk
[Nexus 4 Original Android Development] saddler2kx:
I need to ask this I have the Nexus 4 and Nexus 5, which Kernel give's this same performance as AK's for the Nexus 5? There are CaF Kernels for the Nexus 5 though none of them work on stock android....
[Nexus 4 Original Android Development] RealSlimShadyMC:
I'd recommend elementalX
[Nexus 4 Original Android Development] saddler2kx:
Thank u, though one more question I need to ask you then..... What do you think of these top three kernels for nexus 5 that I feel give AK's nexus 4 performance on my nexus 5... The reason why I say top 3 because elemental hasn't been updated since Jan 21...

PS: AK, when you make a kernel for Nexus 5 I will definitely support and put on my device.... When playing games and music on my Nexus 4 using OnDemand / IntelliDemand and SIO combo it been great performance...

Elemental

UBER nightly

ZETA
[Nexus 4 Original Android Development] RealSlimShadyMC:
Faux, Franco and ElementalX are the top 3 for the N5, no doubt about it.
[Nexus 4 Original Android Development] gorilla p:
AK kernel had elementalx governor for a short while. It worked great and the majority of users liked it. It was removed with the start of the CAF project.
[Nexus 4 Original Android Development] RealSlimShadyMC:
I know my AK kernel 101 ;) I've followed it since the 4.3 times, release day to be exact
[Nexus 4 Original Android Development] ak:
New toolchain is up:

https://github.com/Christopher83/linaro_toolchains_2014/tree/2014.02
[Nexus 4 Original Android Development] Starsream88:
Waiting for some magic :thumbup:
[Nexus 4 Original Android Development] ak:
Tonight or tomorrow .... :angel: :angel: :angel:
[Nexus 4 Original Android Development] Targaeryan:
Tonight it is! :p ;) :angel: did you check out fauxs new intelliactive governor?
[Nexus 4 Original Android Development] ak:
No for now but i want to merge it into the new release.

What do you think?
[Nexus 4 Original Android Development] Targaeryan:
Its pretty good. Works well with intelliplug. Tried it out for a day and seems to be doing well. I think intelliplug is a pretty good hotplug replacement.. It lasted me 20 hours with 2 hours of screen time with 35% remaining.. Now I'm back on your kernel. Was using it with aicp ROM. I'll trust your judgment on what to add and what not to add :D :angel:
[Nexus 4 Original Android Development] ak:
Thanks man .. I've been a little busy lately ... but now im back! :D
[Nexus 4 Original Android Development] Starsream88:
Hope tonight is the night cause i'm planning to clean flash my rom (slimkat stable :D) so i want to start fresh ! Was testing another kernel (No names :p) but i will flash ak again, the best kernel ever :thumbup:
[Nexus 4 Original Android Development] Connor Baker:
Sorry, sorry everyone. The dangers of tabbed browsing.

Nothing to see here.
[Nexus 4 Original Android Development] ak:
@Connor Baker
[Nexus 4 Original Android Development] ak:
Kernel pre changelog is on git .. I'm testing right now :D
[Nexus 4 Original Android Development] Starsream88:
Intellidemand and intelliactive IN :thumbup:

Can't wait :D
[Nexus 4 Original Android Development] JustinXu:
[MENTION=3685904]ak[/MENTION] could you post your kernel settings？i'm new to your kernel,and i think i need it.lol
[Nexus 4 Original Android Development] hepi_hape:
Sory for repost question... im usaly using hellcore, but i want to test another kernel :D

wanna ask:

What is uninstaller prima ?? is that really neccessary if want to change another kernel

thanks ;)
[Nexus 4 Original Android Development] poondog:
Ypu want to go to another kernel?

1. Throw your phone out the window

2. Reflash Rom (no need for wipe)

3. Flash other Kernel

A dirty flash of the Rom will get rid of any custom kernel and its tweaks
[Nexus 4 Original Android Development] ak:
new kernel is UP

[XGENESIS KERNEL v.058 - EXPERIMENTAL]

A kernel based on CAF CM branch.

uninstaller: ak_unistaller_mako_prima_lib

aosp: ak.058.xgenesis.mako

cm: ak.058.xgenesis.mako.cm

[changelog]

- intellidemand 5.0

- intelliactive

- linux 3.4.80+

- neon pure

- new toolchain linaro/cr83 a15 4.8.3

- ecc ecc ecc

Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.058.XGENESIS.MAKO.CM
anarkia1976 - ak_mako_defconfig: disable SELINUX DEVELOP and AVC_STATS
anarkia1976 - ak_mako_defconfig: disable DEVMEM and DEVKMEM support
anarkia1976 - cpufreq: intellidemand: added miss cpufreq register declarations
myfluxi - arm: vfpmodule: Fix warning procfs vfp_bounce reporting failed
Russell King - ARM: only allow kernel mode neon with AEABI
Ard Biesheuvel - ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
Ard Biesheuvel - ARM: crypto: add NEON accelerated XOR implementation
Paul Reioux - ARM: add support for kernel mode NEON
Paul Reioux - ARM: be strict about FP exceptions in kernel mode
Paul Reioux - ARM: move VFP init to an earlier boot stage
Paul Reioux - kernel/futex.c: Linux 3.4 compatibility fix up
Davidlohr Bueso - futex: Avoid taking hb lock if nothing to wakeup
Davidlohr Bueso - futex: Document ordering guarantees
Davidlohr Bueso - futex: Larger hash table
Davidlohr Bueso - futex: Misc cleanups
anarkia1976 - ak_mako_defconfig: enable INTELLIACTIVE
Paul Reioux - cpufreq: intelliactive: fix race condition when unregistering input handlers
Paul Reioux - cpufreq: intelliactive: tune for APQ8064 devices
Paul Reioux - cpufreq: intelliactive: initial coding and introduction!
anarkia1976 - ak_mako_defconfig: enable INTELLIDEMAND
Paul Reioux - cpufreq: intellidemand: remove obsolete intellidemand 4.x code
Paul Reioux - cpufreq: intellidemand: minor clean up and tailor for APQ8064 devices
Paul Reioux - cpufreq: intellidemand: sync with Hammerhead Intellidemand 5.0
Paul Reioux - cpufreq: intellidemand: squash faux governor
anarkia1976 - ak-mako-build: compile with 4.8.3-2014.02.20140217.CR83
Greg Kroah-Hartman - Linux 3.4.80
Greg Kroah-Hartman - Linux 3.4.79
Greg Kroah-Hartman - Linux 3.4.78
Greg Kroah-Hartman - Linux 3.4.77
Greg Kroah-Hartman - Linux 3.4.76
kecinzer - Linux 3.4.0 - 3.4.75
[Nexus 4 Original Android Development] ken_alpha24:
Looks promising to me <3
[Nexus 4 Original Android Development] Targaeryan:
Like duh, its ak! :angel: :p ;)
[Nexus 4 Original Android Development] Voltaine:
Thanks [MENTION=3685904]ak[/MENTION] for this huge update

Definitely the best battery life I've ever had with an ak kernel and the phone is blazingly fast with intellidemand

One question though:

Is there a way to disable touch boost with faux kernel app?
[Nexus 4 Original Android Development] ak:
No ... you can use initd or trickster or kcontrol.
[Nexus 4 Original Android Development] kokosk4:
[MENTION=3685904]ak[/MENTION] : What is the real difference in using the device between 3.4.0 and 4.3.80 kernel?

Thanks for your support and sorry for my English.
[Nexus 4 Original Android Development] ak:
there are a lot of fixes in various parts of kernel:

- ext4

- memory

- wireless

- ecc ecc
[Nexus 4 Original Android Development] xda_emanuel:
i still cant get rid of wifi issue. Look at this screenshot

The ping latency while deep sleep is terrible, thats why im getting delay on notifications.

.
[Nexus 4 Original Android Development] deani77:
https://www.dropbox.com/s/fqsb5vick5e7r3v/last_kmsg. txt

Had reboot while trying to make a call...
[Nexus 4 Original Android Development] ak:
Too undervolt man:

L1 / TLB Error detected on CPU 1!
[Nexus 4 Original Android Development] deani77:
Thanks...
[Nexus 4 Original Android Development] mammenj:
Any idea if this kernel will work with KVT49L (4.4.2_r2), latest from ASOP build?
[Nexus 4 Original Android Development] tuilalnvinh:
It works. I'm using 058-CM with Beanstalk KVT49L
[Nexus 4 Original Android Development] ak:
I want to live this here:

https://github.com/anarkia1976/AK-xGenesis/commits/ak-xGenesis-nightly
[Nexus 4 Original Android Development] gorilla p:
AK, based in the repository info, it looks like you're going to enable intelliplug. Will that be replacing mp-decision?
[Nexus 4 Original Android Development] Starsream88:
Hi [MENTION=3685904]ak[/MENTION] , did clean flash of my rom and flashed latest kernel now i just had reboot :

Rom : slimkat 3.0

Kernel : latest ak

Settings : intelliactive + UV all (-50) + all stock

Description : rebooted my phone manually, then i tried to activate wifi the first time after the phone booted, the phone rebooted and wifi was on !

Last kmsg : https://www.dropbox.com/s/mwbej5sfkcwvh2q/last_kmsg.txt

Hope i was clear to help kernel developpement :thumbup:
[Nexus 4 Original Android Development] chongns:
[MENTION=3685904]ak[/MENTION] a noob question, omni rom shall flash your cm base or aosp base kernel?
[Nexus 4 Original Android Development] xda_emanuel:
Omni rom is Aosp.
[Nexus 4 Original Android Development] ak:
No i want to maintain all + intelli.
[Nexus 4 Original Android Development] ak:
The problem is born with the last 3.0 slimrom only. i have saw the same error one time, now after a fresh clean all is ok.
[Nexus 4 Original Android Development] RealSlimShadyMC:
But how are you going to have 2 hotplugs running? Or are you going to use Aroma installer to allow you to select?
[Nexus 4 Original Android Development] ak:
No with trickster:

- disable mpd

- enable intelli

super simple ... :D
[Nexus 4 Original Android Development] Starsream88:
No i confirm this happen also on latest slimkat weekly build. And i didnt had this problem with other ak kernel version, it appears only on the last two versions (maybe new wifi prima driver ?)
[Nexus 4 Original Android Development] ak:
Prima drivers are inside from the begin ... I never changed it.
[Nexus 4 Original Android Development] Starsream88:
Ok thanks man :)
[Nexus 4 Original Android Development] xX NeOnShK Xx:
Bump :confused:
[Nexus 4 Original Android Development] ahepas:
Read,read,and search..
[Nexus 4 Original Android Development] xenyz:
Man, just post builds already, we want to test too! :)

I'm at 15 hrs uptime on 058 and no problems so far.

Oh and perhaps consider lowering the default boost to 540 MHz, I've found it's still more than enough.
[Nexus 4 Original Android Development] clockworkstop:
I can confirm this and it's definitely just as smooth. And saves battery. :)

Sent speedily from my scurrying Nexus 4
[Nexus 4 Original Android Development] xenyz:
Whoops, there's no 540 MHz step on this one. I'm trying out 486 MHz now.
[Nexus 4 Original Android Development] deepayanneogi:
@ak, same problem in Paranoid android, continuous

reboot
[Nexus 4 Original Android Development] FrozenLord:
Working nicely in Vanir.

I just dirty flashed 058 over 055...
[Nexus 4 Original Android Development] nodnarb91:
Umm how does one do this? Trickstermod perhaps:confused:
[Nexus 4 Original Android Development] xenyz:
In Trickster MOD:

Specific - MP-Decision Control - boost_freq_cpu[0-3] - 486000
[Nexus 4 Original Android Development] Rohit02:
HEre : http://xdaforums.com/nexus-4/development/guide-android-governors-explained-t2017715
[Nexus 4 Original Android Development] gorilla p:
:)

http://lmgtfy.com/?q=android+governors

---------- Post added at 09:27 PM ---------- Previous post was at 09:13 PM ----------

I'm really looking forward to this next release. With all these frequencies, governors and features, people can configure their kernel however they want it. Awesome work. Much appreciated.
[Nexus 4 Original Android Development] misterk267:
Hey ak, do you have a zip that will change the kernel's WiFi drivers to the ones other kernels use that don't have the WiFi bug? I love your kernel man, but that bug is still there and I need my WiFi. :(
[Nexus 4 Original Android Development] willybarca:
I upgraded to nexus5, there is so much kernels for n5 but non of them as good as ak kernel, you guyz are lucky
[Nexus 4 Original Android Development] ak:
Next release for you:

184a96238dfdd0fdefbba73794e503d710342aad Revert "ak_mako_defconfig: enable WLAN_11AC_HIGH and VOWIFI_11R"

bcb2c5613b2f812a81d1f51847d08bad1985d5d8 Revert "prima: add WAKE_UP_IDLE routine"

e459682750447a94043ea09f1550b74af5a35971 Revert "prima: release v3.2.3.185_caf"
[Nexus 4 Original Android Development] misterk267:
Awesome! I can't wait :D.
[Nexus 4 Original Android Development] FrozenLord:
Will there be a branch that continues with those Prima drivers?

I am not experiencing any problems at the moment and would like to keep them :)
[Nexus 4 Original Android Development] gorilla p:
With all the questions and people who initially have problems with the prima drivers, are they that much better than the standard WiFi drivers?
[Nexus 4 Original Android Development] FrozenLord:
KControl does provide a method as well ;)

It can be set via the "Set new boost frequencies" button in MPDECISION - Simple settings.

@AK:

I really like the Intellidemand governor.

My CPU is no longer jumping from minimum to maximum frequency.

For everybody that would like to get settings that work for this kernel, I'd like to share my settings.

(I use my phone mainly for browsing via Chrome, Tapatalk and Flipboard and there is the occasional phone call, music listening with Spotify and a whole lot of Whatsapp)

CPU: 81 - 1242

Governor: Intellidemand

GPU: 487,5 (untouched)

Intellidemand variables see screenshot (the 3 variables missing were left out because they use the normal value and another screenshot was simply not worth it for that ;))

Additionally, I've undervolted a bit to decrease temperature.

My CPU is binned as "fast" and uses these settings (SetCPU):

Please note that I have undervolted the frequencies up to 1620 but do not use those at the moment.

The voltage for those was stable for me.

(But my use case is happy with much less frequency and therefore quite a bit more battery time)
[Nexus 4 Original Android Development] xda_emanuel:
Prima drivers are certainly better, they are updated by qualcoom, most recently than google with alot fixes on wlan interface.

reference : https://www.codeaurora.org/cgit/external/wlan/prima/log/
[Nexus 4 Original Android Development] gorilla p:
Thanks for the info.
[Nexus 4 Original Android Development] Targaeryan:
You might like this ;)

http://xdaforums.com/showthread.php?t=2653759
[Nexus 4 Original Android Development] xX NeOnShK Xx:
My question was about the variables in governor control. Not the governors themselves. I have read about the governors. Thanks anyways.
[Nexus 4 Original Android Development] loukvlav:
[MENTION=3685904]ak[/MENTION] I am getting a lot of the following lines in logcat:

02-19 11:09:16.752 21577-21577/? I/rmt_storage﹕ Target is APQ8064: -1224954442

02-19 11:09:16.752 21577-21577/? I/rmt_storage﹕ Unable to open /dev/mem

I googled it and read that is just logcat spam, nothing really important. Not sure if it is kernel related either. I wasn't getting it before so I am just reporting it for you to check it if you have the time.

Thanks!
[Nexus 4 Original Android Development] ak:
I have disabled kernel support for security reason:

https://www.codeaurora.org/cgit/qui...6&id=51c5fcfb4b04995855005da6e65088847bcbc3ec
[Nexus 4 Original Android Development] ak:
OLD PRIMA WIFI KERNEL

Nb:

dirty flash rom before kernel for fix wifi drivers!

Download:

View attachment AK.061.XGENESIS.MAKO.zip

Test kernel with old prima drives plus:

- linaro power efficent workqueu

- 4 core stats

- intelliplug

- krait opt

- crypto opt

- neon support

- ecc ecc
[Nexus 4 Original Android Development] Targaeryan:
Nice! Just installed a new rom too. Thanks!

Edit: will you release one with new prima drivers?