How To Guide [CLOSED] [GUIDE] [Magisk] [Unlock / ROOT / Keep Root] OOS 13-A.10

Status
Not open for further replies.
Search This thread

Persianhawkes

Senior Member
Sep 24, 2012
503
179
Virginia Beach
OnePlus 9 Pro
OnePlus 11

Attachments

  • IMG20230514222717.jpg
    IMG20230514222717.jpg
    2.1 MB · Views: 27

surajpai524

Senior Member
May 5, 2014
331
96
Samsung Galaxy Pocket
Nubia Z11
Very weird issue here
I select zygisk hide for play store and play services and I can pass safety net, but every time I reboot, I have to re add play services to zygisk hide. For some reason it deletes itself from the list. All other apps on hide mode are there and no other does this. Because of this, I lose safety net at every reboot and it messes up Google wallet
That's the expected behaviour. USNF removes Google services from denylist once safetynet fix is applied. The reason why it apps are detecting root might be a different reason. Did you add the root detecting apps in denylist? Also use Momo app to see what exactly is triggering. Also you should use USNF 2.4.0 mod by Displex.
 

surajpai524

Senior Member
May 5, 2014
331
96
Samsung Galaxy Pocket
Nubia Z11
I did, but it reverts back to 411 after reboot
You can create a boot script to run automatically on boot.

You need root to try this:
1. Copy the dpi_changer.sh to /data/adb/service.d/ folder.
2. Set permissions to 744 or rwxr--r--
3. Create a file called dpi.txt in storage root or /sdcard with dpi value and reboot.

Deleting dpi.txt and reboot sets it to default (560).
After reboot, dpi will be applied after 60 secs.
 

Attachments

  • dpi_changer.sh
    193 bytes · Views: 27
  • dpi.txt
    4 bytes · Views: 18

cahir1495

Senior Member
Jan 10, 2012
621
71
Subcarpathia
You can create a boot script to run automatically on boot.

You need root to try this:
1. Copy the dpi_changer.sh to /data/adb/service.d/ folder.
2. Set permissions to 744 or rwxr--r--
3. Create a file called dpi.txt in storage root or /sdcard with dpi value and reboot.

Deleting dpi.txt and reboot sets it to default (560).
After reboot, dpi will be applied after 60 secs.
It works, thank you!
 

SourPower

Senior Member
Nov 21, 2014
555
118
East
thank you OP for all the information

i just got my phone earlier today and updated it to latest OOS. im able to 'adb reboot bootloader' but from there the device isn't visible to 'fastboot flashing unlock' , just says waiting for any device...
i have oem unlocking enabled in developer settings and i tried on windows 11 and windows 10 pcs. i read i might need to disable some signature verification on windows to get it to work, but is there another work around without doing that?
 
  • Like
Reactions: kpirnie

ahasae

Senior Member
Nov 9, 2012
142
36
Weirdly, I can't get Magisk to hide properly, so I can't use my banking app, netflix, etc. Tried both Magisk Delta and the latest stable release, following the instructions here and on other forum posts, but nothing I try works. If anyone's gone through this and has figured out a solution, please do let me know. I'd really hate to have to unroot.

EDIT: Wanted to provide some more info. YASNAC CTS profile match fails (basic integrity passes fine), and I get L3 in DRM Info.

EDIT 2: Even more weirdly, I still get "this app won't work for your device" after unrooting as I was trying to start from scratch. I'm honestly confounded at this point.

Thanks in advance for any help! :)
Get these mods
MagiskHide Props Config
Systemless Hosts
Universal SafetyNet Fix

Enable zygisk
And enforce deny list

Delete data for every google app
Including framework/service
uninstall twrp app and delete folder from storage

It should work
 

ahasae

Senior Member
Nov 9, 2012
142
36
thank you OP for all the information

i just got my phone earlier today and updated it to latest OOS. im able to 'adb reboot bootloader' but from there the device isn't visible to 'fastboot flashing unlock' , just says waiting for any device...
i have oem unlocking enabled in developer settings and i tried on windows 11 and windows 10 pcs. i read i might need to disable some signature verification on windows to get it to work, but is there another work around without doing that?
I think you are missing fastboot driver
 
  • Like
