yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Pollie81:
I'm having a strange issue as well, i did two installs of AK kernel. One on minimal OS and one on cataclysm. Both times i have no deep sleep. The battery keeps draining like hell. In battery stats i only have screen and phone inactive. I tried to disable msm wakelock option in synapse, let's see if that helps..

Oh, and there is only one c state enabled in synapse: C0

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] jer_ying_fd:
Mine is deep sleeping fine on Frank
[Nexus 4 Original Android Development] onurdroid:
Just a feedback about battery life.

All wi-fi, %50 brightness, sync on, location off, mostly usage social networking, browsing, youtube, 100+ apps installed, 1hrs phone talk, no gaming. I've 18+ hrs standby and 4+ hrs sot.

Minimal OS + AK kernel. Kernel setup:

- ondemand governor

- -125 UV

- IntelliPlug enabled

- max screen of is 1026 mhz

Rest of all stock settings. Maybe stock setup much battery friendly but I prefer performance settings instead of battery.

This setup gives me %15-20 more battery life compared to LP (stock rom + Semaphore kernel, same setting like i did to MM build).

It's smooth, no lag, no sod. I'm very happy with MM. Thank you very much [MENTION=4450732]CallMeAldy[/MENTION]
[Nexus 4 Original Android Development] derboller:
I'm also experiencing really great battery life. Running AK kernel in combination with latest MM chroma build.

Smartmax, UV-100mV and bfq.. The rest all default.

While connected to wifi, radio sync and location on the whole time I clocked 4,5h sot. A lot of reddit, what's app, xda and even a bit of gaming.

Doze was working real great during the night. Here are a few screenshots. (like I sad I actually clocked 4,5h sot with 5% left)

Thank you very much callmyaldy for continuing this awesome kernel! Great work [emoji106]

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] M@rs:
Anyone already found Good Battery-Performance Settings? Im currently in hellscore b85 but I think of switching if there is an improvement on battery life. Thanks

Gesendet von meinem Nexus 7 mit Tapatalk
[Nexus 4 Original Android Development] betacheer:
I don't know if anybody has experinced the same problem, but I noticed that after using flashlight from quick toggles, msm_camera wakelock keeps the phone from entering deep sleep.

I'm currently using newest Minimal OS, benzo gapps, newest ak kernel.
[Nexus 4 Original Android Development] dragos281993:
It's been discussed over and over again. On every thread there's a search box at the top of the page. You can use that to search for stuff by inserting a keyword.

Anyway, the fix: open the camera app, then close it. Restart the device and see his it goes.

If that doesn't work, go to settings --> apps --> google app , open it, go to "permissions" and check "camera", then go back and open "storage" (still from the Google App app), >clear cacheclear all data
[Nexus 4 Original Android Development] xenyz:
It's a problem with AOSP, not the kernel. You can clear the wakelock by opening and closing the camera app after using the flashlight, nothing more.

I have packaged up a quick fix flashable zip you can use attached to the post here until your ROM catches up.
[Nexus 4 Original Android Development] onurdroid:
M2 works great too. Thank to you [MENTION=4450732]CallMeAldy[/MENTION] Nexus 4 never get old!

Only one thing, I reported it on Minimal OS thread this but now I'm on Chroma and faced this battery stats issue again after flashed AK. Maybe it's kernel related, no idea. Strange thing is GSam showing battery stats with no issue.
[Nexus 4 Original Android Development] stevew84:
I can't find it in the op, unless I'm blind, but is thus for JLS or JWR? Also I see people using this on 4.3.1?
[Nexus 4 Original Android Development] Targaeryan:
There's a download link in the OP. Says anarkia kernel and a link. Its for ROMs using the caf from cm. Vanir is using it.
[Nexus 4 Original Android Development] poondog:
Hi, I noticed on your git there is support for Nexus 7 flo as well, are you compiling those and if so are those uploaded somewhere?

Thanks
[Nexus 4 Original Android Development] ak:
Kernel is made for flo and mako.

If you go under arch/arm/config/ you have cyano flo defconfig.

I dont have nexus7 ... but of you want, clone my git and happy compiling. :D
[Nexus 4 Original Android Development] poondog:
Ah understood, your source has flo but you don't build it fair enough :)

I'll be building then, thanks for the reply when I decide to unlock my flo I'll clone your latest :) cheers
[Nexus 4 Original Android Development] Salamender:
It's possible to add cpu/gpu overclock ?
[Nexus 4 Original Android Development] ak:
Yes in the future

Inviato dal mio Nexus 4 con Tapatalk now Free
[Nexus 4 Original Android Development] Salamender:
In all cases, it's an amazing kernel :)

Thx for your work !
[Nexus 4 Original Android Development] ak:
Thankz A lot man

Inviato dal mio Nexus 4 con Tapatalk now Free
[Nexus 4 Original Android Development] capeorigins:
Is there anyway to fix the battery drain? After I flashed this, I had a huge drain. And I flashed back to my ROMs kernel, and I still have a huge drain, and it charges super slow. :(
[Nexus 4 Original Android Development] ak:
This kernel dont have drain with official cm10.2 nightly:

View attachment 2316943
[Nexus 4 Original Android Development] BelzIgoh:
yes. using this kernel with crDroid CM10.2 i dont have battery drain. :good:
[Nexus 4 Original Android Development] ak:
New kernel is on the way ---- stay tuned! ;)
[Nexus 4 Original Android Development] 0.0:
does this kernel have intelli-thermal? if not, is it using stock thermal? will there be intelli-thermal in the future?
[Nexus 4 Original Android Development] hlt4668:
right now it has only stock thermal. idk about future :good: ps looking forward to .017 :fingers-crossed:
[Nexus 4 Original Android Development] poondog:
Yes anarkia said on like page 4 it would be in the Kernel later, as well as intellidemand etc
[Nexus 4 Original Android Development] obsanity:
Does this kernel have Franco's or Faux gamma control built in?

Sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
No.
[Nexus 4 Original Android Development] ak:
new kernel

New kernel online:

[CM10.2] STABLE KERNELS

ak kernel download: AK.018

Github Kernel: Link
[Nexus 4 Original Android Development] ak:
CHANGELOG

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.018

Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.018
anarkia1976 - makefile: enable -pipe, disable WAIT_SCAN, remove asustek
anarkia1976 - cyanogen_mako_defconfig: enable VOLTAGE CONTROL
faux123 - Userspace Voltage Control
anarkia1976 - Kernel Version: AK.017
FlyFrog - mach-msm: subsystem_restart: fix CPU detection
anarkia1976 - lib: string: use memchr from libc II
ramgear - lib: string: use memchr from libc
ramgear - lib: string: remove memchr export
FlyFrog - lib: string: use glibc instead arch lib.
anarkia1976 - board-mako-display: update gamma values
anarkia1976 - cyanogen_mako_defconfig: enable BFQ
anarkia1976 - bfq-iosched: Set bfq_back_penalty = 1
anarkia1976 - bfq-iosched: Tuning for SSD
Arianna Avanzini - block, bfq: add Early Queue Merge (EQM) to BFQ-v6r2 for 3.4
Arianna Avanzini - block: introduce the BFQ-v6r2 I/O sched for 3.4
Paolo Valente - block: cgroups, kconfig, build bits for BFQ-v6r2 for 3.4
anarkia1976 - cyanogen_mako_defconfig: enable INTELLIDEMAND
faux123 - cpufreq: intellidemand: squashed governor from faux kernel
anarkia1976 - Kernel Version: AK.015
anarkia1976 - makefile: -Os forever
imoseyon - random: remove warning
anarkia1976 - random: Account for entropy loss due to overwrites
anarkia1976 - random: Statically compute poolbitshift, poolbytes, poolbits
imoseyon - random: prevent add_input from doing anything
imoseyon - random: entropy tweaks are all the rage nowadays
anarkia1976 - Revert "prima 3.2.3.184 caf"
anarkia1976 - Kernel Version: AK.v014
anarkia1976 - cyanogen_mako_defconfig: set default DEADLINE
anarkia1976 - block: cfq: tuning and burning
anarkia1976 - block: deadline: tuning and burning
anarkia1976 - Kernel Version: AK.v013
anarkia1976 - makefile: O3 forever and for love
anarkia1976 - cyanogen_mako_defconfig: enable SLUB
anarkia1976 - ak-mako-build: compile with linaro 4.7.3
anarkia1976 - cyanogen_mako_defconfig: enable GOV_CONSERVATIVE
[Nexus 4 Original Android Development] haris182:
Flashed AK.112.KK on CM11, got color issue
[Nexus 4 Original Android Development] malcho:
Don't think that there is so much improvements in nexus 5,i know i will wait nexus 6:)
[Nexus 4 Original Android Development] matesc:
Just had a reboot while listening to music after receiving an email.
[Nexus 4 Original Android Development] matesc:
+1
[Nexus 4 Original Android Development] tsiftsism:
For me screen on delay when i have an incoming call hasn't been solved.
[Nexus 4 Original Android Development] FalenDemon:
My battery life on 2nd cycle with ak v111
[Nexus 4 Original Android Development] BenHeng:
Had a reboot while unlocking the phone. It was charging. Imon this morning kernel.

