How to check if I have /recovery partition installed? - Xperia Z1 Q&A, Help & Troubleshooting

As in title - How to check if I have recovery partition installed?
I already flashed FTF with TA update by Andropax, but its doesnt work for me...
Any idea?
Thanks

Try do 'adb reboot recovery' or select reboot from recovery from power menu if you have any of those advanced power menu mods installed.

tomascus said:
Try do 'adb reboot recovery' or select reboot from recovery from power menu if you have any of those advanced power menu mods installed.
Click to expand...
Click to collapse
Won't work, the new recovery partition doesn't work with adb and so won't work with power menu mods either. Normally, POW+VOL DOWN and releasing POW on vibrate takes you to the recovery, if you've installed a recovery using 'fastboot flash recovery recovery.img' , but I find that inconsistent with Stock ROMs. If you're running an AOSP based ROM, that should work and it will directly take you to recovery.

so you mean the only way to check if i have the recovery partition is by actually flashing the recovery in fastboot?

If you are rooted you can download terminal emulator from play store. Run it, type in su and hit enter. grant super user access. Then type reboot recovery and hit enter again.
Your phone should now reboot into recovery if there is any. Otherwise the phone will just reboot to its system.

Related

Can't boot Captivate into Bootloader

I am trying to boot my samsung captivate into the boot loader. I've tried the physical key combos mentioned on XDA with no luck.
I tried using ./adb reboot bootloader but the phone does a regular reboot.
I am able to get a splash screen with that says "Download" and has a picture of the Android shoveling, by pressing both volumes and plugin in the power.
But if i do this, the device is not visible when I used ./adb devices
I am also able to boot into recovery using ./adb reboot recovery but I still cant see the device. I can also reboot into recovery with "One Click Root."
It says : Your phone is now in recovery mode. Select "Apply sdcard:update.zip" using the volume buttons and then press the power/home button.
But i don't see this as an option. my options are:
reboot system now
reinstall packages
delete all user data
delete cache data
formate internal sd-card
The question is how can i get this to reboot into the bootloader preferably from the terminal so that I can unlock it and install CWM.
Any advice would be much appreciated!
Running 2.6
Mac OS X
As far as i know, u can't reboot the Captivate into the bootloader.
But u could use Heimdall to flash a kernel that has cwm recovery built in.
Sent from my SGH-I777 using xda premium

ADB and recovery

So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?
Ocalito said:
So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?
Click to expand...
Click to collapse
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.
shinobisoft said:
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.
Click to expand...
Click to collapse
Thank you for your help, i was able to bot into recovery and flash my back up.... and then i was able to install cm11.

[Q] help bootloader & root

hello,
I buyed a moto g, it's my first smarthphone...
I followed this tuturial http://forum.xda-developers.com/moto-g-2014/development/guide-root-moto-g-2nd-gen-2014-t2874245,
I get to unlock the bootloader, but when I get to this point
4. Flash Recovery through fastboot mode/bootloader mode
and Go into your adb+fastboot folder and Type in CMD prompt
Command :
Code: fastboot flash recovery TWRP2801-titan-motog-2014.img
can't get the moto g in flash recovery mode, it appear a dead android with a RED ! TRIANGLE...
any idea to resolve this...
RastaFATian said:
hello,
I buyed a moto g, it's my first smarthphone...
I followed this tuturial http://forum.xda-developers.com/moto-g-2014/development/guide-root-moto-g-2nd-gen-2014-t2874245,
I get to unlock the bootloader, but when I get to this point
4. Flash Recovery through fastboot mode/bootloader mode
and Go into your adb+fastboot folder and Type in CMD prompt
Command :
Code: fastboot flash recovery TWRP2801-titan-motog-2014.img
can't get the moto g in flash recovery mode, it appear a dead android with a RED ! TRIANGLE...
any idea to resolve this...
Click to expand...
Click to collapse
#If U Successfully unlocked ur Bootloader then,
place the recovery image in the same directory as fastboot.
Open a terminal on your PC and reboot the device into fastboot mode by typing
adb reboot bootloader
or by using the hardware key combination
(press & hold Volume down and power button When phone is off)
#Once the device is in fastboot mode, verify your PC sees the device by typing
fastboot devices
If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine.
#Flash recovery onto your device by entering the following command:
fastboot flash recovery your_recovery_image.img
where the latter part is the filename of the recovery image.
Once the flash completes successfully, reboot the device into recovery to verify the installation. Boot to recovery instructions: Hold Volume Down & Power simultaneously. On the next screen use Volume Down to scroll to recovery and then use Volume Up to select.
I successfully installed twrp recovery system but I can't do any backup, the system reboot in the process...
flash the recovery again and try...
jbanti said:
flash the recovery again and try...
Click to expand...
Click to collapse
It's not my fault.... seems a bug of twrp
XT 1068 UK
TWRP 2.8.0.1 Back up fails to both internal and external SD.
When external selected, backup starts but after 10 to 30 seconds it reboots the device. It starts to back up files and then just reboots. If I don't select compress backup, then it starts to backup more files before it reboots. Seems to be time related. Also tried unplugging while backing up and same issue.
Folders get created in all cases for external SD but data files. Not sure where the log files would get stored. Suspect they don't get created as the system reboots during the backup

