yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
Nah, it would cause me more issues than its worth, trust me, I know my users.
[Nexus 5 Original Android Development] Tzfardaya:
And look at the love Franco gives us... :(
[Nexus 5 Original Android Development] tlrsax54:
Truth hurts lol.
[Nexus 5 Original Android Development] franciscofranco:
Truth hurts, but I still love my users nevertheless :)
[Nexus 5 Original Android Development] Tzfardaya:
Heh, given the "issues" people are having with my scripts, I can only imagine what would happen if you added their functionality into fku... :(
[Nexus 5 Original Android Development] franciscofranco:
Maybe time for r50 sometime soon?
[Nexus 5 Original Android Development] MarlX:
waiting :D
[Nexus 5 Original Android Development] sordna:
How to send a system shutdown broadcast !

Ok, I did some digging and experimentation, and this works in the shell under su:

am broadcast -a android.intent.action.ACTION_SHUTDOWN

I verified by running apps that handle the shutdown broadcast (using AutoStarts I found that for example BubbleUPnP handles the shutdown event) so if I have BubbleUPnP running in the background and run the above "am" command in a root shell, it exits.

Not sure if anyone finds this useful, but you can do the similar thing to start apps that die if you swipe them. So I found this way to start them without making them appear in recents. For example, to start GPS Monitor, I do:

am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n eu.illyrium.tools.gpsmonitor/.BootCompletedIntentReceiver

To start SwipePad I do:

am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n mobi.conduction.swipepad.android/.PadReceiver

I found the relevant names with the help of the Autostarts app.
[Nexus 5 Original Android Development] franciscofranco:
Amazing, thank you so much!
[Nexus 5 Original Android Development] PetritH:
You really had to announce it now? after i went to bed.. damn u franco
[Nexus 5 Original Android Development] chikimonke:
I figured you were on top of things, was really just a curiosity. Thanks.
[Nexus 5 Original Android Development] sordna:
np, just hit the thanks button ;)
[Nexus 5 Original Android Development] Kaemo:
I can't wait for r50!
[Nexus 5 Original Android Development] vomer:
If you went to bed... then who is posting?
[Nexus 5 Original Android Development] JNewms:
Enter... The twilight zone
[Nexus 5 Original Android Development] outofthisworld:
So who else just downloaded r50?ll
[Nexus 5 Original Android Development] franciscofranco:
There r50!
[Nexus 5 Original Android Development] vomer:
Flashed! :D
[Nexus 5 Original Android Development] studdmufin:
Flashed!
[Nexus 5 Original Android Development] Laggalot:
first time in my life im afraidnof flashing a new build...... dont wanna lose my battery life .... had 4 sot the last days! (even when the kernel is not supposed to have any battery life changes it mostly does for me ^^)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Tzfardaya:
Easy fix.... Don't flash... But you might make Franco cry if you don't... :(
[Nexus 5 Original Android Development] Laggalot:
i dont think I can hold back that long lol ^^ my bet is half a day ..... :D

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] JamesPumaEnjoi:
Uhhhhhhhhhhhhhhhhhhhh....everyone

Sent from my Google/LGE Nexus 5 Hammerhead
[Nexus 5 Original Android Development] Riv3n:
Downloaded n flashed. [emoji3]
[Nexus 5 Original Android Development] aavvaallooss:
May 23???

r50 comes from the future?
[Nexus 5 Original Android Development] blueren:
How much quicker is this response time? Measured in milli seconds.. Just curious.
[Nexus 5 Original Android Development] lesp4ul:
flashed v50 and now plugging in my ATH-M50 and hit some FLACs :p

maybe it is... came with delorean :cyclops:
[Nexus 5 Original Android Development] nexusmaniac:
Has anyone has any issues with the latest FKU beta from a couple of days ago? I can't get into back up and restore, governor control, colour profiles don't set, file manager, it just freezes the app when I try to get to any of this places. Anyone else? Ty

Edit: also auto flashing, clearing app data inside the app

Edit: I cleared app data with android but still didn't fix the issue. Although I git to see that startup guide again which looked really nice ;)
[Nexus 5 Original Android Development] lesp4ul:
yea me too, so i'm back to 338 build :good:
[Nexus 5 Original Android Development] JNewms:
He's aware of the issues of the beta you're running. He's got it fixed for the next one. I've been testing it today, it should be all good when he releases. Just a little thing left in the color area to do. ?
[Nexus 5 Original Android Development] aloayzab88:
Guys are you having worse battery life when listening to music? witch stock is like 3-4% per hour, with franco kernel is like 6-8% per hour. The overall battery life is good compared to stock, but the play time music is the only downside :(
[Nexus 5 Original Android Development] JNewms:
Fix it in per app modes
[Nexus 5 Original Android Development] bobby_sucker:
Stock also gives great battery, btw)

