yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] christopherrrg:
Has anyone else had their phone freeze with screen on before?

I'm using the CM labelled kernel from this thread and CM snapshot 10.2

Anyone know how I can stop this from happening or at least point me in the right direction? (not sure if its the kernel or ROM related so I posted on both.)

I haven't changed any settings via trickster mod because to be honest I'm brand new on the n4, just upgraded from gnex because of the sad news for 4.4 plus it was about time.
[Nexus 4 Original Android Development] jarjar124:
Just want to chime in on latest test kk build. Running great, but I find it on max frequency too often.
[Nexus 4 Original Android Development] hellsgod:
boostfreq is set to max. You can change that, if you like. Use Trickster or a script :)

hells
[Nexus 4 Original Android Development] jarjar124:
Trickster isn't working on 4.4. Where is the directory to change it? :)
[Nexus 4 Original Android Development] pikachukaki:
I change it with faux....seems pretty normal kernel...nothing too fancy...im waiting for 4.4 kernel...
[Nexus 4 Original Android Development] saint_cow:
Faux clock won't work for me using ART
[Nexus 4 Original Android Development] spider623:
Use setcpu or romtoolbox
[Nexus 4 Original Android Development] Targaeryan:
I'm using trickster with the aosp version. Is it because of ART or is it redirecting you to the FAQ page when you open the app?

---------- Post added at 09:08 AM ---------- Previous post was at 09:04 AM ----------

Its 20000 :angel:
[Nexus 4 Original Android Development] jarjar124:
Redirects to FAQ, although I have busybox installed.
[Nexus 4 Original Android Development] Targaeryan:
I had the same issue so I downloaded busybox from the play store, let it scan and did a smart install and it worked. :cool: :p

Edit: I uninstalled the restored version of trickster and installed from the play store. That's what made it work.
[Nexus 4 Original Android Development] eluspo:
Trickster running fine without any issues with ART.

---------- Post added at 02:41 AM ---------- Previous post was at 02:34 AM ----------

Guys what's the recommended settings for this kitkat kernel? Should i just use the defaults?
[Nexus 4 Original Android Development] notbrodie:
same here, trickster working fine. installed busybox through stericson installer.

as to the settings: default is pretty much awesome. i set the wheatley touchboost to 1.026ghz and set the hotplug to 2min/2max. smooth!
[Nexus 4 Original Android Development] bmakk2055:
You have a link to this art thing everyone is talking about?
[Nexus 4 Original Android Development] genkralyz:
trickster works on my end, I just install the updated busybox from their faq page.
[Nexus 4 Original Android Development] notbrodie:
it's in developer options. it's the new runtime compiler

Sent from my Xoom
[Nexus 4 Original Android Development] Targaeryan:
Inside developer options, there's the option called "select runtime". Click that and there's an option to change it to ART. So far it only works with the nexus 5 port ROM since its odex.
[Nexus 4 Original Android Development] jyuuken:
Its a built in option with 4.4 go to developer settings its there :)

Im testing this kernel for kitkat. Undervolting really helps lowering the device temp and color profile look awesome too!
[Nexus 4 Original Android Development] Sir_gpm:
This 4.4 kernel help us to save battery by default?

Enviado desde mi Nexus 4 usando Tapatalk 4
[Nexus 4 Original Android Development] notbrodie:
there aren't too many dev's that build kernels to waste battery by default...
[Nexus 4 Original Android Development] ak:
Where are the superkernels?

and i saw your comment, what do you expect from a kernel?

im waiting your feedback.

Il tuo rispetto è uguale a 0 my friend.
[Nexus 4 Original Android Development] ak:
All my thanks to you and all guys ... [emoji16] for support.

ak
[Nexus 4 Original Android Development] veeholics:
On 093, 101 and 103 i got Android OS drain my battery, and various freezes like many people state (even in 103, froze once from 103 flash)

Didn't happen on 80 or below.

Anyone experienced battery drain issue? Using crDroid b26, no 2w, uv 50-100 mv, intelliactive, and some other tweaks by trickster.
[Nexus 4 Original Android Development] ak:
If you use intelliactive deactivate mpd boost and screen off ... Set on intelliplug.

