yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] d1n0x:
Yeah sorry, forgot you had to change the width of the spacers. But at least you have it now
[Nexus 6P Android Development] :
delete (error)
[Nexus 6P Android Development] Kaherdin:
Did you try to compile it?

Cause if it compiles, you can still ship it.

Trust me. Windows 95 did.
[Nexus 6P Android Development] Sheetzie03:
Hey snake was able to get a few screenshots, if you look, it's not pixelated at all, it's just a slightly bigger circle battery than stock, but again, what ever you decide my man :svetius: youdaman! Later
[Nexus 6P Android Development] sharpz811:
Is anyone receiving push notifications from apps like snap chat and Instagram? Don't know if they are magisk related but I have to open these apps just to get notifications. I've googled this issue with no solution. Thanks
[Nexus 6P Android Development] HikingMoose:
Check permissions and make sure they have permission to notifications.
[Nexus 6P Android Development] sharpz811:
Thanks for reply man. I'm sorry I should've mentioned that I've already checked system notifications access and permissions which are enabled and I've also checked notification access within the apps them selves and they are enabled as well. I just don't understand why it's happening. I don't have anything like greenify hybernating these apps. Very strange. And annoying. Actually I'm gonna try and remove magisk root all together then uninstall and reinstall those apps from play store and see if that helps. Thanks again.
[Nexus 6P Android Development] HikingMoose:
I have never used magisk, but I don't think that would have any impact on notifications. Are you leaving the apps running in the background, or do you kill them off when not in use? I have tapatalk set to give notifications, but if I kill it, before sleeping the phone and putting it in my pocket, I obviously don't get notifications. You've thought of that, but I'm just verifying so that we all know where you're at. Maybe someone that uses those apps will chime in, and share their experiences.
[Nexus 6P Android Development] p70shooter:
Did you use tb to restore the apps, I've found certain apps don't like tb and you won't get notifications if you restore them. Clear data in the apps and you should be good to go
[Nexus 6P Android Development] musashiken:
Hi snak3ater, I really like the new full circle battery icon with the animated charging icon. Any chance to make the charging battery icon pulse a bit more frequently? It only animates the first time and then only whenever the status bar is being used, like swiping down for quick tiles etc.

It will be cool to see the charging battery pulse more frequently on its own. Just a suggestion.
[Nexus 6P Android Development] sharpz811:
Well I only suggested that magisk was a possible culprit because that's the change to the system I've made, it was just something I wanted to try lol. Last week I was having major battery drain issues so I finally had time on Tuesday to do a clean install even wiped internal and so far despite the early observation I can see an improvement with battery life. Now I was also having issues with the push notifications with ONLY those two apps so I also thought a clean install along with installing Instagram and snapchat from play store and still a no go with push notifications. I checked permissions I checked push notifications options within both apps themselves. I even removed then from doze and still not getting anything. This is just so frustrating because it makes no sense as to why this is happening. I know it's not rom related even though on pure Nexus ROM, that I was previously running before this amazing ROM, was pushing those particular notifications just fine. Sorry if I'm spamming this thread with non ROM related issues but this thread is so active so I figured I'll just ask here lol. What I will try to do is completely uninstall magisk root then uninstall and reinstall both apps from play store, login and see if that works. Thanks again for your help guys I really appreciate it!
[Nexus 6P Android Development] HikingMoose:
Actually, this thread is typcally fairly dead because there are no bugs to report. So we all just carry on with our lives. So a few questions, and something to troubleshoot is probably welcomed ha ha.
[Nexus 6P Android Development] :
5 days later report : everything works (waze, bluetooth, gmusic, 4g, photos, games, all my apps....), 0 problem / weird thing to report

battery is the same as on others ROM i've run (PN, Cortex), I reach 6h30/7h SOT with my use

you can flash this fantastic ROM under F2FS with last flash kernel :good:
[Nexus 6P Android Development] saurabhkale:
cant find mirrors to download the latest vendor img can i get alternate links pls?
[Nexus 6P Android Development] p70shooter:
Yep, just go to any op of roms on xda and you will find them
[Nexus 6P Android Development] snak3ater:
Link is in the OP and its AFH link.

Sorry but won't get any alternative links from me. You can always Download the factory image and extract vendor image from it.
[Nexus 6P Android Development] HiM@L:
I know you are planning to bring new separate dashboard for build tweaks. which sounds awesome and is more clean looking IMO.

