yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] XsceneXhippieX:
I've used better battery stats to check out my wake locks before and I have wake lock blocker in the system built into liquid smooth that I'm using, I think the main problem is the small metal box I have to leave it in where I work blocking the mobile network mostly, but snapdragon battery guru turns off my mobile network after 30 minutes so it shouldn't be that terrible, I check it like 4 times a day for minutes at a time but that's it there, I could make things a bit more optimized but I don't really neeeed to :p I work 0500-1730 though, transit I use my phone a lot both ways honestly
[Nexus 4 Original Android Development] mammenj:
[MENTION=3685904]ak[/MENTION] is intelliactive baked in your kernel? I can set it using faux clock but not sure if it has any impact?
[Nexus 4 Original Android Development] gorilla p:
Yes its one of 5 or so governor options.

---------- Post added at 08:15 PM ---------- Previous post was at 08:11 PM ----------

Yeah idk if you saw my comment a few days ago, but I did the same because I remembered my battery life being much better a while ago and 4.4 is supposed to be better on battery life. The only real change was enabling s2w. It was killing my battery, approx 3-5%/hr. Not the estimated 1%/hr. Much happier without it.
[Nexus 4 Original Android Development] senthilrameshjv:
[MENTION=4362467]gorilla p[/MENTION], giving a shot again to AK.. Help with the color profile.
[Nexus 4 Original Android Development] gorilla p:
I know in trickster mod it has the LCD color presets under "tools" and then the color calibration settings under "screen"

I'm using the new c-rom now and it appears to allow adjustment of gamma settings.

I saw in the other thread where you said you said you had some random power off issues in the past. All those issues have been resolved here. The only power offs I've had is from undervolting, specifically undervolting the 81mhz freq too much.

Do you plan on setting this up for battery life, performance or a little of both?
[Nexus 4 Original Android Development] senthilrameshjv:
I don't play intensive games. Even games like subway surfer or smash hit one in a day. I want my phone to last longer. That's all.

I'm using LG preset under tools section of trickster. Didn't touch anything in uv
[Nexus 4 Original Android Development] gorilla p:
For battery, I would enable intelliplug and disable mpdecision.

I would then set frequencies to 81mhz (if it has trouble waking up, set minimum to 162mhz)

minimum and 13500 max

Maybe undervolt 25-50mv if you want to save a little more battery. Undo undervolting if it causes wakeup issue or reboots.
[Nexus 4 Original Android Development] ihancioglu:
Hi @ak,

I would like to ask you about undervolt interface for GPU. As soon as I see from the source , it is coded on clock-8960.c. But our SoC is 8964.

What is the reason of this?

Thanks,
[Nexus 4 Original Android Development] ak:
This is the answer

ak
[Nexus 4 Original Android Development] Utkarsh-ezzo:
hey yo [MENTION=3685904]ak[/MENTION] we also want AK 091 XGENESIS to rock ours mako...

[emoji16]
[Nexus 4 Original Android Development] TheNerd:]:
You accidentally showed us ak .91 what a tease :P
[Nexus 4 Original Android Development] poondog:
What a tease. It's not even in git haha
[Nexus 4 Original Android Development] ihancioglu:
Thanks for the answer.

Interesting information , board is APQ8064 but SOC is belongs another series 8960.

I was tried to undervolt GPU on acpuclock-8064.c,so it is useless, right?

Thanks,
[Nexus 4 Original Android Development] senthilrameshjv:
I see people saying they use 89 version while i see only 80 version in op. Could someone link me to latest version
[Nexus 4 Original Android Development] Targaeryan:
Hahahha ak is the only one with the new version. The latest one is 70. 80/81 has freezing issues :p
[Nexus 4 Original Android Development] Targaeryan:
Wohooo! Its here :D
[Nexus 4 Original Android Development] Gallardo994:
Great, thanks for the update! You're amazing, Ak! I hope the screen issue doesn't appear anymore, I really hope...
[Nexus 4 Original Android Development] ak:
What screen issue?

