yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] apophis9283:
It's more about having to fork stuff on github. The more modifications I make, I can no longer just cherry-pick. The Magisk addition to settings and rootless, ok rootless was a massive CP, but you get my point. Let me think on it. I'm in no rush to deal with it

I may just do to. Idle hands are the devils playground. I really dont want to play with the kernel unnecessarily so I may take the time do whats needed
[Nexus 6 Android Development] apophis9283:
I just repo synced. About to build. Rootless. With the standard stuff. Plus hopefully I added SU (if installed) to settings as well as editting the string summary for magisk.

Im thinking about making my builds not look for regular KA but KA-MOD so that would be in settings too

If I dont push all this stuff to github, I would have to merge it everytime I built. So you see where this could get "overwheliming". I think Ill stop the modifications here.
[Nexus 6 Android Development] MrSplaat:
Oh, lord! I sat here playing with my phone, opened Snapchat and *boom* phone turned off, with 27% battery left. Has happened before but I have then just turned on the phone. Did the same this time, opened Snapchat again and same issue appered, phone turned off, but this time it seems like it borked the ROM too, cause now I'm stuck in a bootloop. Not even a dirty flash could fix it. Thank god for MultiRom were I had RR as backup!!
[Nexus 6 Android Development] apophis9283:
In that case. I will stop what Im compiling and revert the commit I added for no throttling below 40%. If you guys want that you flash it yourself.

Believe it or not. Across every phone the answer is the same. Calibrate the battery, or one guy suggested fully charging/discharging the phone 3 or 4 times.

I will still leave that commit out but thats what Ive found

I also went ahead and updated BLOBs
[Nexus 6 Android Development] CyberpodS2:
In regards to the rootless version, that would be my vote also. Just add links and credit to the proper threads or downloads to supersu and magisk. At risk of being rude about comparisons, the install portion of the PN Rom threads is really convenient by giving all the needed links,etc.
[Nexus 6 Android Development] apophis9283:
Im just providing the ROM. I will make it rootless, it will be stated its rootless and that you need to flash whatever root solution you want. The root solution will be on the person to get a hold of.
[Nexus 6 Android Development] AykForever:
i was glad to hear that (no offense) i'm not the only one having such problems. Btw i had that problem while at %60 battery with yandex navigator. Opened it phone rebooted, opened again, rebooted but stuck at boot. Dirty flashing did not help, but also clean flash + flashing kernel + root was not helpfull too... Changed rom and gapps provider and it was ok. Now running kernel ver 1.4 without problem. Calibrated battery too.

Off topic part

------------------

Also sometimes on other roms and on older kernel versions i had problem like phone freezing then after reboot all of my settings were gone (permissions etc...) it was like setting the phone for the first time after clean flashing (but without the wizard part)

As i was dirty flashing and using TiBU i didn't reported that kind of problems before. But any ideas about cause of this kind of problems?
[Nexus 6 Android Development] apophis9283:
The only thing I changed in that area I have reverted and will not be in the new build. I have updated the OP with all the info of the new build, its set up how I want it. Just waiting for the build to finish and upload to provide the link
[Nexus 6 Android Development] MrSplaat:
I was running v1.3, but I remembered that had a backup from 2/20, thankfully! Gonna restore that and flash v1.4
[Nexus 6 Android Development] apophis9283:
This build is at about 60%, then I can flash it while its uploading to save some time. So I will get a link up as soon as possible (given the flash goes well, I have no reason to think otherwise)
[Nexus 6 Android Development] MrSplaat:
Cool, I'll wait then :good:
[Nexus 6 Android Development] apophis9283:
I do all this on my own PC. Its fast but not as fast as some peoples build boxes. Takes about 35 minutes to compile a ROM

Edit: I decided to recompile to see if I cant get KA MOD to show as a shortcut in settings. Kill me if ya want. I want this build to work for awhile LOL
[Nexus 6 Android Development] II_DiE_4:
Got another sudden shutdown. Bat was at 19.

And I did calibrate my batt this time.

Here are the logs that got them from an app, dunno if useful.

https://drive.google.com/file/d/0BxUToswtdvqCcWN3ZVV2ZGdMTkU/view?usp=drivesdk
[Nexus 6 Android Development] apophis9283:
Ive already removed the one commit that Ive added that would affect it. It will be in the next build. If you look up a few posts I said something about it. If it continues then its an RR issue cause none of the other stuff would even remotely cause that
[Nexus 6 Android Development] str8str:
Are you running multi ROM? My guess is it's related to it . I've had this happen before

