Ask / Submit
0

Cannot unlock XA2 bootloader [answered]

asked 2019-05-10 15:37:49 +0200

tehhel gravatar image

updated 2019-05-10 16:27:02 +0200

I have:

  • downloaded the latest platform tools
  • got the unlock code from Sony
  • tapped seven times to enter developer mode and turned on the OEM unlocking and USB debugging
  • told my laptop to pretend that it has USB2 ports
  • tried inserting a USB2 hub between the laptop and the phone

And yet I still get:

~/platform-tools/platform-tools » sudo ./fastboot oem unlock 0x0081F67(redacted)
                                               FAILED (remote: 'Command did not succeed')
fastboot: error: Command failed

And:

~/platform-tools/platform-tools » sudo ./fastboot getvar all
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4256
(bootloader) version-baseband:1311-2845_50.1.A.10.51
(bootloader) version-bootloader:1310-0301_X_Boot_SDM630_LA1.0_O_121
(bootloader) variant:SDM EMMC
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x500000000
(bootloader) partition-type:system_a:ext4
(bootloader) partition-size:system_a: 0xB5000000
(bootloader) has-slot:modem:yes
(bootloader) has-slot:system:yes
(bootloader) current-slot:_a
(bootloader) has-slot:boot:yes
(bootloader) slot-retry-count:b:0
(bootloader) slot-unbootable:b:no
(bootloader) slot-successful:b:no
(bootloader) slot-retry-count:a:5
(bootloader) slot-unbootable:a:no
(bootloader) slot-successful:a:yes
(bootloader) slot-count:2
(bootloader) secure:yes
(bootloader) product:H3113
(bootloader) serialno:CQ30(redacted)
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi

Am I doing something wrong? This is a BNIB phone, yet it has a "O2" app[1] on it that I did not install. Have I been sold a pup?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by yajo
close date 2019-05-11 14:52:25.848086

2 Answers

Sort by » oldest newest most voted
3

answered 2019-05-10 16:41:04 +0200

tehhel gravatar image

updated 2019-05-10 16:50:19 +0200

Since asking this, I have learned that O2 instruct Sony to apply a bootloader lock to all the handsets sold by O2 and will not remove it, even if you have bought a phone sold as BNIB and SIM-unlocked from a third-party and have no intention of using the handset on O2's network.

Lesson learned: when booting the phone to check that the microphone/radios/cameras/etc work, check also for apps or other residual evidence that the phone was once a network-locked handset.

edit flag offensive delete publish link more

Comments

My new Xperia XA2 arrived earlier this week, it was completely unbranded, and I am currently going through Sailfish 3 setup after successfully flashing it.

tehhel ( 2019-05-18 23:35:14 +0200 )edit

I may have the same problem, did your phone, following the procedure mentioned in item 1 of https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/ , say it is unlockable?

arie_jolla ( 2019-06-27 14:12:42 +0200 )edit
2

answered 2019-05-10 15:47:13 +0200

Giacomo Di Giacomo gravatar image

Most probably your phone is branded, and usually this means it cannot be unlocked.

edit flag offensive delete publish link more

Comments

Turns out you are right...

When my 60 minutes wait is up, I will write up a full answer.

tehhel ( 2019-05-10 15:58:31 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-05-10 15:37:49 +0200

Seen: 297 times

Last updated: May 10