yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
That's not the full log. And by the way if you had a crash with stock Kernel something might be ****ed in your setup. As I said before I need more info that what you provided.

Maybe for your usage you won't notice a difference, but some users might :)
[Nexus 5 Original Android Development] smt8544:
OT, however you going to update your sig for OPO? :P
[Nexus 5 Original Android Development] tylerdurden83:
If only you could have access to the radio's source, it's the single most draining thing in the phone for me atm, less than 1 hour of call drained more than 1 hour of screen on....
[Nexus 5 Original Android Development] der_sascha:
Hi

I have the problem. That my device freeze for 30 seconds when I am playing some games abut more than 5 minutes. After 1 minute freeze time device works well again. I am using vormer_tweaks script no UV. What could be the reason for this?
[Nexus 5 Original Android Development] cobhc:
Doesn't appear to change anything. T-Mobile has been shocking for me recently no matter what. I just wanted to install it to have the latest version lol.
[Nexus 5 Original Android Development] Tzfardaya:
What other system modifications have you made... Given that you're the only one reporting this particular issue, I'm fairly certain it's not (just) the kernel at issue here.
[Nexus 5 Original Android Development] der_sascha:
I modeficate nothing. But maybe the vormer tweak grafik settings in fku is reason
[Nexus 5 Original Android Development] Tzfardaya:
Possibly, but doubtful, also very easy to check...

Delete (or move) his script, reboot, and see if the problem continues...
[Nexus 5 Original Android Development] der_sascha:
Yes I will test it how to remove it? I was flashing in recovery ?
[Nexus 5 Original Android Development] Tzfardaya:
Read his directions for manually installing it, then perform them in reverse....

Same post that you got his flashable zip in. [MENTION=1363323]vomer[/MENTION]....
[Nexus 5 Original Android Development] vomer:
delete the file under /etc/init.d to remove
[Nexus 5 Original Android Development] Cuapy:
For sake of testing I did the same as I'm mostly gaming so this would be a nice stress test, and I have to say I've not seen any performance degradation.. Phone is running smooth no micro stutters no lags or whatsoever. I will report back after couple of days if there will be any change.
[Nexus 5 Original Android Development] Technecium:
I may have stumbled upon a bug in FKU but I'm not sure.

All of my set on boot settings stick except for ondemand - governor settings. The set on boot icon is checked but after reboot the settings I had chosen have changed back to default.

To reproduce, note the default input_boost_freq is 1497

1. change it to anything else.

2. tick set on boot icon

3. reboot

4. wait for FKU root notification

5. check input_boost_freq

Selecting ondemand governor set to boot does not help either.

I've also checked directory and file permissions of /data/data/com.franco.kernel/
[Nexus 5 Original Android Development] marquimsp:
Doctors say the mo defecating the bettah...

:laugh:
[Nexus 5 Original Android Development] franciscofranco:
Thanks. I think I know what that might be, it's a case of the app trying to restore Ondemand settings before Ondemand has been set as a governor.
[Nexus 5 Original Android Development] Aerowinder:
[MENTION=3292224]franciscofranco[/MENTION]

Confirming r57 has not fixed the issue of the 1497MHz throttle, logs are attached. I flashed it on release day, and this is the first time I've seen it. I've rebooted the phone only one time since then, and I check the frequencies every 6-10 hours. Same thing as before, system wasn't throttling because it was idle. System Monitor values coincide with FKU values. Switching back to the proper 2265MHz in FKU works as intended, per System Monitor. Oh, tried killing FKU also. Didn't change anything. Does not appear to be a bug in FKU.

I'm going to use Tasker to monitor the status of scaling_max_freq, my question to you is when the throttling takes place, which clock speeds are used? Also, does using echo on scaling_max_freq still change clock speeds on all cores? I know that it used to, but I was playing with my flo, and the clock speeds were not taking when echoing scaling_max_freq used to work fine for changing the clock speeds.

Edit: I made a task that checks every ten minutes my clock speed. If it is not the expected speed, I will get a notification, and logcat and dmesg will be timestamped and dumped into a folder on my SD. If the issue is producing log messages, this should make them easy to find.
[Nexus 5 Original Android Development] combatdeity:
Running r57 with input boost off, the phone is smooth at all times except when swapping cell towers, there will be a stutter, both in the ui and/or audio with screen off.

