yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Read The Help section of nap time. It tells you exactly what the problem is and it tells you how to fix it. You need to add the app to your sensors white list.
[Nexus 5X Original Android Development] antroid88:
My post points that it doesn't work.
[Nexus 5X Original Android Development] SKUndef:
I've installed Naptime, and donated, nice work Franco :)

Just a question, after having enabled Aggressive Doze, i've starting experimenting to find out if any of my apps need to be whitelisted. In effect some of them seem to need to be in that list, mainly apps for communication, but surprisely not those for music playing.

What I've got problems with is GMail. Even if whitelisted it doesn't notify e-mails under aggressive doze mode. Anything i forgot to apply?

Thanks

Edit: For Naptime users, may I ask which apps usually you whitelist?
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Misread... is aggressive doze blocking a wakelock that wakes up your device for Google Fit? Have you looked at better battery stats to see what's being blocked?
[Nexus 5X Original Android Development] antroid88:
No worries. No, I didn't check wakelocks. The problem appears with regular step counter, not with activity tracker when I run for example. Sometimes it counts steps, sometimes not.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Well I'm not even going to pretend that I can help you. LOL..never used it myself.
[Nexus 5X Original Android Development] franciscofranco:
Have you also added it to the sensors whitelist?

Because doze onle has a maintenance window per 30 minutes, which is when it syncs stuff and and allows for brief network connection & some deffered wakelocks to be acquired. I dunno for how long, but I think it "de-dozes" for a couple seconds for the maintenance period.

Thanks for the donation :)

Doze blocks wakelocks, that's how it's built.
[Nexus 5X Original Android Development] antroid88:
Yes, sure!
[Nexus 5X Original Android Development] franciscofranco:
Dunno then. There's nothing else I can do on that end. Doze is pretty aggressive.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Not sure if this is the one hundred percent right place but didn't know where It was. The light sensor flashing is completely gone as far as nap time goes. Thanks [MENTION=410271]fransisco[/MENTION]franco
[Nexus 5X Original Android Development] ulxerker:
Whatsapp to get instant messages.
[Nexus 5X Original Android Development] inuZ:
Could you please add a "Display Always On Option" in the per App Profiles? Thanks :)
[Nexus 5X Original Android Development] franciscofranco:
;)

Hmm... not sure. I can see that being misused and then users complaining "omg display doesn't turn off automatically 1 star".
[Nexus 5X Original Android Development] franciscofranco:
New Naptime release: https://plus.google.com/u/0/+FranciscoFranco1990/posts/MShfWEWDyqU
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Thanks for the update man!!! Love the quicktile!
[Nexus 5X Original Android Development] franciscofranco:
New FKUpdater update https://plus.google.com/u/0/+FranciscoFranco1990/posts/DNBxG2zygJc
[Nexus 5X Original Android Development] PedroM.CostaAndrade:
I can´t get servicely work on my nexus 5x
[Nexus 5X Original Android Development] franciscofranco:
r19 is up with September security patches https://plus.google.com/u/0/+FranciscoFranco1990/posts/dTfHKuBqXfD
[Nexus 5X Original Android Development] grumphy:
Super! Autoflash working again, many thanks!

Sent from n5x, by tapatalk
[Nexus 5X Original Android Development] schaggo:
I take it, there won't be any updates from now on for Marshmallow? Like ever again?
[Nexus 5X Original Android Development] franciscofranco:
M is tango down.
[Nexus 5X Original Android Development] schaggo:
Franco or Xposed? Franco or Xposed? Franco or Xposed...? Damn, decisions, decisions... :D

Come on, rovo, what takes you so long, it should have long been done... Xposed surely isn't so difficult to bring up on a brand new ART implementation :laugh: (jk)

