[OnePlus Nord N100 Guides, News, & Discussion] alexspecht:
I have successfully rooted my OnePlus Nord N100 (BE2011) using stock boot.img file patched with Magisk.

Here I will attempt to provide a detailed guide.

This is for OnePlus Nord N100 version BE2011 (Carrier unlocked) bought in the US at Best Buy. The build number is 10.5.8.BE81AA (As of today June 29, 2021)

Carrier locked versions will not work with this method because the bootloader is locked.

NOTE: Please follow the details as I had soft bricked the phone a few times by installing the wrong version of boot.img In which case the phone would not work for calls / txt

**MAKE SURE THE EXTRACTED boot.img FILE IS FROM THE EXACT OTA .zip file that is installed with the "Local Upgrade" method as described in STEP 3)***

Luckily I was able to get it to factory default by using the MSM method posted here:

https://xdaforums.com/t/opn100-oos-...l-to-restore-your-device-to-oxygenos.4217855/

STEP 1- On a new phone the user may have to use the automatic update either through wifi or mobile data BEFORE using "Local Upgrade" method as the 'settings' icon (gear wheel) under 'Settings' - 'system update', may not be displayed.

STEP 2- Install OnePlus Drivers on PC. USB setting should be set to file transfer.

STEP 3- Download and Update to latest firmware from OnePlus using "Local Upgrade Method"

This will be the full firmware (About 2GB file) not the smaller "update file"

This is from and email from support at OnePlus which includes the link to the latest firmware

(As of today June 6, 2021):

Check this link:

Software Upgrade - OnePlus.com

Get the latest OxygenOS updates for your device.OxygenOS is always evolving. Learn about the latest features and improvements, and get even more out of your device.

www.oneplus.com

Download the software build for your device from the above page. Please back up your data before flashing your device.

**KEEP A COPY of the .zip file on the PC as it will be needed to extract the bootloader boot.img file**

Plug your phone into your computer and copy the downloaded .zip to your phone’s storage.

(At the root of Internal storage: BE2011>Internal shared storage) see below picture.

If you’re using a Mac, you can install Android File Transfer Android File Transfer for this operation.

After the .zip file is copied to your phone, go to 'Settings' - 'system update', click the 'settings' icon on the top right corner, choose 'Local upgrade', find the .zip file and click on 'Install' to confirm.

The update takes about a minute (depending upon the file size), once done reboot your device to boot into the latest Oxygen OS.

View attachment 5351013

STEP 4- Extract boot.img file from payload.bin

The firmware download is a .zip file. When unzipped on the PC there will be a large file called "payload.bin" In order to extract boot.img from payload.bin the user will need to use a python script called payload_dumper.py

In order to use the tools, there should be no proxy server and use "Administrator" account. (I had errors when using proxy server and my windows user account.)

4a - Install the latest Python from here: https://www.python.org/downloads/

On Python install select "Add Python 3.xx to PATH"

4b - Download payload dumper from here :

https://www.mediafire.com/file/pslxh616isribx6/payload_dumper.zip/file

4c Upon successful download, extract all the files inside the ZIP folder to the same location where you have installed Python.

4d Unzip the OnePlus firmware file .zip and copy payload.bin to the python folder ( This means that the folder will have Python, the Payload Dumper Tool, and the payload.bin file in the same place.)

4e- Open the folder in CMD and use command: python -m pip install protobuf

(this will download and install Protocol Buffers Google’s data interchange format)

4f- execute the following command: python payload_dumper.py payload.bin

The .img files should now be extracted to the "output" folder

View attachment 5351027

STEP 5- Install Android SDK Platform-Tools on Your PC

5a - Enable developer options on phone in settings>about phone. tap on "build number" several times until it displays "you are now a developer"

5b - On phone go to settings>system>developer options and Enable USB debugging (in Windows Device manager there should show "ADB Interface" under USB devices. If not the OnePlus ADB drivers need to be installed)

5c - Install ADB on Windows

Download the platform-tools package for Windows from Google:

https://dl.google.com/android/repository/platform-tools-latest-windows.zip

We are going to need a location on the PC where the files could remain untouched, yet easily accessible. So extract the content of the downloaded “platform-tools-latest-windows.zip” file to C:\adb

5d- Connect phone with ADB

Go to the folder where the files are present (Example: C:\adb).

On an empty space inside this folder, press the SHIFT key and right-click. Select “Open command window here” or “Open PowerShell window here” from the menu that appears.

With the Android device connected to the PC using USB cable enter the following command to initiate the ADB connection:

adb devices

The phone will ask for permission. Select allow and click ok

enter the command again:

adb devices

This will show that the device is connected with ADB.

STEP 6- Unlock Bootloader ****THIS WILL WIPE ALL DATA FROM PHONE****

6a- On phone go to settings>system>developer options and enable "OEM unlocking"

NOTE OPTION WILL ONLY BE AVAILABLE WITH CARRIER UNLOCKED PHONE

6b- In CMD or Powershell use command : adb reboot bootloader

This will reboot the phone into fastboot mode

6c- enter command: fastboot devices

The phone should be displayed. This verifies the connection with fastboot driver

6d- enter command: fastboot oem unlock

The phone will now ask to confirm. Use the vol +/- numbers to navigate and power button to select "unlock bootloader"

6e- if the phone doesnt automatically reset use command : fastboot reboot

6f- on reboot the user will have to go through the factory "setup" again and enable developer options and USB debugging again (Steps 5a, 5b from above)

STEP 7- Install Magisk and patch boot.img file

7a- Download Magisk APK file from here: https://magiskmanager.com/go/download

7b- Copy the .apk file to phone and use file manager to run. (it will ask for permission)

7c- copy the file "boot.img" from the PC to the phone internal storage (output folder under Python Step 4f above)

7d- run Magisk app on phone

7e- Click "install" under the Magisk heading and check "select and patch a file"

7f- choose the boot.img file that was just copied to the phone

Magisk will now patch the boot.img file and show the file location. This may be in "Downloads" folder.

7g- Copy the patched magisk boot.img file back to the PC in the \adb folder. File name should be something like "magisk_patched-23000_XXXXX.img"

STEP 8 - Boot with magisk patched boot.img file

8a - use command prompt and enter command: adb devices

the device should be displayed

8b - enter command: adb reboot bootloader

phone will reboot in fastboot mode

8c - ensure connnetion with command : fastboot devices

device should be displayed

8d - Test boot image by executing command:

fastboot boot magisk_patched-XXXXXXX.img

This will only boot the image once! Make sure everything is working (e.g. WiFi, PHone Messaging doesn't work on wrong image)

Call your phone and txt and use WIFI to make sure all the communication features are working

Open the Magisk APP. It should show Magisk installed.

The device is now temporarily rooted.

STEP 9 - Flash Bootloader

9a - use command prompt and enter command: adb devices

the device should be displayed

9b - enter command: adb reboot bootloader

phone will reboot in fastboot mode

9c - ensure connnetion with command : fastboot devices

device should be displayed

9d - Flash boot image by entering command:

fastboot flash boot magisk_patched-XXXXXX.img