Reactions: SourPower

andrew_yousry

Senior Member
Jan 31, 2012
79
12
Posted in our thread:

How to fix Netflix ? :​

Option 1 - Follow this guide

Option 2 - Flash the DRM module attached

2 options work for me. Pick up the one you want

Thank you @Steve0007 for your raply
I tried flashing that magisk module for disabling DRM but still no luck with getting Netflix to work.
I'm thinking to factory reset my phone and start everything all over again. Is there any way to check what is the problem?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    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.

    TMO-Unlock-1.png



    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.

    OnePlus 7 Pro fastboot unlock bootloader



    eNNFiSU.jpg



    Unlocking the bootloader wipes your device :
    s3sUBwb.jpg


    Root your Oneplus 11 (with Bootloader already unlocked)


    Patch OnePlus 11 Init_Boot.img via Magisk​

    1. Download and install the lastest Stable Magisk App starting from v26.1 works fine.
    2. Then launch it and tap on the Install button next to Magisk.
    3. After that, choose ‘Select and Patch a File’, and navigate to the stock init_boot.img file, and select it.
      root oneplus 11
    4. Then tap on the Let’s Go button situated at the top right.
      root oneplus 11
    5. 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.
      magisk-patched-init-boot-root-oneplus-11.jpg

    Boot OnePlus 11 to Fastboot Mode​

    1. Now connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
    2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
      command-prompt-inside-adb
    3. Type in the following command in the CMD window to boot your device to Fastboot Mode "adb reboot bootloader"

      root oneplus 11
    4. To verify the Fastboot connection, type in the below command and you should get back the device ID.fastboot devices
      Root Pixel 7 Pro

    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"
    OnePlus-8T-Rooting-fastboot-devices-command.jpg
    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

    OnePlus-8T-Install-OTA-After-Rooting.jpg



    5. Open Magisk Application

    a. Select the Install option.
    b. Use Install to inactive slot

    OnePlus-8T-Install-Magisk-Inactive-Slot.jpg



    OnePlus-8T-Reboot-Phone-After-Magisk-Installation.jpg


    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.

    OnePlus-8T-Restore-Images-Magisk-Manager.jpg




    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

    OnePlus-8T-Install-OTA-After-Rooting.jpg



    3. Open Magisk Manager

    a. Select the Install option.
    b. Use Install to inactive slot

    OnePlus-8T-Install-Magisk-Inactive-Slot.jpg



    OnePlus-8T-Reboot-Phone-After-Magisk-Installation.jpg

    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


    Screenshot_20210519-212423.jpg



    Hide everything under Google play services and store.:
    Screenshot_20210529-020855_2.jpg



    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.
    1621542183784.png



    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.
    5
    Stock init boot for us a.10

    As a side note if using kernel su method to root the kernel changed in this update to 5.15.74
    4

    OnePlus 11 Oxygen OS 13 A.10 Full Package​


    India version CPH2447
    official link
    official link
    official link

    Global version CPH2449_GLO
    official link
    official link
    official link

    European version CPH2449_EEA
    official link
    official link
    official link
    3
    I did, but it reverts back to 411 after reboot
    You can create a boot script to run automatically on boot.

    You need root to try this:
    1. Copy the dpi_changer.sh to /data/adb/service.d/ folder.
    2. Set permissions to 744 or rwxr--r--
    3. Create a file called dpi.txt in storage root or /sdcard with dpi value and reboot.

    Deleting dpi.txt and reboot sets it to default (560).
    After reboot, dpi will be applied after 60 secs.
    3

    OnePlus 11 Oxygen OS 13 A.09 Full Package​

    download link​

    India version CPH2447

    official link

    official link

    official link

    Global version CPH2449_GLO

    official link

    official link

    official link

    European version CPH2449_EEA

    official link

    official link

    official link