yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ak:
I dont know because i have see incompatibility between new roms updates and new prima (prima drivers 185+ are present for a long time into kernel) ... ;)
[Nexus 4 Original Android Development] gorilla p:
I installed this and it broke my WiFi. Grayed out. Do I need to run the am uninstaller prima first?
[Nexus 4 Original Android Development] Targaeryan:
Dirty flash the ROM then kernel. Since prima drivers were reverted to old ones, dirty flashing kernel on top of the old one will break WiFi :)
[Nexus 4 Original Android Development] xda_emanuel:
Guys, could someone report if these drivers solved the wifi sleep bug? Because im on cm11 and i cant test myself. Thank you.
[Nexus 4 Original Android Development] Dark Fear:
hi bro

have you change Touch stuff? i feel pinch to zoom works better with your kernel.. it starts to zoom faster..

but still it can be faster.. can i control touch setting by myself?

i played a bit with touch filter in tricksterMod but didn't see any difference..
[Nexus 4 Original Android Development] xenyz:
Been testing it out today with intelliplug on and mp-decision off. Any else notice that the device goes to sleep quicker (plays the click-click sound after screen turns off), or is it just me?
[Nexus 4 Original Android Development] FrozenLord:
Is this CM or AOSP-based?
[Nexus 4 Original Android Development] Starsream88:
AOSP
[Nexus 4 Original Android Development] fr3quency:
Why did AK do this to us?? At least release 2 versions so we can play as well. :P
[Nexus 4 Original Android Development] Targaeryan:
:D because its a test version ;p
[Nexus 4 Original Android Development] hepi_hape:
i think we need update the OP from 58 to 61 :D

so if i now using old AK.58 then update to 61. i must dirty flsh my rom ?? :highfive:

and again, what defference old prima and new prima ? and info from page i can read ? thx
[Nexus 4 Original Android Development] misterk267:
061 fixes the bug. :). Appreciate it AK!
[Nexus 4 Original Android Development] Targaeryan:
Yes dirty flash ROM then kernel.

http://xdaforums.com/showthread.php?p=50449259 <- prima changelog

Basically it is WiFi drivers providing better WiFi performance etc etc.

---------- Post added at 12:44 PM ---------- Previous post was at 12:42 PM ----------

Looks like new prima drivers don't work for you :p

But the new drivers provided faster push notifications :)
[Nexus 4 Original Android Development] xenyz:
This is hilarious: I'm having about a 50% chance of a wlan related kernel panic on booting 061. And 058 worked perfectly for me.

So, they work great for some and terribly for others.

I'll post some logs when I can get to the PC.
[Nexus 4 Original Android Development] ak:
What rom?
[Nexus 4 Original Android Development] xenyz:
Stock Kit Kat 4.4.2 (KOT49H)
[Nexus 4 Original Android Development] florisson:
Earpiece silent during calls

I upgraded to 0.58 and am on stock 4.4.2 running ART. When I try to make a phone call, the earpiece is totally silent. Did not have this problem on 0.42. When I put it on speaker, it is also silent.

Any suggestions?
[Nexus 4 Original Android Development] Targaeryan:
How did you flash the kernel?
[Nexus 4 Original Android Development] florisson:
wipe trickster data, install zip using TWRP, wipe cache & DALVIK, reboot.

Should I flash system.img also every time? Did I miss more? I'd like to stick to stock for now.

Thanks in advance for all the answers!!!!

AK, you make me very happy with the kernel!!!
[Nexus 4 Original Android Development] Targaeryan:
Well, you need to dirty flash the ROM(flash without wiping anything) or flash stock kk kernel and then ak kernel. The other things you did is not required.
[Nexus 4 Original Android Development] FrozenLord:
AK, could you please provide a CM-based build of 061?

Thank you very much :)
[Nexus 4 Original Android Development] ak:
Tonight or tomorrow will come ... ?

