yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ak:
:D .... what is the correlation with kernel and font? = nothing.

Ramdisk is the same .... i have only removed n4ukm install ... now you have to flash it separately.

For me no problem with carbon ...

Uninstall synapse ... go to recovery ... flash kernel and n4ukm .... cleae cache dalvik ... reboot ... reinstall synapse.
[Nexus 4 Original Android Development] Lijop:
Screen flickering issues on cm 11.
[Nexus 4 Original Android Development] ak:
try this with search into thread: screen flicker.

solution:

c1 enabled

c2 disabled

c3 disabled

c4 enabled
[Nexus 4 Original Android Development] gorilla p:
Yeah I've had a few issues when updating/switching kernels or updating n4ukm. Typically clearing data or reinstalling synapse fixes it.

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] ak:
I never had this problem ... im flashing rom everyday ... this isn't correlated to kernel.
[Nexus 4 Original Android Development] omer7:
Flash v255 and so far working very good. Just noticed one thing, there's some very slight/tiny stuttering (esp in temple run 2) on interactive governor (which is by default in this kernel). But on demand seems to be working much better. No such stuttering/lags so far.
[Nexus 4 Original Android Development] edilber:
great kernel

thanks friend for your answer. I do not why that happens. congratulations great job for this kernel.
[Nexus 4 Original Android Development] ak:
Known. Normal .

@ak
[Nexus 4 Original Android Development] omer7:
Thanks for the response. Actually in some(or most) other kernels i found interactive to b more responsive and smooth. In ak on demand seems more smooth. That's y i was wondering y it is like this.

But anyway a very nice kernel, enjoying it. Using max 1512 and on demand cpu and gpu gov. Gpu max by default.

Thanks ☺
[Nexus 4 Original Android Development] ak:
You can't compare kernel because the code base is always diff

@ak
[Nexus 4 Original Android Development] omer7:
Yeah right. ?

Thanks.
[Nexus 4 Original Android Development] gorilla p:
True, but I understand what omer is saying. Interactive is supposed to scale up faster and be more responsive at the expensive of some battery, while OnDemand is supposed to scale up a little slower. If OnDemand is providing better performance then that really eliminates the need for interactive. Of OnDemand can outperform interactive and still provide decent battery life, that is impressive. Just my opinion.

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] upilguebu:
Got stuck in google logo on lastest liquidsmooth. Anyone can confirm?
[Nexus 4 Original Android Development] ak:
flash stock kernel and then ak.
[Nexus 4 Original Android Development] ak:
not true ... interactive is slow scaling ... stock ondemand is fast scaling.
[Nexus 4 Original Android Development] ak:
op updated

[INSTALL STEP-BY-STEP]

- remove the tick from synapse -> settings -> Apply on boot (if present synapse)

- go to recovery

- flash stock kernel of your rom

- flash ak kernel

- flash last n4ukm_v1.x.x.zip

- reboot

- install synapse (if not present) or tick from synapse -> settings -> Apply on boot

- enjoy ak and synapse kernel control

- finish
[Nexus 4 Original Android Development] upilguebu:
still stucked on google logo restart by itself.

EDIT : I think the problem come from the rom, because I flash ak kernel v.254, it has same problem
[Nexus 4 Original Android Development] omer7:
AFAIK liquid smooth is CAF based, if i m not wrong wont we need to flash caf based ak version on liquidsmooth?
[Nexus 4 Original Android Development] upilguebu:
Yeah, I already flashed ak kernel for cm.
[Nexus 4 Original Android Development] lonnieboy:
Yup, flash the CM kernel version and enjoy! :good:
[Nexus 4 Original Android Development] upilguebu:
the same problem happened on ressurection remix with ak v.255 too.
[Nexus 4 Original Android Development] HTCTOUCHPRO91:
Velocity 21/05 nightly + ak 255 ! Supersmooth combo and top battery life! Thank you ak ! What do you think about velocity ?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] Gallardo994:
How to create a toggle for Tasker to enable/disable exponential LCD backlight instead of using Synapse every time

