[General Topics] guiguiguigui:
This is intended to be a guide on how to root and add play store to a Qin F21 PRO with a MTK6761 processor and 4GB/64GB. The phone I bought came with android 11 and firmware version 1.0.3 (I was dumb enough to not buy the cracked version). I will come back to this to improve the guide as I have more time, but wanted to share some broad strokes here as a way to thank all of you for the help I got from this forum, from 4pda and from various devs that did great work with tools and modules I used.

-------------------------

DISCLAIMER: I have no f****** idea of what I'm doing. My experience with Android rooting is only 2 days (REALLY!), so take this into consideration and proceed with caution.

-------------------------

I'm running a MAC (Big Sur 11.6), so I can't say for the validity of these steps on other OS, but Linux should be quite similar, and Windows too given that all tools have versions for them.

-------------------------

REQUIREMENTS

A factory reset Qin f21 pro on firmware 1.0.3 — Can't say that I recommend doing this without wiping it clean, but you could try

Python 3.9+ — I used homebrew to install (Python 3.9.12), but google is your friend here

MTK client — I used this tool to flash magisk patched boot image and to revert my bricked phone

Android Debug Bridge (adb) — I installed android-platform-tools via homebrew, but you probably already have this

Magisk 24.2 — would probably work with 24.3 but again, I DON'T KNOW WHAT I AM DOING

Android Developer options enabled and USB debugging enabled — if this is what stops you, big red flag

A Brain — goes without saying, things will go wrong and you will probably have to be creative

Magisk modules I used

MagiskHide Props Config — used to "pass as" a OnePlus N10 on google's eyes

Magisk Gapps Core — this is what installs google play store and services

Universal SafetyNet Fix (ended up not using because had to disable Zygisk, but it's worth knowing about it)

-------------------------

WHAT YOU WILL PROBABLY GET IF THINGS GO RIGHT

Rooted ROM

Play store

Happiness (this one is tricky though)

-------------------------

1. Install everything you need on you machine

Go to MTK client github page and follow the instructions to install it on your machine, do the same for android debug bridge. Downlaod Magisk apk and the modules from the links above too.

2. Backup your phone

First, we are going to backup the current state of the phone. CD into the MTK client folder and with your phone OFF and disconnected from the USB run this command

python3 mtk_gui

This will open a GUI and prompt you to connect your phone. You should hold the OWL and RETURN keys on the keyboard while connecting it to the USB. The app will now detect your phone and do its magic.

View attachment 5578155View attachment 5578153

Now that your phone is connected you should be able to dump all the partitions you need to recover it if things go wrong. I did it by selecting all partitions except "userdata" and then clicked "Read partitions". It should take a while, and when it's done you should see various .bin files for all partitions saved somewhere in your computer. Make sure you keep them safe. You can also read the readme from MTKClient on other ways to back your phone (specially for what the "Flash tools" tab is supposed to mean, but this is what worked for me).

Tip: Make sure you don't move the usb cable too much, as I noticed this may cause it to disconnect mid-way and you will need to try again.

View attachment 5578157

3. PUSH THE ZIPS TO YOUR PHONE DOWNLOADS FOLDER

With that out of the way, grab all the zips and move them to your phone.

Open your terminal tool on your computer, cd to where you downloaded Magisk.apk and the 3 modules, and push the files to your phone via ADB USB with this command

adb push /path/to/magsik.apk /sdcard/Download

adb push /path/to/module.zip /sdcard/Download

You should have all files now on your Downloads folder — you can check by using the native files app.

4. PUSH A BOOT.img TO YOUR PHONE DOWNLOADS FOLDER

Make a copy of the boot_a.bin you just dumped, rename it to boot.img, and push it to your Downloads folder (we will use magisk on it to patch and root your device).

adb push path/to/boot.img /sdcard/Download

5. INSTALL MAGISK AND PATCH THE BOOT.IMG

Now, on your phone, go to the Downloads folder and install magisk by clicking the apk, go through all the steps to get it running.

Open the magisk app and on the first card click the install button. On the next screen select the method "Select and patch a file". Magisk will ask you to find the boot.img file. Now you just have to wait for it to finish patching the img.

On the log you will see that Magisk has a path to where it saved the patched img. On your computer run

adb pull path/to/magisk/patched/boot.img

This will move the patched boot to your computer which will be helpful in the next step.

6. UNLOCK AND ROOT PHONE

Before we do this, we will need to create an empty vbmeta bin file. On a mac you can do this on your terminal by running

touch vbmeta.bin

Now, turn off your phone and disconnect from USB, run this command, and then connect the phone to the USB clicking the buttons from step 2 (this is needed everytime you connect to mtk client, so I won't repeat going forward).

python3 mtk da seccfg unlock

Then, after you unlock it, reset the phone by running

python3 mtk reset

Now run

python3 mtk_gui

With the phone connected to the MTK Client GUI, you will go to the "write partitions" tab:

Find boot_a and set it to the patched boot bin file magisk generated

Find vbmeta_a and set it to the empty vbmeta.bin file you create

Click "write partitions" and wait for it to do its thing.

python3 mtk reset

You should now be able to disconnect from USB, start your phone and see "orange state" message on top of the duoqin logo on boot.

Note about partitions: I have little understanding of how the partitions structure are supposed to work on android 11 with MTK processor, but that being said, I had to touch these partitions along the way: seccfg, boot_a, vbmeta_a, vbmeta_b, and super (these last 2, because I bricked my phone). Proceed with caution when writing to them, and with even more caution when writing to other partitions.

7. HIDE MAGISK AND DISABLE ZYGISK (BETA)

Open magisk and hide it by going to settings and click "Hide the Magisk app" — I called mine Houdini, but you can call it whatever you want.

Also, make sure you disable Zygisk on the settings (Reboot if needed).

8. Install MagiskHide Props config

Open magisk again, go to the modules tab and click "install from storage". Find the MagiskHide props config .zip file and install it. Reboot the device.

Now, on your computer, and with USB debugging connected, run:

adb shell

This will give you access to your phones shell. Make sure you have internet access on your phone, you can then run:

props

(su might be needed here, if so, you can allow it via magisk superuser tab)

Follow the steps from the tool to get your phone fingerprint to be OnePlus N10 5G Global BE2026. This means you will need to navigate the tool on menu options 1 and 2 to do this. Menu option 4 is defined as active by default. You will probably have to reboot a few of times along the way. Just follow what the tool says and check its docs if needed.

Docs: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf

Here is what I have:

View attachment 5578165

9. Install Magisk GApps Core and hope for the best

Open magisk again, go to the modules folder and click "install from storage". Find the magisk gapps core.zip module and install it. Reboot. That's it.

View attachment 5578181View attachment 5578553

Tip: If play store keeps crashing try clearing its cache and storage by going to settings > apps > play store and clear storage

If it doesn't work, play around a bit, try different settings, maybe install Universal SafetyNet Fix, add google play store and services to Magisk's denylist and enable Zygisk, google stuff, poke around. What I described above is what worked for me.