yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] chewu.pg:
Nice, new intelliplug .....didnt see that coming though,soo awsome, i think google should finally employ ak, as their one and only kernel dev with hot chicks to cool him and bring juice on boiling summer days ahaha :D
[Nexus 4 Original Android Development] fr3quency:
[MENTION=3685904]ak[/MENTION] ok there are people who are trolling, but the most important question is.. if the kernel is ready, why don't you paste the link to download it? :P What do WE have to do with those who are trolling?

Don't punish us and paste the link. :P
[Nexus 4 Original Android Development] Italico:
Your kernel is super, AK, keep on the good work and do not care about someone who is not respectful at all!

A question, demanded by curiosity: I've understand that you put the new intelliplug from Faux in the upcoming kernel; may I ask you why you do not consider the intellidemand governor? Personally, I am fine with ondemand, but I remember Hells kernel implement it and in the past, using his kernel, I had a nice balance between battery and performance.

Just asking, because your kernel is incredibly fast while saving a bit of power (!) and - maybe most of all - customizable to the bones.
[Nexus 4 Original Android Development] Mademos:
I've read somewhere (no clue.where - sorry) that some schedulers don't play well together with some governors. While I've found plenty of reference materials on governors and schedulers (well, most of them anyway), I couldn't find anything for the interactions between them. Can anyone direct me to any resources in regards to that?

Sent from my Nexus 4
[Nexus 4 Original Android Development] poondog:
In my opinion they are completely different. Yes some are for performance and some battery, like governors but you won't notice negative effects with any certain combinations. They are completely different parts of the kernel, even though they are in theory connected

Some governors and schedulers are crap on our devices in general
[Nexus 4 Original Android Development] The Tox:
Bonjour [MENTION=3685904]ak[/MENTION] :D , is there any way to auto-disable touch2wake during calls , my phone screen doesn't go off because i touche the screen with ear ?

sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
the only solution is to use semaphore manager and enable sai support.
[Nexus 4 Original Android Development] The Tox:
Thank you , i'll try and report

Can't you make synapse support that ?

sent from my Nexus 4
[Nexus 4 Original Android Development] Gallardo994:
Stratosk (if I spelled his name correctly) made a new edition of ondemand with smoothness and battery changes. That's why it's preferred, I think.
[Nexus 4 Original Android Development] ak:
Synapse can't start services.
[Nexus 4 Original Android Development] Rembi:
Actually, now instead of 3.5 hours on the screen, I have a 4.5 h. Thanks

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] Targaeryan:
Where's my new version?!?! Hehehehe :angel: :p
[Nexus 4 Original Android Development] ak:
cm or aosp?
[Nexus 4 Original Android Development] Rembi:
Aosp ;D

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] Rembi:
Tested ;D

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] ijayesh:
Do I need to again clean install if I want to update my kernel ??? Silly question.. But your kernel rocks ;)
[Nexus 4 Original Android Development] Rembi:
AK, Which hotplug you recommend?

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] ak:
Default
[Nexus 4 Original Android Development] poondog:
Msm hotplug with 2 cores min :) perfecto
[Nexus 4 Original Android Development] Targaeryan:
Hahahah aosp pleaseee

---------- Post added at 12:33 AM ---------- Previous post was at 12:32 AM ----------

You have a ROM.? :eek:

---------- Post added at 12:34 AM ---------- Previous post was at 12:33 AM ----------

Just dirty flash it. Shouldn't cause any issues.
[Nexus 4 Original Android Development] GruZone:
Do we need wipe dalvik and cache if upgrading kernel version (ak to ak)
[Nexus 4 Original Android Development] poondog:
No need :)
[Nexus 4 Original Android Development] xenyz:
Have you tested faux's hotplug yet? It looks interesting, thanks for including it. ak kernel has it all now. :)

For those interested, here's the change log for bfq v7r5:

. IMPROVEMENT: Improve throughput boosting by idling the device only for processes that, in addition to perform sequential I/O, are I/O-bound (apart from weight-raised queues, for which idling is always performed to guarantee them a low latency).
. IMPROVEMENT: Improve throughput boosting by depriving processes that cooperate often of weight-raising.
. CODE IMPROVEMENT: Pass of improvement of the readability of both comments and actual code.

Looks like they're on the way to be replacing cfq in mainline Linux kernel, way to go Italian devs :) :)
[Nexus 4 Original Android Development] Targaeryan:
I'm using intelliplug now :D smooth on ART. Have to test out battery life :)
[Nexus 4 Original Android Development] Pollie81:
about the new intelliplug, i can activate it while the "old" one is still active so both are operating.'

