1

I would like to install Google Play Services for AR (ARCore) on my Moto G5 Plus, running Oreo 8.1 - this device is not on the official Google supported list. I believe this is possible with TWRP and Magisk Manager. I have the Android SDK, and all necessary USB drivers installed. I can load .apk's using adb. However, I'd like to install TWRP without unlocking the bootloader or rooting the phone. First question: is this even possible? or do I need to root the phone?

I tried to follow the instructions to install TWRP withOUT rooting, but when I try to flash the latest version of the Potter image, twrp-3.3.1-0-potter.img, I get a 'Preflash validation failed' error:

\android\Sdk\platform-tools> .\fastboot.exe flash recovery twrp.img
(bootloader) is-logical:recovery: not found
Sending 'recovery' (16342 KB)                      OKAY [  0.710s]
Writing 'recovery'                                 (bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote: '')
fastboot: error: Command failed

According to this answer, Moto devices do not support downgrading the bootloader. However, I figured the recovery image (3.3.1-0) was the most updated, and suited for Oreo 8.1. Is there any way to check bootloader versions of the image and that on my phone?

Thanks in advance for any insight!

  • try fastboot oem get_unlock_data androidmtk.com/unlock-bootloader-on-any-motorola-device – alecxs Apr 3 '20 at 9:41
  • Thanks for the tip. My end goal is to install a profile that supports ARCore, and I'd like to do that without unlocking the boot loader if possible, because that will wipe my phone. – cbannerjee Apr 4 '20 at 2:16
  • i am not sure that works without proper hardware support (camera, sensors) however you can't use TWRP or Magisk with locked bootloader. wiping on unlocking is a security feature. you can partially backup apps in cloud, pictures to pc, some apps allow adb backup – alecxs Apr 4 '20 at 9:38
  • from adb uninstall -k you can maybe uninstall apps without deleting app data and install modified apk variant which allows adb backup. but that's another question – alecxs Apr 4 '20 at 9:43
0

Answer: it is not possible without unlocking boot loader. Thank you to @alecxs !

Also for anyone interested, rooting has some side effects: cannot load the Netflix app due to safety net checks. Even with the magisk mod for hiding safety net flags. And ultimately, ARCore still doesn't work, even after I flagged the Pixel 2 "image", and installed Google play services for AR.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.