yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] strowger:
Underclock - scientific data about benefits?

Has anyone got proper data about whether under-clocking actually benefits battery life in the real world?

In the world of Linux and laptops that I'm used to, we generally look to run the CPU flat-out when processes are waiting for it, as the CPU does the most work per amp-hour at its fastest rated speed. It's a false economy to throttle it.

If the slower CPU leads to longer screen-on time waiting for CPU-intensive work to complete then things are even worse.
[Nexus 6  Original Android Development] paychex:
And less time in deep sleep when the phone wakes up. Seen some things on it. Can't find then now
[Nexus 6  Original Android Development] EniGmA1987:
Your blanket statement is both true and false, depending on what processor you are talking about. All chipsets have an optimal point and above that they start requiring exponentially more power per MHz. Using a lower clock speed will help with battery life as will undervolting, the science on that doesnt lie. I was going to post a big long thing on the reasoning and all that, but I really cant be bothered because I have posted way too much on the subject for people too lazy to go look for themselves. Anyway, you'll get the best results from governor tuning than just straight underclocking and nothing else because the governor is what controls CPU speeds. One of the largest battery tweaks you can do though is getting AMOLED friendly apps or themes, with predominantly black interfaces. testing shows an average of 30% more SoT battery life with black interface apps compared to their colored or white versions on AMOLED displays.
[Nexus 6  Original Android Development] blueren:
Apart from the few color profile settings floating around in this thread, has someone created a color profile repository? [MENTION=3292224]franciscofranco[/MENTION] - Are you gonna add one such to the FKU app like before?

Thanks.
[Nexus 6  Original Android Development] Krunk83:
Switched to apex and still had the problem. Flashed latest Pure Shamu version on stock kernel and haven't had any stutter of animations opening/closing apps or unlocking device.

nexus 6
[Nexus 6  Original Android Development] blueren:
I think this happens only when the cpu is ramping up to mitigate the load. But by that time, the animation would've finished with a stutter. Bet if you do the same action multiple times in quick succession, the stutter goes away. I've noticed this happen only with the call-placing animation, nothing else. Would help if you tried to increase the touchboost time to a higher value.
[Nexus 6  Original Android Development] Krunk83:
I could try that but that option isn't available yet in FKU. It also happens with closing apps. Not sure if that is related.

nexus 6
[Nexus 6  Original Android Development] cobyman7035:
Plz add fast charge enabled franco… thx

Via my NeXus™ 6 on Tapatalk⁴
[Nexus 6  Original Android Development] franciscofranco:
It's different here. I don't know how to explain it to you in english, but honestly there's no real difference in how long you wait for a work to finish between running it on max clock vs 50% less clock. The difference is not really meaningful that you can perceive with your eyes. Running at max clock on these chips will waste you a lot of power, the device will heat up etc. It's just different, you can't compare both archs. Wish I could explain it better, my words are missing.

Yes.
[Nexus 6  Original Android Development] gk1984:
Is there any difference between night shift and the night mode hidden in Nougat that's supposed to be of 7.1?

Been using the Nougat implementation for quite a while but it has always seemed to impact performance a bit - things feel slower, laggy with it on.
[Nexus 6  Original Android Development] ShapesBlue:
re flashed factory image, flashed recovery then supersu and finally franco kernel. [MENTION=3292224]franciscofranco[/MENTION] my apologies my friend. It turns out it wasn't the kernel at all. I'm thinking it was another app, I'll try to narrow it down . Thanks again for your help and understanding
[Nexus 6  Original Android Development] mohdschizo:
U know what [MENTION=3292224]franciscofranco[/MENTION]?

Im in love with your kernel.. Will your kernel marry me?

Its my first time using ur kernel on my device. Using Nexus4 before (good friend of mine) as a gift.

The same person gave me this Nexus6 as a gift after i fix the hardbrick (partition error stuck at bootloader/fastboot).

Love u and ur kernel's from Malaysia
[Nexus 6  Original Android Development] LeonDX82:
I'm using it on nitrogen 7.0 and battery is awesome.
[Nexus 6  Original Android Development] alsgarage:
I lost root when flashing on nitrogen. What SU to use? Thanks.
[Nexus 6  Original Android Development] LeonDX82:
SuperSU

I flashed the nitrogen un root, then SuperSU
[Nexus 6  Original Android Development] rignfool:
[MENTION=4800121]Sultanxda[/MENTION] has got a safety net fix at the kernel level...