Could someone suggest what could resolve this? Would raising highspeed freq whilst on the move be a way to combat this? If so, what freq would be advised without too much of a hit to battery?
[Nexus 5 Original Android Development] franciscofranco:
<6>[12363.932832] msm_thermal: Setting cpu0 max frequency to 2147483647

<6>[12363.933742] msm_thermal: Setting cpu1 max frequency to 2147483647

It's unlocking the cpu frequencies as you see.

I have a request. Uninstall FKU, reboot your device and make it throttle and check it with System Monitor. Also Kernel log also helps.
[Nexus 5 Original Android Development] franciscofranco:
Because #leak.

#workInProgress #unfinished #becauseTags #Nexus4 #iHateTags #future #FKU
[Nexus 5 Original Android Development] Technecium:
FYI I think it's pretty cool that FKU restores both sets of governor settings. I didn't realize it did that.

I have made a Tasker profile that switches to ondemand while the screen is off. This is useful because while I sleep I listen to music. if I'm on interactive I lose about 30% battery but on ondemand I lose only 14%.
[Nexus 5 Original Android Development] PetritH:
whoever hacked your account will be banned for leaking this.. shame on him
[Nexus 5 Original Android Development] franciscofranco:
I thought I had all locked tight on my lab... probably my cat that did it :(
[Nexus 5 Original Android Development] Globespy:
Flickering/Switching Notification Icons

Just installed R57 on stock rooted and noticed that the notification icons (hangouts, file downloaded etc) are switching positions with each other and flickering on/off?

When I pull down the notification bar the individual notifications are jumping around too.

This is a brand new phone with hardly any apps installed and only started after updating to the Franco kernel?

Using Vomers settings in the Franco Kernel App (Pro version)

Any help appreciated.

Thanks.
[Nexus 5 Original Android Development] florin250:
I have R57 +stock rom rooted to , I have no problems , try to wipe data , cache and dalvik cache from recovery then reboot phone.
[Nexus 5 Original Android Development] Technecium:
We'll need some more info. Please post a logcat log. Are you by chance using xposed?
[Nexus 5 Original Android Development] Aerowinder:
Sure, I can do that. Would you be so kind as to answer my scaling_max_freq question, though? Echo on that file only limits the first CPU. Worked on older versions, doesn't seem to any more.

PAM is the only reason I'm using FKU. Echo isn't setting the clock speed correctly.
[Nexus 5 Original Android Development] Technecium:
https://github.com/franciscofranco/hammerhead/blob/nightlies/drivers/thermal/msm_thermal.c

enum thermal_freqs {
FREQ_HELL = 729600,
FREQ_VERY_HOT = 1036800,
FREQ_HOT = 1267200,
FREQ_WARM = 1497600,
};

---------- Post added at 01:21 PM ---------- Previous post was at 12:50 PM ----------

While we're on the topic of freqs/cores/echo etc. I was under the impression that 2 cores were always online, even with the screen off.

However, this is with the screen on:

koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2265600
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
2265600
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
/system/bin/sh: cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq: No such file or directory
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
/system/bin/sh: cat: /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq: No such file or directory

And this is with the screen off:

koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2265600
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
/system/bin/sh: cat: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq: No such file or directory
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
/system/bin/sh: cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq: No such file or directory
koe@koeslate ~ $ adb shell cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
/system/bin/sh: cat: /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq: No such file or directory
[Nexus 5 Original Android Development] franciscofranco:
That isnt even remotely Kernel space related... The Kernel doesn't know what are icons and what is a notification...
[Nexus 5 Original Android Development] franciscofranco:
Before I had a small hook in the Kernel to mirror cpu0 changes to other cpus, but ultimately decided that wasn't the "right" thing to do.
[Nexus 5 Original Android Development] franciscofranco:
Screen off is always just one cpu for the sake of achieving the deepest power state. With two CPUs online, I think on this HW revision, cpu0 cannot enter standalone power collapse.
[Nexus 5 Original Android Development] Aerowinder:
Good, I thought I was losing it! [emoji1]

Does there remain a way for Tasker to reliably adjust the clock speed?
[Nexus 5 Original Android Development] franciscofranco:
Yes... You need to echo for each online cpu, then online the ones that are off, echo to them and then my driver will off them again in a couple milliseconds.
[Nexus 5 Original Android Development] Aerowinder:
Is the proper way to echo 1 > /sys/devices/system/cpu/cpuX/online? I did that, then immediately echo 652800 > /sys/devices/system/cpu/cpuX/cpufreq/scaling_max_freq.

Verified that I have write permission on online file. Does not appear to be working.
[Nexus 5 Original Android Development] franciscofranco:
If you're doing it by hand by the time you echo the frequency the cpu will be offline again. They need to be done in serial.
[Nexus 5 Original Android Development] Bronto9:
I'm interested in this too.

Is something like this correct?

echo 1036800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1036800 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1036800 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1036800 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

EDIT: it looks like this is working, as far as I can see
[Nexus 5 Original Android Development] nexusmaniac:
Push it to beta! ;) Hehe
[Nexus 5 Original Android Development] franciscofranco:
Neps, the app is empty, just working on layouts at this point then I can just merge code around. Probably 1-month of work ahead.
[Nexus 5 Original Android Development] alanwyl:
Put a && between the echos
[Nexus 5 Original Android Development] Technecium:
Try this, saves you a few steps.

