[ZTE Nubia X Questions & Answers] rcsj:
Install Rom Stock 3.18 with Gapps support (google apps), (Possibly works for rons 3.05 and 3.11).

Any and all software changes are the responsibility of the user. If you have doubts or little knowledge about these resources don't do it!

I am not responsible for problems or defects when using this tutorial

Make sure you have 100% battery

We will need a pendrive and an OTG.

The files for the pendrive are in the “Pendrive + Roms” folder (the update can be removed if it is not used, eg if you are going to install rom 3.18, you can remove the file from rom 3.05 plus the file from rom 3.11).

The complete folder with the necessary files (vbmetaDISABLE, recoveryTWRP.img ...) and ADB commands is: “ADB Nubia-X folder”, this folder must be saved on the computer for ADB commands.

The ABD commands will basically be:

• fastboot oem nubia_unlock NUBIA_NX616J

• fastboot flash recovery recoveryTWRP.img

• fastboot flash vbmeta vbmetaDISABLED.img

• fastboot reboot

Files on the virtual drive, link:

•	https://drive.google.com/drive/folders/15Nzaxe_94Z3LwpCX6WP51SIi1UCAxbec?usp=sharing

•	https://encurtador.com.br/zQSW0

Link

Link 2

First we must understand that with the roms in hand, ZTE NUBIA website: Link Nubia, there is a process for the correct update. Example: if we are in rom 3.05 and we want to update to 3.11 or 3.18 using the original recovery, only the OTG (rom on pendrive) will always show an error in the 25% update, so for the correct update you need to downgrade and so the phone is enabled to update later. More precisely, let's say that we are at rom 3.05 and we intend to upgrade to rom 3.18 in view of this we must follow the following steps: 3.05> downgrade to 2.11 <upgrade to 3.18, remembering that it is not necessary to initialize the device between the firmware installations.

(all necessary files are on the virtual drive)

First of all to be able to start with the updates we need to have recovery stock on the device. If you are currently with TWRP you can go to the TWRP menu at: "Advanced" / "Glass Tools" / "Stock Recovery" and drag the bar to the side that will return ´for stock Recovery, if you are in Stock just follow the steps :

Restart the device with Vol + pressed to open the Recovery menu.

The menus are navigated using the Vol + keys; Vol-; and Power as the enter button.

Clear the cache and data: English / Wipe Data / Userdata Partition + Cahe Partition (back up the data previously).

Navigate in the menu: Choose Update Package, here already with the appropriate files on the USB stick, select the firmware “NX616J-update-2.11.zip”.

After updating, it will restart automatically, then press and hold the “Vol +” button and when the menu appears, navigate to: Choose Update Package and select the firmware “NX616J-update-3.18.zip”.

After updating 100% it will restart again, press and hold the “Vol-” button and this time we will enter “Fastboot menu”.

The commands via ADB (See ADB tutorial here on XDA), will be as follows:

6.1 fastboot oem nubia_unlock NUBIA_NX616J (to unlock the bootloader)

6.2.	fastboot flash vbmeta vbmetaDISABLED.img (avoid partial brick)

6.3.	fastboot flash recovery recoveryTWRP.img (implement TWRP recovery)

After the fastboot commands, we will navigate with the Vol + / Vol- buttons to the “Reboot to recovery mode” option or restart the device with the “Vol +” button pressed.

On the recovery screen select the option “Install” / sub menu “Select Storage” / “USB-OTG” / “Magisk-v20.4.zip” (I repeated this process 2 times)

Now switch on the device normally and make the first and basic necessary settings. Note: if the message appears that the device is corrupt, do not panic. Restart the device with “Vol-” pressed and follow steps “6.1 and 6.2”, and continue the procedures.

After everything is ok check if the “Magisk Manager” is showing on the screen, if ok skip to step “11”. And if not, repeat step “8”. (If the original recovery is restored, repeat step “6”); If a corrupt device appears (partial brick), restart the device with the “Vol-” button pressed and follow steps “6.1 and 6.2”, and continue with step “8”.

Device restarted and with Magisk on the screen we must install the apk: “GoogleLoginService.apk” by the file explorer.

Now again we restart the device in Recovery Mode (“Power” + “Vol +”) and follow the steps: “Install” / sub menu “Select Storage” / “USB-OTG” / “open_gapps-arm64-9.0-pico- 20200403 ”and the pico gapps will be installed (use the pico because I was successful with google services).

Now we restart the device and we will see the “PlayStore” icon but it still doesn't work. So let's install the apps: “microg_YouTube_Vanced_0.2.6.17455_28052019.apk” (MicroG) + “com.google.android.gm_2020.05.17.313130477.apk” (Gmail).

With the applications installed, we start the Gmail app and make the login settings. Upon completion, the “PlayStore” will function normally.

Optional applications: AuroraStore_3.2.8.apk; Solid-Explorer-v2.8.0-Arm64-www.ReXdl.com.apk; Split APKs Installer SAI_v3.12_apkpure.com.apk; YouTube_Vanced-v15.05.54-nonroot-default-dark.apks (YouTube_Vanced is installed by the “SAI” App).

This was the step by step that I did to make the google apps work without problems, I did it twice exactly as described and both times everything went well. The GPS bug does not exist and the Waze app works perfectly, google apps work very well, except google drive when using a .edu account, but with personal accounts they work 100%.