Idgaf... But I know [MENTION=3292224]franciscofranco[/MENTION] plays Pokemon Go
[Nexus 6  Original Android Development] :
Its not a direct carryover to shamu. We don't have that flag in our cmdline.
[Nexus 6  Original Android Development] franciscofranco:
Just like Yonix said, this doesn't affect the Nexus 6. And even if it did, the patch only covers the SafetyNet CTS on the bootloader status (locked/unlocked). Has nothing to do with Pokemon GO.
[Nexus 6  Original Android Development] franciscofranco:
r55 is up! There's a significant jitter reduction after merging those two Marlin patches.

https://plus.google.com/u/0/+FranciscoFranco1990/posts/DCMxsh1ZyHj
[Nexus 6  Original Android Development] Stroky:
**** yeah!

Thank you!!
[Nexus 6  Original Android Development] cmhjr:
Will try it out for the rest of weekend, have the Bigger Brother being delivered on Monday.

It will be strange using a phone without your kernel. Thank you for all your work.
[Nexus 6  Original Android Development] Thunderbolt69:
So why is it everytime you flash this kernel or let the app auto flash it you lose Root??? This is the only kernel I've tried that does that.
[Nexus 6  Original Android Development] pkgnex:
Uhhhh... That doesn't happen on stock ROM using SuperSu.

What ROM or root are you using?
[Nexus 6  Original Android Development] Shadow Death:
I've only had it happen on Nitrogen so it's something to do with that Roms root.
[Nexus 6  Original Android Development] Thunderbolt69:
Same rom currently using, not a big deal, was just curious why.
[Nexus 6  Original Android Development] :
Yeah. That said though... If you compare the Kernel cmdline in the image vs the one once you boot... It looks like our bootloader is injecting about 4 or 5 bootloader related fields.... Might be able to apply something similar to remove them all.
[Nexus 6  Original Android Development] pkgnex:
Franco, thanks for the update!

Unfortunately, I'm actually experiencing the opposite of the intended difference... r55 is a little laggier than r54. Trying to figure out why and one thing I see is that in the fku app system monitor my cores 3 and 4 are not taking my min-frequency setting. I have the app set to 422 min, 1st two cores are doing that, but other two are going down to 300. I did not notice this on r54 (and I looked several times). I'll keep digging, but it seems that something got crossed up with core / governor control with the new patches.

EDIT: Re-downloaded and re-flashed, and everything seems good now; no longer laggy and all cores have the same min freq.
[Nexus 6  Original Android Development] franciscofranco:
Maybe your rom uses a built-in superuser or something. I dunno. Roms shouldn't come pre-rooted anyway. Just flash SuperSu and that won't happen again.

Maybe we need those fields?
[Nexus 6  Original Android Development] Thunderbolt69:
Yes, I'm on Nitrogen OS... Believe it has Superuser built in.
[Nexus 6  Original Android Development] JNewms:
Franco, nice work on r55. There is a noticeable improvement in performance. Thank you for the update!
[Nexus 6  Original Android Development] droodski:
Good stuff this latest update makes me love my phone again.... No need to waste $800 on the pixel
[Nexus 6  Original Android Development] :
#F*C*Pixel
[Nexus 6  Original Android Development] holeindalip:
I agree because of the price but I went to best buy and played with one and they are damn nice
[Nexus 6  Original Android Development] :
Maybe. But they'll always be the phone that killed off the nexus line to me... So #neverpixel
[Nexus 6  Original Android Development] holeindalip:
Really don't want to hijack the thread with this but they are still Nexus devices through and through just at a much higher cost
[Nexus 6  Original Android Development] drozek:
Will the latest work on 7.1?
[Nexus 6  Original Android Development] madboymatt:
r55 is awesome. I do have one question...in the FKU app, I have all the wakelocks set to disabled, however the

msm_hsic_host seems to have flared up all of a sudden, even with it set to "disabled".

Also, BBS is also showing an NLPcollector wakelock all of a sudden. Oddly enough, this version is seemingly giving me the best batter performance I've ever had in this device. Awesome work.

Thanks so much.
[Nexus 6  Original Android Development] LordDeath:
Wi-Fi isn't working for me:

At first I backuped and uninstalled the EX kernel manager app via Titanium Backup

Then I installed the FKUpdater and flashed r55 over the previous kernel

After several reboots I still can't enable Wi-Fi