Can you ship the ROM with Google Keyboard builtin instead of aosp keyboard?
[Nexus 6P Android Development] Kaherdin:
Isn't that a proprietary app? Aka gapps?
[Nexus 6P Android Development] HiM@L:
Yes,

But it can be built into ROMs too. checkout commit below:

https://github.com/VanillaNexusSour...mmit/d14fb41251214b45a08475c10a7e5f06debc6a1e

I like the idea of shipping ROM with Google apps only like Stock ROMs, which PN started doing it with last release...ROMs and gapps together.
[Nexus 6P Android Development] Kaherdin:
To the best of my knowledge that isn't allowed by Google.

Wasn't that what gave the old CM-team a hefty letter from the Gog?
[Nexus 6P Android Development] HiM@L:
yup, thats true again.

According to their FAQ:

1.1 Q: Why is the ROM built with GApps? Won't you get in trouble? What GApps are included

1.1 A: We were getting too many bug reports from people flashing other GApps' packages. This will allow everything to work without issues. If we get a cease and desist from Google, obviously things will change but until then, it's fine.
[Nexus 6P Android Development] sharpz811:
It's only my second day after a clean install but how in God's name did you manage to get 6h30 SOT!! Bro the most I get is 4h on lite to medium usage I'm running Same kernel as you with stock settings but not f2fs system.
[Nexus 6P Android Development] Sheetzie03:
If it was me, It would have taken me 3 minutes to DL google KB and change it to a system app
[Nexus 6P Android Development] :
4h/4h30 max was what i got on stock (rom & kernel with touchboost) when i bought this phone (really disappointed, i come from iPhone 6S and expeted more...)

After months of readings on XDA, I reach now easily 6h30 /7h with this set up :

- you need Ex Kernel Manager App (disable kernel update)

- last flash kernel with v4.2 init.flash.rc & underclocked freq : 302/1248 on little & 302/1536 on big (read the thread for that)

- governor: Interactive

- profile: Hawktail 1.2 (i tested a lot of profiles, this one give me the best battery)

- touchboost disabled

- gpu: Freq Max 180 MHz

- gpu: Backlight dimmer enabled

- memory: zram & uksm disabled

- all vibrations @ 20/30% max

- I/O scheduler: Noop

- TCP algorithms: Westwood

- f2fs (no proof this help for battery, but i noticed it does for 'smoothness')

- auto brightness OFF & brightness set to lowest possible (important!)

- all apps on dark mode when possible & dark wallpaper (no substratum)

- no ads on entire device (web & app) thanks to ad block hosts file

- wifi & bluethooth scanning OFF (phone settings)

- wifi always on /standby : ONLY when plugged (phone settings)

- no facebook & facebook messenger app installed

- for battery health I never go below 20/30 and above 80 %

- all gesture disabled (raised...)

- notifications don't wake the screen (important), i use LED notif.

- no screen saver...

- all system backup disabled : android & app

- Play Store automatic updates : OFF

FYI my usage "per cycle" :

- location always on (nougat plays well with that i think thanks to 'saved location')

- bluetooth & wifi on only when needed

- 75% of time on data 4G, 25% on wifi @ home

- approx. 1h podcast audio (Pocket Casts) /bluetooth (download when on charge only)

- approx. 45min Google Music streaming over 4G /bluetooth

- approx. 30min Waze GPS (with default high accuracy location)

- a lot of twitter (Talon App) & chrome browsing

- whatapps, sms & mms, gmail (notifiactions on all thoses app)

- some google maps search

- camera & google photos (upload when on charge only)

- almost no game

- my cellular quality is always good (important)
[Nexus 6P Android Development] sharpz811:
BRO thanks a lot didn't think you would go all out like that the community blesses people like you! ?? thanks again I will try it out after work.
[Nexus 6P Android Development] Balino:
I'd like to see some screenshots of your phone having 6:30h of sot from 80% lol it's not possible with a normal usage. Maybe if you leave the phone on with a black image, could be possible eheh
[Nexus 6P Android Development] snak3ater:
Basically the settings are tweaked to be battery friendly. Auto brightness turned off and brightness set to lowest. CPU under clocked and touch boost disabled. Gpu set to Lowest possible frequency. No wonder why such insane sot is achieved. I would rather prefer smoothness over battery life any day. On default Ex kernel Settings, my phone lasts single day. It's enough i think
[Nexus 6P Android Development] :
SoT stats i give is ONLY on full charge (=100% :o ), I though it was obvious... :eek:

I full charge only for battery bench purpose, on daily use i charge max to 80% (common sense)

I fully detailed MY usage, you can read it again

SoT is relative to usage ;) go further
[Nexus 6P Android Development] Bobbaloo:
I used to have a similar setup. The "tap and wait" while an app loaded. Older devices left me in the dust. Now, setup for speed and responsiveness, 4.5 sot with a day and a half is normal
[Nexus 6P Android Development] igylan:
Same here. I used to care so much about my SOT on my 6p and would tweak the kernel and the phone to get it but I realized that I was not enjoying my phone anymore and was constantly anxious about it lol..so I gave up and just let it be. I charge it when it gets low like 20% and sometimes below 15% and unplugged it at 80% then just usually use it normally as I would on a regular basis. Anyhow, 6-7 hrs of SOT is amazing. The best I could do before was 6 hrs.
[Nexus 6P Android Development] HikingMoose:
This is a very extreme setup that will certainly get people the kind of stats posted. What's more is... If you're going to limit your phone THAT MUCH, you might as well do the normal common sense stuff like:

Only turn on data and WiFi if you're going to look something up, check email, or browse, otherwise leave it off.

Leave GPS off unless in use. Do not use high accuracy when you do have it on (mine is extremely accurate without high accuracy on). You gain nothing, but it more battery.

Turn off vibration altogether - because I can't even feel 20%, no need to even use that (I use 100% for notifications).

Those would help you much more. I use 100% vibration, auto brightness set to around 40%, full clock speeds, I don't limit my gpu (but have tried a little, and didn't notice battery life increase). I use my very own kernel profile that I've been developing, with zram; fysync; uksm touchboost; and input body all disabled. I have tuned my governors to ramp quickly if truly need, but for the most part it favors -and holds the lowest clocks. But somehow it's still very smooth for me... Which I don't really understand lol.

I get over 5.5-6 hours SOT on easy with that setup. I've attained well over 7 before, but just a couple times.

I actually haven't charged to 100% in months, so now I have to extrapolate what the 40% usage range would look like at 100% - which is not accurate because when you charge to 100, you get extra saturation (I could sometimes get 20+ minutes of screen on before it drops from 100). When you charge to only 80, it drops immediately with use.

Oh and I'm on ext4 - I couldn't get f2fs to boot when I tried for an entire weekend lol. Yes, of course I followed all protocols, my phone just isn't compatible or maybe it was Flash's TWRP that was borked.

Perhaps the most important thing is to use Hold Back to Kill a lot! Leaving apps ruining in the background not only slows down your performance tremendously, but it drains a lot of very in doing so. It's easy enough to test for yourself. Monitor your running apps frequently throughout the day to nip any runaway apps in the bud. Running apps are found in developer options.
[Nexus 6P Android Development] Sheetzie03:
Yeah its almost always an explanation like this when someone says they get 6.5 hrs sot.
[Nexus 6P Android Development] HikingMoose:
I don't limit my phone like that, and I get those results! It's all about that kernel!
[Nexus 6P Android Development] Sheetzie03:
Well then it must be very light use, don't agree its all about the kernel. It helps, but just because you have x kernel doesn't = 6.5 hr sot You have to be limiting the phone via tweaking settings like snake said, or it's very light use. Otherwise, you are the only guy with a 6p that gets that y 6.5 hrs sot with medium to heavy use, w/o limiting the performance via tweaking settings in some way.
[Nexus 6P Android Development] HiM@L:
I know that but I was not talking about what I should do. I was just talking about ROM's approach to staying Simple by eliminating extra apps as much as possible.
[Nexus 6P Android Development] HikingMoose:
I posted what I do. Feel free to peruse it at your leisure.

I'm not saying everyone would get the same usage I get. Some people use their phones heavily for gaming... which I'm never understand, and they NEED to have myface, instasnap, maps, data, WiFi, BT, everything​the phone is capable of - all on at the same time!!!

So no, they'll never get over 3 hours screen on if their phone is constantly doing all of that useless garbage just so they feel safe knowing that Google is watching their every breath.