is that normal?
[Nexus 4 Original Android Development] ak:
You can ... You don't have both enabled.

ak@n4
[Nexus 4 Original Android Development] Utkarsh-ezzo:
great going buddy￼￼￼

I am silently flashing the builds, all are rocking as always....

Thank you so so much..
[Nexus 4 Original Android Development] ak:
Have Anyone flashed kernel on Android L preview?

ak@n4
[Nexus 4 Original Android Development] xenyz:
Is there a compiled Android L dev preview for N4??
[Nexus 4 Original Android Development] Utkarsh-ezzo:
we have it for mako?!??[emoji32]
[Nexus 4 Original Android Development] ak:
There is the source ... Ops I don't know if someone have compiled it.

ak@n4
[Nexus 4 Original Android Development] xenyz:
Haha that seems like a bad idea, you'll have two modules fighting for hotplug control!
[Nexus 4 Original Android Development] ktomov:
Just charged my Mako to make a full battery cycle with the new hotplug. I must say that the scores from antutu are impressive. Running it almost stock with -75 undervolt on all, min cpu 270 mhz, ondemand, conservative profile, hysteresis value 7 and cpu off on 384. Will report tomorrow with the results.

One more time. Thanks [MENTION=3685904]ak[/MENTION] for your amazing work!
[Nexus 4 Original Android Development] fr3quency:
Its partially source code. We don't have all the needed files to make a ROM.

Sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
Mmm so I can't test merged stuff from L kernel for flo preview.

ak@n4
[Nexus 4 Original Android Development] ktomov:
Is there complete dev preview for flo? Mako's released sources are incomplete and according to google they are just updates to some GPL projects, that's why there is no Mako rom compiled already.
[Nexus 4 Original Android Development] Kaotiko77:
All works very fine here

Sent from my kaotik nexus⁴ powered by C-ROMv7.1, 0-DAY Stock PAGapps, AK Poseidon v328 & UKM 2.7
[Nexus 4 Original Android Development] poondog:
What's been released for mako? Is there enough for a patchwork job to support mako using flo rom?
[Nexus 4 Original Android Development] gorilla p:
[emoji92]Updates on bit.ly/makostuff￼

Added AK 328 Kernel[emoji320]

Synapse Profiles[emoji403]

AK 328 Battery profile [emoji367]

AK 328 Balanced profile [emoji352]

AK 328 Performance profile [emoji298]

---------- Post added at 09:54 PM ---------- Previous post was at 09:52 PM ----------

Hey [MENTION=3685904]ak[/MENTION] do you have any input regarding the effect that adjusting the hotplug Hysteresis and Threshold values has?
[Nexus 4 Original Android Development] Targaeryan:
http://xdaforums.com/showthread.php?t=2780976

This is the thread if you're interested.
[Nexus 4 Original Android Development] poondog:
I don't have a mako, just a suggestion. I'm just in this thread because I have a flo and ak flo thread is boring :P
[Nexus 4 Original Android Development] Targaeryan:
Yeah I know! My brother uses your kernel in his m7 :D thought you can help the devs if you aren't too busy :p
[Nexus 4 Original Android Development] poondog:
Rly? Who is your brother haha nice
[Nexus 4 Original Android Development] Targaeryan:
He doesn't post on xda much :)
[Nexus 4 Original Android Development] poondog:
Okay fair enough

I haven't been in this thread since the start, what are the general opinions about kernel C states?
[Nexus 4 Original Android Development] Targaeryan:
So far I've been trying enabling C0, C2 and C3. It sleeps well. But for the past few days my notifications haven't been coming.. Not sure if its my WiFi or the the C2 state which is disabled by default in the kernel as far as I can remember.. Otherwise its pretty good. Is this what you wanted to know or am I way off? :angel: :)
[Nexus 4 Original Android Development] poondog:
You're in the money. On flo ak kernel the settings are stock for pm and enabling on flo made little difference. I'm testing it on my one that's why I ask
[Nexus 4 Original Android Development] Targaeryan:
Nice! :) I'm also using Intelliplug for now and its working really well with art. I thought the s600 had better sleep states than the s4 pro?
[Nexus 4 Original Android Development] poondog:
Seems very similar to me. It got the same enabled on stock compared to the stock mako kernel
[Nexus 4 Original Android Development] Illumiii:
The intelliplug is pretty awesome, its so smooth, testing out the battery life, will report back after a full cycle.
[Nexus 4 Original Android Development] ak:
What governor do you use? default settings for intelli?

