[GNU/LINUX][4.4.0.58] Sailfish OS for Xperia Tama devices

Search This thread

rinigus

Senior Member
Nov 15, 2015
235
264
thanks. I gave it a shot and was able to install it on my SO-05K after editing the flash script (replace the H8314 with SO-05K basically and also edit the mdr list accordingly! aka put in the new mdr5 for the edited script).
everything seems to run fine, but sadly I couldn't figure out how to get waydroid onto the device... and then another issue popped up with is sadly somewhat of a deal breaker: I couldn't find a way to input Japanese text, which in Japan is kinda essential :/
I sadly don't have much time to experiment any further today, so I will covert it back to android (since this is kinda my daily driver).
I think I will try again after doing more research and in case Lineage continues to fail...
Re Japanese: no idea. Try to ask at https://forum.sailfishos.org/

Re waydroid: It is packaged and distributed via Chum repos. See Waydroid instructions at https://github.com/sailfishos-open/waydroid, Chum install at https://github.com/sailfishos-chum/main

All in case if you wish to experiment later :)
 

farukr1

Senior Member
Jan 10, 2014
69
16
Xperia XZ2
Re Japanese: no idea. Try to ask at https://forum.sailfishos.org/

Re waydroid: It is packaged and distributed via Chum repos. See Waydroid instructions at https://github.com/sailfishos-open/waydroid, Chum install at https://github.com/sailfishos-chum/main

All in case if you wish to experiment later :)
Hello, are there any other steps for waydroid installation? I have installed the runner and followed the steps but it seems to be stuck at loading screen.
 

rinigus

Senior Member
Nov 15, 2015
235
264
Hello, are there any other steps for waydroid installation? I have installed the runner and followed the steps but it seems to be stuck at loading screen.
These types of questions - not port specific - please raise at general forums, such as forum.sailfishos.org. Otherwise we get info fragmented and distributed all over the place
 
  • Like
Reactions: farukr1

Z0rnica

Member
Nov 4, 2021
24
2
[...]
All in case if you wish to experiment later :)
got all the confirmations I needed, so I will restart the experimenting soon. However I am still not quite sure on how to "do" certain things
I found this
and this
but I am not sure on how to install the rpm from the first link for example. would I need to download all 3 files? and then what?
is there some kind of tutorial somewhere that explains the use of the terminal in sailfish in more detail?
 

rinigus

Senior Member
Nov 15, 2015
235
264
got all the confirmations I needed, so I will restart the experimenting soon. However I am still not quite sure on how to "do" certain things
I found this
and this
but I am not sure on how to install the rpm from the first link for example. would I need to download all 3 files? and then what?
is there some kind of tutorial somewhere that explains the use of the terminal in sailfish in more detail?

For OpenRepos, you install its client Storeman and then use that to install the keyboard.

For Waydroid, use https://github.com/sailfishos-open/waydroid
 

Z0rnica

Member
Nov 4, 2021
24
2
so... I went back to experiementing, managed to install waydroid from chum using your short tutorial, installation went through, did a reboot as instructed, activated the waydroid from boot option (went with waydroid settings) but every time I want to start it from the app grid, it just loads for a few seconds and then goes away.... I am supposed to see a full lineage ui, right? I also don't get any error messages... how can I trouble shoot?