Thanks for info, still, what a bummer!
[Nexus 5X Original Android Development] antroid88:
Confirmed. Autoflash finally works in new FKU! Looking forward to see how per app profiles switch between apps.
[Nexus 5X Original Android Development] :
Any chance you can include cifs module? Other then that, enjoying this as alternative to blu_spark from n5
[Nexus 5X Original Android Development] :
Thank you Jesus, I meant Franco. :)
[Nexus 5X Original Android Development] franciscofranco:
Yes, I can enable CIFS.
[Nexus 5X Original Android Development] :
Ty, much appreciated :)
[Nexus 5X Original Android Development] franciscofranco:
FK > Xposed :highfive:
[Nexus 5X Original Android Development] :
Not a tough decision there.. Franco ATW! :angel:
[Nexus 5X Original Android Development] SKUndef:
[MENTION=3292224]franciscofranco[/MENTION] sorry if i bother you with Naptime again. I see many users claiming that screen flickering is fixed with motion sensor disabled, after last update. Since mine still flickers, any idea why this happens? Could be a misconfiguration on my side? Thanks as always
[Nexus 5X Original Android Development] yilun:
I know this is fk thread but, is naptime still worth it with the changes made to doze on nougat?
[Nexus 5X Original Android Development] ulxerker:
yep, it perfectly improves doze on N.
[Nexus 5X Original Android Development] enzo_cz:
The FK kernel with Naptime is an 8th wonder of the world. My device now flies like never before :)
[Nexus 5X Original Android Development] :
r19 saved my life back in NAM.
[Nexus 5X Original Android Development] david.degraw54:
Interesting so I could flash the latest stock factory image, unlock bootloader, flash recovery, kernel zip, then supersu?
[Nexus 5X Original Android Development] Criton30:
Iam now on elementalx, how can I install this kernel?
[Nexus 5X Original Android Development] The_Automator:
You may be able to dirty flash the kernel over elex. You would then have to reflash systemless su.

If this causes bootloops it can be fixed by dirty flashing your rom. Then kernel then su.
[Nexus 5X Original Android Development] bobby janow:
I don't think you can flash the stock image with a locked bootloader. Reverse the first two and you're good to go. Know that unlocking the bootloader will wipe the entire device internal included. Backup everything to your computer first.

---------- Post added at 10:56 AM ---------- Previous post was at 10:51 AM ----------

Flash your rom first then this kernel. If you're on stock then the way I do it is to fastboot system.img, boot.img then boot into system just to make sure everything is working. Reboot into bootloader, flash twrp.img and then go into recovery from bootloader without a reboot. Flash kernel, superSU reboot and done. Sounds complicated but it only takes a few minutes. If you have a rom with system root then that's another story. You'd have to unsu first from what I understand but I don't have that so I don't really know the exact process.
[Nexus 5X Original Android Development] franciscofranco:
Instructions are in the OP - just read them...
[Nexus 5X Original Android Development] SlyUK:
[MENTION=4466723]david.degraw54[/MENTION] Fifth line up from the bottom, stock rom is his preference.
[Nexus 5X Original Android Development] bobby janow:
So if I'm on another kernel and want to go to this one, or if I'm on this one and want to go to another, I don't need to flash system only boot.img? That would certainly save me time if I ever want to switch around.
[Nexus 5X Original Android Development] erto90:
And why he should reflash also recovery?? ElementalX use the ramdisk that come with the rom, 99% a stock one.

So for installing this kernel, the easier thing is to flash boot, kernel and then supersu..
[Nexus 5X Original Android Development] bobby janow:
My twrp recovery sometimes doesn't stick. I figure as long as you're in bootloader it wouldn't take much time and wouldn't hurt. I've gotten burned by stock recovery a couple of times with a force reboot. And it looks like you can skip the system.img flash according to the OP. I thought some of these kernels make modifications to the system at some level and always thought it was best practice to flash the rom (system.img in this case), boot.img, then new kernel and superSU. Maybe that's old school though.
[Nexus 5X Original Android Development] erto90:
Understood.. But is not very clear how to install this kernel and be sure 100% of doing good..

I'm on stock but with cataclysm (mod) installed + elementalx kernel..

Elementalx use rom ramdisk so stock ramdisk, in my case..

So what I have to do ? Should I simply flash boot.img , kernel and then systemless SU?

Franco, the installation guide is a bit dispersive I think . 1-2 points are OK but the others ? Cm based rom is a NO and OK.. But in my case, what is the correct procedure ? You lacknthe point when we have to install the kernel! Or is point 3 once we figured if our rom come with system or systemless root?

