yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
Just leave it at 1, thats the thread migration cpu boost thingy.

It seems interactive is a little different when playing with the cpu_load. While ondemand and conservative use a completely different way to calculate the load interactive by default is different and I guess mixing the load calculation is a bad idea.

What I did was mostly trying to scale the load based on a simple calculation that Ondemand and Conservative uses, but while it does indeed improve the performance the freqs go a little bit crazier. I haven't really noticed any battery loss with this, butI definitely wasn't expecting users to dislike the performance boost, so back to the drawing board.
[Nexus 5 Original Android Development] franciscofranco:
Don't disable that.
[Nexus 5 Original Android Development] drawde40599:
I didn't notice any battery loss different today , but I also just used the phone as a phone I didn't look for issues either . .
[Nexus 5 Original Android Development] wund3rground:
I don't have hotword detection on, frequencies jumping around quite. A bit.
[Nexus 5 Original Android Development] franciscofranco:
Yes, I also don't go look for issues, and all works, but you know this works, you've been around for quite a while ;)
[Nexus 5 Original Android Development] sotoskawasaki:
Ok, will leave it enabled. By the way, I personally do appreciate the performance boost. But Nexus 5 is a beast on its own. At this point I would appreciate more a bit better battery life. Now, just to be clear. I did NOT noticed higher battery drain (have in mind that I just updated to r15 today) but spiking the freqs like that, its probably going to use a bit more battery on the long run. If you find a way to make it not go crazy on the freqs that would be great. Keep up the good work Franco!

In the mean time, if we can check anything else let us know.
[Nexus 5 Original Android Development] Seattleite:
Okay, I know it used to be 2 cores at all times (r14), but is a change in r15, single core? I've attached a picture. No real changes, but it is the first time I've seen this behavior. Idle fluctuates from 300, to spikes of 2.5 on the single core...
[Nexus 5 Original Android Development] hospital349:
You have faith in your own implementations and I commend you for it. So, rather than looking at CPU stats, we should all spend a little time doing some real world testing and report back thereafter. At least out of respect for how much effort you have put into the latest release. Only then can we really know whether this version is a true r14 successor.
[Nexus 5 Original Android Development] franciscofranco:
Are you sure you're using FK? Doesn't seem like you are.
[Nexus 5 Original Android Development] Seattleite:
Haha, you win sir! Thought I was flashing an app for gamma controls, turns out it was faux's kernel. Thanks for that...
[Nexus 5 Original Android Development] Bhonka:
Who is complaining about gamma?

Looks fine to me.
[Nexus 5 Original Android Development] Seattleite:
It's fine for me too, I've just never tinkered with it before, so I thought I'd give it a try...
[Nexus 5 Original Android Development] franciscofranco:
Pushed a r16-test freqs are more sane now as interactive is being more conservative in terms of load.

Flash it and test it around before I push it:

http://192.241.177.15/Nexus5/4.4/tests/boot-test16.img
[Nexus 5 Original Android Development] jmartino5920:
Franco,

I've been seeing the spiking as well but this has not translated to battery drain at all. This version of r15 is the best I've had on this phone yet. I decided to go back to stock to test this kernel and I'm happy I did. Don't go back to the drawing board just yet please...

Sent from my Nexus 5
[Nexus 5 Original Android Development] xReaper7x:
Awesome stuff Franco, continue the good work buddy! Don't worry about all the haters you are truly doing what you love and we love it too!
[Nexus 5 Original Android Development] RobbieL811:
Frequencies definitely aren't jumping around like they were for me on r15.

Sent from my Nexus 7
[Nexus 5 Original Android Development] igalmarino:
Freqs are not jumping any more

Sent from my Nexus 5
[Nexus 5 Original Android Development] mag01:
yes, r16-test is much more stable in idle state, looks almost perfect here :good:
[Nexus 5 Original Android Development] nitzer71:
Agreed. Thanks Franco
[Nexus 5 Original Android Development] Seattleite:
Unbelievably stable freqs on r16! Crazy calm!
[Nexus 5 Original Android Development] yoyoz808:
Should cpu.notify_on_migrate be set to 1 on r16 test? Bc mine default is 0.
[Nexus 5 Original Android Development] mag01:
1 at r16-test here
[Nexus 5 Original Android Development] menting:
is it just me that don't understand the big deal about frequencies changing a lot?

