How To Guide [GUIDE][HowTo] Unlock and root Nothing Phone (1)

Search This thread

dreas74

Senior Member
Dec 24, 2010
110
62
Nothing Phone 1
Thanks for the guide. Now i have open bootloader and root with magisk.

But there is one problem. there are some apps that I would like to delete.
As example the Youtube app. I would delete the app to have the possibility to reinstall the vanced version. But every try to delete such apps with app remover or mixplorer failed.

What should I do to remove such apps?
 

riccardorossi64

Senior Member
Jan 13, 2017
148
38
Florence ITALY
Ciao,

I successfully upgrade to 1.5 (losting my Root)

I wanted to complete returning Root, so in Magisk I create a patch IMG of boot and I flashed it with:

fastboot boot MGSK.img ...but...

Soft brick!

My PC recognized the NP1 with:

fastboot devices

then

fastboot reboot bootloader

then

fastboot boot boot.img (the basic boot, not the Magisk one)

and...

It boot regularly, BUT...

if I try to RESTART my device it doesn’t start and goes to bootloop with NP1 Logo + NP1 horizontal red and white line, black screen and then reboot, reboot...

Please... How can I solve this?

Thanks so much
 

xtcislove

Senior Member
Jan 17, 2010
1,377
284
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Ciao,

I successfully upgrade to 1.5 (losting my Root)

I wanted to complete returning Root, so in Magisk I create a patch IMG of boot and I flashed it with:

fastboot boot MGSK.img ...but...

Soft brick!

My PC recognized the NP1 with:

fastboot devices

then

fastboot reboot bootloader

then

fastboot boot boot.img (the basic boot, not the Magisk one)

and...

It boot regularly, BUT...

if I try to RESTART my device it doesn’t start and goes to bootloop with NP1 Logo + NP1 horizontal red and white line, black screen and then reboot, reboot...

Please... How can I solve this?

Thanks so much
I would try to FLASH the "basic" boot image and try to root it afterwards.
 
  • Like
Reactions: riccardorossi64

xtcislove

Senior Member
Jan 17, 2010
1,377
284
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
I flashed with "fastboot boot boot.img" the basic image, but if I restart the NP1 it bootloops
"fastboot boot boot.img" = boot only, which means it does NOT persist after reboot
"fastboot flash boot boot.img" = flash the boot image.

I usually root like this:

Boot normal
Install Magisk APK
Extract stock boot.img from payload
Patch boot.img with magisk
reboot bootloader and BOOT the patched image "fastboot boot boot.img"
Open Magisk (dont restart) and direct install magisk
 
  • Like
Reactions: riccardorossi64

riccardorossi64

Senior Member
Jan 13, 2017
148
38
Florence ITALY
"fastboot boot boot.img" = boot only, which means it does NOT persist after reboot
"fastboot flash boot boot.img" = flash the boot image.

I usually root like this:

Boot normal
Install Magisk APK
Extract stock boot.img from payload
Patch boot.img with magisk
reboot bootloader and BOOT the patched image "fastboot boot boot.img"
Open Magisk (dont restart) and direct install magisk
Thank You, but I read that is "brickable" to flash with "fastboot flash boot magiskboot.img"
 

xtcislove

Senior Member
Jan 17, 2010
1,377
284
Gummersbach
OnePlus 8 Pro
OnePlus 9 Pro
Thank You, but I read that is "brickable" to flash with "fastboot flash boot magiskboot.img"
You are already in a soft-brick.
But if the boot.img you boot with "fastboot boot boot.img" it will work with "fastboot flash boot boot.img" too.

You messed up your boot.img somewhere and flashed it to your device. You need to flash a working one.
 
  • Like
Reactions: riccardorossi64

1stStep

Senior Member
Hi @Pho3nX, do you feel it's worth adding to the Howto Guide Unlock & Root, for Linux users, that they may need to add these 3 udev rule then restart :

Code:
sudo nano /etc/udev/rules.d/51-android.rules

  GNU nano 6.2                       /etc/udev/rules.d/51-android.rules                             
# SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="me"
#MyOld
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="me"
##3 rules below for Nothing Phone (1)
#ID 18d1:4ee1 Google Inc. Nexus/Pixel Device (MTP)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1",
#ID 18d1:4ee7 Google Inc. Nexus/Pixel Device (charging + debug)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee7", MODE="0666", GROUP="me"
#ID 18d1:d00d Google Inc. Xiaomi Mi/Redmi 2 (fastboot)
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666", GROUP="me"