ak
[Nexus 4 Original Android Development] gorilla p:
Its different for everyone and depends on what your CPU is binned at. There's some info on that in the optimal battery life document on bit.ly/makostuff

For those asking about battery life, check out that document!
[Nexus 4 Original Android Development] gemj95:
After some months i came back to AK Kernel again, it's fast and smooth like always :D

there's only one thing that is bugging me, i enabled the C1 Retention sleep state through synapse... now, i know that on kitkat C1 has some problems like screen flickering, but there was a fix around or i'm wrong? because this flickering is driving me crazy xD
[Nexus 4 Original Android Development] jmtjr278:
On ak 103 I had 2 reboots while trying to take a video. Using slumkat latest. Not uv'd at all.

Anyone else noticed this?

Happened at the worst time too. Taking video of the kids and the wife says to me "all that work on your phone and it can't even take a video" ugh
[Nexus 4 Original Android Development] xenyz:
Try disabling idle state on cpu0:

echo "0" > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
[Nexus 4 Original Android Development] gemj95:
i'm not so skilled with the terminal :p , why i'm getting an error? i just copy/pasted what you wrote (before doing that i typed "su" for root privileges)...
[Nexus 4 Original Android Development] xenyz:
Sorry, I'm not running ak right at this moment, but it's possible those CPU states are disabled by default if you don't have those sysfs interfaces. I'll have a look at it later.
[Nexus 4 Original Android Development] veeholics:
Does it matter to battery?

On all your kernel version I use intelliactive and mpd, but before 093 I never had android os drain my battery like this. Usually its around 10-15%, but now it always eats by battery like 40-45%.

With the same usage and network, on 063 i can get 5 hours of sot but on 93-103 getting 3 hours is hard already.

I don't prefer intelliplug because its performance is a bit sluggish.
[Nexus 4 Original Android Development] ak:
stock rom

last kernel

consevative gpu policy
[Nexus 4 Original Android Development] senthilrameshjv:
Data and Wifi Off?
[Nexus 4 Original Android Development] ak:
Yes

ak
[Nexus 4 Original Android Development] stavca:
I have this issue on v70 with systemui process which causes about 10% CPU usage, on newer version I have the same problem with IRQ handler, but it uses 20%+ of CPU so I use v70
[Nexus 4 Original Android Development] ak:
What is the IRQ incriminated ?

With no useful infos I can't do anything ...

ak
[Nexus 4 Original Android Development] stavca:
it is caused by process called "ksoftirqd/0", I looked at /proc/interrupts as you adviced me and I also uploaded it here and you told me it looks OK...these are the only one lines where are some interrupts:

18: 280590 128466 64102 GIC gp_timer

48: 12736 0 0 GIC msmgpio

51: 45123 0 0 GIC rpm_drv

65: 448 0 0 GIC msm_slim_irq

66: 252 0 0 GIC sps

107: 57979 0 0 GIC MDP

112: 818646 0 0 GIC kgsl-3d0

114: 319 2 2 GIC MIPI_DSI

122: 19 0 0 GIC smd_dev

130: 15477 0 0 GIC sps

136: 63214 0 0 GIC msm-sdcc (cmd), msm-sdcc (pio)

170: 31861 0 0 GIC smd_dev

183: 82376 0 0 GIC qup_err_intr

184: 92 0 0 GIC msm_serial_hsl0

185: 2 0 0 GIC qup_err_intr

226: 203 0 0 GIC qup_err_intr

230: 1403 0 0 GIC smd_dev

234: 17477 0 0 GIC wcnss_wlan

235: 17117 0 0 GIC wcnss_wlan

261: 7468 0 0 GIC ehci_hcd:usb1

294: 10489 0 1 msmgpio lge_touch

317: 3 0 0 msmgpio bcm2079x-i2c

334: 2 0 0 msmgpio mdm pbl ready

335: 120 0 0 msmgpio msm_hsic_wakeup

337: 1 0 0 msmgpio mdm status, hsic_peripheral_status

