[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
[MENTION=8447370]grape12[/MENTION] [MENTION=5564650]micjambra[/MENTION] [MENTION=517151]drozek[/MENTION] [MENTION=1788064]stiffmaster[/MENTION]81 Here are the steps for the fix without any use of debugging tools.

To start: The error was priv-app permissions not being granted when flashing the ROM. Not sure why this happened because I clean flashed the december stock update and flashed the ROM using the same instructions from the OP about 5 times before I started digging. When I applied the debugging line to the specified build.prop, the phone booted. I took a log and examined the priv-app permissions that were not present. I pulled the xml file and edited it so the rom would boot

Steps to fix:

1. Go to TWRP

2. Download the privapp-permissions-platform.xml from here: https://github.com/bdashore3/scripts/raw/master/ANDROID/privapp-permissions-platform.xml

3. connect your phone (In TWRP) to the computer

4. type "adb shell"

5. type "mount /system"

6. type "rm -r /system/system/etc/permissions/privapp-permissions-platform.xml" (makes sure old file is removed)

7. exit out of the shell by typing "exit"

8. Check if the file is removed by going in the file manager and navigating to the path in #6

9. Type "adb push **Downloaded privapp-permissions-platform.xml** /system/system/etc/permissions"

10. Open the TWRP file manager and check to see if the file re-appears

11. Reboot system

12. ROM should boot

Commit: https://github.com/bdashore3/scripts/commit/a5c341919cad2ea1b25b1eb9df932e749b3f9673

If phone doesn't boot (i.e permission fixes are good for me only):

1. Boot into Recovery

2. go into an adb shell

3. type "mount /system"

4. type "adb pull /system/system/product/build.prop **Wherever you want it to be pulled**"

5. Open the file and add this line - ro.control_privapp_permissions=log

6. Save the file

7. (optional) go into an adb shell

8. (optional) type rm -r /system/system/product/build.prop and check in file manager if it's removed

9. (optional) exit the adb shell

10. type "adb push **modified build.prop location** /system/system/product"

11. Reboot system

12. Take a logcat until your device boots and post it

Follow this guide to fix the problems: https://source.android.com/devices/tech/config/perms-whitelist

---------- Post added at 08:26 PM ---------- Previous post was at 08:25 PM ----------

[/COLOR [MENTION=8447370]grape12[/MENTION] [MENTION=5564650]micjambra[/MENTION] [MENTION=517151]drozek[/MENTION] [MENTION=1788064]stiffmaster[/MENTION]81 Here are the steps for the fix without any use of debugging tools.

To start: The error was priv-app permissions not being granted when flashing the ROM. Not sure why this happened because I clean flashed the december stock update and flashed the ROM using the same instructions from the OP about 5 times before I started digging. When I applied the debugging line to the specified build.prop, the phone booted. I took a log and examined the priv-app permissions that were not present. I pulled the xml file and edited it so the rom would boot

Steps to fix:

1. Go to TWRP

2. Download the privapp-permissions-platform.xml from here: https://github.com/bdashore3/scripts/raw/master/ANDROID/privapp-permissions-platform.xml

3. connect your phone (In TWRP) to the computer

4. type "adb shell"

5. type "mount /system"

6. type "rm -r /system/system/etc/permissions/privapp-permissions-platform.xml" (makes sure old file is removed)

7. exit out of the shell by typing "exit"

8. Check if the file is removed by going in the file manager and navigating to the path in #6

9. Type "adb push **Downloaded privapp-permissions-platform.xml** /system/system/etc/permissions"

10. Open the TWRP file manager and check to see if the file re-appears

11. Reboot system

12. ROM should boot

If phone doesn't boot (i.e permission fixes are good for me only):

1. Boot into Recovery

2. go into an adb shell

3. type "mount /system"

4. type "adb pull /system/system/product/build.prop **Wherever you want it to be pulled**"

5. Open the file and add this line - ro.control_privapp_permissions=log

6. Save the file

7. (optional) go into an adb shell

8. (optional) type rm -r /system/system/product/build.prop and check in file manager if it's removed

9. (optional) exit the adb shell

10. type "adb push **modified build.prop location** /system/system/product"

11. Reboot system

12. Take a logcat until your device boots and post it

Follow this guide to fix the problems: https://source.android.com/devices/tech/config/perms-whitelist