https://docs.google.com/file/d/0BwgiWp1Aua0fQ1NvLWt0d01rTms/edit?usp=docslist_api

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] pwned_me:
Has anyone tried the 4.4kernel on Nexus 5 Port (kitkat) for nexus 4
[Nexus 4 Original Android Development] muzaffarkhan95:
Nexus 4

which kernel is good for 4.4(kitkat) for good battery backup in N4????

---------- Post added at 07:17 PM ---------- Previous post was at 07:14 PM ----------

on kitkat?
[Nexus 4 Original Android Development] akyboy:
Flashed 112, all good so far

Thanks
[Nexus 4 Original Android Development] Targaeryan:
Yes he's on KitKat as seen by the new settings icon ;)
[Nexus 4 Original Android Development] Maelstr0m:
2 black screen of death with kk112 on Rastakat

just came back to 111 :)
[Nexus 4 Original Android Development] Ikonomi:
I just had a thermal failure with a blinking red LED on my N4 running 106 while converting from Dalvik runtime to ART. I was able to get it running again after many tries by connecting to my car charger (higher current than my other available chargers) and booting into fastboot, then powering down. I used my hand as a heatsink while the phone converted the remaining apps and finally showed the lock screen.

The failure occurred while converting the 100 or so apps I have over to the new runtime. I looked at the phone to discover the screen had turned off, and the back of the phone was VERY hot, like barely able to be held hot. I had noticed previously in Trickster Mod that the thermal limit is set by default at 85 C. At what temperature should I set the limit to be safe? I currently have it at 65 C.

I've noticed that the phone gets warmer than usual since flashing 4.4, both on the stock kernel and on AK, so I don't think it's specific to this kernel, but the high temperature limit allowed it to run away.
[Nexus 4 Original Android Development] murph187:
Can confirm 112 boot loops on Deodexed Aosp 4.4 and N5 Port

Edit: Using PA gapps_full on deodexed 4.4, included gapps on n5 port
[Nexus 4 Original Android Development] ak:
Converting to art is not part of the kernel.

The problem with overtemp is related to rom, because the kernel is based on 4.3, basically the same.
[Nexus 4 Original Android Development] ak:
Zero bootloop for me.

Do you have made a fresh install?
[Nexus 4 Original Android Development] tuilalnvinh:
Maybe I'm lucky because I type this comment on KK.112, N5 port :D
[Nexus 4 Original Android Development] ak:
The differences from 111 and 112 are these:

b42cce33e874dd5614fdd94acd95f509154c0867 Kernel Version: AK.112.KK

637b6a91fd87d17a3ca9e0dab49a86de3e3718f3 Revert "msm: acpuclock: removed frequencies for a small table"

5360914cd7e8881563a3556e35546606b173d3ac Revert "msm: acpuclock: switch off 1620Mhz but on 1728Mhz"

239c6737661fa3af57c6cd166dfd03f99d16a42c Revert "msm: pm: fix for race condition of starting cpu1 when cpu0 in PC"