---------- Post added at 12:26 AM ---------- Previous post was at 12:14 AM ----------

Try uninstalling multi ROM and running the same ROM. I think it has to do with it. I've had this and it went away when I uninstalled multi ROM. It hasn't been worked on in quite a while and there are bugs. There is a thread that are working on themes maybe mention it there and see if anyone else has had it happen
[Nexus 6 Android Development] johnb380:
Do u include some type of GPU beta drivers or something that has to do with pictures and videos or GPU drivers? Because it's always when looking at pics on Twitter or Facebook or I can't even use SnapChat with your kernels and it also happened.a few times whwn playing Modern Combat 5.

That's why I ask about something you include that others don't in the kernel. I feel it has to be GPU related as I only have ever had the shutdowns using your kernels so it's weird it freezes and recovers sometimes but I get hard reboots more times then not.

Hopefully you may know what it is by my description because when I switch back to Blackbird 2.2 or Elite kernels it doesn't happen even on the same version of your RR ROM builds.

Either way the kernel is awesome in all other situations.
[Nexus 6 Android Development] str8str:
Hey brother how long has that particular commit been in the kernel or ROM. The one mentioned here u removing
[Nexus 6 Android Development] apophis9283:
No, nothing like that, Drivers come from the ROM.

Other than the ROM shutting down at a certain battery percentage I was not aware there were any issues. Since 1.3 I have asked several, several times. And no one said anything. To me this is an issue with communication.

I am about to flash the ROM and test real quick
[Nexus 6 Android Development] apophis9283:
Not long
[Nexus 6 Android Development] apophis9283:
ROM links have been updated. I did remove that one commit. If its not in the description of what I have added to the ROM. The rest is all stock.
[Nexus 6 Android Development] str8str:
Guys he had been asking over and over if anyone is having any issues and no one mentioned a thing until now. One of you Said you've been having a shut down issue since 1.3 and only today mentioned it. You know how frustrating this is? Been going along really nicely adding things slowly and asking for issues and no one said a thing till now. This is not cool. You need to say something immediately you have something happens so it can be looked into before releasing saving having to backtrack to find an issue that should of been brought up before. Can't help if don't know
[Nexus 6 Android Development] atharwaqas:
Can you give me the link to that code or commit on Github on how you added the Magisk and KA-Mod to settings menu?
[Nexus 6 Android Development] mblender1969:
Is Miracast working with this version of Resurrection Remix? I still cannot get Miracast to work with Nougat, but it works fine with M. I am currently using RR-M, and love this ROM. I want to upgrade to the new version but I have to have the Miracast working. I use it daily. If I can help in any way with a logcat, etc. I will gladly supply it. I just need to know who can look at this issue. Any direction would be greatly welcome.
[Nexus 6 Android Development] str8str:
Battery at 14per and still going no shut downs
[Nexus 6 Android Development] johnb380:
I just started using this kernel again on version 1.3 so idk before that. But like I said it works flawlessly any other time except when it decides to just hard reboot. Other than that I WILL get a log the next time it happens for sure tho.

[MENTION=4392154]apophis9283[/MENTION] don't get discouraged your definitely doing good work. Well get it narrowed down. I personally think it's one setting in the kernel. But I'll know more soon as I'm gonna keep a record of the settings I use exactly and get a log next time to see what's up. And it's not very often that it does happen.
[Nexus 6 Android Development] apophis9283:
That would be awesome. Thank you.
[Nexus 6 Android Development] apophis9283:
Since I'm running a shop of many things. I have to add an extra step when reporting a bug.

Put ROM, KERNEL, or KA-MOD at the top please.

If its a ROM issue its 99.999% probably gonna be their stock source. I may look at it, but they can fix it. I promise you anything I do that varies from stock source will be posted above the link.
[Nexus 6 Android Development] apophis9283:
[MENTION=3556013]johnb380[/MENTION]

I may have an idea on what's causing issues during that game. What I'm thinking of would only happen if the GPU drew a lot of power. I will locate that commit and see if I can't tweak it some.

