yashsingh1/xdaforums huggingface dataset:
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ensifolk:
I dont want to sound un reasonable, I've been on Android for around 6-7 years now. Im currently on PN+EX with all stock settings for the kernel. All I did was installing an app called L-Speed, I activated little stuff that are battery related, and not any Balance/Battery/Performance profile aside to enabling Aggressive Dose in the app. I've never been on 2:30 SOT with 50 % on my pixel before ! Cheers ! It did some trick lol
[Google Pixel ROMs, Kernels, Recoveries, & Other De] lanimul:
Can anyone report if pushing the cpu, would it handle VPN overhead easier? Im running stock still..
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Update!!

Download:

ElementalX-P-1.10.zip

Changes:

-May security update
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Just FYI, seems to be something weird about the new system update. As soon as I install TWRP, it bootloops. I will investigate further.

For now, version 1.10 works fine on the April stock ROM.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] devilsadidas:
Wow! You jumped right on that! Thanks much
[Google Pixel ROMs, Kernels, Recoveries, & Other De] quinejh:
Are the steps for installing this with magizk, flash kernel, flash magizk and then flash twrp?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] defconoi:
Ya how with magisk?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Atemi1337:
Not sure if you've found out on your own yet but it seems to be related to the bootloader. Flash back the April bootloader with everything else updated and you will be fine.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
can I use the flashall.bat ?

after that flash the April bootloader?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Yep! Don't forget to remove the -w to keep data
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ensifolk:
Any idea what does ' PowerManagerService.Display ' and ' PowerManagerService.WakeLocks ' refer to ? And what could be causing their high drain ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Display is literally the display of the phone being on. The powermanagerservice.wakelocks is the sum of all partial wakelocks (I'm assuming you're seeing that from BBS?)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ensifolk:
Yes on BBS. Then I assume all is normal ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Partial wakelocks are normal but if it is really excessive it's worth taking a look to make sure something isn't funny like an nlpwakelock or something
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ensifolk:
Thanks a lot my friend !
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Chainfire:
[MENTION=4684315]flar2[/MENTION] https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ensifolk:
When trying to track what is sucking battery when phone is off in BBS should I consider Alarms also ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] veedubrocks:
What causes the nlpwakelock? Cause it's happening with me. Thanks in advance
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
Network location provide service in google service framework. Use "disable services" app from the play store to disable it. Google fit might uses this service so it is going to complain.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Update!!

The only change here is that the installer now signs the boot image. I installed it many times in different scenarios and so far so good.

Many thanks to [MENTION=631273]Chainfire[/MENTION] for figuring this out

Download:

ElementalX-P-1.11.zip

Changes:

-add boot signing to installer
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
is this procedure right?

update to 27o,then fastboot twrp.img ,flash twrp.zip,flash super su,then flash ex kernel???

been busy lately so couldnt risk a bootloop now but have to avoid the google update service drain.....
[Google Pixel ROMs, Kernels, Recoveries, & Other De] tacofart:
Yeah that's fine. Is it working or are you having an issue?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
saw someone having bootloop after flashing twrp and couldn't enter twrp after ,so have to make sure I I am doing everything right
[Google Pixel ROMs, Kernels, Recoveries, & Other De] tacofart:
May patch broke twrp
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
so I can fastbiot twrp to install su but I can't flash the twrp zip?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
hi

I updated may patch ,fastbooted twrp to flash su and ex kernel (didnt flash twrp as theres some bootloop report)but I didn't have the option to use gesture while installing ,I installed anyway and chose the swipe.to wake option in the ex app ,and after every reboot,it takes a few mins to activate the wake up gesture (I mean the first few mins after the reboot couldn't detect my swipe(

my question is ,is there any way I can choose swipe during installing without twrp???
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
You need supersu installed prior to flashing the kernel for those extra options to be available in the aroma installer
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
I have supersu installed ,but no twrp
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
You flashed SuperSU and ex in the same session. You'll probably want to reflash ex now that SuperSU has been installed (done it's boot loop cycle first time booting system after flashing)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
thanks ,so proper way flashing ex is to use fastboot twrp img?

I didn't flash twrp to avoid bootloop on may patch
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Fastboot or actual TWRP work fine. You can avoid boot loop work the verifiedbootsigner zip from chainfire
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
so twrp rc1 works fine now?

there report that after flashing twrp,bootloop will happen

so what I need to do now is fastboot twrp img ,then flash twrp rc1 zip ,flash su ,flash verifiedboitsigner?

no reboot in between???