Отправлено с моего Nexus 5 через Tapatalk
[Nexus 5 Original Android Development] federikk90:
wow R50 released 23 may ! thanks to come here 2 day before to give us new release..

:laugh::laugh::laugh:
[Nexus 5 Original Android Development] FAdrums:
Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 Original Android Development] Spafey:
Just out of curiosity, what did you do to fix the audio stutters? / what was actually causing then?
[Nexus 5 Original Android Development] Madpiercing:
Hi guys, little question. I'm trying to decide between high or low hotplug threshold, so i was wondering, are the voltages per clock speed relative to one core, or for all the 4 core togheter?
[Nexus 5 Original Android Development] FAdrums:
Btw guys is there any per app setups anywhere? I mean a guide of sorts with minimum required by each app (most common of course)? Thanks

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 Original Android Development] Enddo:
not really. but you could put one together for us
[Nexus 5 Original Android Development] FAdrums:
Well that could actually be a community effort. Everybody could contribute with their per app modes and then it could be posted in [MENTION=1363323]vomer[/MENTION] 's guide for example!

What do you guys think?

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 Original Android Development] The Gingerbread Man:
I haven't had any lags using 1ghz Max, 389 GPU, 0 hot plug in any intencive gaming.

Nitronation, worms, doom, riptide, voxel rush (you guys have to try this one).

Check out my per app modes in my sig where in my settings post
[Nexus 5 Original Android Development] FAdrums:
Will do as soon as I get home (at work atm). Thanks

Enviado do meu Nexus 5 através de Tapatalk
[Nexus 5 Original Android Development] occtec:
Can anyone recommend an LED control app that actually works for the Nexus 5 without any hassles? Would like to assign per app color control and whilst charging. Currently using 'Light Manager' but it's a hit and miss really, for me anyways.
[Nexus 5 Original Android Development] aavvaallooss:
I use GravityBox (Últimate Notification Control feature, DONATE VERSION). Xposed Framework required (Not compatible with ART)
[Nexus 5 Original Android Development] occtec:
Does it actually work as intended? Any hiccups? Any tips??
[Nexus 5 Original Android Development] aavvaallooss:
I'm happy with it
[Nexus 5 Original Android Development] PetritH:
Great, u got me, like how the hell can u post from bed :P
[Nexus 5 Original Android Development] fredfox_uk:
Like this one ? http://xdaforums.com/google-nexus-5/themes-apps/n5-swap-meet-t2716434
[Nexus 5 Original Android Development] Technecium:
I listen to a lot of audio, 6-8 hrs/day.

You can try what I do but your results may vary. In FKU - CPU Manager - Governor Control.. set highspeed_freq, sync-freq and up_threshold_any_cpu_freq to 300000. Set go_highspeed_

load to 99 and up_threshold_any_cpu_load to 85.

On. my device with my audio files, it keeps the cpu from jumping up higher than 300mhz. Without these settings the cpu tends to jump to 1ghz+ often enough to make a good dent in the battery. I find 20-25% loss is good for 6-8hrs.

Only if you keep your audio app in the foreground with the screen on. Otherwise, per-app is useless for audio players.
[Nexus 5 Original Android Development] blackt5:
Light flow works for me 99.5% of the time. Every so often it wigs out and will still flash a notification after I cleared them but usually fixes itself after a little bit or if I go into the app its notifying me of and jump back out.

I'm running stock rooted with art. I don't know about custom roms.
[Nexus 5 Original Android Development] perrocaliente:
Lightflow. Doesn't require anything.
[Nexus 5 Original Android Development] piumach:
Hi Francisco,

I flashed the R50 this morning (coming from R49, where everything was good), but I'm experiencing some problems. Few hours ago the telephone app crashed and I had to reboot, then several apps crashed and now I've just experienced my first SOD ever.

What do you suggest?

Thanks,

Nicola
[Nexus 5 Original Android Development] phanitej:
for some reason i cannot reach the downloads folders for the kernel in kernels.franco-lnx.net/Nexus5/4.4/zips

Anyone else experiencing the same?
[Nexus 5 Original Android Development] dimebagdan65:
Reporting another (few) SOD's on r50
[Nexus 5 Original Android Development] Woody:
I listen to about the same amount of music during the day as well. Although I haven't had too many hiccups as the versions have progressed (and I don't use AdAway), they are there ever so slightly. I'll give your settings above a run and see how they work for me and let you know.

Just an FYI [MENTION=3292224]franciscofranco[/MENTION] when you go into FKU>CPU>Gov>Setting of choice, you have to hit the palce where you would change the freqs. and then back out before the blank box with apply is shown. I remember this bug on the Color Control app a few versions of FKUb ago, but just noticed it on this one now.

/root/proc/last_kmsg.txt if you can please?
[Nexus 5 Original Android Development] woowhee:
Audio stutters/farts reduced, not gone

I can confirm after about 45 minutes of audio on my commute to work this morning that audio stutters are reduced but not gone.

Before r50, I used to get 3-4 stutters on the train, due to cell signal changes. Today, just one. But I still got a a bad stutter when Wi-Fi was automatically turned on (by Llama) when I got to my office.
[Nexus 5 Original Android Development] blueren:
To those who complained about usb otg not mounting... how was this fixed? I'm on r50 and am unable to mount my flash sick using stick mount.. although the app did warn me about superuser being used while the recommended app should be superuserSU. Also, when I try to manually mount/unmount it says mount service is busy.... is this kernel related?

Sent from my Nexus 5
[Nexus 5 Original Android Development] Hatshipuh:
Every one complaining about USB OTG was using superuser, everyone got told the same:

Use SuperSU as the app itself tells you.

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] vomer:
Allright guys, I have uploaded some new per app modes by [MENTION=2918197]The Gingerbread Man[/MENTION] + also the custom paths for per app modes.

Link is in the signature for those interested. Simply download the files and put them in the appropriate directories on your phone :good:
[Nexus 5 Original Android Development] piumach:
I found the file, it is around 227kb but whenever I try to copy on the sdcard folder it becomes 0 kb. How can I post the file here?
[Nexus 5 Original Android Development] blueren:
Right you are! Super user is hostile. SuperuserSU is letting it mount without any issues. Thanks!

Sent from my Nexus 5
[Nexus 5 Original Android Development] franciscofranco:
800ms faster on high load spikes, which is 0.8s faster.

I refactored some of my hotplug driver code (might've helped) and I merged a patch from CAF that explicitly said that boosted audio performance on secure dma audio access, which, I think, its our case.
[Nexus 5 Original Android Development] levesqu6:
I'm in the same boat as the other guys with the bad battery life. Wouldn't this hangouts issue show up as a wakelock? Here's a album of my battery stats.

http://imgur.com/a/JENGy

I forgot to capture the main battery drain summary page, but for reference the wifi was my largest drain at 16%. The phone usage pattern hasnt changed...same locations, same 2 wifi networks...same drive home. I've tried draining the battery completely and recharging it to re-calibrate it. Most days aren't this bad, but the battery certainly doesnt last as long as it did some weeks ago...and whatever the drain is, it isn't showing up in the battery stats.

I updated to R50 last night, turned off wifi 'Scanning always available' and reset the FKU apps settings because i noticed it keeps setting the max CPU frequency to 1500mhz without my intervention. I know its not scientific to change so many things at once, but i just need this fixed.
[Nexus 5 Original Android Development] GtrCraft:
Had 2 SoD's today and my wifi crashed and needed a reboot :(

Here is the ksmg file: https://www.dropbox.com/s/3fksxmxxv2o4xed/last_kmsg
[Nexus 5 Original Android Development] franciscofranco:
Please pastie.org, I hate having to download kmsg logs to actually read them. But if your wifi went to **** there seems to be something else there. Besides these boot.imgs have been tested for days, no sod reports or any of that so Im sceptical of being an actual Kernel derp.
[Nexus 5 Original Android Development] GtrCraft:
Well, it started after I installed r50 and I didn't change anything else. Here is the the pastie: http://pastie.org/9196175
[Nexus 5 Original Android Development] sordna:
I use LEDBlinker Pro. Here's the thread for LEDBlinker Lite / Pro:

http://xdaforums.com/showthread.php?t=1900309
[Nexus 5 Original Android Development] Arstoien:
I don't think the app changes the per ap' mode while screen is off. So if you turn the screen off while in the music player (the per app mode is your "music" one), then it'll keep that until the screen is on again and it detects a new app on foreground. Someone correct me if I'm wrong.
[Nexus 5 Original Android Development] aloayzab88:
Hi, I'm setting up this profile in per app modes. This mode will run only when the app is "open", or any time I'm liseting to music even if the app is on the backgound?
[Nexus 5 Original Android Development] franciscofranco:
You sent me the recovery log :p
[Nexus 5 Original Android Development] Tzfardaya:
Please check the FAQ linked in the op...

Pam is only active while screen is on and app is in the foreground.
[Nexus 5 Original Android Development] Red5:
At least he sent something instead of "I got a SOD, no logs but plz fix now".
[Nexus 5 Original Android Development] Tzfardaya:
Or worse yet... Franco, my phone keeps rebooting, but I'm only UVing -250 fix nao kthnxbai
[Nexus 5 Original Android Development] A4ko:
Is there a change in saved per app modes path in FKU? They are not in sdcard/franko.kernel_updater/saved_per_app_modes, but in data/data/com.franko.kernel/... :p
[Nexus 5 Original Android Development] Tzfardaya:
You have to back them up first for them to be in SD card path...
[Nexus 5 Original Android Development] A4ko:
Thanks. :)
[Nexus 5 Original Android Development] GtrCraft:
It's from the last_ksmg :p