# Obtain root
su

# Bring all 4 cores online with mako_hotplug
echo 0 > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold

# Set your freqs
echo [freq] > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo [freq] > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo [freq] > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo [freq] > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

# Put mako_hotplug back to default
echo 80 > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold
[Nexus 5 Original Android Development] Clauu:
echo 0 > /sys/devices/system/cpu/cpu1/online

how can we set it permanently?
[Nexus 5 Original Android Development] Bronto9:
I don't know if I did something wrong, or if there's a bug, but here's what happened:

- rebooted the phone to have unmodified sysfs entries

- run "echo 100 > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold"

- in trickster mod all the cores where always online(even with a 4% load). I also checked this with "cat /sys/devices/system/cpu/cpuX/online"

- run "echo 100 > /sys/devices/virtual/misc/mako_hotplug_control/load_threshold" another time worked as expected(only two cores active even with 100% load)

At the moment I've no time for testing, so I'll do it later.
[Nexus 5 Original Android Development] franciscofranco:
You don't.
[Nexus 5 Original Android Development] payas0:
what's the recommended max clock and color settings for Nexus 5 ? sorry for a noob-ish question my N5 just arrived. thanks! :D
[Nexus 5 Original Android Development] Tzfardaya:
Defaults, and whatever you think looks good.... (@yorici be nice...)
[Nexus 5 Original Android Development] aavvaallooss:
I underclock CPU to 1958 and GPU to 389. For colors I use Yorici calibrated punch
[Nexus 5 Original Android Development] slater_g:
Anybody? Pretty please? :confused:
[Nexus 5 Original Android Development] franciscofranco:
I dont really understand the problem...
[Nexus 5 Original Android Development] Clauu:
And why is that, is there any specific reason? I just want over night just 1cpu online.. nothing more
[Nexus 5 Original Android Development] pkelly517:
Hmm... I kinda prefer deep sleep when I'm doing the same.

I don't think you know enough about how the kernel works to be messing with /sysfs commands.

But, good luck to you!
[Nexus 5 Original Android Development] Clauu:
Yeah it's kind a rocket since to understand that 2 running cores eat more battery than 1 :cyclops:
[Nexus 5 Original Android Development] Bronto9:
When the screen is off the phone enters deep sleep, which turns off 3 cores. What you're willing to do would be (not very much) useful only if you left the phone with the screen on for the entire night.
[Nexus 5 Original Android Development] Clauu:
So if this is possible in deep sleep then why not in daily use too? I really do not understand franco's stubbornness to not enable this option
[Nexus 5 Original Android Development] Tzfardaya:
Because it's his kernel... He doesn't have to do anything with it he doesn't want to. . If you don't like the options in his kernel, you're more than welcome to go use another or cook your own...
[Nexus 5 Original Android Development] pkelly517:
Whoa! We got a rocket scientist here!

It's a common belief in this thread that

using a minimum of 2 cores while the screen is on is at LEAST as battery efficient as continually turning cpu1 on/off repeatedly.

The power required to turn on a core is far more than leaving it on at a minimum frequency. Sure, this depends on how many times you turn the core on/off. For general use, 2 cores at minimum is better than hotplugging cpu1 repeatedly.

