yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] spaazm:
Running latest 050 for a while. Everything's stable and smooth so far. I keep it on default settings except for downclocking to 1.5 ghz. No troubles whatsoever.

Thank you! :thumbup:

• OMNI 4.4.2 KOT49H NIGHTLY • AK 050 XGENESIS •
[Nexus 4 Original Android Development] karthi89:
[MENTION=3685904]ak[/MENTION] mpdecision settings(unplug, hotplug, speed) not sticking after reboot. Using kcontrol.. Also with 2 cores Max min, second core got stuck at Max freq.
[Nexus 4 Original Android Development] XsceneXhippieX:
in my experience using older hardware super low clocks can cause BSOD's, the fact that that isnt happening here sounds too good to be true at this point, im excited to test the new version out today :D think of the battery savings to come! also i had some terrible wakelocks on that mokee rom for some reason, hopefully my recent rom switch combined with this new super low step will increase my battery life noticeably, thanks again ak!
[Nexus 4 Original Android Development] willybarca:
are you planning to get nexus 5 anytime ak?
[Nexus 4 Original Android Development] SweetPant:
Does the kernel improve wifi reception? I think I got a better wifi signal.
[Nexus 4 Original Android Development] ak:
,,, ,,, mmm i have a temptation .... depend on this thread and fun related to n4 kernel!

yes
[Nexus 4 Original Android Development] tuilalnvinh:
Can't believe the phone could be stable with min 81mhz. Thanks AK, i just flashed the CM version. I will test battery drain this night :D
[Nexus 4 Original Android Development] Targaeryan:
Planning on implementing other hotplug solutions?

Btw, my CPU doesn't hit 162 or 81, mostly 270 according to BBS, hit 81 only for a few seconds actually..…... Any advice on it?
[Nexus 4 Original Android Development] ak:
You can try to disable boost from mpd ... and set min to 81mhz! :angel:
[Nexus 4 Original Android Development] Blackcrx:
Set your min freq to 81?
[Nexus 4 Original Android Development] FrozenLord:
I am going out on a limb here and would say that one (or several) of your apps is to blame.

My phone does hit 81MHz but there is an alarming amount of my maximum frequency as well - with almost nothing in between -.-

It's as if my phone would jump from 81 to 1620 and then straight back - no ramping up or something like that.

Has anyone seen similar behavior?

My phone has been doing this since I've started noticing, which was around the time of the first WiFi crashes/freezes, or quite some time ago.

It has stayed across kernel updates as well...

I assume most users do not have that problem, so it might in fact be one of my apps.

Does anyone have any suggestions as to what program would be best to monitor CPU utilization by app (or any similar method to identify the culprit)?

Thank you very much in advance!
[Nexus 4 Original Android Development] Blackcrx:
Ironically I actual always disable MPD aka make poor decisions. Haha.

Any particular reason you still keep it in the kernel since a lot of other developers have opted to remove it completely
[Nexus 4 Original Android Development] ak:
This isnt default mpd ... its the hacked version from bricked kernel. :highfive:
[Nexus 4 Original Android Development] xda_emanuel:
Thats an awesome kernel, first time im using it over omirom i can say thats really awesome, smooth like a butter, battery friendly, wifi signal seems more strong. Anyway i cant get rid of the delay notification bug -.- . Prima drivers seems to not help alot, still the same, pending notification till i turn on the phone, or almost 1-2 min delayed, except for sms. If someone know how to fix this issue tell me, i will really appreciate your help.
[Nexus 4 Original Android Development] Targaeryan:
:D I went total noob for a second there. Forgot about the boost option there :p
[Nexus 4 Original Android Development] Blackcrx:
Anyone having mp decision issues? I disabled it but trickster info log shows its still spiking to 918 or sitting at 918 even tho min is set to 270
[Nexus 4 Original Android Development] Targaeryan:
Did you turn off boost?
[Nexus 4 Original Android Development] Blackcrx:
Yup. Turned off everything.
[Nexus 4 Original Android Development] Targaeryan:
Mine goes down. I switched off boost but mpdecision still running. Try not touching the screen and see if it scales down..
[Nexus 4 Original Android Development] TheNerd:]:
I got ripped with a 7 and a half hour wakelock today.... And my phone didn't deep sleep at all..... It idled at 918/1026 MHz.... Stock settings.... Wakelock detector said android system, phone, and Google play services did it
[Nexus 4 Original Android Development] Swords.Grizzlebee:
I set the low frequency to 81mhz using FauxClock, and it is reaching and using that frequency with no problems. Didn't turn off boost. Thanks so much for the update!
[Nexus 4 Original Android Development] hooliganx:
@ak

