yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Dark_Eyes_:
I have seen a commit on the kernel side that changed the sign of the current. It's nothing to worry about, it's just a convention. The charging slowly I'm not really sure, but apparently it's being looked into. I can easily revert all that, but I'm not sure it's a good idea. I'll wait to see if the LinesgeOS team fixes it.
[Nexus 5 Android Development] vurey:
Thanks for that, I found the script. Did I do it right? I wasn't sure about the paths. I added PHH Superuser as well, because I need to download that again each time.
[Nexus 5 Android Development] the_house:
I've done two delta updates so far. Each time, the phone forgets the "trusted device" that I assigned to the smart lock, and I have to add it again.

Obviously it's not a big problem, but I was wondering if this is expected, or if there's something I should be doing differently.
[Nexus 5 Android Development] Dark_Eyes_:
The launcher path is OK, but the superuser doesn't look right. Also, it will most likely not work because you will need to save more than just the apk for superuser. I suggest that you put the flashable zip in the flashafterupdate folder.
[Nexus 5 Android Development] swa100:
ah ok, thans for looking! Will it be changed back in the latest build?:o Would be great to make full use of accubattery and such again. Thanks for all your great work!
[Nexus 5 Android Development] Dark_Eyes_:
Weird, mine remembers my watch and my car every update... Does it remember your lock pattern/password?
[Nexus 5 Android Development] Dark_Eyes_:
CAF build is up!

Guys,

I just pushed the CAF update for DRM, plus I merged a lot of upstream kernel patches to the TrueSight kernel. Hopefully it fixes everything !

Keep me posted and enjoy !
[Nexus 5 Android Development] Tornado15550:
Loving these rapid fire updates, my man! Thanks and keep em coming! :D
[Nexus 5 Android Development] Domnisto:
Could you walk me through the process? I can't seem to pass safety net. I'm on the AOSP build.
[Nexus 5 Android Development] bobyang:
Nice ROM! thanks!

Very nice! The Night Light (remove blue light) has setting from the original Nougat instead of CM (Live Display) which cannot schedule the hours. (Live Display automatically screen calibration never works for me, and I could not set the schedule. I love Night Light way more than Live Display )

However, I am running into GPS and Google map issue. When I run the google map, it loses the GPS almost every minute so it tries to find GPS again and relocate again. Then, I roll-backed to the original Stock ROM I have no such issue. I also did a clean installation, but the problem is still exist. Hope this can be fixed. thanks
[Nexus 5 Android Development] mrbennett:
Using the latest using delta update with no GPS issues, in fact I have not experienced any GPS issues with this rom.
[Nexus 5 Android Development] vurey:
There is a tutorial on 26th Dec that I've been using to pass Safetynet on AOSP. Follow each of the steps and you should be good.

---------- Post added at 08:58 AM ---------- Previous post was at 08:54 AM ----------

Thanks, I have the SU zips in the flashafterupdate folder, but it's the actual Superuser app that I need to re-download from the play store after each update. I was just looking for a way to avoid that, but the path doesn't look right to me :confused:
[Nexus 5 Android Development] kamild_:
Just updated.

First thing I noticed straight away is that the new blurry lockscreen is disabled. Is it gone now, or disabled by default? If the latter, how do I re-enable it? It was a little bit laggy but I liked it actually.

Second thing is it looks like you removed Synapse. Good to see tbh, I didn't really like it, it often kept resetting my settings, and its interface was somewhat irritating to use. Back to EX Kernel Manager finally :)

Thanks for the update! Anything else in particular that was changed (except the preparations to make the CAF build pass SafetyNet, I assume)?
[Nexus 5 Android Development] macci10:
download zip from below link and put it in flashAfterUpdate folder and you will not need to download apk from playstore.

