Nubia X: ROOT, TWRP and GAPPS

Search This thread

Teeemoo

Senior Member
Nov 29, 2018
64
42
ompan.net
Attention: This is a post aimed for Developers only! Check the How-To instead!

Welcome to this progress Thread.
In this thread im going to collect links, thinks I have done at my own and other stuff related to making the Nubia X more useful outside china.

CHECKPOINTS:
  • ROOT ✓
  • UNLOCK BOOTLOADER ✓
  • FLASH Original Recovery ✓
  • GENERATE Tree
  • COMPILE TWRP for Nubia X NX616J
  • FLASH TWRP X
  • FLASH GApps X/✓ (partial working)

LINKS:
TWRP for a new device: forum.xda-developers.com/showthread.php?p=32965365#post32965365 (because nubia x is not officially supported yet, but im working on it).
ROOT Nubia X: bbs.nubia.cn/thread-1396991-1-1.html (The toolkit, as messed up as it looks, works just fine. Close the first window and click root while having an OEM unlocked phone).
ORIGINAL ROM (will upload it on mega because the chinese provider is absolut unusable) <- edit later :good:

What I've done so far is successfully rooting the phone (using the toolkit above), unlocking the bootloader (i guess) with
Code:
fastboot oem nubia_unlock NUBIA_NX616J
where NUBIA_NX616J is the pass.

After running this command you will get the following output:
Code:
(bootloader) START update nubia fastboot unlock flag!!!
(bootloader) set state to 1 ok!!!
OKAY [  0.009s]
Finished. Total time: 0.010s

And after this, you can simply flash using
Code:
fastboot flash <partition> <filename>.img
.
Im currently checking the specs for the device so I can compile a TWRP for it.

Also, you can't flash Gapps right now because TWRP is unavailable as long as I / or someone else don't create a device tree for this phone.
But you can install all GApps apk's (most importantly the Google Service Framework (GSM) apk). After that, just convert the apps
to system apps using Link2SD App. (Search App -> Options -> Convert to System App (or: Include Update to System....).

Actually, I guess I finished the device tree.
Check this one out:
https://mega.nz/#!HiZQkApR!473uATQeZp224i_aka84bYszYlPnlsyo0dDaJp32NZo

If this is the right one, we could successfully compile TWRP for this device! :fingers-crossed:

Alright, I need to change stuff but here's what I have right now:
The phone is a bit tricky when it comes to partitions.
But I've managed to get all the required stuff ready to set up TWRP.
Maybe I'll try the compiled version on my own or I'll force br_other to test it out >:D!



Well check back here later, for updates.
LAST CHECKPOINT: 13.12.2018.
 
Last edited:

br_other

Member
May 24, 2011
33
6
Please note:
If youdo that operation through the tool mentioned in the link above, be careful with the Magisk installed.
Do not upgrade it, because the phone will go into a bootloop (like me :)).
Although you can recover it from that stage, it's pretty annoying, especially if you don't have data backup.
 

Teeemoo

Senior Member
Nov 29, 2018
64
42
ompan.net
Please note:
If youdo that operation through the tool mentioned in the link above, be careful with the Magisk installed.
Do not upgrade it, because the phone will go into a bootloop (like me :)).
Although you can recover it from that stage, it's pretty annoying, especially if you don't have data backup.


Yes, that's right don't do that.
Use Google Translate to translate the Chinese Tutorial (Important, I can't re-upload it because it's not mine!).

And create a backup before doing anything.
It's not that likely to happen that your phone is brick after doing these steps but it might be possible.
Be careful bois.

Another thing to mention:
Don't run any ADB commands mentioned above!
This is not a Tutorial - this is a progress thread for other Developer (and for people interested in rooting their nubia).
 

Teeemoo

Senior Member
Nov 29, 2018
64
42
ompan.net
Maybe for someone interested:
Its working:

Screenshot_2018-12-10-00-33-09-670%5B213%5D.png


:good::)
 

Phonenoob0001

New member
Dec 10, 2018
4
1
Maybe for someone interested:
Its working:

