yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Luigiesin:
Try playing with your frequencies and max loads... I find the real difference in smoothness lies on those settings...

Stock kernels usually run with higher frequencies and lower loads... That's why they seem to be smoother.... But they will be less battery efficient...

You can do the same with Franco's playing with those numbers until you find your sweet spot... And you won't see lag whatsoever.

I hate lag as well.... I spent 5 days tweaking those numbers until I found the perfect balance of performance (no lag) and battery efficiency... For my configuration.

At least here you have options... With stock is basically one way Jose.

Lu
[Nexus 4 Original Android Development] Koraboros:
Have you tried performance in demanding games? I believe this kernel is throttling way too early resulting in a lot of lag. In the meantime I went back to R23 which lessens the throttling somewhat but I believe it's still present. Stock throttling limits would be fine IMO, since they already affect benchmarks, no need to throttle it further.
[Nexus 4 Original Android Development] franciscofranco:
Stock uses Thermald **** from Qualcomm, this kernel doesn't use that.

By the way I won't be much active the next 5 days, I'm at CES working and time is very limited. If anyone is around I'll be at the Texas Instruments and Hyundai booths.
[Nexus 4 Original Android Development] manjee:
Do you use trickster mod?

If so try to uninstall it (clear app data before). It force enables fast charge...

The same happened to me.
[Nexus 4 Original Android Development] Hrithan2020:
Wish you good luck. :)
[Nexus 4 Original Android Development] Luigiesin:
I haven't tried performance... I don't game with my phone... I do with my Nexus 7 which I keep stock... And also my xbox of course.. LOL!

Try performance governor and report back... Also if r23 works better for you then you should use that... Everybody uses the phone differently...

Maybe change your I/O to deadline again... Probably the game you're using tends to use some more RAM caching and the ROW scheduler is causing some write delays.
[Nexus 4 Original Android Development] Net.silb:
Enjoy CES!!!

Hopefully Google will release 4.2.2 right after that with some nice fixes!
[Nexus 4 Original Android Development] vomer:
I am calling it - TI powered android smartapp in a Sonata powered by franco kernel lol :highfive:
[Nexus 4 Original Android Development] Bigzinewicz:
Wish I could be at CES but at least everything on r28 is running smoothly enough so see you when you return franco and thanks again for this kernel I'm running you're kernel on my N7 as well and both are vastly improved over stock.
[Nexus 4 Original Android Development] Prod1702:
I do believe Franco mades changes to the throttling settings after 23. This was due to the heat that he and others were seeing. I would agree with you that the throttling now is really bad and is way to early. The way it was before the throttling changes Franco made were fine. The only time my phone got hot was during game. Yes the phone got warm during things that that is ok since I am using it and its going to get warm. Hot and Warm is 2 different things. I am unable to play some games that i could play before because the throttling hits way to fast now. I do hope Franco is looking into this. I do not have problems doing normal stuff it is only games that stress the phone.
[Nexus 4 Original Android Development] scream4cheese:
It's working fine for me. I'm using my LG Bluetooth and my ps3 rocket fish headset and it works.

Try turning off the Bluetooth device and on again and the n4 as well. After that try turning on Bluetooth mode again.
[Nexus 4 Original Android Development] Koraboros:
I've actually always used the deadline scheduler.Thanks for the suggestions I'll stick to R23 for now.
[Nexus 4 Original Android Development] franciscofranco:
Eheh nah, we are going to unveil something different, Android related but its not mobile, its automotive. Thats all that I can say at this point.

Go to sys/modules/auto_hotplug/parameters/enable_all_threshold and decrease 600 to 500 and let me know how that helped on gaming. Use r28 to test this plz.
[Nexus 4 Original Android Development] mobilehavoc:
So is cloudcar coming out if stealth mode finally?
[Nexus 4 Original Android Development] franciscofranco:
Not yet, in February I believe, but not 100% sure... I don't see the reason though, but I'm not the one to decide.
[Nexus 4 Original Android Development] mobilehavoc:
Your website is very mysterious. Lol.
[Nexus 4 Original Android Development] sv3n:
I think it never Got answered: are we going to get gamma control...thats the only thing missing To beat faux!
[Nexus 4 Original Android Development] Koraboros:
I haven't edited files like those before... Do I just change it to 500 and reboot? Do I need a reboot at all? It seems like it went back to 600 after rebooting.

