Guide : How To Unlock Bootloader in Nothing Phone 2

Unlocking the Bootloader & Rooting Guide

Note: Unlocking the bootloader will wipe your device. Backup your data if necessary.

Prerequisites:

  1. ADB/Fastboot files – Download here.
  2. Windows 10-11 PC/Laptop with a USB cable that supports ADB/Fastboot commands.
  3. Correct USB driver – Download here.
  4. Magisk Manager installed on your phone – Get it from magiskmanager.com.

Obtaining ADB Access and Checking Fastboot Commands:

  1. Connect your phone to your computer using a USB-C cable.
  2. Allow the computer to recognize your device. If it doesn’t automatically install the driver, use the one provided in the prerequisites. (Download Here)
  3. Enable Developer Options on your phone: Go to “About phone” in Settings, tap “Build number” five times, enter your PIN to enable “Developer Options.”
  4. In Developer Options, enable “USB Debugging” and “OEM Unlocking.” Accept any prompts.
  5. Download the ADB and Fastboot folder and move it to the root of your C: drive, so the filepath looks like: C:\adb.
  6. Open the folder, hold Shift, right-click an empty space, and choose “Open Powershell Window here” or “Open a Command prompt Window here.”
  7. In the window, type: adb devices and press Enter. If prompted with an authorization dialogue on your phone, check the box and allow it. You should see a device listed on your computer. (Download here)
  8. In the same window, type: adb reboot bootloader and press Enter. Your device will reboot to the bootloader.
  9. Type: fastboot reboot to check if your device reboots. If it says “waiting for device,” your driver might not be working; install the USB driver from the prerequisites.

Unlocking the Bootloader:

Note: This process will wipe your device.

  1. Connect your phone to your computer.
  2. Open a Command prompt in the C:\adb folder as explained earlier.
  3. Type: adb reboot bootloader and press Enter.
  4. Type: fastboot flashing unlock and press Enter. This step will wipe your phone; proceed with caution.
  5. Follow the on-screen prompts on your phone and wait for the device to reboot. It will show an orange state flag upon booting.
  6. After booting, set up your device and enable “USB Debugging” in Developer Options again.

Using Fastboot Enhance & Magisk to Obtain Stock and Patched Boot Images:

  1. Download and copy the Fastboot Enhance folder to your desktop or a location of your choice.
  2. Extract the payload.bin file from the firmware of your choice (preferably a full zip) using a program like Winrar.
  3. Run FastbootEnhance.exe, click “Payload Dumper,” browse and select the payload.bin file, and check “Allow incremental.”
  4. Look for the boot.img in the list, highlight it, and click “Extract.” Copy this file to your phone’s root storage (/sdcard).
  5. Open Magisk, click “Install/Update,” and select “Select and Patch a file.” Browse to the boot.img and let it complete (output: “magisk_patched” file in the Downloads folder).

Rooting by Booting:

  1. Obtain a patched boot image (use payload dumper or download one) and copy it to your fastboot folder on your computer.
  2. Reboot your phone to fastboot: adb reboot bootloader and connect to your computer.
  3. Boot the Magisk-patched image: fastboot boot magisk_patched.img.
  4. Your phone should automatically boot, and you should be rooted.

Making Root Permanent:

  1. Open Magisk Manager, click “Install/Update,” and if the buttons aren’t visible, change to the beta channel in Magisk settings and install the update.
  2. Select “Direct install (recommended)” and click OK. Allow Magisk to permanently root your device and then reboot.

Rooting and Updating with an Incremental Update While Retaining Root:

Note: This process is risky and doesn’t always work.

  1. In Magisk, select “Uninstall Magisk” and choose “Restore Images.”
  2. Go to Settings > System > Software update, download the incremental update (smaller than a full zip), but do not restart yet.
  3. Open Magisk again, click “Install,” then “Install to Inactive Slot (After OTA),” and click “Let’s Go.” Your device will reboot.

Note: If your device doesn’t boot immediately after this, it may eventually swap slots and boot.

Stock Boot Images:

(You can provide a link to stock boot images here, if needed.)

That’s it! You’ve successfully unlocked your bootloader and rooted your device.

Leave a Reply

Your email address will not be published. Required fields are marked *