The ability to turn off the core is not possible in the coding. Not so much stubbornness as a philosophy.

You can live with it or try another kernel. Either way, good luck.
[Nexus 5 Original Android Development] Bronto9:
And probably franco doesn't understand your stubbornes to enable that option. And since the kernel is developed by him, you are free to change kernel or to accept that.

Trust him, franco did test the two options, and he found that keeping 2 cores on is more battery friendly.
[Nexus 5 Original Android Development] Tzfardaya:
Yes, trust in the Franco.

The Franco is good...
[Nexus 5 Original Android Development] slater_g:
Let me try to phrase it differently: After a couple of days (AKA: without rebooting), the time from pressing the power button to the display switching on increases.

Day by day the "waking" is slower. After a reboot, the display switches on instantly. After two weeks without rebooting, the display takes about 1.5 seconds to switch on when pressing the power button.

I hope that the problem is more clear now. I have another N5 with stock kernel that does not behave like this. So I suspect the kernel.

If anybody has a N5 with this kernel and knows that he has not rebooted since a few days, I would be very thankful if that person could keep an eye on that behavior. If this is truly an error of this kernel, it might have slipped through because most guys here flash (and therefore reboot) very often.
[Nexus 5 Original Android Development] Laggalot:
Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Juzman:
It happens randomly from pressing the power button > screen on. Sometimes is instant, other times 1 - 2 seconds. Phone has been on for 1d 11h without a reboot or charge.
[Nexus 5 Original Android Development] Aerowinder:
This is the only way it always works.

You can echo 1 to online && echo xxxxxx to scaling_max_freq, sometimes it works, sometimes it doesn't. At least with Tasker. Oh, I also had to chmod 0644 the files. some were set to 0444.
[Nexus 5 Original Android Development] occtec:
[MENTION=4860519]Tzfardaya[/MENTION] do you have a Oneplus One?
[Nexus 5 Original Android Development] Tzfardaya:
One thread at a time.. :P. And pm probably would have been more appropriate.. ;)
[Nexus 5 Original Android Development] yoitsjustin:
Flashed this on my Nexus 5, fantastic job. Used to get 2.5-3 hours of screen on time with mixed usage, now I get 3-4. Really great, thanks so much for this!
[Nexus 5 Original Android Development] occtec:
Just had to get your attention ;)
[Nexus 5 Original Android Development] Tzfardaya:
My attention is easy to... SQUIRREL!
[Nexus 5 Original Android Development] Tzfardaya:
No, that's a dog....

I said squirrel...
[Nexus 5 Original Android Development] neriamarillo:
This is what I meant lol Up - Dug the Talking Dog - "Squirrel !": http://youtu.be/xrAIGLkSMls
[Nexus 5 Original Android Development] vomer:
---------- Post added at 12:51 AM ---------- Previous post was at 12:32 AM ----------

PSA: New VomerTweaks tasker profile has been added to the list of options to apply the tweaks :)

simply import and enjoy ;)
[Nexus 5 Original Android Development] abra5umente:
Is anyone else noticing that vomers flashable tweaks aren't working?
[Nexus 5 Original Android Development] Technecium:
Warning: Sarcasm follows.

They didn't stop my neighbor's dog from pooping in my yard. They haven't cured cancer. So, they seem to be working just fine. :)

You have to be a little more specific.
[Nexus 5 Original Android Development] fatspirit:
http://www.youtube.com/watch?feature=player_detailpage&v=HxoWHeoYU3g#t=30
[Nexus 5 Original Android Development] slater_g:
Thanks! Strange, for me it gets consistently worse.
[Nexus 5 Original Android Development] Ev1L4o:
Am I the only one expwriencing slow gps locating ? It really takes too much when compared to release state. I am on 4.4.4 with this kernel. Anything I can do ?
[Nexus 5 Original Android Development] franciscofranco:
That is absolutely unrelated to the Kernel. Do you have any idea of the conditions for getting a location lock? -.-
[Nexus 5 Original Android Development] Tzfardaya:
Ooh Ooh, I do, I do!! ;)
[Nexus 5 Original Android Development] Aerowinder:
GPS has never been very good on hammerhead.
[Nexus 5 Original Android Development] akash3656:
Strange, I have issues on the hammerhead, but GPS not being one of them. Normally in less than 30 seconds I'll get a lock worst case. Best case would be <5 seconds.
[Nexus 5 Original Android Development] Tzfardaya:
You probably stand outside when using gps... Only time I've seen hammerhead have gps issues is indoors... (where gps doesn't work anyways)
[Nexus 5 Original Android Development] OGroteKoning:
Move closer to a satellite [emoji1]
[Nexus 5 Original Android Development] Tzfardaya:
Can't... Hammerhead gps wouldn't function properly in space (gps throw away the high point on a 3 sat connection...)
[Nexus 5 Original Android Development] Ev1L4o:
Dunno... it takes around 3-5 minutes... I remember it located 18-22 satelites in a minute... Crazy. I will post a thread elsewhere, thanks for the heads up.
[Nexus 5 Original Android Development] Tzfardaya:
18-22?????