AK&4&7
[Nexus 4 Original Android Development] FrozenLord:
Great, thanks a lot man!
[Nexus 4 Original Android Development] florisson:
thanks your advice fixed it!!!
[Nexus 4 Original Android Development] xenyz:
Logs attached.

ak, how about a build with the very latest prima drivers to test?
[Nexus 4 Original Android Development] xenyz:
Here's a handy script I modified for ak's new kernel I thought I'd share. It sets the low step, new intellidemand gov, tweaks it for lower frequencies, and switches to the new intelliplug. Copy to /etc/init.d/00ak and enjoy.

#!/system/bin/sh

#Set Min / Max Frequenz - nur wenn mpdesion AUS
FREQMIN=81000

echo "$FREQMIN" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo "$FREQMIN" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq

#Set Governor
echo "intellidemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "intellidemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

#intellidemand Tweaks:

echo "95" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold
echo "90" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_any_cpu_load
echo "90" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_multi_core
echo "1026000" > /sys/devices/system/cpu/cpufreq/intellidemand/step_up_early_hispeed

#System-Tweaks

echo "1" > /sys/module/intelli_plug/parameters/intelli_plug_active

echo "0" > /sys/kernel/msm_mpdecision/conf/boost_enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/enabled
echo "0" > /sys/kernel/msm_mpdecision/conf/scroff_single_core
[Nexus 4 Original Android Development] priyank.gupta.1984:
boot loop

Hi, I really liked your kernel and so far best I have used but I am using weird problem. If I reboot my phone my phone stuck while reboot and reboot on 4th loop of reboot. If I poweroff and then poweron my phone then it stuck at reboot and boot on 2nd loop of reboot.

I am using Stock Kitkat, and Faux123 Kernel app for GUI to manage kernel parameters. I wiped cache and dalivk before installing your kernel.

Could you please tell me what am I doing wrong and how to resolve this issue please
[Nexus 4 Original Android Development] Targaeryan:
As mentioned in many previous posts, when coming from another kernel, dirty flash your ROM (flash without wipe) and then flash ak kernel. Let us know if it works after that or not. :)
[Nexus 4 Original Android Development] xenyz:
You might be experiencing the same problem as I have a couple posts up. Stick this in /etc/init.d/98getlog, reboot and post the sdcard/Logs/last_kmesg.txt here.

#!/system/bin/sh
#!/bin/sh

l=/data/media/0/Logs

if [ ! -d $l ]; then
mkdir $l
fi

if [ -f $l/last_kmsg_old2.txt ]; then
rm $l/last_kmsg_old2.txt
fi

if [ -f $l/last_kmsg_old.txt ]; then
mv $l/last_kmsg_old.txt $l/last_kmsg_old2.txt
fi

if [ -f $l/last_kmsg.txt ]; then
mv $l/last_kmsg.txt $l/last_kmsg_old.txt
fi

cat /proc/last_kmsg > $l/last_kmsg.txt

cat /dev/log/main > $l/logcat.txt
[Nexus 4 Original Android Development] ak:
Can you try to set selinux to permissive and reboot?

Have you flashed default kernel before?

Are you coming from another modded kernel?
[Nexus 4 Original Android Development] ak:
OP

Base:

compiled with Linaro/Christopher83 - 4.8.3 A15 Optimized (Link)

-O3 (Link)

Krait Optimized (Link)

merged with last caf (Link)

merged with last cyanogen (Link)

merged with last common (Link)

linux 3.4.81+ (Link)

ccache support (Link)
[Nexus 4 Original Android Development] fr3quency:
No download link? :x
[Nexus 4 Original Android Development] ken_alpha24:
Uhhhh. Wait. There are too many links... HEAVEN!
[Nexus 4 Original Android Development] nachomaster:
Hi! Where can I download it? ak.hiddenbytes.org seems to be down? or at least I don't see any downloads there. Thanks :)
[Nexus 4 Original Android Development] FrozenLord:
There are no new download links yet.