If you could give more info, even generic info it might help confirm my idea
[Nexus 6 Android Development] MrSplaat:
I feel that I can't live without MR, mostly because of issues like this. I've used MR a few years now and this has happened once before, a long time ago. Gonna take the chance by updating the ROM, kernel and check for unofficial MR updates. If it happens again, so long MR.

---------- Post added at 08:39 ---------- Previous post was at 08:34 ----------

To me it seems like apps were triggering the shut downs

---------- Post added at 08:45 ---------- Previous post was at 08:39 ----------

Agreed! Personally, I tend to do that, but I've started to troubleshoot the issues myself before reporting. And these shut downs were a pain in the ass to troubleshoot because it could go many days between every time it happened.
[Nexus 6 Android Development] erk1725:
Updated everything this morning....have updated ROM with Magisk v1-4 kernel....safteynet says OK.....really enjoying the blinking LED sir! Amazing work!! Thank you very much for everything
[Nexus 6 Android Development] str8str:
I Didi some testing last night and I think it's safe to say it's not a multi ROM issue. So some if you can be glad for that. I know we're writing on narrowing this down myself and Steaven. I pretty much did my part waiting on the big guy to give his expertise.
[Nexus 6 Android Development] apophis9283:
Here is my first attempt to stop these shutdowns. I did 2 things. I reverted a GPU commit that I thought may cause them and bumped thermal polling up to 250MS.

You dont have to clear KA-MOD data, just uncheck set at boot for thermal and recheck when the phone boots. The other commit has nothing to do with tuneables so just flashing will get it going.

I dont want to revert more than is needed because battery is so good. After looking through everything that could cause it, this was my first thought so. Pleae remember. No big changes. Do this all in baby steps

Edit: Im gonna be honest with you. Thats not gonna do the trick. I know what commit is causing it. It has to be one of the old xileforce commits. Im hoping I can just edit ssome of it and bring those values up enough to stop the shut downs. Let me think on how I want to proceed for a bit. Ill have another build up
[Nexus 6 Android Development] apophis9283:
Lets do this incrementally shall we. If this doesnt do it. Ill keep changing the values until I hit that sweet spot.

Im thinking max 2 or 3 test builds. If in the end that doesnt work, I can manually revert that half of the commit while retaining the other stuff.

Link = https://drive.google.com/file/d/0Byl7OrnLCz6JY2hkVEV4MDJraE0/view?usp=sharing
[Nexus 6 Android Development] harpin14789:
I'm actually not have in any shutdowns so far after flashing this build. Well, probably need spend more time to fully see if everything is going well. Thanks
[Nexus 6 Android Development] MrSplaat:
I'll jump on the test wagon as soon as the next recharge. I started a battery calibration today, so I'm gonna wait :p

XDA. plz update the emotion, it sucks
[Nexus 6 Android Development] AykForever:
Just flashed, thx for your endless efforts.
[Nexus 6 Android Development] apophis9283:
Nothing but the best for the people who have tirelessly hung in there with me through all the dumb stuff.

Ill even tell you a secret. I listen to Whitney Houston when I work on the kernel. (Dont tell anyone)
[Nexus 6 Android Development] str8str:
Ya I don't usually let my battery get to low before charging which is actually a bad habit. You should let it fully discharge once in a while then fully charge it it's better on the battery. For testing let your battery discharge as much as possible,I had my shut down at 8perc battery
[Nexus 6 Android Development] apophis9283:
there is gonna be a point at like around 8 percent where its gonna shut down. Thats to protect the battery, But the 30% is an issue
[Nexus 6 Android Development] head_banger:
Enable bcl stops it shutting down around 30%

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
Do you know the exact mechanism of BCL that stops it? Cant it just be brought in to be used without having the rest of BCL enabled?

I think Im catching on to something here. Let me research
[Nexus 6 Android Development] harpin14789:
Usually in my experience. BCL results in less performance at low percentages and it makes it so that phone shuts down at 30℅ or so. Without BCL. I can get down to about 9℅.
[Nexus 6 Android Development] head_banger:
With bcl enabled, performance does drop at 40% and below but does not shut down when opening certain apps unlike when bcl is disabled. When bcl is disabled I can get phone down to 6% if Dont open certain apps, the certain apps must be must be straining GPU/CPU when on 40% or below

Sent from my Nexus 6
[Nexus 6 Android Development] apophis9283:
Thats sounds like maybe flashing that 40% no throttle zip would help you.

As far as the rest of you I think Im gonna do some changes

Some of you may hate me, but Ill try and not step on too many toes
[Nexus 6 Android Development] apophis9283:
Im just making sure BCL is being enabled when wanted and disabled when not wanted. Its still off by default but I havent checked on that area in forever, so I just fixed it up.
[Nexus 6 Android Development] apophis9283:
Let me work on this through out the day. No need to rush.

Report if it still happens.

You all enjoy your day
[Nexus 6 Android Development] erk1725:
isnt part of early shutdowns part BCL, part thermal throttle? As in both need to removed/reworked? I used to try to mess around with this on my own phone by editing files and such for both and in the end, I still got early shutdowns, so I gave up on it....just my two cents. I rarely let my phone get that low anyways.......You are doing an awesome job [MENTION=4392154]apophis9283[/MENTION]....take all the time you need. Everything is working great for me. Really like the blinking LED and Im anxious to try android pay now that safetynet passes with magisk. Thank you again
[Nexus 6 Android Development] apophis9283:
Not a problem. In a second Ill be posting a 2nd test build
[Nexus 6 Android Development] apophis9283:
Test 2 link = https://drive.google.com/file/d/0Byl7OrnLCz6JamdCa0VEYWpkNlE/view?usp=sharing
[Nexus 6 Android Development] erk1725:
Thank you! Downloading now
[Nexus 6 Android Development] str8str:
Rite but the fact that I couldn't get it to boot again is a problem. As I said I tried everything and no go
[Nexus 6 Android Development] apophis9283:
Even after leaving it on the charger for 10 minutes? Cause at that point the battery might be dead.

I am doing everything in my power to drain my phone as we speak. Im trying to re-create this.

Edit: after a long battle I'm at 34% finally. I'm not seeing any performance reduction. Even downloaded a few free games from the playstore. I just keep playing with it, put it down for a second, start playing with again. Hopefully I'll get some kind of results
[Nexus 6 Android Development] apophis9283:
I chronicled my whole testing process in a telegram thread where a few people here use my kernel.

Im telling you. I put this kernel through the ringer. Constant reboots, wiping caches, antutu benchmarks at different speeds for both cpu and gpu.

It took forever to drain the battery in the first place. Im at 16% as of now. And its still kicking. Ive played games (free ones cause I dont play a lot of games), benchmarks, reboots with wiping caches. It always did exactly what it was designed to do

15% and Im texting my mother at the moment.

Alright. I got to 9% and finally it just went down no battery. Shows no battery life symbol when I try to turn it on. And that concludes this very successful test
[Nexus 6 Android Development] suzook:
So blinking led is on this kernel????
[Nexus 6 Android Development] apophis9283:
Yes, I pulled it in my kernel. You still need a ROM that has it. But yes my kernel will work with any ROM that has blinking LED
[Nexus 6 Android Development] str8str:
Ya even after charging it for a while it wouldn't boot just boot loop over and over after it shut down at 8perc. The latest build you had gave me shut down at 10per but good news is I could boot it back up rite away once I plugged it in and at 11per it booted and stayed charging.

---------- Post added at 08:40 AM ---------- Previous post was at 08:33 AM ----------

Rite I got to 10 ad it shut down today on latest build you have me. Plugged it in showed dead no battery percentage after a minute or two it booted and showed 11per. At least it booted this time cause yesterday it wouldn't reboot just boot looped had to flash clean or restore a backup. That was using 1.4 thou where it wouldn't recover
[Nexus 6 Android Development] suzook:
Thanks so much! Can't wait till google releases code on latest update so we have properly working speakerphone.
[Nexus 6 Android Development] johnb380:
Is there anyways you could post the ROM and kernel commit links for the blinking notification lights when you get time for it?
[Nexus 6 Android Development] apophis9283:
Rom or kernel side? You realize that since I have it in my kernel I have to show that in my source. The ROM side however is an open commit in lineageos. By I think his nickname was myself5. He does Carbon ROM but yeah, when I get a moment, Ill get them
[Nexus 6 Android Development] apophis9283:
https://review.lineageos.org/#/c/163871/

https://review.lineageos.org/#/c/163870/

Those are the 2 commits you need to add blinking notification LED. One is ROM side, one is kernel side
[Nexus 6 Android Development] apophis9283:
V-1.5 of my kernel is up.

The all the stuff from test builds. (fixes). Pulled in upstream linux kernel 3.10.105. Probably some more specific stuff you can look at on github. No major changes. Still taking baby steps as I fix things that are brought up
[Nexus 6 Android Development] erk1725:
Thank you! Just installed:good:
[Nexus 6 Android Development] dark2099:
Need to wipe ka-mod or caches?
[Nexus 6 Android Development] apophis9283:
No, the days of constantly changing tuneables are over
[Nexus 6 Android Development] UbzyHD:
Merging Substratum rootless

Hi [MENTION=4392154]apophis9283[/MENTION],

Are you planning to merge Substratum Rootless? - https://plus.google.com/+NicholasChumCDT/posts/M1ec5crM1bY
[Nexus 6 Android Development] apophis9283:
I would have to look into it. Depends on a few things
[Nexus 6 Android Development] atharwaqas:
[MENTION=4392154]apophis9283[/MENTION] here is a big issue on your kernel, i just installed this on my rom running the march updates for nexus 6 and all sounds were gone..
[Nexus 6 Android Development] johnb380:
Yes you need them both kernel and rom to be updated for sound to work. This is the first thing you should think k of when security updates come out. Just use the stock kernel that came with your rom or wait for kernels to catch up and update to march security update.
[Nexus 6 Android Development] apophis9283:
if you have a rom, that has the march updates, flash the speakerphone fix thats in the op
[Nexus 6 Android Development] str8str:
Everything back to running top notch here brother man
[Nexus 6 Android Development] apophis9283:
Also, Im gonna be honest. Im probably gonna drop the ROM

Im not gonna do personal builds of any ROM. I am just gonna use something else.
[Nexus 6 Android Development] jaytorg:
I was just about to flash it...do you recommend not flashing? Any other ROM you recommend?
[Nexus 6 Android Development] apophis9283:
Honestly I havent flashed anything yet. NEO has pretty much a similar build. Its not rootless. But Neo has RR taken care of.

Honestly I think pure nexus is where I may head
[Nexus 6 Android Development] adm1jtg:
This is why I was trying to build myself, with no 712 for shamu I am guessing there will be less and less roms. As it is RR official builds are not being posted in xda at all and the main website lists the last build for download as 12/16. Obviously the code for the moment is still being updated we just have no one to pull it all together other then NEO and he has a very very busy RL lately.

[MENTION=4392154]apophis9283[/MENTION] I didn't forget about the work you did at my specific request on intellimm and have FINALLY got around to test. Just loaded up your latest rr no root and 1.4 using intellimm gov and intelliplug (figured they were kinda matched for one another). Went down to 12% and no shutdowns at all. No lags and really no issues at all so far. Have not had time for full charge yet so cant comment to much on battery life but all looks good. Great job.

One issue that I think is google but figured would ask for help on.... On ALL recent RR builds my AndroidWear crashes constantly. Google has updated something that is causing this as if I restore a nandroid from like 2/10 or so using neo's build from 2/7 the issue is not present. If I load up yours clean however I have the issues. I expect its some update to playstore or google app. Looking for any suggestions.

Another question as a rom dev I am curious if you believe nougat battery drain will EVER be as good as MM. For me on a well tweaked mm I would get .1% - .3%/hour over a 10 hour period. The best nougat drain I have ever seen over the same period with same apps is about .6%/hour. Curious to your opinions on this as well. BTW just for the record and so I am not accused of being negative or a troll your kernel performed the best so far for battery drain of all those I have tested.

Lastly if you have a minute I tried to build NEO RR again and also regular RR again and both failed. I posted the last attempt at NEO RR build over in NEO's thread if you could take a look and give me something to try I would REALLY appreciate it.
[Nexus 6 Android Development] apophis9283:
Honestly I think its one of two things. You dont have the prerequisites (or missing some) or its that VM box.
[Nexus 6 Android Development] apophis9283:
Started using six rom. man it doesnt have many options but man, is it a beast. Speed, fluidity. I found my ROM
[Nexus 6 Android Development] adm1jtg:
can u link please? and is it in github?
[Nexus 6 Android Development] apophis9283:
https://androidfilehost.com/?fid=745425885120713305

Thats the link. I have no idea about github. I have found no thread for it. A buddy gave me this link
[Nexus 6 Android Development] sebcio2804:
https://plus.google.com/+FrankieTR3Ds