yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] ak:
new kernel

[XGENESIS KERNEL v.241]

A kernel based on CAF CM branch.

aosp: AK.241.EXODUS

cm: AK.241.EXODUS.CM

[INSTALL STEP-BY-STEP]

- go to recovery

- flash kernel

- reboot

- install synapse

- enjoy ak

- finish

changelog:

- synapse addictions + new hotplug tunable + sched mc + ecc ...

- fixed selinux

- merged myfluxi interactive + hotplug

- topology fixes

- ecc ecc ecc

see git for changelog.
[Nexus 4 Original Android Development] belictony:
Maximum CPU is limited to 1728mhz

Running C-Rom v6.4. Tried both v237 and v241 kernels. The max CPU frequencies are 1728mhz in both versions. GPU frequency is working normal at 487mhz.
[Nexus 4 Original Android Development] Gallardo994:
SELinux works fine. Thanks for the update :)

Tried Franco meanwhile. Gosh, it's so terrible in comparison with AK :D
[Nexus 4 Original Android Development] ernestnwanu:
2 CPUs always online is new default? Also max CPUs boosted = 3? Just checking because that's what I get now in Synapse
[Nexus 4 Original Android Development] XsceneXhippieX:
I flashed this and got similar results to what I got on 237, BSOD when locking the screen immediately after synapse and trickster get done setting on boot, I am uv'd as much as I always have, lowest freq is 81 and it's +25 from the rest in voltage, tripndroid io, ondemand gov highest freq 1.6 ghz, gentle fair sleepers and ksm turned on, screen calibration changed from stock and the adreno gpu from tardis installed, doing some testing today after work to determine what setting is causing the BSOD I'm getting every single time I boot the rom

Sent from my LGOG converted to a n4 running whatever I changed it to last night
[Nexus 4 Original Android Development] ak:
yes. if you want, change it with synapse.

yes max cpu freq is 1728Mhz
[Nexus 4 Original Android Development] Kaotiko77:
Last version works very fine here. Thanks a lot for your hard job another time!

Ultraspeedy n⁴ powered by PSX "Fat Lady" v4.0.6 & AK Exodus v241
[Nexus 4 Original Android Development] ak:
log?

what is bsod?
[Nexus 4 Original Android Development] Nekator:
I have the same default values.

Btw. I like the new build prop tweak . ;)

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] TheNerd:]:
Sleep of death ?
[Nexus 4 Original Android Development] XsceneXhippieX:
I will try to get a log asap but I just got to work so it may be a while, what I'm referring to with BSOD is when unlocking no graphics show up but the back light and the screen is black with no response to touch or anything really, and I'm on crom 6.4 for reference

Sent from my LGOG converted to a n4 running whatever I changed it to last night
[Nexus 4 Original Android Development] ak:
I never see this problem.

Im using madhi and omnirom.
[Nexus 4 Original Android Development] mammenj:
do we still need to flash n4ukm for synapse?
[Nexus 4 Original Android Development] kalpik:
Not if it's working fine without :)
[Nexus 4 Original Android Development] FrozenLord:
My backlight was set to exponential after applying this kernel update.

Could you please change it to the linear algorithm by default?
[Nexus 4 Original Android Development] ak:
Not true ... default is linear. check on your side.
[Nexus 4 Original Android Development] Nekator:
Yes default is linear (1)

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Original Android Development] FrozenLord:
OK.

For some reason my phone used exponential after flashing ...
[Nexus 4 Original Android Development] michelemascia7:
I had a reboot :/ this is my last logcat : https://www.dropbox.com/s/dfniwquyx60sp14/logcat.log

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] kalpik:
[MENTION=3685904]ak[/MENTION] my friend, you've outdone yourself with v241. Really smooth! Smoothest this kernel has ever been IMO :)
[Nexus 4 Original Android Development] shard111:
AK, good sir, may I ask what the difference is between the standard ondemand and stockondemand governors are?
[Nexus 4 Original Android Development] ak:
Ondenand = semaphore ver