At this point what can I do to make it work again? Is my issues caused by flashing r55 over another 3rd party kernel? I am currently on the stock 7.0 ROM.
[Nexus 6  Original Android Development] ben_pyett:
Have you tried flashing the original kernel back?
[Nexus 6  Original Android Development] ShapesBlue:
Initially I had the same issue. I think it has to due with switching from ex kernel to Franco kernel. I'd highly suggest flashing the stock factory image and then flashing Franco kernel. As Ben suggested in the previous post

Sent from my Nexus 6
[Nexus 6  Original Android Development] holeindalip:
You don't have to flash the whole stock image just the stock boot.img to be more precise
[Nexus 6  Original Android Development] LordDeath:
I did that. After flashing the latest official boot.img my Wi-Fi is back again. :)

This might be tangential, but since I changed from developer preview 5 to the official N release the baseband seems to take much longer to get up. Now the PIN prompt appears ~1 minute after Android has booted up. :confused:
[Nexus 6  Original Android Development] pkgnex:
I have found that N takes like 3-times longer to boot than M did. Not sure why. At first I thought my phone was hung up on the boot animation. I only reboot a time or so per week, so it's not a big deal, but there is definitely something different with start-up times on N vs. M... and it's not kernel dependent as it happened on the stock boot.img as well.
[Nexus 6  Original Android Development] franciscofranco:
Hmm msm_hsic_host shouldn't be held at all if it's disabled. Super weird. Try to enable & disable it back again.

NLPcollector is related to some userspace location wakelock. Good luck tracking that one down.
[Nexus 6  Original Android Development] madboymatt:
Thanks for the quick reply. Ya it's weird. I have it disabled in your app, and the set on boot is toggled. I'm gonna reflash and see what happens.
[Nexus 6  Original Android Development] franciscofranco:
Reflashing is stupid, doesn't do anything. Just do like I said, enable it and disable again.
[Nexus 6  Original Android Development] madboymatt:
Ya, I've done that a number of times. I realized I had kernel auditor installed as well, and thinking that maybe there was a conflict between the two apps. Uninstalled KA and I'll see how it goes. Thanks man!
[Nexus 6  Original Android Development] franciscofranco:
Yes, but when cycling between disable and enable all I do is cancel any pending wakeupsources and then blocking them from beind acquired. It doesn't clear the counter of the previously acquired wakeups.
[Nexus 6  Original Android Development] madboymatt:
Ya. I didn't assume that it would clear previously acquired wakeups. I've cycled between enabled and disabled a few times now. Counter is still rising.
[Nexus 6  Original Android Development] franciscofranco:
Wtf. Ok that might be something on my end. I'll check asap!
[Nexus 6  Original Android Development] fares70:
Latest build working perfect on Nitrogens N 7.1 Rom .

Thank you !
[Nexus 6  Original Android Development] gk1984:
Thanks Franco. Since I think r54, but definitely r55, no heat problems or lag when the battery level drops. This feels brand new again! I might just hold onto this phone for another year
[Nexus 6  Original Android Development] requiiiem:
How I can change noop to CFQ without using any app on your kernel?
[Nexus 6  Original Android Development] pkgnex:
You need to use some sort of app - if not a kernel app, then a terminal emulator, script manager, or similar.

For these alternate methods, you could do this.

1. Open terminal.

2. Type the following:

for i in /sys/block/*/queue; do echo "cfq" > $i/scheduler; done;

3. Hit enter.

Or write a su.d / init.d script using same code...

Or use a script manager using same code...

If this is the only change you're going to make, just do yourself a favor and download a kernel control app - even if it's one of the many, many, free alternatives available out there.
[Nexus 6  Original Android Development] cmhjr:
R55 worked great over the weekend. Was very smooth and seemed slightly better on battery.

Unfortunately since I received the XL Yesterday I have to revert the 6 to original state and locked because the person I am giving it to is not tech savvy and lives 1800 miles from me.

The Nexus phones have been great with your kernels and hope to see in the future on Pixels maybe.
[Nexus 6  Original Android Development] holeindalip:
Please remove your Google account before factory reset,friendly reminder!
[Nexus 6  Original Android Development] cmhjr:
Already did that. Removed google first, factory reset, went through setup without adding google account, factory reset, bootloader, flashall nougat, through setup again without Google account, make sure OEM unlock is ticked in developers section, Bootloader OEM lock, setup again no google account, factory reset, through setup using friends google account.

Thanks for looking out. I may have gone crazy with going through setups but wanted to make sure.
[Nexus 6  Original Android Development] Neejay:
BCL doesn't seem to be able to be disabled with r55, and it's killing me. I don't see the option to disable it with FKUpdater, and even with it disabled via Kernel Adiutor, cores 3 and 4 still go offline.

I've even tried the "disable_throttling.zip" from another thread.

I normally wouldn't mind extra battery savings, but the lag is really noticeable. Any ideas?

EDIT: Ok, looks like if BCL is disabled BEFORE getting under 40%, the cores stay on. If it's ENABLED and the phone gets under 40%, cores 3/4 go offline, and even disabling BCL at that point won't bring the cores back online.
[Nexus 6  Original Android Development] Lawstorant:
Well, I just manually edited thermal-engine-shamu.conf. I'll post the results in about 12 haurs .
[Nexus 6  Original Android Development] organick87:
[MENTION=3292224]franciscofranco[/MENTION], recently just came back from experiences with other kernels and happy to be back. Way back then I purchased the FKU app from the GPS, but no longer use the email account that I used at the time. I've emailed you twice, once a while ago and you replied but didn't continue to reply to a full resolution then again earlier this month or maybe the tail end of September. Can I switch my app credit to a different account? download code to redownload? something? I can provide my original email address and GW ID if you need it. Thank you.

My apologies if this isn't the correct place for this request, but as I said, I've tried email already.
[Nexus 6  Original Android Development] bryantjopplin:
Any chance there is an older WiFi version of this kernal for nougat? The new kernel gives me crappy connection and speed.
[Nexus 6  Original Android Development] franciscofranco:
We'll meet again soon.

And why is it driving you crazy? Your cores are going down for a reason (voltage) I'd leave them alone if I were you.

You did fine contacting here. Sometimes I miss e-mails because I get a lot. Can you hit me up on Hangouts and ask me for a promo code? Please quote this and tell me your Hangouts name, otherwise I won't open the message. Thanks.

No? Wi-Fi drivers are 100% stock and nothing will change because it will break everything since userspace & Kernel Wi-Fi drivers/firmware need to match.
[Nexus 6  Original Android Development] Neejay:
Well, ****...sounds like I need to research BCL some more then. Lol Thanks, I had no idea it was voltage related.
[Nexus 6  Original Android Development] bryantjopplin:
Do you have issues on the 5ghz band on speed performance?
[Nexus 6  Original Android Development] franciscofranco:
r56 is up with just a change that fixes the "Dirty cow" vulnerability.

I normally don't push Kernels when I'm abroad (I'm currently in London with my GF for Droidcon UK as a speaker), but the patch is just too important to not merge & push. There's no other change though, so don't think this has better/worse [insert some random thing].
[Nexus 6  Original Android Development] bryantjopplin:
Between 6.0 kernel to 7.0 kernel how much in terms of WiFi kernel/firmware change?
[Nexus 6  Original Android Development] franciscofranco:
A lot.
[Nexus 6  Original Android Development] ankutsa:
trying to set microphone gain value to 200 because nobody can hear me on the phone

only works until rebooted, then it gets reset to 10 even tho set on boot is true

I have nexus 4
[Nexus 6  Original Android Development] bamboohao:
Well yeah something is definitely wrong with set on boot, the toggle on the custom color profile turned off itself sometimes too
[Nexus 6  Original Android Development] NLBeev:
Wish you a happy conference. [emoji1]
[Nexus 6  Original Android Development] franciscofranco:
20 is the maximum value.
[Nexus 6  Original Android Development] ankutsa:
I set it to 20 and it still resets to 10 after reboot. Did you actually test your app before releasing it?

This supposed feature is the only reason why I installed it and if this doesn't work I have doubts that anything else does
[Nexus 6  Original Android Development] TonikJDK:
There is no need to be snarky, there is no dev here that is more friendly and helpful than Franco.

I just tested it, stock rooted with Franco and 20 stuck thru multiple reboots. Is this something you have been working on with othet methods? It feels like something else is left over and gettong in the way. Another app or a file you have modified perhaps.
[Nexus 6  Original Android Development] ankutsa:
well I have Android 4.4.4, rooted, TWRP 2.8.7.0, and I have the following apps that require root: AdAway, Call Recorder, com.skvalex.callrecorder.root, ES File Explorer, FKUpdater, Flashify, Orbot, Titanium Backup

Do you know any other apps that can boost mic volume on Nexus 4?
[Nexus 6  Original Android Development] pkgnex:
You're in the wrong thread.... this is Nexus 6.
[Nexus 6  Original Android Development] gk1984:
The app is intended to function with this kernel which, this thread, is for the Nexus 6. If you're having mic problems, then I'd reflash your rom or factory image and wipe the phone to be sure something else isn't causing the problem.
[Nexus 6  Original Android Development] organick87:
Done, sir. My hangouts name is NCK STRNG. original email address and google wallet ID provided as well.. thank you!
[Nexus 6  Original Android Development] seahorsepip:
Any chance to disable the magnet sensor? Getting tired of removing the magnets from my flip cases :P
[Nexus 6  Original Android Development] Assenssins:
It's Permissive?
[Nexus 6  Original Android Development] dark2099:
Nope.
[Nexus 6  Original Android Development] franciscofranco:
Oh you're on a Nexus 4... the max value for mic boost is 10: https://github.com/franciscofranco/mako/commit/a46c181a4ae7c00db0ee288feaa53007391b3b01

With ~13k reviews on a 4.8 rating do you really think I don't test my app? It has bugs like any other, but I go through public beta testing before I consider pushing it. Thanks for the encourating words though!

I'll send you a code after I get back home from London.

I can't touch that from the Kernel.

No? Why would I release a custom Kernel with permissive SELinux?
[Nexus 6  Original Android Development] ankutsa:
But if 10 is both the default and maximum then there's no mic boost on Nexus 4?
[Nexus 6  Original Android Development] holeindalip:
+int mic_gain = 0;+int mic_gain_limit = 10

0 is default 10 is limit
[Nexus 6  Original Android Development] organick87:
dang! cool that you're there! hope you're back soon! i saw my notification alert and got excited that the code came :( was hyped to play around with the app again!
[Nexus 6  Original Android Development] firewhank:
My nexus has shutdown 3 times in a row???????? How can I see if it is related to the kernel? Kernel r56
[Nexus 6  Original Android Development] dipstik:
/sys/fs/pstore/console-ramoops
[Nexus 6  Original Android Development] Janzen254:
I am getting random reboots with r56.

I attached my /sys/fs/pstore/console-ramoops
[Nexus 6  Original Android Development] rostop4a:
PC not connected device on r56....win10

Driver error code 19
[Nexus 6  Original Android Development] franciscofranco:
[ 1108.558698] HW User Reset!

[ 1108.558760] 2 sec to Reset.

That looks like you rebooted it yourself.

Don't be retarded, that has nothing to do with the Kernel, it's your computer drivers that are ****ed.
[Nexus 6  Original Android Development] rostop4a:
Ok...Try playing with my drivers...

Thank's
[Nexus 6  Original Android Development] Janzen254:
Except I didn't. It will just kind of slow down and lag a little, then go into the boot animation. It hasn't done it for awhile. But I think my battery was lower when it was doing it so that may have something to do with it.
[Nexus 6  Original Android Development] SubwayJrd:
Is your power button messed up? Because his pull was straight from your logs.
[Nexus 6  Original Android Development] Janzen254:
Can you go directly into the boot animation with the power button? It has not done it once this whole day. I do not know if it was even FK causing it, but it started doing it the day after the night I flashed.
[Nexus 6  Original Android Development] rasengan82:
Happened to me too. I had my phone on my desk and saw it reboot out of the blue. Has not happened for three days.
[Nexus 6  Original Android Development] mohdschizo:
Happened to me if i change to ondemand. Nothing happened if stick to Interactive.
[Nexus 6  Original Android Development] franciscofranco:
Reboot directly to boot animation is probably something on the rom, if it was a Kernel panic or a watchdog bark it would reboot from the begining.
[Nexus 6  Original Android Development] rasengan82:
Rebooted all the way. Had to input passcode for encryption and everything.
[Nexus 6  Original Android Development] Root Wizard:
Quick heads up franco, title says " October 27nd ". Not to be a d*ck but I believe you mean " October 27th " :)
[Nexus 6  Original Android Development] franciscofranco:
Then I need /sys/fs/pstore/console_ramoops. I've ran countless CPU stability tests and I can't reproduce.
[Nexus 6  Original Android Development] rignfool:
That is what a BCL related shutdown looks like... The battery was reporting less than 3.3 volts or so...

Why the **** it comes up as a user shutdown is effin' beyond me...

Just wait... The next stage... You have to be plugged in at less than 40% or else your phone won't make it thru reboot without BCL throttling and crawling back to your homescreen
[Nexus 6  Original Android Development] organick87:
I hate being a bother, but just sending a kind reminder on this one :confused: thank you.
[Nexus 6  Original Android Development] firewhank:
Happen again... I was with 30% battery and the phone rebooted. This never happened to me before in other versions of the kernel