f9b157c79a2c3eb962e866155fcd46288a0cbb7b Revert "cyanogen_mako_defconfig: enable -O3"

a6333e3d77357c9fdba002d7456ad4d0e2950794 cpufreq: cleaning all unused code for intellidemand and cpufreq drivers

271006ed831496ebe2bb60fe5d87b7799f44d858 Kernel Version: AK.111.KK

too small for justify the screen of death.
[Nexus 4 Original Android Development] ak:
test kernel:

- revert touch boost for trustzone

- revert to conservative gpu governor

View attachment 2377556

im waiting feedback.

thanks
[Nexus 4 Original Android Development] murph187:
Yes, full wipe including system. Flash ROM, flash gapps, flash superuser, flash kernel. Also tried booting OS first then rebooting into recovery and flashing kernel. Both methods failed. It should be noted that I'm encrypted, in case that makes any difference. I know it made a hell of a difference with TWRP until their dev team corrected decryption.
[Nexus 4 Original Android Development] xda_emanuel:
Hey guys, after flashing this kernel i cant see the SD card content on twrp recovery. Flashing stock kernel via flashify or similar solve the issue. Thanks for the attention
[Nexus 4 Original Android Development] dragos281993:
When you can't see the storage in recovery, while keeping the phone connected to your computer through the USB cable, go to "Mount", press on "Disable MTP" then enable it right away. The storage will appear right away.

Sent from Serenity using a blender.
[Nexus 4 Original Android Development] jer_ying_fd:
Dunno what happened but after clean flashing I kept getting random reboots :\ I was able to set everything up with the kernel and then download all apps and settings but then I rebooted after using adaway and kept freezing and rebooting for some reason

Edit: Gonna try without messing with voltage this time

Edit 2: Still rebooting, I only changed some cpu governor tunables (sampling rate to 20000, up threshold to 95), changed gamma to nexus 5 profile as well
[Nexus 4 Original Android Development] CallMeAldy:
Did you underclock or overclock it?
[Nexus 4 Original Android Development] jer_ying_fd:
No, didn't mess with anything related to frequency.

FYI, I downloaded it and flashed it manually instead of using updater :P Also tried downloading twice on laptop and phone. Md5sum was consistent for all downloads.
[Nexus 4 Original Android Development] derboller:
+1

Got the same problem

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] jer_ying_fd:
https://plus.google.com/+AldrinHolmes20/posts/H1EaNKu9E5i
[Nexus 4 Original Android Development] jer_ying_fd:
So should I try installing through updater to see if it won't reboot non-stop?
[Nexus 4 Original Android Development] *Jonny*:
I have a problem, and so he changes the frequency of 81mhz to 384. I'm using the kernel Adiutor :>
[Nexus 4 Original Android Development] jer_ying_fd:
Ok, just tested again, flashed with updater and no ukm/synapse, no reboots so far
[Nexus 4 Original Android Development] djsubterrain:
I've got a different problem with M2, when the phone has gone to sleep for a few minutes it stops responding completely, only solution is a hard reset. Using latest Chroma build (28th) but it was happening on the 23rd build also and also with another Marshmallow based rom.
[Nexus 4 Original Android Development] jatink007:
Battery drain even in Deep Sleep

So i am on MinimalOS 21st oct M build. When i flashed AK M2 kernel getting the below problem.