ak
[Nexus 4 Original Android Development] Connor Baker:
Hey @ak

What do you think about these commits?

https://github.com/mrg666/android_kernel_mako/commit/14944abb76fb80ef0443128052dbb2ce9ca9054c

https://github.com/mrg666/android_kernel_mako/commit/2fd74e181da4fb7c4798512b6679297ba0ce1c16

https://github.com/mrg666/android_kernel_mako/commit/04ac0fa57eb603f80d411e3764eb04b50afd856c

https://github.com/mrg666/android_kernel_mako/commit/e77efd66378a912348c2015264476b201ac198b4

And here's an explanation on this page as to why it was added in:

http://xdaforums.com/nexus-4/orig-development/kernel-mirage-nexus-4-stock-rom-3-4-76-t2485368/page65

Sorry for being a bother if this is already in, I just wanted to keep you aware of other interesting (or rather, things that I think are interesting) optimization and fixes. We can't expect you to catch everything!

Connor Baker
[Nexus 4 Original Android Development] ak:
Links are broken ... But thanks a lot.

ak
[Nexus 4 Original Android Development] Connor Baker:
Sorry about that. Here, try this: http://pastebin.com/PYhGzYEA

Connor Baker
[Nexus 4 Original Android Development] ak:
I think ondemand from sema is the best I can give it a shot.

Thanks for suggestions.

ak
[Nexus 4 Original Android Development] Gallardo994:
I used to have a situation when the screen doesn't turn on with 070.
[Nexus 4 Original Android Development] Connor Baker:
Who is sema? If you mean Semaphore, then this is that, but with additional adaptations.

Connor Baker
[Nexus 4 Original Android Development] xenyz:
Hey [MENTION=3685904]ak[/MENTION] have you tried using f2fs on mako ? If so, how is io performance?
[Nexus 4 Original Android Development] Connor Baker:
F2FS is faster on flash based drives, mainly because it was developed for it.

However, just like if you were to reformat your linux box's HDD from ext4 to zfs, it would wipe everything else.

Coming from the Infuse 4G, which used to have a BML format, we switched to yaffs2, then MTD. Every time, all data on the device was wiped, and compatibility was added so that you could reflash old ROMs and the partition format would change back. This resulted in a whole mess of scripts and formatting tools.

The problem with a new format is that while it may be better, faster, and have better integrity, it's not the standard. Users would have to reformat their entire device every time they flashed between kernels and ROMs with different formats.

So while F2FS is fast, and in general a better format for flash based memory than ext4 is, it isn't the standard.

http://xdaforums.com/google-nexus-5/orig-development/nexus-5-f2fs-t2668486

Connor Baker
[Nexus 4 Original Android Development] xenyz:
Do you know of any benchmarks on mako?

I think anyone using f2fs would be aware that you can only use kernels which support it after formatting.
[Nexus 4 Original Android Development] Connor Baker:
I do not, though I believe that the benchmarks between the 2012 Nexus 7. and Nexus 5 are comparable.

As for people being aware, you would be surprised what people are unaware of. People still trip up over the anykernel vs. boot.img packaging of kernels.

Connor Baker
[Nexus 4 Original Android Development] fr3quency:
Any way to add F2FS to Nexus 4? I don't care if I have to format everything. :D The N5 has it as you pointed out with your link, but our N4 doesn't. I feel left behind. :(
[Nexus 4 Original Android Development] Connor Baker:
Oh it's possible, and probably relatively easily done as well. The question is not so much how it should done, but more like who wants to se the time aside to do it.

Connor Baker
[Nexus 4 Original Android Development] xenyz:
It's not the device, it's the kernel being compiled with drivers to read f2fs file systems.

Read that link Connor posted; its a matter of reformating partitions, editing fstab and using a f2fs capable kernel.

If you have to ask, you probably shouldn't be trying it, though.
[Nexus 4 Original Android Development] fr3quency:
So it comes down to devs(and anyone with the skills/knowledge) and whether they want to test things out or not.
[Nexus 4 Original Android Development] xenyz:
Point taken. :)