Link: https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
[Nexus 5 Android Development] vurey:
Thanks. I was using SuperSU, but it won't pass Safetynet. I switched to Magisk and PHH Superuser so I can use snapchat.
[Nexus 5 Android Development] the_house:
Yes, the lock screen PIN is still remembered. It just loses my Pebble smartwatch as a trusted device for some reason. (The watch is still remembered as a bluetooth device and continues working. It's only the smart lock that forgets). I'll let you know if it happens again during the next update.
[Nexus 5 Android Development] zerand:
Experience7 quoted this commit https://review.lineageos.org/#/c/158954/ in the main thread. Maybe is it the fix for FB messenger force closes after ROM flash?
[Nexus 5 Android Development] alejka21:
DRM is working now [emoji3]

Tested in "Google Play Movies" app and "NC+ Go" app @ CAF ver ROM.

Thanx DARK EYES for your work.
[Nexus 5 Android Development] GopalKaul:
What about CAF safety net? In the lastest build
[Nexus 5 Android Development] MuhammadHesa:
What happened to the dialer before? Mine seems fine here
[Nexus 5 Android Development] kamild_:
It doesn't pass SafetyNet yet, but works are in progress (eg. Synapse was removed, which apparently is one of the few reasons SafetyNet doesn't pass).
[Nexus 5 Android Development] Dark_Eyes_:
Yeah, I'm trying lol, but unfortunately at the moment I'm quite out of ideas. The AOSP and the CAF versions are now as close to each other as they can be. It seems that there truly is something in the device tree/kernel that saferynet doesn't like. What's even weirder is that safetynet doesn't fail completely (cts mismatch). I'll see what can be done, maybe removing V4A, but I doubt it's the reason it's failing.
[Nexus 5 Android Development] Dark_Eyes_:
Might be. It sure is a much needed commit, and that will likely fix the weird settings not sticking when restoring a backup. You guys probably noticed that. I'll sure pick it asap lol.

I forgot to change the default phone app, so it was expecting the aosp dialer. What that does, if you never manually chose the Google dialer as default (or any other dialer), is fail to receive incoming calls, because the system tries to open an app that doesn't exist. It's a known problem with custom dialer that you need to set them to default app before using them. Since I know many people update without coming here, I didn't want to cause that bug on them, which could be very troublesome if someone missed a very important call because of me. It's all fixed now ;)
[Nexus 5 Android Development] TomiLynch:
I would barely get 3hs SoT (more like 2:45) so gave this a try. CPU governor was already set to interactive but I changed I/O scheduler from bfq to noop as you suggested. I don't know what this i supposed to do (i'd like to know more about it and the different options) but now got 4hs SoT on CAF 01/23. No heavy use though, but it's a huge difference.

Thanks a lot!
[Nexus 5 Android Development] Pshemo__:
Glad it helped ;) https://xdaforums.com/general/gener...overnors-o-t3048957/post59289777#post59289777 - here is a big article about how different kernel parameters work :)
[Nexus 5 Android Development] MuhammadHesa:
Ooh ok then dev thank you for explaining the problem:)
[Nexus 5 Android Development] swa100:
Would be great if you could look into this :o.

Going to make a donation tonight! Thanks for the great work
[Nexus 5 Android Development] WSeb:
I confirm MyCanal is also working well on CAF on the latest build. Thanks a lot.

Envoyé de mon Nexus 5 CAF en utilisant Tapatalk
[Nexus 5 Android Development] huzhekun:
this is probably not the place for this but is anyone having problems with sprint sim on 7.1.1 roms? I flashed this one and a couple other 7.1.1 roms but they all either fail to detect my sim or have no reception. i have the latest bootloader and radio and everything works just fine on a 6.0.1 rom(works on both stock and custom). really want to use this rom as a daily driver so hope someone can help identify what is wrong. :)
[Nexus 5 Android Development] mkoev:
Hey guys,

I noticed some battery drain while screen is on. This happened recently, I have no problem with deep sleep. I am using AOSP Dark Rom from Jan 23. I am using Kernel Auditor and I noticed that while the phone can turn off cores automatically the other two always stay on and they and they can never stay at 300 Mhz. It constantly changes between 300, 1275 and the max Mhz. Moreover it changes also from core to core. So in one moment core one is at 300 mhz and core 2 is at max, then in several seconds those will reverse and core one goes at max while core 2 goes at 300...and so on and so forth. I also noticed that sometimes the minimum frequency I can set automatically gets increased to 1000 something....instead of staying at 300mhz. Are those Kernel Auditor bugs? I know I said this happened recently, but after I flashed this rom and all apps I use I never flashed anything else. I don't play games, don't have navigation on, keep the brightness down, don't use any snapchats, instagram , etc. And as I said deep sleep works great:) Should I remove Kernel Auditor and get Synapse? I am familiar with it coz I used to have CM 14.1 CAF.
[Nexus 5 Android Development] cukla:
I'm having a really bad battery life on this rom the drain on and off screen is really bad.
[Nexus 5 Android Development] HermannSenator:
Really enjoying CAF version!
[Nexus 5 Android Development] ismadev:
Screen Mirroring works?
[Nexus 5 Android Development] willyinpr4u:
It works on my Roku and Chromecast.
[Nexus 5 Android Development] tomcont:
I was only able to get SafetyNet to pass by installing the Franco Kernel, but that DID fix it for me
[Nexus 5 Android Development] MuhammadHesa:
Does anyone passed safety net on CAF ROM?
[Nexus 5 Android Development] zellleonhart:
Hi all, I have cleaned flash the latest build (31/1) and I find SystemUI force close if I press home button after every reboot, unless I reset the "buttons & layout" settings.

