yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] outofthisworld:
r45 has definitely improved battery life and brought it back to the good ol' days when we were spoiled by fk battery life!

Thank you for applying the fixes.
[Nexus 5 Original Android Development] bigmem:
Ok i've looked but am I missing something? Is it called another name. Not sure? Been to each setting can't seem to see it. Sorry please help
[Nexus 5 Original Android Development] 1337RYoN:
It's the CPU temp threshold under kernel settings tab
[Nexus 5 Original Android Development] franciscofranco:
I see a lot of untrusted app denials: "ProcessMemoryWa". Other than that the log is fine. Update to r45.
[Nexus 5 Original Android Development] Utini:
Hmm it is simply PA ROM with apps from appstore (the usual apps like facebook, whatsapp, telegram, greenify, titanium backup, etc). The only "non-app-store" app is "AdAway".

Any ideas how to find out which app is causing the "untrusted app denials" ?

For security I only use "CleanMaster" so far.

In ParanoidAndroid I restricted facebooks permission (no GPS) but that's it.

Weird thing is: According to her the bugs only occur when franco.kernel is installed.
[Nexus 5 Original Android Development] armymax:
Got a SoD with latest r45! UV: -25, vibration:90, PA 4.2 beta4, dalvik
[Nexus 5 Original Android Development] wojwem19:
It is not working with CM 11 NIGHTLIES. But is it working with for example CM 11 SNAPSHOT M5 ?
[Nexus 5 Original Android Development] armymax:
Read first post
[Nexus 5 Original Android Development] wojwem19:
"Currently does not work with recent CyanogenMod nightlies or any rom has uses CM sources as a base because they made underlying changes that are now incompatible with Kernels that don't follow their path". It says about NIGHTLIES and thats why I am asking about SNAPSHOT M5 or M4 .
[Nexus 5 Original Android Development] armymax:
It says about nightlies because there were only nightlies. I think the problem are CM sources.
[Nexus 5 Original Android Development] borgsta:
This is the best part of it IMO. Simple feature that I thought was useless but now my favourite.
[Nexus 5 Original Android Development] Ben36:
Random reboot - https://www.dropbox.com/s/kztyx38np64nsub/last_kmsg
[Nexus 5 Original Android Development] franciscofranco:
[ 4226.488163] CPU: 138659544 Not tainted (3.4.86-Linaro_Kernel #45)
[Nexus 5 Original Android Development] piumach:
Hi Guys, I'm new to Franco Kernel, just flashed yesterday (R44) and updated now to R45.

Which is the best governor mode for battery life? Interactive or Ondemand?

Thansk!

Nicola
[Nexus 5 Original Android Development] Tzfardaya:
Yes..

I don't know if tgm has updated his learner lounge yet to include the different governors.. But it's still a great place to start with the Franco kernel..
[Nexus 5 Original Android Development] Savant:
Try them both for a day and see what suits your needs. Then decide, I use both but it depends on what I'm doing.
[Nexus 5 Original Android Development] ben_pyett:
it's all about personal preference but your can't go wrong with the defaults, which would mean, interactive
[Nexus 5 Original Android Development] andreasha:
What does that mean?
[Nexus 5 Original Android Development] Tzfardaya:
It means you're not using franciscofranco's kernel.... But a third party kernel built off his sources....

Franciscofranco only supports his builds....

Unless franciscofranco switched to the linaro build tools while I wasn't looking...

;)

Edit: unless Ben cooks his own kernel from franciscofranco sources... Franciscofranco has been known to help with those too....
[Nexus 5 Original Android Development] piumach:
Already read it but it's not saying anything about that...
[Nexus 5 Original Android Development] The Gingerbread Man:
I won't add a description about every CPU gov as iv already linked to an extremely detailed thread all about that stuff already. Somewhere in post 2 (in my thread) i believe....

'Light reading' http://xdaforums.com/showthread.php?p=19846276
[Nexus 5 Original Android Development] Wenzo2:
Kernel panic r45
[Nexus 5 Original Android Development] Tzfardaya:
Don't panic kernel... Just call down, everything is going to be okay... Just breathe, relax...

No. Put the gun down kernel, you know that won't solve anything.

*bang*

...

*sigh* guys, we need another kernel... They always make such a mess when they panic...
[Nexus 5 Original Android Development] Ben36:
True, forgot to say that it was linaro version. But thought the log still may be of use to the original
[Nexus 5 Original Android Development] floepie:
I was thinking placebo regarding the earlier poster but I'm getting insane sot with r45.

