TWRP for EMUI 9.1? - Honor 7X Questions & Answers

Is there TWRP for EMUI 9.1? My device is BND-L21. I've recently unlocked my device with PotatoNV and now I'm stuck here trying to find a TWRP image compatible with my device so I can install Magisk. Thank you

I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
First step:
Boot into fastboot mode
adb reboot bootloader
Click to expand...
Click to collapse
Second step:
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
fastboot flash recovery_ramdisk magisk_patched-twrp.img
Click to expand...
Click to collapse
Last step and important to activate magisk:
Boot into the recovery. You won't see the recovery, so don't worry about that.
adb reboot recovery
Click to expand...
Click to collapse
After that, magisk should be active
Just for your information:
--------------------------------------------------
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
fastboot flash recovery_ramdisk unpatched_twrp.img
Click to expand...
Click to collapse
I also attached the original emui 9 recovery,:
fastboot flash recovery_ramdisk recovery_ramdisk.img
Click to expand...
Click to collapse
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.

jonnymcweed said:
I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
I also attached the original emui 9 recovery,:
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.
Click to expand...
Click to collapse
Can you upload boot.img file please.

jonnymcweed said:
I've solved this issue by patching the twrp recovery image in the Magisk installer menu. Magisk will be enabled after this. The problem is, that you won't able to boot into the recovery after that. When you flash the unpatched recovery image again, magisk won't be activated anymore, but you'll be able to boot into twrp again.
You can use my attached patched image file and flash it in fastboot mode (Magisk v23.0):
The unpatched twrp is booting, but doesn't decrypt the data partition and is not able to flash magisk.zip, even if it seems that everything works fine when installing the zip file:
I also attached the original emui 9 recovery,:
You can also patch the recovery_ramdisk.img in Magisk and use it to gain root access if you like.
But remember: you wont be able to boot into recovery if you do this, until you flash the unpatched file again.
Click to expand...
Click to collapse
Is this device specific ?!
My device is Honor 7x(BND-AL10); EMUI - 9.1.0; Android - 9

kurangan said:
Is this device specific ?!
My device is Honor 7x(BND-AL10); EMUI - 9.1.0; Android - 9
Click to expand...
Click to collapse
I don't know to be honest.
My device is BND-L21.
You can try to patch my unpatched twrp or original ramdisk file and flash it via fastboot as I described it.
Maybe you can also extract the files from the specific rom image of your device, if you can find it.

Related

[ROOT] [MAGISK] How to root

Just wanted to inform you, that rooting with Magisk works like a charm. Even without TWRP.
What you need:
Magisk Manager: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
boot.img from your ROM (prepatched boot.img for CN_V10.0.11.0 ROM here: https://filebase.philipp.technology/filebase/index.php?page=Entry&entryID=19)
Unlocked Bootloader
ADB and Fastboot on your PC (Simple ADB & Fastboot Installer: https://filebase.philipp.technology/filebase/index.php?page=Entry&entryID=5)
Installation:
Install MagiskManager.apk on your Smartphone
---SKIP IF YOU USE THE PREPATCHED BOOT.IMG---
Put the unpatched boot.img on your phone
Open MagiskManager and Click "Install"
Select "Patch boot.img" and choose the boot.img with your file manager
Copy the "patched_boot.img" file on your PC
---CONTINUE HERE---
Now connect your Mix 3 to the PC and boot in fastboot mode (over the command line: adb reboot bootloader)
Navigate with the command line to your folder, where you saved the patched_boot.img
Now flash the patched_boot.img file with fastboot: fastboot flash boot patched_boot.img
If the flash is successfull you can reboot the phone with fastboot reboot
Open the MagiskManager and verify that Magisk is installed and your phone is rooted.
Thanks so much! Will try this out! Nice work!
Thanks, after i root my mix 3 can i flash the xiaomi.eu rom on it too without problems ?
Normally you don't need root to flash Xiaomi.eu ROM, just TWRP. But there is no TWRP yet. You could try "Flash Fire", but I don't know if it would work. Never did that before. If you try it make sure, that you have USB Debugging enabled and know how to use common tools like MiFlash etc.
If you are unexperienced wait for TWRP.
PJF16 said:
Normally you don't need root to flash Xiaomi.eu ROM, just TWRP. But there is no TWRP yet. You could try "Flash Fire", but I don't know if it would work. Never did that before. If you try it make sure, that you have USB Debugging enabled and know how to use common tools like MiFlash etc.
If you are unexperienced wait for TWRP.
Click to expand...
Click to collapse
I used TWRP before and Rooted before too but i never used Flash Fire or Flashify. I don't know how hard it would be to use them.
Please report back your success and how it goes for you!
SacredSovL said:
I used TWRP before and Rooted before too but i never used Flash Fire or Flashify. I don't know how hard it would be to use them.
Click to expand...
Click to collapse
It's risky and something I won't be trying, I would wait for TWRP
Hi PJF16
How did you get the boot.img from your device without root? I'd love to make a unmodified copy before trying this out
I got it from the fastboot ROM which I also uploaded to the forum. See here: https://forum.xda-developers.com/mi-mix-3/development/xiaomi-mi-mix-3-fastboot-roms-t3869532
Tested and 100% working! Recommended
smiba said:
Tested and 100% working! Recommended
Click to expand...
Click to collapse
Did u flash xiaomi.eu rom or something else ?
PJF16 said:
Just wanted to inform you, that rooting with Magisk works like a charm. Even without TWRP.
What you need:
Magisk Manager: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
boot.img from your ROM (prepatched boot.img for CN_V10.0.11.0 ROM here: https://filebase.philipp.technology/filebase/index.php?page=Entry&entryID=19)
Unlocked Bootloader
ADB and Fastboot on your PC (Simple ADB & Fastboot Installer: https://filebase.philipp.technology/filebase/index.php?page=Entry&entryID=5)
Installation:
Install MagiskManager.apk on your Smartphone
---SKIP IF YOU USE THE PREPATCHED BOOT.IMG---
Put the unpatched boot.img on your phone
Open MagiskManager and Click "Install"
Select "Patch boot.img" and choose the boot.img with your file manager
Copy the "patched_boot.img" file on your PC
---CONTINUE HERE---
Now connect your Mix 3 to the PC and boot in fastboot mode (over the command line: adb reboot bootloader)
Navigate with the command line to your folder, where you saved the patched_boot.img
Now flash the patched_boot.img file with fastboot: fastboot flash boot patched_boot.img
If the flash is successfull you can reboot the phone with fastboot reboot
Open the MagiskManager and verify that Magisk is installed and your phone is rooted.
Click to expand...
Click to collapse
I feel like I'm missing something. I fastboot flash but it gets hung up in cmd. Should not take as long as it is trying to
souless poet said:
I feel like I'm missing something. I fastboot flash but it gets hung up in cmd. Should not take as long as it is trying to
Click to expand...
Click to collapse
Nevermind figured it out...duh.
Not working on 8.11.15 dev china rom...
Patched boot is much smaller than it should be and after flashing and fastboot reboot command, phone goes back to fastboot mode
It's normal that the patched boot.img is smaller.
PJF16 said:
It's normal that the patched boot.img is smaller.
Click to expand...
Click to collapse
I know that.
But this is quite smaller than usual and, anyway, it doesn't boot after flashing
Anyone have any issues with v4A magisk module? After I flashed it I lost the ability to turn on wifi. Wondering if anyone else has had that issue.
where can i find the pre patched boot img of 10.0.12.0?
Just use the one for 10.0.11.0.
nosidefcp said:
where can i find the pre patched boot img of 10.0.12.0?
Click to expand...
Click to collapse
Hi, here You can find patched boot for 10.0.12.0:
https://yadi.sk/d/aVlSEC_r7xj0VA

recover change every boots

Hello, I have unlocked my device and when I install twrp and reboot the official recover replaced with twrp. I have tried many times but after every reboot the stock recover is there. I need to flash twrp every time to use it.any reply ASAP will appreciate. Thanks in advance.
riyan65 said:
Hello, I have unlocked my device and when I install twrp and reboot the official recover replaced with twrp. I have tried many times but after every reboot the stock recover is there. I need to flash twrp every time to use it.any reply ASAP will appreciate. Thanks in advance.
Click to expand...
Click to collapse
Make sure are flashing it and not booting it
fastboot flash recovery recovery.img
Swipe to enable system modifications on first use
Full instructions on my twrp thread
https://forum.xda-developers.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737
TheFixItMan said:
Make sure are flashing it and not booting it
fastboot flash recovery recovery.img
Swipe to enable system modifications on first use
Full instructions on my twrp thread
https://forum.xda-developers.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737
Click to expand...
Click to collapse
At first time only I have done this process, but also it changed the recover with stock recover.
riyan65 said:
At first time only I have done this process, but also it changed the recover with stock recover.
Click to expand...
Click to collapse
Root your phone & use the root method via the twrp app
TheFixItMan said:
Root your phone & use the root method via the twrp app
Click to expand...
Click to collapse
How do I root my device without twrp???
riyan65 said:
How do I root my device without twrp???
Click to expand...
Click to collapse
Oh I thought you could boot to it but it doesn't stick
If you can't get into twrp at all it's user error
Follow my guide on the twrp thread
Make sure you rename the image recovery.img
Put your phone into fastboot mode - hold Vol down & power button
Then in a cmd prompt where you have recovery.img & fastboot type
fastboot flash recovery recovery.img
Then use the volume keys to select recovery and press power button to select
Post your cmd output but it should say write OK at the end
Ignore the error is not signed or corrupt that comes before that
Obviously I presume you have already unlocked your bootloader - just follow all the instructions on the twrp thread
Also you don't reboot the phone between flashing twrp and entering twrp for the first time
TheFixItMan said:
Oh I thought you could boot to it but it doesn't stick
If you can't get into twrp at all it's user error
Follow my guide on the twrp thread
Make sure you rename the image recovery.img
Put your phone into fastboot mode - hold Vol down & power button
Then in a cmd prompt where you have recovery.img & fastboot type
fastboot flash recovery recovery.img
Then use the volume keys to select recovery and press power button to select
Post your cmd output but it should say write OK at the end
Ignore the error is not signed or corrupt that comes before that
Obviously I presume you have already unlocked your bootloader - just follow all the instructions on the twrp thread
Also you don't reboot the phone between flashing twrp and entering twrp for the first time
Click to expand...
Click to collapse
Hey, I was able to boot it and run the latest twrp and install the supersu but the root process failed as it gives me ram extraction failed and end then I thought reboot and install magisk, so I install it and download the zip file then when I try to go in recovery mode, twrp is not available as stock recover is there. I don't know why recover change automatically. Do you know the reason behind it why it changed?? Or do I need to do something to keep it. At the time of nougat I was able to use it without any problem as recover doesn' change,but in Oreo it happening.
riyan65 said:
Hey, I was able to boot it and run the latest twrp and install the supersu but the root process failed as it gives me ram extraction failed and end then I thought reboot and install magisk, so I install it and download the zip file then when I try to go in recovery mode, twrp is not available as stock recover is there. I don't know why recover change automatically. Do you know the reason behind it why it changed?? Or do I need to do something to keep it. At the time of nougat I was able to use it without any problem as recover doesn' change,but in Oreo it happening.
Click to expand...
Click to collapse
Supersu is very old and outdated (the reason for that error is supersu can't install in systemless mode because the kernel ramdisk paths are not compatible) but since supersu is ancient now it's pointless trying to get it to work
Use magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Flash in twrp
You may have to install the magisk manager app separately if its not in your app draw
Just download the apk and install it via any file manager

Probel mwith Installing TWRP

Hello,
I haved try to install TWRP on a Xiaomi redmi note 5 pro, with ADB and fastboot
adb reboot bootloader
fastboot devices
fastboot flash recovery twrp.img
fastboot boot twrp.img
The last line, is ok only when i am in the directory on my PC where the twrp.img is present.
I can't boot on TWRP with the volume and power button, the phone always returnon MI recovery.
And i can't install the magisk image from the phone.
I have unlock the phone.
i have search but i can't uderstand where is the problem.
Thank's for your help.
François-Marie
check the ARB status
if you are in ARB4 then you have to flash dummy.img before flash twrp
conspiracyharry said:
check the ARB status
if you are in ARB4 then you have to flash dummy.img before flash twrp
Click to expand...
Click to collapse
Yes i know that, i am with ARB 4, i make it before flashing TWRP. Flashing dummy.img work's fine.
billard_fm said:
Yes i know that, i am with ARB 4, i make it before flashing TWRP. Flashing dummy.img work's fine.
Click to expand...
Click to collapse
When you get boot in TWRP first time flash TWRP again with TWRP...1st time you boot TWRP with PC, than flash TWRP.img with TWRP. And don't forget to flash magisk to fix TWRP boot or flash dm-verty.zip. I would use OrangeFox recovery instead->flash it in TWRP after 1st pc boot and your done no extra steps needed.
Good luck.
drnightshadow said:
When you get boot in TWRP first time flash TWRP again with TWRP...1st time you boot TWRP with PC, than flash TWRP.img with TWRP. And don't forget to flash magisk to fix TWRP boot or flash dm-verty.zip. I would use OrangeFox recovery instead->flash it in TWRP after 1st pc boot and your done no extra steps needed.
Good luck.
Click to expand...
Click to collapse
Hello,
if i understand
flash TWRP from the PC with fastboot
reboot TWRP from fastboot
from TWRP flash TWRP.img -- At this point TWRP.img must be on the phone and is the same i have flash from fastboot ?
from TWRP lash magisk
Thank's
billard_fm said:
Hello,
if i understand
flash TWRP from the PC with fastboot
reboot TWRP from fastboot
from TWRP flash TWRP.img -- At this point TWRP.img must be on the phone and is the same i have flash from fastboot ?
from TWRP lash magisk
Thank's
Click to expand...
Click to collapse
- Yes,
- yes,
- yes and you can flash any recovery at this point (not necessary same, could be orangefox, pitchblack, TWRP, etc) and yes it needs to be on phone (use adb push or sd card) than reboot to recovery to check your result,
- yes, if you need magisk than you need to flash it from recovery.
Good luck.
Sent from my Redmi Note 5 using XDA Labs
Boot to twrp or any other recovery. Then flash that same img with in your booted recovery.

[ROOT/MAGISK] OOS 10.0.12 Magisk patched_boot.img

For future use or other versions like OOS EUROPE,INDIA, etc. , you can patch your own boot.img with my tool here
But for now just follow the instructions
Boot.img patched with MAGISK 20.4 on OOS 10.0.12 HD65AA (GLOBAL)
Only for OOS 10.0.12 Global!!!!
Enjoy!
Instructions:
reboot to fastboot
Code:
adb reboot bootloader
Code:
fastboot boot magisk_patched_10_0_12.img
let it boot and check if u have root
if u got root then reboot to fastboot again
Code:
adb reboot bootloader
Code:
fastboot flash boot magisk_patched_10_0_12.img
When finished type
Code:
fastboot reboot
patched boot.img download: https://drive.google.com/file/d/1JeNPnEtKKkXYBVlo4pW0VUEnP1BQ7nt_/view?usp=sharing
stock boot.img download: https://drive.google.com/file/d/1rrUcVyTBUl-sED35lxuK82UQ0hHM_PRg/view?usp=sharing
I would be glad if somebody share Magisk patched boot to 10.0.12HD65BA for EU version
Tapatalk via OnePlus 7T
Thank You
I would be glad if somebody share Magisk patched boot to 10.0.12HD65BA for EU version. I can not patch it myself, because 10.0.12HD65BA is not online on oneplus website.
ba47 said:
I would be glad if somebody share Magisk patched boot to 10.0.12HD65BA for EU version. I can not patch it myself, because 10.0.12HD65BA is not online on oneplus website.
Click to expand...
Click to collapse
If u r already on 10.0.12 EU u dont need the rom
If u r on previous OOS then use the oxygen updater app from Play store to update
ba47 said:
I would be glad if somebody share Magisk patched boot to 10.0.12HD65BA for EU version. I can not patch it myself, because 10.0.12HD65BA is not online on oneplus website.
Click to expand...
Click to collapse
One guy already upload this file here :
https://drive.google.com/file/d/1-_3fL5HkWS9cplro7iNiIzqlL_AGTz2B/view?usp=drivesdk
Tapatalk via OnePlus 7T
Hm, I have HD65AA India and after boot (not flash) via fastboot attached here patched boot.img I don't have internet (gsm and wifi).
Do you have India's version of that patch ?
KyoshiDev said:
Instructions:
reboot to fastboot
Code:
adb reboot bootloader
Code:
fastboot boot magisk_patched_10_0_12.img
let it boot and check if u have root
if u got root then reboot to fastboot again
Code:
adb reboot bootloader
Code:
fastboot flash boot magisk_patched_10_0_12.img
Click to expand...
Click to collapse
4. and 5. Step isn't needed.
When you boot your image and check if you have root you just klick: Install --> Install --> direct install. It will automatically patch your actual boot.img and you will permanently have a rooted phone.
I didn't find patched boot.img to 10.0.12/10.3.4 India (!) version, so I created my own (faq linked above).
It works on my device like a charm. I have already gsm internet and WiFi and of course rooted device.
If someone wants to try on 10.3.4/10.0.12 AA (Global and only India version) , I put my patched boot.img here:
https://drive.google.com/file/d/1p6tgyc_WcLl2CW4ysq4xGgFXnmO95Kl0/view?usp=sharing
Did not work for me on reboot after root check says not rooted?
---------- Post added at 06:54 PM ---------- Previous post was at 06:44 PM ----------
Nope did not work for me say I do not have root on root check?
=dgim= said:
I didn't find patched boot.img to 10.0.12/10.3.4 India (!) version, so I created my own (faq linked above).
It works on my device like a charm. I have already gsm internet and WiFi and of course rooted device.
If someone wants to try on 10.3.4/10.0.12 AA (Global and only India version) , I put my patched boot.img here:
https://drive.google.com/file/d/1p6tgyc_WcLl2CW4ysq4xGgFXnmO95Kl0/view?usp=sharing
Click to expand...
Click to collapse
I have updated to 10.3.4.HD65AA yesterday. Have been rooted since much earlier version with Magisk Canary. Now I want to change to stable but not sure of the process.
How do I uninstall Canary version? There does not seem to be any uninstall option in Magisk Manager Canary version. Can I just uninstall as I would any other app?
Is the file you uploaded correct for my version? Would it install Magisk Stable version?
After going into fastboot do I have to connect to PC and give commands there or in the phone itself. Have done it earlier but I forgot. If from PC, which software to use for ADB?
Edit : Will this wipe data?
You can use via TWRP, I suppose (not tested) this Magisk's unistall zip file: https://github.com/topjohnwu/magisk_files/tree/canary
If you flashed a new rom (10.3.4) I believe that you have already stock boot.img, so device is unrooted.
If yes, you can - first, only booted my patched_boot.img to see that everything is OK (gsm, wifi, magisk manager works etc),
and, then, try flash it via fastboot.
I patched my stock boot.img (10.3.4 India version) via latest Magisk Canary.
Here is FAQ:
https://forum.xda-developers.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307
=dgim= said:
You can use via TWRP, I suppose (not tested) this Magisk's unistall zip file: https://github.com/topjohnwu/magisk_files/tree/canary
If you flashed a new rom (10.3.4) I believe that you have already stock boot.img, so device is unrooted.
If yes, you can - first, only booted my patched_boot.img to see that everything is OK (gsm, wifi, magisk manager works etc),
and, then, try flash it via fastboot.
I patched my stock boot.img (10.3.4 India version) via latest Magisk Canary.
Here is FAQ:
https://forum.xda-developers.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307
Click to expand...
Click to collapse
I think TWRP is not working for OnePlus7T so not sure about that.
I have updated from rooted 10.3.2 to 10.3.4 via OTP and I already have Magisk Canary. So I am rooted. I want to remove this and get to Magisk Stable version.
jesrani said:
I think TWRP is not working for OnePlus7T so not sure about that.
I have updated from rooted 10.3.2 to 10.3.4 via OTP and I already have Magisk Canary. So I am rooted. I want to remove this and get to Magisk Stable version.
Click to expand...
Click to collapse
Booting and flashing TWRP on recovery partition, I suppose, is working.
I didn't flash Magisk install or unistall via TWRP on OP7T.
Are you sure that, after flashing new rom, your device is rooted ?
Even you have installed Magisk Canary, but - SatetyNet etc, is passed in your device after flashed stock 10.3.4 ?
If not, you can just unistall apk (Magisk Manager), clear cache, flash patched boot.img and install stable Magisk (I didn't test stable on 10.3.4).
I'm lost somehow.
I'm rooted, Global (USA) phone. Last version is 10.0.11.
First, to which directory do I download the patched .img file. To my phone, to my computer? So far I have put in both Magisk directory and my root directory.
I reboot the bootloader. Fine. I fastboot the patched image. Fine. Check for root. Fine
I reboot the bootloader. Fine. Comes up with a menu. The top of the menu says Start.
Then I type fastboot flash boot magisk_patched_10_0_12.img. And nothing happens. I have tried the power button and nothing either. I tried going into Magisk and install as another forum member suggested, but now my phone comes up, still hasn't upgraded to 12. Also now when I click any app the phone it just reboots itself. So I'm really messed up.
My question is what was suppose to happen when i clicked fastboot flash boot magisk_patched_10_0_12.img with the bootloader menu on my screen and where was the .img file suppose to be located. Am I doing this right from my PC (Win10 - PowerShell).
I'm lost because I have been upgrading previously and have had no trouble. Where did I go wrong. Much thanks.
KyoshiDev said:
For future use or other versions like OOS EUROPE,INDIA, etc. , you can patch your own boot.img with my tool here
But for now just follow the instructions
Boot.img patched with MAGISK 20.4 on OOS 10.0.12 HD65AA (GLOBAL)
Only for OOS 10.0.12 Global!!!!
Enjoy!
Instructions:
reboot to fastboot
Code:
adb reboot bootloader
Code:
fastboot boot magisk_patched_10_0_12.img
let it boot and check if u have root
if u got root then reboot to fastboot again
Code:
adb reboot bootloader
Code:
fastboot flash boot magisk_patched_10_0_12.img
patched boot.img download: https://drive.google.com/file/d/1JeNPnEtKKkXYBVlo4pW0VUEnP1BQ7nt_/view?usp=sharing
stock boot.img download: https://drive.google.com/file/d/1rrUcVyTBUl-sED35lxuK82UQ0hHM_PRg/view?usp=sharing
Click to expand...
Click to collapse
davekaye said:
I'm rooted, Global (USA) phone. Last version is 10.0.11.
First, to which directory do I download the patched .img file. To my phone, to my computer? So far I have put in both Magisk directory and my root directory. .
Click to expand...
Click to collapse
to your computer, or rather, to the directory where your adb and fastboot files are, or if you have adb installed system widely, you should put your img in the folder where you are running your cmd window or you can navigate with cmd to the file with "cd"
davekaye said:
Then I type fastboot flash boot magisk_patched_10_0_12.img. And nothing happens. I have tried the power button and nothing either. I tried going into Magisk and install as another forum member suggested, but now my phone comes up, still hasn't upgraded to 12. Also now when I click any app the phone it just reboots itself. So I'm really messed up.
Click to expand...
Click to collapse
What do you mean with "still hasn't upgraded to 12"? You mean OOS 10.0.12? Then you need to update from 10.0.11 to 10.0.12 before rooting your boot partition with a boot.img from an OOS 10.0.12
davekaye said:
My question is what was suppose to happen when i clicked fastboot flash boot magisk_patched_10_0_12.img with the bootloader menu on my screen and where was the .img file suppose to be located. Am I doing this right from my PC (Win10 - PowerShell).
I'm lost because I have been upgrading previously and have had no trouble. Where did I go wrong. Much thanks.
Click to expand...
Click to collapse
nothing should happen to your bootloader screen, but you should see in your cmd window, that the flashing finished, then you can type "fastboot reboot" to reboot your phone.
KyoshiDev said:
to your computer, or rather, to the directory where your adb and fastboot files are, or if you have adb installed system widely, you should put your img in the folder where you are running your cmd window or you can navigate with cmd to the file with "cd"
What do you mean with "still hasn't upgraded to 12"? You mean OOS 10.0.12? Then you need to update from 10.0.11 to 10.0.12 before rooting your boot partition with a boot.img from an OOS 10.0.12
nothing should happen to your bootloader screen, but you should see in your cmd window, that the flashing finished, then you can type "fastboot reboot" to reboot your phone.
Click to expand...
Click to collapse
Thanks. My fault. Since I don't have a working TWRP I haven't been playing around with any ROMs and I guess I'm rusty. So I tried to put your upgrades on the wrong version of Oxygen (11 not 12) and ran into a bootloop. I could not boot into EDL mode (another issue I have to follow up) and it took me some time to finally boot back to 11 and then do the OTA upgrade to 12. All is working now, so thanks again.
Hello, is SafetyNet supposed to fail or I've messed something up?
1nikolas said:
Hello, is SafetyNet supposed to fail or I've messed something up?
Click to expand...
Click to collapse
Safetynet should pass
So i put this on my US version. HD1905. I should have been more careful. Anyway, everything works well except netflix., which is now a system app and will not run or uninstall.
PS: Do you have US version patched boot file ?

Rooting 7T without TWRP / Pre-patched Magisk boot.img for 10.0.13.HD65AA (Global)

For those who can't root via TWRP or somehow lost root while updating (like I did), I have a patched boot image to aid others in this endeavor. This is a boot.img from a T-Mobile 7T which I had converted to the Global ROM, extracted and patched by Magisk after applying the latest update (10.0.13.HD65AA). Fully tested and working!
Instructions:
Unzip and place it in a convenient folder (ie, C:/adb/ or whatever's easy to remember.
Open a cmd prompt and navigate to your fastboot/adb folder.
Then run the command
Code:
fastboot boot boot.img
Your phone will be "temp-rooted" once it boots. If you haven't already, install Magisk Manager, then flash Magisk itself (ALWAYS do direct install!).
Don't install any modules yet. Just reboot when prompted after the Magisk flashing process is done.
Profit!
Download from Google Drive
[I dunno where else to upload this that XDA would consider "safe," so GDrive it is, I suppose.]
Spoiler: Process for manually patching the boot.img without TWRP:
Requirements: Stock device with unlocked bootloader only (no other mods), most recent OTA update applied and system rebooted. Fastboot and ADB Windows executables.
1) Enable advanced reboot and usb debugging in developer options.
2) Reboot to bootloader.
Code:
adb reboot bootloader
3) Boot to twrp
Code:
fastboot boot twrp.img
(or whatever you named it).
4) Once booted, enter:
Code:
adb shell
dd if=/dev/block/bootdevice/by-name/boot of=/tmp/boot.img
exit
5.5) Copy file to the PC:
Code:
adb pull /tmp/boot.img stock_boot.img
6) Reboot phone back to Android.
6.5) Copy boot.img back to phone:
Code:
adb push stock_boot.img /sdcard/boot.img
7) Make sure you have a data connection.
8) Install Magisk Manager.
9) Select option to install Magisk (not the Magisk App). Choose "Select and Patch a File."
10) Point to the boot.img.
11) It will do its thing then come back with a done message. File /sdcard/download/magisk_patched.img will be created.
12) Copy this file to your PC, either using MTP or ADB.
Code:
adb pull /sdcard/download/magisk_patched.img
13) Reboot the phone into bootloader mode again.
Code:
adb reboot bootloader
14) Boot the patched boot from step 12:
Code:
fastboot boot magisk_patched.img
15) Launch Magisk Manager again. You should see the current version available and the installed version below that now. If all is good, choose to install/update Magisk, then "Direct install" and reboot when finished.
I guess you posted it in wrong section as mentioned the file is for Oneplus 7t ?
>Akshay< said:
I guess you posted it in wrong section as mentioned the file is for Oneplus 7t ?
Click to expand...
Click to collapse
OH! You're right. I goofed. I'll ask a mod to move it.
This will delete all the data from the phone + bootloader needs to be unlocked?
Brontok said:
This will delete all the data from the phone + bootloader needs to be unlocked?
Click to expand...
Click to collapse
Flashing this doesn't erase your data, unlocking the bootloader does, though (and is necessary to flash this).
GuyInDogSuit said:
Flashing this doesn't erase your data, unlocking the bootloader does, though (and is necessary to flash this).
Click to expand...
Click to collapse
never mind!
someone already did!
https://forum.xda-developers.com/showpost.php?p=83780229&postcount=12
thanks anyway!
Will this work for 10.0.13 tmobile ? Thanks
gershee said:
Will this work for 10.0.13 tmobile ? Thanks
Click to expand...
Click to collapse
You might be better off pulling the boot.img yourself and patching it. I can't guarantee that this will even work on the T-Mobile version. But if you want to test it, just boot the img and root from Magisk once it loads. If it bootloops, well, then we know.
EDIT: Updated OP with instructions on how to patch the boot.img.
GuyInDogSuit said:
You might be better off pulling the boot.img yourself and patching it. I can't guarantee that this will even work on the T-Mobile version. But if you want to test it, just boot the img and root from Magisk once it loads. If it bootloops, well, then we know.
EDIT: Updated OP with instructions on how to patch the boot.img.
Click to expand...
Click to collapse
Thanks!
Worked like a charm.

Categories

Resources