I followed the guide step by step and my phone is now stuck in a bootloop.
I have a XQ-AS52 with firmware 58.1.A.1.178 (Customized EEA). Here is what I did:
- I already had USB debugging and OEM unlock enabled
- I followed the OP's guide to a T (with Magisk beta channel and all that)
- I flashed the magisk_patched.img to both partitions a an b in fastboot
- At this point, I had not used the Newflasher tool at all
- When I finished flashing the images, I got "Your device can't be checked for corruption. Please lock your bootloader"
- That repeated a few times and then it showed "Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds"
- To get out of that bootloop, I used the firmware boot_XXX.img file (that i got from the XperiFirm and Unsin tools) and flashed it in fastboot mode. However, I did not specify any partition, and just wrote "fastboot flash boot_XXX.img" and it showed that it was flashing that to partition b.
- The phone did boot up afterwards but still showed the "Your device can't be checked for corruption. Please lock your bootloader" message
- I allowed the USB debugging again (but could not find the OEM unlock in the Developer options because I guess the bootloader was already unlocked)
- I pasted the Newflasher files in the folder of the firmware downloaded by the XperiFirm tool
- I turned off the phone and put it in flash mode
- I ran the newflasher.exe file as admin and did "f, n, n, y" (fastboot, no, no, yes)
- But now my device is in bootloop again with the same messages as above and won't power up.
- Even if I redo the step of flashing the boot_XX.img file in fastboot mode, it still shows the same error.
I have Android 11 by the way (if that helps) and a previous user said to use another method than magisk as it is not currently working with Android 11 (which I, unfortunately, did not do).
Can anyone please help?
EDIT: I managed to get my phone out of the bootloop and it is working now. But it still unrooted and I guess I won't try rooting it again until we have experience trying to root Android 11, especially with Xperia 5 ii.
This is what I did to get my phone out of the bootloop:
- I installed the Sony Companion app and chose to repair the phone
- I do not know how much battery I had but I guess it was enough for the Sony Companion app to work
- The app would not work with an unlocked bootloader. So you have to boot into fastboot mode and lock the bootloader again.
- The app would guide you for the next steps. Basically, it would ask you to turn off the phone, disconnect it from the computer, choose repair in the app, boot into flash mode by pressing the volume down button while plugging in the cable
- if everything is fine (it was in my case), the companion app would reflash the phone with the original firmware and it should boot up normally again.
So my phone is back to operational right now, albeit with bootloader locked and unrooted
I have a XQ-AS52 with firmware 58.1.A.1.178 (Customized EEA). Here is what I did:
- I already had USB debugging and OEM unlock enabled
- I followed the OP's guide to a T (with Magisk beta channel and all that)
- I flashed the magisk_patched.img to both partitions a an b in fastboot
- At this point, I had not used the Newflasher tool at all
- When I finished flashing the images, I got "Your device can't be checked for corruption. Please lock your bootloader"
- That repeated a few times and then it showed "Your device is corrupt. It can't be trusted and will not boot. Your device will be powered off in 5 seconds"
- To get out of that bootloop, I used the firmware boot_XXX.img file (that i got from the XperiFirm and Unsin tools) and flashed it in fastboot mode. However, I did not specify any partition, and just wrote "fastboot flash boot_XXX.img" and it showed that it was flashing that to partition b.
- The phone did boot up afterwards but still showed the "Your device can't be checked for corruption. Please lock your bootloader" message
- I allowed the USB debugging again (but could not find the OEM unlock in the Developer options because I guess the bootloader was already unlocked)
- I pasted the Newflasher files in the folder of the firmware downloaded by the XperiFirm tool
- I turned off the phone and put it in flash mode
- I ran the newflasher.exe file as admin and did "f, n, n, y" (fastboot, no, no, yes)
- But now my device is in bootloop again with the same messages as above and won't power up.
- Even if I redo the step of flashing the boot_XX.img file in fastboot mode, it still shows the same error.
I have Android 11 by the way (if that helps) and a previous user said to use another method than magisk as it is not currently working with Android 11 (which I, unfortunately, did not do).
Can anyone please help?
EDIT: I managed to get my phone out of the bootloop and it is working now. But it still unrooted and I guess I won't try rooting it again until we have experience trying to root Android 11, especially with Xperia 5 ii.
This is what I did to get my phone out of the bootloop:
- I installed the Sony Companion app and chose to repair the phone
- I do not know how much battery I had but I guess it was enough for the Sony Companion app to work
- The app would not work with an unlocked bootloader. So you have to boot into fastboot mode and lock the bootloader again.
- The app would guide you for the next steps. Basically, it would ask you to turn off the phone, disconnect it from the computer, choose repair in the app, boot into flash mode by pressing the volume down button while plugging in the cable
- if everything is fine (it was in my case), the companion app would reflash the phone with the original firmware and it should boot up normally again.
So my phone is back to operational right now, albeit with bootloader locked and unrooted
Last edited: