yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] nathanchance:
[MENTION=3292224]franciscofranco[/MENTION], is your AnyKernel2 repo published with the modifications you made from osm0sis's version? I am interested in compiling for myself but I am not that gifted at what I need to modify in AK2 to make it compatible with this device/kernel.

Also, thank you for the Naptime update, it has been doing very well the past few days!
[Nexus 6P Original Android Development] franciscofranco:
No idea, I didn't touch any of that.

Heya. I don't have a repo with AK2 stuff. I think the best for you is just pull my Kernel sources, build it, get the Image.gz and bundle it with contents of my zip, since it contains everything I use for AK2 flashing. Let me know if that's clear (it's 5am here, starting to feel a little tired).
[Nexus 6P Original Android Development] Lambetts:
Yeah not sure what the go is.

Any tips on getting the brightness fixed on this device? Is always been a little touchy but since I flashed 20, it's intolerable.
[Nexus 6P Original Android Development] nathanchance:
Yes, perfectly clear! Thanks for the work :) as a side note, when I was compiling, I was running into this error:

In file included from drivers/usb/gadget/ci13xxx_msm.c:16:0:
drivers/usb/gadget/ci13xxx_udc.c: In function 'udc_probe':
drivers/usb/gadget/ci13xxx_udc.c:4022:3: error: label 'del_udc' used but not defined
goto del_udc;
^

I saw you addressed it with this commit but I think you also need to delete line 4022 unless you are having no issues. No worries now though, I am up and running :good:
[Nexus 6P Original Android Development] sp0rky:
Is Naptime the same as Forcedoze?
[Nexus 6P Original Android Development] seh6183:
I see in the change log that r19 contains beta 3 merges. Does the kernel work with the beta again? Last time I flashed r17 the phone wouldn't boot.
[Nexus 6P Original Android Development] JazzMozz:
I have Naptime installed, enabled aggressive doze and not battery optimized gmail and whatsapp. But email and messages get through with a delay of sometimes more than 50 minutes. Is this normal?
[Nexus 6P Original Android Development] dakore:
Just flash it and you'll get your answer. It's faster that way!
[Nexus 6P Original Android Development] franciscofranco:
But, I'll say again, there are no changes to anything related to brightness on r20. At least not on the Kernel side, I don't know if Google changed anything on the framework.

That's just a warning, it shouldn't stop the compilation. Glad it's working out for you though!

I don't know anything about any other apps related to Doze, sorry.

No.

Because Doze... I added a FAQ dialog on the latest Naptime 2.1, there's information about that in there.
[Nexus 6P Original Android Development] JazzMozz:
So if I want to receive Whatsapp messages and emails instantly, Naptime is not for me? Is that what you're saying? Then again, I read the FAQ and it says: "Although, you can choose apps to bypass doze. Go to settings -> Battery -> overflow -> Battery optimization -> All apps -> Your app -> Don't optimize. That'll allow apps like Spotify to bypass the forced doze and actually work on screen off." This apparently doesn't go for Whatsapp and Gmail?
[Nexus 6P Original Android Development] vagelis74:
Awesome pure nexus+franko r20 with stock settings +naptime 50% auto brightness,i have only one problem sometimes my battery drains 2% you can understand that from screenshot, mysterious.

Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
[Nexus 6P Original Android Development] Toutatis_:
Known bug, no actual explanation and/or fix as far as I know. It does not occur only with Pure Nexus but with many other ROMS as well.
[Nexus 6P Original Android Development] gqukyo:
Having issues with auto brightness as well with PN and r20. Going to try previous releases to see if that fixes it.

Flashed back r19 and my auto brightness works fine. With r20, it's always too dull as if it ignores auto brightness. Turning auto brightness off with r20 works fine.
[Nexus 6P Original Android Development] starter15:
What issues are you having with autobrightness?
[Nexus 6P Original Android Development] xadidas4lifex:
Franco! Paranoid Android is back! ;)

https://plus.google.com/+ParanoidAndroidCorner/posts/WcCp3J7Vj1A
[Nexus 6P Original Android Development] franciscofranco:
Uh... I don't know. Maybe the display commits I merged from the N branch are not playing along with something. I'll check and revert if needed. Sorry up-front.
[Nexus 6P Original Android Development] franciscofranco:
Tell me if there's any change on the auto brightness thing on the attached zip. I tested it and it seems to be working fine.
[Nexus 6P Original Android Development] DJBhardwaj:
That was the happiest news ever. :highfive:
[Nexus 6P Original Android Development] jasondowning85:
[MENTION=3292224]franciscofranco[/MENTION] - speaking of brightness. A high brightness widget for fk updater would be solid
[Nexus 6P Original Android Development] bobbarker2:
Or you could use kernel auditor which has automatic High brightness built-in and you can set the threshold of Lux for when it kicks in. Not trying to steer you away from Franco's app because it's awesome, but just thought I'd recommend a free solution what you want.