you're a baaaaaad guy! :D

when I think in don't change nothing in my device for a while...

BUUMMM! AK-50XG!

flashing right now.

thanks a lot!

ps: thinking in buy N5...

have best combination now ...

slim + you! and hells.... (I know you can't resist!) ;)

N4*SlimKat.b2.4*hells.44.t2*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] hellsgod:
Yes, the N5 is a beast... :D I couldn't resist :) Its a worth upgrade in my opinion.

hells

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 4 Original Android Development] Blackcrx:
Get outta here you poacher. Haha.
[Nexus 4 Original Android Development] hooliganx:
where's your thread of Hells-N5? :D

N4*SlimKat.b2.4*AK-50XG*ART*TWRP.2.6.3.0-multi*0.98

---------- Post added at 02:53 AM ---------- Previous post was at 02:50 AM ----------

easy man! ;)

if we help [MENTION=3685904]ak[/MENTION] , maybe don't sell N4, but stay with all Nexus in your domain! :D

N4*SlimKat.b2.4*AK-50XG*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] Connor Baker:
@ak

Thank you so much for another release! I'm looking forward to testing out those low idle states :)

Connor Baker
[Nexus 4 Original Android Development] ak:
Supercool:

http://xdaforums.com/show....php?t=2637782

by @itasoulas
[Nexus 4 Original Android Development] ahepas:
Good morning... Thanks for the new fantastic kernel mate! Nice job!!! Testing it since yesterday and I am amazed... Running smoothly on slimkat (rc 2). Cheer﻿s!
[Nexus 4 Original Android Development] ak:
Thanks also to all developers that they working every day for enhancing this fantastic world = android!

AK&4&7
[Nexus 4 Original Android Development] hozjacz:
Hi, I have (for most of you) very stupid question, but....

I asked here a few days ago, how can I turn on S2W/DT2W without TricksterMod (I had trouble on lockscreen after reboot). You are advised me, that how use userinit.sh (on CM ROM put in ../data/local/ ) and everything works fine. Thanks.

And now to my question: on first page is lot of settings, and allways is written "via sysfs". What is this? I guess, that is creating or modifying of some text files, but I don't know which files? Which permission may I setup. Is somewhere more informations for newbie?

Thx
[Nexus 4 Original Android Development] ak:
You can go to my git and pickup script example, than cp and paste line from 2nd post for enable\disable features, put script into init.d folder, set chmod 755 and enjoy. ?

AK&4&7
[Nexus 4 Original Android Development] hozjacz:
And "init.d" folder is same for user script in AOSP and CM too?

I don't want set up permission via terminal. For me is comfortable setup it in Root Explorer. What is chmod 755? Is the same as userinit.sh? I use this settings:

and it works fine for me. Is this settings (on picture) chmod755 or different?
[Nexus 4 Original Android Development] ak:
Yes for all questions
[Nexus 4 Original Android Development] hozjacz:
Thank you for your quick answers. I will go test it... :cool:
[Nexus 4 Original Android Development] FrozenLord:
@AK:

Are there any plans to include a different governor again?

(like Intellidemand or ElementalX)

I would love to use one of these with your kernel :)
[Nexus 4 Original Android Development] fr3quency:
Hellloooo! First things first, its an amazing kernel! Secondly, I searched this thread for Smartmax governor(wanted just to give it a try) and I found some results but the governor isn't anywhere to be found.
[Nexus 4 Original Android Development] Targaeryan:
Its not included. Possibly later on if ak feels like it.
[Nexus 4 Original Android Development] pixiebob:
i think it is not recommended to use 81mhz min freq because it cannot stay stable at this minimum , jumping nonstop to max freq.

if i set min freq to 384 it remain stable, so it consume less battery to set min at 384 than 81 ;)
[Nexus 4 Original Android Development] kalpik:
[MENTION=3685904]ak[/MENTION] any chance you could include Semahore's double tap to wake? His implementation is flawless!
[Nexus 4 Original Android Development] Targaeryan:
Works well for me.
[Nexus 4 Original Android Development] pixiebob:
i use app OS MONITOR to see my freq in real time, maybe you can try
[Nexus 4 Original Android Development] Targaeryan:
I used system monitor lite and trickster to see the CPU freq and scaling. Its working well too.

Edit: it maintains well at 81, jumps to 162 or 384. And during activity, scales to 1026 and 1.6ghz when required..
[Nexus 4 Original Android Development] ak:
no

its stable for me.
[Nexus 4 Original Android Development] Targaeryan:
Try interactive governor. It should scale better, see how it does with scaling.
[Nexus 4 Original Android Development] pixiebob:
i use ondemand, only one core, mpd stop.

i'm trying interactive but it's always not stable.
[Nexus 4 Original Android Development] hooliganx:
how you stop mpd?

I don't see option in kcontrol. now using fauxclock and don't see too

N4*SlimKat.b2.4*AK-50XG*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] Targaeryan:
Trickster mod. If I'm not mistaken kcontrol does have the option though I don't use it. I remember ak using it though.

Edit: it's not stock mpd as ak mentioned. It's a hacked version from bricked kernel.
[Nexus 4 Original Android Development] ak:
I do not understand what is your problem, mpd isn't present into kernel.

Interactive and Ondemand are stable.

If you have problem post log from kernel please.
[Nexus 4 Original Android Development] Targaeryan:
I'm using 4 max 2 min with 1 core on screen off.

---------- Post added at 07:28 PM ---------- Previous post was at 07:25 PM ----------

If I'm not mistaken he is saying that the CPU keeps scaling from 81 to 1.6 GHz on and off without stabilizing at 81 while when he changes to 384 it maintains 384.
[Nexus 4 Original Android Development] pixiebob:
no there is no problem , your kernel is my favorite. sorry for mpd i always stop this(in my script) even if it's not present kernel :cyclops:

here two screenshot, first with freq min 81 while 10s doing nothing screen on

second with freq min 384 while 10s doing nothing screen on:
[Nexus 4 Original Android Development] pixiebob:
thanks targaryen that's exactly what i'm saying
[Nexus 4 Original Android Development] ak:
This is normal ... 81mhz is too low ... and if you have a high cpu process the governor jump to up freq.