^G Help       ^O Write     ^W Search   ^K Cut     ^T Execute   ^C Locatio  M-U Cancel
^X Quit    ^R Read file ^\ Replace  ^U Paste     ^J Justify  ^/ Go line M-E Redo
Replace me with you

Ctrl+X Y

sudo udevadm control --reload-rules && sudo udevadm trigger



?

HTH
 
Last edited:
  • Like
Reactions: iamthechickengod

smartypants

Senior Member
Nov 2, 2009
84
15
Oslo
Hi, I'm a seasoned phone rooter, but this phone has me tricked. I've followed the guide, but what ever I manage to boot with ` fastboot boot boot.img` Magisk will not show that I have root.

I was rooted on 1.1.4 and was waiting for stable 1.5 to update, but my phone autodownloaded 1.1.7 EE and when it had rebooted my root was gone. Now unable to get my root back. Now my banking app and revolut will not run. Says my phone is rooted, but it's not, only unlocked. Any ideas on what to try?

I want to extract the runing boot/kernel from the phone, patch it with magisk and see if I can get root from that. But not sure what partition the boot image resides.
 
  • Like
Reactions: riccardorossi64

Ashiq.makkar

Senior Member
Jan 9, 2017
254
15
Unbricking Nothing phone 1: Flash Stock Firmware with Fastboot




Warning : The process below will erase all the data on your device. So, I invite you to make a full backup of the device beforehand.
Unfortunately, as I don't own the Phone(1) yet, I am unable to take screenshots with the Phone(1) at the moment. As soon as I can, I will put them online to finalize the tutorial. Thank you for your understanding


STEP 1: What you need and read before the process.
It’s really important for a process without problems
  1. Install Android SDK and the Platform-tools folder
  2. Download the Nothing OS version you need (see this post)
  3. Extract the "payload bin" file from the rom
  4. Extract the Firmware Stock "boot.img" from the rom (see this tutorial)
  5. Unlock the bootloader of your Phone(1) (see this tutorial)

STEP 2: Boot the bricked phone 1 into Fastboot mode
Very often, a soft-bricked or boot-looped device may already be in Fastboot mode. However, if you are stuck in a boot-loop, long press the Power key to turn it off.

Then press and hold the Power and Volume Down keys (or Power and Volume Up keys on some devices) simultaneously to boot your device into Fastboot mode.

In case you are unable to turn off your device, let the battery discharge. Once it is drained, connect it to the charger. Then, as soon as it is about to start, use the Power and Volume Up/Down keys and it will start directly in Fastboot mode.


STEP 3: Format the device via Fastboot
1.Go to the platform-tools folder where the extracted ROM is located.
2.Then go to its address bar, type CMD in its address, and press Enter. This will launch the CMD window.
3.Now run the following command to perform a factory reset (optional but recommended) ;)
Code:
fastboot -w


STEP 4: Flash the Nothing Phone 1 firmware via the Fastboot commands
  1. Run the commands below in the CMD window [which is open in the platform-tools folder] to flash the partition file.
  2. Very Important: Only run one command at a time. If you get an error, however, do not exit the process halfway, but go on to the next flashing command instead.
  3. Don't forget to check your command line 🧐 before validating it, because often a small error blocks you!
Code:
fastboot flash abl abl.img

fastboot flash aop aop.img

fastboot flash bluetooth bluetooth.img

fastboot flash boot boot.img

fastboot flash cpucp cpucp.img

fastboot flash devcfg devcfg.img

flash fastboot dsp dsp.img

flash fastboot dtbo dtbo.img

fastboot flash featenabler featenabler.img

fastboot flash hyp hyp.img

fastboot flash imagefv imagefv.img

fastboot flash keymaster keymaster.img

fastboot flash modem modem.img

fastboot flash multiimgoem multiimgoem.img

fastboot flash odm odm.img fastboot

fastboot flash product product.img

fastboot flash qupfw qupfw.img

flash fastboot shrm shrm.img

flash fastboot system system.img

flash fastboot system_ext system_ext.img

flash fastboot tz tz.img

flash fastboot uefisecapp uefisecapp.img

flash fastboot vbmeta vbmeta.img

flash fastboot vbmeta_system vbmeta_system.img

fastboot flash vendor vendor.img

fastboot flash vendor_boot vendor_boot.img

flash fastboot xbl xbl.img

fastboot flash xbl_config xbl_config.img