update: got it done thanks mate ,flashed twrp and v3 straight after
[Google Pixel ROMs, Kernels, Recoveries, & Other De] queerquirks:
Could you list your steps here for the benefit of the other members and myself? :victory: Thanks! Having 14 hour days at the office and haven't been keeping up with the latest,.especially the new bootloader verification.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] doubleho:
what i did is flashall without the -w ,auto reboot to system ,then you manually boot into bootloader

fastboot boot twrp.img ,flash twrp zip and v3 ,I rebooted system here but it will reboot to twrp

flash su and v3 again ,reboot system

download the latest ex kernel using the ex app ,flash it using twrp ,done

make sure u downloaded v3,su and twrp rc on your pixel before updating

and ofcause twrp.img on computer
[Google Pixel ROMs, Kernels, Recoveries, & Other De] robotnikz:
Soo. I cant flash the kernel ad stated in op right? In twrp?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] unhappybirthday:
My understanding is that if you have a ROM that is already booting properly and TWRP installed and booting properly, then this install is simple like stated. Getting those other pieces in place has gotten complicated since the May updates.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
You can just flash ElementalX as normal.

For stock unrooted, you can just fastboot boot TWRP and flash ElementalX

If you are stock and want SuperSU and/or TWRP you will have to take additional steps.

If you already have SuperSU and/or TWRP, just flash ElementalX
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
[MENTION=4684315]flar2[/MENTION] - Do we need to be on the May Bootloader? Sorry for the confusion, but I tried to install this earlier and it didn't work for me and put me into a bootloop with constant ram dump. Is that because I'm on the April bootloader still and this tried to sign it and that caused a problem?

I was running the April version of Pure Nexus, rooted, with TWRP RC1.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
As far as I know, it works on April bootloader
[Google Pixel ROMs, Kernels, Recoveries, & Other De] shindiggity:
Works fine here on April bootloader running May DU.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] justinxfan:
My pixels battery drops by 2 percent at times. Sometimes it drops by 1 percent but sometimes it'll get stuck and suddenly drop by 2 percent. I think this is an elementalx specific issue because I also encountered this on the Redmi note 3. Any fix for this?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Its not related to elementalx, I don't modify the battery in any way. It's probably caused by temperature fluctuations.

This is seen on Kenzo and also seen on the Nexus 6P and 5X. It's not really a problem and completely harmless.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] justinxfan:
It doesn't happen on the stock kernel and I've used it in excess of 40 degrees in battery temperature it's definitely an issue with the kernel
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Sounds like you should use the stock kernel then.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
Tried to install it again and am again stuck in another Ram Dump bootloop...
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
It definitely NOT a kernel issue. Battery drivers are 100% identical to stock on ElementalX.

I will tell you as someone who lives in an extreme climate, that battery levels do a lot of weird things with temperature changes. For instance, in the winter if I have my phone out for a few hours in the temperatures below -20C, and then bring it indoors, my battery level will actually increase. This is because battery capacity is directly related to temperature. This is why I suggested your "issue" is related to temperature. It could be something else, there are a lot of factors that can influence battery level. I put "issue" in quotes because this is not something that should be considered a problem, it's completely harmless and due to simple physics.

At the end of the day, the code is the code and ElementalX has the exact same code as the stock kernel. So it's literally impossible that this is caused by the kernel. And as I've explained, it is very possible that temperature has caused it. And how do you know it hasn't happened with the stock kernel? It would be pretty easy to miss. In science, you always give priority to the simplest explanation (i.e. the one with the least assumptions).
[Google Pixel ROMs, Kernels, Recoveries, & Other De] shindiggity:
Actually I'm running 1.1.0, not latest.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mac796:
I had to install it twice today I'm on May bootloader's and pure Nexus. First time said flash was successful. But when I rebooted to system it still showed pn kernel in elemental app. I installed it again and it worked. I thought this was strange never happened to me before. 111
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
Yeah, so in my real-life experience, it is NOT working on the April bootloader with 1.11 and the latest Pure Nexus 7.1.2 May update. It won't even boot back to recovery and do anything meaningful before going into the ram dump bootloop. I can't even get into TWRP. Actually, I have twice out of about 15 attempts. However, both times, once in the middle of a restore and once in the middle of a fresh flash, it went right back to the ram dump before it was complete and started bootlooping again. I'll have to adb fix everything because that's the only tool I can use it would appear. Well, here goes. :fingers-crossed:

Edit: back up and running again. Wow, that was a bit of a chore. :P LOL [MENTION=4684315]flar2[/MENTION] - is there any way we can get a link to the 1.10 kernel? I think the signing thing is screwing with the April version.