You can try to play with governor/mpd for stabilize.
[Nexus 4 Original Android Development] Joe4899:
V50 working fine so far have just a question earlier kernel versions (AK not genesis) has also updated minor kernel version (.75 as far as I remember) why you dropped this in genesis? :eek:

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] misterk267:
AK, it would seem that the WiFi bug is still present on 050, but now even rebooting will not fix the problem. I'll get logs when I can.
[Nexus 4 Original Android Development] hozjacz:
Hi guys, I have one more newbie questions: this kernel is CAF. Right? (it's in title)

But what is CAF? I can find it on google, but me interests, what it means to me?

CM11 need CAF kernel?

Which other ROMs for N4 are "CAF" too? Which not?

How can I check, if the ROM (without look into title) need CAF kernel?

I hope, that you understand me...

Odesláno z telefonu N4 pomocí TT
[Nexus 4 Original Android Development] ak:
Very strange because never is changed from WiFi side
[Nexus 4 Original Android Development] misterk267:
It does seem to have changed a bit. Used to be it would happen when you tried to go out of range, now it just happens randomly. :(
[Nexus 4 Original Android Development] Targaeryan:
Caf is code aurora forums, you can Google that, patched kernels.

Cm11 has caf patches so they need caf kernels. There's also a zip in android Dev section which enables you to use normal aosp kernels in cm11 Roms. Aks kernel has 2 versions, one for aosp and one for cm11.

Edit: not toolchain but more of different patches.
[Nexus 4 Original Android Development] SweetPant:
Is it normal to that 270MHz is the lowest frequency?
[Nexus 4 Original Android Development] ak:
no . go to recovery clear cache and dalvik.
[Nexus 4 Original Android Development] xda_emanuel:
Same for me, low frequency is 270MHz, i also wiped davilk and cache according to ak's post. Same thing
[Nexus 4 Original Android Development] SweetPant:
just cleared cache and dalvik cache. the lowest freq is still 270MHz. :(
[Nexus 4 Original Android Development] Targaeryan:
In trickster, disable boost in mpdecisions section then set 81 as min freq. It works then :) aks advice!
[Nexus 4 Original Android Development] xda_emanuel:
Thanks it works !
[Nexus 4 Original Android Development] SweetPant:
Do you mean this for mpdecision boost?

But where can I set min freq?
[Nexus 4 Original Android Development] dimpoblimpo:
Finally switched over from ak42. Seems just as stable but what I'm really loving is the boosted wifi reception. Been renting a house and our router is a peice of crap shoved in the basement and unless I was down there beside it I was lucky to stay connected. I now get 3-4 bars anywhere in the house. Thanks a ton AK.
[Nexus 4 Original Android Development] Targaeryan:
Yes that's the boost. Min freq is in the third page of trickster.. Where you can choose the scheduler, CPU governor etc. Set min to 81
[Nexus 4 Original Android Development] ak:
270 is default min kernel.

The same for me ... wifi boost.
[Nexus 4 Original Android Development] SweetPant:
Hmm I'm a bit confused. You said it is not normal for 270MHz but now you say 270 is the default min.
[Nexus 4 Original Android Development] ak:
What? 270 is the default.
[Nexus 4 Original Android Development] Blackcrx:
270 is the default min if you just flash the kernel. You have to use trickster or some other app if you want to lower it to 162 or 81
[Nexus 4 Original Android Development] Dark Fear:
i've one annoying problem with your kernel :(

when i turn the screen on, i've somehow flicker.. brightness will increase for less than .5 sec.. (i don't know how to describe it..)

but this problem is only with your kernel..
[Nexus 4 Original Android Development] ak:
This is related to your rom ... Or app for brightness adjusting ... Because from this point of view nothing is hacked.

AK&4&7
[Nexus 4 Original Android Development] :
ak, just spreading the word, if you're interested, this guy does a mean toolchain: http://xdaforums.com/showthread.php?p=50107146
[Nexus 4 Original Android Development] ak:
Thanks man! :D
[Nexus 4 Original Android Development] hooliganx:
after a day in use...

great kernel! no problems, good speed and fluid.

again... 5h SOT. like I have with 042.

Im using this settings:

81 - 1.200 interactive

325 gpu ondemand

i/o cfq 1024

s2w

vibration 45

can I use another settings for better battery?

with same use (inside my company, wifi, calls...) have more than 6h SOT with... other

I noticed that same SOT (3h) until 50%, but after this to 1%, battery drain a little more.

not complaining, just a comment.

I use mako for work, and battery make different in the end of the day.

admire your work and hope you don't see this a bad comment. :D :thumbup:

N4*SlimKat.b2.4*AK-50XG*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] ak:
Your feedback is always great ... :thumbup:
[Nexus 4 Original Android Development] jimyiak:
I m using this kernel with slim rc2 from yesterday..50% battery and i have 2.40 sot..deadline,ondemand,freq 81-1.35,undervolted about 50mv....everything fast and stable,good wifi..but i noticed that this super low frequence doesn't affect the battery life as much as i expected..its the same as 384..so maybe you should focus to smothing else to increse battery life!thanks for your job and your efforts anyway..keep calm and make kernels!!!