---------- Post added at 08:26 PM ---------- Previous post was at 08:18 PM ----------

If I get some time this week, I am willing to try it out on my device. I am most interested in io boost for /data/cache. Small improvements could mean a huge performance gain, as the CPU spends most of it's time waiting for data.

I'll write some step by step directions if I can get it working.
[Nexus 4 Original Android Development] senthilrameshjv:
I get that even in 80. Reboot is the only thing that can solve
[Nexus 4 Original Android Development] mammenj:
no Wi-Fi on v93,

tried uninstalling and installing. also tried wiping system, install ROM, gapps then install v93. no luck with WiFi still
[Nexus 4 Original Android Development] mishamosher:
Same here with CM11 M4
[Nexus 4 Original Android Development] shylittlezerg:
Can you add sio if possible?
[Nexus 4 Original Android Development] y3mita:
Everything running smooth [MENTION=3685904]ak[/MENTION]

AOSPAL PAGapps.. Thanks much for your kernel sir
[Nexus 4 Original Android Development] ken_alpha24:
WOOHOO! AK IS BACK AND KICKIN! :good::good::good:
[Nexus 4 Original Android Development] M3drvr:
Same problem here. I can see all 2.4ghz networks and connect to them. The speed very bad though. I can't connect to any 5ghz networks ever since coming to 093 though. Even the same network I was on directly before flashing this kernel. Tried reflashing and clearing cache as well but no fix.
[Nexus 4 Original Android Development] 0.0:
same here. connecting to 5.0GHz networks does not work
[Nexus 4 Original Android Development] ak:
sio is inside

can you post logs?
[Nexus 4 Original Android Development] ak:
this isnt a flickering, you have sod.

try this:

- dont undervolt

- dont use low freqs
[Nexus 4 Original Android Development] 0.0:
here is the link: http://pastebin.com/eDKUKpHt

I hope that helps. I am using the CM version
[Nexus 4 Original Android Development] xtrymind:
i have try f2fs on mako,

here is benchmark using androbench on cm11

ext4 : http://i.imgur.com/Xfnv0ac.png

f2fs : http://i.imgur.com/lo7V7fB.png
[Nexus 4 Original Android Development] jimyiak:
So f2fs is faster than ext4??how did you try f2fs?

neXus⁴ running kitkat 4.4.2
[Nexus 4 Original Android Development] fr3quency:
I understood it's the kernel(obviously, the N5 thread points that out) but I don't have the knowledge on how to build a kernel with the specific things in order to get F2FS working. :)
[Nexus 4 Original Android Development] xtrymind:
I'm adding it to my cm build :p
[Nexus 4 Original Android Development] spupuz:
If intelliplug, scroff single core and boost enable and Mpdecision must be off?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] 0.0:
you can leave scroff single core on. the rest can be turned off
[Nexus 4 Original Android Development] poondog:
Doesn't matter at all. If mpdecsion is off then mpdec features like boost won't be available
[Nexus 4 Original Android Development] 0.0:
I tested multiple kernels and the cm kernel and it won't connect to 5ghz. It is broken on cm. Ak, you can disregard my log...

sent from my Nexus 7
[Nexus 4 Original Android Development] maxver0:
I can't connect to my 2,4GHz router on aosp.

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] jolinnard:
Are you saying you format /system and /data with f2fs and it works? It can't be so easy...
[Nexus 4 Original Android Development] xtrymind:
only data, and of course not only format with f2fs, kernel need to support f2fs too, like new ak
[Nexus 4 Original Android Development] jolinnard:
Of course... very interesting. Thanks.
[Nexus 4 Original Android Development] BestBrd:
Sorry,i flashed ak kernel over stock and i have no supersu binaries...i tried flashing supersu 1.94,but when i open supersu it says "no supersu binaries installed" ... i'm running v070 with stock rom...
[Nexus 4 Original Android Development] misterk267:
Seems 93 brings back the WiFi bug :(
[Nexus 4 Original Android Development] M3drvr:
I'm on aosp here. So not just cm being affected.
[Nexus 4 Original Android Development] maxver0:
Yep

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Original Android Development] montbazon:
My buffalo router works well