(Make the minimal LCD brightness extremely low ("night mode") without any screen filtering app)

1. Create a file in /data with a name "inverse" with the following contains:

file="$1"
val=$(busybox cat "$file")
if [ "$val" = "1" ]
then
echo 0 > "$file"
else
echo 1 > "$file"
fi

2. Open Tasker and add 1 more task, select "Scripts" and then "Run shell". Make it look like that:

sh /data/inverse /sys/devices/i2c-0/0-0038/lm3530_br_mode

Don't forget to tick "Use Root" otherwise it won't work!

3. Add a Tasker widget to execute your task. It will toggle the state every time you click it
[Nexus 4 Original Android Development] upilguebu:
where can i get velocity?
[Nexus 4 Original Android Development] omer7:
What kernel setup u using?

Governors and frequencies? ☺

---------- Post added at 12:52 PM ---------- Previous post was at 12:52 PM ----------

U can find this rom in psx forum/site.
[Nexus 4 Original Android Development] Targaeryan:
Something's up with liquid smooth. 255 doesn't boot.. I tried fixing permissions as well and from a clean flash and also dirty flashing over 254,, doesn't go past Google logo.. 254 works well..
[Nexus 4 Original Android Development] ak:
Strange .... can anyone collect log during bootloop?

adb shell

dmesg
[Nexus 4 Original Android Development] HTCTOUCHPRO91:
CPU: 1350 max 162 min, default interactive, deadline 512 KB, 1 cpu min 4 cpu max 1 cpu boosted, -125 mV (except lower freq)

GPU: max 320 and all voltage @900 mV

Touch filter enabled.

Supersmooth

P.s. I don't play games On smartphone

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] aviz1911:
Bro getting these errors while compiling(aosp 4.4.2 sources, linaro 4.8.3 a15) after cherry-picking stockdemand commits from your github.

google sources dont have "lge_boosted" ??? :confused::confused::confused:
[Nexus 4 Original Android Development] ak:
bro i dont have "lge_boosted" in my source:

anarkia1976@anarkia1976 ~/android/AK-xGenesis $ vim drivers/cpufreq/cpufreq_stockdemand.c

/*
* drivers/cpufreq/cpufreq_stockdemand.c
*
* Copyright (C) 2001 Russell King
* (C) 2003 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>.
* Jun Nakajima <jun.nakajima@intel.com>
* (c) 2013 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/cpu.h>
#include <linux/jiffies.h>
#include <linux/kernel_stat.h>
#include <linux/mutex.h>
#include <linux/hrtimer.h>
#include <linux/tick.h>
#include <linux/ktime.h>
#include <linux/sched.h>
#include <linux/workqueue.h>
#include <linux/slab.h>

/*
* dbs is used in this file as a shortform for demandbased switching
* It helps to keep variable names smaller, simpler
*/

#define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10)
#define DEF_FREQUENCY_UP_THRESHOLD (80)
#define DEF_SAMPLING_DOWN_FACTOR (1)
#define MAX_SAMPLING_DOWN_FACTOR (100000)
#define MICRO_FREQUENCY_DOWN_DIFFERENTIAL (3)
#define MICRO_FREQUENCY_UP_THRESHOLD (95)
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
#define MIN_FREQUENCY_UP_THRESHOLD (11)
#define MAX_FREQUENCY_UP_THRESHOLD (100)
#define MIN_FREQUENCY_DOWN_DIFFERENTIAL (1)

/*
* The polling frequency of this governor depends on the capability of
* the processor. Default polling frequency is 1000 times the transition
* latency of the processor. The governor will work on any processor with
* transition latency <= 10mS, using appropriate sampling
* rate.
* For CPUs with transition latency > 10mS (mostly drivers with CPUFREQ_ETERNAL)
* this governor will not work.
* All times here are in uS.
*/
#define MIN_SAMPLING_RATE_RATIO (2)

static unsigned int min_sampling_rate;

#define LATENCY_MULTIPLIER (1000)
#define MIN_LATENCY_MULTIPLIER (100)
#define TRANSITION_LATENCY_LIMIT (10 * 1000 * 1000)