I do notice that instead of sod, sometimes the screen turns on a full second after power press, presumably the time required to activate the second core.
[Nexus 5 Original Android Development] franciscofranco:
Nah, the second core comes online 1 second after screen on. There's no block on the screen on sequence.

Good to hear about good screen on time.
[Nexus 5 Original Android Development] franciscofranco:
I've seen the log there's a big **** going on, but I don't know the reason, never seen such crash before.
[Nexus 5 Original Android Development] Ben36:
Weird, nothing seemed abnormal. Was just using the phone like always and it rebooted
[Nexus 5 Original Android Development] blueren:
Symptom : pressing the power button has latency. The screen turns on after a light delay. Sometimes, u think it's a sod and try pressing the power button again, the screen instantly turns on and then off (since the button was pressed twice) -- This is sporadic in r45. Let's see if this is something local to me.

Thanks.
[Nexus 5 Original Android Development] Tzfardaya:
no, not just you, I have the same intermittently...
[Nexus 5 Original Android Development] Enddo:
confirmed, this just happened with me
[Nexus 5 Original Android Development] DudeWatsThat:
Same here. At one time the screen wouldn't turn on,but the phone itself was on since the notification led was blinking had to reboot. Sorry for the lack of logs it happened in a bad time..
[Nexus 5 Original Android Development] Web_E:
After reverting to r36, I flashed r45 test and then final r45. Zero SOD in last two days. Happy Again :)
[Nexus 5 Original Android Development] i860:
Hi Franco!

Audio clipping in r45, right Chanel like in the past.
[Nexus 5 Original Android Development] zmafreak:
The last few hours has been psychedelic

I was on stock ROM using r40 kernel.. Flashed elementalx r36 kernel and got stuck in boot loop.. Tried flashing Franco kernel and the phone would boot and restart after every minute.. flashed fresh stock ROM and elementalx over it with recommended settings and lost audio speakers and headphones wouldn't work.. Flashed franco again..everything is working fine now..

Looks like my phone is obsessed with franco kernel.. ;)

My friend is using elementalx and he's getting over 6 hours SOT
[Nexus 5 Original Android Development] Tzfardaya:
I could get 6 hrs if I wanted to, but I couldn't use my device the way I usually do... :p

But I'm looking at less than 6hrs of on battery time this cycle... :p

I think I need to tweak my per app mode for tsto....

18% charge left, 3hrs 45 min on battery

2hr 52 min screen on (37%)

tsto 1hr (19%)

Android System 12%

Android OS 7 %

Pebble 6%
[Nexus 5 Original Android Development] zmafreak:
Per app mode doesn't seem to work..

My Default max CPU is 1190mhz when I fire real racing (though ive configured in per app mode to set the max CPU at 2265mhz) it lags and crashes.
[Nexus 5 Original Android Development] Tzfardaya:
first check to make sure you haven't disabled PerAppModes service in the fku settings. :p
[Nexus 5 Original Android Development] zmafreak:
Did that.. Its unchecked
[Nexus 5 Original Android Development] Tzfardaya:
Good good, do you have both the fku and PerAppModes apps from Franco?

If so, disabled PerAppModes in fku and use Pam, or disable Pam and use fku...
[Nexus 5 Original Android Development] zmafreak:
I only have the fku.. Didn't know a dedicated per app mode app existed..
[Nexus 5 Original Android Development] Tzfardaya:
No worries.. Normally fku works perfectly.. :P

Have you tried a full clear fku settings?
[Nexus 5 Original Android Development] zmafreak:
No.. I'll re configure and test..

BTW, what are your kernel settings?
[Nexus 5 Original Android Development] fredfox_uk:
I've had to under clock when playing rr3, I had a PAM that set everything to max (GPU & CPU) and would get horrible lag and stutters. Now I have max CPU set at 1798 and GPU at 320.

Looking at system monitor after playing rr3 the CPU hardly ever gets to the max I set in the PAM but no lag or stutter. I've tested it several times as I seems counter intuitive.
[Nexus 5 Original Android Development] psp9000333:
the CPU must be throttling too much.
[Nexus 5 Original Android Development] Tzfardaya:
my settings, as always, are in my signature... as are others. :p

