Notices



How to unlock the bootloader of the Nothing Phone 1 and root it with Magisk

AVN News Feed

Post New ThreadReply
 
Thread Tools
  #1  
Old 07-19-2022, 05:21 AM
phillynewsnow's Avatar
phillynewsnow phillynewsnow is offline   Thread Starter  
Site Moderator - Staff

 
Join Date: October 11th, 2009
Posts: 4,640
Thanks: 0
Thanked 668 Times in 568 Posts
Downloads: 0
Uploads: 0


View phillynewsnow's Profile   Edit Options Edit Profile Picture View phillynewsnow's Photo Album Add phillynewsnow's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
How to unlock the bootloader of the Nothing Phone 1 and root it with Magisk

How to unlock the bootloader of the Nothing Phone 1 and root it with Magisk



Upon the release of a new smartphone, a mission that many Android enthusiasts undertake is to unlock the bootloader and root the device. After this, typically comes a deluge of development in the form of custom ROMs, kernels, and other mods and tweaks. It can be said that the life of a device here at XDA doesn?t truly begin until the shackle (read “locked bootloader”) has been thoroughly destroyed. For the Nothing Phone 1 community, that journey can start right now!

You will be delighted to know that unlocking the bootloader of the Nothing Phone 1 literally takes seconds, and getting your device up and running with root takes minutes. If you?ve ever unlocked the bootloader of and rooted a non-carrier variant of the Google Pixel or OnePlus device, you shouldn?t have any issues unlocking your fancy Nothing Phone 1 and installing Magisk. For those of you who need a refresher, here?s a tutorial to guide you through the process.


  • Nothing allows end users to unlock the bootloader of its Phone 1.
  • There is no waiting period or token generation involved in the bootloader unlocking process.
  • After unlocking the bootloader, you can use Magisk to root the device.


How to bootloader unlock and root the Nothing Phone 1

The kernel sources and the device tree of the Nothing Phone 1 are already up for grabs, hence we were bound to see aftermarket development work and custom modifications start to pick up for the device. Nonetheless, you need to unlock the bootloader first in order to boot any third-party software. Here?s how to get started:

Step 1: Unlock the Nothing Phone 1’s bootloader

Note: Unlocking the bootloader will wipe all the data from your device. This includes all media saved to the device?s internal storage such as pictures, videos, music, documents, etc. Back up any important files to your PC or cloud storage before proceeding.

  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 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
  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! 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 the 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.
    • At the time of writing this tutorial, the latest available software for the Nothing Phone 1 is Nothing OS 1.0.2. The full OTA ZIP for this build can be downloaded from 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 from our forums. 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 /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.
H/T: XDA Member Qiyue_ for the screenshot!


What?s next?

What are some of the things you can do with your Nothing Phone 1 after rooting with Magisk? Here?s a short list:
Keep in mind that unlocking the bootloader and rooting your Nothing Phone 1 will impact how you take updates. You?ll need to learn how to manually sideload monthly security patch updates. No need to worry, though, as it is actually fairly easy to do.


Lastly, if you want even more control over your device, you?ll be able to flash custom ROMs and kernels on your Nothing Phone 1 once they?re made available for the two devices. Custom ROMs can offer a lot of options that aren?t available on the stock software. Custom kernels, on the other hand, let you tune the performance of your device to squeeze more battery life or get even more frames in your favorite games. Since the Nothing Phone 1 has just been released, there aren?t any custom ROMs or kernels available for the device just yet. But keep an eye out on the XDA sub-forum for this phone if you?re interested in the custom development scene.


The post How to unlock the bootloader of the Nothing Phone 1 and root it with Magisk appeared first on XDA.



More...
Reply With Quote
Post New ThreadReply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS Releases Bootloader Unlock Tool for Zenfone 9 phillynewsnow AVN News Feed 0 08-06-2022 02:35 PM
[NEWS] How to unlock any T-Mobile phone phillynewsnow Random Community Topics 0 03-17-2022 08:56 AM
[RELEASE] How to unlock the bootloader on your Nexus One puertoblack2003 Article 4 01-07-2010 01:20 PM
can unlock phone or flash it help stanman HTC Touch Questions 11 03-14-2009 03:17 PM
can not unlock phone biturboamg Noob Area 3 10-09-2008 05:55 PM


All times are GMT -5. The time now is 05:03 PM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top