#define POWERSAVE_BIAS_MAXLEVEL (1000)
#define POWERSAVE_BIAS_MINLEVEL (-1000)

static void do_dbs_timer(struct work_struct *work);
static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
unsigned int event);

#ifndef CONFIG_CPU_FREQ_DEFAULT_GOV_STOCKDEMAND
E486: Espressione non trovata: lge_boosted

check on your side. :fingers-crossed: :fingers-crossed: :fingers-crossed: :fingers-crossed:
[Nexus 4 Original Android Development] aviz1911:
:highfive::highfive: Thanks bro. I thought your code and barome code for stockdemand is same and cherry-picked his stock demand touch boost commit after adding your stockdemand governor.
[Nexus 4 Original Android Development] Kaotiko77:
v255 don't boot on Omnirom. v254 works fine.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] ak:
... fresh install?

can you try to uninstall synapse/n4ukm before?
[Nexus 4 Original Android Development] CamoGeko:
Flashing 255 today :D

Why did you decide to have the UK4M zip separate?
[Nexus 4 Original Android Development] ak:
I want to contribute to git project ... for universal support ...

it is easier to make a clone and then zip wuolà ... and ready to use.
[Nexus 4 Original Android Development] Kaotiko77:
I install it following yours steps one by one. When i install 254 with N4UKM with yours steps i don't have the problem.

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] CamoGeko:
Makes sense mate. I've noticed a few new bits in there now :)

---

INFO (how I flashed the latest 255 on AOKP)

1. Open Synapse, backup my profile. Go to Settings and untick Set on Boot.

2. Reboot to recovery and flash AK255 + NUK4M zip.

3. Reboot to system, open Synapse and restore saved profile.

4. Profit!
[Nexus 4 Original Android Development] poondog:
profit.
[Nexus 4 Original Android Development] smartymcfly:
I have read in other threads of people of having trouble with wifi-ap and WiFi when using AK on all-f2fs, is there a solutution other than using a different kernel. It happened to me for some reason. It worked when I had AK flashed originally but I could not write to userdata/sdcard and then I flashed the modified version from jolie and it allows me to write to sdcatd but then the WiFi/wifi-ap doesn't work correctly. I am not sure I can help but let me know what you need me to do and I will.
[Nexus 4 Original Android Development] XsceneXhippieX:
i think its in the order of how you do things, afaik if you wipe data and caches and stuff after you flash AK exodus it has a chance of breaking wifi, ive personally experienced that more than once. that may be whats going on there as well, just a thought
[Nexus 4 Original Android Development] rodries:
Something is wrong with 00ak script in 255

If I delete the script my phone can boot if not I have a bootloop

My cpu is:

ACPU PVS: 1 (slow) SPEED BIN: 0

I've changed max cpu to 1512MHz, now is booting.

I have to test it again to be sure

PS:

I've modified the script to limit the max cpu to 1512MHz, restart into recovery, install AK255.zip again and works, but I had working my phone previously because I deleted 00ak script in recovery mode, maybe other people can test it.

So if someone has a bootloop can try: mount system in recovery and delete /system/etc/init.d/00ak

If works probably some devices cannot manage more than 1512MHz at boot state.
[Nexus 4 Original Android Development] Galaxyfire:
Hey [MENTION=3685904]ak[/MENTION]

can you maybe take a look at this last_kmsg ??

It is not a Nexus 4 it is the Smartphone of my fater(Motorola Motoluxe) and i dont understand this last_kmsg.

It is short and there is a "kernel Panic"

Thank you
[Nexus 4 Original Android Development] Kaotiko77:
Clean flash only v255 and don't boot too. I keep v254 and try again with next release. Excellent work anyway!

Enviado desde mi Nexus 4 mediante Tapatalk
[Nexus 4 Original Android Development] joefso:
255 seems to be working okay on cm 11 all-f2fs nightly today. Report if any issues.
[Nexus 4 Original Android Development] EotT:
I'm on Omnirom and it works fine.
[Nexus 4 Original Android Development] CamoGeko:
Why are you posting it here then?

