yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Release 3.4.0.24 is out. See release notes at https://github.com/sailfishos-sony-tama/main/releases/tag/3.4.0.24

Right now it is available via OTA only. OTA instructions have been updated and it is important to ensure that you have package jolla-configuration-DEVICE_CODE installed corresponding to your device! Read the instructions fully before updating or you may get into trouble.

I will create images in the upcoming days for those who prefer to flash fresh.

Note that while I have tested it for few days, 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).

In addition to the expected SFOS update features, notice that this SFOS update brings support to OpenGLES 3. On web browsers side (stock and Angelfish), this translates to webgl2 support. Just don't forget to update runtime if you use Flatpaks (using flatpak-runner).

For Tama port, this release brings recovery image that can be used to make filesystem-based backups on your SD card. You would need the release image to use it, so wait few days. To use it, you have to login through telnet into recovery boot and follow the instructions provided in separate document of the main repository.

The help of several developers is appreciated: Thaodan has joined as a team member and worked on different aspects of the port, updated repos and adjusted the structure. During update testing, I hit an issue with MCE refusing to restart right after OTA making it impossible to use power button for restarting the phone. That issue was resolved by mal and spiiroin, thanks to them as well!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Images are uploaded to Github now, for those who prefer them.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Chanhchua:
Can someone help me bring the license ultra remote2 running on xz2c okay i'm Vietnamese but i'm with love and passion for sailfish but my effort with xz2c plus open license but no jolla store appearances for which license I have ...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
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.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Hello! Can I install Sailfish OS on Xperia XZ2 H8296 (6GB RAM) ? I want to buy this model for Sailfish.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Hi! No, H8296 will not work. As far as I know, it is not supported by open devices (see https://developer.sony.com/develop/open-devices/get-started/supported-devices-and-functionality) and, as a result, I cannot build the image for it. So, you are limited to Tama devices listed on https://github.com/sailfishos-sony-tama/main
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
How ready is version AOSP10 and aarch64 base?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Current issues are at https://github.com/sailfishos-sony-tama/main/issues?q=is:issue+is:open+label:hybris-10

As for indication of readiness:

- I am not using it as a daily driver, yet

- larger fraction of SFOS software is in arm 32bit version; will not run on aarch64

However, at the same time, I am finishing with writing the build engine that would allow to automate builds. Maps, flatpak are done; hopefully automated port build will work as well.

Will take some time still and hard to judge how long.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Installed 4.0.1.48 for H8266.

1. The native store has a limited number of apps.

2. There are no items in the settings:

select the default SIM card or ask when calling;

choosing a SIM card for mobile internet (Attachments - menu items that are not in the firmware are underlined);

3. I cannot login with ssh.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
1: assuming that you have h8266, I asked it to be added to the store

2: it seems to be confusing in 4.0.1 (not sure if it is the port or SFOS), but let's try: select "Connect" in the overall status bar and enable cellular. After that, cellular connection should work

3: is WIFI connection enabled? Are developer's settings set to allow login by ssh?

PS: password is set in developers settings
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
2. The connection works. There are no menu items.

The firmware for XA2 contains these items (highlighted in red).

3. Works. I used the "nemo" login, but the "defaultuser" was needed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
2: on status page (where you see notifications), there is action "Connect". Try to enable cellular data using that. Or did you try that already?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Sorry for my bad language.

1. Mobile internet works.

2. But the settings menu looks like a phone with one SIM card.

The first picture shows what we have.

In the second picture, as it should be for a phone with two SIM cards.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Now I understood - was reading your message too fast. It is probably a bug with a missing package.

Store should be enabled now, please check (maybe have to reboot and/or relogin to the store)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Therefore, I can not choose the SIM card with which I will be connected to the mobile Internet.

Similarly for calls.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Thank you, the store is open :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
There is another problem, I can't disable developer mode. It doesn't turn off.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Regarding 2 SIM issues - you do have the both SIMs inserted, right?

Re developer mode: indeed, it cannot be disabled. Maybe as we have some developer packages added in the port. But you should be able to disable remote connections.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
That's right, I have two SIM cards installed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lal883:
Curious, does the Tama AOSP 10, aarch64 build improve camera quality on Sailfish to the same level as that of AOSP 10?

Not that it matters. But would be cool to have a better camera.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Yes, it should be similar / same as in AOSP10. Just on the basis of some testing I did so far
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
please try to install jolla-settings-networking-multisim package. should resolve it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Thanks It works.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Very high volume of signals, including system events.

Very high brightness Led indicator.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
del
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
yes, you have to keep volume down. so, after install, go through the settings and adjust the volumes. don't think I can do much about that.

multisim package should be installed automatically with the next version update
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
Original Style Cover Stand SCSH40 arrived today. Hall sensor is not working.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Zuyev:
I use it as my main phone for three days.

Very good work. Overall better than the licensed XA2 Plus.

Minuses:

1) inoperative hall sensor (native book cover SCSH40 does not turn off the display);