Not possible... The earth gets in the way (even I'd you had a device that would connect to that many... Consumer/professional grade dedicated gpsr's can only connect to a max of 12 (of 24 satelites) ... And I've never connected to more than 8 with any of my gpsr's with 12 sat capabilities, even standing on a mountain top...

Tbh, I can't seem military units being able to connect to more than 12 either, again, the earth would get in the way...

Takes a minimum of 3 sats to position, the rest are just error corrections... (the more satellites you've connected to, the smaller the area of probability is)
[Nexus 5 Original Android Development] Ev1L4o:
Sorry mate, I was thinking about other thing... anyway I was getting to 3 under a minute and up to 6+ in 2 so I really have no idea what is my problem right now.
[Nexus 5 Original Android Development] DigitalJosee:
Strange, I got 11 satellites in less than 2 minutes, and I was indoors...
[Nexus 5 Original Android Development] Tx Redneck:
Are you sure about this? Here's 14 sats locked, while sitting on my couch in the living room.

Edit:I accidentally enabled Airplane Mode when I first tried to get the SS.
[Nexus 5 Original Android Development] akash3656:
Urm that is true. But I forgot to add that I was inside a moving car with some building around me (not a concrete jungle though). I find it extremely impressive as my Galaxy Nexus hardly ever got a lock in a moving car even after 5 minutes. I used to stop the car and wind down the windows just to get a lock on the Galaxy Nexus.
[Nexus 5 Original Android Development] sordna:
Since the Nexus 4 we have GLONASS support with extra satellites available to help.

BTW it helps to get a GPS lock faster if your data is turned on. Often I have my data off and then it sometimes takes over 2 minutes.
[Nexus 5 Original Android Development] Ev1L4o:
Strange.... I dissabled data and wi-fi and got 3/22 for 5-6 seconds.... very strange.
[Nexus 5 Original Android Development] KTT16:
Just in case anyone was interested, r57 works beautifully on PA 4.43 haven't yet tried the alpha that's avail. Gonna see how battery is and will report back later.
[Nexus 5 Original Android Development] menting:
I was curious and did a quick check in my house as well.

Shows 21 in view and using 13
[Nexus 5 Original Android Development] Tzfardaya:
Only 24 active satellites in the gps constellation (3 more as backup in case of failure), each satellite orbits the earth twice in a 24 hour period... So at any given time there should only be at max 12 satellites available for your device...

Although it is possible that my knowledge is out of date and they've added more satellites..

Or they've combined the gps system with the European system since I last checked..
[Nexus 5 Original Android Development] aavvaallooss:
Maybe GPS + Glonass + Galileo?
[Nexus 5 Original Android Development] fredfox_uk:
N5 & N4 use GLONASS as well

http://www.anandtech.com/show/7517/google-nexus-5-review/7
[Nexus 5 Original Android Development] Tzfardaya:
That would be it... The Russians hadn't finished/made publicly available glonass when I was doing my studies on gps..
[Nexus 5 Original Android Development] rowdyw:
[MENTION=3292224]franciscofranco[/MENTION], this is not important, I am just curious.

I have noticed that on the kernel settings page in FKU, on options like fast charging, logcat, ect., where the only options are enabled or disabled, sometimes tapping on that option toggles either enable or disable, and other times it brings up a dialogue to either enter 1 or 0 to enable to disable.

Any ideas on why the behavior of these options varies?
[Nexus 5 Original Android Development] Red5:
I just ordered mine today. Luckily for me, Franco has a nice kernel all setup waiting for it. :D