Thanks.
[Nexus 4 Original Android Development] deltatux:
Agreed, seems like the solution to the music stutter is still under debate since it works for some but not for others. I've done the same and music still stutters like someone has a speech impediment.

deltatux
[Nexus 4 Original Android Development] ticiano_arraes:
That's odd, never had this. Whatever, stay with what makes you happy
[Nexus 4 Original Android Development] Akath19:
I've been testing and the stutter has something to do with audio transcoding, in the Google Play Music help page it says that FLAC, AAC and ogg are transcoded on-the-fly to 320kbps mp3 and those are the formats that stutter for me.

I even converted my FLACs to mp3 ans the stutter stopped, so that's probably why not everyone hears the stutter, most people only hear mp3s.

Try testing the stutter with mp3s and report back please.
[Nexus 4 Original Android Development] deltatux:
That transcode only happens if you use Google Play Music the service, not the player. The player does not do the transcoding, I don't use Google Play Music the service (not available in my country). The player plays AAC directly.

deltatux
[Nexus 4 Original Android Development] Akath19:
Then maybe it has something to do with sampling rates, all my FLAC files are 96kHz files, yet the supported media formats page says that files up to 48kHz are supported.

Maybe that downsampling is what kills the audio processor?
[Nexus 4 Original Android Development] deltatux:
Can't answer since I don't use FLACs, I only use AAC at 48 KHz.

deltatux
[Nexus 4 Original Android Development] Akath19:
Well, the page does say that 48kHz AAC is supported and not downsampled, now I'm at a loss here.
[Nexus 4 Original Android Development] jokkir:
For anyone that has the paid version of the Franco Kernel updater:

This may sound really stupid but do some of the controls support other kernels? Like enabling fast charge, change CPU clocks, undervolting and whatnot? Since it's on sale and I was thinking of getting this or the Trickster Mod donation version
[Nexus 4 Original Android Development] restlesssoul:
I'm having stutter when using ViPER4Android with n7player... When I use Neutron Music Player with no music effects, have no stutter
[Nexus 4 Original Android Development] franciscofranco:
The same issue happens on the N5. My guess is that the device needs to use more than 1 core during screen off when those on-fly-transcodes happen, since we're only using 1 core to achieve maximum deep sleep state that *may* be the reason. Since I cannot reproduce the issue and I think achieving a deeper sleep state is more important than this, I'm inclined to wait until Google does something about it.
[Nexus 4 Original Android Development] franciscofranco:
Pushed r196:

* Severe performance improvements, specially for gamers. Check github for patches details

Thanks [MENTION=3614073]Miasmic[/MENTION] for the detailed tests through all the Kernels I sent.
[Nexus 4 Original Android Development] Hanny:
Riptide GP2 timer_rate 30k performance caught up 20k performance in final r196

Don't forget they are average fps range, not momentary ones which can fluctuate to whatever. It requires the entire fps value range to shift higher in order to change an average fps!

[MENTION=3292224]franciscofranco[/MENTION] yw, I am proud to test for you :cowboy:
[Nexus 4 Original Android Development] Akath19:
Hey franco, I just found this link in SlimKat thread:

https://android-review.googlesource.com/#/c/70749/

It's a Google patch for broken FLAC playback, perhaps this is the audio issue that some of us have had since KitKat was released.
[Nexus 4 Original Android Development] franciscofranco:
I wouldn't be surprised, good catch.
[Nexus 4 Original Android Development] deltatux:
Even if it does patch the FLAC issue, it doesn't seem to fix stuttering AAC playback though...

deltatux
[Nexus 4 Original Android Development] Akath19:
My guess is the overflowing happens on all lossless formats, so it'll probably fix the AAC issues as well.
[Nexus 4 Original Android Development] deltatux:
Problem is that AAC is not a lossless codec. Also, if you look closely to the patch, they reverted the signed checking overflow in FLAC, that means they removed it, not added it in this patch.

Secondly, the patch only affects the libFLAC/Android.mk file, I highly doubt libFLAC handles AAC playback, that's likely one of the codecs that ffmpeg uses (which is what PowerAMP uses) or the core Android audio library uses (which Google Play Music uses).

deltatux
[Nexus 4 Original Android Development] Akath19:
You're right, there's a dedicated AAC library and there are a lot of open patches for it, hopefully one of those gets accepted and will fix your issues.

Try checking gerrit and see if something looks like it might help.
[Nexus 4 Original Android Development] fdkgenie:
R196 is like a boom!