I never really understood ElementalX devs reason for releasing a widget to automatically control high brightness. I for one don't like having that small little widget on my screen taking up space as I never manually toggle it and always have it set to auto.
[Nexus 6P Original Android Development] gqukyo:
[MENTION=3292224]franciscofranco[/MENTION] yup, that worked. Auto-brightness works again. Tried in bright room and dark room and worked both times. You rock!
[Nexus 6P Original Android Development] doki81:
can i try the zip also? is it just flash in recovery? i find my auto brightness took quite a while to function especially from dark room to somewhere bright..the brightness will stay dim for like 4-6 seconds before it goes to full bright..
[Nexus 6P Original Android Development] Tylog:
This works fine, thanks.

---------- Post added at 12:26 PM ---------- Previous post was at 12:16 PM ----------

Yes, flash in recovery, it's a normally kernel zip.
[Nexus 6P Original Android Development] ZeroHart:
Hey there, as soon as I flashed the latest kernel it won't connect on WiFi anymore :( it just gets stuck in obtaining ip address

Using latest pure nexus
[Nexus 6P Original Android Development] franciscofranco:
I don't know anything about that, Wi-Fi drivers are 100% stock. Maybe your rom's using an older bcm firmware, dunno. Works just fine with stock, just like it ever does.
[Nexus 6P Original Android Development] ZeroHart:
This is actually kind of funny... My father in law disconnected the Modem... [emoji19] at the same time I was rebooting after flashing the kernel... Perfect timing
[Nexus 6P Original Android Development] franciscofranco:
#alwaysblamefranco
[Nexus 6P Original Android Development] Tzfardaya:
We always do.

I mean, Your kernel is the reason I've had to rma 2 6p's because they stopped charging rapidly and the usb port stopped working... Even though I had never installed your kernel on one of them... [emoji14]
[Nexus 6P Original Android Development] franciscofranco:
Pushed r21 which fixes that weird auto brightness ****ery.
[Nexus 6P Original Android Development] :
[MENTION=3292224]franciscofranco[/MENTION] is the reason my wife doesn't love me anymore
[Nexus 6P Original Android Development] ironjon:
Yup, my wife says: Franco or me...

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Original Android Development] turbo1781:
[MENTION=3292224]franciscofranco[/MENTION] Auto Brightness don't work for me. In a dark room , it is always dark and then bright again. My Settings.
[Nexus 6P Original Android Development] nathanchance:
Did you upgrade to R21?
[Nexus 6P Original Android Development] turbo1781:
Yes, clean install. Are the settings correct?
[Nexus 6P Original Android Development] gqukyo:
21 fixed it for some of us
[Nexus 6P Original Android Development] angle409:
I Never had a problem with r20 or r21 on autobriteness.
[Nexus 6P Original Android Development] xadidas4lifex:
hey franco, question. since paranoid android has returned, will you make kernels that will work with their roms? i think i remember using your kernel with pa on the nexus 10 and other nexus devices before they quit. just curious.
[Nexus 6P Original Android Development] Skyrocket2Paradise:
This kernel works with paranoid Android already
[Nexus 6P Original Android Development] xadidas4lifex:
beautiful. just took a few hours restoring all my texts so i was hesitant on messing it up. lol
[Nexus 6P Original Android Development] turbo1781:
[MENTION=3292224]franciscofranco[/MENTION] i use your kernel r21 with the Franco Kernel App on my Nexus 6p. The power saving mode turn not on automatically when the battery is under 20 percent. Why?﻿
[Nexus 6P Original Android Development] Lambetts:
Hey Franco,

Yeah I didn't mean at all it was your fault, I ran through some tests to see what the go was and it seemed, at the time, that the only change I made at the time, was flashing the kernel and that effected the brightness for some reason. Probably just a small thing. Sorry to cause you bother bro.

As always, the kernel is sweet dude, I bought your app years ago and am glad I did. Your still here putting in the hard work for all of use to love our devices even more and we all say thank you!

Maybe I'll wait for 22 and it'll all be sweet.