Anyway, I'll let someone else figure it out or try it with the April bootloader and latest PN before I try again. Was hoping to stay off the May bootloader until everything was kosher but that may not be possible. All good.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] cntryby429:
Edit: back up and running again. Wow, that was a bit of a chore. :P LOL [MENTION=4684315]flar2[/MENTION] - is there any way we can get a link to the 1.10 kernel? I think the signing thing is screwing with the April version.

Anyway, I'll let someone else figure it out or try it with the April bootloader and latest PN before I try again. Was hoping to stay off the May bootloader until everything was kosher but that may not be possible. All good.[/QUOTE]

I just flashed the latest PN with elemental 1.11 and SU sr3. I'm still on April BL and had no problems other than the vendor mismatch which I forgot to flash proactively.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
Well then what the hell? Both times I've flashed this kernel via TWRP RC1, I've run into this problem that was time-consuming to recover from. Once I did it on 7.1.2 r7 and then again today on the latest r8. Both times it went into the ram dump bootloop.

[MENTION=5413223]cntryby429[/MENTION] - are you flashing it through TWRP or the EXKM app? I guess it's all the same in the end though...
[Google Pixel ROMs, Kernels, Recoveries, & Other De] shopealope:
I've also seen this happen and I don't even live in extreme weather. Even when it's about 30 °F here I see battery fluctuations in many devices, not even just my phone. My word doesn't mean as much as yours but I'll back this up.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] cntryby429:
I've always used the latest twrp which currently rc2. I know people say it has problems but it's never failed to flash anything for me. Everything I need backed up is synced to one cloud or another.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
I've found that TWRP is more likely to stick if you unplug the USB cable before rebooting into the OS after flashing TWRP (RC1). I don't know why that is, but it seems consistent from some testing I've done. Then I reboot back into TWRP and flash RC2. I've also been dirty flashing the last couple releases of PN, as well as new ElementalX kernels, but I started with a clean April stock firmware. Maybe that makes a difference?

Oh, and I have a copy of 1.10 if you still need it.

Phone info screenshot:
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
[MENTION=4791226]pWEN[/MENTION] so you're still on April everything?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] chazall1:
April Bootloader with Ex 1.1.1 all functioning fine here.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Jank4AU:
So why am I unable to get this to work? Surely I'm not the only one...? I'm on April bootloader, PN 05/09 with matching ROM and Vendor files (N2G470). If it's as easy as just booting to TWRP RC1 and flashing, then it should work, right?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Hmm, I guess so. Except for the latest ElementalX. I haven't tried flashing the May build of PN yet.

Here's what I would try:

1. Start from a clean stock ROM on both slots.

2. "fastboot boot" the TWRP RC1 image.

3. Grab the April versions of PureNexus (purenexus_sailfish-7.1.2-20170423-OFFICIAL.zip, GApps if applicable, and NHG47K_vendor.zip)*.

4. Copy your files over (including TWRP RC2, custom kernels, and any Magisk/SuperSU type things), then flash TWRP RC2 and reboot to OS.

5. Reboot to TWRP, do your factory reset and wiping., then install PN and reboot into OS.

6. Install your Magisk or whatever else per their instructions.

That's generally the process I follow when starting fresh, or when something goes wrong. After that I think you can dirty flash the May version of PN, then put the April bootloader back. I think TWRP has a zip file with a signed image that you need if working with May's Nougat files. You'd have to check that thread for more info, though, as I haven't tried any of that yet.

*I have these files as well if you can't find them.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ferg40:
Am I going crazy or is there not a compatibility post? I thought I saw one. I want to try Pixel Dust but don't want to blow everything up. Ha ha

---------- Post added at 04:25 AM ---------- Previous post was at 04:23 AM ----------

Oh and if I wipe my system does it wipe the kernel? This pixel is weird. I'm not new to android, just how this crazy phone works.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Wiping system does not wipe the kernel
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ferg40:
Good, what about the elemental kernel? Can I use with pixel dust?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
I'd say test it and find out. Ive never used that ROM. Flashing a rom, however, will overwrite your kernel.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ferg40:
Lol alright. Thanks again buddy.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mikeprius:
I noticed that when I flash p 1.1.1 is it not going through all the set up options in the aroma installer so things like dt2w and backlight dimmer I don't have the option to automatically have set upon boot. Is there something that may be causing this ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Sounds like you don't have supersu?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mikeprius:
You know what I didn't think about that. I have Magisk with the superuser so it probably did not detect it. Also, overnight 8 hrs, I have idle drain of about 4-6%. Is this too high even with doze ? I've heard of 1-2% overnight idle drain.