neXus⁴ running kitkat 4.4.2
[Nexus 4 Original Android Development] xda_emanuel:
hey ak, im seeing here https://www.codeaurora.org/cgit/external/wlan/prima/log/ there are some changes in prima drivers, also an arp offload fix 4 days ago https://www.codeaurora.org/cgit/ext.../?id=5933f40757f8f5e92f0ccad4c3f473e6a27e7a5f . Can you include these changes? thanks
[Nexus 4 Original Android Development] ak:
I have implemented new drivers for testing - Wlan: Revision 3.2.3.232 - but i have see crash ... seems too new related to roms code.
[Nexus 4 Original Android Development] JeanEatsWorld:
Can I ask you how would you set your kernel for squeeze some battery? I left everything stock but I set interactive for the cpu and I deactivated boost in mp decision section in trickster (to put 81mhz as min freq) Other than that everything stock (scheduler,voltage..)
[Nexus 4 Original Android Development] JeanEatsWorld:
Can't see anything ?
[Nexus 4 Original Android Development] poondog:
I see a square :)
[Nexus 4 Original Android Development] ahepas:
I see ChaOs...:p
[Nexus 4 Original Android Development] ak:
New prima are online with a lot of fixes. ?

AK&4&7
[Nexus 4 Original Android Development] Rod3:
Are the new Prima drivers baked into Exp 050, or is there / or will there be a newer version?
[Nexus 4 Original Android Development] ak:
V050 have prima v185+ .... The new kk branch from qcom have merged a lot of fixes.

AK&4&7
[Nexus 4 Original Android Development] spaazm:
It's all placebo. You might just as well keep it default. ;)

You could make it worse after all...

I personally do only things I am definitely sure of with the kernel and that requires knowledge you can only learn by trials.

I fail till today my friend. :)

• OMNI 4.4.2 KOT49H NIGHTLY • AK 050 XGENESIS •
[Nexus 4 Original Android Development] JeanEatsWorld:
I'm not super sure yet but it I set 81mhz my baby doesn't deep sleep.. I'll give a closer look tomorrow though..
[Nexus 4 Original Android Development] poondog:
I am all for defaultl too. But, things like mpdec boost technically will drain battery a bit, because on input the device will boost whatever cores are online. I would keep boost.. its there for a reason, I remember showp1984 saying that his boost was his "project butter" because of the smoothness it adds, especially on lower end devices. By default, N4 has input boost via its powerHAL etc to boost it to a certain point (1026MHz iirc) and this boosts to 918/918/702/594 depending on how many cores are online. So theoretically this should save battery compared to stock as well as provide a smooth experience. Also, input boost time is configurable.

This is why I don't see why people are disabling boost just to ensure that their min freq displays what they set. Unless theres the bug with it staying boosted, which I have experienced by playing around with settings..

thx
[Nexus 4 Original Android Development] spaazm:
Don't mind my signature. I've switched to CM recently. :)
[Nexus 4 Original Android Development] Blackcrx:
What governor and settings are you running? Those CPU usages look pretty evenly spread out throughout all frequencies
[Nexus 4 Original Android Development] snak3ater:
You can also have it like that using interactive governor
[Nexus 4 Original Android Development] Bonjo12:
Brilliant kernel, I just got it but seems pretty smooth right now..... And the 81 MHz step should help save a lot of battery in idle/deep sleep right?