All that means to me is the threshold for adjusting the frequencies were made more sensitive, which should provide more instantaneous performance boost when used, and will still throttle down when not being used.
[Nexus 5 Original Android Development] RobbieL811:
I'm on r16 test & mine is set to 1.

Sent from my Nexus 5
[Nexus 5 Original Android Development] locke84:
Wow busy days..flashed r15 then r16 under 12 hr.

Well it's still to soon to tell but so far, indeed, the r16 is more stable on freq.
[Nexus 5 Original Android Development] jdec529:
16test seems to be really good. Seems to sit still at idle a lot more than 15. Thanks for all your hard work
[Nexus 5 Original Android Development] jlevy73:
Will test and feedback on the freqs.
[Nexus 5 Original Android Development] aeppacher:
I too am finding this [MENTION=3292224]franciscofranco[/MENTION]. It pretty much sits at 300Mhz with 0 variation unless I interact with the device. Great work!
[Nexus 5 Original Android Development] dark_ente:
On r15, even when idle the CPU rams up like crazy even though I don't touch the screen

now on r16 it's back to normal
[Nexus 5 Original Android Development] aeppacher:
the problem was frequencies ramping up when the device was just sitting not really doing anything, I don't mind sensitive ramping because it means better performance but it seemed more random than anything and that leads to the cpu spending more time in a higher state which obviously requires more voltage.
[Nexus 5 Original Android Development] P.Mobile:
where is cpu notify at?? i looked in FKU and cant find it
[Nexus 5 Original Android Development] jlevy73:
It's in System Monitor, then look at CPU.

---------- Post added at 04:37 AM ---------- Previous post was at 04:35 AM ----------

r16 when idle sits at 300 very nicely. upon touching the screen it jumps to 1.3 then immediately back to resting at 300. Looks good.
[Nexus 5 Original Android Development] tandxcstar1:
I noticed only 2 cores run only and not 4 even when in games.. This normal? Just verifying, thanks
[Nexus 5 Original Android Development] PhantomGamers:
Yes, it enables more cores when you're experiencing high load.
[Nexus 5 Original Android Development] Nocturnal86:
Im still testing r15 to see if even with the random spikes if the battery IS greater or equal to r14 if so then I guess it doesnt matter that much, but if Franco is gonna work something to get the freq to be calm when not active and keep some of the performance than all the better!
[Nexus 5 Original Android Development] IAreKyleW00t:
Gonna flash r16 tomorrow when i get a chance. I still wish the colors from r14 were there still since the whole Gamma app thingy is kinda weird... oh well. :p
[Nexus 5 Original Android Development] locke84:
Hmmm..weird, I haven't got any deep sleep since I flashed r16.
[Nexus 5 Original Android Development] BeeDubz:OneX:
Download font installer mate
[Nexus 5 Original Android Development] nerotix:
Latest r16-test seems to be stable @ 300 Mhz, not jumping at all.. looks good so far.
[Nexus 5 Original Android Development] jlevy73:
You're right and according to the system monitor, my device is still sitting at 1.3ghz for 50% of the time with 300mhz only 26% of the time.
[Nexus 5 Original Android Development] franciscofranco:
You have an app keeping your device awake or you're plugged to your USB? Either way nothing has been changed to prevent deep sleep lol...
[Nexus 5 Original Android Development] jlevy73:
You're right, didn't realize my device was updating Dead Trigger 2 so that was preventing it from deep sleep. Will test it throughout the day and report back after a full days usage.
[Nexus 5 Original Android Development] marcusva79:
Will be joining the r16 test bandwagon soon. What ROM you running Franco.
[Nexus 5 Original Android Development] yoyoz808:
Strange, cpu.notify_on_migrate reverts back to 0 on reboot with r16 test.

Edit: stupid me, had the wrong one i was looking at. :P
[Nexus 5 Original Android Development] kepapas:
R15 ftw!
[Nexus 5 Original Android Development] javacody:
Franco, did you see my comment about max frequency not sticking?
[Nexus 5 Original Android Development] franciscofranco:
Stock.

What app are you using?
[Nexus 5 Original Android Development] locke84:
Nope, not plugged to USB, maybe I check my phone to often LOL, either way I guess it's still early, I believe it will work just fine.

Actually I have an app that enable to wake the screen with proximity sensor, but it didn't prevent deep sleep on previous version.

Yap, I think I have the same case with you, maybe something is wrong with my apps. Even without deep sleep, I got 60% on 300, nice..