Thanks again.
[Nexus 6P Original Android Development] Didgeridoohan:
Because that's how it's set up...

Check under Performance Profiles in the FKUpdater. You can turn it off there if you want to.
[Nexus 6P Original Android Development] Lambetts:
So I'll need to flash r21 and the patch? As it's still buggy. Sorry!
[Nexus 6P Original Android Development] turbo1781:
[MENTION=4667597]Didgeridoohan[/MENTION], I set 20% in fku App but they not turn on the battery save mode automatically
[Nexus 6P Original Android Development] Didgeridoohan:
Sorry! My fault... I thought you were asking why it was turning on at 20%...

Note to self: read more careful. :)
[Nexus 6P Original Android Development] franciscofranco:
It's not working on r21?

I'll check if there's a bug on my code.
[Nexus 6P Original Android Development] Doo Doo:
I'm still having auto brightness problems on r21, what can be the problem?
[Nexus 6P Original Android Development] franciscofranco:
Probably the commits I reverted weren't enough. I'll do some more testing.
[Nexus 6P Original Android Development] Lambetts:
Yeah sorry Franco, I think it's still a bit off. No worries.
[Nexus 6P Original Android Development] vtex23:
Have used Franco kernel a lot in the past, and PA ROM as well. Haven't used either on my 6P...yet. Guess my question would is do I need to do anything special after flashing PA, GApps, root in Recovery? Or just reboot back into recovery and flash Franco's zip? (BONUS: or should I just download the Franco app I bought long ago and let it take care of it?) Thanks in advance for your response.
[Nexus 6P Original Android Development] Skyrocket2Paradise:
Well depends if you want encryption or not PA has force encrypt on by default. If you want to stay unencrypted flash franco along with the ROM. If you don't care about encryption you can either flash after or use the app. Up to you
[Nexus 6P Original Android Development] YudmudTR:
FYI auto brightness bug is caused by Naptime, not kernel. I'm not on Franco but using Naptime, auto brightness is not working. That's something to do with sensors. Forcedoze app got a option to fix auto brightness/ auto rotate bug.
[Nexus 6P Original Android Development] arunkr:
Anyone having issues with proximity sensor while using naptime?..I noticed this while calling someone, the screen doesn't switch off
[Nexus 6P Original Android Development] franciscofranco:
I use the same mechanism as Forcedoze probably does. After it detects screen on I toggle auto brightness/ auto rotate on/off. It sure works just fine on all my devices.

That can't be related to Naptime because sensors are activated when you screen on.
[Nexus 6P Original Android Development] Doo Doo:
This is not true, because I don't use Naptime & I have the auto brightness issue
[Nexus 6P Original Android Development] :
Thanks to this Kernel and naptime I've reached my best battery life ever today, 9 hours sot. Thanks franco!
[Nexus 6P Original Android Development] raymondoliviero:
Which rom?
[Nexus 6P Original Android Development] :
Stock. Rom doesn't matter.
[Nexus 6P Original Android Development] Prattham:
I have tried naptime since v1 and i really don't see any benefits intact i get even more drain using naptime or Greenify or force doze also doze on my device never works no flat lines at all

Any help?

Even tried the amplify and extreme battery thread but still drain was same.

:confused:
[Nexus 6P Original Android Development] omvir:
I just downloaded naptime to test this. Auto brightness is working without disabling sensors. But once I've disabled sensors in naptime, auto brightness stops working.

Not on Franco kernel, BTW.
[Nexus 6P Original Android Development] YudmudTR:
Yup that's it. I have no problems with Forcedoze if use the fix in the app.
[Nexus 6P Original Android Development] feis:
Does anyone else expirience auto rotation not working after dozing using naptime? I have to toggle it on and off, and even that doesnt always help. Other than that awesome app and working really good.
[Nexus 6P Original Android Development] Fdelux:
Hy I installed Chroma with Franco kernel and it's wonderful ...!!!! But I think I've an issue on NFC ...I try to transfer a foto between 6p and nexus 4 ( Always chroma on) and nothing happened...If I transfer a foto between nexus 4 and my nexus 5 it worked...but with the 6p nothing ...If I push the N5 & N4 on the back the phones vibrate ...If I do it with N6p nothing ...it not vibrate...NFC (Android bean not work)I don't know if its an hardware issue or software or the kernel...Any suggest??
[Nexus 6P Original Android Development] IgnorantNerd:
I'm having the same issue. Not the end of the world but annoying none the less
[Nexus 6P Original Android Development] agjdsouza:
Same here but not sure what triggers it. Seems to happen at random.
[Nexus 6P Original Android Development] dakore:
Same here. Usualy it fixes itself after next doze session (screen off, wait some time, screen on) or in case I really need rotation I do soft reboot.
[Nexus 6P Original Android Development] feis:
That sucks, seems like everyone has this problem. Anyway franco could fix this or is it just the way things work and no way about it?
[Nexus 6P Original Android Development] franciscofranco:
There's nothing else I Can do about it. Disabling the sensors like I'm doing is really rough. What I do after screening on is:

1 - I un-doze

2 - I re-enable the sensorservice

3 - I toggle auto-brightness & auto-rotate on & off

This works flawlessly on all my devices. But I don't know why and how it might fail on others. It's a caveat and we're already going around something that shouldn't be messed with.

You're free to choose weather to use it or not.
[Nexus 6P Original Android Development] ArmyGurl2011:
Is Franco Kernel Compatible with DU ROM v10.3 as it is enforcing?
[Nexus 6P Original Android Development] nathanchance:
Yes. As far as I am aware, any kernel is compatible with DU.
[Nexus 6P Original Android Development] Lambetts:
Quick one. What are the the differences between enforcing and permissive?
[Nexus 6P Original Android Development] noobhero:
this shouldn't really be the place to ask these kinda question.

u can get your answer faster than waiting for a reply here.

A SELinux-hardened system will run with SELinux in enforcing mode, meaning that the SELinux policy is in effect and things that it doesn't want to allow won't be allowed. But when trying to debug permission problems, it might make sense to temporarily disable SELinux. In this case, you can opt to have SELinux run in permissive mode, either for the entire system, or for a specific (set of) types. - Source

enforcing — SE for Android is enforcing the loaded policy. Your device is actively protected from security threats and malicious apps will be denied access.

Permissive — The SE for Android policy file is loaded, but your device is not enforcing it. If a malicious app tries to access a resource that it is not allowed to, the access will be logged but not prevented. This mode is intended for testing and debugging. It generates log files of denied app and allows Samsung to identify new app threats and update its policy files.

Disabled — The SE for Android infrastructure is not enabled, and there is no policy file loaded. Log files are not generated and your system is vulnerable to security threats

- Source
[Nexus 6P Original Android Development] Jammol:
It's working for me! Stock ROM without any mods, just Franco kernel and naptime.
[Nexus 6P Original Android Development] franciscofranco:
Stock, it just works :D
[Nexus 6P Original Android Development] Msan2000:
I just upgraded to r21 on my Nexus 6P with stock rom.. I can't get the screenshot function (power+vol down) to work anymore :(

anybody else have this problem?
[Nexus 6P Original Android Development] Brembo109:
Works just fine. Press the power button a touch earlier.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Original Android Development] adrman:
Working fine here. Same setup.
[Nexus 6P Original Android Development] Msan2000:
Took the case off and got it to work now .. Grrrr... lol
[Nexus 6P Original Android Development] franciscofranco:
#alwaysBlameFranco
[Nexus 6P Original Android Development] resynx:
That's my go to for whenever something goes wrong ?
[Nexus 6P Original Android Development] kid1986:
Can the Pure nexus CMTE rom use this kernel?
[Nexus 6P Original Android Development] Lambetts:
Thank you for your answer. I appreciate it. [emoji4]

I should of specified haha.

I meant as in what are the performance and stability differences? If any.

Thanks again!
[Nexus 6P Original Android Development] hinxnz:
There shouldn't be any difference in performance but for stability, if set to permissive then it disabling security.
[Nexus 6P Original Android Development] franciscofranco:
Don't touch SELinux. It's enforcing for a reason.
[Nexus 6P Original Android Development] SixFootPigeon:
Is there anyway to set up high brightness mode in the standard brightness slider? I want to be able to set it to high brightness mode or down to lower without multiple menu selections if possible.

Thanks!
[Nexus 6P Original Android Development] roaddaw9:
My washer and dryer stopped working after upgrading to R21. Can we get this fixed in a future version?

#alwaysblamefranco
[Nexus 6P Original Android Development] johnandbodhi:
thats funny..mine work better
[Nexus 6P Original Android Development] franciscofranco:
No because the brightness slider is part of the Android Framework and I can't change the Framework...

Unless I'm not understanding the question...