This is the Nexus 4 forum lol

Sent from my baked potato
[Nexus 4 Original Android Development] TheNerd:]:
Because maybe he understands AK is one of the few Devs who has the kindness to check it out

---------- Post added at 07:36 PM ---------- Previous post was at 07:36 PM ----------

Maybe his father's device forum is inactive
[Nexus 4 Original Android Development] aviz1911:
Yeah AK is very kind. He answers any question, any number of questions without loosing his patience. It's gr8 to have a developer like you for nexus 4 :D :D
[Nexus 4 Original Android Development] ak:
new kernel

News on the dark side of kernels:

+ linux 3.4.68

+ new prima 191

+ a lot of fixes ..

+ ecc ecc ecc

stay tuned.
[Nexus 4 Original Android Development] ak:
cyanogen_mako_defconfig: enable KALLSYMS and MODULES

pgm
[Nexus 4 Original Android Development] Subrad5446@aol.com:
I too am interested in this. I got as far as Code Auroa Forum. [MENTION=1106390]anarkia[/MENTION]- I've see you over at the slim Thread and at faux kernel thread. Which is my setup. So anyway it seems to me that you are FOR CAF. Am I mistaken? And if I'm not, then why are you such a big fan of people like faux's work who is obviously against CAF? Furthermore, why would someone have anything against CAF? I would enjoy answers to these questions, its been on my mind for about two weeks now.
[Nexus 4 Original Android Development] piasek1906:
So I was able to :)

d2w and s2s/ s2w working together correctly :)
[Nexus 4 Original Android Development] ak:
AOSP: Android is an open-source software stack created for mobile phones and other devices. The Android Open Source Project (AOSP), led by Google, is tasked with the maintenance and further development of Android. Many device manufacturers have brought to market devices running Android, and they are readibly available around the world.

CAF: The Code Aurora Forum is a mutually beneficial non-profit corporation promoting open source
[Nexus 4 Original Android Development] ak:
I have resolved the problem with device administrator and pattern .... stay tuned guys!. :angel::angel::angel:

i have added support for PGM. :D
[Nexus 4 Original Android Development] spupuz:
Ciao Stefano!

i hope you release it soon stock kernel uses too much high frequencies and drain a lot of battery in kk4.4
[Nexus 4 Original Android Development] piasek1906:
You can make UnderClocking and UnderVolting in Trickster MOD
[Nexus 4 Original Android Development] spupuz:
in kk4.4 dunno why but trickster conplain about busybox that is not installed but in fact i have it installed and i'm using it with others applications.
[Nexus 4 Original Android Development] defffizz:
I flashed this kernel over the latest n5 port. It works, but it doesn't feel smooth. Latest n5 port has touchboost fix, and its indeed much smoother than other 4.4 roms I tried, but after flashing this kernel it feels like touchboost fix is gone, it's laggy. Can I fix this somehow, with trickster maybe? Thanks!
[Nexus 4 Original Android Development] ak:
make these steps:

- install busybox as normal

- install trickster

- got to app -> trickster -> clear data, cache a force stop

- open trickster
[Nexus 4 Original Android Development] ak:
chage your govenor to ondemand ... and your phone fly.
[Nexus 4 Original Android Development] tmorterlaing:
Thanks for this- but the real thing is I can't find anywhere what the technical differences are. Have CAF doen something special with their drivers which make them superior to the ones developed by AOSP? Have Cyanogenmod they, for example, incorporated a driver which offers a better battery life/ performance ratio?

As a side note, why does it seem to be so hard to find information about this stuff which hasnt been written in developer code, buried on page 738947 of a thread of XDA....
[Nexus 4 Original Android Development] arifqur:
Sadly happens to me also once every few boots.
[Nexus 4 Original Android Development] Giox96:
What's the best governor CPU for this kernel?
[Nexus 4 Original Android Development] eep2378:
didn't he just answer that? ;)
[Nexus 4 Original Android Development] carepack:
Which kernel module for touch control?
[Nexus 4 Original Android Development] Giox96:
I have select "min_online_cpus" on 2

