Need TWRP for JOYUI 12.5 CN MR2 - Xiaomi Black Shark 3 Questions & Answers

Currently on CN MR2 version of JOYUI 12.5. Using the old TWRP for Android 10 only shows black screen when booting up via "fastboot boot twrp.img" then reboots normally to the system preventing me to pull the stock boot for MR2, make backups via TWRP to proceed with rooting the device. Any help would be appreciated.

Here's the recovery.img I've extracted from Payload.bin for the latest CN MR2 update. Hopefully someone can patch a TWRP img for this. And feel free to ask if you guys need more img files from the latest update.

hi bro..
may you want to get ota link of update rom. use adb to get the link. the guide is also on this forum.. thank you..

Jhem OP5 said:
Here's the recovery.img I've extracted from Payload.bin for the latest CN MR2 update. Hopefully someone can patch a TWRP img for this. And feel free to ask if you guys need more img files from the latest update.
Click to expand...
Click to collapse
Tried to flash over mr0 to update but bootloop

Related

Global OTA 9.5.4.0 + TWRP = fail

My phone has unlocked bootloader, TWRP, and is rooted with magisk. Got the OTA for (global) 9.5.4.0 last night - it downloads/de-crypts ok, reboots into TWRP, and then fails to flash. I also tried to flash manually via TWRP by locating the downloaded file, still fails. During the night, it rebooted itself (to try again I suppose), and my alarm didn't go off.
So here I am, late in work, wasting more "work time" to ask you for a possible solution :angel:
Go back to original miui recovery then you can update your miui successfully. After update,reflash twrp and magisk.
jimandy60 said:
Go back to original miui recovery then you can update your miui successfully. After update,reflash twrp and magisk.
Click to expand...
Click to collapse
Sounds easy, but I don't know how to do that. Could you point me in the right direction?
you can't flash an OTA with TWRP
Flash recovery img with fastboot
Code:
fastboot flash recovery recovery.img
then boot your phone
settings->about phone->system update->update
it will get in origin miui recovery and update system automatically
after update finished,reflash twrp and magisk
Thank you very much @jimandy60
With all the respect though, I would prefer downloading the file from a popular location. Is there any way to find this hosted somewhere else, maybe by Xiaomi?
ang3l said:
Thank you very much @jimandy60
With all the respect though, I would prefer downloading the file from a popular location. Is there any way to find this hosted somewhere else, maybe by Xiaomi?
Click to expand...
Click to collapse
maybe try this site?
en.miui.com
Hello!
I got the same problem but instead to come here and ask for help I tried to solve myself. I downloaded the lastest TWRP version and the device was not going into recovering mode. Then I installed again the previous one without results. I downloaded the TWRP app from Play Store and trying to solve I made wipe data, cache and I am not sure but I think also choose wipe system. Now my phone is stuck on the fastboot screen. Does not start. Using ADB I installed back the stck recovery but the problem remains. Somebody can help me please?
reflash the full rom?
download&unzip full rom package,get in fastboot mode and run flash_all.bat
Check out my guide here:
https://forum.xda-developers.com/mi-mix-2/how-to/guide-mi-mix-2-unroot-restore-recovery-t3770690
It has all the steps and files you will need to go from rooted stock MIUI Nougat to rooted stock MIUI Oreo applying the OTA update
colorado_al said:
Check out my guide here:
https://forum.xda-developers.com/mi-mix-2/how-to/guide-mi-mix-2-unroot-restore-recovery-t3770690
It has all the steps and files you will need to go from rooted stock MIUI Nougat to rooted stock MIUI Oreo applying the OTA update
Click to expand...
Click to collapse
Thanks, I'll take a look.

[GUIDE] [ROOT] [MAGISK] How to Root Mi A3 with MAGISK without TWRP

Hello!
There's a guide already on XDA that covers this matter but in a general way and for all devices. That guide was based on the general info you may find on the original installation guide by @topjohnwu. So, all credits go to him.
Anyway, since there ins't a TWRP Recovery for Mi A3 (yet) and since I believe that many of you don't know about this, Iv'e decided to share here the steps I've done in order to root Mi A3.
NOTE: Now that we already have a working TWRP available for Mi A3, to root it you can now simply follow THESE steps after unlocking the bootloader.​​The guide present on this thread, of course, works as well, so I'll leave it here for those of you who don't want to permanently install TWRP to your device.​
1 - Unlock the bootloader (if you haven't done it already...beware that this will erase all of your user data). To do so, you must:
Enable developer options
Enable the "OEM unlocking" option
Enable USB debugging
Have both adb and fastboot, from SDK Platform Tools available on your PC
Connect your phone to your PC using the USB cable and run the following commands:
Code:
adb devices
(just to make sure that your phone is, in fact, recognized by your PC and that you're able to run adb commands)​
Code:
adb reboot bootloader
(so your phone will reboot into fastboot mode)​
Code:
fastboot flashing unlock
(after rebooting, boot the phone again into fastboot mode)​
Code:
fastboot flashing unlock_critical
(for full unlock)​
2 - Download Mi A3 stock boot.img that you may find later on this post, that matches your current build.
Copy the boot.img to your phone internal (or external) memory
Leave a copy of it on your PC (on the same folder you have adb and fastboot...we never know if we don't need to use it again in the future...you know, to restore the stock boot.img, aka revert to stock...)
If, for your current build, there isn't a stock boot.img released yet, you may get one yourselves. How? READ THIS.​​​EU Build boot images:​
---Android 9---​​For all of you currently on 10.3.7.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.8.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.9.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.11.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.12.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.14.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.15.0 (EU) build, you may download stock boot.img HERE.​​---Android 10---​​For all of you currently on 11.0.1.0 (EU) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.2.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.3.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.5.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.6.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.8.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.9.0 (EU) build, you may download stock boot.img HERE.​​---Android 11---​
For all of you currently on 12.0.2.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.3.0 (EU) build, you may download stock boot.img HERE. (thanks to @lucoz )​​For all of you currently on 12.0.5.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.6.0 (EU) build, you may download stock boot.img HERE.​
Global Build boot images:​
---Android 9---​​For all of you currently on 10.3.8.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 10.3.14.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​---Android 10---​​For all of you currently on 11.0.7.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.11.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.14.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.15.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.22.0 (Global) build, you may download stock boot.img HERE.​​---Android 11---​​For all of you currently on 12.0.3.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.4.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.6.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.7.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.8.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.9.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.11.0 (Global) build, you may download stock boot.img HERE.​
3 - Download latest Magisk Manager from HERE and install it on your phone
4 - Open Magisk Manager App and press:
Install
Install (again)
Select and Patch a File
Browse to the path where you saved stock boot.img and select it
Magisk Manager will now patch the boot image and store it in [Internal Storage]/Download/magisk_patched.img
5 - Copy the patched boot image from your device to your PC
Store it on the same folder where you have adb and fastboot
If you can’t find it via MTP, you can pull the file with ADB
Code:
adb pull /sdcard/Download/magisk_patched.img
6 - Uninstall Magisk Manager App from your phone (I'm not sure if this is really needed but I've done it anyway...)
7 - Flash the patched boot image to your phone by running these commands (remember, you must have patched boot image on the same folder you have adb and fastboot and, of course, your device must be connected to your PC...)
Code:
adb reboot bootloader
Code:
fastboot erase boot
Code:
fastboot flash boot magisk_patched.img
Code:
fastboot continue
(THIS IS IMPORTANT! USE CONTINUE INSTEAD OF REBOOT! You have been warned!!!)
8 - After the phone boots up, hopefully with a normal boot (almost feels like nothing happened....), install/open Magisk Manager App again and watch Magisk doing it's magic!
9 - Enjoy!
All credits goes to topjohnwu and it's incredible work with Magisk.
I cannot be responsible if you turn your phone into a brick. Your phone, your choices, your responsibility!
Thanks!
Been waiting for someone to create a cannonical guide of how to root this phone.
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Also one would assume it disables the OTA update feature, probably better write it.
sirzarmo said:
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Click to expand...
Click to collapse
WiFi problems appears when you flash boot not from your ROM build. Use only the same boot.img to the build number of ROM.
sirzarmo said:
Also one would assume it disables the OTA update feature, probably better write it.
Click to expand...
Click to collapse
It is. But you can still update via Magisk if you don`t touch system partitions. Else - flash manualy.
Wow,
Thank's a lot!
As you said, I didn't know this way to root a device.
sirzarmo said:
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Click to expand...
Click to collapse
That someone was me. But, I believe that happened because I've used boot.img from 10.3.4.0 branch on GitHub (instead of using boot.img from 10.3.5.0 branch) and, also, I've used "fastboot reboot" command instead of "fastboot continue". As soon as the 10.3.5.0 branch appeared online I've decided to test this method again and it worked, that's why I've decided to share this with all community.
sirzarmo said:
Also one would assume it disables the OTA update feature, probably better write it.
Click to expand...
Click to collapse
I don't think it will disable OTA feature. Probably, as soon as a new OTA comes out it will be installed on Slot A (because up until now there's only been one update and it was installed on slot B...so everyone should now be on firmware V10.3.5.0 running on Slot B). So, if I'm not mistaken, the "worst" thing that could happen is to lose root (since the update will be installed on Slot A and boot.img on that Slot is still the stock one).
Cheers!
Typhus_ said:
Cheers!
Click to expand...
Click to collapse
Why thank you dear, I'll root now if so.
Hello!
Well, in fact, this method breaks OTA. It downloads but it doesn't install.
My guess is we need to flash stock boot.img and then apply the OTA update and then patch the new boot.img again.
I've noticed a new boot.img on GitHub today, hopefully it will be the correct one.
Typhus_ said:
Hello!
Well, in fact, this method breaks OTA. It downloads but it doesn't install.
Click to expand...
Click to collapse
You can simply follow this guide, if you do not touch system partitions.
https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md#devices-with-ab-partitions
Tried it already. It ain't possible because of 2 reasons:
1 - The supposly boot.img backup doesn't exist. Probably Magisk only does it if installed through TWRP and not by patching boot.img
2 - The OTA package fails to install. "A problem has occurred"...while trying to initiate the install.
Enviado do meu Mi A3 através do Tapatalk
When do you think twrp will be released for mi a3?
okay so I installed FDE magisk module now my phone is stuck at the bootscreen. Someone got a stock rom for me ?
You can change slot through fastboot. It will erase all user data (factory reset) but it's better than the phone not booting.
The other possible solution, I've sent you a PM (because external link).
fastboot --set-active=a (or b if you're now on a)
Enviado do meu Mi A3 através do Tapatalk
An offcial stock rom wouldve fixed my problem in no time. I changed the partition and got to a menu where I could chosse to factory reset but its been sitting on formatting data for like half hour...
drozo8o8 said:
An offcial stock rom wouldve fixed my problem in no time. I changed the partition and got to a menu where I could chosse to factory reset but its been sitting on formatting data for like half hour...
Click to expand...
Click to collapse
It should be quite fast...guess you're out of luck for the time being my friend.
By the way, you've used fastboot reboot or fastboot continue after changing slot?
It should be fastboot reboot
Enviado do meu Mi A3 através do Tapatalk
all i need is a proper flash all.bat since oyu gave me the OTA update link with a payload.bin which I extracted with payload_dumper
Typhus_ said:
Tried it already. It ain't possible because of 2 reasons:
1 - The supposly boot.img backup doesn't exist. Probably Magisk only does it if installed through TWRP and not by patching boot.img
Click to expand...
Click to collapse
Manualy patch boot.img in MM and you'll get backup.
This method is useful in Mi CC 9e. Thx
hello, install v10.3.5.0 over v10.3.7.0, now I don't have wifi and the sound does not work, instructions to fix it please ?, I am using the google translator to write here, thanks
You'll have to change slot and boot on that slot. You'll lose all your user data but the phone will boot ok and receive latest OTA. Either that or you have to wait for someone to dump you a stock 10.3.7.0 boot.img in order to fix those issues. On GitHub there isn't a boot.img for latest build yet.
Enviado do meu Mi A3 através do Tapatalk
Typhus_ said:
You'll have to change slot and boot on that slot. You'll lose all your user data but the phone will boot ok and receive latest OTA. Either that or you have to wait for someone to dump you a stock 10.3.7.0 boot.img in order to fix those issues. On GitHub there isn't a boot.img for latest build yet.
Enviado do meu Mi A3 através do Tapatalk
Click to expand...
Click to collapse
Fixed, THANKS YOU very much

10.0.5 boot.img?

Hey all! I'm trying to root my OnePlus 7t but I'm on 10.0.5 stock and I can't find a patched boot.img, or even a stock one to patch in Magisk. I'm on the global variant. If someone could point me in the right direction, that would be grand. I have already read mostly all the posts...
I have the US version which I think is also the global version. Here's my patched boot.img for 10.0.5
https://drive.google.com/file/d/12tZN5D7dmovIeqsx8sTF-B0z2gxA6LG8/view?usp=sharing
Here's the stock boot for 10.0.5 as well if you screw something up.
https://drive.google.com/file/d/1nS0hqVCyntXHjbTzOH7H8-b29-IlAOIt/view?usp=sharing
Don't ask why the file sizes are so different. It just gets smaller for some reason after patching it in magisk.
I just booted with an older one and flashed the latest magisk
Need 10.0.5 boot.img stock & magisk patched for indian varient
Hey .... Can you help me with the 10.0.5 boot.img , stock & magisk patched for indian varient HD1901 of 7t
ChongoDroid said:
I just booted with an older one and flashed the latest magisk
Click to expand...
Click to collapse
I had tried booting with 10.0.3 while on 10.0.5 , Did not turn out well .
Has anyone on 10.0.5 tried booting w/ the above 10.0.5 patched img ?
Stock and Magisk patched boot.img files for HD1905 7T update version 10.0.5:
dropbox.com/s/887ibs0yorxgs2v/boot.img?dl=0
dropbox.com/s/sxrayyjn562susu/magisk_patched.img?dl=0
SkippRunning said:
Stock and Magisk patched boot.img files for HD1905 7T update version 10.0.5:
dropbox.com/s/887ibs0yorxgs2v/boot.img?dl=0
dropbox.com/s/sxrayyjn562susu/magisk_patched.img?dl=0
Click to expand...
Click to collapse
Do I only need to flash the patched img or both ?
And do they need to be flashed to both A and B slots ?
Thanks for sharing
hightech316 said:
Do I only need to flash the patched img or both ?
And do they need to be flashed to both A and B slots ?
Thanks for sharing
Click to expand...
Click to collapse
I would try fastboot boot before you use fastboot flash just to make sure that the device will boot successfully with the images. You should only need to fastboot boot magisk_patched.img, then open Magisk Manager and install Magisk by choosing the direct install option in the list. You only need the steps I mentioned to have root, and if you flash it to A and B at once you can get stuck in a bootloop. I had that happen at one point from flashing both partitions, and I dont recommend trying it.
SkippRunning said:
I would try fastboot boot before you use fastboot flash just to make sure that the device will boot successfully with the images.
Click to expand...
Click to collapse
Thanks , this can save a headache !
hightech316 said:
Thanks , this can save a headache !
Click to expand...
Click to collapse
Ya, I tried every relevant boot image I could find in the forums, and the device didnt work properly with any of them. The only one that allowed the device to boot successfully caused the wifi and sounds to not work. So I downloaded the full update from OnePlus and extracted it to a folder, then used payload dumper to extract all of the individual images out of the payload.bin file from OnePlus. I copied the boot.img into the phone storage and installed Magisk Manager, then patched the stock boot.img and copied it from the phone to my pc. Then I used fastboot boot magisk_patched.img to make sure the image I made would work. I booted the device and inside Magisk Manager I chose direct install in the list of options and everything went smoothly, and I didnt need to rely on finding images online that would hopefully work.
smokeythebear3 said:
I have the US version which I think is also the global version. Here's my patched boot.img for 10.0.5
https://drive.google.com/file/d/12tZN5D7dmovIeqsx8sTF-B0z2gxA6LG8/view?usp=sharing
Here's the stock boot for 10.0.5 as well if you screw something up.
https://drive.google.com/file/d/1nS0hqVCyntXHjbTzOH7H8-b29-IlAOIt/view?usp=sharing
Don't ask why the file sizes are so different. It just gets smaller for some reason after patching it in magisk.
Click to expand...
Click to collapse
Thanks a bunch for the share. That was the missing piece that I've been looking for. I have the HD1905 variant and I just used Magisk to patch the stock file you provided. After testing, I'm finally rooted. Thanks again.

Tried to root

Model BE2013
Build 10.5.2.BE83BA
Tried unsuccessfully to root numerous time, getting stuck on Fastboot Mode.
Then having to restore with MSMdownloadtool.
I have unsuccessfully tried using python to extract the boot.img, so I used the OTA boot.img.
Isn't the OTA boot.img the same as the python extracted version?
Is it easier for me to update to the latest OS 11 then root?
Thanks in advance
ipandroid said:
Model BE2013
Build 10.5.2.BE83BA
Tried unsuccessfully to root numerous time, getting stuck on Fastboot Mode.
Then having to restore with MSMdownloadtool.
I have unsuccessfully tried using python to extract the boot.img, so I used the OTA boot.img.
Isn't the OTA boot.img the same as the python extracted version?
Is it easier for me to update to the latest OS 11 then root?
Thanks in advance
Click to expand...
Click to collapse
Get the OTA download from oneplus website, put the zip on your phones root (Outside the downloads folder) upgrade your phone to OxygenOS 11.0.3 and then extract the boot.img from the OTA and patch it with magisk, rename the newly patched magisk boot img to "boot.img" and flash boot with it.
Worked for me.
Edit: Your phone is most likely on OxygenOS 11.0.2 thus making the 11.0.3 boot.img incompatible.

Question How update from 11 to 12 with some issues.

Hello from Ukraine, guys.
So now I'm on last global A11 2125 with root (magisk), custom recovery (twrp) and the last custom kernel blu_spark.
So how can I update to the last c47 via OTA without data loss.
As I know twrp and blu_spark kernel doesn't support android 12.
Thanks for help.
I needed to update to A12 recently when I was on Arter's kernel and also had twrp. Youll need to return to stock A11, for me I just flashed stock boot.img vendor_boot.img and dtbo.img and then updated normally through oxygen updater. I'm assuming blu spark modifies different things so just check how to return to stock and then you should be fine to update as usual.
Zesty59 said:
I needed to update to A12 recently when I was on Arter's kernel and also had twrp. Youll need to return to stock A11, for me I just flashed stock boot.img vendor_boot.img and dtbo.img and then updated normally through oxygen updater. I'm assuming blu spark modifies different things so just check how to return to stock and then you should be fine to update as usual.
Click to expand...
Click to collapse
Did you flash it using fastboot? Where did you get this files? Did you flash stock recovery or not?
Sergykm said:
Did you flash it using fastboot? Where did you get this files? Did you flash stock recovery or not?
Click to expand...
Click to collapse
Yeh i flashed it with fastboot, i just downloaded the Oxygen os version i was on (theres a repo on xda) and unpacked the payload.bin. Theres a lot of methods for doing so that you can find on google.
Zesty59 said:
Yeh i flashed it with fastboot, i just downloaded the Oxygen os version i was on (theres a repo on xda) and unpacked the payload.bin. Theres a lot of methods for doing so that you can find on google.
Click to expand...
Click to collapse
Thanks for the answer, mate) Have a nice day
Sergykm said:
Thanks for the answer, mate) Have a nice day
Click to expand...
Click to collapse
No worries

Categories

Resources