What's the Best Way to Get Into Recovery Mode? - Xperia Z5 Compact Q&A, Help & Troubleshooting

So, this is a really dumb question, but I suppose better to ask than mess something up.
So I finally rooted my Z5 Compact with this excellent guide, and everything went off without a hitch. The guide had me set my bootloader back to "Bootloader unlock allowed" before I was done, which, if I'm understanding things correctly, means that I relocked the bootloader (or at least, it looks locked).
My issue is this. I'd like to install this audio tweak, but the instructions require me to put the device into Recovery Mode (CWM or TWRP or Philz Recovery). First, what's the best way of doing that, and second, is that going to require me re-unlocking my bootloader, or is my bootloader actually already unlocked?If I have to unlock my boot loader again, does that mean I need to restore my DRM keys again?
Thanks for any help anyone can offer!

I'm not sure about the "best", but you enter recovery by pressing UP when you see the LED flash yellow during boot. If successful the LED will turn orange and you'll be in TWRP in no time.

Wow! That was way simpler than I thought it was going to be. Thanks so much!

mhaha said:
I'm not sure about the "best", but you enter recovery by pressing UP when you see the LED flash yellow during boot. If successful the LED will turn orange and you'll be in TWRP in no time.
Click to expand...
Click to collapse
Thanks, that helped a lot!

mhaha said:
I'm not sure about the "best", but you enter recovery by pressing UP when you see the LED flash yellow during boot. If successful the LED will turn orange and you'll be in TWRP in no time.
Click to expand...
Click to collapse
never happens at my phone, when is it supposed to happen?

Related

Help Please!! I need to get my phone back to stock!

I have very little experience in this area and dont know what all these terms mean. I followed the noob proof toolkit to root, now I need to get fully back to stock. I relocked the bootloader and i no longer have root. When I try to update my phone to the newest software update, it downloads the update and restarts into the white screen where you navigate with the volume buttons. I would like help getting this phone back to how I got it from T-mobile please. Please be specific as I'm a noob in these matters. Thanks!
shapiro1234567890 said:
I have very little experience in this area and dont know what all these terms mean. I followed the noob proof toolkit to root, now I need to get fully back to stock. I relocked the bootloader and i no longer have root. When I try to update my phone to the newest software update, it downloads the update and restarts into the white screen where you navigate with the volume buttons. I would like help getting this phone back to how I got it from T-mobile please. Please be specific as I'm a noob in these matters. Thanks!
Click to expand...
Click to collapse
Did you install a custom recovery (clockworkmod or TWRP)? What about a custom ROM?
And the screen you're referring to is called the "bootloader" screen just fyi
mcdsmaster8824 said:
Did you install a custom recovery (clockworkmod or TWRP)? What about a custom ROM?
And the screen you're referring to is called the "bootloader" screen just fyi
Click to expand...
Click to collapse
Yup, i installed cwm. and a custom rom. how do i get it 100% back to stock?
First, you'll have to unlock the bootloader so you can flash the stock rom. Google for stock Tmobile HTC ONE rom, it should return the results you need.
AFTER you have flashed the ROM you'll have to flash the stock recovery via fastboot (fastboot flash recovery <name of your recovery>). Again Google for Tmobile stock recovery, you'll find the .img file. If you're unfamiliar with using ADB and Fastboot commands, use youtube, there are plenty of tutorials that show the basics.
After you have done this, just relock the bootloader and you should be back to stock.
You are right
Here's a nice step-by-step guide for T-Mobile stock. --> http://forum.xda-developers.com/showthread.php?t=2357624

Creating a custom FTF of CM or AOSP?

Ok so after I posted a previous question about not having bootloader access, I've realized there is something wrong with my xzu. HOWEVER, I CAN get into flash mode to flash factory firmware. The bootloader was unlocked using a tool that I downloaded, but without access to the bootloader, I can't flash any custom recovery so I can flash a different rom.
My question is: Can an FTF file be created from CM, or aosp, and flashed using flashtool? There is a guide over at xperiablog (Here), but they don't mention anything about non-official firmwares, and I don't see any in the forums here, so I'm assuming that it's either not possible, or not worth the effort for most people.
Can this be done? I have no other options.
InGeNeTiCs said:
Ok so after I posted a previous question about not having bootloader access, I've realized there is something wrong with my xzu. HOWEVER, I CAN get into flash mode to flash factory firmware. The bootloader was unlocked using a tool that I downloaded, but without access to the bootloader, I can't flash any custom recovery so I can flash a different rom.
My question is: Can an FTF file be created from CM, or aosp, and flashed using flashtool? There is a guide over at xperiablog (Here), but they don't mention anything about non-official firmwares, and I don't see any in the forums here, so I'm assuming that it's either not possible, or not worth the effort for most people.
Can this be done? I have no other options.
Click to expand...
Click to collapse
I don't know why you cant get fastboot - the bootloader unlock is done in fastboot mode
blueether said:
I don't know why you cant get fastboot - the bootloader unlock is done in fastboot mode
Click to expand...
Click to collapse
I'll take a video of it tomorrow. It doesn't want to respond to fastboot. I never get the blue light when booting holding volume up. It just blinks amber and green real fast, then it's in flash mode no matter what I do. And like I said, I used some tool to do the boot loader unlock, I think it may have even been flashtool.
InGeNeTiCs said:
I'll take a video of it tomorrow. It doesn't want to respond to fastboot. I never get the blue light when booting holding volume up. It just blinks amber and green real fast, then it's in flash mode no matter what I do. And like I said, I used some tool to do the boot loader unlock, I think it may have even been flashtool.
Click to expand...
Click to collapse
Okay you must reflash the stock kitkat Firmware, that is the onliest way to recover the fastboot mode.
the-cortana-project said:
Okay you must reflash the stock kitkat Firmware, that is the onliest way to recover the fastboot mode.
Click to expand...
Click to collapse
I AM on stock kitkat. Which is the main reason this is a problem.
InGeNeTiCs said:
I AM on stock kitkat. Which is the main reason this is a problem.
Click to expand...
Click to collapse
Maybe restore your TA Partition with your TA Backup

Nightmare, help please :)

Hi, I literally opened the nexus 9 out of the box, powered it on & after choosing a wifi network it began updating, the device crashed during this update and now it won't boot! I've tried & searched for everything, anyone have any ideas?
Booting to recovery with HW buttons, wiping cache/userdata/factory reset - Nada!
Can boot into fastboot, no permission to flash as oem unlock is disabled!
I cant get into the tablet to unlock fastboot oem unlock within devOpitons or usb debugging etc, (com.android.phone has stopped on boot) black screen indefinitely.
I can't flash any images while it is locked
surely there must be a simple method?
desperate here
Return it
I'd just return it. I'm no expert, but I'd seek a way to avoid the update during setup and try to postpone it until you unlock developer options and OEM unlock. I'm not sure how you'd bypass the update during setup, but you're in the right place if it's possible.
VermontKindBud said:
I'd just return it. I'm no expert, but I'd seek a way to avoid the update during setup and try to postpone it until you unlock developer options and OEM unlock. I'm not sure how you'd bypass the update during setup, but you're in the right place if it's possible.
Click to expand...
Click to collapse
Hmm, its one of works, just bought bulk amount of them. surely it can't be stuck in an unescapable cycle?
syko9 said:
Hmm, its one of works, just bought bulk amount of them. surely it can't be stuck in an unescapable cycle?
Click to expand...
Click to collapse
Certainly it can. If it started to install the 5.0.2 OTA, there have been a lot of bricks.
cam30era said:
Certainly it can. If it started to install the 5.0.2 OTA, there have been a lot of bricks.
Click to expand...
Click to collapse
Alright thanks for the info, guess it shall be replaced thanks.
syko9 said:
Alright thanks for the info, guess it shall be replaced thanks.
Click to expand...
Click to collapse
Welcome. And FWIW: there's a button for that.
If I remember correctly you can still flash the stock images even with the boot loader locked. Its only custom images that google will not accept unless you unlock boot loader.
Ripx88 said:
If I remember correctly you can still flash the stock images even with the boot loader locked. Its only custom images that google will not accept unless you unlock boot loader.
Click to expand...
Click to collapse
Bootloader has to be unlocked to "fastboot flash" anything.
You can sideload an OTA with a locked bootloader, but you have to be able to access recovery.
cam30era said:
Bootloader has to be unlocked to "fastboot flash" anything.
You can sideload an OTA with a locked bootloader, but you have to be able to access recovery.
Click to expand...
Click to collapse
Ah ok gotcha. My apologizes, I thought I heard somewhere you could. Thank you for the correction.
Ripx88 said:
Ah ok gotcha. My apologizes, I thought I heard somewhere you could. Thank you for the correction.
Click to expand...
Click to collapse
No problem. That's how we learn.
cam30era said:
No problem. That's how we learn.
Click to expand...
Click to collapse
Indeed I'm still new to nexus devices. I've been flashing on Samsung devices for years so I'm still stuck in my Odin ways. Just got the N9 less then a week ago. The whole fastboot thing was foreign at first but I'm getting there lol. Thank you again.

