Fastboot getvar all retrieves nothing

riveria

Member
Nov 18, 2015
31
9
0
Singapore
Hi guys!

A little background. I am trying to unlock the bootloader, after seeing the root status: unknown, a second time after re-flashing back to stock rom. I could unlock the bootloader perfectly fine on the first try on firmware .251 but after updating to .260, the
Code:
fastboot -i 0x0fce oem unlock 0x<key>
command keeps failing. I was trying to flash a custom rom from FreeXperia, but after several attempts of not being able to send the system.img into the tablet, I decided to re-flash to stock using Flashtool, and had selected all the option for wipe and no exclude.

Which leads to my question: Does the
Code:
fastboot getvar all
retrieves anything at all? I also tried
Code:
fastboot getvar boot
fastboot getvar version-main
but also retrieves nothing.

This is the log:
Code:
C:\Users\Aotsubame\AppData\Local\Android\sdk\platform-tools>fastboot devices
CB5A27L24G      fastboot

C:\Users\Aotsubame\AppData\Local\Android\sdk\platform-tools>fastboot getvar all
all:
finished. total time: 0.007s

C:\Users\Aotsubame\AppData\Local\Android\sdk\platform-tools>fastboot getvar version-main
version-main:
finished. total time: 0.006s

C:\Users\Aotsubame\AppData\Local\Android\sdk\platform-tools>fastboot getvar boot
boot:
finished. total time: 0.013s

C:\Users\Aotsubame\AppData\Local\Android\sdk\platform-tools>fastboot -i 0x0fce oem unlock 0x<key>
...
FAILED (remote: Command not allowed)
finished. total time: 0.014s
 

riveria

Member
Nov 18, 2015
31
9
0
Singapore
flash system like outlined here:

What do you expect from the getvar command?
Hi, thanks for the reply! I was trying to get back root and unlock bootloader after splendidly failing to successfully flash a custom rom to my Z4 tablet. I was searching around Google for the remote: command not allowed error, and actually found out that some of the users actually have output for the getvar all command, which was bootloader version information and other stuff. I should also point out that I have successfully unlocked the bootloader the first time but not the second time.

Another question: Will downgrading the firmware change the rooting status in the service menu?
Edit: Will re-flashing the stock rom lock the bootloader?

Going to try the link you posted! Will report back if there's any disaster that I've made.
 
Last edited:

DHGE

Senior Member
Jun 20, 2015
600
281
93
coastal paradise
you better search here on XDA and not on the web

SONY devices are a bit special in terms of partitions and bootloaders:

http://forum.xda-developers.com/crossdevice-dev/sony/noob-guide-to-sony-ericsson-xperia-t3209012

AFAIK bootloader stays unlocked whatever you flash after unlocking and only using Flashtool or SONY PC Companoin (the latter useless for unlocked devices) you should be on the safe side.

fastboot flash ... is a bit more dangerous but I would never flash anything were I have a hunch the developer is taking too many chances and were there is no README. And it really has to be for your specific device!
Sometimes I think people complaining here have flashed obscure phone ROMs to their tablet or Wifi ROM to their LTE device or any weird pre Lollipop root tricks (there are scams easiliy found via web search).
 
Last edited:
  • Like
Reactions: riveria

riveria

Member
Nov 18, 2015
31
9
0
Singapore
I just tried downloading the Flashtool from Sony's website. The Emma one.
However, the program says that my bootloader is locked for some odd reason. I'm inclined to think I am in a state where I can't unlock my bootloader any more though.

I also did enable My Xperia after I reflashed the stock rom during the initial setup, but immediately deactivated it. I wonder if this is causing it to have this error.
 

DHGE

Senior Member
Jun 20, 2015
600
281
93
coastal paradise
the fora for newer Xperia devices are plastered with MyXperia "accidents"

I also did enable My Xperia after I reflashed the stock rom during the initial setup, but immediately deactivated it. I wonder if this is causing it to have this error.
Emma is useless. Does not work on our Lollipop devices. Updates of Emma seem to be automatic but no improvement. Maybe they forgot to switch off their update bot.

You bricked your device.

From SONY (READ before you do risky things!!!):
After unlocking your device, you should not enable My Xperia (found in the settings menu under security on some devices running Android 5.0) as this might cause the device to malfunction.
source: http://developer.sonymobile.com/unlockbootloader/
 
  • Like
Reactions: riveria

riveria

Member
Nov 18, 2015
31
9
0
Singapore
Emma is useless. Does not work on our Lollipop devices. Updates of Emma seem to be automatic but no improvement. Maybe they forgot to switch off their update bot.

You bricked your device.

From SONY (READ before you do risky things!!!):
Oh ok, so there's no chance of me unlocking the bootloader? The device still boots up normally though.
 

DHGE

Senior Member
Jun 20, 2015
600
281
93
coastal paradise
Oh ok, so there's no chance of me unlocking the bootloader?
I do not know.

I do not think so though - if you could unlock the MyXperia Software would be no protection at all. Thieves could just unlock the BL of the stolen device and lough at SONY.

The device still boots up normally though.
You are lucky then - there are reports where only a repair at SONY could revive the device:

http://fxpblog.co/2015/07/03/dont-destroy-your-unlocked-device.html
 
Last edited:
  • Like
Reactions: riveria

riveria

Member
Nov 18, 2015
31
9
0
Singapore
I do not know.

I do not think so though - if you could unlock the MyXperia Software would be no protection at all. Thieves could just unlock the BL of the stolen device and lough at SONY.

You are lucky then - there are reports where only a repair at SONY could revive the device
Alright! Thanks for the help! I guess no more rooting for me then. I'll try reflashing the stock rom again and see what are the results.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone