yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] rignfool:
It could be one of 2 things...

BCL: no solution other than underclocking your device...

Actual battery percentage:

You can edit /system/etc/thermal-engine-shamu.conf

The top couple of lines deal with battery percentage throttle and hotplug...

If you decide you've messed up your device with the edit... You can always reflash your ROM to get that file back to stock... Or just copy an unedited one and save it on your internal storage
[Nexus 6  Original Android Development] BenClay13:
Would flashing this "https://xdaforums.com/nexus-6/development/mod-disable-throttling-battery-low-t3440814" with FlashFire work?
[Nexus 6  Original Android Development] rignfool:
Only if it's not BCL...

And I don't recommend that zip... It's too aggressive... You need to throttle... Ramping to 2.7 Ghz on low voltage causes your phone to panic and shutdown to avoid battery damage
[Nexus 6  Original Android Development] cop1152:
Broken Audio

Well, I spoke too soon. Everything worked EXCEPT the audio, which only works through headphones now. So, I am going to flash a different kernel..until one works...then I will restore from my backup if necessary. Any ideas?
[Nexus 6  Original Android Development] cop1152:
I tried all 7.1.1. builds (r60-64) and could not get audio to work. I also tried dirty and clean flashing. In the end I restored to my backup. I am still looking into this.
[Nexus 6  Original Android Development] Debuffer:
Can someone send me the interactive governor tunables used in FK, please? I don't own a N6 to check it.
[Nexus 6  Original Android Development] githyanki:
That is a problem from using old version of pure nexus with new kernel. Just use the latest pure nexus.

BTW, it includes gapps also now, so don't flash them.
[Nexus 6  Original Android Development] cop1152:
Thanks for the reply. I dont know how I ended up with this version - I flashed it less than a month ago. I dont know what I was thinking.
[Nexus 6  Original Android Development] githyanki:
Builds here :

https://www.androidfilehost.com/?w=files&flid=34545

Latest is March 17
[Nexus 6  Original Android Development] cop1152:
Thanks! I am downloading the latest right now. I wonder if its ok to dirty flash this overtop of my existing? I am on Project Fi and dont want to go through activation again. Also, I notice there is a big difference in filesize of the latest build versus the others.
[Nexus 6  Original Android Development] Debuffer:
Someone?
[Nexus 6  Original Android Development] rignfool:
Download the kernel... Unzip it...

Check init.fk.rc...

The settings are in there...

I mod that file for my own purposes... So I can't help you
[Nexus 6  Original Android Development] cop1152:
Thanks for all the help guys. Here's where I am now: I first attempted to flash the franco kernel to my purenexus N6 (dec security patch). I tried ALL of the pre-March 7.1.1 kernel builds, but my audio wouldnt work with any of them. So....I restored from a backup, updated to the latest purenexus, and then flashed the latest franco kernel (r65). The phone works great! Its speedy AND the audio is working fine. So, thanks a lot for the help!
[Nexus 6  Original Android Development] The Doctor04:
Hopefully everything is ok with Franco, usually doesn't take him this long to push our the new release
[Nexus 6  Original Android Development] vsot13:
He is busy spending all his money.....
[Nexus 6  Original Android Development] franciscofranco:
Yes, buying yatchs, islands, airplanes and what not. Million here, Million there, simple.
[Nexus 6  Original Android Development] franciscofranco:
Pushed r66, small maintenance release + the latest security patches.
[Nexus 6  Original Android Development] NLBeev:
Thx ...Get your kicks on r66 ... ;)
[Nexus 6  Original Android Development] andreadec:
Hi, I flashed r65 on stock ROM (march security update N6F26U) but got no sound, so I had to restore my previous backup. Does audio work in r66? Can I install it on stock april security update N6F26Y? Thanks.
[Nexus 6  Original Android Development] NLBeev:
Nexus 6 N6F26Y 7.1.1 rom; stock-april; deboated. Data unencrypted.

Updated kernel r65 to r66.

Just checked my sounds​ after flashing r66. Rebooted twice: no issues.

(only previous sound issue concerned the speaker echo bug)
[Nexus 6  Original Android Development] vsot13:
I know, right? It's not easy to spend all the money made from android development

Edit: BTW I like that Bugatti
[Nexus 6  Original Android Development] rignfool:
... and small countries in the European Union
[Nexus 6  Original Android Development] franciscofranco:
Yes, couple Billions later the bank doesn't want more money from me because they can't invest it faster enough.
[Nexus 6  Original Android Development] BenClay13:
I'm using the app and it says version r58 is up to date. Nexus 6
[Nexus 6  Original Android Development] rignfool:
You're prolly running a 7.1.2 ROM...

If so... Download straight from his server... Link in the OP

[MENTION=3292224]franciscofranco[/MENTION]

How/where can the TCP/IP congestion algorithm be set in init files... I'm trying to run without a kernel tuning app... Just can't figure out sysctl in init
[Nexus 6  Original Android Development] Shaky Mazid:
Download and installed in android device
[Nexus 6  Original Android Development] kol1124:
Wow, amazing bro!

Thought that is only for iOS ?

Wysłane z mojego Nexus 6 przy użyciu Tapatalka
[Nexus 6  Original Android Development] githyanki:
I am thinking shaky Mazid is drunk posting, and English is not his first language. He had almost the same post last night in the pure nexus forums.
[Nexus 6  Original Android Development] franciscofranco:
You're probably on an older Android version. Every information you need is in the OP.

sysctl -w net.ipv4.tcp_congestion_control=whatever
[Nexus 6  Original Android Development] rignfool:
In which init file...

And is it a write statement like the rest of the CPU settings?
[Nexus 6  Original Android Development] franciscofranco:
I don't understand what you're asking.
[Nexus 6  Original Android Development] rignfool:
I am attempting to use init.fk.rc to set the kernel the way I want it...

But the current congestion algo is cubic...

When setting CPU parameters... In init... I see I stead of echo... We use write... Same effect achieved...

Is there a different command to set sysctrl?

Or do I just add a line at the bottom of the file?
[Nexus 6  Original Android Development] giannis_mathiou:
Just out of curiosity since support for Nexus 6 ending from Google will you continue supporting Nexus 6 for Lineage OS 7.1.2 and up?
[Nexus 6  Original Android Development] franciscofranco:
Just google it and you'll find the answer, I googled tcp congestion sysctl and found the "net.ipv4.tcp_congestion_control" in 1 minute. There's probably a similar command for sysfs somewhere.

Yes.
[Nexus 6  Original Android Development] Debuffer:
Franco

Sorry if it has been answered, but why do you prefer to not plug/unplug cores? [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 6  Original Android Development] EminSG:
Anyone except me getting rare random reboots on r66?

Got it once at night and phone was stucked at pattern unlock view on boot.

Was almost late for work!

Great work Franco. I'm using your kernels on varuous devices for years!
[Nexus 6  Original Android Development] Betacookie:
Hello, I've been running your kernel over six months now and never had major issues but I don't get OTA security patches anymore. I am still stuck on 7.1.1 feb 2017. Does anyone know why? I hate doing everything manually.

Update: I flashed 7.1.1 April 2017 with Flashfire and flashed r66 with the app afterwards. Everything works. Still annoying to do it manually.
[Nexus 6  Original Android Development] franciscofranco:
There's no need to do it.

Can be caused by 2343434732483248234324232 things. Seen users on 100% stock devices with random reboots on 7.1.1. Nougat's pretty ****ed up on Shamu.

Not Kernel related. Google signs and pushes the updates even if you're on a custom Kernel.
[Nexus 6  Original Android Development] Debuffer:
Doesn't it improves the battery since it'll have less cores online?
[Nexus 6  Original Android Development] franciscofranco:
Not really tangible, cores go into power saving when they don't have anything running on them.
[Nexus 6  Original Android Development] franciscofranco:
Just a little FYI I pushed a new version of Servicely. It goes very well with Naptime and it's free. XDA apk is ad-free, but the Play Store version has full screen ads every once in a while. Enjoy: https://xdaforums.com/android/apps-games/root-servicely-installed-apps-services-t3076769
[Nexus 6  Original Android Development] Debuffer:
I'm just waiting for my nexus 6 arrive from the shipping. Wish it arrives until Thursday.

For my information, is Pure Nexus CM or AOSP? Need to know it to discover if it's compatible with FK, if not, I'll have to find another ROM to run with it. I'd love to try FK for the first time in my life.
[Nexus 6  Original Android Development] GHFear:
For some reason your kernel doesn't work with Dolby Atmos... Do you know why that could be? I can install Atmos when I am on stock kernel, but when I am on your kernel it never goes past the moving Google logo after installing Atmos. Same thing if I install atmos while on stock kernel and then install your kernel :/

Atmos = LOVE and your kernel = LOVE... I want all love :( Don't want to have to choose haha
[Nexus 6  Original Android Development] pkgnex:
Atmos and this kernel work fine for me.

Try a different Atmos version from Ahrion's thread.
[Nexus 6  Original Android Development] The Doctor04:
Just so folks know, latest and greatest is working on 7.1.2 roms. Thanks app freaks a little bit but I got it working. I had to flip things around and flash the kernel after I superSU. Normally I install the kernel before flashing superSU but it was boot looping. Still made tweaks with the app, so things are rocking. Just a heads up if folks were wondering with the custom roms going to 7.1.2
[Nexus 6  Original Android Development] The Doctor04:
So scratch that...After a couple reboots it boot looped :(. I'll keep trying here and there but looks like we'll have to see if Grand Master Franco can make some 7.1.2 goodness happen ?
[Nexus 6  Original Android Development] EnricoAdams:
Franco can you explain what's the nature of bluesleep wakelock? Is this something that only affects nexus phones? Or it will affect any Android phone regardless of rom/kernel as long as there is active bluetooth connection? I know this issue is not solvable on Nexus 6, and as a result getting a full day of battery life with Android Watch connected is almost impossible. So I was wondering if changing the phone will give any benefits in reducing/eliminating this wakelock
[Nexus 6  Original Android Development] franciscofranco:
FK works fine for 7.1.2!

No idea. It's just part of the bluetooth subsystem. Disabling it destroys bluetooth.
[Nexus 6  Original Android Development] The Doctor04:
I ended up getting it flashed. I had to make it the last thing to flash. I had to do all the system mods first and when I was totally done, flash r66. Working like a champ now!
[Nexus 6  Original Android Development] athulele:
Hey!

I hope feature requests are okay here.

Are you going to merge all the latest sdcardfs commits?

They're merged in the Vanilla ROM's kernel.

https://github.com/VanillaNexusSource/android_kernel_moto_shamu/commits/7.1.2
[Nexus 6  Original Android Development] Debuffer:
Anyway to get double tap to wake in the kernel? Or add it?

# OFFTOPIC

Just got my N6 today, installed PURE NEXUS and Franco Kernel. Omfg it's simply the best and fastest device I've ever used in my own hands.
[Nexus 6  Original Android Development] athulele:
Double tap to wake in included. You'll have to enable it through Kernel Adiutor or Franco Updater(pro) app
[Nexus 6  Original Android Development] Debuffer:
Double posted :eek:
[Nexus 6  Original Android Development] Debuffer:
Where in FK Updater? I had to install Kernel Adiutor for it.
[Nexus 6  Original Android Development] athulele:
You need the pro version.

I don't exactly know if the setting is there but i guess it should be. Maybe franco will confirm.

https://play.google.com/store/apps/details?id=com.franco.kernel
[Nexus 6  Original Android Development] bamboohao:
In the kernel setting section, right under backlight dim
[Nexus 6  Original Android Development] NLBeev:
App in the play store. Nexus 6 double tap......
[Nexus 6  Original Android Development] The Doctor04:
It's under kernel settings
[Nexus 6  Original Android Development] gk1984:
If you use Magisk, it's not there. This is known. It's because Magisk root uses something different related to selinux. I won't pretend to know what I'm talking about. Just informing.
[Nexus 6  Original Android Development] Debuffer:
Yeah, I'd use magisk and it's not there.
[Nexus 6  Original Android Development] ShapesBlue:
Interesting. I thought for sure it was built into the kernel. I have it on my OP3T with elemental x kernel

Sent from my ONEPLUS A3000
[Nexus 6  Original Android Development] franciscofranco:
Why. This device doesn't use sdcardfs, thus, useless. sdcardfs is still under development, and it's idiotic to use it anywhere yet.

Because it needs a different sepolicy and currently that only works with SuperSu. r67 will have it working with MagiskSU soo.
[Nexus 6  Original Android Development] athulele:
I did notice some performance improvements, might be placebo at its best though.
[Nexus 6  Original Android Development] Debuffer:
Alright. I'm eagerly waiting for this update to use DT2W
[Nexus 6  Original Android Development] franciscofranco:
Lol sdcardfs is only for sdcard mounts, nothing else. You won't notice any performance difference unless you're directly dealing with files on your sdcard. sdcardfs just cuts a lot the middlelayer calls that FUSE does (which is cancer in form of software). And that overhead that's inherent to FUSE isn't really user perceptible at this point with these monster cpus. It's measurable, but not really user visible. This isn't directed to you, but whoever forcefully claims sdcardfs improves overall system performance is a donkey.
[Nexus 6  Original Android Development] athulele:
Thank you for the practical info. All these articles floating around have all but that.
[Nexus 6  Original Android Development] franciscofranco:
They explain it here: http://androidbackstage.blogspot.pt/2017/01/episode-61-kernel-panic.html
[Nexus 6  Original Android Development] zelendel:
I know you have nap time so this might be a bit off topic but just thought I would let you know that with the last round of Google updates they are putting the device into doze the min the screen goes off. I only found it (I already disabled it in my builds) while looking for something else. Just thought I would give you a heads up.
[Nexus 6  Original Android Development] franciscofranco:
Hmm... that's weird. Are you 100% sure? That's completely different from what they have stated on the documentation.
[Nexus 6  Original Android Development] zelendel:
Yeah I'm sure. I had to disable all 3 options for activating doze when the screen goes out. I even disabled the doze option completely for my personal builds.

We are seeing more and more oems do this to save battery. Google thinks the average person only sees 2.5 hours of screen on time with less then a dozen notifications a day. (I got into It with them on the video where they were talking about the new advanced doze.) once I get to my pc I'll show you the code bit.

---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------

Here is part of the config xml from the device overlay. Like I said They were all true but I changed them to false to disable them.

<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>

<bool name="config_dozeAfterScreenOff">false</bool>

<bool name="config_dozePulsePickup">false</bool>

<bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool>
[Nexus 6  Original Android Development] franciscofranco:
But is light doze or true deep doze?
[Nexus 6  Original Android Development] Debuffer:
[MENTION=3292224]franciscofranco[/MENTION]

Something is making at least one core always use the maximum frequency available.

Is there somehow I can identify what's causing it?

Better battery stats didn't help.

Also, if you can answer me, why does the cpu maximum frequency keeps changing and based on what since the thermal and hotplug are both deactivated?
[Nexus 6  Original Android Development] Debuffer:
I checked both, FK App and also Kernel Adiutor.

FKApp shows this screenshot.

Kernel Adiutor shows the screenshot attached in the preview post.

I don't really know which to "believe", but since it's your kernel and your kernel's app I'd prefer to trust it.

Anyway, is there somehow I can check if there's something with irregular behavior?
[Nexus 6  Original Android Development] rignfool:
You are overheating...

1036 is the last step in the overheating chain...
[Nexus 6  Original Android Development] Debuffer:
Well, my when I check the temperature it's always between 45 and 55 Celsius degrees. Also it keeps decreasing and increasing the maximum frequency, even without thermal changes.
[Nexus 6  Original Android Development] rignfool:
And throttling starts at 60... And will not stop until the temperature drops below 50 for sometime...

/system/etc/thermal-engine-shamu.conf

Not that I have any idea what I'm talking about
[Nexus 6  Original Android Development] Debuffer:
Thank you for the information.

To use Auto high brightness mode when I'm at street with high sunlight I'd need to move the bar to Shadow or Sunlight?

I toggled off AHBM and moved the bar to Sunlight, when I toggle it on it won't activate AHBM. Then I toggled it off again and moved all the bar to the Shadow, after toggling it on it automatically turned AHBM on. Shouldn't it be the opposite? [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 6  Original Android Development] rignfool:
The seekbar set how many lumens required by the light sensor to activate HBM...

So when you set to sunlight... You need more lumens... Than if you set to shadow
[Nexus 6  Original Android Development] Debuffer:
If I leave it at default value won't it activate when I'm at home close to a light?

Also will it automatically turn off when I leave the sunlight? Because I had to manually turn it off.
[Nexus 6  Original Android Development] puckman:
Wow, just installed this and suddenly I have the phone I always wanted. Just google Nexus 6 lag and you will see thousands of hits. At times it has been so bad that I wanted to smash the phone. Anyways, early days yet but I installed it an hour ago and I can feel the difference. Now I have to work out what the dizying amount of options do.
[Nexus 6  Original Android Development] franciscofranco:
New Franco Kernel version for the Nexus 6

r67

1. Merged the latest security patches from the May 2017 Security patchset

zip: https://kernels.franco-lnx.net/Nexus6/7.1.1/anyKernel/fk-r67-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!
[Nexus 6  Original Android Development] BenClay13:
So quick with the updates. Another reason I fully support this kernel
[Nexus 6  Original Android Development] giannis_mathiou:
Thank you very much for the update. Can I flash r67 alongside with LineageOS 7.1.2 ? As I see in your webserver that from r60 and up are in 7.1.2 folder too. Can I flash those version in Lineage 7.1.2?

Edit: Flashed r67 and works fine! [emoji2]
[Nexus 6  Original Android Development] franciscofranco:
LineageOS is 7.1.2 so yes...
[Nexus 6  Original Android Development] athulele:
I just had a random reboot while using telegram.

Stock rom n6f27c + franco r67
[Nexus 6  Original Android Development] franciscofranco:
Doesn't seem to be a Kernel panic, so it's not something caused by me.
[Nexus 6  Original Android Development] rignfool:
It didn't reboot...

It shutdown... Right?

If so... It was a low voltage shutdown...

It's reporting you long pressed the power key... And if you didn't... Then it was BCL
[Nexus 6  Original Android Development] athulele:
It rebooted. It was at around 30-35% battery left I think.

If it's BCL and low voltage issue..i used the phone till like it was at 15% and didn't have any issues.
[Nexus 6  Original Android Development] rignfool:
Then I am stumped... Your log is reporting a power key press...
[Nexus 6  Original Android Development] athulele:
Oh well, i'll research more and check the logcat next time this happens.

Thanks!
[Nexus 6  Original Android Development] Ph0z3:
Sssooo I'd really like to use this kernel..

Coming from bone-stock / haven't been rooted.

But, still need Android pay working & PokémonGO working...

-- is this possible?
[Nexus 6  Original Android Development] Ph0z3:
But doesn't this need root to operate correctly?

And root breaks both of those.
[Nexus 6  Original Android Development] BigDig:
Root with magisk, use magisk manager and enable hide root - root and unlocked bootloader are hidden and Android pay works...
[Nexus 6  Original Android Development] Ph0z3:
Awesome. Thank you.
[Nexus 6  Original Android Development] franciscofranco:
You don't need root to flash a Kernel.
[Nexus 6  Original Android Development] Ph0z3:
I was unaware of this...
[Nexus 6  Original Android Development] Ph0z3:
Bought your app to flash it...

Currently at 24 minutes waiting on "magical enhancements" should this be taking this long?

Rebooted on own, tried to reinstall, waited another 33 minutes for install... Got nowhere.
[Nexus 6  Original Android Development] Amos91:
Have you got root? I'm sure you'd need it to flash a kernel through the app, it should take 30 seconds at most.

Otherwise you need to download the image file and flash through bootloader OR flash the zip through twrp.
[Nexus 6  Original Android Development] comoc85:
Not sure if I'm doing something wrong, but I cannot get r5 to work. It installs fine (I have used both the FK autoflash feature and manually flashing through latest TWRP). Once it boots, it seems to be working fine for a few seconds, until the phone starts looking for the radio signal. Once the signal icon shows up the phone freezes and reboots. When it boots up again it does the same thing. I wipe both caches every time I flash a new kernel. Running stock 5.0.1 software, no tweeks. r4 works just fine.

Any ideas?
[Nexus 6  Original Android Development] warrenis1234:
all this talk about screen preferences. anyone experiment with setting them way low like in the hundreds... maybe help with battery life?
[Nexus 6  Original Android Development] franciscofranco:
Absolutely no idea, there are only two introduced interfaces, the vibration strength and UV. They don't touch anything on the Kernel defaults, they just provide interfaces. I don't know what to say, I have the same stock 5.0.1, no bull**** installed. Just works as it should.
[Nexus 6  Original Android Development] PeRKoniX:
YESS! Finally! I can lower the vibration strength in r5. The default strength is SO high that the device produces quite some noise when it lies flat on a hard surface. I found the sweet spot at 63. Much much appreciated!
[Nexus 6  Original Android Development] franciscofranco:
Why don't you try it yerself and let us know? :)
[Nexus 6  Original Android Development] warrenis1234:
well it certainly gives the non adaptive display brightness a lower minimum setting. in the dark, the stock minimum is pretty bright
[Nexus 6  Original Android Development] ilanzo82:
on my galaxy nexus with franco's kernel, I set rgb to 182, 190, 200. i'll try it out n see! at first glance it looks ok, don't know if it will have any effect on the battery/ sot.