yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ak:
[ 4274.564147] msm_thermal: throttling OFF, CPU temp is 79C

[ 4275.814117] msm_thermal: throttling ON - threshold temp 80C reached, CPU temp is 108C

[ 4277.805206] kgsl kgsl-3d0: surfaceflinger[195]: gpu fault ctx 1 ts 24319 status 80004001 rb 1770/1986 ib1 b4b2ba58/0000 ib2 4acd1000/0000

Crash Related to:

temperature and kgsl drivers

I dont see problems with kernel.
[Nexus 4 Original Android Development] Pollie81:
I had reboots too when benchmarking.

but as i still was on previous version of mahdi I dirty flashed latest mahdi and directly the new AK after, now everything works like a charm.

Verstuurd van mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] ak:
new kernel

[XGENESIS KERNEL v.227 - MILESTONE]

A kernel based on CAF CM branch.

aosp: ak.227.exodus

cm: ak.227.exodus.cm

changelog:

see git

waiting for battery feedback!
[Nexus 4 Original Android Development] mammenj:
BTW , my CPU is running normally at 114F,

if it's really 80C, it's too hot.
[Nexus 4 Original Android Development] 3n3rg1c:
Hmm same issue with me power off while antutu benchmark. But I dont see thermal related from mine (I might me wrong)
[Nexus 4 Original Android Development] Almayce:
Well then you should let me test it at least one cycle! But you are releasing so darn fast that I can't resist the urge to flash new ones! From 214 onwards the kernels are real beasts! Testing the latest CM now :)
[Nexus 4 Original Android Development] deani77:
Does touch control supported by AK Kernel?

Sent from P6800 powered by CarbonROM
[Nexus 4 Original Android Development] chewu.pg:
Report for latest 227, used 20% uptime 4h, SOT 1,5h !!!!!! Awsome ! Thank you man :)
[Nexus 4 Original Android Development] Wulfric:
With the default kernel configuration?
[Nexus 4 Original Android Development] The Tox:
What rom ? Configuration ?!

Envoyé de mon Nexus 4
[Nexus 4 Original Android Development] chewu.pg:
Stock rom, tripndroid io scheduler, min freq 162mhz max 1512, fsync enabled(for some reason battery life is better when enabled) gpu max freq 320mhz, interactive cpu governor, max online cores:4,min online cores: 2, max boosted cpus:2... That would be it i think
[Nexus 4 Original Android Development] gorilla p:
You'll likely end up with better battery with Ondemand and battery saving set to 20. I haven't had any performance issues with 81mhz-min and 1350mhz-max. Just don't undervolt the 81mhz and 162mhz freqs as much.
[Nexus 4 Original Android Development] mammenj:
got a reboot while using the camera on c-rom with v227. sometimes I also get screen flicker.

attached logs
[Nexus 4 Original Android Development] gorilla p:
I was getting force closes with camera in c ROM with another kernel. Its likely related to bugs with the new camera. Try completely uninstalling camera, clearing cache and reinstalling camera from play store.
[Nexus 4 Original Android Development] ak:
No kernel related.

No.

No kernel related.
[Nexus 4 Original Android Development] tuilalnvinh:
I can't access AK site, does anyone have mirror for v227? Thanks :D
[Nexus 4 Original Android Development] fr3quency:
http://xdaforums.com/showpost.php?p=52225896&postcount=6526

AK always posts links to new version. If a new version is available, search for a post of his. :)
[Nexus 4 Original Android Development] y3mita:
Where or how do you set the battery saving to 20?
[Nexus 4 Original Android Development] ohad129:
Thx for that link there is some adreno update driver which one i should use if im on psx 4.0.4? Thx

---------- Post added at 05:45 PM ---------- Previous post was at 05:42 PM ----------

So 256 not to use it over F2fS??
[Nexus 4 Original Android Development] krystyuc:
[MENTION=3685904]ak[/MENTION] Noobish question: I use per-app modes for controlling my apps cpu,gpu,frequency,etc.