Dunno what happend.... The phone was in deep sleep for like 93% of the time ~ 8hrs, and the battery drain was from 85% -> 55% :(

not sure what the problem is. Anybody got this issue? Any suggestions?
[Nexus 4 Original Android Development] mr_nguyen298:
where can I download M2 version ?
[Nexus 4 Original Android Development] onurdroid:
Here you go: https://hubdroid.com/~CallMeAldy/AK-Kernel/AOSP/
[Nexus 4 Original Android Development] J0SH1X:
Hey could you make a version for cm 13 using your kernel on frank aosp but now i want to use cm 13 unofficial build but dont wanna loose your awesome kernel
[Nexus 4 Original Android Development] gorilla p:
M2 download from hubdroid is horribly slow. (12min to download 5.5.mb). M1 download link in OP was quick.

Looking forward to testing this with Dirty Unicorns v10 test. Very stable so far.
[Nexus 4 Original Android Development] mr_nguyen298:
After i flash M2. I get auto reboot randomly and optimizing apps (facebook). Can you solve my issue ?

Thanks you !
[Nexus 4 Original Android Development] Zealotki11er:
Where do i get UKM? I dont even know what it is.
[Nexus 4 Original Android Development] dppow:
http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986
[Nexus 4 Original Android Development] Zealotki11er:
So i left the phone with 64% battery at night and the next morning the phone was dead.
[Nexus 4 Original Android Development] justinkb:
Is v3.8.1 the version of ukm we should flash?
[Nexus 4 Original Android Development] insigma28:
Deleted
[Nexus 4 Original Android Development] justinkb:
Initially you posted I should use 3.8.9 version of ukm. Why did you delete the post? Is it wrong information?
[Nexus 4 Original Android Development] Snakebar:
Ok, so, despite the 6.0 in the name, does the kernel still work in Lollipop 5.1.1? If not, where can I find the archive for older versions?
[Nexus 4 Original Android Development] insigma28:
No dude I just didn't think I was given right information as it's posted in Taurus kernel post.

Tapped from my marshmako
[Nexus 4 Original Android Development] codebam:
Taurus uses a custom UKM. Use UKM 3.8.1 (Official) for AK.
[Nexus 4 Original Android Development] insigma28:
That's the reason I deleted my comment when I replied.

Tapped from my marshmako
[Nexus 4 Original Android Development] codebam:
Oh okay cool. Both work in my experience, but its probably better to just stick with 3.8.1.
[Nexus 4 Original Android Development] dm96:
aosp with M2 still has hsic wakelock, even thou it is marked as fixed in kernel auditor
[Nexus 4 Original Android Development] gorilla p:
Luckily Exposed for M was just released. I'm using it and its working great.
[Nexus 4 Original Android Development] VinciusG:
[MENTION=4450732]CallMeAldy[/MENTION] This is the first time I try your kernel and all I can say is "Thank you", it basically doubled my Nexus 4 battery life, 4h+ sot time finally since KitKat :D Good job dude
[Nexus 4 Original Android Development] kuladiamond:
Hi guys, I'm new to AK Kernel but I'm interested in flashing this since it gives USB OTG support. In the instruction, it says to flash "last UKM", and then " install Synapse". Can anyone refer me the files, and explain what those files do (sorry guys I'm a noob)? I'm currently on Minimal OS, do I need to wipe anything before flashing?
[Nexus 4 Original Android Development] dragos281993:
UKM (at the bottom of the page): https://drive.google.com/folderview...&usp=sharing&tid=0B77BTW0zStYCSTRIYWpZQS1nOWs

Synapse (kernel manager): https://play.google.com/store/apps/details?id=com.af.synapse

Synapse is the app that you'll use if you want to tweak the ak.kernel, or any other kernel you want. In order to be able to use Synapse, you need UKM.

Also, USB OTG doesn't work with an ordinary OTG cable, like the new devices do. You need an Y-cable for that (google it to see how it looks like).
[Nexus 4 Original Android Development] kuladiamond:
OK thanks for the explanation :) Should I wipe anything before flashing the kernel and UKM? Also would something like this works for the USB OTG:

https://www.sandisk.com/home/mobile-device-storage/ultra-dual-usb-drive-3
[Nexus 4 Original Android Development] dragos281993:
No need to wipe anything as long as you're using the stock kernel that came with the ROM you have installed.

As for the otg cable, I think the reason you need an Y cable, is because the phone much charge at the same time you have the usb drive connected to your phone. I just think, I'm not sure.
[Nexus 4 Original Android Development] Razorfoot:
Hey Guys im using Pure Nexus ROM (6.0) with Az kernel and my Synapsis app always display a toast warning saying "synapsis boot cancelled".

When i load up the app interface there is a notification saying that "the last applied settings have not been deemed stable due to a possible crash or reboot of the device".

The thing is, it only happens if i hard reboot it (even if i disable the integrity check feature), with soft reboot everything goes smooth.

Im new at this kernel modding stuff and i assume i could have done some mistakes.

What i did was

A) Clean installed the ROM

