How to Get Google Play Services to Work on Your Device
After noticing that many people are struggling to get Google Play Services working, and with several guides already available on the subject, I’ve gathered all the steps you need to follow in a detailed way to get the Google Play Store running on your device.
Step One: Unlock the Bootloader
To unlock the bootloader, follow the Rooting Guide.
You have two options for proceeding:
Option 1: Install Custom Recovery (TWRP)
I will write about it in detail over time.
- Flash a custom recovery (TWRP)
- Use the recovery to flash the Google Play Store file from
- Continue from the registration stage.
Option 2: Root the Device
- Root the device using either this guide
- Install the Google Play Store files through Magisk modules (Magisk is the root manager app).
Step Two: Registering Your Device with Google Play
You have several options for registering your device:
Option 1: Register Normally
I will write about it in detail over time.
Option 2: Fake the Device Signature
- You can fake the device signature. Note that with this method, after a factory reset, you’ll need to fake the signature again.
Important Note:
The device signature is not related to the Google ID you’ve registered. The device signature is stored in the build.prop file and acts as an identifier for your device.
The issue with the first method is that it doesn’t actually register the device; instead, it registers a “key” (GMS + GSF ID), which will change if you reset the device or flash the same version on a different device.
There are several ways to fake the signature. We’ll use a Magisk module for this process.
Requirements:
- A Xiaomi device with Root and Magisk installed
- Android Terminal (e.g., Termux)
Steps to Fake Device Signature Using Magisk Module (Method 1)
Step 1: Install the Magisk Module
- Open Magisk and add a new module named ‘MagiskHide Props Config’.
- Tap the Download icon and then press Install.
- After installation, reboot your device by pressing Reboot.
Step 2: Install a Terminal App
- Install Termux (100MB). You may prefer a smaller terminal app like [this one (0.5MB)].
Step 3: Grant Root Permissions
- Open Termux and type
su
to grant root permissions to the terminal. - Then type
props
and hit Enter. A window will appear as shown in the image below.
Step 4: Edit Device Signature
- In the terminal, select the first option: Edit device fingerprint by typing
1
and pressing Enter.
- Blue: Current device signature
- Green: Select from Google-verified signatures
- Red: Choose option 1 by typing
f
- Select the Manufacturer of the phone, then the Model. It’s recommended to choose a model that supports Android 11 to avoid compatibility issues.
- Select the Android version (Android 11 in this case).
- To save the changes, type
y
and press Enter. The device will reboot to apply the changes.
Step 5: Install Google Services
After the device restarts, you can now install Google Play Services without needing to register the device.
Important Notes:
- With this method, the changes are not saved directly to the original build.prop file. Instead, they are stored in a secondary file that loads with the system via the module we installed.
- If you remove Magisk or the terminal app, the module will continue to work, but if you delete the module from Magisk, the original signature will return.
- If you remove root (e.g., by flashing the original boot partition), the signature will revert back.
If this method doesn’t fully satisfy your needs, proceed to Method 2.
I will analyze it in more detail over time.
Enjoy!