Because in my opinion less keep two always on that turn on and off all the time the second core

Sorry for my english, i am italian
[Nexus 4 Original Android Development] Subrad5446@aol.com:
+1:laugh:
[Nexus 4 Original Android Development] anazhd:
[MENTION=3685904]anarkia1976[/MENTION] I'm on gnome KK + AK.KK, I noticed that the default governor is wheatley. IYHO, which governor is the best for KK right now?

p.s : I'm wheatley governor fan. just looking for the best optimized governor ( your tweaks ) for KK. ( performance + battery + cool turtles )

p.s.s : too much k.kk
[Nexus 4 Original Android Development] ilamaan:
[MENTION=3685904]ak[/MENTION] Hey mate. It's been a long time. Hope everything is going good.

I've been away from the forum because I've been hanging around with an HTC One the last couple of months. But I gave to my brother and back on the Nexus 4 now. Seems I've missed a lot and really I need to catch up a bunch.

Anyways, sorry for OT. Just wanted to stop by and say hello to you. And let me know if I can contribute in any way.

:)

EDIT: Here is a little addition to the signature collection. It's for the latest series. Link: http://i58.tinypic.com/epp15w.png
[Nexus 4 Original Android Development] ak:
As always elegant and beauty .... thanks a lot [MENTION=3764336]ilamaan[/MENTION].
[Nexus 4 Original Android Development] ak:
Its difficult to understand without the full log ... but something is wrong into the code and settings:

https://code.google.com/p/android/issues/detail?id=16767
[Nexus 4 Original Android Development] fabry83:
Does somebody have problems with incoming calls? Have you delay of 3-4 seconds before the screen turns on?

I don't understand if it's kernel or ROM related..

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] ak:
Probably mix of governor and rom.

@ak
[Nexus 4 Original Android Development] pilspeda:
Been having a really annoying phenomenon. While receiving a call, my screen does not immediately switch on. It takes at least 10 sec to light up. If I hit the power button, my answer screen comes up immediately, but that is just a very annoying work around.

Any ideas?
[Nexus 4 Original Android Development] fr3quency:
I second that. Not up to 10 seconds, maybe 4-5
[Nexus 4 Original Android Development] pilspeda:
Yeah, 10 sec is exaggerating a bit, maybe 4-5
[Nexus 4 Original Android Development] ak:
new banner

added new banner into op.