edit: sorry, don't have time yet to post screenshot or to check thoroughly
[Nexus 5 Original Android Development] javacody:
FKU of course.

I've also tried clearing the settings and restarting multiple times. Every reboot it goes back.

Voltages and other settings stick fine.
[Nexus 5 Original Android Development] locke84:
Got it !!! yap it's problem with some apps, my phone sleep like a baby now..

Now on to checking battery life
[Nexus 5 Original Android Development] Mevordel:
su

dd if=/path/to/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

Sent from my Nexus 5
[Nexus 5 Original Android Development] nerotix:
Deep sleep working fine, the 300 Mhz also stable when screen on and not doing anything, see attached.
[Nexus 5 Original Android Development] locke84:
Seconded this, sorry for the false alarm :o
[Nexus 5 Original Android Development] franciscofranco:
Of course deep sleep works fine...

I have no idea, it sticks for me o.o
[Nexus 5 Original Android Development] destynova1988:
Hey guys, can anyone tell me how to flash the .IMG file? I only know how to flash the .zip through custom recovery.
[Nexus 5 Original Android Development] marcusva79:
You can flash the .img on fastboot mode in bootloader
[Nexus 5 Original Android Development] locke84:
Go to bootloader, from your adb do fastboot flash boot "boot image name"

or do this
[Nexus 5 Original Android Development] casonswag:
I keep getting a random reboot on r15 using carbon rom ?
[Nexus 5 Original Android Development] javacody:
After a reboot?

Should I check permissions in the file that stores this value?

Where is it?
[Nexus 5 Original Android Development] hunter99507:
Franco you said you had 1% drop in 9 hours. How is that possible? I'm running stock rom underclocked to 1.49ghz. Also greenified everything. I just have wifi always on. Any suggestions?
[Nexus 5 Original Android Development] jj20042004:
reboot on r16

Hi there,

Just got a random reboot using the new test kernel r16. I was able to get the last kmsg. Hopefully its useful!

I'm using the Cataclysm rom.

Undervolted -25 and Underclocked to 1958Mhz
[Nexus 5 Original Android Development] franciscofranco:
It shouldn't matter, my app gives it proper permissions before messing with it. Anyway the file is /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

Yes, know your apps - control your device, don't let it control you. There's no magic involved.

That wasn't a Kernel panic, sorry.
[Nexus 5 Original Android Development] javacody:
FKU isn't updating this value. It still says 2265600.

Edit: looked at wrong file. Doh! The correct value is present now in scaling_max_freq.

I'll reboot and see what happens.
[Nexus 5 Original Android Development] bobby janow:
And if I'm lying in bed detached? Just saying. :)
[Nexus 5 Original Android Development] PhantomGamers:
He accounted for that with the post he quoted :P, but Flashify is probably a better solution!
[Nexus 5 Original Android Development] franciscofranco:
It updated for me, just tested.
[Nexus 5 Original Android Development] OptimusVDarwin:
Download flashify from the playstore
[Nexus 5 Original Android Development] vomer:
r16 looks stable :)

Going to test screen off music stutter soon too. Happened on r14 when the phone switched networks or connected to WiFi
[Nexus 5 Original Android Development] javacody:
Yeah. Updated my post. Looked at the wrong file. Rebooting now. Was hoping to update it before I wasted your time. You're too damn fast! ;)

Thanks for the help!
[Nexus 5 Original Android Development] franciscofranco:
What type of files? FLAC or AAC?
[Nexus 5 Original Android Development] franciscofranco:
Not wasted at all, I have my N5 plugged in all the time when I'm home, so a simple cat said it, took me 10 seconds lol
[Nexus 5 Original Android Development] vomer:
MP3 actually. Happens in Google music, poweramp or shuttle+
[Nexus 5 Original Android Development] javacody:
Rebooted. Back to the 2265600 value.

Hmm...

Are there any files I could clean up?
[Nexus 5 Original Android Development] vomer:
I find that it takes a few minutes for cpu settings to be set by apps after boot. It's not instant.
[Nexus 5 Original Android Development] franciscofranco:
I'm very inclined to it being a Google derp because it only started on 4.4 and it does the same on the N4 and the N7 2013 (using FK of course). It didn't happen < 4.3 and its specific to network/Wi-Fi changes.

