What will happen if I flash TWRP to boot? - Sony Xperia M

Please tell me...

The device will simply boot into TWRP at normal startup (as if you were pressing the key combo or issued "adb reboot recovery" in a shell)

Related

Trying to install TWRP but the phone keeps overwriting it

Trying to install TWRP v3. Phone is unlocked (not rooted yet as not necessary atm). I'm able to sucesfully push the .img to the sdcard via adb and install via "fastboot flash recover twrp.img" but the moment I reboot the phone and try to access recovery to get into TWRP, all I get is a little icon of an android mascot lying down with his belly open. No TWRP.
I know the phone will auto-overwrite custom recovery's if the correct combination of hardware buttons are not pressed after the first TWRP install (as TWRP needs to patch the default recovery the first time to stop the phone from constantly trying to overwrite TWRP every time) but so far i've not been able to find out what it is (i.e. not the usual vol +- and power all at the same time. Its gotta be something else?).
Edit: Delete his post. I figured it out. Turns out it isn't a good idea to execute "fastboot reboot" immediately after TWRP installation
Don't restart the Phone!
Flash Recovery and the do the following:
Use the volume keys to scroll and power key to select the Reboot Bootloader option. Once the phone has booted back into the bootloader you can use the volume keys to scroll and the power key to boot into your newly flashed recovery. It's now safe to disconnect your usb cable.

[RECOVER][TWRP][STOCK] Asus live (Z00yd)

I ported TWRP(3.02-1) for Asus live, so i decided to post it because i never saw a custom recovery for this model.
To install the custom recovery you need adb and fastboot installed on your PC, and "USB debbuging" enable in your phone.
Now go into bootloader/fastboot mode, you can get there using adb terminal with the command "adb reboot fastboot" or turn off the phone, then press and hold UP VOLUME, after pressing volume up press POWER button, hold until you see a small menu then select fastboot mode.
Now in your pc,
copy the TWRP.img to your adb folder.
Open the adb terminal and type
Code:
"fastboot flash recovery TWRP.img"
It will display a message, if it is "OKAY" you are good to go.
IF SOMETHING BAD HAPPENS
you can flash the stock recovery using the exactly same process.
Move the Recovery.img to your adb folder and type
Code:
"fastboot flash recovery Recovery.img"
TWRP recovery and stock recovery:
HTML:
https://mega.nz/#F!KEJG3ShK!l1R6t8Xbo5wACgIWC35-Dw
(if you bricked your phone, you can use the stock recovery and the command above to unbrick it)
if i committed any grammar mistakes, correct me in the comments, thanks

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...

Can't enter fastboot

I can't enter fastboot mode with my oneplus 5T, it only boots into recovery. Android doesn't boot either.
I've tried pressing and holding the ‘Volume Up’, ‘Volume Down’, and ‘Power’ keys together to enter fastboot. Did not work.
ANY other combination/only powerbutton will just book into recovery.
I've also tried the following command while in twrp:
Code:
$ adb devices
List of devices attached
16a3gh14 recovery
$ adb reboot fastboot
Which again boots into recovery. Any ideas on how to get this working, much thanks!
luutoo said:
I can't enter fastboot mode with my oneplus 5T, it only boots into recovery. Android doesn't boot either.
I've tried pressing and holding the ‘Volume Up’, ‘Volume Down’, and ‘Power’ keys together to enter fastboot. Did not work.
ANY other combination/only powerbutton will just book into recovery.
I've also tried the following command while in twrp:
Code:
$ adb devices
List of devices attached
16a3gh14 recovery
$ adb reboot fastboot
Which again boots into recovery. Any ideas on how to get this working, much thanks!
Click to expand...
Click to collapse
You don't do adb in TWRP. If in TWRP it's reboot menu, you choose bootloader.
Tulsadiver said:
You don't do adb in TWRP. If in TWRP it's reboot menu, you choose bootloader.
Click to expand...
Click to collapse
I can't get past the "decrypt data" screen in twrp thus I can't go to the reboot menu and choose bootloader. I want to flash the new version of twrp but not sure how to do it without bootloader.
luutoo said:
I can't get past the "decrypt data" screen in twrp thus I can't go to the reboot menu and choose bootloader. I want to flash the new version of twrp but not sure how to do it without bootloader.
Click to expand...
Click to collapse
You stated;
"I've also tried the following command while in twrp:"
This says you were in TWRP.
adb reboot bootloader gets you to fastboot. Not, adb reboot fastboot.
Tulsadiver said:
You stated;
"I've also tried the following command while in twrp:"
This says you were in TWRP.
adb reboot bootloader gets you to fastboot. Not, adb reboot fastboot.
Click to expand...
Click to collapse
Yes I were in twrp but, couldn't get past the decrypt screen.
Here is how it looks: imgur
One would think there would be a "cancel" button to bypass the decrypt but there are non.
Thank you! Don't know why I thought fastboot was the correct command... I've tried using the same button combinations for hours didn't work, this did!

