Accidentally flashed recovery in boot sector!Please Help! - Sony Xperia M

I was trying to unlock the bootloader of my Xperia M dual. I used the official method everything was fine until the device went into bootloop. So i tried to install custom cyanogen recovery so that i would install cyanogen 12.1 as i did'nt have the net to download 700 mb for stock firmware.But idiot me ,instead of typing
Code:
fastboot flash recovery xxxx.img
i typed
Code:
fastboot flash boot xxxx.img
now i can only go to fastboot mode and nothing else.i tried to extract the real boot.img from the ROM but i encountered an error.My phone is blank and does not show anything and goes to fastboot and flashmode only please help!!!!!

in flashmode by using the flashtool flash the ftf file for your device thats it!!
i too have flashed many a time recovery in boot sector but in my case the recovery opens directly make sure the recovery you flashed was for your device i suggest use twrp lastest version..

Related

Made a mistake while fastboot

Hello everyone,
I was trying to root my Xperia XA1 Ultra
I did everything right, i did the commands :
adb devices
adb reboot bootloader
fastboot flash boot boot.img
Everything worked fine, then tried to flash the recovery
fastboot flash BOOT recovery.img
This is were i made the mistake and now my phone is booting on the recovery,
i tryed to do everything again, still booting on the recovery, so i tried to press Reboot>System
My phone restarted and now it's stuck on the "SONY" logo
I can't do anything anymore do you guys know how to fix that so i can have access to Android again?

TWRP not persistent

Hi guys,
I've just updated to newest OOS firmware wich is 5.1.2 and I'm facing a weird problem.
Every time I flash codeworks TWRP and reboot to system, the next time i try to boot to recovery it boots to the original recovery.
It's like when I flash TWRP it doesn't remain persistent. When i flash it through fastboot and straightly boot from fastboot to recoverry I succeed to get in TWRP but as soon as I reboot to system and try to boot to recovery I reach the original OnePlus recovery.
Is anyone facing the same problem ?
And also do you have any idea about what i could do to solve this problem ?
Thanks in advance for your answers !
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Adnan008 said:
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Click to expand...
Click to collapse
Indeed, I just needed to flash magisk to get it persistent. I'll try blu spark's one as you suggested.
Thank you very much for your answer !
Cheers !
Nothing to do with recoveries or kernel. After you do the fastboot flash recovery TWRP in fastboot, do this: "fastboot boot TWRP". I believe that's the right command. Basically after you flash it, manually boot to recovery through fastboot one time. After that it'll work from inside the phone or with the button combination with the phone off.
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
pinnekeshaar said:
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
Click to expand...
Click to collapse
Actually not that lazy because I used to do what you mentionned.
The thing is that a flash of Magik is needed to patch twrp. That's the step I forgot in the procedure and explained here.
So before being unpleasant, please know what you're talking about...
Cheers !

[SOLVED] Phone Stuck in Erecovery and shows error on fastboot screen

Guys i am facing the issue of locked out of using recovery .. need help
so i bymistakely flashed another twrp img into the current twrp from a thread and then it maybe corrupted or something for the recovery
so now i can only access the ercovery
i dont know how to move ahead with this.. i wanted to go back to stock EMUI but no files worked from even the MT servers since they gave error and so i figured to flash another twrp which would mount with pc and i can push through adb shell commands from a thread.
so currently i can access erecovery.. will be of great help if you assist.. thanks!!
i tried to see if i can access the adb devices and nothing shows and i dont know how to get it to working..
Shows error from the screen above to update system.. Will the adb commands work? I tried with the install adb and fast boot drivers on my laptop and pc.. But phone is not recognized in the cmd.. Let me know what steps to take ahead..
I had tge same problen, What I did was in fastboot I flashed system.IMG and then flashed the kernel and my phone booted up when I tried to go into recovery I had none so I flashed TWRP again and it succeeded, here are the fast boot commands, fastboot flash system system.img and the kernel fastboot kernel kernel. Img, I hope it works for you.
HELP!
Zenngn said:
I had tge same problen, What I did was in fastboot I flashed system.IMG and then flashed the kernel and my phone booted up when I tried to go into recovery I had none so I flashed TWRP again and it succeeded, here are the fast boot commands, fastboot flash system system.img and the kernel fastboot kernel kernel. Img, I hope it works for you.
Click to expand...
Click to collapse
I have the same problem,My bootloader is locked,will it work for me?

No OS is installed. Moreover recovery cannot be accessed. Nor can flash it via adb.

Previously I was using Ressurection Remix treble rom which is based on android 9 pie. I went to TWRP and wiped the OS. Then I tried to install a new rom called Dot OS. But it showed error 7. So I flashed Vendortofactory zip within twrp and without rebooting again into TWRP I flashed a new TWRP image within TWRP by selecting Recovery mode. After that I cant boot into TWRP and as already my OS is gone I also cannot boot into any system. Moreover my device is not getting detected in my PC. I cannot install TWRP by writing commands in cmd, while the phone is in fastboot mode as the device is not getting detected in my pc. Really it is urgent. I will be glad if someone helps me. Thanks in advance.
What is the present booted state of your device? Are you in twrp, or bootloader. Most of the time you can keep on pressing the power button. When it boots into a message about unlocked bootloader, press volume button to select recovery and it will boot into twrp
You should be able to boot in fastboot mode without recovery nor os, maybe your drivers are not working on windows? Try different usb ports, check if the display says "bootloader" or something. If nothing works try the usb shunt, this device is literally 'unbrickable' if it's working properly.
Watch this video(https://www.youtube.com/watch?v=DexLELi04XY) and then you will be able to detect your phone in your pc in qcom 9008 mode , then use qfil to flash ZUI firmware ,there are plenty of tutorials on the internet for that ,then follow the proper procedure mentioned in DotOs thread for flashing the new rom .
Hope it helped .
If you don't want to flash the firmware and all long process just follow the following steps
Enter in to the boot loader make sure you installed all the drivers in to pc then open cmd windows in adb fastboot folder and enters the following cmd into the cmd
Fastboot -i 0x2b4c devices this will detect your device
After that enter
Fastboot -i0x2b4c flash recovery recovery name.img
And boom you are good to go flash the rom of your choice and enjoy
For this process you need following files
Adb and fastboot devices
Drivers of zuk z2
Latest recovery and place revovery image file into the adb and fastboot folder if you are confused about anything pm me i am not the expert but i faced simillar problem and solved by this method
yashpatel1221 said:
If you don't want to flash the firmware and all long process just follow the following steps
Enter in to the boot loader make sure you installed all the drivers in to pc then open cmd windows in adb fastboot folder and enters the following cmd into the cmd
Fastboot -i 0x2b4c devices this will detect your device
After that enter
Fastboot -i0x2b4c flash recovery recovery name.img
And boom you are good to go flash the rom of your choice and enjoy
For this process you need following files
Adb and fastboot devices
Drivers of zuk z2
Latest recovery and place revovery image file into the adb and fastboot folder if you are confused about anything pm me i am not the expert but i faced simillar problem and solved by this method
Click to expand...
Click to collapse
This assumes u have upgraded bootloader to 4.4 kernal.
U can still boot into twrp.. When the phone is booting up press vol up key and select recovery.. From there boot into twrp. There select f2v or v2f .. Then flash twrp which u want to flash.. Reboot to recovery.. U will get promp no os installed.. Ignore and reboot to recovery . Then again d9 f2v or v2f depending on what rom to install.. Again reboot to recovery... Then flash rom of ur choice.
This procedure is needed when changing from vendor to factory and vice versa.
sanjay.2704 said:
This assumes u have upgraded bootloader to 4.4 kernal.
U can still boot into twrp.. When the phone is booting up press vol up key and select recovery.. From there boot into twrp. There select f2v or v2f .. Then flash twrp which u want to flash.. Reboot to recovery.. U will get promp no os installed.. Ignore and reboot to recovery . Then again d9 f2v or v2f depending on what rom to install.. Again reboot to recovery... Then flash rom of ur choice.
This procedure is needed when changing from vendor to factory and vice versa.
Click to expand...
Click to collapse
I don't understand what you are talking about as i say i am not some kind of technical expert i am here help regarding this i faced similar situation where i am not able to enter into recovery and also not able to enter into the os and when i restart the phone it automatically boot into fast boot mode what ever option i select and i solved my problem by this method

how to flash recovery img ?

Hello, on any custom roms we see recovery as img, so whats the ultimate good process to actually flash it?
img to tar bootloop
any other recovery bootloop
only one thats working is "twrp-z3s-3.5.0_10-A11_6+vbmeta_DUB5" BUT i have x1s, so pain to flash some rom.
Im currently on beyond rom 3.1, because i cant flash anything else.
Any help here?
Try flashing vbmeta.img after flashing recovery
like download mode -> recovery, then download mode again and only vbmeta?
didnt try that, ill try it right away
edit:
1) download mode -> AP EXYNOS-G98X-LINEAGE-RECOVERY-20200709
2) booted up rom
3) turned off -> download mode -> USERDATA vbmeta.tar from beyond rom
4) bootloop, up button and power same thing
i dont know if i should try stock and then go for root again or what exactly do.. i dont want to lose any data now. It got really complicated, since i go from root apk clockworkmod era.
maybe magisk is the issue? since i have it installed
Go to fastboot
Flash recovery
Flash vbmeta
Reboot
If fastboot doesn't like extensions of your images, change them to .img
how can i get to that? on TWRP if i do reboot -> fastboot, im still in TWRP and "fastboot devices" shows completely nothing (not even list of devices or whatever)
when i go to bootloader mode from magisk i just see "entering fastboot mode.." and thats about it, no fastboot commands work
b30wu1f said:
how can i get to that? on TWRP if i do reboot -> fastboot, im still in TWRP and "fastboot devices" shows completely nothing (not even list of devices or whatever)
when i go to bootloader mode from magisk i just see "entering fastboot mode.." and thats about it, no fastboot commands work
Click to expand...
Click to collapse
Move vbmeta.img to your phone and go to Install section. Install it and reboot.
Also, TWRP offers an option to reboot to bootloader. You can try it too
well, i flashed lineage recovery img and then vbmeta, phone booted up, but got probably original recovery. its really frustrating. Do you have any valid and working "tutorial" to get the recovery working ?
i just need recovery thats x1s, so it should be probably lineage recovery, but cant install it. Im starting to hate these new phones.
I'm sorry, I don't have any specific tutorial, but in general:
adb reboot-fastboot
fastboot flash recovery recovery.img
fastboot flash vbmeta vbmeta.img
fastboot reboot-recovery
If this doesn't work, search for your specific device on XDA. You shouldn't hate new phones, you should hate people who sell them, because they make everything hard so you won't switch from their software, which spies on you.
tried TWRP that works, installed as img lineage-18.1-20210224-recovery-x1s.img and now it suddenly worked. Thank you for help, after 6 hours =)

Categories

Resources