Screenshot_2018-12-10-00-33-09-670%5B213%5D.png


:good::)

Thats awesome! I'm searching everywhere for a rundown on how to do this. I am a novice when it comes to phones but would love to get my nubia x working with google play store. I know this is for developers but is their any guide around to show how this can be done?
 

frankstoy

Member
Dec 11, 2018
10
0
hi all, I'm new here, I'm thinking of buying this Nubia X, but I'm worried that Google Play won't work. Do the main apps, such as Maps, Gmail or Google Play and google play game updates work?
 

jaybien

New member
May 23, 2018
2
0
Download Tool

Hi guys,
is there any Possibility to Download the Root tool, without any failures or additional stuff?

I dont speak any chinese and the given Mirrors are both unusable.
The one from Micro Cloud jus doesnt open and the other one from Baidu Cloud asks me to download the Baidu software, no matter what i click.

Does anyone know how or where to download the tool except from using the Baidu Manager?
 

Teeemoo

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

Sorry - I was too tired to do the tutorial yesterday.
But imma do it now :)!

The phone works perfectly (in the view of a developer) with the Google Apps.
Im looking forward to get TWRP working with that phone when I have more free-time.

Until then, sure, the phone is perfectly usable.
Check back in a few hours, I will create a new thread or update this one.

Cheers :victory:
 

q8falcon

New member
Dec 12, 2018
2
0
Hey Teeemoo

I got my Nubia X today and waiting you because i felt how important is google services once i used the nubia X.

Cheers
 

frankstoy

Member
Dec 11, 2018
10
0
Hey guys,

Sorry - I was too tired to do the tutorial yesterday.
But imma do it now :)!

The phone works perfectly (in the view of a developer) with the Google Apps.
Im looking forward to get TWRP working with that phone when I have more free-time.

Until then, sure, the phone is perfectly usable.
Check back in a few hours, I will create a new thread or update this one.

Cheers :victory:

You are AMAZING!!!!

Thank you, and also, if it's not too much trouble, could you mirror the files somewhere else besides Baidu?

Thanks again
 

Teeemoo

Senior Member
Nov 29, 2018
64
42
ompan.net

nuvocell

Member
Dec 11, 2018
11
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
 

warrio

Senior Member
Sep 21, 2006
201
22
ROME
Xiaomi Mi 11 Ultra
Hi guys,

I need a very big help for my Nubia x.
Today I have updated my Nubia x via otg with new Rom V 2.20. Everything worked very well, but after I have made a big mistake trying to root it but I have completely bricked my phone.

No recovery anymore. It's only possible to connect via EDL with Nubia Emergency tool 1.1.6 but that version it's not yet available for Nubia x.

I ask if someone have some tool or files to get it back in life.

Thank you very much and Merry Christmas
 
Last edited:

Teeemoo

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

I need a very big help for my Nubia x.
Today I have updated my Nubia x via otg with new Rom V 2.20. Everything worked very well, but after I have made a big mistake trying to root it but I have completely bricked my phone.

No recovery anymore. It's only possible to connect via EDL with Nubia Emergency tool 1.1.6 but that version it's not yet available for Nubia x.

I ask if someone have some tool or files to get it back in life.

Thank you very much and Merry Christmas

Hi,
If you have access to fastboot and / or bootloader we can try to flash the original boot and recovery image.

Just send me a PM with details and I'll try to connect via TeamViewer in order to help you.

Cheers
 
  • Like
Reactions: warrio

br_other

Member
May 24, 2011
33
6
HToday I have updated my Nubia x via otg with new Rom V 2.20. Everything worked very well, but after I have made a big mistake trying to root it but I have completely bricked my phone.

I'm curious. Can you please give some more details here?
You said you did update it via OTG? Does it means you did that trough the recovery mode?
Also was the phone rooted before that?