362: 2077 0 0 msmgpio pm8xxx_usr_irq

479: 16 0 0 pm8xxx pm8xxx_rtc_alarm

490: 5 0 0 pm8xxx pmic8xxx_pwrkey_release

491: 5 0 0 pm8xxx pmic8xxx_pwrkey_press

514: 4 0 0 pm8xxx pmic-keypad

518: 2041 0 0 pm8xxx pm8xxx_adc_interrupt

560: 4 0 0 pm8xxx bms_eoc_ccadc

561: 1 0 0 pm8xxx PM8921_BMS_VSENSE_AVG

567: 1 0 0 pm8xxx PM8921_BMS_SBI_WRITE_OK

IPI0: 0 49 79 73 CPU start interrupts

IPI2: 495992 713564 503958 379947 Rescheduling interrupts

IPI3: 9336 11790 12073 11276 Function call interrupts

IPI4: 31611 1735 495 431 Single function call interrupts
[Nexus 4 Original Android Development] ak:
I have checked the interrupt but I don't have find nothing relevant ... [emoji22]

ak
[Nexus 4 Original Android Development] stavca:
:crying: maybe I can ask if anyone else is facing the same problem?? can you guys check your CPU usage in for example Trickstermod how it is when you're doing nothing with your phone and then look at the running processes?? I use terminal and this cmd top -m3 -n 3 for that
[Nexus 4 Original Android Development] gorilla p:
In trickster, the CPU usage jumps from 3-30% pretty frequently although the frequency stays low.

For those who are trying, the command is "top -m 3 -n 3"

---------- Post added at 02:38 AM ---------- Previous post was at 02:34 AM ----------

When running that command I got the following..

1|root@mako:/ # top -m 3 -n 3

User 10%, System 12%, IOW 0%, IRQ 0%

User 91 + Nice 0 + Sys 105 + Idle 644 + IOW 0 + IRQ 0 + SIRQ 1 = 841

PID PR CPU% S #THR VSS RSS PCY UID Name

1058 0 6% S 26 919468K 67012K fg system com.android.systemui

3109 2 5% R 1 1344K 488K root top

217 0 4% S 15 83564K 9260K fg system /system/bin/surfaceflinger

User 0%, System 0%, IOW 0%, IRQ 0%

User 88 + Nice 0 + Sys 115 + Idle -217655 + IOW -6844 + IRQ 0 + SIRQ 0 = -224296

PID PR CPU% S #THR VSS RSS PCY UID Name

1058 2 0% S 26 919448K 63676K fg system com.android.systemui

217 1 0% S 15 83564K 9256K fg system /system/bin/surfaceflinger

3109 1 0% R 1 1356K 488K root top

User 0%, System 0%, IOW 3%, IRQ 0%

User 87 + Nice 0 + Sys 115 + Idle 218500 + IOW 6844 + IRQ 0 + SIRQ 0 = 225546

PID PR CPU% S #THR VSS RSS PCY UID Name

1058 1 0% S 26 919448K 63676K fg system com.android.systemui

217 0 0% S 14 82540K 9252K fg system /system/bin/surfaceflinger

3109 2 0% R 1 1356K 488K root top

root@mako:/ #
[Nexus 4 Original Android Development] atxbang56:
[MENTION=3685904]ak[/MENTION] :

I've used your kernel for a while and now I'm using HellsDoctor (HD) by Barome. Tbe bug difference is the temperature of the phone wich is really colder with HD and gives better performance on Real Racing 3 [MENTION=1528666]151[/MENTION]2MHz. Maybe you could take a look and create a mix between your kernel and HD, it would be the best kernel so far : cold, efficient and OC capabilities.