which reminds me..
[MENTION=2918197]The Gingerbread Man[/MENTION], you ever take that backup of your current settings for me? Have you changed your Pam's too?
[Nexus 5 Original Android Development] mzeshanhakeem:
Anyone on this.......
[Nexus 5 Original Android Development] Tzfardaya:
nope, probably because of the nice red lettering on the op of this thread... none of the usual population here run cm, so no testing or diagnosis available...
[Nexus 5 Original Android Development] mzeshanhakeem:
I tried it on Slim and Purity, the results are same. Currently i am running mehdi's ROM.

Have u tried?
[Nexus 5 Original Android Development] Tzfardaya:
me, I run stock, but I also don't use my phone when connected to the pc... only time that happens is If I'm needing to use fastboot or adb... everything else moves through the cloud...
[Nexus 5 Original Android Development] eak1080:
R45 was the first time I had audio playback issues. Never occurs on previous builds, no sod though.

My N5
[Nexus 5 Original Android Development] franciscofranco:
1 - I'll take a look on my code to see if I did something wrong on that small screen on delay some are experiencing, thanks for reporting & sorry

2 - Per-App Modes is working perfectly, I use it everyday. If its not working for you then you're probably holding it wrong
[Nexus 5 Original Android Development] cvsolidx17:
Hey guys, I've been noticing in my logcats that I'm getting a ton of errors that look like this "PowerHAL touch_boost: failed to send: no such file or directory" was just curious as to what this was
[Nexus 5 Original Android Development] Tzfardaya:
fun how theres no description of the audio playback issue.. files not playing anymore? somehow, if that's the case, I doubt it's a kernel issue
[Nexus 5 Original Android Development] Skinpipe:
i have reported about audio stutters on previous builds, am experiencing audio stutters on francos latest build, recently i flashed back to stock kernel and the stuttering is still present but it is noticeably worse with franco kernel and the majority of custom kernels except neo kernel, honestly it has always happened on my nexus 5 even when running stock rom and kernel, it has been mentioned plenty of times. i listen to spotify streaming everyday and it stutters everyday.
[Nexus 5 Original Android Development] franciscofranco:
Nothing you need to worry about. Next time you reboot it wont happen again, ever.
[Nexus 5 Original Android Development] koolthing:
Just flashed r45 this morning (cache and dalvik cache wiped) no SoD so far
[Nexus 5 Original Android Development] Tzfardaya:
but that's just it... the phrase "audio playback issues" doesn't tell us if it's just a reminder of previous issues, or a new one that needs to be looked into...

iirc the intermittent stuttering is due to the cpu freq being too low during screen off and changing masts or networks.. (wifi to mobile data, switching mobile data tower handoffs) and the cpu being starved for available cycles to process both the network shift and music playback. tgm has reported some success with raising the min cpu freq to 345
[Nexus 5 Original Android Development] Skinpipe:
ok yeah fair point playback issues is vague i did read the raising the min freq comment and honestly i tried it and even setting min and max to 1026 so their would be no frequency change and it still stuttered its driving me crazy.
[Nexus 5 Original Android Development] Tzfardaya:
that's odd then, because with my device, streaming or local, so long as I'm not swapping networks the music is cherry, no skips or stutters that aren't due to a poor encode... if I'm moving with screen on, same situation, no skips or stutters... I haven't really tried with screen off because I tend not to listen to music while I'm walking... only driving or at home...
[Nexus 5 Original Android Development] msgfromside3:
I can't speak for r45 because I haven't listened to music for the last two days but so far I have never had any playing issue, either locally or streaming. I use google play for most of listening and sometimes pandora.
[Nexus 5 Original Android Development] exxpired:
I have been having the right side audio clipping issue since the last 3 builds.. Normally happens if my phone hasn't been rebooted in awhile.. Reboot fixes the audio
[Nexus 5 Original Android Development] Tzfardaya:
at max/near max volumes?

clipping or cutting out?

if cutting out try unplugging the headphones, and force closing your audio apps (via settings->app->downloaded/running/all) then replug and replay, see if that clears the dead channel issue.

if nothing else it might be faster than rebooting.
[Nexus 5 Original Android Development] exxpired:
Normally have my volume on 75% so don't know about low volumes, I'll try what you said see if it works the next time it happens
[Nexus 5 Original Android Development] Tzfardaya:
swap meet

okay folks, the swap meet for kernel settings and per app modes is now open in this thread

directions for taking backups for sharing and using shared settings are included in the op, along with a link to the required script and currently available settings
[Nexus 5 Original Android Development] aow1980:
As soon as I finish Testing this setup I'll make a copy and share
[Nexus 5 Original Android Development] doomed151:
Scrolling and animations are not so smooth with this kernel. Here's a proof:

Compared to ElementalX (stock Omni kernel produce similar results) which is very smooth:

Those graphs show how long it takes to render each frame or rather the delay between displayed frames.

ROM is latest Omni nightly (20140413), all stock settings.

Can someone else check if they have this issue too? It might be something on my side.

Settings -> Developer options -> Profile GPU rendering -> On screen as bars/lines
[Nexus 5 Original Android Development] cvsolidx17:
Thanks for the info and great work on the kernel btw
[Nexus 5 Original Android Development] UpSpin:
I checked it and can't verify your results.

As long as I keep my thymb down on the display I get the same graph you got with ElementalX.

As soon as I lift my finger from the display and let the animation fade out, it looks similar to the picture you got with FK.

It's related to the governor, or how fast the CPU gets downclocked again.

If I use the performance governor, then I don't see a difference between touching and not touching the display, the bars are low the whole time.

Maybe ElementalX just uses a very conservative governor, which reduces the clock after a few seconds at the earliest, whereas FK reduces the clock as soon as possible. Just an assumption.
[Nexus 5 Original Android Development] floepie:
I'm pretty sure that has to do with how fast or quickly the CPU freq. falls back down after you touch the screen. For instance, if you scroll while your finger is still touching the screen, you will see low bars continually. The moment your finger leaves the screen, evidently the CPU falls in frequency and the bars rise. If you switch the governor to performance to peg the CPU freq to the maximum, you will see low bars whether or not your fingers are still on the screen. The moral of the story is, if you can't perceive the difference visually, you will by the length of time your device is alive on one charge.

Edit: Posted same time as above.
[Nexus 5 Original Android Development] The Gingerbread Man:
Not sure if i did, il have a look over your thread and see if I can sort that for you.

That error gets cleared next you reboot

Either raise min CPU freq or if your using flac it doesnt work on android 4.4. The only way I got my music to play smoothly was using 345mhz min speed which uses a little more battery than normal.
[Nexus 5 Original Android Development] neriamarillo:
I get this when I try to open your link for the thread. Just a heads up!
[Nexus 5 Original Android Development] blueren:
You need to tap the screen once after pressing the power button to actually turn on the screen

Sent from my Nexus 5
[Nexus 5 Original Android Development] Tzfardaya:
Interesting... Works fine in a browser...

Try this one...
[Nexus 5 Original Android Development] apoorv24:
Till today, i never thought flashing custom kernels would give me any significant advantage...but after flashing franco's r45 kernel, i would have to say that the battery performance of my phone has been significantly improved with no visible drop in performance along with added goodies like color profiles, uv, oc...

Hats off to the dev!!! :highfive: :good:
[Nexus 5 Original Android Development] Tzfardaya:
ha ha ha, too many exclamations after dev... On a quick read through I saw "Hats off to the devil :highfive: :good:"
[Nexus 5 Original Android Development] PresidentMcCain:
Severe battery drain while on charger, caused by kernel logic problem, r45. last_kmsg attached, screenshots embedded. Note: Phone was left charging the entire time with the screen off. I randomly went to check on the phone, noticed it was really hot for some reason, and noticed this.
[Nexus 5 Original Android Development] neriamarillo:
This one works on mobile lol. I manually looked for it anyways but it was just for defence for people who hate searching [emoji23]
[Nexus 5 Original Android Development] Savant:
How in the hell did it drain from charging? That's odd and Franco will be amused by the log and pics.
[Nexus 5 Original Android Development] PresidentMcCain:
On a sidenote, I'm back on r36. It's significantly smoother than any of the r40+ releases and seems much more stable :\

r45 frequently spikes near / above the green line (which indicates stuttering in the animation)
[Nexus 5 Original Android Development] snappycg1996:
Does anyone else here play Asphalt 8: Airborne? I've been playing a lot of it and I flashed this today and now I have very noticable slowdowns, the game Almost freezes at points. Is there any way to fix? D:

Although I did get about an extra 30 minutes it seemed playing San Andreas for SOT! I'm gonna test this in the real world tomorrow and see how battery goes ?
[Nexus 5 Original Android Development] marf28101995:
Have you uc and uv?

Nexus 5 / Paranoid 4.2 Beta 4 / Dalvick / Xposed / Franco kernel r45
[Nexus 5 Original Android Development] PetritH:
raise thermal throtle to 70 it will not freeze that much
[Nexus 5 Original Android Development] prstorero:
Use a pam to underclock the CPU for the game. Most likely you're getting thermal throttling.