Obviously mine is not a polemic, but I'm seeing some problem knowing the right procedure to install the kernel :)
[Nexus 5X Original Android Development] franciscofranco:
There's no need to flash system.img, otherwise it would be written in the OP.
[Nexus 5X Original Android Development] bobby janow:
On last system image I tried that and got an error on boot that the system couldn't be verified or something like that. I then flashed Cata mod after boot.img and it was ok. Then I installed the kernel and supersu. I just installed the latest Cata for the first time so I didn't have that issue, but Cataclysm has its own kernel that it installs it seems. I would just flash Cata then kernel and supersu rather than boot.img. That's for stock I presume.
[Nexus 5X Original Android Development] andresee:
Cata includes the vendor.img now so that is why you didnt get that message.
[Nexus 5X Original Android Development] franciscofranco:
Just follow the bloody OP instructions, don't over complicate lol
[Nexus 5X Original Android Development] erto90:
Franco, so procedure is

1 flash boot.img

2 flash latest SuperSU systemless

3 flash kernel if rom haven't supersu built in and if rom isn't CM based..right ?

Thanks
[Nexus 5X Original Android Development] skulldreamz:
Dude i follow you man. I do the same thing and always reflash a clean system before i switch to another developers kernel. I don't care if 1000 people say i don't need to, I'm going to do what i know works for me and if I've done something that has *****d ***t up then that's the reason for doing what i do. You ain't alone my dude.

Anyway I'm getting even better sot this charge around. This kernel is freakin unreal! The battery life is seriously insane.
[Nexus 5X Original Android Development] PiousInquisitor:
boot.img = kernel

If you are on cm or a cm based rom you are ducked.

If your current rom is rooted with system root, you must unroot first.

Flash the boot.img then the latest SuperSU.
[Nexus 5X Original Android Development] gpvecchi:
Aren't those the stock ones for N5X?
[Nexus 5X Original Android Development] erto90:
Ok! So if I have a custom recovery I can simply flash kernel zip and the systemless root..is all OK ?
[Nexus 5X Original Android Development] PiousInquisitor:
As long as you aren't on cm or are using a prerooted rom.
[Nexus 5X Original Android Development] Psychofrantics:
On naptime flickering issues, I am using naptime along with forcedoze. I use forcedoze for only disabling motion sensing in doze and it works. Ambient display doesnot turns on when that option is enabled and no flickering too
[Nexus 5X Original Android Development] upp3rd0g:
I haven't installed Android 7.0 yet. Now I am wondering: is R16 compatible with Android 6.0.1 MTC20K (september release) ?
[Nexus 5X Original Android Development] khanjui:
I believe so.
[Nexus 5X Original Android Development] franciscofranco:
Yup, N's new mode is a Light Doze, it's different.

:highfive:

r19 is Forest Gump, it just can't stop runnin'.

forcedoze code is on that part is kinda bad, it does some nasty thread.sleeps when toggling on/off the brightness mode. Are you sure it's disabling the sensors? I doubt it.

It's compatible, but r16 won't have the September security patches applied. I suggest you move to N :)
[Nexus 5X Original Android Development] :
I've been on XDA about 5 years or so and always been a nexus user and sometimes Sammy back in the day but since the GS4 I've been only a Nexus user and I know when I choose Franco kernel it's a win period. r19 has been great Franco thanks for your work on your kernel and FKU and your other apps. I've always been happy and that's a big deal. Many devs say they support their work but you stay on it. My battery is superb and speed is great too. Thanks buddy! Hope you have a great week end. :cowboy:
[Nexus 5X Original Android Development] enzo_cz:
Absolutely agreed. Franco nailed it. I wanned throw my Nexus into trash right upon getting to the N as battery started up disappearing like a sh.t. Especially thru the nights I wasn't happy loosing 6 to 10℅. I was hoping that it could be less than that when stationary. F kernel and Naptime changed all of that for me and now my phone keeps rocking again.
[Nexus 5X Original Android Development] franciscofranco:
Much appreciated. Enjoy!
[Nexus 5X Original Android Development] imarcel99:
Can I use R19 with NRD90M (August security patch)? Now I am on R17 and it works great.
[Nexus 5X Original Android Development] hilla_killa:
This dam guy, spamming all the kernel threads with this "add gamma" crap! So annoying!

http://xdaforums.com/showthread.php?p=68607328
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
I've seen him everywhere as well! Is there a way to get a moderator to ban him or suspend?
[Nexus 5X Original Android Development] hilla_killa:
Lol i wish
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
[MENTION=470754]Franco[/MENTION] is there?
[Nexus 5X Original Android Development] franciscofranco:
If he bothers me again I'll ask mods to suspend him for relentlessly spamming.
[Nexus 5X Original Android Development] franciscofranco:
Yes you can.
[Nexus 5X Original Android Development] hilla_killa:
Btw what the hell is GAMMA?
[Nexus 5X Original Android Development] franciscofranco:
https://en.m.wikipedia.org/wiki/Gamma_correction
[Nexus 5X Original Android Development] giannism13:
Hello everyone,