*** KitKated from my Nexus 4 ***
[Nexus 4 Original Android Development] darklordankit:
wifi still not connecting on v.103 :(
[Nexus 4 Original Android Development] montbazon:
Ak tells again and again.

Dirty flash ROM whatever you are using. Before flashing ak kernel.

나의 Nexus 4 의 Tapatalk에서 보냄
[Nexus 4 Original Android Development] Utkarsh-ezzo:
which ROM..??

dirty flash......????
[Nexus 4 Original Android Development] darklordankit:
bro done that already not working :(

---------- Post added at 03:17 PM ---------- Previous post was at 03:13 PM ----------

Purity

yep did dirty flash
[Nexus 4 Original Android Development] Utkarsh-ezzo:
may be you can try ak uninstaller first and then dirty flash ROM and then flash ak...

I am not sure that it will work but just trying to get you a workaround.....
[Nexus 4 Original Android Development] stavca:
thx, in that case I assume it must be caused by ROM + kernel combination
[Nexus 4 Original Android Development] ak:
Check if you have data/AK/WiFi and the right permissions.

ak
[Nexus 4 Original Android Development] darklordankit:
Thanks bro but still not working :(

---------- Post added at 05:54 PM ---------- Previous post was at 05:49 PM ----------

checked the permission are

rwx-rx-rx
[Nexus 4 Original Android Development] kochthespeed:
Ha,ha I know what you mean.

:)
[Nexus 4 Original Android Development] mammenj:
anybody on aokp ROM and WiFi working? with v103
[Nexus 4 Original Android Development] milanbarta:
WiFi prima drivers

Hi AK, is it just me or did you switch to prima WiFi drivers again after v.070?

I have issues with the prima drivers when I connect to my university Wifi (eduroam). The WiFi stops working after some time and I can't even turn it off. The only way to make WiFi work again is reboot.
[Nexus 4 Original Android Development] misterk267:
He did, unfortunately. Since I live on my campus, I have to stick with 70. I really wish i could usethe newer ones. Maybe a talented individual could build the newer ones without prima?
[Nexus 4 Original Android Development] stavca:
it seems I finally somehow solved the problem with ksoftirqd/0, I disabled MPD, enabled intelliplug and tried, tried to change some other things, turn off wifi and mobile data etc etc etc and now it is gone and I use the same settings as before :) just to let you know AK...
[Nexus 4 Original Android Development] Giox96:
with the 103 version and default settings are always active 4 cores, while putting intelliplug core becomes 1 when not using the phone, but the freq. min. remains at 1.5 ghz :confused:
[Nexus 4 Original Android Development] gorilla p:
That doesn't sound right. Perhaps try disabling all features under mpdecision and setting your governor to ondemand. See if that helps. If you still have probs, try sticking with mpdecision, but disable the boost feature, set idle frequency to 162mhz and minimum cores to 1.
[Nexus 4 Original Android Development] ak:
Log? Or no log? This is the question!

ak
[Nexus 4 Original Android Development] xtrymind:
ak, i think you should enable CONFIG_F2FS_FS_SECURITY, for some people on his phone, it need to decrypt to use storage,

compile your kernel and set it to =y , theres no need to decrypt phone again ;)
[Nexus 4 Original Android Development] ak:
thanks

will be into next release.

:D
[Nexus 4 Original Android Development] gemj95:
i'm having a similar problem too, even if not used the cpu0 stays on the max frequency forever, i underclocked the phone to 1.1GHz and i tryied to slightly rise the frequency to 1.2 but the result is always the same :S
[Nexus 4 Original Android Development] Lirkaren:
I am on AOKP, do I flash "AK.103.XGENESIS.MAKO.zip" or "AK.103.XGENESIS.MAKO.CM.zip"? :)
[Nexus 4 Original Android Development] ak:
So .... Mod? And what settings? And do you have flashed stock kernel.

ak
[Nexus 4 Original Android Development] Targaeryan:
The first one.. The cm is for cm ROMs and ROMs using cm kernel.
[Nexus 4 Original Android Development] gemj95:
yes, i flashed stock kernel before ak.

anyway: max: 1.2GHz, min: 81MHz, intelliactive with intelliplug, but even with mp decision the problem persist
[Nexus 4 Original Android Development] gorilla p:
That's strange, I'm not noticing this issue. Did you disable all options under mpdecision ?
[Nexus 4 Original Android Development] suarez1907:
I select 81000 minimum frequency in Trickster mod. But after I exit from Trickster my minimum frequency set 918000!!! How can I do? What is your favorite kernel settings app?
[Nexus 4 Original Android Development] ak:
Power off the phone, count to 10 .. and power on .... and then go to mpd and:

;)

- set off boost

nb:

im using trickster
[Nexus 4 Original Android Development] Utkarsh-ezzo:
dont forget Mississippi....:D
[Nexus 4 Original Android Development] suarez1907:
I don't understand you :)
[Nexus 4 Original Android Development] XsceneXhippieX:
that behavior is standard MPDecision behavior, turn it off and intelliplug on if you want it to change, Google called it Project Butter, its a feature not a bug in the end but it can be confusing if you dont expect it to act that way, happens to a ton of people, if you search this thread you will find this explaination dozens of times being posted and answered :)
[Nexus 4 Original Android Development] maxver0:
Me and my friend can't get wifi working 2,4GHz on 103. We have tried clean flash along with slimkat

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] montbazon:
Weird... Mine works like charm.

Which one do you using wi-fi router, included chips and channels?

나의 Nexus S 의 Tapatalk에서 보냄
[Nexus 4 Original Android Development] gorilla p:
It is because of the mpdecision boost feature.

Install trickster mod from play store

Under specific, disable boost, set idle freq to 81mhz, set minimum cores to 1.

Then set minimum freq to 81mhz.

Or

Disable all settings under mpdecision

Enable intelliplug.
[Nexus 4 Original Android Development] krystyuc:
[MENTION=3685904]ak[/MENTION] for Kcontroll app how can I do the following:

1.Change to intelliplug.

2.Change Gpu guvernator

I saw it has for Cpu on Misc->Governor.

Just buyed the app and i dont find them :(
[Nexus 4 Original Android Development] maxver0:
It shouldn't matter as it work on other kernel: Slimkat stock, faux 35u, franco 204. It doesn't work on lightning zap as well tho.
[Nexus 4 Original Android Development] gorilla p:
Kcontrol is a bit more advanced, most use trickster mod as its more user friendly and works well.
[Nexus 4 Original Android Development] krystyuc:
I just can't find them,could u help me with it?
[Nexus 4 Original Android Development] Gallardo994:
Battery is draining very fast with the kernel. Tried disabling mpdec, etc. Android OS drains that, as the stats say. Unfortunately I have to get back to hellscore again.
[Nexus 4 Original Android Development] gorilla p:
What is it that you can't find? Trickster mod is on the play store. The settings are in trickster mod under general and specific.
[Nexus 4 Original Android Development] y3mita:
It was a friendly reminder on to search before asking since the answer has been given a few times.
[Nexus 4 Original Android Development] gorilla p:
To be fair, there's a number of things that are constantly asked and answered here and should be in the OP.

I've recommended adding a couple things to the FAQ section, such as

"Why is my minimum freq stuck at 910MHz?"

"I installed the kernel, where are the features and settings?"

How do I get the best battery life?

The minimum frequency question is addressed, but not clearly. There is a section on "What is project butter?". People looking for help with their min freq being stuck at 910MHz aren't going to know to look there.

The battery saving profile section is a little outdated and very basic.

I've created a google drive folder to help others improve device performance and battery life by making useful additions (latest adreno drivers, AK kernel, AIO LTE enabler, optimized dalvik patch and tweak script.) I am also keeping stable AK kernel releases there as well.

I created a detailed document on how to get optimal battery life on the N4 and put it on there as well.

The google drive folder link should probably be put in the OP.
[Nexus 4 Original Android Development] Methroix:
I had battery drain issues as well, but that was due to running Intelliactive governor with MPDecision. After enabling Intelli-Plug, and disabling MPDecision, scroff and boost, I'm not having any issues.

It might not be quite as battery friendly as Hell's Doctor with TARDIS, but the phone is so much more responsive, and that's a trade off I'm willing to make.

Btw, I'm running a FAST binned CPU with 50mV undervolt, Min:81MHz and Max:1512MHz.
[Nexus 4 Original Android Development] gorilla p:
I think you could comfortably UV 100mv. I'm binned fast and UV 125 without issue.
[Nexus 4 Original Android Development] Gallardo994:
I was running ondemand and mpdec, but disabling it didn't give me any improvement. I guess I have to wait for the next version again.
[Nexus 4 Original Android Development] krystyuc:
On KControll the options i asked.
[Nexus 4 Original Android Development] 0.0:
how bad is it? i want to compare mine with your stats so i can determine if mine is draining quickly too. i can't really tell since i never last a day with my phone. i am on CM
[Nexus 4 Original Android Development] ak:
Android os is ROM problem

Stock with 103

Android os = 3 for me

ak
[Nexus 4 Original Android Development] stavca:
when testing v 103 for longer time I faced a few problems, I had random freezes while playing games, sometimes in the browser and I had a few on lockscreen...and yesterday I wanted to turn on wifi and it wasn't possible and if I tried to go to wifi settings, onlyblank page was shown so for now I'm back on v 070 ;)
[Nexus 4 Original Android Development] ak:
So ... I cant do anything ... How I can resolve problems without one single info?