Also, this location dialog appears every time I turn on GPS even though I already clicked agree before:
[Nexus 5 Android Development] Hugo9191:
About the location thingy, that's just Google trying to make sure you click yes. Everytime you turn them on will imply that you have to say either no forever or yes one time. There is a plugin for xposed I believe that does that work for you, Deny Location Consent. I have it installed (even though I don't have xposed) and it works.
[Nexus 5 Android Development] itazchu:
My step when installing this rom for the 1st time:

1. wipe system, data, cache, and dalvik cache

2. flash the rom and extras (I use no gapps and flash open gapps pico instead)

3. flash unsu from this thread (just to make sure there is no remnants of root even after clean flash)

4. flash custom kernel (optional. I use blu_spark)

5. flash magisk

6. boot into rom

7. install phh supersu manager from playstore and also update magisk manager

8. activate magisk hide from magisk manager and reboot

by the way battery life is awesome here when I use only for browsing on wifi.
[Nexus 5 Android Development] zellleonhart:
Hmm I think it is slightly different, if I "disagree" then the location mode will be "Device Only" mode instead of "High Accuracy" or "Battery Saving".

I came from many different ROMs before including CM/Lineage 14.1 CAF and usually I only need to click "agree" once and for all, it will not ask again. I am pretty sure it's only happening in this ROM for now and possible a bug.
[Nexus 5 Android Development] Hugo9191:
Yeah, I see that too. Honestly, I use device only anyway, since cba to have my internet on.

---------- Post added at 01:21 PM ---------- Previous post was at 01:12 PM ----------

I have a weird problem to report. When I clean the battery stats, my battery lasts for ages. But the next time I charge the device, I lose usually 15% of battery after removing it from the charger. I really don't understand, even if I'm on airplane mode, there's that initial drain. After that, it flatlines (should I not use it). I really don't understand why, anyone has any idea?
[Nexus 5 Android Development] Pshemo__:
Very impressive, you used AOSP build right? Any special kernel settings?
[Nexus 5 Android Development] mkoev:
What kernel manager do you use?
[Nexus 5 Android Development] TomiLynch:
What CPU governor are you using?
[Nexus 5 Android Development] Dark_Eyes_:
Announcement

Guys,

There are a few kinks that need to be worked out now on the ROM. I've been postponing that for a while, but I need to address that at some point. So, I decided to step aside for a bit, starting from a pure LineageOS base and work from the ground up, adding a few commits at a time, to see if I can get to the root cause of the LineageOS battery drain bug and the reason why GCM is delayed. I'll probably get a build out with the February security patch when it's out, but other than that I might not be around as much and I won't fix bugs or add new features. I hope that you guys understand and that you'll stick with me ;) Dark ROM will be better in the end.

Hope you enjoy your experience with my ROM!
[Nexus 5 Android Development] mkoev:
Interactive.
[Nexus 5 Android Development] Crucio32000:
That's a good idea man. Can't wait for the brand new fresh build !
[Nexus 5 Android Development] mkoev:
That's a great idea mate. If there's no such huge drain I won't even need to flash newer versions. :)) BTW which kernel app do you recommend? Synapse, Kernel Aduitor, etc ?
[Nexus 5 Android Development] Dark_Eyes_:
It's a very personal choice. I would probably go with kernel adiutor...
[Nexus 5 Android Development] TomiLynch:
Try CPU governor: Alucard

Hotplug: Alucard

I/O scheduler: Noop

I used to get 2:50 hs of screen on time with interactive governor and i/o sched set to bfq. I made these changes and got 4:30 hs SoT and performance is great.

I know interactive is supposed to be more responsive but for some reason I feel my device is working better like this.

An other thing you can do to lower battery consumption is to lower vibration intensity. I changed it from 63 to 50, but thats a matter of personal likes.
[Nexus 5 Android Development] itazchu:
I use AOSP build, blu_spark kernel and ex kernel manager. I change governor settings attached and undervolt -50 mv.
[Nexus 5 Android Development] mkoev:
I am already on bluspark kernel (flashed it yesterday), so no alucard for me:) I think that was a part either of Franko or of EX, forgot from which one. I've already reduced the vibration, but my problem is with browsing for example. Yesterday I got around 2:30 h SOT while my phone was on for almost 1 day and 18 hours. So no problem with deep sleep either, I can leave the phone on my desk and it will hardly consume any battery. My problem is with the phone almost constantly staying at highest CPU frequency and with the cores not turning off while I am using it. At least that's how I see it when looking at Kernel Aduitor CPU animation.