This is my 2nd day with n5x (my first ever nexus!), and im looking into some roms and kernels. But i cant find any info about this kernel. Can anyone tell me the core features of it, those that make it so unique? Sorry for sounding so noob.
[Nexus 5X Original Android Development] mhdsanto85:
Is there a way to increase vibration feedback? Is it possible only using fku?
[Nexus 5X Original Android Development] myawan:
yes
[Nexus 5X Original Android Development] eatsleep:
Better option may be fku but you can tweak it on any kernel configurator apps available like kernel auditor on play store
[Nexus 5X Original Android Development] franciscofranco:
So many things. But one of them is it comes preset out of the box, offers standard interfaces like sound control, display control & vibration control, and offers a much better battery life (screen on time) than stock.

You can change it through adb shell. Path is /sys/devices/virtual/timed_output/vibrator/vmax_mv_strong
[Nexus 5X Original Android Development] BlueHawk:
A slight problem with rooting on Nougat with FK

I don't know if anyone else had the issue - but I couldn't root Stock with FK installed. So my steps were:

Install Stock Nougat

Install FK

Apply SuperSU - tried 2.76 - 2.78

Boot

Resulted in a bootloop. Apparently the right way to do it is:

Install Stock Nougat

Apply SuperSU - 2.78 worked and haven't tried with others

Boot

Reboot to recovery

Install FK
[Nexus 5X Original Android Development] enzo_cz:
Oh man I thought that everybody knew that root comes first and then FK.
[Nexus 5X Original Android Development] BlueHawk:
I'm not sure that there has been an explicit requirement to root first before changing from stock kernel. Certainly hasn't been that sensitive for 6P, Nexus 6 or Nexus 5. Same with ElementalX on Nexus 9. I can understand when changing between custom kernels to revert to stock kernel, but not having to root stock first before applying the new kernel. But I'll keep that in mind.
[Nexus 5X Original Android Development] franciscofranco:
I can't reproduce, works both ways.
[Nexus 5X Original Android Development] ulxerker:
just a short question: after updating to the latest build NRD90S via adb sideload ota.zip in twrp and re-applying supersu and FK after that, the phone hang during boot animation. then, after pressing the power button for a few secs the phone restarted and came up as expected and is working fine.

did anyone else had this? any explanations?
[Nexus 5X Original Android Development] SKUndef:
Probably you just needed to wait, it's because of SuperSU...
[Nexus 5X Original Android Development] ulxerker:
before that it never took that long and after the reset it was as fast as before ... strange.
[Nexus 5X Original Android Development] SKUndef:
Saying this because it took a bit for me too, and after that it auto-rebooted.
[Nexus 5X Original Android Development] CerB:
naptime question, cant get gmail to sync when i set it to not optimised
[Nexus 5X Original Android Development] ulxerker:
thats normal as according to Google email notifications aren't urgent enough to get pushed through doze, it only syncs at the times of maintenance windows.
[Nexus 5X Original Android Development] antroid88:
Gmail devs put low priority for its notifications.
[Nexus 5X Original Android Development] franciscofranco:
What the two users above said is true.
[Nexus 5X Original Android Development] CazeW:
I had a strange bug with this kernel. On occasion when typing (and pressing other buttons) the phone wouldn't vibrate. It was like once every 20 presses or something. Haven't noticed this same behaviour on stock or ElementalX.
[Nexus 5X Original Android Development] franciscofranco:
Dunno. Can't reproduce. Haven't seen anyone report such a thing too.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
I was wondering if there was any possibility of implementing like an all in one Trifecta app so to speak? (For example, you have inside FKU the system monitor app which is linked through your app but it is on its own a separate app.) I mean, having all of your apps accessible through FKU possibly? It's not a necessity by any means obviously, more convenience. They just all really work so well together and it was just a thought.... Again, thanks for all your work you do with all of your apps.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Also, I was playing around with FKU and found a bug when trying to make a per app profile profile. It's when I try to do it with Google Maps. Nothing happens when you touch the "save" FAB. Logcat is linked.