B) Installed the AZ Kernel and then UKM 3.8.1 in the recovery queue (TWRP)

C) Installed Synapsis and noticed the problem

D) Installed BusyBox (i thought it came within the ROM)

E) Reinstalled Synapsis and the problem persisted

F) Tried changing one option at a time and soft rebooting, everything applyed with no problem

G) Hard reboot - bang! problem's back (even if i leave all settings default). :eek: :(

Should i try another app? Which would you guys recommend?

Im clueless about how to solve this ):

[MENTION=1110248]update[/MENTION]

I installed Taurus Kernel and it is working well now!
[Nexus 4 Original Android Development] TheArt.:
Is this kernel eventually will be compatible with f2fs?
[Nexus 4 Original Android Development] CamoGeko:
[MENTION=3685904]ak[/MENTION] [MENTION=4450732]CallMeAldy[/MENTION]

I am reunited with my old Nexus 4 now since my gf has an M8 now. So I'm free to tinker with it. xD

I'm currently trying ChromaROM but your MinimalOS looks really good too so I might flash that at some point soon.

Is M2 the latest version, I can only find M1? (nvm I found it!)
[Nexus 4 Original Android Development] arjundas86:
Where can I read more about what some of the features mean? I see them in a few kernel feature list, but don't know what they mean or would like a detailed description of how they work. For example... BFQ, Faux sound control, Arch power,Gentle fair sleepers, etc.

Thanks
[Nexus 4 Original Android Development] Snakebar:
I'm quoting myself in hope for answers.
[Nexus 4 Original Android Development] Dor-b:
Hi,

Where can I find the download link for CM M2?

OP Seems to be empty :crying:

Tnx
[Nexus 4 Original Android Development] manpildo:
Search for M2 and you will find it, that's how I did.

E: w/e here it is https://hubdroid.com/~CallMeAldy/AK-Kernel/AOSP/
[Nexus 4 Original Android Development] Dor-b:
But I'm looking for the cm version.
[Nexus 4 Original Android Development] Akopop:
Hi,

I would like to try this kernel, but I dont exactly understand the install guide. What doest it mean, Flash last UKM?

Also, do I need to "dirty flash" my current ROM first or just flash the kernel zip and thats it?

Thanks for help! :)

EDIT: I have already found my answers.
[Nexus 4 Original Android Development] dragos281993:
UKM is something that's necessary if you want to tweak the kernel with the Synapse app.

And you need to dirty flash your ROM then flash the kernel.zip, only if you have another custom kernel already installed on the device. For example, if you have "Taurus kernel" currently installed on your device and want to try out "Quanta kernel", you have to dirty flash the ROM first, then flash Quanta.
[Nexus 4 Original Android Development] Akopop:
Last question :)

in description, there is:

Version Information

Status: Stable

Current Stable Version: AK.M2.MAKO

Stable Release Date: 2015-10-26

but I am able to download AK.M1.AOSP only. Is it just name mismatch?

Thanks
[Nexus 4 Original Android Development] manpildo:
I gave the link literally just a few posts above. :rolleyes:
[Nexus 4 Original Android Development] manpildo:
I am experiencing random reboots on M2.

* Using Chroma 6.0.1.

* Kernel flashed over ROM stock kernel.

* Settings on default except i/o sched changed to bfq.

* No UV.

* Hasn't happened on any other kernels.

last_kmsg and dmesg attached.

[ 157.281031] L1 / TLB Error detected on CPU 0!
[ 157.281062]	CESR = 0x00000001
[ 157.281153]	CPU speed = 1944000
[ 157.281214]	MIDR = 0x510f06f2
[ 157.281245] D-cache tag parity error
[ 157.281336] D-side CESYNR = 0x00004e44
[ 157.281397] Kernel panic - not syncing: L1 cache error detected
[ 157.514848] wcnss_8960: crash shutdown : 0