AK posted build 061 for AOSP some posts ago, but the CM build is supposed to follow within the next few hours (maybe even a completely new build?)
[Nexus 4 Original Android Development] Targaeryan:
:D he just updated the OP. There's no new version, at least not yet. V 61 latest for AOSP only as [MENTION=1577473]FrozenLord[/MENTION] mentioned. V58 latest for cm.
[Nexus 4 Original Android Development] ak:
The server is down ... uff ... ;)
[Nexus 4 Original Android Development] priyank.gupta.1984:
Thank you for your reply :)

I have just flashed a stock ROM again, running stock kernel. Please tell me what to do now?

Can I just flash your kernel without wiping any thing or how can I do it.

Please let me know:D

---------- Post added at 02:31 PM ---------- Previous post was at 02:27 PM ----------

I have not tried by setting selinux in permissive mode because after every mode it turns enforcing again. Could you please tell me path and file where I can make permanent changes.

I was not using any modded kernel. I was on stock kernel before flashing AK Kernel
[Nexus 4 Original Android Development] xtrymind:
Yes, when you want to set to permissive, on cm11

u0_a62@mako:/ $ su

root@mako:/ # setenforce 0

setenforce: Could not set enforcing status: Invalid argument
[Nexus 4 Original Android Development] priyank.gupta.1984:
I am on stock ROM and I ran find command in terminal to search for selinux but there was not. No Conf. file where I can make permanent changes. I can set it to enforce but after every reboot it again change to enforcing :(
[Nexus 4 Original Android Development] xtrymind:
trying to compile your kernel ak, this commit to Revert "prima: release v3.2.3.185_caf" seems broke wifi, revert that commit and wifi working again.

i'm on cm-11 build 21 :)
[Nexus 4 Original Android Development] cpanos:
did you dirty flash the kernel? You need to re-install your rom first, because the commit rolls back wifi drivers.
[Nexus 4 Original Android Development] xtrymind:
Of course i'm reinstall my rom, even i format /system too to see if its work
[Nexus 4 Original Android Development] ak:
Try now to sync the anykernel repo:

[root@xubuntu AK-anykernel]# git push -u origin ak-kk

Counting objects: 13, done.

Delta compression using up to 2 threads.

Compressing objects: 100% (5/5), done.

Writing objects: 100% (7/7), 569 bytes, done.

Total 7 (delta 4), reused 0 (delta 0)

To git@github.com:anarkia1976/AK-anykernel.git

6188ae5..ca0080a ak-kk -> ak-kk

Branch ak-kk set up to track remote branch ak-kk from origin.
[Nexus 4 Original Android Development] ak:
you have to set init.d script or add to build.prop the line for selinux set.
[Nexus 4 Original Android Development] DontPushButtons:
These kernels are designed for cm10 and other roms that merged CM's CAF commits. You'll want to find one of his kernels for aosp in the Android development subforum instead of this one.

Probably because not enough feedback and/or testing from users on JWR roms that use the CAF commits from CM.
[Nexus 4 Original Android Development] themike10452:
go for neo kernel with stock

Sent from a nexus⁴ Running crDroid Powered by AK xCrossed kernel
[Nexus 4 Original Android Development] biron_w:
Working fine on latest SlimBean as well :good:
[Nexus 4 Original Android Development] ak:
Thanks man, i have personally tested:

- carbon ok

- cm10.2 official ok

- crdroid v27 ok
[Nexus 4 Original Android Development] diegocr:
Yestarday compiled 0.77 JW form 023-prima-jw repositorie and works fine on Carbon nightly :good:
[Nexus 4 Original Android Development] ak:
I have a lot of news, i have modded and cleaned wheatley governor! and after added touchboost features ... now it work like a charm. stay tuned. :D
[Nexus 4 Original Android Development] biron_w:


The version I used on SlimBean was the one modded by Piasek.

Your JWR version doesn't work with Slimbean. Not sure about the CM versions.
[Nexus 4 Original Android Development] jmtjr278:
Stephano I am glad to finally see your work in its proper place. Original android development.

Late to the party I see. Congrats anyways.
[Nexus 4 Original Android Development] mdv53:
Ik can't wait . Your kernel works great on psx 8.5

Verzonden vanaf mijn Nexus 4 met behulp van Tapatalk now Free
[Nexus 4 Original Android Development] ak:
new kernel online

[CM10.2 - CAF] KERNELS

ak kernel download: AK.078.CM10

Github Kernel: Link

[JWR - CAF] KERNELS​

ak kernel download: AK.078.JW

Github Kernel: Link

changelog:

+ add lazy and wheatley

+ kgsl power fix

+ wheatley boost interface

+ eccc .....

Dont forget Thanks and Rate
[Nexus 4 Original Android Development] willybarca:
plz anarkia include the touch control module ,u have the best kernel right now with super fast updates, but I think alot of people just can't live without tc , specifically the double tap to wake , thanc anywayz
[Nexus 4 Original Android Development] diegocr:
Can use s2w, enable it with Trickster MOD
[Nexus 4 Original Android Development] willybarca:
it sucks more battery , sometimes it just stops working, also it doesnt have double tap, and single tap, it only has a boring s2w which every kernel has by now
[Nexus 4 Original Android Development] themike10452:
KEEP CALM

AND

APPRECIATE

THE DEV'S

HARD WORK

Sent from a nexus⁴ Running crDroid Powered by AK xCrossed kernel
[Nexus 4 Original Android Development] ak:
This is boring .. but you can use this for now .... :angel:
[Nexus 4 Original Android Development] piasek1906:
I can try port double tap but i can't promise this. I'm still learning to modify kernel.

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] ak:
if you want to start this is a good point:

https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commits/master

you have s2w, s2s, d2w ecc ...

but you have to completely rework drivers ... and remove the old s2w.

good work my friend. ;)
[Nexus 4 Original Android Development] justthefacts:
It is the only kernel that I know of that sucks 6% battery in 9 hours overnight.
[Nexus 4 Original Android Development] hlt4668:
You're selling it short - 0% idle drain if you have a good signal & no wake locks :good:
[Nexus 4 Original Android Development] justthefacts:
Realy? 0% idle drain in 9 hours?
[Nexus 4 Original Android Development] xtrymind:
all right

will test right away :)

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

all right, everything work

thanks ak, you are the best :good::good::good:
[Nexus 4 Original Android Development] priyank.gupta.1984:
Thanks Man. Could you please help me in one more thing. I have just flashed a stock kernel and after flashing I flashed AK Kernel but still facing boot loop problem. So far I have find this ROM best but this boot loop problem is creating head-ache. please tell me how to solve it.

This time I have cleared cache partition or dalvik Partition.

For now I have used uninstal zip file and back on stock kernel
[Nexus 4 Original Android Development] florisson:
I have the same, am on stock 4.4.2 rom, running ART. Also facing the bootloops, even though flashed stock rom before upgrade to 0.61. Issue is also there on 0.58. No bootloops on any of the previous ak kernels.
[Nexus 4 Original Android Development] :
Have you updated to the latest cm nightly in the meantime? This version doesn't boot with art enabled

Gesendet von meinem Nexus 10 mit Tapatalk
[Nexus 4 Original Android Development] priyank.gupta.1984:
Thanks for reply, I am not on ART I am Dalvik could you tell me Versions before 0.58 are good and have feature which 0.58 contains and is there benefit to install version older than 0.58?
[Nexus 4 Original Android Development] ak:
I have an idea probably related to BFQ default guys.

Can anyone test with old release without BFQ? example version: Kernel Version: AK.050.XGENESIS.MAKO.CM
[Nexus 4 Original Android Development] xenyz:
The bytes really are hidden.
[Nexus 4 Original Android Development] priyank.gupta.1984:
Hello AK, May I know what is BFQ and I am using Stock ROM with Stock Kernel, will it be ok to flash AK.050.XGENESIS.MAKO.CM as this seems to be like for Cyanogenmod

