TWRP and ROOT on OB2 - OnePlus 7 Questions & Answers

Hi,
I wanted to update to OB2 and was kinda in a hurry, so long story short: I screwed up and am now on OB2 without root or TWRP.
Primarily I need root, so if anyone can point me to a guide, that would be much appreciated.... booting TWRP through fastboot doesn't seem to work.
If you have a good guide for also flashing TWRP, that would also be much appreciated, only stuff I found was guides with "patch the boot.img" ... hell, i don't know how to do that
thanks

momsi said:
Hi,
I wanted to update to OB2 and was kinda in a hurry, so long story short: I screwed up and am now on OB2 without root or TWRP.
Primarily I need root, so if anyone can point me to a guide, that would be much appreciated.... booting TWRP through fastboot doesn't seem to work.
If you have a good guide for also flashing TWRP, that would also be much appreciated, only stuff I found was guides with "patch the boot.img" ... hell, i don't know how to do that
thanks
Click to expand...
Click to collapse
Hello, check this out https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131

I've seen this post, but how do i patch the boot img of OB2?
or do i do that with the OB1 file ?

momsi said:
I've seen this post, but how do i patch the boot img of OB2?
or do i do that with the OB1 file ?
Click to expand...
Click to collapse
No, with the OB2 file. You can extract it also with the same method and patch it.

the same file?! there is no open beta 2 file ... you can only download the OB1 from oneplus and have to OTA to OB2..
I know how annoying it is when some noob (thats how i feel now) asks for step by step "click this button" guides, but can you please lend me a hand on this
I see .... i miss the old days with the nexus series or the first oneplus phones ... none of all the crap, no million partitions and A and B slots and all that ... just flashing...

momsi said:
the same file?! there is no open beta 2 file ... you can only download the OB1 from oneplus and have to OTA to OB2..
I know how annoying it is when some noob (thats how i feel now) asks for step by step "click this button" guides, but can you please lend me a hand on this
I see .... i miss the old days with the nexus series or the first oneplus phones ... none of all the crap, no million partitions and A and B slots and all that ... just flashing...
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
Know exactly what you mean. I did the same thing. Will break it down more granular.
1) Download the OB2 file
2) Unzip the OB2 zip file.
3) Download program found in (use this tool for it LINK <--- thanks @tidschi)
4) Unzip said program
5) Take payload.bin file and put it in the payload_input folder
6) Run the payload_dumper.exe found in the root payload folder (payload_dumper-win64)
7) Take the boot.img file from the payload_output folder and copy it to your phone
8) Open Magisk Manager on the phone and click INSTALL
9) Click INSTALL again
10) Click Select and Patch a File
11) Choose the boot.img file you copied from your computer (phone will create a magisk_patched.img file in your download folder)
12) Copy magisk_patched.img file from your phone to your computer
13) Fastboot your phone and install the magisk_patched.img file
14) Go back to Magisk Manager. It should now say it is rooted.
15) Go to Modules in Magisk and hit the + sign
16) Find your TWRP Zip file and install it.
You should now be rooted and have TWRP installed on your phone again.
Cheers!

swehes said:
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
Know exactly what you mean. I did the same thing. Will break it down more granular.
1) Download the OB2 file
2) Unzip the OB2 zip file.
3) Download program found in (use this tool for it LINK <--- thanks @tidschi)
4) Unzip said program
5) Take payload.bin file and put it in the payload_input folder
6) Run the payload_dumper.exe found in the root payload folder (payload_dumper-win64)
7) Take the boot.img file from the payload_output folder and copy it to your phone
8) Open Magisk Manager on the phone and click INSTALL
9) Click INSTALL again
10) Click Select and Patch a File
11) Choose the boot.img file you copied from your computer (phone will create a magisk_patched.img file in your download folder)
12) Copy magisk_patched.img file from your phone to your computer
13) Fastboot your phone and install the magisk_patched.img file
14) Go back to Magisk Manager. It should now say it is rooted.
15) Go to Modules in Magisk and hit the + sign
16) Find your TWRP Zip file and install it.
You should now be rooted and have TWRP installed on your phone again.
Cheers!
Click to expand...
Click to collapse
I thank you very much, really..... but now I feel even more stupid .... I again fail at the very first step. Which OB2 file? In the thread you linked, i only find the patching tool, no OB2 file, and at the oneplus site you can only download the OB1 file.

momsi said:
I thank you very much, really..... but now I feel even more stupid .... I again fail at the very first step. Which OB2 file? In the thread you linked, i only find the patching tool, no OB2 file, and at the oneplus site you can only download the OB1 file.
Click to expand...
Click to collapse
That's the rom itself, the full OxygenOS zip Open Beta 2: https://forum.xda-developers.com/on...7-repo-oxygen-os-builds-t3937152/post80254958
From there you need to extract the boot.img and patch it as explained before :good:

Well.... that did the trick ....
Thank you very much. :highfive:

magisk_patched image not flashing
swehes said:
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
12) Copy magisk_patched.img file from your phone to your computer
13) Fastboot your phone and install the magisk_patched.img file
You should now be rooted and have TWRP installed on your phone again.
Cheers!
Click to expand...
Click to collapse
while flashing magisk_patched.img I am getting this error
C:\Android>fastboot flash boot magisk_patched.img
target reported max download size of 805306368 bytes
sending 'boota' (49232 KB)...
OKAY [ 1.136s]
writing 'boota'...
FAILED (remote: (boota_a) No such partition)
finished. total time: 1.145s
what should I do ?
Update : got the new updated twrp which can be booted from fastboot

swehes said:
https://forum.xda-developers.com/oneplus-7/how-to/guide-how-to-flash-android-10-twrp-t3964131
Know exactly what you mean. I did the same thing. Will break it down more granular.
1) Download the OB2 file
2) Unzip the OB2 zip file.
3) Download program found in (use this tool for it LINK <--- thanks @tidschi)
4) Unzip said program
5) Take payload.bin file and put it in the payload_input folder
6) Run the payload_dumper.exe found in the root payload folder (payload_dumper-win64)
7) Take the boot.img file from the payload_output folder and copy it to your phone
8) Open Magisk Manager on the phone and click INSTALL
9) Click INSTALL again
10) Click Select and Patch a File
11) Choose the boot.img file you copied from your computer (phone will create a magisk_patched.img file in your download folder)
12) Copy magisk_patched.img file from your phone to your computer
13) Fastboot your phone and install the magisk_patched.img file
14) Go back to Magisk Manager. It should now say it is rooted.
15) Go to Modules in Magisk and hit the + sign
16) Find your TWRP Zip file and install it.
You should now be rooted and have TWRP installed on your phone again.
Cheers!
Click to expand...
Click to collapse
Will this still work even though I am on Stable 10.0.1 OOS?

Sobakel said:
Will this still work even though I am on Stable 10.0.1 OOS?
Click to expand...
Click to collapse
Yes, but you can do it easily with newer methods

Sorry to ask what is perhaps an easy question, but what are those newer methodes?

Sobakel said:
Sorry to ask what is perhaps an easy question, but what are those newer methodes?
Click to expand...
Click to collapse
See here https://forum.xda-developers.com/oneplus-7/how-to/guide-unlock-bootloader-flash-twrp-root-t3954559

Related

Stock recovery and boot collection

In case, you want the stock boot/recovery to install Magisk like me, you can get it out of the firmware.zip inside the OTA zip, which you can download from HTC server using the link:
Taiwan model 1.10.709.23:
http://fotadl-az.htc.com/secure/OTA....05.709.12_release_517077z7dxrjhjj6rk2y9h.zip
Taiwan model 1.23.709.3:
http://fotadl-az.htc.com/secure/OTA....10.709.23_release_518569sr63mm3mtji85ret.zip
Hong Kong model 1.10.400.23
http://fotadl-az.htc.com/secure/OTA....05.400.13_release_517158ov5r8lbbi6tc9m38.zip
I have extracted the recovery.img and boot.img for Taiwan version. If someone doesn't want to extract it themselves, let me know through PM. I can send it to you.
devsk said:
In case, you want the stock boot/recovery to install Magisk like me, you can get it out of the firmware.zip inside the OTA zip, which you can download from HTC server using the link:
http://fotadl-az.htc.com/secure/OTA....05.709.12_release_517077z7dxrjhjj6rk2y9h.zip
I have extracted the recovery.img and boot.img. If someone doesn't want to extract it themselves, let me know through PM. I can send it to you.
Click to expand...
Click to collapse
Desk
Thank you your work .Is this version recovery work for HTC U 11 PLUS China. Mainland version 2Q4D200.THANK YOU again.
Would you know how to enable volte and wifi calling?
cameljockey1 said:
Would you know how to enable volte and wifi calling?
Click to expand...
Click to collapse
Not yet.
Perfectionalism said:
Desk
Thank you your work .Is this version recovery work for HTC U 11 PLUS China. Mainland version 2Q4D200.THANK YOU again.
Click to expand...
Click to collapse
I would like to know this too. I have the Chinese U11+ and I'm desperately looking for the boot.img and recovery.img for this variant (2Q4D200)
Thanks in advance!
Prot02018 said:
I would like to know this too. I have the Chinese U11+ and I'm desperately looking for the boot.img and recovery.img for this variant (2Q4D200)
Thanks in advance!
Click to expand...
Click to collapse
screenshot of your software information page in settings showing "Software number" (e.g. 1.10.709.23 for me, it would be 1.xx.1405.xx for you).
devsk said:
screenshot of your software information page in settings showing "Software number" (e.g. 1.10.709.23 for me, it would be 1.xx.1405.xx for you).
Click to expand...
Click to collapse
Here's the screenshots! Many thanks devsk.
Perfectionalism said:
Desk
Thank you your work .Is this version recovery work for HTC U 11 PLUS China. Mainland version 2Q4D200.THANK YOU again.
Click to expand...
Click to collapse
Prot02018 said:
I would like to know this too. I have the Chinese U11+ and I'm desperately looking for the boot.img and recovery.img for this variant (2Q4D200)
Thanks in advance!
Click to expand...
Click to collapse
OCEAN_M_DTWL
modelid: 2Q4D20000
cidnum: HTCCN701
OTA zip link (1.05.1405.16 - 1.03.1405.1)
https://drive.google.com/file/d/1Q3Kz88fJm1NA6ccPcb1jbQstZYWASnFO/view?usp=sharing
nenebear said:
OCEAN_M_DTWL
modelid: 2Q4D20000
cidnum: HTCCN701
OTA zip link (1.05.1405.16 - 1.03.1405.1)
https://drive.google.com/file/d/1Q3Kz88fJm1NA6ccPcb1jbQstZYWASnFO/view?usp=sharing
Click to expand...
Click to collapse
Thanks nenebear. Is this is the OTA file to go from stock 1.03.1405.1 to latest 1.05.1405.16 ?
I found the RUU's for the version of my phone also. Can anybody here confirm that the stock recovery zip file found at the following link will allow me to go back to stock recovery if I decide to flash TWRP?
https://androidfilehost.com/?w=search&s=OCEAN_M_DTWL
Thanks guys
Please help me!
I have unlocked my bootloader, installed twrp. Unfortunately, twrp is worthless since it can not be used as it seems...
Now I wonder if I can use this guide to root my phone:
"1. Download http://fotadl-az.htc.com/secure/OTA_...bbi6tc9m38.zip
Edit / Important: Read next post down below before Step 2/
2. Extract firmware.zip.
3. Extract boot.img from firmware.zip from step 2 and transfer to the /sdcard.
4. Install Magisk Manager and select Beta channel
5. Click install and choose to use "patch the stock boot image" method. It will browse you to /sdcard. Choose the boot.img from step 3. After its done, it will give you path of patched boot image.
6. Transfer the patched boot image from step 5 to PC using 'adb pull'
7. Boot the phone into download mode and flash the patched boot image.
8. Reboot and enjoy!!"
Where/how can I get the correct boot.img för my device?
My version is "1.10.401.23 9.0_g CL991677 release-keys" and none of the download links match my version? Or can I use some of them anyway?
I would be very happy and thanksful if I got help so I can get root access!
Best regards/ David
Davil_79 said:
Please help me!
I have unlocked my bootloader, installed twrp. Unfortunately, twrp is worthless since it can not be used as it seems...
Now I wonder if I can use this guide to root my phone:
"1. Download http://fotadl-az.htc.com/secure/OTA_...bbi6tc9m38.zip
Edit / Important: Read next post down below before Step 2/
2. Extract firmware.zip.
3. Extract boot.img from firmware.zip from step 2 and transfer to the /sdcard.
4. Install Magisk Manager and select Beta channel
5. Click install and choose to use "patch the stock boot image" method. It will browse you to /sdcard. Choose the boot.img from step 3. After its done, it will give you path of patched boot image.
6. Transfer the patched boot image from step 5 to PC using 'adb pull'
7. Boot the phone into download mode and flash the patched boot image.
8. Reboot and enjoy!!"
Where/how can I get the correct boot.img för my device?
My version is "1.10.401.23 9.0_g CL991677 release-keys" and none of the download links match my version? Or can I use some of them anyway?
I would be very happy and thanksful if I got help so I can get root access!
Best regards/ David
Click to expand...
Click to collapse
I think yours is the Europe model. If so, download the following ZIP:
https://androidfilehost.com/?fid=889964283620770441
Extract firmware.zip from it, and you will then extract boot.img from the firmware.zip, and then, patch that in magisk manager. Hope that helps!
devsk said:
I think yours is the Europe model. If so, download the following ZIP:
https://androidfilehost.com/?fid=889964283620770441
Extract firmware.zip from it, and you will then extract boot.img from the firmware.zip, and then, patch that in magisk manager. Hope that helps!
Click to expand...
Click to collapse
Many thanks!
I should have a European model. If I'm looking in the Download mode:
"htc_ocmdugl PVT S-ON
LK-1.0.0.0000
RADIO 8998-002772-1711021849
OpenDSP-UNKNOWN
OS 1.10.401.23
Nov 25 2017.01: 13: 33 (991677)"
If something goes wrong, or if it would be the wrong boot.img, can I flash a complete RUU via adb fastboat so I dont brick my phone?
Davil_79 said:
Many thanks!
I should have a European model. If I'm looking in the Download mode:
"htc_ocmdugl PVT S-ON
LK-1.0.0.0000
RADIO 8998-002772-1711021849
OpenDSP-UNKNOWN
OS 1.10.401.23
Nov 25 2017.01: 13: 33 (991677)"
If something goes wrong, or if it would be the wrong boot.img, can I flash a complete RUU via adb fastboat so I dont brick my phone?
Click to expand...
Click to collapse
That link matches your version exactly. You should be good with boot.img from that ZIP. Make backup of your stuff and be very careful with commands you fire...
devsk said:
That link matches your version exactly. You should be good with boot.img from that ZIP. Make backup of your stuff and be very careful with commands you fire...
Click to expand...
Click to collapse
Hmm.. It is 25 pcs. compressed zip-files in this download.
In one of the zip there is "boot_signed.img"
It must be it. But when I try to unzip it doesn't work. It says the file is corrupt [emoji852]️.
I will try to download the file again, mayby the download failed.
Edit: The file is corrupt. I cant unzip it
Skickat från min HTC U11 plus via Tapatalk
Davil_79 said:
Hmm.. It is 25 pcs. compressed zip-files in this download.
In one of the zip there is "boot_signed.img"
It must be it. But when I try to unzip it doesn't work. It says the file is corrupt [emoji852]️.
I will try to download the file again, mayby the download failed.
Edit: The file is corrupt. I cant unzip it
Skickat från min HTC U11 plus via Tapatalk
Click to expand...
Click to collapse
You need RUU decrypt tool to retrieve the boot and recovery image
Root HTC U11+ European model software number 1.10.401.23
To root your HTC U11+ thru twrp use version 3.2.0.0
1. make sure you got Magisk-15.2 on you sd-card
2. boot into TWRP and leave system read only
3.goto install and install Magisk (in my case 15.2)
4. you will get error, like "can't mount data" (not to worry)
5. after install GO BACK!! DO NOT REBOOT!!
6. format data AND THEN reboot!!
7 You'll have to setup your phone as a new one; finish that and install Magisk_Manager
8 your now rooted!!! check with root checker
Hope this will help you;
Davil_79 said:
Please help me!
I have unlocked my bootloader, installed twrp. Unfortunately, twrp is worthless since it can not be used as it seems...
Now I wonder if I can use this guide to root my phone:
"1. Download http://fotadl-az.htc.com/secure/OTA_...bbi6tc9m38.zip
Edit / Important: Read next post down below before Step 2/
2. Extract firmware.zip.
3. Extract boot.img from firmware.zip from step 2 and transfer to the /sdcard.
4. Install Magisk Manager and select Beta channel
5. Click install and choose to use "patch the stock boot image" method. It will browse you to /sdcard. Choose the boot.img from step 3. After its done, it will give you path of patched boot image.
6. Transfer the patched boot image from step 5 to PC using 'adb pull'
7. Boot the phone into download mode and flash the patched boot image.
8. Reboot and enjoy!!"
Where/how can I get the correct boot.img för my device?
My version is "1.10.401.23 9.0_g CL991677 release-keys" and none of the download links match my version? Or can I use some of them anyway?
I would be very happy and thanksful if I got help so I can get root access!
Best regards/ David
Click to expand...
Click to collapse
bnwg said:
You need RUU decrypt tool to retrieve the boot and recovery image
Click to expand...
Click to collapse
Aha! Hm ok So it wasnt that easy. I am such a Noob .
I have never used that RUU decrypt tool and it seems a bit complicated but I have to try.
Thanks for your answer!
---------- Post added at 04:22 PM ---------- Previous post was at 04:12 PM ----------
freebsd124 said:
To root your HTC U11+ thru twrp use version 3.2.0.0
1. make sure you got Magisk-15.2 on you sd-card
2. boot into TWRP and leave system read only
3.goto install and install Magisk (in my case 15.2)
4. you will get error, like "can't mount data" (not to worry)
5. after install GO BACK!! DO NOT REBOOT!!
6. format data AND THEN reboot!!
7 You'll have to setup your phone as a new one; finish that and install Magisk_Manager
8 your now rooted!!! check with root checker
Hope this will help you;
Click to expand...
Click to collapse
Thank you! I will try this!
I'm considering starting a new thread. I know there are more people who have similar problems and considerations within this.
HTC-RUU-Decrypt_Tool
You'll find the htc-ruu_decrypt-tool here
Davil_79 said:
Aha! Hm ok So it wasnt that easy. I am such a Noob .
I have never used that RUU decrypt tool and it seems a bit complicated but I have to try.
Thanks for your answer!
---------- Post added at 04:22 PM ---------- Previous post was at 04:12 PM ----------
Thank you! I will try this!
I'm considering starting a new thread. I know there are more people who have similar problems and considerations within this.
Click to expand...
Click to collapse
freebsd124 said:
To root your HTC U11+ thru twrp use version 3.2.0.0
1. make sure you got Magisk-15.2 on you sd-card
2. boot into TWRP and leave system read only
3.goto install and install Magisk (in my case 15.2)
4. you will get error, like "can't mount data" (not to worry)
5. after install GO BACK!! DO NOT REBOOT!!
6. format data AND THEN reboot!!
7 You'll have to setup your phone as a new one; finish that and install Magisk_Manager
8 your now rooted!!! check with root checker
Hope this will help you;
Click to expand...
Click to collapse
YES! Root access :good: Finaly a success! :victory:
Now my phone is like I want it to be!! Thank you so much!!'
If it's useful for somebody wanting to try twrp and/or custom kernel...you can find inside stock boot and recovery for India/HK version, 1.10.400.23 and the new 1.24.400.2
https://drive.google.com/file/d/18FgmqIb_4UNpmRsXyxKj2bbCf6TnTXSd/view?usp=sharing

Need boot.img FRD-L09 B404

Hello everyone.
I unlocked a bootloader in my freshly bought Honor 8 last week and I the first thing I did was to flash a root package (obviously). I'm used to SuperSU, so tha's what I flashed. Then I found out about Magisk. I want to try it, but I need to flash stock boot.img in order to install it. My build number is FRD-L09C432B404 (EMUI 5.0, Android 7.0). Could anyone upload corresponding boot img? I'd be thankful.
Do it yourself! ^^
Wagierek said:
Hello everyone.
I unlocked a bootloader in my freshly bought Honor 8 last week and I the first thing I did was to flash a root package (obviously). I'm used to SuperSU, so tha's what I flashed. Then I found out about Magisk. I want to try it, but I need to flash stock boot.img in order to install it. My build number is FRD-L09C432B404 (EMUI 5.0, Android 7.0). Could anyone upload corresponding boot img? I'd be thankful.
Click to expand...
Click to collapse
Hello!
You can do it yourself, just follow these steps:
1) Download your firmware (update.zip) from hicloud url: update.zip
2) Extract zip
3) Download "Huawei Update Extractor 0.9.9.5" (zip file): HuaweiUpdateExtractor_0.9.9.5.zip
4) Extract zip
5) Open "HuaweiUpdateExtractor.exe" extracted from previous step
6) Click on the 2 dots button and navigate to the file to add the "UPDATE.APP" file ( extracted from step 2) ), it will show you all the files like boot.img , recovery.img , recovery2.img , system.img , etc.
7) Select "BOOT.img" and right-click > "Extract Selected". Choose this destination folder: Where fastboot/adb are installed.
8) Use fastboot command to flash "BOOT.img":
Code:
fastboot flash boot BOOT.img
Hope it helps you!
I'd rather not download 1.3GB of firmware for the sake of one small boot.img which can't be bigger than 50MBs, not to mention additional software I'll use probably never again, so I'd be thankful if someone sent already extracted boot
Wagierek said:
I'd rather not download 1.3GB of firmware for the sake of one small boot.img which can't be bigger than 50MBs, not to mention additional software I'll use probably never again, so I'd be thankful if someone sent already extracted boot
Click to expand...
Click to collapse
BOOT.img file from FRD-L09C432B404 firmware: Google Drive or MEGA
( Because I have nothing more important to do tonight lol )
Thanks for your support. I had to extract it anyways for stock recovery, so here it is in case someone needed it.
https://drive.google.com/file/d/1ILYXoUvKMSsb8uLmSY2pIMvFWeBJ--9X/view?usp=sharing

Question can't install magisk

after the latest apdate 13.0.3 i lose my magisk
and when i want to install it using adb it gives me a boot loop and i shoold to flash the original boot.img
Nb : ramdisk yes
Uninstall it thn flash it using Twrp
twrp can't read internal storage
but when i use the memory card then i click install the recovery restart directly
also by using adb the installation fail in 3%
souhail39 said:
twrp can't read internal storage
but when i use the memory card then i click install the recovery restart directly
also by using adb the installation fail in 3%
Click to expand...
Click to collapse
First flash the original boot image into your phone and make sure your phone can boot after you flash the original boot image.
fastboot flash Magisk-patched-boot.img
Patched boot image can be made on another phone.
https://forum.xda-developers.com/t/4288121/post-85137963
pl1992aw said:
First flash the original boot image into your phone and make sure your phone can boot after you flash the original boot image.
fastboot flash Magisk-patched-boot.img
Patched boot image can be made on another phone.
https://forum.xda-developers.com/t/4288121/post-85137963
Click to expand...
Click to collapse
This is what i did
The original boot run finely but the patched one give me a boot loop
Miui 13 doesn't support yet unless you patch the boot img. Just revert to 12.5.9
souhail39 said:
This is what i did
The original boot run finely but the patched one give me a boot loop
Click to expand...
Click to collapse
The safe way is to not flash boot image with TWRP or Orangefox custom recoveries. Flash with fastboot mode with PC is better to prevent issue.
What version of Magisk?
If you are using the latest Magisk v24.X but it bootloop, you may report issue to Magisk author in his github.
If you used Magisk v23, it is said not working on Android 12, so will not work on MIUI 13.
1. Download stock MIUI rom.
2. Extract two files: boot.img and vbmeta.img.
3. Compress the two files to a TAR file, like: boot_and_vbmeta.tar
4. Copy the TAR file to the device.
5. Open magisk app.
6. Choose "Install magisk to file" and select the TAR file. It will create the file magisk_patched.tar
7. Copy the magisk_patched.tar file to the PC.
8. Extract magisk_patched.tar to get boot_patched.img and vbmeta_patched.img
9. Enter in fastboot in device.
10. Flash boot_patched.img and vbmeta_patched.img to the device:
Code:
fastboot flash boot boot_patched.img
fastboot flash vbmeta vbmeta_patched.img
VD171 said:
1. Download stock MIUI rom.
2. Extract two files: boot.img and vbmeta.img.
3. Compress the two files to a TAR file, like: boot_and_vbmeta.tar
4. Copy the TAR file to the device.
5. Open magisk app.
6. Choose "Install magisk to file" and select the TAR file. It will create the file magisk_patched.tar
7. Copy the magisk_patched.tar file to the PC.
8. Extract magisk_patched.tar to get boot_patched.img and vbmeta_patched.img
9. Enter in fastboot in device.
10. Flash boot_patched.img and vbmeta_patched.img to the device:
Code:
fastboot flash boot boot_patched.img
fastboot flash vbmeta vbmeta_patched.img
Click to expand...
Click to collapse
thx for your answer but always the same problem with patched img files

Question are there any custom recovery that's compatible with a125m?

i've been looking for one everywhere but i cant really find one..
but if someone tells me how to like make a twrp for it (the latin variant), it'd be nice
thank you!
so, are there any news about this?
kalii_ said:
so, are there any news about this?
Click to expand...
Click to collapse
Nobody supports or develops for that variant of the A12. The only time was a custom recovery, that was abandoned and doesn't work anymore.
kalii_ said:
so, are there any news about this?
Click to expand...
Click to collapse
Nevermind... Ask @physwizz for your version.
TheWorldYT said:
Nevermind... Ask @physwizz for your version.
Click to expand...
Click to collapse
[AOSP-11] [OFFICIAL] Samsung SM-A125F TWRP
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS Install instructions: 1. Download an arbitrary SM-A125F firmware zip package on SamMobile.com, whose Android...
forum.xda-developers.com
If it doesn't work I can easily modify it
physwizz said:
[AOSP-11] [OFFICIAL] Samsung SM-A125F TWRP
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS Install instructions: 1. Download an arbitrary SM-A125F firmware zip package on SamMobile.com, whose Android...
forum.xda-developers.com
If it doesn't work I can easily modify it
Click to expand...
Click to collapse
well, it doesnt work for me sadly, since the A125F model is a little different from the 125m, itll just start rebooting. if you can make a modifed version for it, ill glady test it for you. the firmware that i got is the ZTO A125MUBU3BVG6
Thank you
kalii_ said:
well, it doesnt work for me sadly, since the A125F model is a little different from the 125m, itll just start rebooting. if you can make a modifed version for it, ill glady test it for you. the firmware that i got is the ZTO A125MUBU3BVG6
Thank you
Click to expand...
Click to collapse
Send me your stock recovery.img.lz4
And I'll see what I can do
physwizz said:
Send me your stock recovery.img.lz4
And I'll see what I can do
Click to expand...
Click to collapse
here it is:
recovery.img.lz4
Download recovery.img.lz4 for free from KrakenFiles.com
krakenfiles.com
kalii_ said:
here it is:
recovery.img.lz4
Download recovery.img.lz4 for free from KrakenFiles.com
krakenfiles.com
Click to expand...
Click to collapse
Ok
kalii_ said:
here it is:
recovery.img.lz4
Download recovery.img.lz4 for free from KrakenFiles.com
krakenfiles.com
Click to expand...
Click to collapse
thank you for the response, but unfortunally it soft bricks and won't boot past the boot screen. is there a way i can help to make it work?
hey, i've found the issue, i gave you the wrong file, sorry about that. if you got paypal maybe i can send you 5 dollars just to compensate you for my mistake...
thank you
@physwizz
kalii_ said:
hey, i've found the issue, i gave you the wrong file, sorry about that. if you got paypal maybe i can send you 5 dollars just to compensate you for my mistake...
thank you
@physwizz
Click to expand...
Click to collapse
Lol.
I don't take money
physwizz said:
Lol.
I don't take money
Click to expand...
Click to collapse
well, alright. just wanted to support you
kalii_ said:
well, alright. just wanted to support you
Click to expand...
Click to collapse
I do this for fun and to keep my old brain active
Unzip to get the tar file.
Installing instructions in next post
Installing Custom Recoveries
A. Preparation.
1. Download firmware for your device
2. Extract ap file using Zarchiver and extract recovery.img from recovery.img.lz4 and compress it to recovery.tar
3. Patch the ap file with a magisk which will patch both boot.img and vbmeta.img (from magisk, choose install then select file to patch)
Exynos 850 Resources
t.me
Alternatively you can extract boot.img.lz4 and vbmeta.img.lz4 from the ap file and compress them into a new tar file and then patch that file.
note: if you don't want root then just extract the vbmeta.img and use zarchiver to add it to my twrp.tar file.
You can flash this new file from odin at step 5
For Exynos 850 android 11 use a21s patched magisk.
For Exynos 850 android 12 and most other devices use delta magisk
4. Unlock OEM in developer options
5. Attach phone to pc and reboot to download mode
6. flash patched ap file.
Or..
Extract boot.img and vbmeta.img and add them to the TWRP zip.
7. Download recovery.img or download twrp.tar and extract recovery.img using Zarchiver.
B.Installation
Method 1.
1. Connect to pc and boot into stock recovery
2. Factory reset
3. Reboot into download mode.
4. flash twrp.tar into the ap slot
5. reboot to recovery
6. Advanced, terminal. Type multidisabler (twice).
7.
Or flash samsung multidisabler zip
Or, for older phones flash dmverity zip
8. Reboot to recovery from main menu (not just reboot)
Backup boot, data, super and dtbo
9. Reboot to system
Method 2.
If you have already installed recovery and decrypted.
Extract recovery.img
1. Boot to recovery.
2. Install recovery.img
3. Choose recovery partition
4. Reboot to system then reboot to recovery
Backup boot, data, super and dtbo
(For Pitch-black just install the zip)
Method 3.
1. Install TWRP app
Extract recovery.img
2. Install TWRP
3. Choose file to flash.(don't select device)
4. Select recovery.img.
5. Reboot to recovery.
6. (You may need to change data partition to ext4 first if format ruins your system)
7. Reboot to recovery.
8. Wipe, format data, type YES.
9. Advanced, terminal.
10.Type multidisabler (twice).
Or flash samsung multidisabler zip
Or, for older phones flash dmverity zip
11.Reboot to recovery
12. Flash Magisk for root(only for method 3)
13. Backup boot, data, super and dtbo
Method 4
Using a second phone
Physwizz Collection
To flash TWRP from phone1 to phone2 Only if you have already installed recovery and decrypted. 1. Install this termux on phone1 2. Setup storage termux-setup-storage 3. Install this Heimdall Magisk module on phone1 Or install chroot Linux on termux and then install heimdall 4. Copy...
t.me
C. Recovery Problems
Most recovery issues can be solved by attending to the following issues.
1. Did you root using the full ap file patched Magisk .
(This contains the patched boot.img and vbmeta.img)
Exynos 850 users must use the special a217 magisk?
2. Did you then go all the way through the setup process?
3. Did you download the recovery to match your baseband?
See https://t.me/a127f_res/54 for Exynos 850 recoveries
4. Did you hold down power and volume up after Odin says pass?
5. Did you format data from stock recovery?
If you forgot to do this, just install stock recovery.img from TWRP and reboot.
6. Did you type multidisabler twice?
7. Did you reboot to recovery by choosing reboot from the menu and then choosing recovery?
8. To avoid touch issues go to settings and untick "allow time out"
D.To restore Stock Recovery
1. Attach phone to pc and reboot to download mode
2. flash patched ap file or stock recovery.tar
3. reboot
Or just flash stock recovery.img from twrp and reboot.
@physwizz

Question Does anyone know how to root oneplus 9 Android 13.1?

Alguém sabe como fazer root no oneplus 9 Android 13.1?
First of all, please write in English. This is an English-only forum.
You can root the latest 13.1 firmware the same way you root others. I assume you already have the bootloader unlocked, proper drivers installed on your PC, and basic know-how of fastboot/adb commands. Here is the process:
You need to get the boot.img of your current firmware. You can extract it through MSM Tool's Read Back feature. In case you don't know about MSM, I have attached the boot.img for latest OOS13.1 firmware LE2115_13.1.0.500(EX01). Download and extract zip file and you will have boot.img. Copy this boot.img to your phone. Next you need to download/install Magisk v26.1 on your phone. Open the app, click Install and select that boot.img. Magisk will patch that boot.img and create a new patched_boot.img in your phone's Download folder. Copy that patched_boot.img to your PC. Reboot your phone to bootloader mode. Run this command to temporarily boot the patched_boot.img:
fastboot boot <your_patched_boot.img>
Note that this command is to boot it temporarily. It DOES NOT flash it. Ok, so once your phone boots up, open Magisk app again, click Install and select Direct Install. Now Magisk will root your current firmware permanently.
By this method of temporary booting and then rooting with Magisk's Direct Install method, Magisk will backup your original boot.img. So whenever there is a new software update, you can go to Magisk, select Uninstall, choose Restore Images, and Magisk will revert your original stock boot.img from it's backup. Then you can proceed with system update. Otherwise, without restoring original boot.img, the system update will fail because of patched_boot.img.
Here is the zip attachment. Make sure to extract it.
Thank you friend
shadabkiani said:
First of all, please write in English. This is an English-only forum.
You can root the latest 13.1 firmware the same way you root others. I assume you already have the bootloader unlocked, proper drivers installed on your PC, and basic know-how of fastboot/adb commands. Here is the process:
You need to get the boot.img of your current firmware. You can extract it through MSM Tool's Read Back feature. In case you don't know about MSM, I have attached the boot.img for latest OOS13.1 firmware LE2115_13.1.0.500(EX01). Download and extract zip file and you will have boot.img. Copy this boot.img to your phone. Next you need to download/install Magisk v26.1 on your phone. Open the app, click Install and select that boot.img. Magisk will patch that boot.img and create a new patched_boot.img in your phone's Download folder. Copy that patched_boot.img to your PC. Reboot your phone to bootloader mode. Run this command to temporarily boot the patched_boot.img:
fastboot boot <your_patched_boot.img>
Note that this command is to boot it temporarily. It DOES NOT flash it. Ok, so once your phone boots up, open Magisk app again, click Install and select Direct Install. Now Magisk will root your current firmware permanently.
By this method of temporary booting and then rooting with Magisk's Direct Install method, Magisk will backup your original boot.img. So whenever there is a new software update, you can go to Magisk, select Uninstall, choose Restore Images, and Magisk will revert your original stock boot.img from it's backup. Then you can proceed with system update. Otherwise, without restoring original boot.img, the system update will fail because of patched_boot.img.
Click to expand...
Click to collapse
Thank you for the specifics. I haven't decided whether or not I will modify my OnePlus 9 but I will keep this in mind.
Get token.
Flash token.
Enable unlock bl in dev options.
Install Magisk inside Andoid.
Congrats you did it.
Is there a boot img for LE2115_13.1.0.101(CN01)?
oneplus 9 LE2115_13.1. colorOS
ahumzert said:
Is there a boot img for LE2115_13.1.0.101(CN01)?
Click to expand...
Click to collapse
You can use MSM Tool to extract the Boot.img file, this is how most of use get our hands on the image files. I have provided a guide below on how to do this.
MSM Download Tool Read Back Mode: Create OnePlus Backup!
In this guide, we will show you the steps to take a backup of all the partitions on your OnePlus device via MSM Download Tool Read Back Mode.
droidwin.com

Categories

Resources