I followed the instructions you gave, I will wait for the next SoD and try again
[Nexus 5 Original Android Development] troysyx:
Superuser/Super Su

in regards to SuperSu being a better option here, if Superuser is already on my rom, is it fine to flash SuperSU in recovery to override it?
[Nexus 5 Original Android Development] RobbieL811:
Why do you want SuperSU over SuperUser? For OTG? It won't hurt anything to flash SuperSU over it.
[Nexus 5 Original Android Development] occtec:
Looks like you're right my friend ;)

---------- Post added at 02:52 AM ---------- Previous post was at 02:51 AM ----------

Well done Google, looks like our battery drain issues are from hangouts after all. See for yourself https://plus.google.com/114298483458899933963/posts/Tm8uz6ebiwS this just confirms all along what [MENTION=2882404]shreddintyres[/MENTION] had warned us about [emoji106]
[Nexus 5 Original Android Development] Woody:
I'll find the proper commands in a bit but you need to install SuperSU and open it up. Then give it SU rights through Superuser before you delete all traces of the Superuser app. If you do it wrong, you won't have either.

Edit: Here you go man or you can do it in terminal also.
[Nexus 5 Original Android Development] Kagath:
The look of the last beta of FKU is so PERFECT good work franco :)

i've just bought it and it's so impressive
[Nexus 5 Original Android Development] franciscofranco:
There you go, Google's fault!
[Nexus 5 Original Android Development] Tzfardaya:
Nuh huh, Google can't be at fault.. It's always the kernel we blame.... :P
[Nexus 5 Original Android Development] troysyx:
This is awesome man, Thank you!
[Nexus 5 Original Android Development] shreddintyres:
I dont remember exactly how it showed up in battery settings as far as hangouts but for your situation its almost explicity because of location services and having had wifi scanning always on. Wifi scanning was the culprit for your wifi always being on, NLPcollector as I understand it is a wakelock related to location services. Go into settings > location and turn it off, if you are using google now and have location services turned on it periodically checks your location coupled with wifi scanning was causing your drain. almost every wakelock shown was a result of your wifi scanning mode. IF you MUST have location services enabled switch it to device only so that only your gps is used for location and your phone isnt constantly polling the network or your router to find you. that said gps adds considerable drain especially while indoors.

As to your max cpu issue you are most likely experiencing thermal throttling as a result of increased temperatures in the summer (assuming youre in the northern hemisphere) in addition to your radio warming up from the wifi scanning. my suggestion is to raise your thermal throttle to 70c so that your device doesnt throttle the cpu (this can be accomplished via terminal, fku or any other myriad of kernel control apps). Being throttled also has a tendency to increase battery drain since your device remains in an elevated power mode to process tasks longer at the lower cpu resulting in increased battery drained. I typically experience a 10-20% drop in SOT when summer hits because of this (in Texas). Try to keep your phone out of direct sunlight for long, out of your pants pocket (body is 37C on its own) on your desk or another cooler surface to enhance heat dissipation from the phone to its environment.

Couple that with [MENTION=4997933]occtec[/MENTION] 's post regarding google's acknowledgement of the hangouts issue and reverting to an older version you should hopefully nip the battery drain in the butt.

Hope this helps,

Cheers