prshosting.org
[Nexus 5 Original Android Development] Tzfardaya:
use fku or pam and set a per app mode to underclock the game... I know it's counter intuitive, but...

at normal clocks the device heats up and thermal throttles quite substantially... but setting an per app mode with underclocking (and possibly raising the thermal limit) you can avoid the throttling and run at a higher clockspeed...
[Nexus 5 Original Android Development] snappycg1996:
No, its completely stock ATM and its on the stock KitKat ROM. I tried overclocking some and it doesn't help :(
[Nexus 5 Original Android Development] The Gingerbread Man:
The issue your facing is being thermal throttled (CPU heating up too much so it limits is performance quite significantly to prevent self cooking!) For games you should limit CPU somewhere between 1.2ghz and 1.6ghz using per app modes.
[Nexus 5 Original Android Development] prstorero:
Funny how 3 of us answered the same question about asphalt 8 lol.

prshosting.org
[Nexus 5 Original Android Development] Tzfardaya:
What's funny is that I don't even play that game.
[Nexus 5 Original Android Development] The Gingerbread Man:
Hmm yes, seems there's some new faces too which might not know about that.

For anyone who's new here I suggest you read through my learner lounge thread which is basicly an extensive set FAQ posts for all supported devices. Link in 1st post here and my sig.
[Nexus 5 Original Android Development] snappycg1996:
Thank you very much to the 3 of you (: I'll try that and I'll report back :D super fast help as well!? this should also help battery life too because it isn't working as hard right?

I know when I didn't have this kernel, Plants VS Zombies 2 COOKED my phone, I'll underclock and it should help right? (: it also drained battery quickly, and its PvZ lol
[Nexus 5 Original Android Development] KTT16:
Finally got a log of the delayed screen on experience. [MENTION=3292224]franciscofranco[/MENTION] I hope this helps... Thanks again for your hard work.

https://www.dropbox.com/s/pjcna7o9t4reyr3/delayed_screen_on.txt
[Nexus 5 Original Android Development] The Gingerbread Man:
Yes limiting the CPU speed will help keep the temps down, and prevent the lags and stuff happening as the CPU won't be able to work so hard and also should help with battery a bit but as games are quite CPU intensive and need the screen on constantly to play youl find gaming is one of the most taxing things you can do for your battery.

For an idea of some settings for games check out the other link in my sig which shows what you could use while playing very light games, graphic intensive games and also settings to use in between.

The fku app allows you set set the parameters of the CPU behaviour using the per app modes and a whole bunch of various kernel and CPU settings. I can't say much more without sounding like I'm trying to promote the app ;)
[Nexus 5 Original Android Development] snappycg1996:
I purchased the app and am loving it :D I set the CPU for Asphalt 8 to a maximum 1574 and Interactive governors, the game definitely runs better now! There is some occasional frame drops but I believe that the stock kernel did this as well. Thank you once again ^.^ you all were a very fast, quick, supportive help! This is the first time doing anything to my N5. :D

So I should also limit it in Plants Vs Zombies and it should help the burning problems? I just couldn't believe how hot it makes the phone, whereas Asphalt 8 or any GTA game I play it gets "warm" PvZ it gets "hot".

Definitely playing games is taxing, that's why I am gonna wait until a real world test tomorrow where I'm out and about for battery life, but it was better already by a little imo. :D
[Nexus 5 Original Android Development] Tzfardaya:
A lot of those "simple" games like to max the cpu freq's.. draining the battery and cooking the cpu..

I'd suggest grabbing [MENTION=2918197]The Gingerbread Man[/MENTION]'s kernel settings and per app modes from here and give them a run...

for PvZ2 I'd try his dual-core pam
[Nexus 5 Original Android Development] kevinkoh:
Hey, just a question.

In order to use the screen dimmer and fast charge, do I have to install the kernel module manager to from the other thread to load it? Or can I just activate it from fku?
[Nexus 5 Original Android Development] Tzfardaya:
Works from fku...

Kernel module manager?
[Nexus 5 Original Android Development] snappycg1996:
Sorry for all the questions but how would I go about running those settings?
[Nexus 5 Original Android Development] Tzfardaya:
Instructions are in the first post of that thread I linked you. :P or are you asking how you run a shell script via terminal emulator?
[Nexus 5 Original Android Development] snappycg1996:
Running a script with terminal emulator :P sorry xD limiting the CPU I definitely see some less "burn your hand" heat from PvZ2! ?