[OnePlus 11] Steve0007:
This tutorial will :​

Provide you with all the steps to unlock your Oneplus 11 bootloader

Provide you with all the steps to root your Oneplus 11 (with your bootloader already unlocked)

Provide you with all the steps to keep root during/after an OTA (system update)

Provide you with some Interesting Magisk Modules

Provide you with a lot tricks if you have troubleshooting questions

Provide you with a lot of solutions of you have softbricked your Oneplus 11

Provide you with all the ways if you want to bring back your Oneplus 11 to unroot & lock back the bootloader

PHB110 - China : ColorOS

CPH2447 - India : DA

CPH2449 - EU : BA

CPH2449 - GLO: International

CPH2451 - NA/Global : AA / North America

Original_Init_boot images : Extracting Payload.bin

use payload dumper go from https://github.com/ssut/payload-dumper-go

Guide: how to extract payload from the OTA Package and get the init_boot.img ?

And share the Original_init_boot.img with us by posting them in this thread.

All init_boot.img are Orginals (not patched with Magisk, that will be your job to patch them following the guide below!)

OxygenOS 13.1.0.501_init_boot :

CPH2451 Init_Boot (AA) / Not yet available

CPH2449 Init_Boot (BA/GLO) / Not yet available

CPH2447 Init_Boot (DA)

Full OTA packages / Not yet available

OxygenOS 13 A.10_init_boot :

CPH2451 Init_Boot (AA)

CPH2449 Init_Boot (BA/GLO)

CPH2447 Init_Boot (DA)

Full OTA Packages / Full OTA EU A10 / Full OTA DA/India A10

OxygenOS 13 A.09_init_boot :

CPH2451 Init_Boot (AA)

CPH2449 Init_Boot (BA/GLO)

CPH2447 Init_Boot (DA)

Full OTA packages

OxygenOS 13 A.08_init_boot :

Init_Boot (AA)

Init_Boot (BA) / Not yet available

Init_Boot (DA)

OxygenOS 13 A.07_init_boot :

Init_Boot (AA)

Init_Boot (BA)

Init_Boot (DA)/ Not yet available

OxygenOS 13 A.06_init_boot :

Init_Boot (AA)

Init_Boot (BA) / Not yet available

Init_Boot (DA) / Not yet available

PHB110 - China : ColorOS

CPH2447 - India : DA

CPH2449 - EU : BA

CPH2449 - GLO: International

CPH2451 - NA/Global : AA / North America

STEPS to root your device

:

I recommand to update first your device with all OTA available using Settings/updates before unlocking & rooting it. It is also recomended not to set any lockscreen password before unlocking the bootloader/rooting. So if you have a lockscreen password / fingerprint just remove it, root your device and set it up after rooting your device.
​

Unlock the Bootloader and Root the OnePlus 11

​

Step 1 – Enable OEM unlocking​

You need to enable OEM unlocking, which can be done by enabling the developer settings on your device. To do so, go to Settings > About phone and repeatedly tap Build number. Developer options will then be added to your system settings, where you can then enable OEM unlocking.

Step 2 – Unlock your bootloader​

Set up adb, reboot into your bootloader, and run the following command. Yes, it’s really that simple!

"fastboot flashing unlock"

You can reboot into the bootloader by switching on USB debugging, setting up adb and fastboot and typing “adb reboot bootloader”. Alternatively, you can hold volume down and the power button to boot up your device. USB debugging is also located under the developer options.

Unlocking the bootloader wipes your device :

Root your Oneplus 11 (with Bootloader already unlocked)

​

Patch OnePlus 11 Init_Boot.img via Magisk​

Download and install the lastest Stable Magisk App starting from v26.1 works fine.

Then launch it and tap on the Install button next to Magisk.

After that, choose ‘Select and Patch a File’, and navigate to the stock init_boot.img file, and select it.

Then tap on the Let’s Go button situated at the top right.

The init_boot.img file will now be patched and placed under the Downloads folder on your device. You should transfer this file to the platform-tools folder on your PC and rename it to magisk_patched_boot.img.

Boot OnePlus 11 to Fastboot Mode​

Now connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.

Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.