What is the custom path for gpu guvernator?
[Nexus 4 Original Android Development] Floydfire:
Want to share my battery with the latest kernel to know if is good info is:

Omnirom with art and new gpu driver;

Latest ak;

Setting: 81mhz-810mhz 1core min/4max boosted 3core undervolt -50(+25 default=75)

Enough performance for me and... There's the screenshots:

So how it's for you guys?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] gorilla p:
Idk how many times I've posted it. Recent AK builds are available at mirror as well as bit.ly/makostuff
[Nexus 4 Original Android Development] apb_axel:
echo XXX /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy
[Nexus 4 Original Android Development] malcho:
New kernel gives me good battery life.

Interactive governor,deadline scheduler...
[Nexus 4 Original Android Development] krystyuc:
One little problem,it show me

What should I type in :D ?
[Nexus 4 Original Android Development] ak:
"conservative"

ak
[Nexus 4 Original Android Development] krystyuc:
Yes,but i have only numbers :D
[Nexus 4 Original Android Development] apb_axel:
You can't use numbers I'm afraid, only text. But you can get the list of governors from:

cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/avail_policies
[Nexus 4 Original Android Development] tvisforme:
Anyone else notice that the battery gauge isn't working with this kernel and the latest nightly? It seems to stick until a reboot, then the new value sticks and so on.
[Nexus 4 Original Android Development] ak:
What is the battery gauge?
[Nexus 4 Original Android Development] beskalL:
what software to change the screen calibration colour?

I installed synapse as in second post, but no screen option.
[Nexus 4 Original Android Development] tvisforme:
Battery level.
[Nexus 4 Original Android Development] ak:
No problem here with the battery level.
[Nexus 4 Original Android Development] ak:
trickster or faux.
[Nexus 4 Original Android Development] gorilla p:
That's likely ROM related.
[Nexus 4 Original Android Development] tvisforme:
Thanks, seems to be working now after 3 or 4 reboots. Odd glitch though.
[Nexus 4 Original Android Development] fr3quency:
Minor bug. Don't know if it's Synapse's fault on the kernel's, but if I don't say it, we won't know. :)

When you disable Fsync on Synapse, the tick is still on. It GETS disabled(you can check it with Trickster), but Synapse says it's on.
[Nexus 4 Original Android Development] Almayce:
I noticed odd thing with last kernel. The battery circle is not showing the percentage when charging, it shows straight up charged. It must be kernel because I used this particular nightly with two previous ones. It's not really a problem, just observation. I'm gonna do a clean flash later though so I will report then if it changed.
[Nexus 4 Original Android Development] ak:
true .. im going to fix ... thanks a lot.
[Nexus 4 Original Android Development] Floydfire:
Why not implement all settings of the kernel only in synapse?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] fr3quency:
he doesn't have time

On a side note, disabling Fsync and turning on ART kinda fked up the Nexus 4. Red light blinking (NOT steady) when connected to a charger. Does connect to recovery but when turned off it displays the Google logo and shuts down. Thanks Fsync.
[Nexus 4 Original Android Development] Maibol:
that's part of the battery problem everybody is reporting [MENTION=3685904]ak[/MENTION] when you flash the kernel the battery goes to a very low state and throw a red light blinking, i charge it and i could boot the phone then i reboot the phone and the battery goes low again and red light blinking uninstall the kernel fix it.... i wait a lil bit until full charge try again and i has the same problem the battery goes low and i got the red light blinking again and i cant boot normally i wait a few minutes my phone died it has nothing of battery i wait for the phone to charge uninstall the kernel and i get 100 % on my battery very very weird issue but sorry i cant get a log at the moment im in a trip

bt way @ Konstantinos if you live your phone idle without touch it it will start to charge soon ;)

