[HOW-TO][WORKAROUND] Use GApps on the Nubia X

Teeemoo

Senior Member
Nov 29, 2018
64
42
28
ompan.net
Guys, please check your phone version before downloading the toolkit - dont use 2.19 toolkit on 2.21 phone-version! I don't know why everyone is killing their phone right now! This is not an easy-to-do tutorial! It requires time and at least a bit knowledge. Please read this carefully - use google for the most important words and start after understanding everything! I won't help via PM when you 'bricked' your phone!

Welcome to the WIP Tutorial "How to use GApps on the Nubia X"!
Keep in mind this is a workaround and should not be the official way in how to do it! Im not taking any responsibility if anything goes horribly wrong :eek:

Understood? Let's go then!

STEP 1 - Preparation
We need to prepare the phone now.
Note: This is mandatory for the rest to work

  • Unlock the Developer options by going to Settings ►About phone ►Rapidly tapping on the "Build number" field until the phone returns "You are an developer".
  • Go to Settings ► Other system settings ►Developer options - and change the state of "OEM Unlocking" to ON.
  • Again in Settings ► Other system settings ►Developer options enable "USB Debugging"
  • Now, you need to prepare your PC (in short: install adb). Please Google this on your own ("How to install adb on {your OS}").

Alright, we are done with the phone for now.
Let's go to the downloads!

STEP 2 - Downloads

Great job so far.
Now, we can start doing dev-things ;)!

STEP 3 - Let the magic happen! (ROOT)
Note: this is the part where we change system files. Please continue at your own risk! If you don't know what a root is you should better not do that.
Note: I don't own this toolkit. The source is linked above. I would recommend translating the original page source and reading throgh it. Source

Alrighty then? Damn, ur edgy.

  • Plug in your phone and wait until it gets recognized by your OS.
  • Extract the "nubia-root.zip", go into nubia-Root ► nubia-X, and run the "nubia-X_Root-V211.exe" with admin priv.
  • We don't understand nothing, because it is a chinese source... But according to the original thread, close (X) the first window that appears.
  • You will now see a window with "(Random text) ROOT"-Button on the right. After you click it, you'll get a log output of what your phone is doing via ADB.
  • Finished? You will see "Success" at the bottom including some weird characters. Lmao #chineseprograms.

What happened right now?
Well your phone is rooted. The program archived this by flashing a partition on your phone with adb.
First, it unlocked it (see my dev thread for more infos) and after that it flashed the bootimage. In short.

Now boot back into your phone and continue your journey!

STEP 4 - Installing apks on the phone
Remember all these apk's you have downloaded before?
We are going to use them now.

  • Make sure your phone is still plugged in. We are using 'adb' now so open up a command-prompt / powershell / bash.
  • The syntax is the following: "adb install NameOfTheFile.apk" - do this with every downloaded apk. Example: "adb install /home/user/link2sd.apk".

STEP 5 - Install GApps
Now the fun part.
We are going to install the required Google Apps as a normal user.
IMPORTANT: Don't run any of the Google Apps after you see them on your phone. I know you are hyped but its not time to do this right now.

  • Run the App called "谷歌安装器" (or the app with a playstore-like symbol). You will see a screen with chinese text and a blue button.
  • Click the blue button - the app will now download every GApp you need. After every download you will be prompted to install the app - confirm this and deny any Nubia tips for "hey you can download a newer app". Just install it like a normal app.
  • If you encounter the "unknown source"-error, follow the instructions on the device (or google "how to enable install apps from unknown sources").

Thats it! Wohoo.
Well no.
Please restart your phone, before continue!

STEP 6 - Make GApps powerful (using Link2SD)
Well I didn't found a better way as making the GApps System right now.
Because we don't have access to TWRP (right now ;D), this is the way to go.

