How To Guide Root permissions guide for OP11 EU (2449) & backup partition "Persist.img"

Search This thread

ChrisFeiveel84

Senior Member
Jun 29, 2017
831
279
39
Germany
OnePlus 11
Can i use the packages in OP for OTA CPH2449_11_A.07 package to patch the latest CPH2449_11_A.10 (eu) or do i need a different img file?
You need the init_boot.img from the rom what you use . When you on a10 build than you need the init_boot.img from this build


Download the full a10 build unpack it with payload dumper or use fbe and dump.the init_boot.img and patch it
 

jim4652000

New member
Jun 3, 2008
3
0
You need the init_boot.img from the rom what you use . When you on a10 build than you need the init_boot.img from this build


Download the full a10 build unpack it with payload dumper or use fbe and dump.the init_boot.img and patch it
Thanks.
Where can i find the full a10 build? I searched online for it but can't seem to find anything - that was why i was asking.
 

ChrisFeiveel84

Senior Member
Jun 29, 2017
831
279
39
Germany
OnePlus 11
Thanks.
Where can i find the full a10 build? I searched online for it but can't seem to find anything - that was why i was asking.

For eu


And here you can find all builds
 

jim4652000

New member
Jun 3, 2008
3
0

For eu


And here you can find all builds
Thanks!
 

Arrowblue

Senior Member
Jan 21, 2013
927
355
Antwerpen
OnePlus 8T
OnePlus 11

For eu


And here you can find all builds
Hi,
Can you do me a favor and magisk patched the boot.img and provide me one? I got this mobile when i was leaving for vacation, i have a laptop but my Internet is a 3g unstable service( location Balochistan dessert in Pakistan). I did unlocked the bootloader but cant download the orignal firmware. It says 20 days remaining to download and than cancles the download after a day. I need to root my device so i can hide root from my bank apps so they can start working!. Let me know if you can help. Thanks in advance
 

ChrisFeiveel84

Senior Member
Jun 29, 2017
831
279
39
Germany
OnePlus 11
Hi,
Can you do me a favor and magisk patched the boot.img and provide me one? I got this mobile when i was leaving for vacation, i have a laptop but my Internet is a 3g unstable service( location Balochistan dessert in Pakistan). I did unlocked the bootloader but cant download the orignal firmware. It says 20 days remaining to download and than cancles the download after a day. I need to root my device so i can hide root from my bank apps so they can start working!. Let me know if you can help. Thanks in advance
for op11 you need no boot.img for root you need init_boot:img for root

here is init_boot.img for op11 eu (not global ) for oos 13.1.0.580
 

Attachments

  • init_boot.img
    8 MB · Views: 13

stilgar123

New member
Jan 27, 2019
3
0
hey there, so I want to start the rooting process, and I've been reading all the comments to make sure I have everything in order.
question before I start. I currently have OTA CPH2449_13.1.0.580(ex01). On this website https://yun.daxiaamu.com/OnePlus_Roms/一加11/
I only see the same OTA but instead of ex01, it's A.23
are these two the same versions?
and if I understood correctly, I need the payload.bin from this ota and the one provided in the thread won't work?
 

Nitram08

Member
Mar 30, 2015
25
7
Hi, I'm stuck at step 16, I open cmd from the payload-dumper folder and enter the command that says the payload.bin file is already inside the folder and the answer is that it doesn't exist But really if it is in the folder, what am I doing wrong?
 

surajpai524

Senior Member
May 5, 2014
331
96
Samsung Galaxy Pocket
Nubia Z11
Hi, I'm stuck at step 16, I open cmd from the payload-dumper folder and enter the command that says the payload.bin file is already inside the folder and the answer is that it doesn't exist But really if it is in the folder, what am I doing wrong?
The extracted payload.bin must be in the same folder as payload-dumper.exe. or pass absolute path to Payload-Dumper.exe
 

Nitram08

Member
Mar 30, 2015
25
7
El payload.bin extraído debe estar en la misma carpeta que payload-dumper.exe. o pase la ruta absoluta a Payload-Dumper.exe
The file is inside that folder, I even tried putting the long path and nothing, I also tried on another pc and exactly the same, so I'm not doing something right
 