Quadrant:

Antutu:
[Nexus 4 Original Android Development] franciscofranco:
I sincerely had no idea benchmarks would jump this much - not that I care, its just funny to see.
[Nexus 4 Original Android Development] sam razzy:
Is that what you got with the ART enabled or did you flash any mod with this kernel such MOTO X dalvik optimized?? Just to get some idea on how you got something like huge and congrats franco...
[Nexus 4 Original Android Development] jokkir:
Suspicious of those benchmarks too lol. I think he might have installed the Moto X Dalvik patch.

I'm still getting above 21k+ though. Great kernel and noticed speed improvements with Riptide GP2
[Nexus 4 Original Android Development] shubhdeep99:
What about this....

Franco r195

Stock 4.4

ART

And first cycle....

Advice:- don't post another developer's development related comment in another developers development thread, it's not cool.... :)
[Nexus 4 Original Android Development] karthi89:
Settings?
[Nexus 4 Original Android Development] giovaorama:
[MENTION=3292224]franciscofranco[/MENTION]

Some "minor" problems

1. I turned on my n4 this morning and it stucked on the lock screen and rebooted (the same as yesterday). Sorry no log this time... r195

2. Autoflash r196 (this is the reason for the "no log" :P). After reboot it stopped probably at the end of the boot animation and rebooted. Then it started correctly but instead of my usual wallpaper I had the "live bubbles". This seems not to be kernel related but the last_kmsg report kernel panic

https://www.dropbox.com/s/eboqx8aqr8ukc4g/2013-12-01_08.51-r196.zip

3. Little bug in the fku "backup/restore" window: if I delete a file I think it sums the deleted size to the size of the next one and the timestamp is not correct also (i think it is the one of the first deleted one)

EDIT: no the size is simply wrong. It is just 2^15

First screenshoot: after I deleted a file in second postition

Second screenshot: delete the r195

Third screenshoot: close the app and come back to the same window. All seems to be ok

To

4. Not related to the franco.Kernel since something similar happen also with the stock one. Since the update to kitkat (both versions) I noticed that the widget takes a lot (20/30 seconds) to load just after a fresh boot. This happens both for the lock screen (dashclock) and the home screens (chronus, google calendar, power widgets, keep). Anyone has this "problem" too. It happens also to my wife's n4 with all stock. Mine has fk and novalauncher beta. I think Google made something wrong also this time!

EDIT2: is there a way to check if the custom color setting are really applied/used? From time to time (without rebooting) the color looks different to me...

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] shubhdeep99:
GPU at 320 and CPU at 1350 nothing else....

And using lux
[Nexus 4 Original Android Development] alanwyl:
Over a hundred pictures taken using my phone as remote viewfinder and remote control over several hours, display at full brightness, connection is made on Wi-Fi and NFC. [MENTION=3292224]franciscofranco[/MENTION] You failed to kill my battery.
[Nexus 4 Original Android Development] djpry:
what a performance bump.................

franco you have done it again....from 15000+ to 21000+ in antutu....

in real life n4 seems to run more smooth at 1.2ghz with gpu clocked at 320 MHz (18000+ antutu score) !

cheerz man!
[Nexus 4 Original Android Development] donteo:
One question i need to wipe cache and dalvik after update from r195 to r196 ?
[Nexus 4 Original Android Development] djpry:
its not a must...you may do it....

in sum unfortunate cases it causes a bootloop...till date i never have faced the problem...i have updated at-least 30+ francos kernel for n4
[Nexus 4 Original Android Development] fdkgenie:
Cataclysm 4.4 + franco r195/196 + moto x patch (no ART). With art enabled the score reduced a lot
[Nexus 4 Original Android Development] ofan666:
Just sum the score without "dalvik score" to know which one better, in my stock ROM + r195 + motoX patch scored better in ART than Dalvik. I'm not sure Antutu test ART properly. CMIIW
[Nexus 4 Original Android Development] manulemaboul:
Performance improvements aren't only in gaming, no more micro stutters in Tapatalk at all for exemple, great job :thumbup:

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] jaju123:
That's probably because tapatalk just got a big update. It seems much smoother now hehe :P
[Nexus 4 Original Android Development] Drmol:
I had the exact same thing happen to me after flashing r196 with TWRP
[Nexus 4 Original Android Development] karthik_316:
Is this kernel (r196 ) compatible with CM 11 or AOSP?
[Nexus 4 Original Android Development] ladiiik123:
Antutu benchmark