Can't boot to recovery

Hello guys,
I have a Ginko device. It started to act weird, as if the volume down button was held down at all times. I took it to some shop and they told me it's most likely software and not hardware, and to try and flash a new ROM.
Now, I believe he was talking out of his ass. Rebooting the phone automatically puts it into fastboot because of the volume- button being broken. If it was a software issue this would not happen, I believe.
Whatever, I decided to try and flash a ROM just because maybe if I have root I will be able to block that button from working somehow.
The issue is, I can't boot into TWRP.
I unlocked the phone through Xiaomi and downloaded TWRP for Ginko. I did the `fastboot flash recovery twrp.img` thing and it works fine, but after that the command to reboot it to recovery `fastboot boot twrp.img` does not work. The fastboot image goes black for .1s then it shows the fastboot image again. Nothing happens. If I run the command again it takes a few seconds shoing "booting..." then the phone reboots to SYSTEM and an error shows on the CMD saying "FAILED (status read failed (Too many links))".
The only way I've found to boot to recovery is by using `adb reboot recovery` but that needs me to boot into system, which means TWRP is erased and the default recovery comes up.
If I reboot the phone the only way to go into system is by holding volume+, as it seems to counter the broken volume- button... But that means I can't boot to recovery, no matter how many times I try.
So I have no idea what to do.
AckmanDESU said:
Hello guys,
I have a Ginko device. It started to act weird, as if the volume down button was held down at all times. I took it to some shop and they told me it's most likely software and not hardware, and to try and flash a new ROM.
Now, I believe he was talking out of his ass. Rebooting the phone automatically puts it into fastboot because of the volume- button being broken. If it was a software issue this would not happen, I believe.
Whatever, I decided to try and flash a ROM just because maybe if I have root I will be able to block that button from working somehow.
The issue is, I can't boot into TWRP.
I unlocked the phone through Xiaomi and downloaded TWRP for Ginko. I did the `fastboot flash recovery twrp.img` thing and it works fine, but after that the command to reboot it to recovery `fastboot boot twrp.img` does not work. The fastboot image goes black for .1s then it shows the fastboot image again. Nothing happens. If I run the command again it takes a few seconds shoing "booting..." then the phone reboots to SYSTEM and an error shows on the CMD saying "FAILED (status read failed (Too many links))".
The only way I've found to boot to recovery is by using `adb reboot recovery` but that needs me to boot into system, which means TWRP is erased and the default recovery comes up.
If I reboot the phone the only way to go into system is by holding volume+, as it seems to counter the broken volume- button... But that means I can't boot to recovery, no matter how many times I try.
So I have no idea what to do.
Click to expand...
Click to collapse
Did you also try to flash recovery as you did before but right after that booting directly into recovery using hw buttons (vol- and pwr button till boot splash appears) from fastboot?
AckmanDESU said:
The only way I've found to boot to recovery is by using `adb reboot recovery` but that needs me to boot into system, which means TWRP is erased and the default recovery comes up.
Click to expand...
Click to collapse
to prevent twrp to be erased flash vbmeta (attached) using :
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
i suggest you use OrangeFox and enable "aggresive stock recovery deactivation" in settings
This is a hardware problem and it's better to replace it
you can disable that button (while on Android) using xposed edge by setting "none" to click and long clic (need root + lsposed or edxposed)

Categories

Resources