My phone is a phone, first and foremost! Having an emergency happen when I'm away from home, or away from my Jeep, and having a dead phone because I use my phone THAT way, is just the dumbest thing I can think of. But I still spend more time than I should staring at Tapatalk, browsing the internet, looking at the chive, and checking emails probably 2-3 times a day. My usage is moderate.
[Nexus 6P Android Development] diddly3000:
I can get 4hr 30m sot no problem using ex kernel stock. Nothing tweaked or disabled just flash and forget.

My mobile data and location is on 100% of the time.

For me it is the perfect amount. I do not want to be looking at my phone for 6-7 hours of a day lol it lasts me a full day and that is enough for me. I charge it every night and am a bit overwhelmed by the obsession with SOT in xda threads. I like a balance of speed and smoothness. If it lasts a full day taken off charge at 6 am and back on charge at 10pm I am happy ?

Great rom dev. ?
[Nexus 6P Android Development] Sheetzie03:
4.5 is reasonable and realistic with normal/moderate use and w/o doing anything crazy, taking away from any performances .
[Nexus 6P Android Development] HikingMoose:
I'm sorry I tried helping. I take back what I said. Don't use any of my techniques to help get the most out of our phones without limiting it.

[MENTION=7977672]sunnyraid[/MENTION] What recovery are you using to get f2fs to work? I just tried again and it just bootloops, like the last time I tried.
[Nexus 6P Android Development] sharpz811:
Just wanted to say bro your settings did make a difference got me at least. I didn't tweak everything you did but I work 12 hour shifts and before I applied your tweaks my phone would be at like 30% at around 4 hours after I just started work with another whopping 8 hours of work to go! So usually if I don't charge my phone at work it'll die way before I'm done. And I'm working so barely even using the damn thing lol. But halfway through my shift I was at around 40% and got tweaks actually squeezed out more battery to lay me until almost 3 hours after I finished work! So I thank you very much sir. Of course one may not need all them tweaks but at least you can tweak a few here or there and will notice a positive difference.

On another note why do people not charge their list 80%? That just doesn't make sense to me and got me at least I dint have gone to watch my phone until it reaches 80 because usually when I charge it I'm sleeping lol but if someone can give me the significance of that it would be great. Thanks
[Nexus 6P Android Development] HikingMoose:
No problem, I share my setup once in a while, and people can take it or leave it. What seems to kill my phone the fastest is having a ton of open spots (also makes phone sluggish and laggy).

The charging to 80% bit it's just too preserve the longevity of the battery. It does significantly​less damage if you don't charge above 80. The sweet spot is 40-80. That's why anything with a Li-ion battery always cubes from the factory with a 70% charge.

There's an app that will stop it at whatever level you choose, and just keep it there (great fit prior who leave their phone on charge all night). It's not convenient at all only using the phone between 40-80 though. If our phones had easily replaceable batteries like the good old days, it wouldn't be worth it - once battery is degraded to 50% just buy a new one.
[Nexus 6P Android Development] :
I'm using twrp-3.0.3-4-angler-f2fs-20170211

don't flash all zip at the same time

reboot at the same time i wrote on my 'guide' a few post back