edit:
with the command "waydroid show-full-ui", I just get "faiuled to get service waydroidplatform, trying again..." (and that continues forever)
tried "waydroid session start", but that also just gave me an error (xdg session is not "wayland" failed to start clipboard manager service, check logs
 
Last edited:

rinigus

Senior Member
Nov 15, 2015
235
264
so... I went back to experiementing, managed to install waydroid from chum using your short tutorial, installation went through, did a reboot as instructed, activated the waydroid from boot option (went with waydroid settings) but every time I want to start it from the app grid, it just loads for a few seconds and then goes away.... I am supposed to see a full lineage ui, right? I also don't get any error messages... how can I trouble shoot?

edit:
with the command "waydroid show-full-ui", I just get "faiuled to get service waydroidplatform, trying again..." (and that continues forever)
tried "waydroid session start", but that also just gave me an error (xdg session is not "wayland" failed to start clipboard manager service, check logs

I would suggest to use `waydroid-runner` instead and uninstall `waydroid-settings`. As you probably already installed -settings, you would have to cleanup .desktop files if you wish to switch.

Again, it is not really port-specific question - better ask some general SFOS forums.
 

Z0rnica

Member
Nov 4, 2021
24
2
what would be the correct command to uninstall it?
(general SFOS forum kinda takes quite a long time for replies...)

I just found this arch tutorial, which said that the error message indicates some missing python thing, but I couldn't figure out, what the equivalent in SFOS would be...

also seems like a few have the same issue.. I hope I can find a solution

edit: looks like everything points to "install pyclip", but couldn't find that in any of the repos (?)

edit2:
since I didn't do much so far I just flashed SFOS again to start from scratch and went with waydroid runner this time. at leas this time I got a little further to "waiting for Android UI", but seems to be stuck at that :/
 
Last edited:

rinigus

Senior Member
Nov 15, 2015
235
264
This is to announce 4.3.0.12 SFOS update for Xperia Tama devices: XZ2, XZ2c, and XZ3. Please read release notes and description below before update.

At the moment of writing (2 Dec 2021), only OTA has had a limited testing. So, early adopters, please report how it went. If someone preferred to flash the image, please report as well. For those wishing to be on the safer side, wait till more users would have a chance to test the release.

I have also created FSO forum thread for the feedback regarding the release at https://forum.sailfishos.org/t/xperia-tama-port-4-3-0-12-release/9428.
 

mak6021

Senior Member
Nov 26, 2016
70
21
39
Polotsk
Here is a ready-made installer for windows,You have installed adb driver.
to flash a new OTA, pull the system image fimage.img001 from the Sailfish_OS-4.1.0.24 version and transfer the file with the new OTA image, Transfer files from archive "flash-on-windows" to OTA, start the phone in fastboot mode, open cmd "flash-on-windows.cmd"
A window opens, wait for the phone to reboot !!
From 4pda mak6021
That there would be peace in the soul!

New Edited flash-on-windows.
fixed errors in the dtbo section,
because of which the system did not boot.
 

Attachments

  • flash-on-windows.rar
    3.1 MB · Views: 14
Last edited:
  • Like
Reactions: Sr2004

walksik

New member
Jan 17, 2022
2
0
thanks. I gave it a shot and was able to install it on my SO-05K after editing the flash script (replace the H8314 with SO-05K basically and also edit the mdr list accordingly! aka put in the new mdr5 for the edited script).
everything seems to run fine, but sadly I couldn't figure out how to get waydroid onto the device... and then another issue popped up with is sadly somewhat of a deal breaker: I couldn't find a way to input Japanese text, which in Japan is kinda essential :/
I sadly don't have much time to experiment any further today, so I will covert it back to android (since this is kinda my daily driver).
I think I will try again after doing more research and in case Lineage continues to fail...
How did you unlock the bootloader?
 

Attachments

  • Screenshot_20220117-232023.png
    Screenshot_20220117-232023.png
    78.5 KB · Views: 44

Z0rnica

Member
Nov 4, 2021
24
2
  • Like
Reactions: walksik

walksik

New member
Jan 17, 2022
2
0
see:
Thank you. I took advantage. Wrong button and the money is gone. Support didn't work. Rejected after email
 

Sinwoo Yoo

Member
Sep 8, 2008
10
1
I have a Docomo version of XZ2C (SO-05K) and is now using Sailfish OS after I got the bootloader unlocked.
How? Is it possible?
I tried so many times to flash every custom ROM even including the aosp one I built from the sony official dev channel, I failed all time. did you do repartitioning for flashing? or is there anything you can help me to flash aosp-based custom from into my so-05k?

ps. I unlocked the bootloader with S1 Network Unlock Tool already
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    How? Is it possible?
    I tried so many times to flash every custom ROM even including the aosp one I built from the sony official dev channel, I failed all time. did you do repartitioning for flashing? or is there anything you can help me to flash aosp-based custom from into my so-05k?

    ps. I unlocked the bootloader with S1 Network Unlock Tool already

    I cannot comment about installing aosp based roms. But I am using the linux based Sailfish OS on it still and it works great. Didn't have to repartition specifically. All I had to do was modify the flashing script to not exit but continue with flashing when it discovered SO-05K instead of H8314.

    This might be helpfu: https://github.com/sailfishos-sony-tama/main/issues/185
  • 19
    (as common on XDA, see below. work is released under MIT license)
    Code:
    #include <std_disclaimer.h>
    /*
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you.
    *
    */

    I am happy to announce a port of Sailfish OS to Sony Xperia XZ2. It is expected that this port would allow us to add support to XZ2 compact and XZ3 in a rather simple manner. As I have a single-sim device, that's the model its ported to first. To cover all six devices in Tama family, I may need some assistance from the owners. Please open an issue in the project's main repo to discuss specific model and what's needed to make it possible.

    As this announcement is made at TMO and XDA, I will keep it short and avoid repetition.

    Current features, state, download links: https://github.com/sailfishos-sony-tama/main/blob/master/README.md

    The port was made possible thanks to the help from Sailfish porters (mal, piggz, deathmist, Mister_Magister,*vknecht, spiiroin) as well as Sony AOSP community (MartinX3, jerpelea, oshmoun,*Marijn,*kholk). And I suspect that I forgot someone, as very many contributed. Thank you very much!

    I will be following on XDA and TMO. Please file issues centrally, at Github.

    Sailfish OS, ROM for the Xperia XZ2

    Contributors
    rinigus Thaodan
    ROM OS Version: 10.x
    ROM Kernel: Linux 4.14.x
    Based On: AOSP

    Version Information
    Status:
    Stable
    Current Stable Version: 4.4.0.58
    Stable Release Date: 2022-04-10

    Created 2019-11-24
    Last Updated 2022-04-10
    7
    This is to announce 4.0.1.48 Sailfish release for Sony Tama devices. Update is available via OTA and as flashable images (images uploaded right now).

    Before updating read the release notes at https://github.com/sailfishos-sony-tama/main/releases/tag/4.0.1.48. Pay attention to the bugs that have been associated with the update and referred to in the release notes.

    Work on the update was started by Thaodan which allowed me to continue from already good state.

    Note that while I have tested final release for a day, it has not been tested extensively. So, as usual, for those who want to be on the safe side, wait bit longer and see if issues will start popping up in github repository or forum threads (TMO and XDA).

    I have started the work on switching to AOSP10 and aarch64 base. It boots, WiFi, calls, cellular network, GPS, camera all work. With the calls, there is a huge echo and there is a host of other issues that need to be resolved before getting it out as a beta. I will try to tag the current issues with that port using hybris-10 label to make them accessible via https://github.com/sailfishos-sony-tama/main/issues?q=is:issue+is:open+label:hybris-10.

    Plan is, after some testing as a beta release, that we will switch over to AOSP10/aarch64 and retire the current AOSP9/arm32 version. But that would require fixing the issues to ensure that we wouldn't loose daily driver quality of the port.
    7
    This is to announce the first release based on AOSP10 and using aarch64 for Sony Xperia Tama platform.

    Release is based on 4.1.0.24 Sailfish and is using the latest AOSP10 as a base. I consider it alpha right now due to limited testing. Most of the testing was done on development device while fixing the port bugs. Now it is installed on my daily driver and I will be able to test it further.

    This release has changed the base and switched to aarch64. As a result, you have to reflash it. In documentation, I wrote down the instructions for those who switch from AOSP9 based port.

    The port was started in the end of February, including the development of TBuilder to automate the builds. There are still some rough corners, see issues labeled with hybris-10 tag in the issue tracker. While it is not using OBS, future OTA are supported (see documentation for details).

    Compared to AOSP9, I couldn't make hardware acceleration work on Flatpak apps. So, right now, Flatpak support is not there. Not sure whether I can make it work.

    I would like to invite others to test the release. For XZ3 device owners - please check whether your phone calls work as expected. I have reverted some changes introduced in AOSP10 to cancel echo during the phone calls (issue 125) and it worked fine on XZ2 and XZ2c. So, please pay attention and test it by calling others, check whether microphone levels are OK and whether there is any echo in the call. Please report back your findings.

    I plan to maintain only one base. If AOSP10 will work fine, it will be used as a base for the port.

    Release available at: https://github.com/sailfishos-sony-tama/main/releases/tag/4.1.0.24-aosp10-alpha1

    See release notes and read the documentation before flashing.
    7
    What is needed to add the android support?
    A bought license from sailfish?
    Because on their website there is a payable version with android support for specific phones.

    "Sailfish licensing customers choose if they wish to use, or not to use, the Android application compatibility part in the OS."

    In practice, there are two ways to get Android support:

    - get an officially supported device (xperia x, xa2, 10) and buy license. That will allow you to use their Aliendalvik software which provides Android support. Not perfect support, but works for decent amount of apps.

    - develop open-source Android compatibility stack, for example Anbox. I don't know much about Anbox development, though. From the outsider perspective, such as mine, it looks rather slow.

    At this moment, none will work on Xperia Tama. As mentioned earlier in the thread, look what you really need and, if it is missing, develop it. Obviously, it will not work for closed-protocols apps. But then you have to choose, whether to stay on Android, get dumb phone for few Android apps that you need, or ditch the closed-protocol apps. In some respect, trying to emulate Android on other platforms seems to me unproductive, but that's my personal opinion.
    6
    New release is out based on AOSP10/aarch64. After testing and discussion on SFO, I am switching the port to AOSP10/aarch64 base and will continue releases on that base from now on.

    While it is inconvenient to reflash the device and set it up again, I think a better camera does justify it. On my side, it will be just too much work to support multiple bases / ports, so I had to make a choice.