Hello Franco Thank you :)

Antutu benchmark

mod Moto X 4.4 dalvik optimization,

Kernel franco 196

stock odex by fireb33

mod Moto X 4.4 dalvik optimization,

Kernel franco 194

stock odex by fireb33 - ( without my apps )
[Nexus 4 Original Android Development] RohanM:
You are on ART I am on Dalvik, so think if I switch to ART 6 hours SOT will be easy for me.. lol :p
[Nexus 4 Original Android Development] SpasilliumNexus:
Can you guys learn to snip or use the hide tags when quoting posts with huge inline images please? It's annoying having to scroll past the same ones repeatedly just to read posts.
[Nexus 4 Original Android Development] svnhvn:
Jeez.. What exactly changed on r196 franco? Incredible performance combined with PSX V2 and of course battery friendly too.
[Nexus 4 Original Android Development] nadavar:
How do you find it compared to PSK?
[Nexus 4 Original Android Development] Phonerix:
What is franco kernel battery service? It drain battery a lot? Can I force close it? Please answer the question :)
[Nexus 4 Original Android Development] ssbnasa:
Anybody tried on PSX v2? hows the battery compared to stock?

thanks
[Nexus 4 Original Android Development] RohanM:
Done. :cowboy:
[Nexus 4 Original Android Development] ssbnasa:
Deleted!
[Nexus 4 Original Android Development] The1Shark:
Can you pls share your configuration ?

CPU/governor/io scheduler

I'm hitting ~18200 with R196 which is good but I don't see any difference in score between r194/r195/r196

I'm running stock though .. ( rooted but no other modification )

Thanks
[Nexus 4 Original Android Development] Arstoien:
Just a small feedback for the app:

When I'm in the colour control tab or the per-app modes (both of which have tabs at the top of the page) and I pull the menu from he left, it comes out under the tabs. And after about half a second the tabs get hidden and the menu jumps up.

Sent from my Nexus 4
[Nexus 4 Original Android Development] alexandru.j91:
hello guys.. I just installed the r196 on my nexus 4 (with nexus 5 rom port ) , do I have to make some settings to have a better battery life? or the governor that is already installed will do the job? tx
[Nexus 4 Original Android Development] svnhvn:
r196 is better. PSK is good but its not quite battery friendly for me. Micro stuttering still occasionally occured with PSK. r196? Supermodel smooth, even on every tapatalk based apps.
[Nexus 4 Original Android Development] ladiiik123:
Quote:

mod Moto X 4.4 dalvik optimization - http://xdaforums.com/showthread.php?t=2537299 - http://xdaforums.com/attachment.php?attachmentid=2407466&d=1385079807

Kernel franco 196 - all settings stock no modification rom ...

stock !!! odex !!! by fireb33 - http://xdaforums.com/showthread.php?t=2010887 - http://www.androidfilehost.com/?fid=23212708291680874
[Nexus 4 Original Android Development] GruZone:
Well franco you did an excellent job on this r196 update.

Here are my test results.

Using PSX rom.
[Nexus 4 Original Android Development] manulemaboul:
Saw the difference after flashing 196, and it's just an exemple. Everything feels a bit faster and smoother here and there.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Original Android Development] nadavar:
Just flashed it, if it's not placebo, it really is faster than PSK, didn't think it's possible.

Will see about battery. Although I always got good battery with franco so I'm not that worried.
[Nexus 4 Original Android Development] Maelstr0m:
Default settings on Brainmaster's :)

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] krystyuc:
You realize that your phone is Nexus 5 and this is a NEXUS 4 forum????

Here is the dalvik for N4 http://xdaforums.com/showthread.php?t=2546120
[Nexus 4 Original Android Development] The1Shark:
Thanks !

I am getting 21778 now. :good:
[Nexus 4 Original Android Development] zorginho:
Franco kernel r193 + last 4.3 purity.

No underclock. I deceased timer to 20000 increased touch boost time to 1100000 and decreased the hotplug threshold to 40 and -100 uv.

Spoiler content hidden.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Original Android Development] EstarlinMReyes:
Normal:

With Dalvik Optimization:

ParanoidAndroid +FrancoKernel
[Nexus 4 Original Android Development] zellleonhart:
Guys, the last time I did a benchmark was ages ago because I don't really care about benchmark. Was getting 16k-ish last time on 4.2.2 .