Are you ticking set on boot correct? Are you waiting a couple minutes after boot to check the value?
[Nexus 5 Original Android Development] jmartino5920:
And r16 test is awesome! Didn't want to leave r15 but I couldn't resist!

Sent from my Nexus 5
[Nexus 5 Original Android Development] javacody:
No. I wasn't waiting long enough after a reboot. I did this time and it worked fine.

And now that you and Vomer mentioned it, I recall seeing it somewhere before, so hard to recall across the N7, N4, and N5 threads. Or maybe it was in your G+ group?

Sorry for the false alarm.

On the plus side, I learned something new today!

And r16 is rocking it. Staying right at 300 for me unless I touch the screen.
[Nexus 5 Original Android Development] P.Mobile:
ok im on r15 should i flash the new test build r16? ot just wait till it goes offical?
[Nexus 5 Original Android Development] Nucleotide:
I was having this exact same issue on r14. Using Google Music, music was downloaded to the device, and in a good 4G area (it shouldn't have been switching networks at all). No wifi either.

I was using BT headphones and so long as I stayed close to the phone it was ok - stuttering would happen frequently but nothing major - just a quick jump in music. If I was to walk a few meters from the device it was virtually useless trying to listen to music.

Just yesterday I did a full wipe and clean install of latest Purity ROM release and ElementalX kernel and Music has never been so good on the N5. It did stutter but only once. Best of all, I could walk away from the device and it didn't cause any issues.

Because I flashed them both together, I'm not sure if it was something in Purity or ElementalX that fixed it.

:confused::confused::confused:
[Nexus 5 Original Android Development] javacody:
I've had some issues with my Polar H7 heart rate monitor and my N5. H7 uses Bluetooth LE and it seems to loose the connection pretty easily if I'm more than 3 feet away.

This was on stock kernel and I only ever use the stock ROM.
[Nexus 5 Original Android Development] Fidelio_o:
Color back to Franco normal on r16?
[Nexus 5 Original Android Development] franciscofranco:
Gamma is back to stock since r15.
[Nexus 5 Original Android Development] Bhonka:
I still had stutter when I went for a walk with r16 using poweramp.

What player are you using?
[Nexus 5 Original Android Development] Fidelio_o:
Yeah, I knew that just wondering lol. Don't want to move from r14 love the colors
[Nexus 5 Original Android Development] vomer:
Hmm that's crappy :( It almost sounds like the app has a micro freeze when the network is switching or Wifi is connecting. I should say though that it is a lot less on r15/16 then r14 so not sure what you did to make it better :confused:

Worst part is there is no log I can provide since nothing crashes and stuff :eek:

I tried 3 players:

Google music and Shuttle+ both has some stutter but less than r14.

Poweramp has a lot of it but I think it's the app too.
[Nexus 5 Original Android Development] jtwlbz:
I felt r15 made the phone kinda warm on my pocket.
[Nexus 5 Original Android Development] blahitzpat:
On r15, I have been getting wlan_rx_wake wakelocks while on my university's public wifi. This has been keeping the phone awake upwards of 70% of the time.

After trying to turn off wifi, I ended up getting a wakelock increase from bam_dmux_wakelock. What can I do to prevent these?
[Nexus 5 Original Android Development] Nocturnal86:
get off your universities wifi
[Nexus 5 Original Android Development] vomer:
I am really tempted to fork franco's kernel and try and add DT2W. Anyone got any guides I can follow on how to implement it?
[Nexus 5 Original Android Development] blahitzpat:
Like I said, after getting off the wifi I get a wakelock from bam_dmux_wakelock
[Nexus 5 Original Android Development] Marck527:
How can I change the colour back to Franco 's colours? My n5 looks dead without it.

Sent from my Nexus 5
[Nexus 5 Original Android Development] Rxpert:
Phone was ramping cpu aggressively on r15 without any apps or input. Time at max was higher than time at min.

Went back to r14 for now. Would go back further if they had all the WiFi fixes r14 did. I don't game so the latest performance stuff isnt as useful on my device.
[Nexus 5 Original Android Development] Nocturnal86:
no idea what it could be you'd be better off googling and doing research than asking on here its not from FK
[Nexus 5 Original Android Development] vomer:
Try the r16 test, it's better :good:
[Nexus 5 Original Android Development] Savant:
[MENTION=3292224]franciscofranco[/MENTION] hey r15 is working well for me not having any odd problems will try r16 in a few to see the difference. BTW do you stay stock or do you change your ROM occasionally? How was the movie?
[Nexus 5 Original Android Development] doubleho:
download touchcontrol paid app
[Nexus 5 Original Android Development] IAreKyleW00t:
[MENTION=3292224]franciscofranco[/MENTION] - Can we get the Gamma values you had in r14?
[Nexus 5 Original Android Development] PhantomGamers:
I already did this, lol. http://xdaforums.com/showthread.php?t=2538441
[Nexus 5 Original Android Development] franciscofranco:
Always stock, everything works as it should. Movie was very good, thanks for asking.

The values I used are not available to tweak in userspace, I already answered this.
[Nexus 5 Original Android Development] klutch:
so far so good everything, loving it how its working no jumps nada franco ur the man keep it up bro... :good::laugh:
[Nexus 5 Original Android Development] omvir:
So Franco, I'm assuming you're very confused about whether or not you wanna stick to r15 or r16....you took your precious time testing r15 and figuring everything out. What are your thoughts about what you'll do? I'm okay with both :)
[Nexus 5 Original Android Development] franciscofranco:
I'm not confused at all, its quite funny for me to see all the different opinions, feelings and feedbacks.
[Nexus 5 Original Android Development] teambestyrandy:
Ran r15 all day today amazing battery life. Gonna try r16 thanks Franco!
[Nexus 5 Original Android Development] Tony_YYZ:
It's in Developer Options. But heed my post above before attempting.
[Nexus 5 Original Android Development] JCreazy:
I am running test image 7 with ART and am undervolted by 50. Everything seems smooth so far.
[Nexus 5 Original Android Development] thegtfusion:
i don't want to be annoying, but this is a franco kernel thread... not an ART thread! [MENTION=3292224]franciscofranco[/MENTION] wont be happy to see his thread all cluttered with posts about ART. come on :)
[Nexus 5 Original Android Development] dumbo octopus:
gapps are deodexed. odex2art class can't work with deodex. so basically, art + deodex = kaboom.

