We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

[Xperia X] Can no longer access fastboot or recovery! [answered]

asked 2017-10-13 12:35:58 +0300

veritanuda gravatar image

updated 2017-11-17 12:37:09 +0300

JoHe gravatar image

So finally got sailfish on my phone, thanks to everyone's input there. But maybe I am going mad but I seem unable to put the phone in either fastboot mode or recovery mode. Holding the Volume up or down buttons appear to do nothing.

Did the Sailflash do something to the bootloader and recovery partitions? I did have to flash stock rom to the phone before I could flash Sailfish, so I guess that might have nuked the twrp recovery I had, but fastboot as well seems a little weird.

Other than that the phone seems to be working fine, which is nice. But I want a proper rescue image so I can save this working configuration.

Thoughts anyone?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JoHe
close date 2017-11-17 12:37:26.158253

Comments

Know that I had similar issue with installed community image and ended up using EMMA to reflash Android stock. You can still Telnet into device for recovery though.

aspergerguy ( 2017-10-13 13:53:34 +0300 )edit

Yeah.. but fastboot missing means I cannot even flash a recovery kernel?

I don't get it. Recovery sure, that could have been nuked by Stock rom but fastboot should be inviolate.

Don't really know what I can do to get it back. I can not even flash it the with the flashtool if I cannot put the devices into fastboot mode

EDIT: Ok . this is weird but a relief. Holding the power button and pressing up does not work. However holding the Volume button up and plugging in USB power does put it in fastboot mode. Phew.

Very odd.

veritanuda ( 2017-10-13 13:57:23 +0300 )edit
1

However holding the Volume button up and plugging in USB power does put it in fastboot mode. Phew. Very odd.

That's how it's meant to work, isn't it? It's described like this in every instruction I read.

michfu ( 2017-10-13 14:27:50 +0300 )edit

Nope.. Before I did this adventure pressing up and power button used to put it in fastboot mode. Pressing down was recovery. From TWRP i could adb reboot bootloader if needed. :) Bear in mind I had futzed around with this phone soon as I got it. So maybe was something I did then.

The only reason I wanted to get into fastboot mode was to reflash my recovery (which I did now) and from that be able to extract the boot image so I can change the distractingly bright white Sony splash.

Given there is no boot animation for Sailfish (which boots exceedingly fast) figured I might as well replace the boot splash with something a bit more agreeable. Like a Sailfish X logo or something Linuxy or even something more personal.

veritanuda ( 2017-10-13 14:38:02 +0300 )edit

AFAIK for xperia x volume up is fastboot and volume down is flash (do you mean that by recovery)?

naytsyrhc ( 2017-10-26 02:21:33 +0300 )edit

1 Answer

Sort by » oldest newest most voted
12

answered 2017-10-24 19:50:37 +0300

DrYak gravatar image

updated 2017-12-12 17:01:42 +0300

Fastboot mode :

On the Xperia you use the USB cable instead of the power button. i.e.:

  • you keep holding the Volume Up button and insert the USB cable.
  • the phone boots into fastboot mode (screen stay black, led is colored blue)

Recovery mode :

Two things :

  1. The standard installation (startup.sh or startup.bat, depending on the OS you used) will only flash the main kernel (it will flash hybris-boot.img file into the bootpartition).

    • It will leave whatever you used to have inside the recoverypartition at that time (in your case it's either still TWRP Recovery, or the recovery that came with the latest 34.3.A.0.228 / .338 image from Sony, depending on what checkbox you clicked inside FlashTool). None of these is any useful with Sailfish X.
    • You need to flash the recovery image yourself (everything is provided inside Jolla's Sailfish X zip file). While the phone is in fastboot mode (On Linux you need sudo if you didn't tweak your udev rules) :
      fastboot flash recovery hybris-recovery.img
      
      or you could just boot into the image once ; while the phone is in fastboot mode :
      fastboot boot hybris-recovery.img
      
  2. Just like above, remember to use the cable instead of the power button :

    • you keep holding the Volume Down button and insert the USB cable.
    • the phone boots into recovery mode (screen tells you to use telnet 10.42.66.66 to connect to the recovery menu, led is colored green)
edit flag offensive delete publish link more

Comments

1

Somehow the flashing doesn't work for me. I used the instructions as written above to flash the recovery image, and fastboot reports the flashing went OK. However when using VolumeDown+USB Cable, I get the green LED but only a black screen (no telnet instructions). Also using telnet to access the recovery menu doesn't work.

Directly using fastboot boot ... does work fine. I do have a DualSIM Xperia X (F5122), should there be any difference in the flash command? Did anyone successfully flash the recovery image on a F5122?

seiichiro0185 ( 2017-12-28 08:24:14 +0300 )edit

F5122 too and even worse for me: same problems as @seiichiro0185 with flashing the recovery image. I can do "fastboot boot" as him, but I can't telnet 10.42.66.66: it keeps waiting forever. Tried two different Linux systems, unplug and plug the USB cable, leave network unconfigured or try 'ifconfig usb0 10.0.0.2 netmask 255.0.0.0'... nothing works. EDIT: solved. Just managed my networks using a GUI (plasma-nm since I'm using KDE) instead of editing /etc/network/interfaces by hand.

Mced ( 2018-08-05 09:11:25 +0300 )edit

Question tools

Follow
9 followers

Stats

Asked: 2017-10-13 12:35:58 +0300

Seen: 5,212 times

Last updated: Dec 12 '17