thanks @ilamaan.
[Nexus 4 Original Android Development] Targaeryan:
Hey! v255 didnt boot in C-rom and rasta... :( i cant provide you logs nowww sorry! :(
[Nexus 4 Original Android Development] ilamaan:
Did you flash the N4UKM zip as well?
[Nexus 4 Original Android Development] Targaeryan:
With and without it.. It didn't boot past google screen on liquid smooth as well. I tried clean flashes and dirty flashes.. 254 is fine.
[Nexus 4 Original Android Development] ak:
fresh install?
[Nexus 4 Original Android Development] ak:
I have made a test version ... but my connection is slow. 15 min and it will be online.
[Nexus 4 Original Android Development] Targaeryan:
Tried those as well. Rasta and C-rom I tried fresh.. Previously even tried with liquid smooth. :)
[Nexus 4 Original Android Development] gorilla p:
I rarely run into a kernel install issue that can't be fixed by

wiping cache and dalvik cache

and/or

Flashing AK Uninstaller Mako Prima

Also be sure to use TWRP. I was a CWM user for a long time, but they're really slacking since 4.4. Lots of issues flashing 4.4 kernels and roms with CWM. No problems since switching to TWRP.
[Nexus 4 Original Android Development] ak:
test

Test kernel.

View attachment AK.258.EXODUS.MAKO.CM.zip

View attachment AK.258.EXODUS.MAKO.zip
[Nexus 4 Original Android Development] Targaeryan:
:victory: boots perfectly with rasta and I dirty flashed over 254! :D thanks!
[Nexus 4 Original Android Development] ak:
[XGENESIS KERNEL v.258]

A kernel based on CAF CM branch.

aosp: AK.258.EXODUS

cm: AK.258.EXODUS.CM

[INSTALL STEP-BY-STEP]

- go to recovery

- flash stock kernel of your rom

- flash ak kernel

- flash last n4ukm_v1.x.x.zip

- reboot

- install synapse

- enjoy ak and synapse kernel control

- finish

changelog:

Project name: AK KERNEL
anarkia1976 - Kernel Version: AK.258.EXODUS.MAKO
anarkia1976 - ak_mako_defconfig: enable GRAPHITE_OPTIMIZATION
anarkia1976 - makefile: nf_conntrack_core: fix compile error with graphite optimizations
anarkia1976 - makefile: fix graphite flags syntax error
anarkia1976 - makefile: add graphite flags opt
anarkia1976 - makefile: add new flag -fgcse-las - part 2
anarkia1976 - makefile: add new flag -fgcse-las
anarkia1976 - Kernel Version: AK.257.EXODUS.MAKO
anarkia1976 - Revert "msm: thermal: Update to speed up bootup time"
anarkia1976 - Revert "fair.c: tweaking the scheduling"
anarkia1976 - Kernel Version: AK.256.EXODUS.MAKO
Joonsoo Kim - sl[aou]b: merged with linux 3.8.x kernel
Stratos Karafotis - power: pm8921: Change info message to debug
ramgear - fair.c: tweaking the scheduling
faux123 - devices-8064: double watchdog timeout from 10 to 20
anarkia1976 - timer: optimize apply_slack()
anarkia1976 - tty/Makefile: Remove smux_debug
ramgear - readahead: optimize divide/multiply by power of 2 using L/R shift - Fix
ramgear - readahead: optimize divide/multiply by power of 2 using L/R shift
FlyFrog - int_sqrt: Improve 3x faster integer sqrt.
ramgear - int_sqrt.c: Correction square root algo with naming
FlyFrog - mach-msm: Remove smd debugging
FlyFrog - tty: remove smux debugging
anarkia1976 - linux: mm: set readahead 1792 kb, 32 kb
anarkia1976 - ak_mako_defconfig: set default ONDEMAND

don't forget thanks button.
[Nexus 4 Original Android Development] Gallardo994:
The new build works flawlessly with temasek ROM. Thanks. Came from 254.

BTW, ak, Franco has released 208 with some feature which speeds up screen on. You might consider checking out his sources to include this tweak into your next build

Отправлено с моего Nexus 4 через Tapatalk
[Nexus 4 Original Android Development] Kaotiko77:
258 works very great here. Thanks so much! I really apreciate your work!!

Sent from my nexus⁴ powered by OmniROM "Last Nightly" & AK Exodus v258
[Nexus 4 Original Android Development] TheKnux:
Hey [MENTION=3685904]ak[/MENTION] I tried flashing 258 and ended up in a bootloop, again. Then I flashed the stock that came with my rom, rebooted, still bootloop. I'm back using HellsDoctor cause I don't know what else to do. :/

Sent from my 1961 XP-755
[Nexus 4 Original Android Development] ak:
You have to post your problem on hell thread. No more problem here ... ?

ak@n7
[Nexus 4 Original Android Development] TheKnux:
I just figured I'd ask here cause I'm trying to flash YOUR kernel...

Sent from my 1961 XP-755
[Nexus 4 Original Android Development] xenyz:
Whenever changing your boot partition using anykernel flashable zips, it is always a good idea to flash stock image first, as changes to the ramdisk can cause problems.
[Nexus 4 Original Android Development] ak:
But if you have problem also with stock I think only barome have the solution, ?

ak@n7
[Nexus 4 Original Android Development] TheKnux:
You proved a very good point my friend. I'll ask him and if he doesn't know, then I'll never know I guess lol

Sent from my 1961 XP-755
[Nexus 4 Original Android Development] Lokian69:
If you are using stock rom remember to flash the non cm/caf version of the kernel.

Btw [MENTION=3685904]ak[/MENTION] have you seen this guys work seems pretty interesting

http://goo.gl/6683X3