~dumbo.
[Nexus 5 Original Android Development] aeppacher:
Okay guys, Franco didn't invent ART, develop it, nor can he disable it. If you have issues with ART vs Dalvic, I made a dedicated thread with pretty much everything you need to know about them. Post there and keep dev threads clean.

Here is the thread forward people to them if you see them hijacking other threads.
[Nexus 5 Original Android Development] thegtfusion:
amen :D
[Nexus 5 Original Android Development] Tony_YYZ:
That's why I posted a warning for people to just not even worry about it. Once the risks are known, less people will attempt to use it and thus less clutter.
[Nexus 5 Original Android Development] anaglich:
My apologies for continuing a natural conversation.
[Nexus 5 Original Android Development] nexusmaniac:
If Franco doesn't want us to talk about ART them he will day but no offence, we don't need you telling us not to talk about a 'development' topic :)
[Nexus 5 Original Android Development] Moleculinary:
maybe a stupid question, but important for me...

Luckily i can set the vibration with franco to a higher value. Is 100 here max or can i set it higher? May it harm my device?

Due to my job i only have vibration and i want to have it as "wild" as possible
[Nexus 5 Original Android Development] mitchdickson:
Max is 100.
[Nexus 5 Original Android Development] Warrimonk:
Does this kernel have control modules enabled?

I am trying to install the lowered brightness kernel module and it keeps failing.

http://xdaforums.com/showthread.php?t=2514765
[Nexus 5 Original Android Development] Treshy:
haven't even rooted yet but i have just purchrased your app :) you deserve a beer for your great work... will flash your kernel once it's supported by your app ;)

edit: I have one small thing to say:

When you have installed franco.kernel updater, the name is too long to be shown completely... it just shows "franco.kernel u..". So I would suggest renaming it to "franco.kernel" on the homescreen because I believe that everyone who has bought this app knows that the app is your franco.kernel app... and updating is not the only thing you can make with it...

No offense, just my thoughts about this :)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] aeppacher:
Sorry that may have come out more strongly worded than intended. My only point was that ART is very new so its hard to do any support for it especially on a kernel thread. Most problems will arise completely out of the scope of francos kernel. If he is fine with it, talk here but otherwise do it in another thread. :D

I was browsing his git and if he uses the hammerhead_defconfig in his git repo to build, then his kernel does not have module support, sorry :/

EDIT: I was wrong, modules supported