http://pastebin.com/y0amu2RJ
[Nexus 5X Original Android Development] franciscofranco:
System Monitor is not really a link to another app unless you do have the full version on your phone, otherwise it'll load up the actual code from my own app. I don't know if I want to link all my apps from inside FKUpdater, I don't like it when Google does that, so I'm not sure I wanna do something I criticise. That said, there are probably better ways to do something similar without destroying the UI or shoving the apps on to users face.

Logcat doesn't show anything. Can you write a detailed step by step on how to reproduce please?
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
Thanks for the reply......As far step by step, I have a video if that would help? I can link it.
[Nexus 5X Original Android Development] franciscofranco:
Sure.
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
https://drive.google.com/file/d/0B1-pfIi7mPMtUkhMRU13bXN3YzA/view?usp=drivesdk

I hope this helps you. Just let me know
[Nexus 5X Original Android Development] franciscofranco:
That's pretty odd. Does it happen only when resuming the app from recents?
[Nexus 5X Original Android Development] Creative9170:
Hi dear Franco, thanks a lot for your great work.

I've faced an strange issue by volume gain on my Hi-Fi system. I put the volume gain on 3, when I change it to 4 while playing music on my Panasonic hi-fi system, sound quality is ok but after several seconds music pause by phone! Can this hurt the phone pre-amplifier that phone pause music automatically?
[Nexus 5X Original Android Development] TW1ST3D1NS4N3:
I did a clean install and I am running stock nougat and it's running just fine... Don't know what the issue was...
[Nexus 5X Original Android Development] franciscofranco:
Probably not. Boosting the output gain only helps so far and it gets to a point, depending on song and hardware, that'll start adding some noise artifacts. Don't boost it too much, be reasonable ;)
[Nexus 5X Original Android Development] SKUndef:
With all options in Naptime enabled, i have some troubles with the app Pocket Casts. When i stop listening to it, even if i close the app it seems it leaves something active. In fact if i see battery stats i can see the active bar full, until i manually kill the app. Does it happen to anyone of you Naptime users?
[Nexus 5X Original Android Development] franciscofranco:
I don't see how is that remotely related to Naptime...
[Nexus 5X Original Android Development] SKUndef:
You're right Franco, and that's why i didn't post here in first place.. But after investigating a bit, i haven't solved it yet. I know it's not Naptime fault, but i'm just trying to understand how this happens.

Pocket Casts leaves a playback service on even after closed, only after it played something. After a bit of time on screen off, i can clearly see that phone has been active in the meanwhile (from battery stats), and this stops only if i manually terminate the app.

I will try to collect some screenshots, if this doesn't bother you...

Edit: Of course what i meant is that this happens with Naptime enabled...
[Nexus 5X Original Android Development] franciscofranco:
I don't need screenshots, you should report that to Pocket Casts instead, it looks like a clear bull**** on their end. They probably forgot to release a wakelock or something after playback has finished.
[Nexus 5X Original Android Development] SKUndef:
Okay, thanks.
[Nexus 5X Original Android Development] rmead01:
Just got the 5x and plan to keep the phone unrooted but I did unlock my bootloader to leave myself open for kernel flashing. That said, is this kernel good to go without needing FKU or any other additional tweaks? I've seen some reports that kernels for this phone can provide either battery improvement or smoothness but not both. I'm hoping this kernel can do both though without needing additional steps.
[Nexus 5X Original Android Development] CreasingMass Dev:
Yes, just flash it

You should be good to go with the stock config.
[Nexus 5X Original Android Development] rmead01:
Yeah, I'm ready to flash but don't have a way of flashing the stock kernel back in case of emergency so i'm holding off until I have that. I know FKU can enable more functionality but I just don't want to root right now for certain apps I use will break. I see this has options for naptime which is a newer, separate app. No issues if I choose not to use this (again because no root) or other apps to take advantage of features?
[Nexus 5X Original Android Development] mathsz:
LOGS

CATLOGS

KERNEL LOGS.

every xda user needs to start logging before complaining reporting.

No offense meant.
[Nexus 5X Original Android Development] franciscofranco:
Stock Kernel is inside the factory images. Without root you can't use apps that need root, which is obvious, and you don't need apps to have a Kernel do its job. Those apps are just add-ons to boost your experience with magical features.