---------- Post added at 11:31 AM ---------- Previous post was at 10:50 AM ----------

tried it again with SU installed. Not working. Just does the first 2 steps then installs.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
I have never heard of 1% idle drain overnight or even 4-6%. how are you getting that low a drain?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mikeprius:
That's just Elemental X kernel. Fully charge my phone to 100%, left it off the charger sitting overnight, check back in the morning and it's roughly 93-94%. Actually today it was 96%. I've had 1-2% so that is a bit higher than normal. Doze is effective assuming it works properly.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
I think >0.5%/hr is normal for a a stock, untweaked setup on wifi. If you sleep for 8hrs (I wish!), then you would have about 4% drain. People who tweak doze mode and use airplane mode and take other battery saving measures can reduce it to 1 or 2% overnight.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
I am gonna try it out today. I dont have root so no tweaking the kernel or anything else. I did reduce the max freq for both clusters to minimum allowed by aroma installer. Lets see what I get without turning airplane mode on. I am latest PureNexus btw
[Google Pixel ROMs, Kernels, Recoveries, & Other De] oo0:
do wake gestures cause additional battery drain, like it was in bullhead case?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
No
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Update!!

Download:

ElementalX-P-1.12.zip

Changes:

-improve s2w

-June security update
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ezrem:
Apologies if this is somewhere in the thread, but can someone explain how the settings work in the EXKM app? Is there a guide anywhere?

Specifically the...power-reset button on the right side of each line? I know I can tap on the lines to for example change min/max CPU freq, governor, etc...but what does that other button do?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] agentdr8:
That denotes whether or not the setting will be applied on boot. By default nothing is "on", so once you make changes to the settings, you'll want to tap that and flip its color.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Nick80835:
That's the apply on boot toggle for the setting its on.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ezrem:
So once i have turned something on, do I need to reboot?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
Settings in the app are applied immediately. Click the apply on boot icon if you want the setting to be applied when you reboot, otherwise it will go back to default.

I would recommend NOT trying to fiddle with CPU frequencies. There is no advantage and they won't stick on this device.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Nick80835:
No, its just so your settings apply again if you reboot your device. Not everyone likes setting everything up every time they reboot. ;)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Ezrem:
Got it. Makes sense...I think. Thanks everyone for the help!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Something weird happened recently and I'm trying to make sense of it. The other day I put PureNexus 5/09, TWRP RC2, Magisk 12 Pixel, and ElementalX 1.12 on my phone, starting from a clean stock ROM. Once that was all installed, I start messing with settings and such, and I realized that ElementalX didn't actually install. I didn't switch partitions or anything, either. Reflashed it, and it stuck the second time, but now I'm noticing that it's missing some settings in the app. Most of them came back, but some panels are emptier than I remember them being the last time I went through them a couple weeks back. Notably, I have no option for the backlight dimmer anymore, and I'm positive it was there (now my phone is blinding me on the lowest setting when I turn it on after waking up in the morning). Did I miss something? Were some settings removed?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] flar2:
No settings were removed. I haven't tried Magisk on this device, but it seems to cause some selinux issue with certain paths. I've seen io scheduler mentioned a few times.

It has to be fixed on the Magisk side. I'm not touching anything to do with selinux with my app.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
Oh, okay. I'll ask around in a Magisk thread. Thanks!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] jorgen2009:
Are you sure you were using TWRP RC2 and not booting from, or using the TWRP RC1 image when you installed ElementalX? The new signature signing that the kernel uses needs TWRP 3.1.0 RC2 or newer for the Pixels. See also Chainfires OP here. Using RC1 when flashing the latest ElementalX does nothing indeed.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pWEN:
I am 1000% positive I was using RC2.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] amcolash:
Well, after another flash, everything just worked. Not quite sure what to say. I am really liking the double tap to wake!

Now I've got scheduled backups and sync to a remote drive :)

How did you get Android pay working? Maybe it is just me but it is still not working for me. I'd there any configuration you needed to set up?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] danaff37:
If you're boot loader unlocked, Android pay will only work right now with a custom kernel with the correct safety net patch (flar's does have it) and not root. That's why I didn't try root as I mentioned.

That means you can't change any kernel parameters though, but flar has picked out really good ones by default, so I'm good.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] amcolash:
Oh I see. Thanks for the clarification :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] ws6kid:
Any chance of getting audio to route out the earpice for stereo sound??