ak
[Nexus 4 Original Android Development] stavca:
what should I do to provide you that info?? phone didn't restart itself so there is no log I think :X
[Nexus 4 Original Android Development] ak:
so ... what settings?

intelliactive or intelliplug? i know there are some problems ... check git im working on it. :fingers-crossed:
[Nexus 4 Original Android Development] stavca:
PAC ROM 4.4.2 with ART enabled

CPU 81-1728MHz interactive

GPU 487MHz ondemand

MPD on, Intelliplug off

the same UV as on all the previous versions of your kernel

readahead buffer 1536kB and SIO

all the settings are the same as on previous versions of your kernel, only SIO instead of deadline which isn't present in them (<v80)
[Nexus 4 Original Android Development] ak:
Can you post last_kmsg or dmesg log?
[Nexus 4 Original Android Development] stavca:
I could but now I am on v70 so I think they are overwritten or am I wrong??
[Nexus 4 Original Android Development] ak:
https://github.com/anarkia1976/AK-xGenesis/commits/ak-xGenesis-nightly-exp

stay tuned:- fixed s2w dt2w enabled at boot ... no more screen unresponsive

- imerge intelliplug with dorimanx kernel -- ultrafast

ecc ecc
[Nexus 4 Original Android Development] Rohit02:
Eagerly waiting for the update to test it..Its good you solved it.:)
[Nexus 4 Original Android Development] diogo.sena:
this also fixes random touch freezes?
[Nexus 4 Original Android Development] TheNerd:]:
It's not magic :P... Well anyways if you've been having ghosting issues with the touchscreen I think the changing of the kernel won't effect that... No other users are reporting ghosting expect you so you might have a hardware problem
[Nexus 4 Original Android Development] nokiagye:
I have the same touch issues
[Nexus 4 Original Android Development] diogo.sena:
do you use dt2w at all?

every dt2w implementation for mako has eventual freezes, border problems, etc ( there's even an app to try to solve that! )

the usual workaround is reset touchscreen .. semaphore implementation has almost zero problems, cause it has mechanisms to reset touchscreen driver

but ideally, the driver can't misbehavior .. thats what i'm asking, if this commit fixes the touchscreen driver bad behaviour..
[Nexus 4 Original Android Development] ak:
I don't know why people continually makes comparisons, but dont puts a bit of help to solve the problems.

You can not make comparisons because each feature has a different implementation.

Post saying that other kernels are better it doesnt help the thread and development.

The only thing that I ask all of you to report problems and help here.

I'm really disappointed.
[Nexus 4 Original Android Development] maxver0:
AK can you tell me when mpdecision boost is being triggered? I think it is being triggered on touch, am I right?

So when it is triggered it is supposed to set min freq of each core?

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] diogo.sena:
don't know why you quote me..

never said that one is better than another, just commented two workarounds used to solve the usual problem.. and asked if your commit fixed that problem.. that's all..

how's that a comparison?
[Nexus 4 Original Android Development] gorilla p:
Another reason for why this needs to be clearly explained in the OP.

This has been asked and answered literally 200x+ in this thread.