Sailfish X install "writing oem not allowed" [answered]
Hi there, Just followed the instructions and everything worked well, until the very end of the Batch file. According to Android SDK, the Fastboot Device is found and unlocked warning Comes up when starting my Xperia X. Here is a log from the Batch Output.
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 . . . Searching a device with vendor id '0x0fce'.. Das System kann das angegebene Laufwerk nicht finden. MD5SUM '77ddc7a0b9dd95db593829b97bc9868a' match for hybris-boot.img.
C:\Users\Neu\Downloads\SailfishOS-2.1.3.5-1-f5121-0.0.1.16_NEW>fastboot.exe -i 0x0fce flash boot hybris-boot.img target reported max download size of 536870912 bytes sending 'boot' (10842 KB)... OKAY [ 0.440s] writing 'boot'... OKAY [ 0.070s] finished. total time: 0.520s MD5SUM '611d0db74e6ffd22addf63318508b71d' match for fimage.img001.
C:\Users\Neu\Downloads\SailfishOS-2.1.3.5-1-f5121-0.0.1.16_NEW>fastboot.exe -i 0x0fce flash system fimage.img001 target reported max download size of 536870912 bytes erasing 'system'... OKAY [ 0.170s] sending sparse 'system' 1/2 (524284 KB)... OKAY [ 23.420s] writing 'system' 1/2... OKAY [ 3.860s] sending sparse 'system' 2/2 (92428 KB)... OKAY [ 4.150s] writing 'system' 2/2... OKAY [ 0.670s] finished. total time: 32.290s MD5SUM '88d74c452de2521e3eebd4f4dcdb3851' match for sailfish.img001.
C:\Users\Neu\Downloads\SailfishOS-2.1.3.5-1-f5121-0.0.1.16_NEW>fastboot.exe -i 0x0fce flash userdata sailfish.img001 target reported max download size of 536870912 bytes erasing 'userdata'... OKAY [ 0.630s] sending sparse 'userdata' 1/3 (524284 KB)... OKAY [ 23.610s] writing 'userdata' 1/3... OKAY [ 3.870s] sending sparse 'userdata' 2/3 (524284 KB)... OKAY [ 22.875s] writing 'userdata' 2/3... OKAY [ 3.785s] sending sparse 'userdata' 3/3 (252840 KB)... OKAY [ 10.813s] writing 'userdata' 3/3... OKAY [ 1.830s] finished. total time: 67.453s
C:\Users\Neu\Downloads\SailfishOS-2.1.3.5-1-f5121-0.0.1.16_NEW>fastboot.exe -i 0x0fce flash oem SW_binaries_for_Xper oire.img target reported max download size of 536870912 bytes sending 'oem' (163040 KB)... OKAY [ 15.220s] writing 'oem'... FAILED (remote: Command not allowed) finished. total time: 15.230s
ERROR: Failed to execute 'fastboot.exe -i 0x0fce flash oem SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.img'.
FLASHING FAILED
Please go to https://together.jolla.com/ and ask for guidance.
Drücken Sie eine beliebige Taste . . .
Thanks for your help hope it's easy to fix. I don't really know what else I could/Need to do. Cheers Alex
are you sure there is no simlock on phone? you could also try to flash another firmware version with or flashtool.
breiti_oi ( 2017-10-11 23:15:59 +0200 )editDid you "Allow OEM Unlock" in Developer options? This wasn't mentioned in the instruction, but I allowed and flashed my sony successfully.
molly ( 2017-10-12 02:33:36 +0200 )editmaybe this will bring you a step closer: http://sailfishmods.de/2017/07/howto-sony-xperia-x-teil-1-cda-drm-keys-bootloader/
breiti_oi ( 2017-10-12 09:30:38 +0200 )editThis same thing happened to me. I was running android version what was installed (7.1.1 or something, did't check). I managed to get it working by installing Emma and flashing 34.3.A.0.228 -version it first. After successful android boot I tried Sailfish X install again and everything went smooth. So the problem might be too old stock android if I am correct?
itbaron ( 2017-10-14 16:52:48 +0200 )editI ran into the same issue. my version was already newer than 34.3.A.0.228. I try to flash 34.3.A.0.252 with emma now and hope everything is going smoothly.
Burcardo ( 2018-01-03 18:43:37 +0200 )edit