Also as my friend said - check if you can go in recovery and try the fastboot access as well.
Post some update of your progress as well.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Attention: This is a post aimed for Developers only! Check the How-To instead!

    Welcome to this progress Thread.
    In this thread im going to collect links, thinks I have done at my own and other stuff related to making the Nubia X more useful outside china.

    CHECKPOINTS:
    • ROOT ✓
    • UNLOCK BOOTLOADER ✓
    • FLASH Original Recovery ✓
    • GENERATE Tree
    • COMPILE TWRP for Nubia X NX616J
    • FLASH TWRP X
    • FLASH GApps X/✓ (partial working)

    LINKS:
    TWRP for a new device: forum.xda-developers.com/showthread.php?p=32965365#post32965365 (because nubia x is not officially supported yet, but im working on it).
    ROOT Nubia X: bbs.nubia.cn/thread-1396991-1-1.html (The toolkit, as messed up as it looks, works just fine. Close the first window and click root while having an OEM unlocked phone).
    ORIGINAL ROM (will upload it on mega because the chinese provider is absolut unusable) <- edit later :good:

    What I've done so far is successfully rooting the phone (using the toolkit above), unlocking the bootloader (i guess) with
    Code:
    fastboot oem nubia_unlock NUBIA_NX616J
    where NUBIA_NX616J is the pass.

    After running this command you will get the following output:
    Code:
    (bootloader) START update nubia fastboot unlock flag!!!
    (bootloader) set state to 1 ok!!!
    OKAY [  0.009s]
    Finished. Total time: 0.010s

    And after this, you can simply flash using
    Code:
    fastboot flash <partition> <filename>.img
    .
    Im currently checking the specs for the device so I can compile a TWRP for it.

    Also, you can't flash Gapps right now because TWRP is unavailable as long as I / or someone else don't create a device tree for this phone.
    But you can install all GApps apk's (most importantly the Google Service Framework (GSM) apk). After that, just convert the apps
    to system apps using Link2SD App. (Search App -> Options -> Convert to System App (or: Include Update to System....).

    Actually, I guess I finished the device tree.
    Check this one out:
    https://mega.nz/#!HiZQkApR!473uATQeZp224i_aka84bYszYlPnlsyo0dDaJp32NZo

    If this is the right one, we could successfully compile TWRP for this device! :fingers-crossed:

    Alright, I need to change stuff but here's what I have right now:
    The phone is a bit tricky when it comes to partitions.
    But I've managed to get all the required stuff ready to set up TWRP.
    Maybe I'll try the compiled version on my own or I'll force br_other to test it out >:D!



    Well check back here later, for updates.
    LAST CHECKPOINT: 13.12.2018.
    4
    Hey guys,

    Sorry - I was too tired to do the tutorial yesterday.
    But imma do it now :)!

    The phone works perfectly (in the view of a developer) with the Google Apps.
    Im looking forward to get TWRP working with that phone when I have more free-time.

    Until then, sure, the phone is perfectly usable.
    Check back in a few hours, I will create a new thread or update this one.

    Cheers :victory:
    2
    Please note:
    If youdo that operation through the tool mentioned in the link above, be careful with the Magisk installed.
    Do not upgrade it, because the phone will go into a bootloop (like me :)).
    Although you can recover it from that stage, it's pretty annoying, especially if you don't have data backup.
    2
    Please note:
    If youdo that operation through the tool mentioned in the link above, be careful with the Magisk installed.
    Do not upgrade it, because the phone will go into a bootloop (like me :)).
    Although you can recover it from that stage, it's pretty annoying, especially if you don't have data backup.


    Yes, that's right don't do that.
    Use Google Translate to translate the Chinese Tutorial (Important, I can't re-upload it because it's not mine!).

    And create a backup before doing anything.
    It's not that likely to happen that your phone is brick after doing these steps but it might be possible.
    Be careful bois.

    Another thing to mention:
    Don't run any ADB commands mentioned above!
    This is not a Tutorial - this is a progress thread for other Developer (and for people interested in rooting their nubia).
    2
    Maybe for someone interested:
    Its working:

    Screenshot_2018-12-10-00-33-09-670%5B213%5D.png


    :good::)