Help with rootning 20.1.A.2.19

Is there anyway to root this ?
Of course, just follow these easy steps and then enjoy your rooted android (If you don't understand something from the steps, google it or ask me.)
1. Unlock your Bootloader (you will need ADB and to factory reset after unlocking.)
-Type in Google "unlock sony bootloader" and click on first link.
-Select your device, click continue and enter your email address, you will need your IMEI of your smartphone, then you will receive your unlock key in your email address.
-After you did all of this, carefully read the instructions on Sony website and you will unlock your Bootloader in 1-5 minutes.
2. Now with unlocked Bootloader you can flash Philz custom recovery via ADB (with fastboot installed.)
-Go to http://forum.xda-developers.com/xperia-e1/general/philz-touch-recovery-xperia-e1-t2941831 and download the recovery.
-Now put recovery.img who you downloaded in ADB/platform-tools
-Enable USB Debugging in Developer options.
-Connect your smartphone with USB and run ADB (to make sure you connected ADB, type "adb devices" and you should be able to see your device (if not, you did something wrong.)
-While in ADB, type this command: adb reboot bootloader (this will reboot in fastboot.)
-Now, when in fastboot mode, type this: fastboot flash recovery recovery.img (the flash finish for 1 sec.)
-Type "fastboot reboot" while in fastboot, and your device should be ready with installed custom recovery.
-You can enter Recovery by power off your smartphone, then press: "Power" + "Volume UP".
3. Download Latest SuperSU (this is the root): https://download.chainfire.eu/1017/SuperSU/SR1-SuperSU-v2.79-SR1-20161221223537.zip
-Put the SuperSU.zip in your SD card.
-Boot in Recovery.
-Choose "Install Zip".
-Choose "Choose zip from /sdcard".
-Select your .zip file and tap on him.
-Choose "Yes".
-Choose "Reboot System Now" (Or if it does not show, then go back to main menu and choose it.)
Congratulations, you flashed SuperSU/root successfully.
If you have questions, ask me and I will answer when I can/see them.
Easiest way is have any recovery on your phone, doesn't really matter If you have Caio's kernel + TWRP, or the regular one PhilZ recovery
Download SuperSU from Google Play, when it asks you to update the binary tap on Yes, and when it asks you again how to update the binary, just tap on TWRP
On the next boot you will have root.
Just use kingroot and supersume to get supersu without computer. I use kingroot 4.5 because newest one doesn't work with supersume. good luck!

Trying to backup stock recovery and boot, then stuck in boot logo...

I need some urgent advice. I was following this guide https://forum.xda-developers.com/le-2/how-to/guide-unlocking-rooting-restoring-to-t3515555 to backup stock recovery and boot. I did not want to flash twrp and su, so I skipped to wipe Dalvik/Cache, did that, and reboot from twrp.
Then the phone stuck in boot logo, I've waited at least 12min, nothing. So I tried to restart from stock recovery as stated in the guide, no good.
Basically I skipped step 16-20:
Download and install Minimal ADB and Fastboot: http://forum.xda-developers.com/show....php?t=2317790
Download latest official TWRP, place file in ADB installation folder, and rename to "twrp.img": https://twrp.me/devices/leecole2.html
Download SuperSU 2.78 (stable): https://download.chainfire.eu/1001/
Boot up phone and plug into computer
Settings > scroll to bottom to "About phone" > touch "Build" 7 times to enable developer options
Developer options > toggle "OEM unlocking" and "USB debugging" so that they're both enabled
When "Allow USB debugging?" window pops up on phone, check "Always allow..." box and hit OK
In Minimal ADB installation folder, hold Shift and right-click "Open command window here", then type:
Code:
adb reboot bootloader
Once in fastboot:
Code:
fastboot oem unlock-go
fastboot boot twrp.img
If password screen comes up, tap "Cancel" button
If it asks, tap "Keep Read Only" button (probably doesn't matter, but whatever)
Wipe > Format Data
Make backups (I suggest boot, recovery, and system since this will allow you to return everything to stock later on)
Mount > Enable MTP
Copy entire TWRP folder from internal storage to your computer
Copy SuperSU zip from your computer to root of internal storage
Reboot > Bootloader
Code:
fastboot oem unlock-go
fastboot flash recovery twrp.img
Hold Vol+ and Pwr until boots into TWRP
Swipe to Allow Modifications
Install > select SuperSU zip > swipe to flash
Wipe Cache/Dalvik
Reboot (first boot will take a little while, so be patient)
Click to expand...
Click to collapse
Please help!
Hi, unfortunatelly I have the exactely same problem.
I boot to TRWP > wipe Format Data > did backup and restart.
Then my LeEco Le 2 X527 stuck on the booting LeEco logo. I've tried to Pwr+Vol Up and selected all the checkboxes to do stock factory reset but it didn't help.
Also, it seems I cannot use ADB, fastboot and TWRP any more, because after the Wipe the device is unauthorized
Did I brick the phone? Please help dear professionals!
Update:
I found that I can still boot to the bootloader by holding Pwr+Vol down. After that I was able to normally use "fastboot oem unlock-go" and
"fastboot flash recovery twrp.img" to flash the TWRP. After I installed the LineageOS and GAPPS and phone boot up successfully!

Categories

Resources