Stock demand = caf ver

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] Giox96:
initiating synapse tells me: "No UCI support detected"

I have AK 241
[Nexus 4 Original Android Development] ak:
Related to ROM side

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] Targaeryan:
Great new version as always my friend. :D
[Nexus 4 Original Android Development] Gallardo994:
Does your ROM support init.d?
[Nexus 4 Original Android Development] Pollie81:
until now I never had this issue except when I just wanted to update to 241.

in ukm topic there is a last update in the messages, I believe it's 1.4.1. this one did the trick for me..

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] XsceneXhippieX:
It was from the list freq being 81mhz gonna change my voltage scale tonight, no issues so far with 162 as the lowest freq

Sent from my LGOG converted to a n4 on C rom with AK kernel and T.A.R.D.I.S. mod
[Nexus 4 Original Android Development] Gallardo994:
Use 675mv for 81mhz, I've been using it for a week and I've got no issues so far.
[Nexus 4 Original Android Development] ak:
[emoji6]

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] H-Body:
I'm just interested in it, are you using davlik or art, ak? :)
[Nexus 4 Original Android Development] ak:
Dalvik ... ?

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] orangestrawberry:
Great kernel. How do you enable the s2w feature?
[Nexus 4 Original Android Development] eep2378:
Trickster mod app.
[Nexus 4 Original Android Development] orangestrawberry:
I have the trickster app. Where exactly are the settings or am I missing something? Many thanks
[Nexus 4 Original Android Development] justthefacts:
I'm on N5 port. I enabled s2w by script but it's not working. What am I missing?
[Nexus 4 Original Android Development] orangestrawberry:
Found it. Thanks. Working great

---------- Post added at 01:04 AM ---------- Previous post was at 01:03 AM ----------

User the trickster mod app. Go to 'specific' page and scroll down to bottom to enable
[Nexus 4 Original Android Development] justthefacts:
But why doesn't the script stick?

Found the answer......Busy Box
[Nexus 4 Original Android Development] genkralyz:
Trickster -> Specific tab -> Scroll down and you will see there ;)
[Nexus 4 Original Android Development] piasek1906:
Hi All ;)

Can someone waiting for this.

AK-Piasek.103JW = Ak.103JW + Franco Gamma Control + Double Tap 2 Wake - s2w/s2s

If you like it click Thanks ;)
[Nexus 4 Original Android Development] saint_cow:
I have started to get the graphical glitches again on the latest kernel
[Nexus 4 Original Android Development] uncola:
This kernel is incredible, this is the first kernel other than franco that I've tried. Has the fast wifi prima drivers and supports cm 10.2 jss.. and it also supports slide to wake and sleep.. now I feel like I wasted money on gponury touchcontrol.. oh well
[Nexus 4 Original Android Development] genkralyz:
try to change your default governor to Interactive and see if flickering still persist ;)
[Nexus 4 Original Android Development] paulo_cv:
Setting the min frequency to 162 got me near a SOD so I'm back on the default 272
[Nexus 4 Original Android Development] VyktorJonas:
were can I get the lastest radio/modem? I'm runnin AOSP 4.4 with AK Kernel and wifi doesn't work

EDIT:

nvm it was my internet connection, but anyway, where can I get the latest radio/modem?
[Nexus 4 Original Android Development] saint_cow:
Are these settings in memory management normal or is it something the kernel is doing? I haven't touched them
[Nexus 4 Original Android Development] ak:
Its normal.

You can use radio/modem of 4.3 rom.

Thanks a lot

No ... im waiting source.

Thanks a lot ... you are a gentleman.
[Nexus 4 Original Android Development] ak:
Thanks a lot for your hard work .... is there a possibility to have the source of d2w + s2w?
[Nexus 4 Original Android Development] kalpik:
Still getting *some* flickering on kitkat, though a lot less than before!
[Nexus 4 Original Android Development] warfexion:
how do I enable d2w?
[Nexus 4 Original Android Development] genkralyz:
try to use interactive gov, and see ;)

