maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   How to unlock bootloader - Sony xperia X (https://talk.maemo.org/showthread.php?t=99703)

meloferz 2017-08-17 19:06

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by rob_kouw (Post 1532782)
OK, I will. Did you use a flash script? Androxyde Flashtool keeps saying:
No flash script found.
Flash script is mandatory. Closing session

(Which is weird as in ...\.flashtool\devices\F51XX there are 3 .fsc files)

It have to be included in the ftf I think, don't remember well because when I downloaded from Xperifirm, flashtool asked me to include in the ftf file, and choose yes, and flashed using fsc script when flashtool asked me

Enviado desde mi F5121 mediante Tapatalk

rob_kouw 2017-08-17 19:08

Re: How to unlock bootloader - Sony xperia X
 
In the meantime I found this explanation of the setup on Windows 10, with temporary disabling of Driver Signature Enforcement, allowing you to install the right drivers.
http://www.droidviews.com/setup-andr...vices-windows/

He also gives a step-by-step guide for XperiFirm and FlashTool.
http://www.droidviews.com/install-st...and-flashtool/

Edit: I finally flashed the phone. Thanks guys!
The trick for me was the installation of the drivers. Everything seemed to be OK, but apparently wasn't. The part of disabling of Driver Signature Enforcement before starting Flashtool-drivers.exe was crucial. I only installed the upper two drivers. All the others are meant for specific models, and the X is not among them.

Further newbie tips: on the phone, Settings, About phone, click "Build number" until you are a Developer. With Developer Options allow "USB Debugging". I disabled "Verify apps over USB", not sure whether needed. For later use, enable "OEM unlocking" here too.

Before flashing: hold key Volume Down when plugging in the USB cable. For backupTA connect normally with MTP.

explit 2017-08-18 06:21

Re: How to unlock bootloader - Sony xperia X
 
Guys! Make it better with Xperia Flashtool. Its much easier

rob_kouw 2017-08-19 14:51

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by explit (Post 1532815)
Guys! Make it better with Xperia Flashtool. Its much easier

Sorry, I have no Linux pc available for that. :eek:

juiceme 2017-09-13 10:36

Re: How to unlock bootloader - Sony xperia X
 
I could not wait a week but powered on my shiny new F5121 for the first time now :p
(OK I did manage to hold and wait more than a week before doing so!)

But now I have few questions;
  • 1.) my device seems to come with Nougat 7.1.1 preinstalled.
    Now, to save the TA partition it is apparent that I need to downgrade this to 6.x in order to be able to use the tad-daemon workaround.
    The question is; where to get a known-good Marshmallow image for my device? When I search the net I find numerous sites that allow download but how to know which are genuine?
  • 2.) I am unsure how the downgrade is supposed to help; I understand that unlocking the bootloader destroys the DRM keys but how can I flash the downgrade image without unlocking the bootloader?
    Or is there something special about "sony-signed" images that allow them to be flashed without bootloader unlocking?
  • 3.) If the above is true, does the flashing process guarantee that I can only flash a real-sony-signed-image with locked bootloader?
    If that is true, then I don't need to worry about where I download the image, right?

carmenluci 2017-09-13 11:24

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by juiceme (Post 1534317)
I could not wait a week but powered on my shiny new F5121 for the first time now :p
(OK I did manage to hold and wait more than a week before doing so!)

But now I have few questions;
  • 1.) my device seems to come with Nougat 7.1.1 preinstalled.
    Now, to save the TA partition it is apparent that I need to downgrade this to 6.x in order to be able to use the tad-daemon workaround.
    The question is; where to get a known-good Marshmallow image for my device? When I search the net I find numerous sites that allow download but how to know which are genuine?
  • 2.) I am unsure how the downgrade is supposed to help; I understand that unlocking the bootloader destroys the DRM keys but how can I flash the downgrade image without unlocking the bootloader?
    Or is there something special about "sony-signed" images that allow them to be flashed without bootloader unlocking?
  • 3.) If the above is true, does the flashing process guarantee that I can only flash a real-sony-signed-image with locked bootloader?
    If that is true, then I don't need to worry about where I download the image, right?


1) You can download Android 6 using Xperifirm, the answer is here: https://talk.maemo.org/showpost.php?...&postcount=785, and you can download Xperifirm from XDA Forum: https://forum.xda-developers.com/cro...oader-t2834142

2) You don't need unlock the bootloader to flash the downgrade image

3) Yes, you can only flash sony image without bootloader unlocking

juiceme 2017-09-13 11:39

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by carmenluci (Post 1534319)
1) You can download Android 6 using Xperifirm, the answer is here: https://talk.maemo.org/showpost.php?...&postcount=785, and you can download Xperifirm from XDA Forum: https://forum.xda-developers.com/cro...oader-t2834142

2) You don't need unlock the bootloader to flash the downgrade image

3) Yes, you can only flash sony image without bootloader unlocking

Thanks!

This is good to know, especially 3.) since it means I cannot accidentally flash a buggy/compromised package :D

Can one do this from Linux, as I have no access to windows machines and frankly would not want to install a VM just for this purpose?

aspergerguy 2017-09-13 12:27

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by juiceme (Post 1534320)
Can one do this from Linux, as I have no access to windows machines and frankly would not want to install a VM just for this purpose?

You should get Linux version from here:https://www.installandroidrom.co.uk/...asher-for.html

I am sure that you have already found ExplIT's resource:http://sailfishmods.de/2017/07/howto...ys-bootloader/

juiceme 2017-09-13 12:40

Re: How to unlock bootloader - Sony xperia X
 
Quote:

Originally Posted by aspergerguy (Post 1534323)
You should get Linux version from here:https://www.installandroidrom.co.uk/...asher-for.html

Lovely!
I actually already found https://github.com/Androxyde/Flashtool when I started looking with correct keywords :D

aspergerguy 2017-09-13 14:29

Re: How to unlock bootloader - Sony xperia X
 
Back to orange triangle (brings back memories) and this device will Boot in 5secs.:D


All times are GMT. The time now is 09:57.

vBulletin® Version 3.8.8