I assume you have Link2SD installed (if not, go to Step 4 and install Link2SD!).

  • Open up Link2SD and click on the three dots located in the upper right hand corner.
  • Click "Search" and type in "Google". You will see a bunch of applications there but we only care about some of them.
  • We will use the following procedure: Click on the searchresult ► Click on the three dots ► "Convert to system app" ► Confirm. (It might be called somewhat with "system" in it, if you dont find it).
  • Do this procedure with the following apps: "Google Service Framework", "Google Play Store", "Google Play Service", "Google Contacts Sync", "Google Calendar Sync" and "Google Account Manager".
  • Done? Restart your device again. (You can do that by clicking on the side-menu of Link2SD ► Reboot ► Reboot.

Step 7 - Enjoy!
Well, you are an official hacker now... Well not really.
But you did something which is not that easy.

If you want to learn more or if you have any questions left contact me on discord (My ID: Captain Teemo#9394).

And if you are happy with the result, consider my time writing this for you and drop me a coffee: https://paypal.me/THeckel - your awesome!

Thanks for reading and enjoy your nubia - as you want!
 
Last edited:

br_other

Member
May 24, 2011
33
6
0
@Teeemoo, most of the people will do that for first time. It will be good to include:

BE SURE THAT THE PHONE VERSION MATCHES THE VERSION OF THE SOFTWARE!
The described process up it's only of v2.11. For v2.19 and up you need the corresponding tool.
If you ignore that, you risk to soft brick your phone.

1. Magisk and Xposit will be loaded on the phone - do not play at any cost with them (upgrade or stuff). That will put your phone on a boot loop. I know it form personal experience. To fix that it's a bit tricky.
2. When you start the root - be sure that your phone is unlocked. Watch it when it ask permissions.
3. Moving apps with Link2SD can be tricky as well. The app will be moved to /system partition and it's limited. Also if you promote and demote app, doesn't mean that you'll get the same space on /system again. There is option to do that, but need some expertise level.
4. Abut when the GApps to be set at system - after the reboot or before it - I'm not that sure. For me was working the option only after the root. For that reason, preload the Link2SD in advance.
5. v2.19 root reports a virus inside. If you're afraid to open it, then use a sandbox for that purpose (shade sandbox is pretty ok for that purpose).
 
Last edited:

nuvocell

Member
Dec 11, 2018
11
0
0
root issues

Hi
thank you to make a tutorial about rooting the phone :) i did everything you said in step 1 and 2 but iv'e had a issues with the reboot this is the picture of my phone right now :( do i need to reinstall the factory firmware ? thank you in advance

Hugo


---------- Post added at 11:10 PM ---------- Previous post was at 11:00 PM ----------

I tried flashing the new software for google play service and i got an error
your device is corrupt
I followed the steps to the tutorial and failed anyone can help me reload oem software on the phone thanks
 

Teeemoo

Senior Member
Nov 29, 2018
64
42
28
ompan.net
Hi
thank you to make a tutorial about rooting the phone :) i did everything you said in step 1 and 2 but iv'e had a issues with the reboot this is the picture of my phone right now :( do i need to reinstall the factory firmware ? thank you in advance

Hugo


---------- Post added at 11:10 PM ---------- Previous post was at 11:00 PM ----------

I tried flashing the new software for google play service and i got an error
your device is corrupt
I followed the steps to the tutorial and failed anyone can help me reload oem software on the phone thanks
Hey hugo, did you update the phone before doing the tutorial?
The picture is not loading, btw. You might upload it to an image uploader and send the link here.

Here you can download the official rom
 

q8falcon

New member
Dec 12, 2018
2
0
0
Hey,

I did everything but at the end when i open the play store i just got an endless loading !!

Pls help <3

---------- Post added at 11:51 PM ---------- Previous post was at 11:45 PM ----------

Hey,

I did everything but at the end when i open the play store i just got an endless loading !!

Pls help <3
Solved : passed "Google play services" in "Link2SD" by mistake.

Thanks for the great job :good::good::good:
 

nuvocell

Member
Dec 11, 2018
11
0
0
Thanks for the quick reply , i did not have an update to do on the phone, i used the chinese software to root first like mentionned in the tutporial , then phone went into device corrupted ,
now im trying to install the oem firmware on the phone im trying with smart flash tool , but in the nx616j update file has no map.txt file
what can i do to reload oem software on the phone?
 

br_other

Member
May 24, 2011
33
6
0
There are 2 versions for the software.
One of them has a single button on the right side with strange symbols and "root" in between.
The other one has 2 buttons - one is with "root" and the other "fastboot" in between.
If your phone is in boot-loop and before you do something stupid hard-core.
Reboot the phone in fastboot - long hold power, then when restarts - volume down + power.
You may need few restarts before stabilize it in fastboot.
Then use that second software and press the button which has label "fastboot" in the text.
Restart and you have to be ok :)
 
  • Like
Reactions: christis

nuvocell