Sent from my Nexus⁴
[Nexus 4 Original Android Development] kalpik:
I am on interactive only :)
[Nexus 4 Original Android Development] XsceneXhippieX:
your phone seems to function better than mine :p im not sure what was causing my issues but they seem to be reproducable, ill try to get a log after work as i said before about my black screen of death, glad to be back on AK
[Nexus 4 Original Android Development] TheKnux:
I'm using Nexus 5 Experience and I was flashing between AK kernel and [MENTION=2923435]barome[/MENTION]s kernel and I was getting SOD's all the time no matter what settings or what kernel. I tried converting my filesystem to F2FS, but failed, so I ended up clean installing my rom even though I didn't want to, and I've been flashing kernels since and no SOD.

Sent from my 1961 XP-755
[Nexus 4 Original Android Development] gorilla p:
Everyone's phone a are different. My phone is fast binned and I can't usually run 81mhz at 675. I leave it at 700

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] Gallardo994:
Every phone is different. Try using 700mv then. Or don't use it at all cause it doesn't have enough power to wake up.

Having "faster" processor though. The voltage table is simple: -125mv per freq and +25mv to 81mhz. You have to test your own settings then.
[Nexus 4 Original Android Development] PityOnU:
Having some issues getting this running on Google factory image 4.4.2 (stock ROM). Steps:

1. Flash stock ROM

2. Flash CWM Touch Recovery

3. Boot Android and copy SuperSU.zip and akssupercoolkernel.zip to /sdcard

4. Reboot into CWM and install SuperSU and then this kernel

5. Wipe cache and user data

6. Reboot

First thing I'm greeted with is WiFi that will not turn on. If I force past that and install Synapse via adb I then get "No UCI support detected"

WTF!? I'm pretty sure what I'm trying to do is the absolute most basic install ever, and everything breaks. Is there a specific modified ROM I have to use with this? All I want is vanilla with this kernel :confused:
[Nexus 4 Original Android Development] xenyz:
I believe ak put the wireless config in user data partition, so don't wipe it, or wipe it and then flash kernel. FYI you never have to wipe cache/data for kernels; it's separate from user space and a waste of time on that first boot.

As for Synapse, I had to clear app data to get it going.
[Nexus 4 Original Android Development] PityOnU:
Ah, I see.

Hm. So that fixed the WiFi problem. Still no UCI support. I'm not seeing the uci symlink at /system/xbin/uci at all. There is also no /data/N4UKM/ at all.

Do I need to flash another .zip? Specifically the N4UKM.zip? If so, where is that?
[Nexus 4 Original Android Development] xenyz:
It's possible that CWM is not running the install scripts properly. Try using TWRP?

Edit: if the steps you posted were the exact steps, you're missing one: you have to install busybox as well for the init.d scripts to work, which set up N4UKM on boot.
[Nexus 4 Original Android Development] PityOnU:
Thanks! The solution was busybox. So the actual install steps are (for AOSP/factory image):

1. Install ROM

2. Install TWRP

3. Boot and copy SuperSU.zip to sdcard

4. Reboot into recovery and install SuperSU

5. Boot into Android and install BusyBox via BusyBox on Rails

6. Copy akskernel.zip to sdcard

7. Reboot to TWRP and install akskernel.zip

8. Boot Android and create a symbolic link to /data/N4UKM/uci from /system/xbin/uci

9. Install synapse

10. Profit!
[Nexus 4 Original Android Development] ahepas:
mille grazzie for the kernel...nice job AK!
[Nexus 4 Original Android Development] PityOnU:
Using a kernel hack or something similar, is it possible to global limit the frame rate to a certain fps? I can see this can limit the maximum clock rate of the GPU, but what I'm really interested in is limiting the work the GPU has to do in the first place in order to save power.
[Nexus 4 Original Android Development] Gallardo994:
Change GPU freqs and voltage. That's the only way to limit it.
[Nexus 4 Original Android Development] apis10:
Can someone please point me to a good app for screen calibration.

