sailfishos-sony-tama / main

Documentation, releases, and issues
MIT License
36 stars 7 forks source link

H8314 build works on XZ2c docomo-branded SO-05K #185

Open teleshoes opened 2 years ago

teleshoes commented 2 years ago

please add the product SO-05K to flash.sh for H8314.

this is a DoCoMo branded, sim-locked XZ2 Compact that initially said Bootloader unlock allowed: no.

phone/SMS/MMS works, camera works, zero problems. seems to be identical to H8314

rinigus commented 2 years ago

This is not as simple as it would require corresponding entry in https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie (similar to what is for each separate type of Tama device, if I understand you right). It would make more sense to add your instructions as a separate file for affected users.

But what does ssu s show on line "Device model: Xperia XZ2 Compact (h8324 / h8324)" (NB! don't post device UID here!).

teleshoes commented 2 years ago

i literally just changed the line that greps the output of fastboot to verify the serialno of the usb2-attached device is an XZ2c. its a oneline change in flash.sh to allow either model number in the grep line. hopefully, this doesnt require a separate build.

ssu says Device model: Xperia XZ2 Compact (h8314 / h8314), which makes sense since thats the image i flashed, completely unchanged.

lal883 commented 2 years ago

I have a SO-05K too. Been using it for close to an year now, flashed with similar modifications to the flash.sh script and had OTA updates installed whenever new releases were available.

rinigus commented 2 years ago

Good to know. I still suggest to write up instructions for other users and then add them to documentation over here. Alternative would be for you to find out where this script is and submit PR for patching it. I don't remember from the top of my head its location and where the device is injected into the script, sorry.

teleshoes commented 2 years ago

here is the tool i wrote that fixes flash.sh (modifies it in place and updates md5.lst) its very complicated because it also changes defaultuser => nemo (works on any pre-built sailfish image)

https://github.com/teleshoes/sx-config/blob/b9929aa63389275eeeeba5f36f6e76ab84fa50e9/tools/fix-image-flashing-xz2c.pl

wreps8Owt commented 1 year ago

Similar to this, by modifying flash.sh, I can install Sailfish_OS-4.5.0.16-h8266-0.5.0.1.zip to my H8296 (Sony Xperia XZ2 with dual sim and 6GB ram, available in Taiwan and Hong Kong), and ssu s believe it is Device model: Xperia XZ2 (h8266 / h8266).