Can't switch from stock

I'm really out of ideas to what's causing this so I could use some help.
My tablet has been fine for a long time and has had many roms on it previously. I have been on rooted stock however for over a year now and decided to try a rom again....
However I have tried 3 different roms now all with catastrophic problems. I install them fine through twrp along with gapps then reset Tablet but get a black screen with just a blinking charge light if it's plugged in. No boot logo or anything.
I managed to revert back to stock about 5 times today through flash mode and flash tool but I don't know what's going on.
I rooted, turned on debugging and reflashed twrp but it keeps happening across different android versions too. I thought maybe I had relocked bootloader so I tried to check through adb oem but it freezes, so I ran the unlock command just in case through adb and it was fine but still freezes.
Any ideas?
To add to this I just downloaded a dialer app on stock to check bootloader unlock status.
It says bootloader can be unlocked but nothing about its actual status. I'm more or less certain this is the issue now so can anyone advise what to do? I manually tried unlocking bootloader and it just restarted like everything was fine but nothing changed.
SabertoothTitan said:
To add to this I just downloaded a dialer app on stock to check bootloader unlock status.
It says bootloader can be unlocked but nothing about its actual status. I'm more or less certain this is the issue now so can anyone advise what to do? I manually tried unlocking bootloader and it just restarted like everything was fine but nothing changed.
Click to expand...
Click to collapse
I'm not an expert to be honest but I would try that:
put your tablet in fastboot mode, connect it to your pc and in fastboot type
"fastboot flash boot twrp.img"
Now you should have TWRP.
If this work your bootloader should be unlocked otherwise I think you should see some error in fastboot
Once you have twrp I suggest you to flash resurrection remix 5.7.0 (android 6.0.1). I suggest it just because it worked without problem with my tablet Z.
Something not clear to me: you started just with a rooted stock ROM or you unlocked bootloader, flashed TWRP and then your ROM?
I started with rooted stock rom, I am using dual recovery that seems to be working fine (it was faster since its just a bat file). I originally rooted using kingroot on stock which I used to flash stock rom prerooted with supersu with twrp.
If I try the same process with anything that isn't stock it's black screen on reboot. No Sony logo or anything.
Ive tried changing recovery to newest twrp, changing sd card to a different one, different ROMs including the one you mentioned because that's the one I wanted to try. I also tried with and without black kernel. None made any difference. Black screen boot everytime with just a blinking light on side like its got no OS installed at all.
Just to clarify, my bootloader should be unlocked. I've checked but if I run the adb command to check it just freezes like it's eternally loading. Using dialer go check it doesn't even display anything about it aside from the fact it can be unlocked.
what command do you type? "fastboot oem device-info"?
ok so I have an update, something is definitely messed up with my bootloader.
I tried to relock bootloader from fastboot but its also stuck in a loading cycle for no reason. It seems on some level my bootloader is unlocked because I can flash recoveries fine, but when I come to put a new ROM on the device it won't let me and black screens.
From fastboots I used the commands 'fastboot oem lock' and I just get '...' forever underneath. If I use 'fastboot devices' my device is listed, if I use 'fastboot -i 0x0fce oem unlock 0xbootloadercodehere' it fails the first time, then works the second time and says ok but its clearly done nothing when the device reboots. 'fastboot oem device-info' also leaves me with the '...' on command prompt forever too.
I have no idea what to do if bootloader is screwy at all.
-Pepe said:
what command do you type? "fastboot oem device-info"?
Click to expand...
Click to collapse
Yup that's what I used. I'm pretty sure bootloader is borked somehow though. I tried reinstall from Sony software too which hasn't changed anything.
SabertoothTitan said:
Yup that's what I used. I'm pretty sure bootloader is borked somehow though. I tried reinstall from Sony software too which hasn't changed anything.
Click to expand...
Click to collapse
I just tried with my XTZ and "fastboot oem device-info" just froze, it had 3 dot and nothing else. In my OPO it worked.
I'm gonna search something else...
Whats weird is my tablet also won't install anything on TWRP, I just tried installing SuperSU from it to see if it would work (having to use Kingroot atm) and it just does nothing.
I think this is the issue since I'm factory resetting before installing a ROM, which is therefore wiping my system and when I come to reset because TWRP isn't installing anything its acting like there isn't a system installed.
I can install via ADB fine, just when it comes to recovery... system says no. Its weird because its like its got a locked bootloader or something but even though I reinstalled using Sony software its still the same. If I try unlock bootloader again, I get an error first time then it says OKAY and does nothing.
SabertoothTitan said:
bootloader can be unlocked
Click to expand...
Click to collapse
According to an other post this should mean that your bootloader is locked but can be unlocked via Sony's code. At the same time I've read in the same post (can't find it) that people with unlocked bootloader still have "bootloader can be unlocked" even if they successfully unlocked it...
Unfortunately I can't try it myself because I'm on RR and the code *#*#7378423#*#* (this should be the code you used) doesn't do anything.
I have the code and have used it previously I have also retried it just to make sure.
When I type the dialer code above I get 'bootloader can be unlocked: yes' but nothing mentioning the actual current state of bootloader.
This is what's leading me to think it's a bootloader glitch because all posts I've seen should say 'bootloader unlocked: yes' or 'bootloader unlocked: no'. I get neither.
Been a few days and had no suggestions. Anyone got any ideas at all outside what I have mentioned? Getting pretty desperate because wifi is really bad on stock, getting constant slowdowns and stalls for no reason. I'm gonna end up trying to sell second hand if I can't do anything.
SabertoothTitan said:
Been a few days and had no suggestions. Anyone got any ideas at all outside what I have mentioned? Getting pretty desperate because wifi is really bad on stock, getting constant slowdowns and stalls for no reason. I'm gonna end up trying to sell second hand if I can't do anything.
Click to expand...
Click to collapse
Sorry, I'm out of ideas
The only thing I can tell you is what I did to my XPZ, but I doubt it may help you:
1) Unlock bootloader using Sony's guide
2) XPZ in fastboot mode → from pc "fastboot flash boot twrp.img" (assuming you have the proper TWRP image named twrp in the same folder of fastboot)
3) flashed RR 5.7.0 and Gapps
4) RR change the rocovery to CMrecovery but I "easily" changed back to twrp using a guide under RR thread.

SOLVED : Relock bootloader after return to stock (selling phone)

Have tried to find a definitive answer to this but am unsure.
Ran Lineage for a few weeks and happy but looking at getting another phone (maybe Nokia)....anyway
My question is, now I have gone back to stock and all booting nicely and is not rooted, what would happen if I relock the bootloader. If it's ok to relock is it via adb or just deselect the bootloader option in settings.
Sorry if this has been answered elsehwere. I just can't find the black and white, yes no answer.
Thanks
The answer was yes. I read a lot about bootloops etc but all ok with relock for me.
In case itns of any use here is what I did.
1. Restored to stock by using the post below. Although all I did was flash boot.img, recovery.img and system.img. Let it boot then when System UI crashes hold power which restarts then select restart to stock recovery from the 5 second menu and did a factory reset.
https://forum.xda-developers.com/swift-2/how-to/marmite-wileyfox-ota-nougat-android-7-1-t3654999
2. Relocked bootloader using fastboot oem lock from the link below
https://www.theandroidsoul.com/relock-bootloader-fastboot-android/
3. Stuck phone on ebay!!!!
Possible Silly Question
Do I have to erase the phones data if I re-lock the bootloader? — I suppose I would just have to make a backup, but I'm stuck between not being able to root it and not being able to re-lock the, so far, useless features of the unlocked bootloader.

Categories

Resources