oops sorry i forget im running latest slimkat build i did a dirty and a clean flash trying to fix it
[Nexus 4 Original Android Development] fr3quency:
Thanks for the reply on my problem mate. :) The thing is: If I reboot to recovery(TWRP 2.7.0.0) you can see your battery level on top-right. When this happens, it doesn't show my battery level. It shows nothing, it's blank. My battery was almost full, about ~80%. Plus, the battery charging animation(the white battery that gets displayed when you turn off the phone) won't get displayed at all. If I simply press the power button, it won't boot. But if, while pressing the power button, I insert the charger will display the Google logo and then shut down.

The problem happened 2 TIMES WHILE GOING TO ART. Both on Velocity F2FS and ParanoidAndroid F2FS(now). It has never happened to me before. It happened on the newer version, mostly 219+

I have even wiped system, data & cache + re-flashing rom+gapps. Nothing worked. I had to revert to Stock Android both times. And getting fastboot to work while on USB(NOT charger) is a fking pain in the ass. You must be really lucky, or let go off the buttons at the right time.

Thank God I revived it, but if it's the kernel's fault that's a serious problem that should get fixed asap.

Edit: I hope noone tries to point me to the Nexus 4 red light final fix thread. I'm not in the mood for bullsht. Nothing in there worked for me both times...
[Nexus 4 Original Android Development] Maibol:
yes i got you bro just i didnt notice the recovery numbers is the same problem i describe and great that you fix it but if happends again just let the phoen sits for a half hour and connect it to the power and it will charge starting from 0% lol but it steel works that thing happens to me a few times playing games on the phone :)
[Nexus 4 Original Android Development] fr3quency:
Btw, when connected to the USB(with original cable) the touch isn't very responsive.... I have to either press really hard, or press again.
[Nexus 4 Original Android Development] karthi89:
Same thinking. It will be good to have a single kernel tuning app. As the latest kernel update is rock solid, IMHO ak can hold updating kernel, and work on synapse.
[Nexus 4 Original Android Development] tvisforme:
Umm, why exactly? It is one thing to enable Synapse to control everything so that you only need one app, but another thing entirely to restrict access to only one app.
[Nexus 4 Original Android Development] gorilla p:
Sorry, the setting name is "Powersave_Bias" under governor control in Trickster.

Sent From My Google NeXuS⁴

---------- Post added at 10:37 PM ---------- Previous post was at 10:36 PM ----------

ROM doesn't matter, just flash latest version.

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] ak:
All problems above aren't related to kernel.

it is difficult because I do this in his spare time, and unlike others it is all free.
[Nexus 4 Original Android Development] montbazon:
Ja, Your kernel is so good for now and forever[emoji13]