Type in the following command in the CMD window to boot your device to Fastboot Mode "adb reboot bootloader"

To verify the Fastboot connection, type in the below command and you should get back the device ID.fastboot devices

Flashing the magisk_init_boot​

1. Connect your phone to your pc and boot it into fastboot mode. You can leave it connected throughout this guide.

2. First, enter the following command in the PowerShell/Terminal window to ensure that your PC can communicate with the phone over the fastboot interface.

"fastboot devices"

The command should return your phone’s unique ID. In case it doesn’t, then make sure that you have the required USB drivers installed and restart your PC. You can also use TOOL ALL IN ONE, not officially updated to Oneplus 9 Pro but once install go to Others options and go to Install drivers.

3. Code once in fastboot mode:

"fastboot flash init_boot magisk_init_boot.img"

Change to the exact name "magisk_init_boot.img" of the init_boot that has been patched

"fastboot reboot"

Step 2 - Reboot and your device is now rooted !​

Keep Root after OTA Updates​

How to update OTA and KEEP ROOT

It is advised to disable or even uninstall all magisk modules to be safe!

How: go to Magisk application/modules/disable &/or uninstall

Option 1: With full OTA Access (BA/DA) :

Step 1 - Get & install the full OTA zip file​

1. Go to System-Update or update get the OTA using Oxygen Updater

2. Tap OK when the message that you are rooted appears

3. Tap "Download and install" or local update if OTA from Oxygen Updater

For Android 13, install this APK "OPLocalUpdate_For_Android13.apk"

4. Wait until you are prompted to reboot - DO NOT REBOOT NOW! Use the above application to make sure your device will not reboot

5. Open Magisk Application

a. Select the Install option.

b. Use Install to inactive slot

Step 2 - Reboot and enjoy your device still rooted with latest OTA installed !​

​

Option 2: with incremental OTA Access (AA) :

​

Option 2A

: Get back your original init_boot image using Magisk Manager

1. open the Magisk Manager application, select “Uninstall”, and choose the “Restore Images” option. Magisk will restore your phone’s stock init_boot image that was backed up during the rooting process.

2. Now go to “Settings” → “System” → “System updates” and select “Download and Install Now” to install the OxygenOS OTA update on your rooted OnePlus 11

3. Open Magisk Manager

a. Select the Install option.

b. Use Install to inactive slot

Reboot and enjoy​

Option 2B

: Get back your original init_boot image

You can find your originel init_boot.img in our thread from your current OTA.

Go to fastboot.

Code once in fastboot mode:

"fastboot flash init_boot original_init_boot.img"

You will obviously loose Root access once you have flash the originel_init_boot.

Then just flash the incremental OTA using your system OTA or Oxygen Updater.

To get root again just read the above guide :

Patch OnePlus 11 Init_Boot.img via Magisk​

Troubleshooting questions

:​

Before reporting any trouble, follow the steps below in order to have GooglePlay certified, keep L1 Widevine & pass CTS :

Step 1 - Magisk Settings​

1. Once rooted, in Magisk setting, select MagiskHide and Systemless host

2. In MagiskHide select GMS, Netflix, Google Store & any application you may find sensitive to Magisk detection

For Netflix, go to Settings, Appplications & select Netflix:

a-force stop the app

b-clear cache and storage

c-hide the App in magisk

d-restart phone to recovery and clear cache

Hide everything under Google play services and store.:

3. Reboot

Step 2 - Clear caches​

Clear caches of Google Play Service & Play Store

Go to Settings, Applications & select Google Play Service, delete data

Go to Settings, Appplications & select Play Store, delete data

Step 3 - Safetynet Fix​

Install Safetynet Fix Magisk Module

Step 4 Optional - Shamiko Module​

Install Shamiko Module​

How to use it : guide

How to fix Netflix ?

:​

​

If you can't install/update Netflix thru Google Play install the latest Netflix from apkmirror manually (like any other apk file)

Option 1 - Follow this guide​

Option 2 - Flash the DRM module attached

Option 3 - Flash another DRM module attached

Usefull Magisk Modules For Oneplus 11:

​

Google materials

:

Enable Call Recording with native