2) speaker volume is very high ([AOSP] Speakers clipping and distortion);

3) very bright LED (not critical for me).

Thanks again for your work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
I would suggest to file issues under a repo in github. That's a place we look to fix them and it will otherwise disappear in this thread history
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] iamlgfan111:
Can I install Sailfish OS on Xperia XZ2 Softbank 702SO? I have Xperia XZ2 Softbank 702SO with Global rom installed.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
If it is supported by AOSP 9 then yes. I don't know much about these variants
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lal883:
Would it be an idea to limit the maximum volume of pulseaudio sink output to a lower level to prevent clipping?

I currently run "pactl set-sink-volume 1 75%" after every boot so that even if I set 100% volume in user space the speakers do not clip.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lal883:
I have a Docomo version of XZ2C (SO-05K) and is now using Sailfish OS after I got the bootloader unlocked.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
That's probably a good way of doing it. I'll copy your suggestion into corresponding issue. Haven't tested it yet
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
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.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
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.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesarp3791:
Hello everyone. My device is XZ2 single sim

I am planning to switch to Sailfish, from my LineageOS 18.1 Official to the latest Sailfish release.

Must/should fresh stock rom be installed first on XZ2? To avoid issues or something?

Is okay to follow the flashing instructions while having LineageOS installed? I didn't even install magisk. Only rom and gapps. Everything is working and functioning in LineageOS as of now.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
For AOSP10 based build, you should be good to go and there is no need to switch to Stock first. So, I expect that you could flash directly. Although, I have never tested it myself - please report how it goes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
It's just important to boot on both slot the newest stock rom once and go though the introduction assistant before you move to custom roms the first time. You don't need to repeat it again after you was on a custom rom.

Background is, that the newest stock rom from mid 2020 updates your hidden partitions, hardware firmware like touch screen (not the kernel driver), your bootloader and the firmware of your baseband and some stuff of that is splitted in A/B.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesarp3791:
Thank you for the fast reply.

I was able to flash correctly. Everything is working well.

I woke up and set up everything to flash, but due to a small inconvenience i needed to do another extra step (which i will explain below, and i think some small extra steps/explanations should be added wherever applicable, in xda and in jolla forums).

The small issue, which would not let me flash Sailfish on my first try was:

The instructions on Jolla's Xperia 10 to enter fastboot needs some extra step. Because our device has some small bug in bootloader (as i have read somewhere here in XDA), entering fastboot mode with device powered off with Volume Key + and plugging to computer doesn't work correctly.

See, i did that, checked if 'a' slot was active, and when i entered the command, it said slot a active. But the led on my XZ2 went green, and in terminal console the command fastboot devices showed something like '??????? XLF mode'. I was not able to flash in that state.

So i booted back to LineageOS, and in computer terminal i did 'adb reboot bootloader' (correct me if I'm wrong, i don't remember exactly)

Then did all the installation process again and the led stayed blue all the time.

Fastboot devices showed the device correctly, and the flashing went smoothly.

I think this extra step should be added somewhere in the installation guides, to avoid this small issue.

I followed this suggestion by you to fix issue with the battery reporting too.

"Policy update is incorporated into new config packages and you could get it by update through zypper and reboot:

# as root

zypper ref

zypper up

reboot"

Also installed pickupd to wake screen automatically, working fine.

Thanks for that explanation. This A/B partition scheme is something to be careful of while dealing with custom roms.

Nice to see you in this device's development too (i remember you from the OPO forums).

By the way, thanks for all your work in the OnePlus One too. I flashed a while ago your Omnirom builds on my beloved OPO (still alive and kicking with LineageOS 18.1).

Thanks both for everything! Hope my explanation and extra step is useful to someone else.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
The flashing instructions are at https://github.com/sailfishos-sony-tama/main/blob/hybris-10/flashing.md#flashing and include `fastboot reboot-bootloader` which would have prevented that issue :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesarp3791:
I'm pretty sure i did too, both commands (check if a slot, it already was on a, and the reboot to bootloader again just to be safe). Rebooted to bootloader and everything. After reboot, when i checked slot again the led turned green in my case.