thanks

ak
[Nexus 4 Original Android Development] gemj95:
I remember old version of AK having IntelliActive and Intellidemand, anyone know why they were removed :o?
[Nexus 4 Original Android Development] poondog:
On-demand is superior :)
[Nexus 4 Original Android Development] iRefleX202:
Is it ok if I set the min frequency to 162mhz?
[Nexus 4 Original Android Development] Targaeryan:
Yes. You can set out to 81 also if you want :)
[Nexus 4 Original Android Development] trane116:
Mine is at 81Mhz :D
[Nexus 4 Original Android Development] shylittlezerg:
I'm using on demand governor now what io scheduler should I use for battery ?
[Nexus 4 Original Android Development] un.droid:
i was always tempted to use the lowest frequencies but felt like beneath 384mhz the phone wasnt as responsive. did anyone else feel so?
[Nexus 4 Original Android Development] Rembi:
For me, everything always worked, and at 81 for a 384 with the fact that I had 81mhz stable at 700mV, and 384 at 675mv, so ... Try to change the C-states on C0 and C2. @ Up x2, I have the I / O tripdroid, which is very fast and the battery lasts very well, the battery life was recommended BFQ / CFQ. If someone tests Hotplug Faux, let him write what are the differences.

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] poondog:
If the phone is boosting as it should then the response should be the same, as when you need the cpu it will boost
[Nexus 4 Original Android Development] un.droid:
thanks for the reply. i totally understand the logic behind ondemend governor, but i just tried it again. at 384 there's not even the slightest delay when i press the "recent apps" button, but when i lower the lower freq to 81mhz it feels like there's a delay of half a second.
[Nexus 4 Original Android Development] poondog:
it still has to boost. It doesn't take long but maybe thats the delay you're seeing, since to get to that higher step it takes longer. Plus, mako, the msm_hotplug driver and the ondemand governor are designed to take 384 as min
[Nexus 4 Original Android Development] trane116:
c-states

Will enabling c0,c2 and c3 have a better effect on battery? Currently have c0 and c3 enabled and had about 12h with 3h SOT,no compromise in performance :)
[Nexus 4 Original Android Development] ktomov:
So, as I promised yesterday, here are the results with intelliplug. There were small corrections on the default setup as follows:

CPU - 270/1512

Hysteresis - 7

Threshold - 702

CPU max off - 384

Undervolt on all - -75

Bundi's gamma

C-states on - c0, c2, c3

I/O - tripndroid

Everything is syncing, location services on (wifi and mobile network).

The results: 44% left battery with 3 hours display time (most of it spent on chat on viber, some small games and browsing) on wifi.

Antutu benchmark: 20900

So, I can't even think what magic [MENTION=3685904]ak[/MENTION] did on this kernel. Fast, stable and battery friendly. Pure awesomeness!
[Nexus 4 Original Android Development] Rembi:
What CPU governors?

Touch Boost on ?

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] ak:
thanks a lot

i think its time to add a new section into op with user profiles ... :D
[Nexus 4 Original Android Development] ktomov:
Everything that is not written is not changed. But in order of simplicity: Cpu - ondemand, touchboost - on.

Well it's a nice idea, but it's hard to maintain, mostly because there are no 2 equal devices. I may be using 50 apps, 10 of which should sync, but when (most of my apps are synchronizing one time on every 24 hours) may be the difference, so if some settings works for someone, it doesn't mean that they will work for the rest. Everyone are free to experiment and the user profiles should be used mostly for orientation, but not as "use this settings and you'll get 5 hours of SOT".

Cheers. And thanks once again for your hard work. Truly appreciated! :beer:
[Nexus 4 Original Android Development] trane116:
so is it time to make v328 as stable release now?all your kernels are stable,though :D
[Nexus 4 Original Android Development] gorilla p:
Max screen off should be around 702. Below that most people get lag while getting a phone call, music playback turning on screen, etc.
[Nexus 4 Original Android Development] nadavar:
Giving your setting a try. Seems good so far.

Just one question, why do you enable c2, do you miss notifications without it?
[Nexus 4 Original Android Development] ktomov:
I know, but I don't experience such problems. That's why I said in the post above, that there are no 2 equal devices. No lag whatsoever.

I'm not sure if it was because of it, but with only activated c0 and c3, I haven't received a single message from FB mess. Turning c2 and voalla they are back again. But once again, I'm not truly sure if it was because the c states.
[Nexus 4 Original Android Development] bart.found:
These are my results with Slimkat 4.4.4, AK Poseidon v.324