나의 Nexus 4 의 Tapatalk에서 보냄
[Nexus 4 Original Android Development] XsceneXhippieX:
how do you convert /data to f2fs? is there like a script or command i can run to get my /data turned into f2fs, i am interested in this but have no idea where to start to obtain it, all the threads i find on it are for the n5

also, no wifi bugs here at all on newest release cm only tested so far will test AOSP tonight
[Nexus 4 Original Android Development] stavca:
WIFI is ok in v93, but I have a problem with process called ksoftirqd/0 which uses about 23% of CPU all the time (when screen is ON) after flashing it over v70
[Nexus 4 Original Android Development] M3drvr:
Are you using 5Ghz or 2.4 Ghz bands though? My 2.4 works for the most part. But no go on 5Ghz.
[Nexus 4 Original Android Development] ak:
ksoftirqd is the IRQ handler. You may check /proc/interrupts to see which IRQ is under load.

can you post result?
[Nexus 4 Original Android Development] stavca:
sure, here is the file...
[Nexus 4 Original Android Development] puldag:
Latest slim 3.10, AK.93.aosp and also no WiFi.. Even so I can see another WiFi in my surroundings.. But no password to those so can't say if they works..

sent from mako
[Nexus 4 Original Android Development] jolinnard:
I think it would be easy if we have a recovery that supports f2fs (can we build a recovery which loads AK kernel?), in this situation a simple format should be enough. If not, maybe with a custom script in the first boot of the ROM.

In both cases, you need to format entire /data, so all emulated /sdcard should be backed up previously in your computer...
[Nexus 4 Original Android Development] XsceneXhippieX:
yeah im pretty familiar with that sort of thing, my n4 is actually a 16GB LGOG i converted to a 8GB n4 and then did a similar thing to convert my 8GB to 16 GB again so i think it should be fairly simple to accomplish but i have never even heard of this f2fs before mentioned in this thread where as ext4 is pretty common in linux environments as far as i know, i used a script to change my partitions the first time through, also i have no PC... which is proving rather problematic lately for me lol
[Nexus 4 Original Android Development] jolinnard:
[MENTION=3685904]ak[/MENTION] I built 093 yesterday, and I see differences in two zips (mine and yours), in fact these files are missing in your zip:

system/vendor/firmware/wlan/prima/WCNSS_cfg.dat
system/etc/wifi/WCNSS_qcom_cfg.ini

I know you have both in data/ak/wifi/prima, but I can't understand why, updater-script only copy them in /data. Are needed by Wifi in some way? In 070 no such files existed.

f2fs it's stable in lastest linux releases, and a very good hack (in theory). But to accomplish it we need a recovery with f2fs built-in.
[Nexus 4 Original Android Development] ak:
I have modded prima for load drivers from ak dir ... In this way no modding For compatibility is necessary

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] ak:
Finally i have probably found the f#####king reason of random freeze .... :D:D:D

2 weeks of test and the problem was related to a single one commit into ramdisk. uff.
[Nexus 4 Original Android Development] XsceneXhippieX:
WOOO! excited face lol
[Nexus 4 Original Android Development] barome:
Il had this freeze too with my kernels. What's the problem for yours ?
[Nexus 4 Original Android Development] ak:
do you have merged lmk whitelist?
[Nexus 4 Original Android Development] ak:
New kernel

[XGENESIS KERNEL v.101 - EXPERIMENTAL]

A kernel based on CAF CM branch.

uninstaller: ak_unistaller_mako

aosp: ak.101.xgenesis

cm: ak.101.xgenesis.cm

small changelog:

- new prima v.3.2.3.193_caf

- squashed random from faux n5

- squashed ondemand from stratos n4

- ecc ecc ecc
[Nexus 4 Original Android Development] barome:
No, where do you find this ?
[Nexus 4 Original Android Development] xenyz:
Nice one, ak. I've found it's a good improvement for ondemand while using it on another kernel.