Gesendet von meinem Nexus S mit Tapatalk
[Nexus 4 Original Android Development] Almayce:
I can confirm the battery thing, left phone charging overnight>didn't charge at all. No red light though luckily.
[Nexus 4 Original Android Development] karthi89:
And this is the reason ur unique in XDA.
[Nexus 4 Original Android Development] krystyuc:
Same problem... :(
[Nexus 4 Original Android Development] ak:
You have to wrote to app developer.

ak
[Nexus 4 Original Android Development] Utkarsh-ezzo:
Its all good for me, I also left my phone on charging yesterday night and my phone charged to 100% without any problem,

I am on v227 and psx 4.0.4
[Nexus 4 Original Android Development] MementoMoriM:
All good here. It charged to 100% and now very well Ak227 with Mahdi ROM

Enviado desde la muerte a través de un Nexus 4
[Nexus 4 Original Android Development] Almayce:
Years it's some weird ****. Anyway I reverted back to 223 with stock kernel flash in between only to notice the same thing. So I tried rebooting and it started to charge UNTIL the settings on trickster got applied. Then it stopped, showed green fully charged light (actual battery was around 60ish%). Weird. I'm on 384-1512, 702max screen off, interactive, - 50uv, everything else is stock setting. Synapse boot was fine btw. I didn't change anything with it, yet.
[Nexus 4 Original Android Development] Utkarsh-ezzo:
Really weird it is.

May be you can try a clean flash of the ROM and cancel all your boot settings in trickster, it will solve your issue mostly..
[Nexus 4 Original Android Development] tvisforme:
Ak, thanks for the reply. Apologies if I was not clear. I wasn't suggesting that you need to work faster on Synapse. I was instead disagreeing with the member who suggested that kernel controls should be exclusive to Synapse and not accessible in other apps such as Trickstermod.
[Nexus 4 Original Android Development] Almayce:
Yeah, I rebooted and turned settings off which solved it. I then proceeded to put them back manually and the phone kept charging anyway. Like I said, weird. I will do a clean flash when I get home from work, I think that will solve it for sure.
[Nexus 4 Original Android Development] Floydfire:
I expressed myself wrong sorry, I think that synapse should have all the setting for the kernel because it's more friendly and also if someone want to use trickster doesn't have to change some setting on synapse, having two kernel tweakers is uncomfortable for me.. But hey I was not saying that anarkia should release it tomorrow or now, with time...

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] chewu.pg:
I think problem about battery is battery life extender in trickster... My phone didnt charge one night and i moved battery life extender from 50 to 100 rebooted and it was charginh normally and since than i havent had problems... Btw [MENTION=3685904]ak[/MENTION] can you explain what battery life extender actually does ? :)
[Nexus 4 Original Android Development] clockworkstop:
Is there a way to set screen off min freq?
[Nexus 4 Original Android Development] Targaeryan:
Battery extender- it stops the battery at your choosing %. Its mainly to stop overcharging of the battery so its life is extended.. By default, normally android charges to 100%, but drops straight to 99% after removing charger.. Using blx, you can choose the max % the battery is charged till.. Hope what I explained makes sense :angel:

---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------

Only max freq.. Why would you want to set min? The min freq you set for CPU is used a min screen off freq anyway..
[Nexus 4 Original Android Development] chewu.pg:
That explains their problems with charging...
[Nexus 4 Original Android Development] ak:
Trickster mod ---> screen off freq.
[Nexus 4 Original Android Development] apb_axel:
Hey guys, i wanted to help [MENTION=3685904]ak[/MENTION] so I started working on synapse a few days ago to add

A LOT

of different tunables we can't get on trickster or any other app. I'll probably release it soon when i fix a few more bugs i have. The cool thing about what I'm doing it's that it will be a flashable .zip that can work on any kernel (sort of like a universal kernel manager), that way ak or any other dev can focus on the kernel which is what we really want at the end. I'll keep you posted when i have en ETA.

I will be creating a different thread so we don't disturb this one.
[Nexus 4 Original Android Development] karthi89:
Great job dude.. Thanks
[Nexus 4 Original Android Development] blusydays:
That would be great, many thanks in advance :good:

I suggest you to make it also as an APK, so it can be downloaded over playstore. For the flashable zip try not to make it as a system app, so it can be uninstalled easily.
[Nexus 4 Original Android Development] ak:
Great I'm very happy ... Thanks man

ak
[Nexus 4 Original Android Development] chewu.pg:
Is it magic.... No no.... Its ak kernel !!! Awsomeeee
[Nexus 4 Original Android Development] Bonjo12:
Awesome! Did you change any settings?
[Nexus 4 Original Android Development] chewu.pg:
Ofc i did...:D interactive cpu governor, min freq 162mhz max freq 1,35ghz , conservative gpu governor , gpu max freq 320 , fsync enabled, tripndroid io, min cores 1, max cores 4 , max boosted 2... I noticed if you overcharge your phone battery is a LOT LOWER... Its best to take it off just when battery reaches 100%
[Nexus 4 Original Android Development] The Tox:
Not bad ?