Of course, i will check in command history in computer. Just to confirm.

Edit: adding details by the end of post.

Confirmed that i did reboot to bootloader between check if a slot and trying to flash. When it checked slot my device's led went green.

So i remembered that little bug or something. Booted android, 'adb reboot bootloader' and in the checking slot step, the led stayed blue. I was able to flash Sailfish then.

Anyway everything is working from what i see. Today i tested a USB C digital audio adapter branded Dekia (usb c to 3.5mm audio jack), sound worked well on basic 3.5mm earphones and also tested a speaker in aux mode.

Any pointers to get more aarch64 applications? I installed warehouse and could get some.

I read something about chum repository. Should i install or configure it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Just released 4.2.0.21 update. See description at FSO: https://forum.sailfishos.org/t/xperi...1-release/8351
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesarp3791:
Hi

i can't flash the update

i wanted to clean flash as you suggested, via fastboot.

the terminal output is this:

"

Detected Linux

Searching device to flash..

Found H8216, baseband:1311-7915_52.1.A.3.49, bootloader:1310-7079_X_Boot_SDM845_LA2.0.1_Q_207

Found 1 devices: QV7026E91B

Fastboot command: fastboot -s QV7026E91B

Flashing boot partition..

fastboot: error: Failed to identify current slot

"

Any suggestions? Rebooted several times on fastboot, checked slot, rebooted to bootloader.

nothing worked

Thanks in advance.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Could it be USB3 issue? Are you connecting to your phone via USB2 or 3? I have to use older PC for flashing Tama...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] cesarp3791:
I will try later. Thanks

Edit: used another computer with usb2 port and it worked.

Thanks for your help!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mak6021:
I decided to put this firmware through win 10, in the end, nothing happened (I start the bow, the window appeared pressed the key and as a result of connecting the phone does not see though, the Driver and through the usual, command line all the commands read.., what is wrong? Sony xz2
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Unfortunately, I cannot really understand what did you do and what happened.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] shezy14:
I also am trying to install on my xperia xz2 compact using my Windows pc, and I downloaded sailfish OS 4.2, software binary and vb meta, I put everything in the same folder but when i click on flash on Windows.bat it get stuck at searching for a compatible device...

fastboot drivers installed and working
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
Thank you for a clear description of the problem. I would suggest to file an issue at Github repo of the port https://github.com/sailfishos-sony-tama/main/issues . As I don't have Windows PC, I used the script as it was with minimal changes, if any. It is possible that if the issue is filed, someone from SFOS community will help you.

As usual, check that you use USB2 connection and `fastboot reboot-bootloader` before flashing.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xsetiadi:
has anyone try on on xz2c japan version (SO-05K) because back then on sfos xperia x compact. my friend try on japanese x compact version (SO-02J) and it is work, no different. everything seems ok. as long you can unlock bootloader, you can install sfos on it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
If it works with AOSP, it should work with SFOS as well.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xsetiadi:
interesting, I let you know when I got the device.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] xsetiadi:
well, im glad to hear it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Z0rnica:
speaking of... I was thinking about flashing SFOS on my SO-05K because for some reason the Lineage install keeps failing (see: https://xdaforums.com/t/phone-stuck...nstallation-keeps-failing-unresolved.4357723/) but I also don't want to remain on android... is there anything I would have to watch out for since the SO-05K isn't in the "official" supported devices list?

additionally, since there won't be any apk support (?), has the flatpak support been fixed yet?

Essentially, I need the device to be able do 4 things:

- check emails

- use telegram

- use line

- use tethering via usb.

would I be able to do these things?

(as a bonus being able to use osmand for maps would also be nice)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
I don't have any feedback regarding your specific Tama device. So, check the thread and see if you can find info on it.

Regarding other aspects:

- Flatpak is not supported. I will probably bump hybris version with the next update, but cannot guarantee it will help Flatpak nor it would work out if I bump to the version newer than used in SFOS 4.3.0.12. So, some experimentation would be needed.

- We have support for Android apps via Waydroid. How good it is and whether it is sufficient for Telegram - no idea. Some apps seem to run just fine with it.

- You can use it for checking email (standard protocols are supported, IMAP, POP3, SMTP; MS Exchange is not), make/receive phone calls. Tethering via USB I don't use, have used WiFi tethering and it works. So, don't know whether USB one works.

- For maps you have native Pure Maps :) .
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Z0rnica:
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...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
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 :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] farukr1:
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.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] rinigus:
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