EDIT: [MENTION=3292224]franciscofranco[/MENTION] [MENTION=4860519]Tzfardaya[/MENTION] (/sp) i understand that PAM is only active when the app is running in the foreground and principally when screen is on, does this mean that when I listen to music via Pandora/music player that pam is only active while the screen is on and when the screen times out the system returns to system default settings? TIA
[Nexus 5 Original Android Development] FAdrums:
Yeah..just like that one! *feels stupid*

Thanks dude! :good:
[Nexus 5 Original Android Development] franciscofranco:
Yes, it only counts the foreground app and screen on of course.
[Nexus 5 Original Android Development] FAdrums:
Btw is anyone here running this combo:

Stock

FK (of course)

QQ GPU drivers

Viper audio.

If yes, any issues or advices?
[Nexus 5 Original Android Development] levesqu6:
when the CPU is thermal throttled does the throttled max CPU freq show up under the 'CPU manager' panel on the FKU app? IE i have set my phone to 2.3ghz on this panel and it was 1.5ghz when i looked at it later after a reboot or two or three.

my phone is rarely in my pocket and rarely outdoors, so i do not see the correlation between weather and power consumption. it usually sits on my desk or on the counter at home.

I have been using the phone since i got it when it came out with default settings. Google now on, wifi scanning on, and franco kernel around xmas. Its only recently that this battery drain issue has become an issue. Ah well who knows what the issue is, it seems to be behaving a lot better today.
[Nexus 5 Original Android Development] fredfox_uk:
No worries :) it's been in his sig for weeks, and he mentions it a fair bit ;)
[Nexus 5 Original Android Development] grooltor:
Yes, me. I'm not using only QC (not QQ LOL) latest drivers, but I think they won't made that great difference. So far so good, the only problem I had was related to those annoying audio farts, but now they're gone with build #50.

I'm also using Xposed with several modules on top (GB, Unicon, Greenify, AcDisplay, TintedStatusBar and others), no crashes, no issues, great battery, good smoothness.
[Nexus 5 Original Android Development] FAdrums:
Oh ok! I'm sorry but I have been away on work for one week and then holidays last week! Been pretty much away from the android world! Anyway thanks again! ;)

---------- Post added at 08:43 PM ---------- Previous post was at 08:35 PM ----------

Thanks for the info! Yeah my main doubt is the QC ( QQ LMAO - you got me there! ) drivers! Not really sure if it's worth the flash or if it's only a placebo! I have mixed feelings about it!
[Nexus 5 Original Android Development] falcons2:
Has anyone else noticed an issue that when listening to music through the headphone jack it will occasionally skip/glitch? I've only come across this bug on r49 and r50
[Nexus 5 Original Android Development] Red5:
I... I dont even...
[Nexus 5 Original Android Development] SunamY:
Black screen of death... Every 2 hours... Without undervolting

send from my OMNIfied Hammerhead with the power of Trinity 5
[Nexus 5 Original Android Development] tcat007:
So far no issues with r50 (after 12 hours). Feels smooth or smoother than ever. UV -25 across the board (not sure why I do this). Seem to get 2 days with 3-4 hrs SOT on any version.
[Nexus 5 Original Android Development] GeekMcLeod:
If it is so serious, where are all the logs you could have been getting?

Sent from my Paranoid Franconified Android.
[Nexus 5 Original Android Development] dipzb90:
Hi [MENTION=3292224]franciscofranco[/MENTION] just want to say I'm absolutely loving R50 and the FKU app. Great Work!

I've been tinkering a lot lately with per app modes, I was wondering if you have considered adding a feature which would allow a user to set how long after an app has been open in the foreground before the per app mode is applied?

For example. If I was to have a per app mode for Chrome which lowers the CPU freq and sets the load threshold to 100, effectively forcing dual core performance, to potentially save battery when browsing.

If I was just performing a quick Google search (about a minute), doing this multiple times in the day could potentially waste battery turning cores on/off as the per app mode would be applied as soon as the app has been opened. With an option to be able to set a delay for when per app mode is applied to after a given period of time has elapsed, theoretically in the above scenario there would be less time spent turning cores on/off if the per app mode was applied after I'd been browsing for a few minutes.

Hope that makes sense. :)

Thanks
[Nexus 5 Original Android Development] californicated:
The SODs must be setup related. I was running Omni with franco's r48 and r49 -> rock-stable

Switched to PA with r49 -> SOD after a few hours

Now on Slim, but didn't flash franco.kernel...yet!