---------- Post added at 08:17 PM ---------- Previous post was at 07:39 PM ----------

Hello AK I have just flashed AK.050.XGENESIS.MAKO and so far phone is stable and no reboot or reboot loop :)
[Nexus 4 Original Android Development] atxbang56:
hi guys, maybe my question is stupid but here it is:

is it possible to build a kernel for android 4.2.2 with all the new things we can find in latest 4.4.2 kernels ?

*** KitKated from my Nexus 4 ***
[Nexus 4 Original Android Development] RealSlimShadyMC:
Don't flash cyanogenmod kernel on stock ROM. And BFQ is an I/O scheduler, the default on AK kernel (I think, correct me)

---------- Post added at 09:30 PM ---------- Previous post was at 09:29 PM ----------

I don't think so, why are you still using 4.2.2 anyway?
[Nexus 4 Original Android Development] atxbang56:
because I want to go back on MIUI but kernels are old...even Faux AK.

*** KitKated from my Nexus 4 ***
[Nexus 4 Original Android Development] poondog:
That will teach you for wanting to be on miui then :D
[Nexus 4 Original Android Development] RealSlimShadyMC:
Oh, MIUI... Lol fair enough
[Nexus 4 Original Android Development] atxbang56:
what is the problem with MIUI lol, I like it

*** KitKated from my Nexus 4 ***
[Nexus 4 Original Android Development] RealSlimShadyMC:
Nothing, I didn't really like their custom UI, but its a good enough ROM if they actually updated it xD
[Nexus 4 Original Android Development] poondog:
I actually think I recall reading that miui v6 us due this month.. kit Kat based
[Nexus 4 Original Android Development] Juanito216:
Anyone having an issue with the phone heating? I tried every one from 42 to the latest and it still has min CPU speed set to over 900mhz. It automatically sets itself back. Am I missing something that I should've done? I was running Carbon(using built in performance settings) and I think I've had the same outcome even with a clean flesh.
[Nexus 4 Original Android Development] poondog:
What temperatures do you see? Don't worry about the min cpu, the kernel will boost itself when an input event is triggered (918MHz on core 0 and 1) for smoothness and will scale down by itself. If you want to disable this then use an app like trickstermod to turn input boost of but there is no need for that
[Nexus 4 Original Android Development] RealSlimShadyMC:
That's just input boost. If youre using 3G a lot it will heat up loads.
[Nexus 4 Original Android Development] Juanito216:
Thanks. I didn't see any temperatures but I felt the phone heat up. I never heard of input boost. I'll try the kernel again.
[Nexus 4 Original Android Development] ak:
new kernel

[XGENESIS KERNEL v.063 - MILESTONE]

A kernel based on CAF CM branch.

see first page and git for changelog.

full detail tonight ... im little busy .

NB:

default prima drivers, dirty flash rom before kernel.
[Nexus 4 Original Android Development] Starsream88:
Thanks ak for the best nexus 4 kernel :thumbup:

So if i already flashed v.061 i dont have to dirty flash the rom, right ?
[Nexus 4 Original Android Development] ak:
No ... thanks a lot
[Nexus 4 Original Android Development] malcho:
I always come back to this kernel,and i never regret...
[Nexus 4 Original Android Development] ak:
thanks a lot ... you are the best positive user on xda ....
[Nexus 4 Original Android Development] malcho:
Thank you for good vibrations...
[Nexus 4 Original Android Development] chipstien:
So just flashed this on my Ex's phone. I've gone back several pages but haven't found what I am looking for. Is there a post listing optimal setting for battery life, ie. governor, scheduler, and governor settings?
[Nexus 4 Original Android Development] RealSlimShadyMC:
Turn off mpd boost, on demand governor. I/O schedulers don't really affect battery
[Nexus 4 Original Android Development] chipstien:
Also, do we turn off everything in mpdecision control when using intelliplug?
[Nexus 4 Original Android Development] RealSlimShadyMC:
Just hit the off switch at the top of the mpd tab
[Nexus 4 Original Android Development] ak:
Op updated