With f2fs and now this, I can't wait to hack my mako :)
[Nexus 4 Original Android Development] jacomail95:
If i can suggest something, i've seen that SaberMod toolchain can contribute to battery life, i don't know if already implemented here. Just thinking :)

@ak, in future can you add support for CD-ROM emulation for DriveDroid? It can be useful when old machines cannot use USB drives to boot live Linux on XP PC. Like me ;)

Thanks for your efforts, never more changed kernel after yours :)

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] smartymcfly:
Drivedroid works when you use it as intended, the initial test in the drivedroid app doesn't check out but when you hook it up to a CPU it works.
[Nexus 4 Original Android Development] misterk267:
People are talking about F2FS support, but I'm a bit confused. Is it already implemented or no?
[Nexus 4 Original Android Development] ak:
Yes its supported

ak
[Nexus 4 Original Android Development] stavca:
I have random freezes with the latest releases v93 and v101, also problem with IRQ handler persists in v101, but I noticed that interactive governor is scaling much better than in v70 ;) anyway I switched back to v70 for now
[Nexus 4 Original Android Development] ak:
I have resolved all ... I have used custom ROMs for a long time but now I'm on stock and all work like charm.

I have see interrupt file posted but stats are normal.

Try a clean install

ak
[Nexus 4 Original Android Development] senthilrameshjv:
I'm just gonna try v101. Let me know if I get freezes. Btw, what ROM?
[Nexus 4 Original Android Development] Utkarsh-ezzo:
[MENTION=3685904]ak[/MENTION] v101 runs LIKE A BOSS man...

no issues so far, wi-fi is also good..

It is so snappy....

Just want a suggestion from you..which kernel control app is best for ak...?

I am using trickster but sometimes I feel its not par as like faux's kernel control app,

I know you are working hard on synapse....but till then is their any other option...???
[Nexus 4 Original Android Development] Rohit02:
KControl works good too. Worth a try.
[Nexus 4 Original Android Development] ak:
Sincerely no ... because all apps are built to be sold with the kernel related.

Im using this combo:

- trickster + synapse
[Nexus 4 Original Android Development] Utkarsh-ezzo:
Thanks man,

I am out of the thanks for the day, damn...

Yeah I am also using the same combo as you are...

---------- Post added at 11:58 AM ---------- Previous post was at 11:58 AM ----------

Thanks I will definitely give it a try....
[Nexus 4 Original Android Development] senthilrameshjv:
After random freeze, boom. Reboot. Here are the logs. Using stock kernel settings other than max Cpu to 1.3 gig. https://www.dropbox.com/s/3tpwl50684v1ita/2014-04-01_12.12.zip
[Nexus 4 Original Android Development] ak:
Probably related to last cm11 merge patches ... rcu! :)

i hope that fix:

http://lkml.iu.edu//hypermail/linux/kernel/1208.3/02216.html
[Nexus 4 Original Android Development] senthilrameshjv:
I can't understand much of it as you do. As long as you know something can be done to fix it, I am fine :)
[Nexus 4 Original Android Development] ak:
[XGENESIS KERNEL v.103 - EXPERIMENTAL]

A kernel based on CAF CM branch.

uninstaller: ak_unistaller_mako

aosp: ak.103.xgenesis

cm: ak.103.xgenesis.cm

small changelog:

- fix crash for irq handler

- add kgsl fixes

- revert one commits create boot problems

- ecc ecc
[Nexus 4 Original Android Development] 3n3rg1c:
f2fs compitable?? another why the frequencies automatically changes to 9xx mhz -1.3 ghz ???
[Nexus 4 Original Android Development] poondog:
1. yes you need compatible ROM too

2. because of msm-mpdecision boosting CPU on input
[Nexus 4 Original Android Development] 3n3rg1c:
^^ yup i know but kernel listed only by lego works for me..
[Nexus 4 Original Android Development] Utkarsh-ezzo:
[MENTION=3685904]ak[/MENTION] can I flash 103 on 101 without dirty flashing ROM...???