Now with r196 + dalvik patch, freaking 22k!
[Nexus 4 Original Android Development] :
I don't care about BENCHMARKS. It's nuisance. But I know what a good kernel is. Here's how. I have over 3000 emails in my stock email app, scrolling them is so laggy. Now.. r196 makes scrolling super smooth. That's the best real world benchmark we can have. Thanks [MENTION=3292224]franciscofranco[/MENTION].

Cheers!
[Nexus 4 Original Android Development] m_harsh:
[MENTION=1539151]fransico[/MENTION]franco

No doubt the kernel is rock solid... Very good performance

I wanted to ask a question why don't you increase read ahead buffer size to 512 or 1024...on most of the kernels I have seen it so...

Not comparing.. Just asking from knowledge pt of view

Thanks
[Nexus 4 Original Android Development] deltatux:
Looks like the stuttering is from the lack of using mpdecision. Right now I'm testing stock kernel and AK kernel (which also uses mpdecision) and no stuttering whatsoever. So it looks like kernels that use their own hotplug drivers are causing the stutter O.o...

deltatux
[Nexus 4 Original Android Development] snak3ater:
With dalvic patch... impressive..

Running benchmark after a long time..

Phone was being charged and temp was like 35c, still got this much score... will run the benchmark again when phone cools down :D
[Nexus 4 Original Android Development] ki2luminati:
Headset gain -11
[Nexus 4 Original Android Development] The1Shark:
The link to the ROM definitely refers to a N4 build.

The link to the mod indeed refers to a N5 forum but it clearly stated that it was taken from N4 forum.

http://xdaforums.com/showthread.php?t=2546120

Q: Can I use it on other devices?

A: Yes, you can use this patch on every Krait device that uses AOSP-based ROM (examples: Nexus 5, Nexus 7 2013). Don't flash it on stock ROM, as they already include these optimizations (that includes Galaxy S4 and HTC One Google Play editions!).

Any how it works just fine on my N4.
[Nexus 4 Original Android Development] Akath19:
That makes sense considering what Franco said about needing more than one core while screen off.

Maybe you can talk to Franco about it, see if he can add some sort of mulitcore algorithm for screen off.
[Nexus 4 Original Android Development] RockBoyEmy:
Franco, this is just a suggestion: do you think it would be nice if maybe you could add in your app the option that you had in the fku before it became project pringles, the one that allowed the app to set to defeault all the settings of the kernel when you flash a new one, to see the improvements. Just saying, it would be nice to have it again ;)
[Nexus 4 Original Android Development] yochananmarqos:
Exactly! Almost every single one of you that posted benchmarks has the Moto X bionic/dalvik patch installed. That's why your benchmarks are so high. Go post them in the N4 benchmarks thread.
[Nexus 4 Original Android Development] sordna:
It's used by the monitoring section if the app. Battey usage should be minimal, but instead of force closing it, better go to the System monitor section of the app, hit the settings button, and disable the "Background Monitoring" status if you don't need battery graphs.
[Nexus 4 Original Android Development] svnhvn:
Lets calm down because franco himself seems okay with it.
[Nexus 4 Original Android Development] fario78:
I have no wifi after installing the 196, I've put after the sabermod-farnco.
[Nexus 4 Original Android Development] Pipusz:
Wipe cache/dalvik/system, then reflash your current ROM-Gapps-kernel. That should do the job.
[Nexus 4 Original Android Development] franciscofranco:
Thanks for the info about FKU.

About the Kernel I have no idea, I have stock images, all works out of the box for me.
[Nexus 4 Original Android Development] franciscofranco:
No.

I only use fastboot or auto flash from FKU, never have problems and I flash dozens of Kernels per day.

AOSP of course. CM11 no.
[Nexus 4 Original Android Development] franciscofranco:
Its a service from System Monitor to give you important information about your battery.

It doesn't consume any battery because it doesn't use any wakelock.
[Nexus 4 Original Android Development] franciscofranco:
Yes, I always hide the tabs if they are present when the drawer is open.
[Nexus 4 Original Android Development] franciscofranco:
Its pointless, increasing readahead wont give you more performance.

As I explained there should be NO reason to use more than one core during screen off. If that is happening something is really derped from Google because all worked fine on 4.3. Im not gonna lose the possibility to sleep on the deepest sleep state because of some audio stutters every now and then that not everyone has.
[Nexus 4 Original Android Development] franciscofranco:
Alright.