Sent from my toaster using Gingerbread
[Nexus 4 Original Android Development] poondog:
Not so much deep sleep but when the device is idle.. eg screen on but doing nothing
[Nexus 4 Original Android Development] Bonjo12:
Hmm ok, but what exactly does deep sleep mean? I thought during deep sleep the CPU settles at the lowest frequency?.... or is there more to it?

Sent from my toaster using Gingerbread
[Nexus 4 Original Android Development] Connor Baker:
I frankly think this post is great for explaining C states: https://plus.google.com/+PaulReioux/posts/9R8fjQdHDXD

Here's a sort of example:

You laying on the couch watching TV would be idle (CPU at lowest state with screen on, device is active).

You laying down on the couch with the TV off, but maybe the radio is playing smooth jazz (CPU at lowest state with screen off for a short time, C1 state).

You laying down on the couch with the TV off, radio muted, and nearly asleep (CPU at lowest state with the device reaching a deeper sleep state, C2 state).

You laying down on the couch with the TV off, radio muted, and completely passed out (This would be an example of C3 state).

Yes, I know it would be more accurate to related the C states to the stages of sleep, but I really don't feel like getting out my psychology notes.

Connor Baker
[Nexus 4 Original Android Development] Bonjo12:
Yeah I get it now, thanks :)

Sent from my toaster using Gingerbread

---------- Post added at 10:29 AM ---------- Previous post was at 10:27 AM ----------

Will enabling s2w prevent the phone from going into a deeper sleep?

Sent from my toaster using Gingerbread
[Nexus 4 Original Android Development] xda_emanuel:
Omg thanks mate, i cant waiting. If you need a tester count me :) thanks alot
[Nexus 4 Original Android Development] JeanEatsWorld:
Nope..

That 's during the night..

My baby doesn t Deep sleep very much
[Nexus 4 Original Android Development] hooliganx:
a comment about...

http://xdaforums.com/showthread.php?p=50119459

N4*SlimKat.2.4*Hells.44.t2*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] spaazm:
Seems like a nasty wakelock to me.

A mixture of ondemand and interactive. I was playing around with them. The rest is stock.
[Nexus 4 Original Android Development] ak:
The battery is related to governor … I want performance with a little less battery ... This is the first goal ...

You can play with interactive. ?

AK&4&7
[Nexus 4 Original Android Development] Bonjo12:
Could you give us separate settings for good performance, and battery life to use on your kernel? That would be cool :)

Sent from my toaster using Gingerbread
[Nexus 4 Original Android Development] Tak3r07:
Nice, eagerly waiting for that release to test whether it fixes my wifi bugs so I can come back to ak Kernel again..

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] hooliganx:
ok! ;)

I see those things in your kernel.

nothing to complain! you're great!

your work is awesome!

only comment for people who care about SOT.

for me make difference for use in my company.

if I could join all I want in 1 kernel, will be great.

but each one have a different way to do things.

and this is good.

all I can do is... test and use and comment... and, course, thankfully stay here and enjoy all good things that you guys bring for this threads.

thanks ak!

I always change kernel, and always come back to your and hellsgod work.

because I see, that you guys, make difference here.

big hug! :cool:

N4*SlimKat.2.4*Hells.44.t2*ART*TWRP.2.6.3.0-multi*0.98
[Nexus 4 Original Android Development] rskyline:
Why there is 3 different AK kernels? O.o
[Nexus 4 Original Android Development] JeanEatsWorld:
There we go.

Random reboot while I was listening some good music.

This is the log.. It's the first time I deal with dropbox and logs..

https://www.dropbox.com/s/bvis65k79rnnbqy/2014-02-08_17.29-reboot.zip

Edit: pretty much stock settings, 81-1350 interactive
[Nexus 4 Original Android Development] hooliganx:
1. AOSP/AOKP version

2. CM version

3. Flo (tablet) version
[Nexus 4 Original Android Development] rskyline:
Why making 3 post about it?

Enviado desde mi Nexus 4 mediante Tapatalk