in sum follow every step in order, reboots too
[Nexus 6P Android Development] HikingMoose:
It doesn't work though. I guess not all phones can run f2fs. I want to try it so bad. But in the 63 times I've tried, it's always failed. It either bootloops, or it boots, but it somehow changes itself back to ext4 while booting. I've done it every way I can try, every possible combination (I'm a scientist, so I do this very scientifically, changing only one variable each attempt). You're on the twrp built by the Flash right?
[Nexus 6P Android Development] :
damn that's weird

yes TWRP fork by The Flash

I have one of the last 6P (bought on Oct 2016) maybe there's some tiny differences in the hardware with early 6P...

next SAOSP build, i'll clean flash and detail more what I do to get f2fs work
[Nexus 6P Android Development] HTC_Phone:
I think this ROM had finally cured my addiction to flashing. Wonderful work, has all the features I need and so smooth. Great work :svetius:
[Nexus 6P Android Development] HikingMoose:
Yup. My name is Moose, and used to be a flashaholic, I've been clean for over 2 months since finding this ROM. *Everyone claps*
[Nexus 6P Android Development] HTC_Phone:
Do you guys use anything like greenify or Naptime to help with Google Play Service drain? I know this isn't a ROM specific issue, and wanted to know what anyone else was doing to help. I use Greenify for aggressive doze, and it works well, just Snapchat for some reason won't give me notifications even though​ it's not greenified
[Nexus 6P Android Development] snak3ater:
I'm using naptime but Snapchat i do not use
[Nexus 6P Android Development] HikingMoose:
I do not. But if I had a lot of apps on my phone, and some that run amuck, I'd probably use one. I just run a tight ship instead and don't have any battery drains that I know of.
[Nexus 6P Android Development] HTC_Phone:
Awesome, thanks guys! I was just curious how you all handled the Google Play Services drain that I can't seem to get rid of no matter which ROM I choose. Simple has everything I need so I think I'm gonna stay
[Nexus 6P Android Development] sharpz811:
Bro snap chat never gives me notifications unless I'm not rooted. Same with Instagram. I tried magisk and magisk hide but I felt like it drained my battery because after I removed it that made a huge difference in battery life for me. But snap chat and Instagram notifications still didn't work with magisk. Really frustrating.
[Nexus 6P Android Development] Shockz:
I get notifications just​ fine from both of these apps and I'm using magisk. Something else is wrong with your setup.
[Nexus 6P Android Development] rayandreas:
This ROM has been nothing but great since I flashed it a little over a week ago. I have everything I love working on it (DT2W, DT2S, viper, etc), and I have had no hiccups or anything. Thanks for sharing such a great ROM!
[Nexus 6P Android Development] sharpz811:
Great so I'm just gonna have to do another clean install again this is just so frustrating never happened before until I tried this rom. But I know it's not the ROM causing this issue your right must be something in my end but I've literally triple checked everything! Those particular apps aren't dozed or greenify they both have correct permissions I just don't understand what I've done wrong here.
[Nexus 6P Android Development] HikingMoose:
Do you have a lot of apps syncing, and wifi, data and gps on all the time? I don't have any noticeable play services drain. But I run a pretty clean phone that I optimize for performance and battery life. I despise runaway apps, and unneeded processes running, and especially google contacting the mothership!

Everyone should stop and ask themselves "why do all of my apps want permission to my GPS, and data connections? Why do they have a setting buried in the settings allowing it to report back to it's maker?" There's a reason pokemon go was invented, and it had

nothing to do

with consumer enjoyment....

(that second paragraph is a commentary for everyone, and is not directed at HTC_Phone).

But google play services will be running, and reporting on what the phone is doing if all of those services are on, and apps and things are connected and syncing. I believe those services are needed for the apps to run, and have the functionality.
[Nexus 6P Android Development] igylan:
Any of you guys using Substratum or changing fonts and getting bootloops?
[Nexus 6P Android Development] HiM@L:
i m using theme and using font. no bootloop here.
[Nexus 6P Android Development] Shockz:
I'm not sure if you are restoring app data with TiBu but don't if you are. That is know to cause notification issues.
[Nexus 6P Android Development] igylan:
Well it must be the theme then. Using Grvy and Grvy font for Subs and everytime I reboot it bootloops. No biggie it boots up after I flash rescue zips.
[Nexus 6P Android Development] victorwalter:
Hi Folks,

Are you getting Nougat battery bug?

Nexus 6P shutdown before battery is discharged

https://code.google.com/p/android/issues/detail?id=227849

This bug is annoying me..

[]s

VW
[Nexus 6P Android Development] SFG:
Sounds like your battery is dying.
[Nexus 6P Android Development] greyhd:
No battery issue here. Try a clean install with the stock kernel and see if it still does it.
[Nexus 6P Android Development] kyzn:
Known hardware issue with the 6P. If your phone starts doing that, better get the battery replaced.
[Nexus 6P Android Development] Sheetzie03:
This.

Although getting a new phone may be a better option than getting a new battery.
[Nexus 6P Android Development] diddly3000:
Does anyone know about permissive and enforcing?

Just wanted to know if permissive is a huge security risk?

Viper works great if it's in permissive but just curious about security.

Thanks
[Nexus 6P Android Development] victorwalter:
I think it is not hardware issue, pixel users are getting this bug too.

As https://code.google.com/p/android/issues/detail?id=230806 it'll be fixed on next release.

[]s

VW
[Nexus 6P Android Development] Sheetzie03:
Hopefully its not for your sake, but this problem is very similar to those who found out their batteries were bad.
[Nexus 6P Android Development] NinjaOne:
Everything is running great, except that I can't turn on Ok Google detection (trusted voice). Have tried both Open Gapps mini from March 23 and March 30. Clean flash.

Anyone know what could be wrong?