Yes. Donate.
[Nexus 6P Original Android Development] reaperofwaywardsouls:
Is it possible to have maximum brightness turn on automatically when the light sensor senses direct sunlight? Maybe as an option in your app?
[Nexus 6P Original Android Development] franciscofranco:
I already have that in Settings.
[Nexus 6P Original Android Development] Lambetts:
Franco, I was asking what it did is all, cool your jets haha. [emoji4]

---------- Post added at 06:22 AM ---------- Previous post was at 06:18 AM ----------

I may of missed something here but when I unlock my device, it's at really low brightness, and it takes a good 5 to 10 seconds to brighten up to what it should be, so I can see it, anything I can do apart from not having auto brightness off?

Disclaimer: this is basically question, not referring to the kernel being 'buggy'.

Thanks guys!
[Nexus 6P Original Android Development] venelar:
Best solution i've found is using tasker + flar's high brightness mode widget to set up a 2 finger swipe on home screen to toggle high brightness. I can post the tasker setup if you want
[Nexus 6P Original Android Development] angle409:
Or use a much simpler way: toggle quick setting from auto to max. Just make sure to slide nonauto brightness to max in display setting menu.
[Nexus 6P Original Android Development] Raza Qadri:
Is there any update planned for DP4 Of N ?
[Nexus 6P Original Android Development] indian84:
I believe Google has not released source code yet.
[Nexus 6P Original Android Development] franciscofranco:
Assuming you have FKUpdater, what's so hard about the option that I have? You have a ambient sensor light threshold, as soon as that is met the high brightness kicks in, automagically. It's the simplest and ****-free way :p
[Nexus 6P Original Android Development] venelar:
Just my use-case i guess. I work outside alot and when i want it on i just want it on for a minute, not turning off/on depending on the angle of the phone. Maybe if there was a way (been awhile since i checked) that once it kicked in automatically, it kept it enabled for X amount of time.
[Nexus 6P Original Android Development] franciscofranco:
Yeah that's a very specific use case. Maybe I can add an option to have a persistent notification with an enable/disable HBM or something - I don't like the idea of a widget.
[Nexus 6P Original Android Development] venelar:
yeah i dont like unnecessary things on the screen. i mainly got flars widget for the tasker intents and use a gesture to activate it
[Nexus 6P Original Android Development] reaperofwaywardsouls:
Would it be possible to add a gesture that toggles hbm through your app?
[Nexus 6P Original Android Development] franciscofranco:
I'm not a big fan of gestures, imagine how frustrated you could feel if you toggled it by mistake?
[Nexus 6P Original Android Development] reaperofwaywardsouls:
True, I guess the best alternative is having Roms add it as a quick settings tile
[Nexus 6P Original Android Development] franciscofranco:
I'll play with CM's SDK, it's possible to add custom tiles through it (considering you're on CM).
[Nexus 6P Original Android Development] franciscofranco:
r22 is up https://plus.google.com/u/0/+FranciscoFranco1990/posts/jErJ3dUhmtv

You're ****ing welcome.
[Nexus 6P Original Android Development] turbo1781:
[MENTION=3292224]franciscofranco[/MENTION], I had problems on dirty unicorns play 4k Videos with Franco kernel. I read this is a kernel Problem. You can confirm?

http://xdaforums.com/showthread.php?p=67285014
[Nexus 6P Original Android Development] franciscofranco:
I don't know what you're talking about. Who's the illuminated which told you it's a "kernel problem"? I don't even know what problem you're talking about, you gave 0 descriptions.
[Nexus 6P Original Android Development] turbo1781:
I recorded with the camera google 4k videos and could not play them . regardless of which app I tried it . fakt is I no longer have the problem with the ex kernel .
[Nexus 6P Original Android Development] Batfink33:
This is probably my fault. I had problems playing stock camera 4k videos with yours and Despairs kernel, the video would be blank and not play despite the progress bar moving. After trying to play the 4k video, all videos didn't work, it seemed to break all playback . The strange thing was ElementalX worked fine and didn't have this problem. After talking with Despair, he reverted a commit in his kernel and after this, it worked fine. I've no idea if this is a kernel issue but that was what happened when I mentioned this in the Kylo thread.
[Nexus 6P Original Android Development] franciscofranco:
Alright I'll take a look.

EDIT: I see what it is. I'll test it.
[Nexus 6P Original Android Development] turbo1781:
Very good, thank you.
[Nexus 6P Original Android Development] sharp87:
confirmed.. Stock 4k video cannot be played when running Franco kernel r22 ..

Sent from my G➿gle Ne❌us 6P