Envoyé de mon Nexus 4
[Nexus 4 Original Android Development] karthi89:
Come on.. Post ur settings along with ur battery screenshots.. ?
[Nexus 4 Original Android Development] ak:
yes :highfive:
[Nexus 4 Original Android Development] illgodson:
Awesome thanks
[Nexus 4 Original Android Development] notbrodie:
Yes

Sent from my Nexus 4
[Nexus 4 Original Android Development] barome:
I can't set 487MHz to GPU. Trickster show me those stranges presets

128 / 200 / 320 and ... 487500000 ! So i can't chose the last one...

Édit : work after Trickster updated
[Nexus 4 Original Android Development] notbrodie:
Odd. It should be set to 487mhz by default. I've never changed mine and it shows 487. Try unchecking set on boot, then reboot. When it comes up, trickster should show the default 487

Sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
Self compiled or original kk?

try these steps:

- go to app and clear cache, data and force stop

- reload trickster

.... no problem for me.
[Nexus 4 Original Android Development] barome:
Everything work after Trikster update (Damned , i had an old version)
[Nexus 4 Original Android Development] dhurk:
How to change colors like stock 4.4?
[Nexus 4 Original Android Development] genkralyz:
yoy can use trickster, too > lcd preset to LG, then tap on set
[Nexus 4 Original Android Development] dimon2242:
I get freezes and glitches when transition between apps (4.4)!
[Nexus 4 Original Android Development] genkralyz:
thats normal since this is caf based kernel, you can solve that by disabling hw overlays from developers option.
[Nexus 4 Original Android Development] notbrodie:
Just thought I'd post this for anyone curious: battery life, all on mobile data, WiFi on but not used.

I'm quite impressed. changes from default AK: min 162/max 1728, Wheatley touchboost reduced to 1026, hotplug set to 2 cores min/max.

Sent from my Nexus 4
[Nexus 4 Original Android Development] ak:
I have merged last cm10.2 commits and now seems flickering is gone ....

Very very good!
[Nexus 4 Original Android Development] maverickronny:
trickster mod was working, i got an update today, seems after the update its redirecting to install busybox, how do i solve this?
[Nexus 4 Original Android Development] ivanich:
Anarkia, could you please merge last cm-10.2 commits to your jss-ak kernel?
[Nexus 4 Original Android Development] samuelrf:
so bad no bro? look mine...
[Nexus 4 Original Android Development] genkralyz:
yup because of the new update, just flash busybox_armv7.zip through recovery or use an app, the instructions are in their website ;)
[Nexus 4 Original Android Development] ak:
I cant .... i have to rebase all for do this ... but i think no more roms use JSS source .... what do you think?
[Nexus 4 Original Android Development] notbrodie:
Huh...? I don't understand. Yours seems like similar to mine, albeit you had more standby time

Sent from my Nexus 4
[Nexus 4 Original Android Development] Gnome:
4.4 works well with my build as always. Thanks [MENTION=3685904]anarkia1976[/MENTION]
[Nexus 4 Original Android Development] xenyz:
Wow, I have never seen screen at 50% before. That is a good sign of serious power savings.
[Nexus 4 Original Android Development] ernestnwanu:
Co-sign. Also would like to know what ROM has "batterysaver mode". Kernel working great on PSX though ?
[Nexus 4 Original Android Development] The Tox:
Cpu , max 1512 min 162 , interactive , gpu 320 , row , 1024 read ahead size , uv by -25mv , mahdi rom , waklelock blocker enabled , art

Envoyé de mon Nexus 4
[Nexus 4 Original Android Development] chewu.pg:
Actually i am on stock ROM butttt, its very important not to overcharge phone and take it just after it reaches 100% Thats the key to sucess
[Nexus 4 Original Android Development] Targaeryan:
I went down to 0% charging now... Ondemand, 1728/81 max/min.. Tripndroid with 1024 readahead, dt2w on, 4 max core 1 min. Using with liquidsmooth ROM..

Edit: UV -125 across except for 81 MHz its at 700mv..

Edit2: [MENTION=3685904]ak[/MENTION] , I came across this new governor, check it out if you have time! Gallimaufry (modded ondemand) from this kernel.. :D

http://xdaforums.com/showthread.php?p=22764929
[Nexus 4 Original Android Development] ak:
Thanks ,,, i can check it out .. If its good i can implement into next release ?

AK from N7 world.
[Nexus 4 Original Android Development] blusydays:
I know I already asked you this, but if you can also add Intellidemand it would be AWESOME :victory:
[Nexus 4 Original Android Development] xenyz:
Semaphore's ondemand is probably a more 'intelli' governor...
[Nexus 4 Original Android Development] jckwht:
what's tripndroid? a new IO scheduler and...what are its characteristics?
[Nexus 4 Original Android Development] Targaeryan:
http://xdaforums.com/showthread.php?p=43982260

Hope this helps
[Nexus 4 Original Android Development] The Tox:
[quote name="Kamikaze1995" post=52252341]What "Tripndroid" aim for? battery or performance? i googled a bit but i didn't find nothing :D[/QUOTE]

I don't have many info about it. It's a HTC scheduler. I think, if i'm not wrong, it's a better scheduler to waking screen but I prefer ROW

Quoted from barome post. ( hellscore kernel )

Envoyé de mon Nexus 4
[Nexus 4 Original Android Development] apb_axel:
All right guys! Initial release of the scripts is ready :victory:! What do you think shall I create a thread in "Nexus 4 General" or "Nexus 4 Android Development"? Bare in mind this is a collection of scripts that works with Synapse, I'm not developing any app.
[Nexus 4 Original Android Development] kalpik:
The general section seems more appropriate to me :)
[Nexus 4 Original Android Development] ak:
Yes very cool ... Thanks a lot. I have some useful links for you. [emoji7]

ak
[Nexus 4 Original Android Development] apb_axel:
Sure I'd be happy to look it over, I'll need all the help i can get. :laugh:
[Nexus 4 Original Android Development] ak:
infos

My links:

https://github.com/AndreiLux

https://github.com/osm0sis

https://github.com/bsmitty83

https://github.com/anarkia1976

https://github.com/Grarak

My synapse.bat for windows (testing on the fly):

@echo off
set hideErrors=n
set "errout= "
if "%hideErrors%" == "y" set "errout=2>nul"

echo.
echo Synapse Android Lab - On the Fly testing
echo by ak @ xda-developers
echo.

echo -----------------------------------------------------------
echo.
::adb connect 192.168.1.128
adb shell busybox mount -o rw,remount /
adb push synapse /res/synapse
adb shell chmod -R 755 /res/synapse
adb shell rm -f /res/synapse/config.json
adb shell /sbin/uci reset
adb shell /sbin/uci
adb shell sleep 1
adb shell am force-stop com.af.synapse
adb shell am start -n com.af.synapse/com.af.synapse.MainActivity
echo.
echo -----------------------------------------------------------

echo.
echo Done!
goto end

:end
echo.
pause

Nb:

- for adb wireless decomment this: "adb connect 192.168.1.128"
[Nexus 4 Original Android Development] apb_axel:
Thanks for all the help [MENTION=3685904]ak[/MENTION] :good:. I'll post the thread tomorrow I need to sleep :p
[Nexus 4 Original Android Development] Floydfire:
Just had a reboot, http://pastebin.com/0CNrQ76X what caused it?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] 3n3rg1c:
[MENTION=3685904]ak[/MENTION] I managed to fix antutu benchmark causing reboot by OC'ing CPU to 1.83 GHz. On my and my friend's N4. Still dont know the cause. it dose'nt happen on other kernel h3ll Docter etc..
[Nexus 4 Original Android Development] ak:
No kernel relaed.

I dont know.
[Nexus 4 Original Android Development] 3n3rg1c:
^^ I think I found out Seems like phone thinks battery is dead even at full charge..