And yeah Thanks a lot for the fixes in such a short time....:good:
[Nexus 4 Original Android Development] stavca:
it seems random freezes are gone on v103 but problem with IRQ handler is still there, I can try it with clean install when I have time
[Nexus 4 Original Android Development] ak:
yes

can you post some logs related to kernel?
[Nexus 4 Original Android Development] suarez1907:
What is stable UV?

Nexus 4 cihazımdan Tapatalk kullanılarak gönderildi
[Nexus 4 Original Android Development] ak:
default.
[Nexus 4 Original Android Development] Utkarsh-ezzo:
that bug with spinlock is solved I can confirm that...
[Nexus 4 Original Android Development] ak:
thanks man.
[Nexus 4 Original Android Development] Targaeryan:
Ak you on fireeeee! 3 versions in 2 days. Awesomeness :D
[Nexus 4 Original Android Development] ak:
I have resolved all problems with my server .... and i have some ideas ... stay tuned.
[Nexus 4 Original Android Development] Targaeryan:
Nice! No probs so far.
[Nexus 4 Original Android Development] stavca:
I tried clean install and no luck, problem with IRQ handler persists :(
[Nexus 4 Original Android Development] misterk267:
Anybody able to comment on 103 WiFi stability with university WiFi?
[Nexus 4 Original Android Development] Gallardo994:
Yeah, I hope the freezes are gone. That was the only left thing which was keeping me on mahdi ROM's stock kernel. Good job, ak!
[Nexus 4 Original Android Development] ak:
work only with cm10.2 guys
[Nexus 4 Original Android Development] ak:
Impossible what rom?
[Nexus 4 Original Android Development] LorD SloN:
crDroid 23
[Nexus 4 Original Android Development] themike10452:
Deep sleep works brilliantly here! Best ever, way to go AK
[Nexus 4 Original Android Development] LorD SloN:
Can I fix it?
[Nexus 4 Original Android Development] ak:
You can use betterbatterystat

AK Caf inside :) now Free
[Nexus 4 Original Android Development] xain713:
So this won't work for paranoid android right? Unless I format then install? Or only cm
[Nexus 4 Original Android Development] ak:
I dont know, i have tested only with cm.

With PA this kernel dont work.
[Nexus 4 Original Android Development] ak:
I have one question:

I'd like to know who voted the thread in a negative way.

It 'a good thing to have the

courage

to explain why in order to understand where is the problem ...
[Nexus 4 Original Android Development] Goku80:
Uprated it for you mate. You like MBQ do great work here so don't let it get to you. Trolls will be trolls
[Nexus 4 Original Android Development] ak:
Im with you ... but i dont know why this trolls continue to piss me off.
[Nexus 4 Original Android Development] Goku80:
cause they are trolls..anyways i am on crdroid and i have to say great rom my friend i love what Cristiano has done:victory:
[Nexus 4 Original Android Development] cebulank:
Trolls will always troll, ignore them they don't worth the time and anger

Gesendet von meinem Nexus 4 mit Tapatalk 4
[Nexus 4 Original Android Development] spupuz:
can be flashed on jwr cataclysm rom?
[Nexus 4 Original Android Development] ak:
[CM10.2] STABLE KERNELS

ak kernel download: AK..0x012

Github Kernel: Link
[Nexus 4 Original Android Development] ak:
No man, i think you have to use:

- jss to jwr zip

- colorfix

- than kernel

But this is untested directly from me. ;)
[Nexus 4 Original Android Development] colarus:
Downloaded, installed, booted :highfive:

So far, so good. Thanks.

S2W works, don't know how get OTG work. Any suggestion?

Have OTG Support on TWPR, would be a "nice to have" for the Rom.
[Nexus 4 Original Android Development] ak:
Guys 76 download and only 13 thanks .... please press the button! :cowboy:
[Nexus 4 Original Android Development] evcz:
Nice, thanks!
[Nexus 4 Original Android Development] GAME ON:
can this kernel be used on PAC man ROM??JSS?