You are right, my bad, here it is...Are you sure? Magisk usually renames the file, unless you've renamed it back? Can I see a screenshot of the Magisk patching process as it'll confirm the name of the image it writes?
You are right, my bad, here it is...Are you sure? Magisk usually renames the file, unless you've renamed it back? Can I see a screenshot of the Magisk patching process as it'll confirm the name of the image it writes?
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
I will send later today. Just a question, which driver have you used and did you download them and on which system you did the procedure? Could you please share them with me so I can download them?The USB drivers can be fiddly.
The bit I need to see is the bit where you flash the patched boot image to your phone. That's what these commands are doing:
Code:fastboot flash boot_a magisk_patched.img fastboot flash boot_b magisk_patched.img
This is from step 15 - 19 in section 4 of the instructions from the first post.
Here you areThe USB drivers can be fiddly.
The bit I need to see is the bit where you flash the patched boot image to your phone. That's what these commands are doing:
Code:fastboot flash boot_a magisk_patched.img fastboot flash boot_b magisk_patched.img
This is from step 15 - 19 in section 4 of the instructions from the first post.
that detail you mention about fastbootD... I think I have never implemented it. I mean, following the procedure the phone never goes into fastbootD, just the balck screnn of fastboot or the custom recovery...So if this is crucial please, help me to understand how I can it...I am getting heavily frustrated now with this process, I need help. Thank you!Thanks, that's a very helpful guide! I'm now running the latest available Android 13 image for my phone, happily rooted
As it's in the Sony Xperia 5 IV section of the forum it's important to note that you must use fastbootd or you won't be able to wipe the phone. As such, to summarise, the rooting steps are:
- Unlock bootloader
- Download and extract boot.img (on PC)
- Download Magisk and patch boot.img (on phone)
- Reboot to bootloader (adb reboot fastboot
) then to fastboot (fastboot reboot fastboot
)
- Flash patched boot.img, wipe phone, and reboot
Once rooted you probably want to:
- Install Displax's safetynet-fix to get Google Wallet, Netflix etc working
- Remove unwated bloatware using something like De-Bloater
cd\
cd platform-tools
adb reboot bootloader
fastboot oem unlock 0xYOURKEY
fastboot reboot
fastboot flash boot_a magisk_patched.img
fastboot flash boot_b magisk_patched.img
fastboot -w
fastboot reboot
fastboot flash system_a system.img
fastboot flash system_b system.img
[Optional] fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
[Optional] fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
fastboot -w (This does Format Your Device and is needed everytime You change the GSI!)
fastboot reboot
fastboot oem lock
adb reboot fastboot
) then to fastboot (fastboot reboot fastboot
)This is one of the devices that Magsik has to install some early hooks for, so indeed to finish root you'll need to open Magisk and it'll tell you that 'additional setup required' and to reboot your device. Then it'll be rooted.Edit: couple reboots later and magisk did something (some kind of update) and it says rooted.