Attachments

  • IMG20230729201044.jpg
    IMG20230729201044.jpg
    2.7 MB · Views: 19

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    You do everything you do according to this guide only at your own responsibility.

    There were a lot of contradictory and various complications during the process of rooting the new OnePlus 11 model.
    The process described below was performed on my own copy of OnePlus 11 (model EU, CPH2449) with an OTA installed with the number CPH2449_11_A.07.


    Necessary:
    - Android SDK Platform eg. Android SDK Platform,
    - fastboot/adb drivers to the operating system,
    - Magisk V25.2 - Magisk,
    - payload-dumper-go_1.2.2 and/or fastbbot enhance v1.4.0 - Payload-dumper-Go/Fastboot Enhance,
    - OTA CPH2449_11_A.07 package - CPH2449_11_A.07 (Eu) - thnx @ChrisFeiveel84
    - safetynet-fix-v2.4.0 - Safety-Net Fix - MOD SafetyNet-Fix_2.4.0-MOD_1.2 (Displax)


    Here is the whole process of obtaining a root after which there are no problems with the automatic brightness of the screen, changing the color of the display, setting PIN/fingerprints/Facial unlock:

    A. Factory Reset:

    1. Complete reset for factory settings,​


    B. Unlocking bootloader:

    2. After launching, the basic configuration without setting locks, logging in to the Google account,​
    3. Turn on the programmer's options (click 7 times in the "Compilation number" field in the "device information/version" section),​
    3. Go to "Additional settings/programmer options" enable "USB debugging" and connect a USB cable and agree with remembering the imprint of our computer address,​
    4. Being still in "Additional Settings/Programmer Options" Turn on "OEM blocking",​
    5. We run the CMD console in the system from the "Android SDK Platform" directory,,​
    6. In the console window, enter:​
    adb reboot bootloader​
    7. Just in case, we check whether the controller works correctly by entering the command in CMD:​
    After completing the command, it should be displayed:​
    xxxxxxxx fastboot (where xxxxx is the serial number of our OnePlus)​
    8. Now it remains only to unlock the bootloader by entering the command in CMD:​
    Fastboot flashing unlock​
    Now information about the consistency of unlocking will be displayed on the OP11 screen, there are two options at the bottom of the screen:​
    - resignation from unlocking and the second about starting unlocking. We make the choice of calm volume. We use the "Power" key for approval.​
    9. After unlocking the bootloader in the CMD window, the status will be displayed:​
    Okay [0.019s]​
    Finned. Total Time: 0.021s​
    10. Now only restart is left. Remember that it may take a while!​
    You will see text information on the start screen that the device has no integrity (or something similar).​


    C. First start after unlocking the bootloader:

    11. After launching, the basic configuration without setting locks, logging in to the Google account,​
    12. Turn on the programmer's options (click 7 times in the "Compilation number" field in the "device information/version" section),​
    13. Go to "Additional settings/programmer options" enable "USB debugging" and connect a USB cable and agree with remembering the imprint of our computer address,​

    D. Preparation for rooting:

    14. We copy a file called "payload.bin" to the Payload-Dumper directory from our Ota archive,​
    16. In the open command line window in the "Payload-Dumper" directory, enter the command:​
    payload-dumper-go.exe payload.bin​
    there will be a process of extraction of partition images, which will be presented in the CMD window,​
    17. After the process is completed in the Payload-Dumper catalog, a subdirectory called "extracted_data unpacking" was created,​
    18. In this subdirectory we find a file called "Init_boot.img" and copy it to the catalog with "Android SDK Platform",​
    19. You can close the CMD window with payload-dumper,​
    20. Copy the "Init_boot.img" file from the computer to our OP11 is the best for the main memory catalog or to the Download subdirectory on OP11,​
    21. We copy the Magisk installation file from the computer to our OP11,​
    22. In OP11 we install "Magisk V25.2",​
    23. After installing, we run Magisk and in the upper right corner we will see the "Install" field, click it and select the only "Select and Patched File" option,,​
    24. We indicate the file that we copied to the OP11 called "Init_boot.img" - the process of its patch by Magisk will begin,​
    25. After the process is completed in the "Download" subdirectory, a modified file was created called more or less such "magisk_patched_25200_xxxx.img",​
    26. We copy this file to our hard disk for the "Android SDK Platform" directory,​

    E. Starting root:

    27. In the CMD console opened in the "Android SDK Platform" catalog, enter:​
    adb reboot bootloader​
    We check the correctness of the connection and drivers by entering:​
    After completing the command, it should be displayed:​
    xxxxxxxx fastboot (where xxxxx is the serial number of our OnePlus),​
    28. Now the key moment, we flash the dealing init_boot by entering the command in a dollar CMD window:​
    fastboot flash init_boot magisk_patched_25200_xxxx.img​
    29. The status of the process should be displayed:​
    Sending 'Init_boot' (8192 KB) Okay [0.191S]​
    Writing 'Init_boot' Okay [0.003S]​
    Finned. Total Time: 0.306s​
    30. Make a restart by entering the command:​
    Remember that it may take a while!​
    You will see text information on the start screen that the device has no integrity (or something similar).​

    F. First launch after obtaining root:

    31. After starting OP11, we check if it went properly. We run "Magisk" and in the upper part there should be the status that Ramdisk is enabled.​
    It is recommended to include in the "magciscus" options "zygisk" and "forcing the refusal list".​
    After turning it on, "Set the refusal list" will be activated and after selecting it will be displayed a list of installed applications, click in the upper corner​
    Three dots and select "System applications". Press the applications that we intend to use and which are "allergic" for root (e.g. banking applications, proximity payments).​
    32. Make a reboot from the "Magisk" level,​

    G. Final configuration:

    33. After starting OP11, you can easily set and turn on PIN/Pattern/fingerprints/Facial unlock.​
    It also works without any problems automatically set screen brightness, change of color mode​

    H. Hiding "Magisk":

    34. In Magisk options, select "Hide Magisk applications",​
    35. A prompt for permission will be displayed for installation,​
    36. We give our name of the "Magisk" application.​

    I. Safety-Net Fix:

    37. In "Magisk" we enter the "Modules" section,​
    38. We indicate the archive "SafetyNet-Fix-V2.4.0" and after loading the module from the "Magisk" level we make a reboot.​

    J. Copy of security of the "Persist" partition:
    39. In the opened CMD window launched in the "Android SDK Platform" catalog, enter:​
    We will then enter the shell op11 shell and we will have a similar sign of encouragement:​
    Now we simply enter the command:​
    The OP11 screen will display a prompt for granting root - we accept, after that, the console will change the sign with "$" to "#", meaning:​
    40. Now we will make a copy of the "Persist.img" partition by entering the command:​
    Op594dl1:/ #​
    dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img​
    After completing the command, the state will be returned:​
    65536+0 Records In​
    65536+0 records out​
    33554432 Bytes (32 m) Copied, 0.116349 pp. 275 m/s​
    Op594dl1:/ #​
    41. We can enter the exit and simply closing the CMD console window.​
    42. Now you should copy to your hard disk and/or in your cloud image file "Persist.img" partitions from the memory of our OP11.
    State on 2023.02.17:
    The official script "SafetyNet-Fix_2.4.0" despite the fact that it goes through all integrity tests, you can't add your cards to the "Google wallet".
    The situation is changed by the mod of this script by Displax:
    SafetyNet-Fix_2.4.0-MOD_1.2

    Now cards added to the "Google wallet" :))
    2
    Fastboot flashing unlock?
    This comand?
    And you ar on bootloader modus? Not on fastbootd
    Alright, it seems I was in Fastbootd mode and not in Bootloader as I should be. This has become (even more) confusing since now there are this two modes plus recovery. Before wasn't like that. 😅
    Well, I hope at least this can be helpful for somebody facing the same mistake.
    Thanks a lot @ChrisFeiveel84 for your help, you hinted the exact issue. 👌
    2
    Hi all, I am looking for advice on updating my CPH2449 EU (A.08) model:

    I downloaded the full ROM (A.09) and updated via local update in settings. Then I went to magisk and flashed to other slot. I forgot to deactivate my only magisk module, the safetynet-fix. When rebooting, my phone bootlooped at the OnePlus logo about 6-7 times, then it automatically booted the old slot again.

    I now disabled the safetynet-fix module and haven't restarted since. How would you proceed with the update? Just reboot?

    Thank you in advance for any advice!
    After flashing the full OTA update, you do not select "Install now" but go to "Magisk" and in it you do as before - "Installs to inactive slot".
    The only difference is that after patching is complete, you do not reboot from "Magisk" but return to the screen from "loading local copy" and on it you select the "Install now" button.

    This is how I did the upgrade from A.07 to A.08 and then from A.08 to A.09. It works without having to disable the "SafetyNet-fix" module in magisk.


    regards
    q.
    2
    State on 2023.02.17:
    The official script "SafetyNet-Fix_2.4.0" despite the fact that it goes through all integrity tests, you can't add your cards to the "Google wallet".
    The situation is changed by the mod of this script by Displax:
    SafetyNet-Fix_2.4.0-MOD_1.2

    Now cards added to the "Google wallet" :))
    Dude, you're an absolute genius. The modded SafetyNetFix did the trick, I can now add GPay cards successfully! Thank you. See here:
    photo_5442703263708334071_y.jpg
    photo_5442703263708334072_y.jpg