Google released the Android Q beta 1 back in March and beta 2 now in april. Moto G5 Plus has community treble support with the help of which we can install GSI of android Q beta on G5 Plus. This GSI has been made by erfan as a port from Pixel device which is receiving Android Q beta along with other pixel series smart phones.

Considering the fact that Android Q is still in beta stage, you are not going to have a great and perfect experience while using it but you can still taste the flavor of Android Q before everyone else does. Things like WiFi , RIL , Camera are working pretty well. Motorola fingerprint gestures works here , you need to flash a custom treble kernel like Optimus, Extended or Immensity for Moto fingerprint to work. I have personally tested this on my Indian variant of G5 Plus which has 4GB Ram, so I didn't face much problem while running it. Experience of users having 2GB RAM models may vary.

VoLTE Works :p


The first thing I want to tell you is that it is going to be a little bit of long process to setup this GSI and get everything running perfectly. This GSI itself is made with a lot of hacks and Android Q is still in beta stage. I will try to explain everything simple as much as I can, but I hope you know the basics of installing a GSI.

Requirements

1. Patience, You really need this while setting up Q on G5 Plus.

Downloads

1. Pixel GSI (Extract the img inside it)
2. Pie Vendor New (Link Updated with new working vendor) .
Its a TWRP backup, extract it and place it in TWRP/BACKUPS/*deviceid*/HERE
3. Google Play service apk (Rename as gms.apk after downloading)
4. Device ID apk (Rename as id.apk after downloading).
5. Latest TWRP
6. Magisk-Q , FixZygote and GSI-Fuxes Zip.

There are two parts of this installation process now, first is flashing the GSI and second is setting up google crap.

PART 1

How to flash -

• Extract the GSI and you will get a img file out of it. Extract the Pie Vendor and place it at right place as I told in downloads section.
• Make sure you are already on Latest TWRP which supports both treble and non treble roms.
  • 1. Boot into TWRP , click on restore and you will see the pie vendor backup folder (if you extracted and placed the files at correct location) .
  • 2. Tap on the Pie vendor backup and restore the boot and vendor.
  • 3. Now go back and tap on Install and go to the folder where you extracted the img, after going there tap on the Install Image button given in bottom right, select the Pixel Q img then choose system image and swipe to flash it.
  • 4. Now flash the GSI-Fuxes zip.
  • 5. Flash the FixZygote zip.
  • 6. Flash the magisk 19 zip.
  • 7. Reboot and wait until you reach homescreen.
  • 8. Reboot to recovery again.
  • 9. Flash the GSI-Fuxes Zip again and reboot.

Now you have reached homescreen , now next thing is to install google play services and get rid of the notification showing up in notification panel.
First we need to turn off the scoped storage, without this you will not see anything in any file manager except the default file manager which crashes until we fix it.

Fix Scoped Storage -
1. Open Terminal Emulator.
2. Type su and grant root permission.
3. Type sm set-isolated-storage off and press enter, your phone will restart after this command.

Installing Google Play Services -
1. We fixed scoped storage now we can use FX file manager to install our gms.apk
2. Just open FX file explorer and install the gms.apk like a normal app.
3. After installing gms you really want to turn on your Do Not Disturb mode. :p

Device is not play protect certified -
1. Install the device ID apk.
2. Open it and copy the Google service framework ID.
3. Now go to Android Device Registration page , login with your google account and enter the GSF ID you copied earlier and click register.
4. Wait for 5 minutes , clear data to google play service and google play store.
5. Now you can login to your google account and turn off the Do Not Disturb Mode.

Set your Google Phone app as default Phone app, otherwise you won't see caller screen.


Bugs

• Data connection is unreliable, it turn on sometimes and sometimes it takes some reboots to work.
• Magisk Manager force closes, you can still grant root permissions to apps.
• It won't pass safetynet.
• Some apps might not work due to compatibility issues and the restrictions imposed by Android Q.
• There maybe other issues.

Credits -

Me, that is Shivvvvv for fixing the hotspot issue and making it less painful to install.
Vache, for the Pie vendor.
Erfan Abdi - The man behind pixel GSI, thanks to him.

Want to ask any question ? Join our Android Q group on Telegram @TheSpAndroid