CPU frequencies: 162 - 1512 MHz

Governor: Interactive

CPU and GPU undervolt

other settings almost default...
[Nexus 4 Original Android Development] chewu.pg:
I would be happy with 2hrs of SOT on 3 day usage... You are very lucky with that awsome battery... Maybe its just my usage
[Nexus 4 Original Android Development] Gallardo994:
Reduce your 3G usage to improve the results. Also make your screen brightness a bit lower, 50% would be enough for through-the-day usage, 0% on evenings (I use auto brightness tho)
[Nexus 4 Original Android Development] bart.found:
Almost browsing under WiFi (3G off) anyway... on 3G/WiFi I usually reach 2 days and less than 3h SOT.. I don't know how many hours SOT I could have in 12h of heavy usage..

PS: I use some Atooma rules to turn off the unnecessary things (data network, WiFi, sound, etc..) during the night... no greenify or other similar apps
[Nexus 4 Original Android Development] ktomov:
Why are you talking about couple of days of usage? Aren't 24 hours more than enough to get to a charger?

First cycle on the settings I use from the pages before and the results are: 4 hours and 40 minutes on display, 20 minutes on calls for full 24 hours. I'm happy. BTW, I think that turning off some of your phone features is not what our phones are made for. Turning off the data, just to get 10% or 15% more battery is just emasculation. Moreover my phone lose only 2 to 3% during the nights.
[Nexus 4 Original Android Development] chewu.pg:
Battery health weakens with much charging, so if you charge it less times it lasts longer, because li-ion batteries have limited amount of charges and after thay maximum charge capacity starts to decay rapidly and than you need to change it :D
[Nexus 4 Original Android Development] bart.found:
During the night I use Atooma to turn off some features because they are useless or annoing for me... while I sleep I don't want to receive Facebook, Whatsapp, email or others notifications, so I turn off the sound! Without sounds all data connections or sync apps are useless so I turn off all data connections overnight! The only thing I want to hear during the night is an emergency call.. and the vibration is enough for this.

I'm under WiFi at home and office.. so I use 3g only when I'm outdoor.. also undervolt for me is a way to reduce the heat, but all these actions increase my batterylife as "side effect" :D
[Nexus 4 Original Android Development] ktomov:
And you can order a new one for the price of 15$ from ebay. Can't see it as a problem to fully use my phone :D
[Nexus 4 Original Android Development] chewu.pg:
And if you live in montenegro like i do, it takes a month to ship new battery to me, and it is not as good as original one(at least not from aliexpress) :)
[Nexus 4 Original Android Development] Gallardo994:
Li-ion batteries don't like a full discharge and full charge after that either. So what then? Should we throw our phones out cause they will last less in a year? :D

Plus, lithium batteries don't have a certain cycles limit. That's just a recommended amount of charges after which you should consider changing your battery or the device, that's it.
[Nexus 4 Original Android Development] chewu.pg:
Conclusion, ion batteries suck, and chemists need to find new battery technology hahahaahahahah ;)
[Nexus 4 Original Android Development] Gallardo994:
Tritium batteries are under development, they should be able to keep the device alive for years. This will let us unleash the true power of performance mode on ak kernel if this happens fast and ak continues development on other nexus devices :P
[Nexus 4 Original Android Development] 0.0:
It would be cool if it came back :)

sent from my Nexus 7
[Nexus 4 Original Android Development] bart.found:
Hahaha calm down guys! I know that li-ion batteries love to stay over 15% of charge! XD but when I flash a new kernel I always do a full cycle to test performance and batterylife! Don't you measure the fuel consumption when you buy a new car? XD

However I like to know that if I go away from home or office, and I don't have enough time to charge my phone, 30% of juice is more than enough for me!

Obviously, everyone has a different way to use his phone and different needs.. this way fits perfect for me, find your own! ;)
[Nexus 4 Original Android Development] Illumiii:
Default settings for intelli, I'm using ondemand stock settings. Pretty much everything is stock but I'm using intelliplug and I'm undervolted.

Been using your kernel since it came out and I never looked back =D

You've made my mako a beast and it aged so gracefully.

I thank you for your work, I'm truly grateful.

:laugh:
[Nexus 4 Original Android Development] Rembi:
I though ondemand with bias 250, Rate 50000, powersaving core agressive, still barely cross the 4.5 hours on the screen, but MSM seems to be better. Well, tested a few more days

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] TheNerd:]:
Does this have stratosk's new or old ondemand. The new one changed boost frequency calculations.