Step 5: If you have not had any errors, then you can run the command below to boot your device onto the operating system.
Code:
fastboot reboot


Well done 👏, you have just debricked your Nothing Phone 1 by flashing the stock firmware via the fastboot commands. (y)
I hope this tutorial has helped you find your Phone(1).
Thanks
getting partition not found error for some commands like 'fastboot flash product product.img'
how to fix this?
 
I face the same issue, have no idea how to solve it, if you got any work around plz share
i've solved installing the google driver and than when i reboot the phone i plug it out and in again. after this went into device management -> select the phone -> update driver -> search driver in the computer -> choose from a list of driver inside the computer -> google/android -> "Bootloader" is for fastboot
 

cibai7181

Member
Nov 24, 2012
13
0
Hi, want to ask some questions
1) What is your step to do an OTA update so you won't lose the root and must redo it again?
2) What app/module do you use to hide app root detection
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    ANNOUNCEMENT: I'M STOPPING THE FOLLOW UP AND UPDATE OF THIS TOPIC TODAY, IF SOMEONE WANTS TO TAKE OVER, CONTACT THE MODERATOR IN THIS LINK.

    THE TOPIC REMAINS AS IT IS AND WILL NOT BE UPDATED ANYMORE (BY ME ANYWAY!)


    GOOD CONTINUATION TO ALL


    Hey everyone,

    It's been a few days since the Phone(1) went on sale. And already, Nothing is doing things right by making the Phone(1) Kernel available. The next step was to unlock the bootloader and root it. Both are already available and ready to use.
    So don't deprive yourself and here is the process of the two operations.

    You've already unlocked the bootloader and rooted a carrierless variant of either a Google Pixel or OnePlus, you should have no problem unlocking your Nothing Phone (1) and installing Magisk. For those of you with a memory lapse, here is a tutorial to guide you through the process.

    - Disclaimer: I don't take any responsibility for anything you do to your tablet, which is to transform it into brick, break, or transform it into coffee machine -

    How to bootloader unlock and root the Nothing Phone 1

    After unlocking the bootloader, you can use Magisk to root the device.
    You must first unlock the bootloader in order to be able to start third-party software. Here's how to do it:


    Step 1: Unlock the Nothing Phone 1’s bootloader

    1. Open the Settings app on your Nothing Phone 1.
    2. Tap on About phone.
    3. Locate the section named Software info and tap on it.
    4. On the next screen, tap on the Build number 7 times until it says you’re now a developer.
    5. Go back to the main Settings page, tap on System, and near the bottom of the list, you should see Developer options. Tap on it.
    6. You should see an OEM unlocking option. Enable it. For security purposes, it may ask you to input your lock screen PIN/password if you have one set.
    7. Scroll down a bit until you see USB debugging. Enable it as well.
    8. Plug in your Nothing Phone 1 into your PC/Mac/Chromebook. Make sure you have the Latest version of ADB and Fastboot (33.0.3) binaries installed.
    9. Now open up a terminal window/Command Prompt instance and enter the following command: adb devices
    10. If you see your device’s serial number and it says “authorized,” then you’re good to go. If this is your first time setting up ADB for this device, then you may see a prompt on your phone to enable USB Debugging for your PC. Grant it permission.
      • If you’re having trouble getting your Windows PC to recognize your device, try installing the latest Android USB Drivers.
    11. Now, reboot to the bootloader menu. You can either do this by holding the power and volume down buttons while booting up, or by entering the following ADB command: adb reboot bootloader
    12. Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing unlock
      • In case you need to flash low-level firmware partitions like the bootloader images, you will have to execute another command afterwards: fastboot flashing unlock_critical
        [NOT A MANDATORY TO UNLOCK CRITICAL, IT'S FOR ME BETTER TO NOT USE THIS COMMAND, THIS COMMAND COULD BE THE REASON SOME PEOPLE HAVE BRICK OR NOT WHEN GO BACK STOCK NOS]
    13. You should now see text on screen warning you about the potential risks of unlocking the bootloader. On the screen next to the power and volume buttons, you should see some text. Press the volume up key until it says “unlock the bootloader.” Once it says this, press the power button.
    14. The phone will unlock the bootloader and reboot back to the bootloader menu. This time, the bootloader will show a red warning icon and “unlocked” text.
    15. Now, reboot your phone back to the Android OS. You can do this by sending the following fastboot command: fastboot reboot
    16. Congratulations, your Nothing Phone 1 now has an unlocked bootloader!
    17. You’ll see a warning message that your phone’s bootloader is unlocked on every boot, but don’t worry about that as it doesn’t affect your day-to-day use.

    Step 2 - Rooting your Nothing Phone 1 with Magisk

    With an unlocked bootloader, you can now boot modified boot images. For Magisk to work, you’ll need to patch the Nothing Phone 1’s stock boot image.
    1. Since your device has been wiped earlier, you’ll need to go back and re-enable Developer Options and then re-enable USB Debugging. Make sure your Nothing Phone 1 is still recognized by your PC.
    2. Download the full OTA package corresponding to the installed software version on the Nothing Phone 1.
      • Depending of your model, you have Global or EEA (European) firmware availables.
        You can download the latest full OTA firmware package here.
    3. Extract the stock boot image from the OTA package. For more information, take a look the “You have access to the recovery-flashable ZIP file” section our “How to Install Magisk on your Android Phone” tutorial.
      • In case you don’t want to download the whole OTA file, you can separately download the boot image just to the post #2 or from this post. However, to avoid version mismatch and other unforeseen errors, it is always advised to extract the boot image yourself.
    4. Now that we have the stock boot image to patch, push it to your device with this command: adb push <path_to_file> /sdcard/Download
    5. Download and install the Magisk app on the Nothing Phone 1.
    6. Open the Magisk app and tap on the Install button.
    7. Choose Select and Patch a File. A file manager will pop up.
    8. Select the boot image that you pushed earlier and let Magisk patch it.
    9. Pull it off your phone with this command: adb pull /sdcard/Download/magisk_patched_[random_strings].img
    10. Reboot the Phone 1 into the bootloader: adb reboot bootloader
    11. Flash the patched boot image: fastboot flash boot /path/to/magisk_patched_boot.img
    12. Reboot the phone: fastboot reboot
    13. Open the Magisk app and your Nothing Phone 1 should be rooted.

    Keep in mind that unlocking the bootloader and rooting your Nothing Phone 1 will impact how you take advantage of updates. You'll have to learn to manually load monthly security patch updates. But don't worry, it's easy enough to do.


    -=o#0#o=-​


    WARNING: I wrote this step to allow you to re-lock your bootloader, but it seems that for this step, there are some problems. So after this warning, if you continue on this path, I could not be held responsible for what you will have as a result: soft-bricked, bootloop, etc.

    menu. You can either do this by holding the power and volume down buttons while booting up, or by entering the following ADB command: adb reboot bootloader
    [*]Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing lock
    [*]Reboot your phone back to the Android OS. You can do this by sending the following fastboot command: fastboot reboot


    Many thanks to Skanda Hazarika for his tutorial which you can read on the xda news page.
    And thanks to Qiyue_ for the 1st Boot Magisk Patched for the Phone1

    #root #nothingphone
    4
    Unbricking Nothing phone 1: Flash Stock Firmware with Fastboot

    - Disclaimer: I don't take any responsibility for anything you do to your tablet, which is to transform it into brick, break, or transform it into coffee machine -


    Warning : The process below will erase all the data on your device. So, I invite you to make a full backup of the device beforehand.
    Unfortunately, as I don't own the Phone(1) yet, I am unable to take screenshots with the Phone(1) at the moment. As soon as I can, I will put them online to finalize the tutorial. Thank you for your understanding


    STEP 1: What you need and read before the process.
    It’s really important for a process without problems
    1. Install Android SDK and the Platform-tools folder
    2. Download the Nothing OS version you need (see this post)
    3. Extract the "payload bin" file from the rom
    4. Extract the Firmware Stock "boot.img" from the rom (see this tutorial)
    5. Unlock the bootloader of your Phone(1) (see this tutorial)

    STEP 2: Boot the bricked phone 1 into Fastboot mode
    Very often, a soft-bricked or boot-looped device may already be in Fastboot mode. However, if you are stuck in a boot-loop, long press the Power key to turn it off.

    Then press and hold the Power and Volume Down keys (or Power and Volume Up keys on some devices) simultaneously to boot your device into Fastboot mode.

    In case you are unable to turn off your device, let the battery discharge. Once it is drained, connect it to the charger. Then, as soon as it is about to start, use the Power and Volume Up/Down keys and it will start directly in Fastboot mode.


    STEP 3: Format the device via Fastboot
    1.Go to the platform-tools folder where the extracted ROM is located.
    2.Then go to its address bar, type CMD in its address, and press Enter. This will launch the CMD window.
    3.Now run the following command to perform a factory reset (optional but recommended) ;)
    Code:
    fastboot -w


    STEP 4: Flash the Nothing Phone 1 firmware via the Fastboot commands
    1. Run the commands below in the CMD window [which is open in the platform-tools folder] to flash the partition file.
    2. Very Important: Only run one command at a time. If you get an error, however, do not exit the process halfway, but go on to the next flashing command instead.
    3. Don't forget to check your command line 🧐 before validating it, because often a small error blocks you!
    Code:
    fastboot flash abl abl.img
    
    fastboot flash aop aop.img
    
    fastboot flash bluetooth bluetooth.img
    
    fastboot flash boot boot.img
    
    fastboot flash cpucp cpucp.img
    
    fastboot flash devcfg devcfg.img
    
    flash fastboot dsp dsp.img
    
    flash fastboot dtbo dtbo.img
    
    fastboot flash featenabler featenabler.img
    
    fastboot flash hyp hyp.img
    
    fastboot flash imagefv imagefv.img
    
    fastboot flash keymaster keymaster.img
    
    fastboot flash modem modem.img
    
    fastboot flash multiimgoem multiimgoem.img
    
    fastboot flash odm odm.img fastboot
    
    fastboot flash product product.img
    
    fastboot flash qupfw qupfw.img
    
    flash fastboot shrm shrm.img
    
    flash fastboot system system.img
    
    flash fastboot system_ext system_ext.img
    
    flash fastboot tz tz.img
    
    flash fastboot uefisecapp uefisecapp.img
    
    flash fastboot vbmeta vbmeta.img
    
    flash fastboot vbmeta_system vbmeta_system.img
    
    fastboot flash vendor vendor.img
    
    fastboot flash vendor_boot vendor_boot.img
    
    flash fastboot xbl xbl.img
    
    fastboot flash xbl_config xbl_config.img


    Step 5: If you have not had any errors, then you can run the command below to boot your device onto the operating system.
    Code:
    fastboot reboot


    Well done 👏, you have just debricked your Nothing Phone 1 by flashing the stock firmware via the fastboot commands. (y)
    I hope this tutorial has helped you find your Phone(1).
    Thanks
    4
    FILES FOR NOTHING OS - (stock-boot, etc. )
    UPDATE 15/12/2022


    Stock_Boot for Nothing OS here

    Be carefull, be sure to select the good Stock Boot "Global" or "EEA" for your device.
    4
    Extract Payload.bin via Payload Dumper Go ;)

    To start, download the payload-dumper-go 1.0.0 from Github [Credits: XDA Member @ssssut].

    Then extract it to any convenient location on your PC. The file name will be something like payload-dumper-go_1.0.0_windows_amd64.

    Rename it to payload-dumper-go.

    Next, download the liblzma-5.dll file and transfer it to the same folder where the payload-dumper-go.exe file is located.

    After that, transfer the payload.bin file to this folder as well.

    So, from now on, you should have the 3 files payload-dumper-go.exe, payload.bin and liblzma-5.dll in one folder.

    Extract_payload-bin_1.png


    Now go to the address bar of that folder, type "cmd" and press Enter. This will launch the command prompt window.

    Extract_payload-bin_2.png


    Extract_payload-bin_2a.png


    Type the command below to extract the payload.bin file:

    Code:
    payload-dumper-go payload.bin

    Extract_payload-bin_3b.png


    Extract_payload-bin_3.png


    The extraction process will now begin and will only take a few seconds.

    Extract_payload-bin_4.png


    Once this is done, all extracted files will be placed in a folder named extract_date_time which is created in this directory like this name : extracted_20220731_145751

    Extract_payload-bin_5.png


    The process is very simple and very fast. Anyone can do it. So don't hesitate, you have everything you need to do this yourself. ;)
    it's up to you now
    If this has helped you, and if you appreciate my help. (y)
    Thanks
    3

    How to bootloader unlock and root the Nothing Phone 1

    Step 1: Unlock the Nothing Phone 1’s bootloader

    Step 2 - Rooting the Nothing Phone 1 with Magisk

    Step 3: Relock the Nothing Phone 1’s bootloader

    Hey Sib64, could you please rephrase the guide correctly. This is because the way it is currently written, users will end up carrying out the third step of re-locking the bootloader right after performing the second step of rooting their device, which in turn will result in a soft-brick or bootloop. So it is advised that rather than having the relocking process as STEP 3, make it an altogether different section.