Edit: what I meant about the cores while using the phone was that when I leave the phone idle the cores still stay at high freq.
[Nexus 5 Android Development] TomiLynch:
I get what you mean. What Cpu governor and i/o scheduler options do you get on bluspark?

I'm on CAF version, but had the same SoT as you and know it sucks.

I'm not an expert but deffenetly sounds like a governor issue to me.
[Nexus 5 Android Development] mkoev:
I am using the default bluactive governor of bluspark. The IO is zen. The SOT is very similar to the one I get with the default kernel of this ROM.
[Nexus 5 Android Development] TomiLynch:
But what other options do you have for governor and scheduler?
[Nexus 5 Android Development] mkoev:
Just the default ones. I haven't done any tinkering. The only things I change are governor and io scheduler.
[Nexus 5 Android Development] GopalKaul:
[MENTION=5445418]Dark_Eyes_[/MENTION] Another thing for passing safety net on CAF ROMs. We need to set SELinux status to enforcing, it will show bootloader as locked. I tried to change its status. But it isn't, just please read more on it and try something.
[Nexus 5 Android Development] Dark_Eyes_:
Just to clarify a few things. Selinux has nothing to do with the bootloader state. Both version have been selinux enforcing for a while now by default. Also, both version have the kernel patch to report the bootloader as locked also for a while. That is enough to pass safetynet on the AOSP version, but not the CAF one. I don't know what's wrong with the CAF version, but it isn't the selinux state nor the bootloader state.
[Nexus 5 Android Development] chem20:
Why the above of the status bar whait and. Battery and clock don't showView attachment 4029411
[Nexus 5 Android Development] Dark_Eyes_:
Yeah, I'll get that a lot in the coming days lol. Believe it or not, it's a bug in the latest version of the Google app. It's nothing I can do, and if you want it fixed you'll need to roll back to the previous version (6.10.x). Don't use the 6.11.x version for now. They'll probably fix it soon, but until now it's still broken.
[Nexus 5 Android Development] xlillo:
I love this rom!

Fast, stable and very smooth.
[Nexus 5 Android Development] knight862:
[MENTION=5445418]Dark_Eyes_[/MENTION] can I request a tiny bit feature? Can you please add call recording feature for the future roms? I know you started to build the Rom from scratch but if you have free time can you add it? Third party apps doesn't work properly.
[Nexus 5 Android Development] Karnage11:
[MENTION=5445418]Dark_Eyes_[/MENTION] anyway toy can make it work with CDMA sim cards , there is away but i have to back up my EFS file to make it work and sometimes it doesn't stick and doesn't read my sim and when i add an APN
[Nexus 5 Android Development] TomiLynch:
I mean, if you can send me the names of the other governor and scheduler options bluspark kernel offers y can suggest a change to see if it helps. Or attach a screenshot of these options.
[Nexus 5 Android Development] Dark_Eyes_:
Impossible since we use the Google dialer. For that to work I would need to go back to the aosp dialer, which I'm not planning on doing in the foreseeable future.
[Nexus 5 Android Development] GopalKaul:
My SELinux state is Permissive and I cannot change it to enforcing.
[Nexus 5 Android Development] Dark_Eyes_:
Then you must not be using the kernel that comes with my ROM. Some kernels have hard disabled selinux, so you can't turn it on. But mine is enforcing by default, and it can be toggled on and off.
[Nexus 5 Android Development] grasshop3r:
Flashed this rom last night. Flashed dynamic gapps, root, and installed pixel launcher as system app. Working smooth.

One question though-

Which zip files should I paste in the flash-after-update folder? Should I keep the gapps there?
[Nexus 5 Android Development] _Vegas:
LineageOS System icon looks ugly.
[Nexus 5 Android Development] twili9ht:
Once gapps is flashed it sticks and you don't need to flash it again every update.

I only have SuperSu zip in there to keep rooted after updating. Root won't stick after updating without that.
[Nexus 5 Android Development] GopalKaul:
I am using your true sight kernel 4.4 , only CPU governor and io governor changed in kernel. And fast charge enabled.
[Nexus 5 Android Development] mkoev:
The only extra governor Bluspark has is bluactive. The rest are just the regular-->interactive, ondemand, consertavite, performance