---------- Post added at 09:50 PM ---------- Previous post was at 09:46 PM ----------

Found out it was the new one (through perfmon monitoring)
[Nexus 4 Original Android Development] poondog:
If you're talking about the RELATION_C commits then yes it has it :)

https://github.com/anarkia1976/AK-x...4c1e29edfc/drivers/cpufreq/cpufreq_ondemand.c
[Nexus 4 Original Android Development] Targaeryan:
Pssttt! Seems some impressive hardworking devs got android L booting and pretty much working on the nexus 4! and now they're on a bug killing spree. Its in the general section for whoever wants to flash :D
[Nexus 4 Original Android Development] M3drvr:
Pfft, I wish I could reach 4 hours screen time. I can't even hit that on lowest screen brightness web browsing and texting only over a 10 hour period. Be happy with what you're getting.
[Nexus 4 Original Android Development] smile_hh:
我想知道哪个版本的ak内核能够滑动解锁？ 双击容易错误操作。

I want to know which version of the AK kernel can slide to unlock? Double click the easy wrong operation.
[Nexus 4 Original Android Development] Rembi:
There you go. I'm on MSM have more than 5h screen where the phone is much faster than intelliplug. Enter the settings from the synapse can work something out :)

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] Rembi:
It promises to be interesting. It would be better if it was not me that WiFi stops every 20 second. So far the idea to test the port android L :d

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] M3drvr:
Will try
[Nexus 4 Original Android Development] spider623:
it boots now

---------- Post added at 06:17 PM ---------- Previous post was at 06:10 PM ----------

nexus 4 users li-po batteries not li-ion
[Nexus 4 Original Android Development] chewu.pg:
Li- po and li-ion are almost the same , except li-po are lighter and softer, read wiki
[Nexus 4 Original Android Development] Rembi:
Try MSM - x2 boost, boost lock 1500ms. powet bias ondemand 200, power saving aggresive, rate 50000.

For hotplug Faux could use a intelliactive, from what I remember, it was great, no intellidemand / active hotplug faux is weak. Typically, small steps set 4 core with low clock speeds, where MSM 2 core clocked at 1024-1242. I recommend MSM, it is faster and better chosen SoC configurations.

The moment put an profile.

Edit:

https://www.dropbox.com/sh/lj0ce7quj78alb8/AAC1WqoD8VJWrG_i96wR4WiXa

Sh!t, I forgot the power to change the bias to 200, change it in the synapse.

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] Rembi:
AK, the boot system defaults to 1728MHz? The transition from ART Dalvic -

Wysłane z Nexus 4 za pomocą Tapatalk.
[Nexus 4 Original Android Development] ak:
updated OP

Q: How i can boost the GPU governor via sysfs?

thanks to @myfluxi:

val:
1 = 128Mhz
2 = 200Mhz
3 = 320Mhz
4 = 487Mhz

echo "< val >" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/boosted_pwrlevel_trust
echo "< val >" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/conservative/boosted_pwrlevel

im waiting trickster implementation.
[Nexus 4 Original Android Development] elamarkant:
Thx a lot!

But I need the s2w function without s2s and the original kernel linked the s2w to s2s...

In the other hand, some more features also attracts me ...

Or is there any information about OpenPDroid on 4.4?
[Nexus 4 Original Android Development] maverickronny:
Viper has stopped working after 111 update says I need root access even though I have, reflashed supersu
[Nexus 4 Original Android Development] saint_cow:
Tried the new kernel version and if I leave my phone for a few minutes (maybe between 5 - 10) the screen will not turn back on and I have to reset. I have sweep to awake on so it may be that?
[Nexus 4 Original Android Development] 0.0:
is that with the experimental v111 kernel?
[Nexus 4 Original Android Development] ak:
Make a clean install ...

8 hrs for me without problems.

can you check your init.d folder?
[Nexus 4 Original Android Development] saint_cow:
That's was from a clean flash using it and the nexus 5 port. I flashed back to the previous version and it's fine. What do I look for in the init.d folder?

---------- Post added at 08:49 PM ---------- Previous post was at 08:49 PM ----------

Yeah
[Nexus 4 Original Android Development] saint_cow:
That's what's in the folder now (back on 106)
[Nexus 4 Original Android Development] ak:
Tested with gnome kitkat and i dont have problems.

Without logs or the possibility to replicate i cant do anything.

im sorry. :good: