How to pull out my boot.img from my device? - Sony Xperia XA1 Questions & Answers

I have an Xperia XA1 PLUS(G3426, Oreo)
I unlocked my bootloader
I flash the recovery image(TWRP)
I boot to the recovery
-Via fastboot, cause boot loop
-Via power button and volume button, Show alert message "your device has been unlocked and boot image not working"
I repaired it, and I can't boot into TWRP
My goal is to root, but I don't trust any one-click root service, so I want to root with magisk
- How can I get my boot.img(With bootloader unlocked/locked, no root)?
- How can I patch it for the TWRP of recommended recovery?

Related

Flashing TWRP

Cant seem to flash TWRP, will this be because I am on the latest OS 3.2.2? Bootloader is unlocked and when I flash the recovery image with [fastboot flash recovery recovery.img] via terminal on a mac I just get looped back into bootloader. If I press volume down and recovery its the same 5 second warning then I never get to TWRP. If i hold volume down and power until the boot loader disappears then the only way I can get the phone back on is volume up & power which takes me back to the bootlader.
TIA
the OS will not have anything to do with not being able to or not to install a recovery, what u can try to do is (if u can) boot to ur OS and download flashify and install twrp that way, if u can't then try the fastboot again, fastboot flash recovery nameofrecovery.img then u use the vol + and power until device powers off and the power on, then press the vol key when the bootloader unlock screen comes one go to recovery and try see if it works, when u r done flashing don't use fastboot reboot, u have to manually power off the device, are u getting stock recovery at all? and also to does it show it has transferred successfully
kevindorward said:
Cant seem to flash TWRP, will this be because I am on the latest OS 3.2.2? Bootloader is unlocked and when I flash the recovery image with [fastboot flash recovery recovery.img] via terminal on a mac I just get looped back into bootloader. If I press volume down and recovery its the same 5 second warning then I never get to TWRP. If i hold volume down and power until the boot loader disappears then the only way I can get the phone back on is volume up & power which takes me back to the bootlader.
TIA
Click to expand...
Click to collapse
Try
Code:
fastboot boot recovery.img
and see if you can boot to TWRP.If you're successful,flash the TWRP img from the recovery itself.
__
v7
XDA Assist

problem TWRP recovery

Hello everyone, I followed the guide to have TWRP recovery for my Huawei g8, but now that I'm in recovery and I press the button restarts the system, it always appears recover, I tried a reset ard eliminating the operating system, and installing again with TWRP recovery but I have always the same problem. what can I do??
Same problem here. Bootloader unlock, but FRP locked. Not enable to use HiSuite because Fastboot dont' flash due FRP lock. Only I can use shell (Commands from terminal in TWRP). Unable to relock bootloader due TWRP is not stock

[SOLVED] TWRP Recovery Boot Fails After Successful Flash - why?

Hey guys,
I downgraded my D5503, rooted, unlocked the bootloader and then I tried to install TWRP real recovery. Therefore I flashed in fastboot mode (blue led ON) the *.img file using the command fastboot flash recovery
*.img.
But it's impossible to start TWRP, ot with Power & Vol+, vibrate and release Power nor the command fastboot reboot whixch just restart the device into my rom
How can I start or check my TWRP recovery? I found a SOLUTION, you find it here
or long story short: After flashing twrp via fastboot flash recovery filename.img DO NOT BOOT INTO ROM!! YOU NEED TO BOOT INTO TWRP: Vol- & Power, wait for vibration & release Power but keep Vol- until TWRP starts up
- closed -

Unable to boot into TWRP

Hello everyone,
I really need help from you guys.
Yesterday I successfully flashed LineageOS 17 but unfortunately I forgot to flash Gapps using TWRP. I booted into system and then only few seconds afterwards I realized that I forgot to flash Gapps.
Then I tried to boot into recovery but the problem is I got forced to boot into stock recovery instead of the TWRP that I managed to flash in the first place. After that I tried to re flash the TWRP but then I got booted into the stock recovery everytime. Here is what I did and still failed to boot into TWRP:
1. adb reboot bootloader
FastBoot Mode
PRODUCT_NAME - ZS620KL
BOOTLOADER VERSION - WW_90.11.162.72
SERIAL NUMBER - J8AZB760J064ADX
SECURE BOOT - yes
ACTIVE SLOT - b
DEVICE STATE - unlocked
2. fastboot --set-active=a
3. fastboot reboot bootloader
4. fastboot flash boot boot.img
5. disconnected my usb cable
6. press volume keys to change the START to RECOVERY MODE
7. long press power key
8. press volume down and power key at the same time until Bootloader Warning Message appear
9. and then "POWERED BY android" appear
10. my phone is now booted into STOCK RECOVERY.
Please help me guys
I really need to install Gapps

How to stop Stock ROM overwriting the Custom Recovery?

I was trying to flash a Custom Recovery(TWRP) on my Friend's phone(Realme 3) It was officialy supported by TWRP and was listed on their website so I downloaded the Custom Recovery. Then I unlocked the bootloader of his phone but yes a strange thing happened there after it asked for pressing the volume button to be pressed it unlocked the bootloader but after that there was option "Select boot type"(Not sure what it said). It had three options Boot to Bootloader, Boot to recovery and last Normal boot and also there was a arrow on the bootloader option. And there were some instructions something like volume up for select and volume down to move. But I tried every button but the arrow was stuck on the bootloader option. So I connected it to my device and used the "fastboot reboot" command to restart the device after restarting at the realme logo it was saying "You are unlocked you cannot be trusted" But after it booted normally and the phone was Factory Reset. After this in the Developer options the OEM unlocking was grayed out saying Bootloader is unlocked. Ok so we were successful in unlocking the bootloader. After that I pasted the twrp img file in the platform tools directory and put the command adb reboot bootloader and after the device was in bootloader I used the command fastboot flash recovery name.img to flash the recovery. It said sending and then writing in my terminal after that I used the command fastboot reboot and the the key combinations(power+volume down) for the device which used to get into recovery for that phone but this time instead of going into recovery it was in the bootloader. So again I tried fastboot reboot command and this pressing the power+volume up but the phone booted normally so this time I tries adb reboot recovery but it booted into stock recovery so again I tried flashing the recovery and tried using fastboot reboot recovery but it didn't work. And yes I know that after flashing the custom recovery the phone should first boot into the recovery but as I said neither the key combinations nor the fastboot reboot recovery command so what can I do to prevent the system from overwriting? PS: Sorry for long paragraph...

Categories

Resources