I have update OP with full infos.
[Nexus 4 Original Android Development] Gallardo994:
Just an awesome kernel. No words. Let's see how intelliplug goes, but it seems to be a lot faster compared to AK55. Great job, keep it up! But I would suggest creating a script in the installer which creates a backup of ROM's prima drivers and restores that when flashing a new one. That would get rid of the necessity of dirty flashing the ROM again.
[Nexus 4 Original Android Development] ak:
Man the script exist ... Open your eyes.
[Nexus 4 Original Android Development] xenyz:
BFQ updated on 14 Feb to v7r2
[Nexus 4 Original Android Development] Gallardo994:
I know it does. I meant to integrate it into the installer by default.
[Nexus 4 Original Android Development] ak:
By default the zip make backup of the necessary files.

With uninstaller you can restore your old config.
[Nexus 4 Original Android Development] Joe4899:
Had somebody problems with speed with fritz.box 7240? Works fine with 73xx versions but it become really slow when it's connected for a while. Have always to turn Wi-Fi off and on ob my phone to get the the speed again :D has any one one of these? :eek:
[Nexus 4 Original Android Development] ak:
I have slow WiFi with default drivers and my router ... But people have problems ... So for now this is the way.
[Nexus 4 Original Android Development] akyboy:
Hi..

Just installed new kernel but lost wifi, cannot even enable it, using slim rom
[Nexus 4 Original Android Development] xtrymind:
You must dirty flash your slimrom first and then flash ak kernel :)
[Nexus 4 Original Android Development] Praveer:
The exp version have been removed from this thread. Is the development for that being stopped?

Also do update from previous AK version I just flash the new version or dirty flash the ROM to get stock kernel and then flash kernel.

Thanks
[Nexus 4 Original Android Development] Targaeryan:
If you're on 61, then just flash kernel. If you're on previous versions, dirty flash ROM then kernel. He will update exp whenever he wants to test out exp features, I would assume.
[Nexus 4 Original Android Development] betobm:
Enabling intelliplug, what should I do with mpdecision? Disable? Thanks!
[Nexus 4 Original Android Development] ahepas:
Disable
[Nexus 4 Original Android Development] poondog:
Should have only one at a time so yes disable it
[Nexus 4 Original Android Development] betobm:
Thank you guys
[Nexus 4 Original Android Development] mammenj:
Will this asop kernel work on aokp ROM?
[Nexus 4 Original Android Development] Targaeryan:
Aokp is based on aosp so yes it'll work.
[Nexus 4 Original Android Development] Praveer:
Thanks. I was using AK .058 Xperimental. So have to take dirty flash route.
[Nexus 4 Original Android Development] tuilalnvinh:
Mpdecision vs IntelliPlug, which one is better?
[Nexus 4 Original Android Development] ken_alpha24:
Thanks for the new kernel!!! Will try this out later. AK is the best!
[Nexus 4 Original Android Development] poondog:
Best to try them all for yourself. I personally like mpdecision better
[Nexus 4 Original Android Development] avinashjirapure:
With AK.063 even I am facing same wifi disabled issue... I read few post saying dirty flash is required!!

I am on stock rom.. Please guide how to do dirty flash with stock rom
[Nexus 4 Original Android Development] Benjamin_L:
Just flash rom again before flashing the kernel
[Nexus 4 Original Android Development] RootNightmareX:
nice kernel
[Nexus 4 Original Android Development] avinashjirapure:
Hi Benjamin_L... Thanks for the reply

But I am on original stock rom from Google...I never flashed it, it came default with phone itself.

So in my case, do I need to download Stock ROM first & then to flash? Is it?
[Nexus 4 Original Android Development] ken_alpha24:
@ up

Are you coming from an older version of AK? If no then I do think it's okay to flash... If yes, I'd rather go to a new ROM then flash the new Kernel. Better safe than sorry. =)