Reply
Thread Tools
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#251
Just released 4.2.0.21 update. See description at FSO: https://forum.sailfishos.org/t/xperi...1-release/8351
 

The Following 8 Users Say Thank You to rinigus For This Useful Post:
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#252
Originally Posted by rinigus View Post
Just released 4.2.0.21 update. See description at FSO: https://forum.sailfishos.org/t/xperi...1-release/8351
No fimage file? How would that work if flashing from Android?
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#253
Originally Posted by levone1 View Post
No fimage file? How would that work if flashing from Android?
Flashing from Android is not supported, you are expected to flash via PC. As fimage use was limited, I did not invest time into looking how to ensure reconfigured storage LVM layout in it. Instead, I decided to reduce download size together with the flashed image size for a feature that has very limited use.
 

The Following User Says Thank You to rinigus For This Useful Post:
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#254
Originally Posted by rinigus View Post
Flashing from Android is not supported, you are expected to flash via PC. As fimage use was limited, I did not invest time into looking how to ensure reconfigured storage LVM layout in it. Instead, I decided to reduce download size together with the flashed image size for a feature that has very limited use.
Sorry - I wasn't clear ... I meant flashing from PC, (or whatever - personally, I do flash from Android and it works fine), but not alreasy having Sailfish installed. I assumed that the fImage file was a necessary partition, ("system"). So, are you saying that whatever files would be in the fImage have been incorporated into Sailfish img?
 
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#255
Originally Posted by levone1 View Post
Sorry - I wasn't clear ... I meant flashing from PC, (or whatever - personally, I do flash from Android and it works fine), but not alreasy having Sailfish installed. I assumed that the fImage file was a necessary partition, ("system"). So, are you saying that whatever files would be in the fImage have been incorporated into Sailfish img?
We don't use "system" partition in SFOS on Tama nor on official devices. fimage was used only for device reset from Settings. So, feel free to flash using provided script - it should all work.
 

The Following User Says Thank You to rinigus For This Useful Post:
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#256
I tried to flash 4.2 on my XZ3 and for some reason I get the following message:

Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Lernen Sie das neue plattformübergreifende PowerShell kennen – https://aka.ms/pscore6

PS C:\Users\joe> cd Downloads/SFOS42XZ3/SAilf*
PS C:\Users\joe\Downloads\SFOS42XZ3\Sailfish_OS-4.2.0.21-h9436-0.4.0.1> ./fastboot getvar current-slot
current-slot: a
Finished. Total time: 0.016s
PS C:\Users\joe\Downloads\SFOS42XZ3\Sailfish_OS-4.2.0.21-h9436-0.4.0.1> ./flash-on-windows.bat

This is a Windows flashing script for Sony Xperia 10 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 . . .
Verifying MD5 checksums...
MD5SUM 'b559b4467e1e0eb2d09241c139a573d7' match for file 'flash-on-windows.bat'.

Searching for a compatible device...
It's searching forever ...
Any idea? Device is unlocked, fastboot is working fine, the blue light is lit ...

Could it be that I am using the wrong software binaries? I downloaded and unzipped
SW_binaries_for_Xperia_Android_10.0.7.1_r1_v12a_ta ma.img

Last edited by JoOppen; 2021-10-02 at 11:27.
 
Maemish's Avatar
Posts: 1,702 | Thanked: 4,752 times | Joined on Apr 2018 @ Helsinki, Finland.
#257
And you opened the command prompt with administrator rights?
__________________
"I don't know how but I can try!" (active)

Master of not knowing (active)

For me it is possible to get lost in any case (active)

Learning to fall from high (DONE)

Learning to code with BASIC (WIP)
 
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#258
Originally Posted by JoOppen View Post
I tried to flash 4.2 on my XZ3 and for some reason I get the following message:



It's searching forever ...
Any idea? Device is unlocked, fastboot is working fine, the blue light is lit ...

Could it be that I am using the wrong software binaries? I downloaded and unzipped
Check device manager - what device pops uo when you connect with fastboot?
 
Posts: 101 | Thanked: 381 times | Joined on Aug 2010
#259
Originally Posted by levone1 View Post
Check device manager - what device pops uo when you connect with fastboot?
I tried two different drivers (on two different computers, i.e. on each computer I tried both drivers):

Sony sa0119adb.inf

and

Sony sa0114adb.inf

Fastboot is working in general. Therefore the first part of the batch commands are fine.

It is stuck somewhere here:

echo "Searching device to flash.."
IFS=$'\n'
FASTBOOTCMD_NO_DEVICE="${FASTBOOT_BIN_PATH}${FASTB OOT_BIN_NAME}"

FASTBOOT_DEVICES=$($FASTBOOTCMD_NO_DEVICE devices |cut -d$'\t' -f1)

if [ -z "$FASTBOOT_DEVICES" ]; then
echo "No device that can be flashed found. Please connect your device in fastboot mode before running this script."
exit 1
fi

SERIALNUMBERS=
count=0
for SERIALNO in $FASTBOOT_DEVICES; do
PRODUCT=$($FASTBOOTCMD_NO_DEVICE -s $SERIALNO getvar product 2>&1 | head -n1 | cut -d ' ' -f2)
BASEBAND=$($FASTBOOTCMD_NO_DEVICE -s $SERIALNO getvar version-baseband 2>&1 | head -n1 | cut -d ' ' -f2)
BOOTLOADER=$($FASTBOOTCMD_NO_DEVICE -s $SERIALNO getvar version-bootloader 2>&1 | head -n1 | cut -d ' ' -f2)

echo "Found $PRODUCT, baseband:$BASEBAND, bootloader:$BOOTLOADER"

if [ ! -z "$(echo $PRODUCT | grep -e "H9436" -e "H9436")" ]; then
SERIALNUMBERS="$SERIALNO $SERIALNUMBERS"
((++count))
fi
done
IFS=" "

echo "Found $count devices: $SERIALNUMBERS"
 
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#260
Originally Posted by JoOppen View Post
I tried two different drivers (on two different computers, i.e. on each computer I tried both drivers):

Sony sa0119adb.inf

and

Sony sa0114adb.inf

Fastboot is working in general. Therefore the first part of the batch commands are fine.

It is stuck somewhere here:
But what shows up in device manager, (what does it say)?
 

The Following User Says Thank You to levone1 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 12:52.