Suicide-Squirrel / issues_pie

LG G4 stuff has been completely moved here: https://github.com/LGgFour
8 stars 0 forks source link

h815, h815 UsU, H811 - build 2019-07-10 only: google play on clean install fails #23

Closed steadfasterX closed 5 years ago

steadfasterX commented 5 years ago

When you install openGapps and starting Google Play the first time you might see an error like

"Error communicating with Google servers, please try again later".

without a way to login or going on or (when coming from a full clean flash) you might not be abe to complete the google first boot wizard.

This issue is due to the fact we enforcing now and .. I missed a little policy here. :p

This affects the mentioned models only as those were build already before I fixed that.

But the following is a workaround until I can re-build for those:

Option 1: after a factory reset / full clean flash

  1. install LOS - do NOT install opengapps
  2. boot LOS and finish the wizard
  3. reboot to TWRP
  4. flash opengapps & boot to LOS
  5. follow the next topic "after a regular clean flash"

Option 2: after a regular clean flash

  1. enable "Developer Options" and open it
  2. Set "Root Access" -> "ADB only"
  3. Enable USB debugging & connect your PC
  4. you will get prompted to allow your PC (confirm that)
  5. in Settings -> Apps : disable "google play store" and "force stop" it
  6. in storage: clear storage and cache
  7. (no reboot)
  8. execute: adb root
  9. execute: adb shell "setenforce permissive"
  10. in Settings -> Apps : enable "google play store"
  11. start play store & login (that should work now)

The above is needed only once when logging in the first time. You can now safely reboot and being enforced again while play store will work as before.

steadfasterX commented 5 years ago

fixed by: https://github.com/Suicide-Squirrel/android_device_lge_g4-common/commit/fa10f2d0f5ef5222d8c1b44296cddeef3d7c21b0 https://github.com/Suicide-Squirrel/android_device_lge_g4-common/commit/19f780593a3866986b23ae4609c1b25306f51fcf

issue will be closed, the above 3 models will get a new build once the current jenkins run has finished.

ogunbaysal commented 5 years ago

i did the fixes you said above for this error. But now, when i want to update open-gapps on google play, phone make soft-reboot for each of apps. Can you add this solution to a new update.

steadfasterX commented 5 years ago

i did the fixes you said above for this error. But now, when i want to update open-gapps on google play, phone make soft-reboot for each of apps. Can you add this solution to a new update.

if you provide the logs..

https://forum.xda-developers.com/showpost.php?p=79882096&postcount=378