Enable unlimited storage Google photos

Music & Video materials

:

Viper 4 Android

Revanced Manager to get Revanced Youtube & others Revanced applications

Theming

materials

:

- Substratum lite : Liv Dark theme & OOS Outher theme

- Cyberpunk Bootanimation

- OOS Status bar magisk module (see attached)

- Repainter application

- Seeker application

- LWP+ application

- OOS themer by Oneplus

Tools materials

:

Enable Volte

Enable Engineering unlock

Enable IPV6

Disable Flag secure

Magisk Bootloop Protect

Modules Management materials

:

Fox Module Manager

Phone Bricked ?

:​

Five options (ranked from the easiest to tougher method):

Option 1 - Reboot to Safe mode & remove Magisk modules​

Option A

: Safe Mode

1. Hold power until it goes off

2. Boot and wait for the bootloader warning

3. Hold vol up and down until boot animation

4. Once it's booted just reboot again and you're done

Now on boot all magisk modules are disabled

Option B

: thru adb command

1. Code with phone connected with USB debugging on (from developpers options):

"adb wait-for-device shell magisk --remove-modules"

2. reboot

Option 2 - Get back the original init_boot.img​

If your device can go to fastboot mode:

Flash back the original init_boot.img (w/o magisk) and reboot

Code once in fastboot mode:

"fastboot flash init_boot.img" (use the "Original_init_boot.img" from the above zip file)

Change to the exact name "Original_init_boot.img" of the boot that has been posted in the above zip file

"fastboot reboot"

Option 3 - Flash the rollback full OTA file (will wipe data)​

OnePlus 11 / Rollback packages :

OnePlus 11 NA Version (A.09)

OnePlus 11 IN Version (A.09)

OnePlus 11 EU Version (A.09)

OnePlus 11 GLO Version (A.09)

Flash it using local update or thru the application OPLocalUpdate_For_Android13.apk

You can also flash it by extracting and flashing the partitions using fastboot and fastbootd manually.

You may also use Fastboot Enhance.

​

Option 4 - Flash back full OTA file​

If you can still go to Settings:

Flash back the OTA RUU full package and reboot

Option 5 - Change the active slot​

If your device can go to fastboot mode:

"fastboot getvar current-slot"

This will tell you what (corrupted) slot you are currently booting from (either a or b).

Then just change to the other slot with the following command:

"fastboot --set-active=a"

or

"fastboot --set-active=b"

Then reboot with the command:

"fastboot reboot"

Option 6 - Wipe data with fastboot command​

Code once in fastboot mode:

"fastboot- w"

Option 6 - OFD/EDL​

Option 1, 2 & 4 would normally not alter your personal data, applications and own set-up​

Option 3 and 6 will wipe your personal data and applications

Return your phone to unlock and unroot?

:​

Option 1 : Original init_boot & relock with fastboot command

​

Step 1 - Restore orignal init_boot.img​

Option A

: Thru Magisk App

Open Magisk App on your phone. You will see the Uninstall button in the app. Just click on Uninstall button.

Then you need to click on Complete Uninstall. Your phone will be rebooted automatically.

Option B

: Thru fastboot mode

Flash back the original init_boot.img (w/o magisk) and reboot

Code once in fastboot mode:

"fastboot flash init_boot.img" (use the "Original_lnit_boot.img" from the above zip file)

Change to the exact name "Original_init_boot.img" of the init_boot that has been posted in the above zip file

"fastboot reboot"

Once booted, remove Magisk application

Option C

: after removing Magisk app entirely Flash the current or latest full OTA zip twice. Why twice, to ensure both slot have the latest update flashed with original init_boot.

Step 2 - Relock the bootloader​

1. Execute the following command to proceed for bootloader unlocking: ""fastboot flashing unlock""

2. A verification window will appear on your mobile device asking to confirm the action. Just highlight “Relock Bootloader”using volume buttons and hit the power button to confirm.

3. The phone will initialize to relock the bootloader. It will take some time to reboot after resetting the whole phone into a locked stage.

4. Your device is now locked again !

Do any process described at your own risk. None Xda none the author are responsible for your own choice to unlock & root your Device.