AOD for Pixel XL on P DP1

YTSec

Senior Member
Oct 19, 2016
216
70
0
Back on Oreo, all we had to do was bring the Framework-res__auto_generated.apm from the Pixel 2 (or Pixel 2 XL) and install it in System/vendor/overlay. Since we don't have root (yet) for P, is there any other way to do it? I tried via TWRP (ADB in TWRP and making a flashable zip) but I'm honestly not extremely experienced with this. Via TWRP I can't get system/vendor/overlay to show, and putting the APK in Vendor/overlay doesn't seem to activate it. Any ideas, or just wait for root?
 

Jackaroop

Senior Member
Oct 11, 2015
57
20
28
Back on Oreo, all we had to do was bring the Framework-res__auto_generated.apm from the Pixel 2 (or Pixel 2 XL) and install it in System/vendor/overlay. Since we don't have root (yet) for P, is there any other way to do it? I tried via TWRP (ADB in TWRP and making a flashable zip) but I'm honestly not extremely experienced with this. Via TWRP I can't get system/vendor/overlay to show, and putting the APK in Vendor/overlay doesn't seem to activate it. Any ideas, or just wait for root?
Looks like root is working sorta with magisk, just an issue with magisk manager. You might be able to get unrestricted root access to a file explorer app and compete your task. Let me know how it goes because id like to get AOD working too :good:

https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/page543
 
  • Like
Reactions: YTSec

YTSec

Senior Member
Oct 19, 2016
216
70
0
To get this working, flash Magisk 16 via TWRP, boot up and use a file manager (I used ES file manager) to move the APK here to system/vendor/overlay overwrite the original. The phone will either reboot, or systemui will crash, when you get back in, go into the file manager again and set the correct permissions.

Make sure you remove your passwords, just incase something goes wrong while installing it.
 

Attachments

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
To get this working, flash Magisk 16 via TWRP, boot up and use a file manager (I used ES file manager) to move the APK here to system/vendor/overlay overwrite the original. The phone will either reboot, or systemui will crash, when you get back in, go into the file manager again and set the correct permissions.

Make sure you remove your passwords, just incase something goes wrong while installing it.
How do we install the burn in protection? Sorry for bugging you I've been googling for hours and you're the only person who seems to know how to do this or that this is possible.
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
How do we install the burn in protection? Sorry for bugging you I've been googling for hours and you're the only person who seems to know how to do this or that this is possible.
I took a screen recording for 20 mins and skipped around in the recording, the charge level, notifications, and clock all move around slowly. So it seems to be enabled by default.
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
I took a screen recording for 20 mins and skipped around in the recording, the charge level, notifications, and clock all move around slowly. So it seems to be enabled by default.
Awesome, thanks! I tried installing it but now all the apps are crashing and I can't get back into my file manager to set the correct permissions, it crashes too. Is there a way to get the file manager to work? I'm using Solid Explorer on 8.1
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
Awesome, thanks! I tried installing it but now all the apps are crashing and I can't get back into my file manager to set the correct permissions, it crashes too. Is there a way to get the file manager to work? I'm using Solid Explorer on 8.1
If you are on 8.1, you need to use the APK extracted from a 8.1 system IMG for the Pixel 2 or Pixel XL 2. As for the file manager, try Amaze, I used it when ES was crashing non-stop.
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
If you are on 8.1, you need to use the APK extracted from a 8.1 system IMG for the Pixel 2 or Pixel XL 2. As for the file manager, try Amaze, I used it when ES was crashing non-stop.
Yeah I was, I used the 8.1 Feb 2018 file you provided here. I'll give that a try next, installing the March security update to try and fix the crashing
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
Yeah I was, I used the 8.1 Feb 2018 file you provided here. I'll give that a try next, installing the March security update to try and fix the crashing
I provided the one for Android P DP1 here, not 8.1. I put the February one in the foreground ROM thread I think though.
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
I provided the one for Android P DP1 here, not 8.1. I put the February one in the foreground ROM thread I think though.
Yeah the one from the foreground thread is the one I used. This might be a dumb question but how did you open the system image from the pixel 2 factory image to get the framework file? I can't open the .img as an archive and it fails to mount on both windows and Mac saying it's a corrupted image (downloaded straight from Google's site)
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
Yeah the one from the foreground thread is the one I used. This might be a dumb question but how did you open the system image from the pixel 2 factory image to get the framework file? I can't open the .img as an archive and it fails to mount on both windows and Mac saying it's a corrupted image (downloaded straight from Google's site)
Honestly it's a pain, I installed Ubuntu via virtual box, and went through a extraction process. https://forum.xda-developers.com/nexus-5x/general/guide-how-to-extract-nexus-factory-image-t3562665
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
Honestly it's a pain, I installed Ubuntu via virtual box, and went through a extraction process. https://forum.xda-developers.com/nexus-5x/general/guide-how-to-extract-nexus-factory-image-t3562665
I went through that link, installed the extractor for Windows and tested it with the March 8.1 for Sailfish. Worked flawlessly. Download the March 8.1 for Walleye, "imgextractor has stopped working" and only extracts about 1/4 of the system img. You weren't kidding it really is a pain
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
I went through that link, installed the extractor for Windows and tested it with the March 8.1 for Sailfish. Worked flawlessly. Download the March 8.1 for Walleye, "imgextractor has stopped working" and only extracts about 1/4 of the system img. You weren't kidding it really is a pain
It doesn't work on windows, needs to be Linux. Try installing it in a virtual machine, only way I was able to get it working.
 

SubjectGinger

Senior Member
Oct 6, 2010
91
20
0
Here's the 8.1 March 2018 apk from Pixel 2 XL
I really appreciate the help, but I have a Pixel 1 (non-xl)

Any chance I could get you to post the March 2018 from the Pixel 2 non-xl?

I've been trying to get this system image extractor to work and even on Linux am running into issues.

Anyways, if not no worries but I'd be very thankful if you could find the time!
 

YTSec

Senior Member
Oct 19, 2016
216
70
0
I really appreciate the help, but I have a Pixel 1 (non-xl)

Any chance I could get you to post the March 2018 from the Pixel 2 non-xl?

I've been trying to get this system image extractor to work and even on Linux am running into issues.

Anyways, if not no worries but I'd be very thankful if you could find the time!
I don't think it's much different honestly, it SHOULD still work the same. The original XL and 2 XL are significantly different and it works fine, I have also used the APK from the normal Pixel 2 on my XL with no issues.
 
  • Like
Reactions: SubjectGinger