[KERNEL] [N4] [6.0][3.4.0][AOSP/CM] [10/26] [M2] - AK

Please vote the rom used with ak kernel?


  • Total voters
    420
  • Poll closed .
Search This thread

XsceneXhippieX

Senior Member
Oct 17, 2010
1,056
125
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?

Sent from my Nexus 4 using Tapatalk

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.
 

XsceneXhippieX

Senior Member
Oct 17, 2010
1,056
125
Synapse doesn't for me at all. It shows me error.

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
 

xenyz

Senior Member
Oct 30, 2010
1,368
1,446
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.

Sent from my Nexus 4 using Tapatalk
 

Connor Baker

Senior Member
May 9, 2012
1,325
779
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.

Sent from my Nexus 4 using Tapatalk

I personally prefer race to idle. Are you overclocked or underclocked, and undervolted by any chance? Just curious.

Connor Baker
 

xenyz

Senior Member
Oct 30, 2010
1,368
1,446
I personally prefer race to idle. Are you overclocked or underclocked, and undervolted by any chance?

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?

Sent from my Nexus 4 using Tapatalk
 
  • Like
Reactions: Connor Baker

Connor Baker

Senior Member
May 9, 2012
1,325
779
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?

Sent from my Nexus 4 using Tapatalk

There is. The voltage consumed at a frequency is (and correct me if my math is a bit off here (it was, thanks @mrg666)), 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
 
Last edited:
  • Like
Reactions: TheNerd:]

xenyz

Senior Member
Oct 30, 2010
1,368
1,446
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.

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.

Sent from my Nexus 4 using Tapatalk
 
  • Like
Reactions: Connor Baker

mrg666

Senior Member
Aug 4, 2011
1,966
4,784
There is. The voltage consumed at a frequency is (and correct me if my math is a bit off here), frequency (in mhz) x voltage for that frequency. 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

It should be power proportional to frequency times square of voltage

Sent from my Nexus 4 using Tapatalk
 
  • Like
Reactions: Connor Baker

Connor Baker

Senior Member
May 9, 2012
1,325
779
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.

Sent from my Nexus 4 using Tapatalk

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)
 

Attachments

  • 2014-02-03.png
    2014-02-03.png
    72.7 KB · Views: 199
  • 2014-03-13.png
    2014-03-13.png
    121.2 KB · Views: 188
Last edited:
  • Like
Reactions: xenyz

musa47

Senior Member
Oct 5, 2012
600
160
Gas masks on. This is about to get viral! :p amazing stuff.

Sent from my Nexus 4 using Tapatalk
 

ak

Senior Member
Feb 19, 2011
14,848
69,619
Ak Land Valley
ak.hiddenbytes.org
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:
Code:
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
 

0.0

Senior Member
Jan 12, 2010
6,829
3,275
@ak 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
 

stavca

Senior Member
Aug 14, 2012
712
233
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 ;)
 
  • Like
Reactions: ak and Utkarsh-ezzo

Top Liked Posts

  • There are no posts matching your filters.
  • 562
    AK KERNELS
    REBORN SERIES
    [CM/AOSP] [6.0]


    AaDnzXQ.png


    FGLizUg.png

    I am not responsible for any damage to your phone.
    Read before downloading or posting in the thread:
    Proceed with caution if you have no experience.


    [6.0 - KERNEL M2 - STABLE]
    AOSP: AK.M1.MAKO

    Alternate download link

    71rJ2NA.png


    Compiled with UBER 5.1
    Krait optimized
    Merged with latest Common
    GPU Governors (Ondemand, Smartmax, Performance, Conservative)
    GPU voltage control
    Intelli Thermal
    Intelli Plug
    CPU voltage
    BFQ v7-r8
    Usb OTG
    Gamma control
    Faux sound control v 3.6
    Touch wake
    Double Tap2Wake (Top half, Center, Bottom half, Full)
    Sweep2Wake
    Sweep2Dim
    USB fast charge
    Battery Life Extender
    Enable/Disable msm_hsic_host_wakelock
    Arch power
    Gentle fair sleepers

    [INSTALL STEP-BY-STEP]
    - Go to recovery
    - Flash AK Kernel
    - Flash last UKM
    - Reboot
    - Install Synapse
    - Enjoy AK and Synapse kernel control

    [TUNING AND RESOURCES]
    Thanks a lot to @gorilla p for sharing files and doc for tuning battery/performance
    Link
    0cDL48E.png


    XDA:DevDB Information
    AK Kernel for AOSP and CM Roms, Kernel for the Google Nexus 4

    Contributors
    CallMeAldy, ak
    Source Code: https://github.com/CallMeAldy/AK-Mako

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: AK.M2.MAKO
    Stable Release Date: 2015-10-26

    Created 2013-10-07
    Last Updated 2015-10-26
    236
    Reviews

    Reserved
    118
    fixed

    [KITKAT] [STABLE]
    download: AK.218.KK

    changelog:
    + fixed voltage interface
    + fast charge
    + dynamic fsync

    i want to suggest to press thanks button, 300 downloads for old kernel with only 36 thanks.
    Grazie Mille
    104
    Kernel Tunables

    Reserved