I find the overall colours a bit dark for my taste.

Thanks
[Nexus 4 Original Android Development] Gallardo994:
Synapse can change colour profiles.
[Nexus 4 Original Android Development] chewu.pg:
[MENTION=3685904]ak[/MENTION] What do you think about including Frandom into your next build :)

http://billauer.co.il/frandom.html

What do you think of it?
[Nexus 4 Original Android Development] Gallardo994:
Does someone use the latest kernel with multirom? If so, can someone say if it makes friends with Synapse and etc? Thanks
[Nexus 4 Original Android Development] Cleverfish:
hello @ak,

i got an error when opening Synapse (refer attachments) and here are some logs (refer attachments) that i copied from catlog.. maybe [MENTION=4167023]AndreiLux[/MENTION] can shed some lights also?

currently i'm running on stock AOSP rom with latest busybox and some xposed module.
[Nexus 4 Original Android Development] ak:
Thanks a lot ... this error is reported on git .... for fix you can close/open the app. ;)

New synapse is out:

Version 0.34 update:

- Added a settings screen:

You're able to choose to enable or disable the boot service.

You're also now able to choose from a couple of new background themes. Keep in mind the translucent one uses a bit more memory.

- Fixed a memory leak issue which occurred when entering/leaving the app by the back button, caused by elements not being properly destroyed in the lifecycle.﻿
[Nexus 4 Original Android Development] AndreiLux:
Huh? The above error was because the script returned no value.
[Nexus 4 Original Android Development] Cleverfish:
already tried but still the same.. rebooting my phone also didn't help it. next i will try to clear Synapse data or re-install it.

Edit: still a no-go..

Sent from my GT-I9500
[Nexus 4 Original Android Development] ak:
No sorry frandom increase drain for battery.

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] Cleverfish:
no value means it didn't find my build.prop?

Sent from my GT-I9500
[Nexus 4 Original Android Development] apb_axel:
It probably means your build.prop doesn't have that value, what ROM do you have?
[Nexus 4 Original Android Development] Cleverfish:
im using stock rom.. mind if i'm asking, actually what is Synapse reading in build.prop?

Sent from my GT-I9500
[Nexus 4 Original Android Development] apb_axel:
Wifi Scan Interval. Basically the time the wifi scans for channels. You can check if it exists in your build.prop by running "getprop wifi.supplicant_scan_interval" in terminal emulator
[Nexus 4 Original Android Development] Cleverfish:
i've already type it in terminal and it returns "null" when i press enter. but when i open my build.prop using root explorer, the "wifi.supplicant_scan_interval" was there. wonder what cause this.. so it's not Synapse fault.

Sent from my GT-I9500
[Nexus 4 Original Android Development] apb_axel:
I'll fix it on the next version ;)
[Nexus 4 Original Android Development] jolas:
@ak,

Latest version is very smooth (it feels smoother than v.227, I previous used).

I'm waiting for some circles of charges-recharges to figure out about battery life.

Thank you!

Sent from my Nexus 4
[Nexus 4 Original Android Development] chewu.pg:
[MENTION=3685904]ak[/MENTION] thanks for your reply, 1 more suggestion. Have you ever thought about implementing better governor in place of conservative, like smartassv2, smartmax or zzmove
[Nexus 4 Original Android Development] gorilla p:
It is an uninformed statement in saying that they are simply "better". They serve very different purposes. Conservative is clearly for those who are willing to give up some performance in order to improve battery life. There is also nothing that requires that those governors be added instead of conservative as they could simply be added without removing conservative.

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] ak:
Stay tuned ... The new interactive from [MENTION=4152171]myfluxi[/MENTION] is fantastic.

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] Cleverfish:
[MENTION=228989]abp[/MENTION]_axel and @ak,

for an unknown reason, Synapse can read my build.prop.. i just don't know what had happened, the phone went hot and i rebooted it. after 1st reboot, Synapse cancelled my boot settings and all cpu cores went crazy.. so i rebooted my phone for 2nd time. now all went back to normal, Synapse didn't show any errors. strange..

Sent from my GT-I9500
[Nexus 4 Original Android Development] ak:
new kernel

[XGENESIS KERNEL v.243]

A kernel based on CAF CM branch.

aosp: AK.243.EXODUS

cm: AK.243.EXODUS.CM

changelog:

merge hotplug and interactive from myfluxi

default interactive governor

linux 3.4.90

merge cm11 fixes

merge synapse and add tunables

ecc ecc

please press thanks a rate the thread

ak
[Nexus 4 Original Android Development] ak:
OP Update

[EXODUS - SYNAPSE KERNEL CONTROL]

N4 Universal Kernel Manager (N4UKM) is:

by @apb_axel

Dynamic scripting and control designed and developed for Synapse app.

Xda Link

Nb for the developer:

I have to thank you @apb_axel from the heart for the fantastic support and for the nice words expense.

Nb for the Users:

All the features are fully merged ... they are loaded when new kernel is flashed.
[Nexus 4 Original Android Development] scarcry:
I just flashed 243 CM and rebooted (coming from 241 CM).

I changed CPU governor from on demand to interactive.

Now when I try to restart synapse it says: mount: no such file or directory.

when I close and reopen synapse interactive governor did stick however.

Mako running LS on AK Exodus kernel
[Nexus 4 Original Android Development] apb_axel:
Thanks [MENTION=3685904]ak[/MENTION] it means a lot to me. But really we all should thank you for your amazing kernel and all your help, without you here working on the Nexus 4 i think we would all jump to another phone (especially me :p). BTW running v.243 and it's blazing fast! :laugh:
[Nexus 4 Original Android Development] karthi89:
Second core seems to stuck at 1.4ghz, when min online cores set to 2.

Edit:: running 241 and all working fine. And am not using n4ukm
[Nexus 4 Original Android Development] upilguebu:
Best combo with lastest nightly Carbon ROM. Makes my mako fly. Good battery life. And HD games run very smooth. Good job [MENTION=3685904]ak[/MENTION] . I always follow you kernel development since I use mako. (Y)
[Nexus 4 Original Android Development] gorilla p:
You have a valid point and to that end I can see why some MFRS try to lock their boot loader and block rooting.

I for example could get a N5 and even if I could afford the GS5 or HTC One right now, I have no desire too. The N4 XDA community is awesome. The performance and features of the Roms. And kernels are amazing.

Sent From My Google NeXuS⁴
[Nexus 4 Original Android Development] Pollie81:
this kernel is seriously awesome, I have tried many different kernels but after flashing AK's I stopped.. have been using AK since.. combined with mahdi I suddenly lost my flashing addiction! :)

so AK; thank you for all your hard work!

also apb_axel's work is awesome, now we have all the needed features in synapse..

one hell of a team we have here!

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Original Android Development] xenyz:
Agreed, ak has been hitting it out of the park with the recent releases. Thanks for hacking my mako!
[Nexus 4 Original Android Development] blusydays:
Look at this, this is awesome :victory: ( under AK v241 )
[Nexus 4 Original Android Development] TheNerd:]:
Good man it looks like you're running vanir and mianogen
[Nexus 4 Original Android Development] H-Body:
Damn, this is a masterpiece! So ****ing smooth and fast, great job ak! :good::good:
[Nexus 4 Original Android Development] blusydays:
Yes for Mianogen, but no for Vanir. I'm using a french rom ( Slimkaterator ), one of the best roms I've tried :good:
[Nexus 4 Original Android Development] TheNerd:]:
Ohh so that's slim with theme engine and other tweaks I suppose?
[Nexus 4 Original Android Development] 3n3rg1c:
Awesome [MENTION=3685904]ak[/MENTION] this is the only kernel I am using over month continuously without flashing other kernel, even for testing purpose. I am very satisfied with the kernel. Great combo of ak kernel +Mahdi ROM / PAC ROM
[Nexus 4 Original Android Development] ken_alpha24:
Sorrym it's been awhile since I got here. How to install this kernel again with synapse? Lol
[Nexus 4 Original Android Development] lonnieboy:
Just install synapse first, then flash the kernel. All the setting should be there.
[Nexus 4 Original Android Development] 3n3rg1c:
^^Flash kernel frm twrp and install synapse from google play store
[Nexus 4 Original Android Development] ken_alpha24:
How bout the N4UKM?
[Nexus 4 Original Android Development] 3n3rg1c:
^^Already integrated..
[Nexus 4 Original Android Development] blusydays:
Slimkaterator + Xposed + HKTheme manager + Mianogen.

In Synapse, I UV the CPU to -100mv / CPU Multicore saving at 1 / GPU at 320 Mhz UV -50mv.

;)
[Nexus 4 Original Android Development] mimsiroll:
Latest 243 update is smooth and stable compared to 237 and 241 having Stutter's on those earlier version but now...ak, you're doing wonders lol!
[Nexus 4 Original Android Development] Yadro:
Hello.

Thanks for your continious work.

I am having a problem i havent encountered with other kernels.

My screen flashes whenever i open youtube,a game or read a sms.

Anyone knows a fix for this?
[Nexus 4 Original Android Development] mimsiroll:
First page

Q: How i can resolve problem with overlay and flickering with Kitkat and Jw roms?

thanks to [MENTION=5403224]Targaeryan[/MENTION]:

Code:

go to Developer options and enable "Force GPU rendering" + "Disable HW overlays".

Or c0 on

C1 off

C2 off

C3 on

Try if it mended the problem
[Nexus 4 Original Android Development] Yadro:
Thanks.

I feel stupid for not checking that out first.
[Nexus 4 Original Android Development] nadavar:
243 is a new definition of smoothness, thanks
[Nexus 4 Original Android Development] ak:
all thanks goes to:

@myfluxi <- interactive and hotplug revolution

@apb_axel <- scripting

@Christopher83 <- toolchain

@AndreiLux <- synapse

;)
[Nexus 4 Original Android Development] FrozenLord:
@AK: I really like what you did with this kernel.

243 runs perfectly smooth on my mako and - if the thread reordering works - should save battery as well.

Thank you very much for your hard work and the load of updates lately :)
[Nexus 4 Original Android Development] Almayce:
Hey guys, got a question regarding synapse. I have 3 saved profiles, but it shows only the last one that I created. Others not. I checked the folder in SD card and they are all there, just not showing in the app itself. I have the latest synapse with axels zip(1.5 ver)

...

Forgot the question itself. How do I fix this?
[Nexus 4 Original Android Development] mimsiroll:
I feel you bro, having the same problem though..apx and ak needs to check the bug on the save tabs
[Nexus 4 Original Android Development] apb_axel:
Works fine for me. Did you guys hit the Restart Synapse button in the same screen to update lists?
[Nexus 4 Original Android Development] Almayce:
I can see them now, but I had to restart phone for some reason. When I hit the Restart in the app it didn't appear.
[Nexus 4 Original Android Development] ak:
I have a chance to have a HTC m8... What do you think guys?

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] kalpik:
It's an *exceptional* phone! Go for it :)
[Nexus 4 Original Android Development] blusydays:
Hope you're not going to stop developing for the N4 ;)
[Nexus 4 Original Android Development] ak:
No for now ... But I have 2 possibility for bought m8:

- sell my n4 and and n7

- use donations but I have received 0 into last 1.5 years

Ak from Dante's Inferno!
[Nexus 4 Original Android Development] xenyz:
We need to have an ak donation drive so he doesn't get rid of his N4.