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

[XA2 Plus - H4413] Flashing failed on Windows by 'Access denied'-Message

asked 2019-05-07 00:29:44 +0300

Hoenk gravatar image

I followed the instructions (X Free) and unlocked my new XA2 Plus. (I am quite sure because my device tells me: Please lock the bootloader! when I start it.)

In Step 6.7 the bat stops with an 'Access denied'-Error (German: Zugriff verweigert):

This is a Windows flashing script for Sony Xperia X device.

Power on the device in fastboot mode, by doing the following:
1. Turn off your Xperia.
2. Connect one end of a USB cable to your PC.
3. While holding the volume up button pressed, connect the other end of
   the USB cable to your Xperia.
4. After this you should see the blue LED lit on Xperia, and it will be
   ready for flashing

Drücken Sie eine beliebige Taste . . .
MD5SUM 'ed5a809dc0024d83cbab4fb9933d598d' match for file 'AdbWinApi.dll'.
MD5SUM '0e24119daf1909e398fa1850b6112077' match for file 'AdbWinUsbApi.dll'.
MD5SUM 'c980ea6caa9140ee3f30cdc0e98844c4' match for file 'fastboot.exe'.
MD5SUM 'f33eb05c690baf6623760503086470f0' match for file 'flash-on-windows.bat'.

Searching a compatible device...
Zugriff verweigert

This device has not been unlocked for the flashing. Please follow the
instructions how to unlock your device at the following webpage:
https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

Press enter to open browser with the webpage.

Maybe I was a little bit too rash because I started with the steps of the instructions and didnt pay attention to the preface. I didnt use my new phone before and tried the flashing at first.

  1. The cause of the denial is the unused phone? Is there any other mistake possible?
  2. Do I have to undo the whole unlocking or is there a shortcut to proceed the flashing process? Do I have to reinstall a driver etc.?

Thx!

edit retag flag offensive close delete

Comments

Which android version did you run prior to unlocking the bootloader?

bomo ( 2019-05-07 14:16:48 +0300 )edit

Android 8.0

Hoenk ( 2019-05-12 14:46:14 +0300 )edit

4 Answers

Sort by » oldest newest most voted
0

answered 2019-05-07 02:24:22 +0300

cquence gravatar image

I had a similar problem while flashing my XA2. Although the instructions say that you can continue the flashing process after unlocking the bootloader what I found that worked for me was to shutdown the phone and re power it on using the instructions from scratch. (hold button to get blue LED etc). In addition to that I tried to run the batch file as administrator and that didn't help, I had to run it as a normal user.

edit flag offensive delete publish link more
0

answered 2019-05-07 08:30:15 +0300

N9Sailfish gravatar image

updated 2019-05-07 08:31:23 +0300

Simirlar with me, too. How are with these instructions:

https://www.getdroidtips.com/unlock-bootloader-xperia-xa2/

I applied aslike instructions for Xperia X. How about with XA2? I do not know. Could someone give instructions? I'm a little bit worried that Jolla's instructions lack with 'adb reboot bootloader'.

Pls do not test this but just after someone cleverer has confirmed the previous.

edit flag offensive delete publish link more
0

answered 2019-05-07 11:28:52 +0300

N9Sailfish gravatar image

updated 2019-05-07 11:29:45 +0300

What does this mean? The flashing to Sailfish X does not succeeded in. I got unlocking bootloader according to Jolla (not to to the other).

But when I am trying to flash, it stops:

**"This is a Windows flashing script for Sony Xperia XA2 device.

Power on the device in fastboot mode, by doing the following: 1. Turn off your Xperia. 2. Connect one end of a USB cable to your PC. 3. While holding the volume up button pressed, connect the other end of the USB cable to your Xperia. 4. After this you should see the blue LED lit on Xperia, and it will be ready for flashing

Press any key to continue . . .

MD5SUM '47a6ee3f186b2c2f5057028906bac0c6' of file 'AdbWinApi.dll' does not match to 'ed5a809dc0024d83cbab4fb9933d598d' found from md5.lst. FLASHING FAILED! Please go to https://together.jolla.com/ and ask for guidance. Press any key to continue . . ."

edit flag offensive delete publish link more

Comments

1

In my problem the issue was solved as following: I destroyed the image in my pc. Then I uploaded again the image from Jolla Shop. After this the flashing was perfect. Obviously I had saved one or too excess files in the original extracted image. That is way MD5SUM was incorrect. Thus I am a happy SFOS X user again. Thank you for your help!

N9Sailfish ( 2019-05-08 12:09:49 +0300 )edit
0

answered 2019-05-07 15:22:57 +0300

Levone1 gravatar image

updated 2019-05-08 02:00:32 +0300

Try manual flash with fastboot commands. First, confirm that it's recognized:

(in terminal):

fastboot devices

You should get a confirmation, "...device (some random number).

If not, then that's probably your problem. Not hard to fix. Post back here if you want.

If so, extract the contents of Sailfish zip to some folder, cd to that folder, and use fastboot commands to flash each partition, (that's just what the script does). Commands might vary depending on file names, but something like:

(in terminal):

fastoboot flash boot hybris-boot.img

fastboot flash system (whatever).img

fastboot flash userdata (whatever).img

fastboot flash oem (name of Sony oem file).img

You can read the flash.sh script for hints on the commands....

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-05-07 00:29:44 +0300

Seen: 373 times

Last updated: May 08 '19