Member
Dec 11, 2018
11
0
0
Simple fix.
Do what I told you. Read my pervious post.
I read but it's not so clear you mentioned something like 2 programs witch program are you referring too?. Also if you saw my picture I think the software must been reinstalled. I normally works with Samsung and having all the software to fix it but Nubia it's something new for me . Thank you very much for your help. :)
 

Teeemoo

Senior Member
Nov 29, 2018
64
42
28
ompan.net
Br_other refers to the original Chinese link (see the tutorial there is the link somewhere).

The new tool includes a fastboot option.
Try to get the new download, otherwise I will reupload it later.

Otherwise:
Your bootloader is unlocked and a wrong bootimage was flashed.
So basically to repair you need to get into fastboot or recovery by pressing (phone must be off) volume down or up with the power button simultaneously.

If this still works you can download the official firmware, extract the boot.img out there and reflash it with ADB.

Basically adb flash boot boot.img
 

jericosb

New member
Dec 14, 2018
2
0
0
Hello. Thanks so much for the tutorial.

I have finished all the steps, however when I open playstore, stuck at "checking info" status. What could have I done Wong? Or missed any.


Thanks
 
Last edited:

nuvocell

Member
Dec 11, 2018
11
0
0
phone is brick now

Hi guys

let me explain you whats going on with my phone ... But first i would like to thanks @Teeemoo and @br_other they've helping me a lot with my rooting issues but since then my phone is in boot loop mode and i can't use anymore:( I read everywhere on the net to found a solution but it's seems to not having anything works!!!! To do a short story my phone was working fine with the chinese rom but was useless without google play services. i was waiting every day for a root or global rom to flashed. Last week i receive a OTA software update version 2.19 so i did the update. 2 days ago i saw a post with all the instructions to root the phone and install the google framework with working apps in the main pages, not like the stupid sand box that was terrible to use. I followed the instruction and root the phone . After the root complete the phone reboot in bootloop mode and with no way to recovery my original software. I've posted my issues in this forum and get help from 2 member mentioned above. They told me to found the other root file with fastboot recovery it was really hard to found because the link is not active anymore but i finally found and install. I've put my phone in fast boot mode and try to recovery but i always had the same error message see the pictures attached. I decide to do more researched on the net and i found a way to install the boot loader IMG using ADB command . I try to install but i realize by making some test that my bootloader is not unlocked so i'm not able to install the image . I d'ont know what can i do now but i think i will throw my phone out the windows .......


sorry for my english is not my primary language :)
 

Attachments

Last edited:

Teeemoo

Senior Member
Nov 29, 2018
64
42
28
ompan.net
Hi guys

let me explain you whats going on with my phone ... But first i would like to thanks @Teeemoo and @br-other they've helping me a lot with my rooting issues but since then my phone is in boot loop mode and i can't use anymore:( I read everywhere on the net to found a solution but it's seems to not having anything works!!!! To do a short story my phone was working fine with the chinese rom but was useless without google play services. i was waiting every day for a root or global rom to flashed. Last week i receive a OTA software update version 2.19 so i did the update. 2 days ago i saw a post with all the instructions to root the phone and install the google framework with working apps in the main pages, not like the stupid sand box that was terrible to use. I followed the instruction and root the phone . After the root complete the phone reboot in bootloop mode and with no way to recovery my original software. I've posted my issues in this forum and get help from 2 member mentioned above. They told me to found the other root file with fastboot recovery it was really hard to found because the link is not active anymore but i finally found and install. I've put my phone in fast boot mode and try to recovery but i always had the same error message see the pictures attached. I decide to do more researched on the net and i found a way to install the boot loader IMG using ADB command . I try to install but i realize by making some test that my bootloader is not unlocked so i'm not able to install the image . I d'ont know what can i do now but i think i will throw my phone out the windows .......


sorry for my english is not my primary language :)
Try this via ADB:
Code:
fastboot oem nubia_unlock NUBIA_NX616J
and then
Code:
fastboot flash boot boot.img
 

nuvocell

Member
Dec 11, 2018
11
0
0
Because you need to replace the 'boot.img' part with the location of ur boot.img file.
If you don't have the boot image, tell me and I will extract it for you.

Cheers
let me explain you what i did . i download the oem firmware and extract it then i took the boot image file and copy to the C drive and replace the name by recovery.img. is that is correct ?