By default the the io scheduler is zen, but the kernel also offers noop, deadline, row, cfq, fiops.

I haven't touched he governor tunables.

In the past when I was using CM 14. I used to use interactive + fiops. The problem with battery was very similar, so what I did was I purchased a new battery, but that hardly helped. I can't get more than 2h or 2:30hrs of SOT. I get NO drain while the phone is in deep sleep.
[Nexus 5 Android Development] TomiLynch:
I'd say, try changing CPU Governor to OnDemand and I/O Scheduler to Noop and let us know how it worked.
[Nexus 5 Android Development] MuhammadHesa:
Is protected apps feature still broken? Cause it always makes the pixel launcher stopped working.... Well i kinda like that feature tho:|
[Nexus 5 Android Development] Dark_Eyes_:
Then I'm confused lol. Mine has enforcing selinux on the latest truesight 4.4. Maybe something else that you flashed?

I don't believe it has been fixed...
[Nexus 5 Android Development] Karnage11:
OK Google doesn't seem to be working right now trying to set it up , takes forever have to keep saying OK Google over and over to seem to get it to work
[Nexus 5 Android Development] MuhammadHesa:
Well this happened...
[Nexus 5 Android Development] Afnantahir:
If i just uninstall kernal audiotr. Will the kernel settings revert back to normal which i applied or changed ? Thinking cuz of that apply on boot thinggy.
[Nexus 5 Android Development] swa100:
Are more people having problems with the stock wallpapers? Something seems wrong with the resolution after the latest update (30-01). I can only set a very zoomed in part of the wallpaper as my background.

Also, it would be great if the charging values can be fixed in the next update. Would be great if I can use accubattery again.
[Nexus 5 Android Development] Dark_Eyes_:
Your settings will revert back to stock on every boot. Kernel adiutor, and any other kernel manager, re-apply your settings at boot, so if you uninstall it, it will only stick until you reboot.
[Nexus 5 Android Development] Afnantahir:
Thanks man. You are best.
[Nexus 5 Android Development] _Vegas:
Dark aosp kernel is same as stock lineage kernel right?
[Nexus 5 Android Development] ovu85:
Hi, i've noticed battery drain over night. If i was on LTE i've had over 7-8% battery loss over night, i've swiched to 3G and it's only 5%.

Is it normal? Shouldn't the phone entered sleep?
[Nexus 5 Android Development] DarkCaine:
I know it's not the place but which kernel and kernel settings is better with AOSP rom for battery saving?
[Nexus 5 Android Development] GopalKaul:
Root only dude. After a clean flash too it's the same.
[Nexus 5 Android Development] DiavoloPowa:
LTE uses more battery, it's a normal behaviour
[Nexus 5 Android Development] Dark_Eyes_:
To everyone with the CAF build, can you go in about phone and report if your SELinux state is permissive or enforcing?

Thanks!
[Nexus 5 Android Development] lutyjj:
Mine set on Enforcing.
[Nexus 5 Android Development] Afnantahir:
I also want to know the same. Or can we tweak the default kernel for battery ?
[Nexus 5 Android Development] willyinpr4u:
Enforcing on mine.
[Nexus 5 Android Development] Dark_Eyes_:
I don't know what's up with your phone lol, but it should be enforcing. Anyway, it shouldn't matter anymore with the latest magisk, so I guess if it's still tripping there's something else.
[Nexus 5 Android Development] TomiLynch:
Enforcing on mine too.
[Nexus 5 Android Development] twili9ht:
I'm on CAF and got Enforcing too.
[Nexus 5 Android Development] Two7:
So when is the new update coming in with more optimisations to the already well built ROM, along with Feb security patch!:cowboy:
[Nexus 5 Android Development] lionheartk:
I'm on CAF and it says Permissive. Just clean flashed with latest version + supersu 2.79
[Nexus 5 Android Development] swa100:
Anyone else has this?
[Nexus 5 Android Development] Dark_Eyes_:
Then it's gotta be SuperSU that changes the SELinux state. It's kinda weird though, I wonder why it would do that. It's also clearly a new thing with the latest version, because at the time I used SuperSU, it didn't change it. Anyway, at the moment, I think the best way to pass safetynet would be to use magisk.
[Nexus 5 Android Development] twili9ht:
I'm using SuperSu 2.79 too and I've got Enforcing.
[Nexus 5 Android Development] mrbennett:
Enforcing.