| Prev |   1   2   3     4   | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3) (https://talk.maemo.org/showthread.php?t=100877)

rinigus 2019-12-07 18:52

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
@ljo: New build is ready and, hopefully, all works in the latest build as well. If all is fine, I will publish the last build as an official one (on github) and add XZ3 dual, XZ3 single, XZ2 dual to the raster of official builds. Logic is simple: yours XZ3 dual is using the same approach as XZ2 dual does - built on a mixure of single sim and akari hal. So, all should work on non-tested devices as well. If not, its a bug that we should be able to fix. For XZ2c, I mainly expect issues with touchscreen, but those are simple to fix. Hence not publishing that yet.

Let me know how the testing goes.

Note if all is fine, then you don't need to reflash anymore. (unless we make a jump on the base to android 10 if needed, in a year). Next releases should be available via OTA.

rinigus 2019-12-07 18:58

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, ...)
 
Quote:

Originally Posted by ljo (Post 1563125)
@rinigus, yes, you are right about the sizes - they are already changed here. 4 GB is definitely better than 2,5 GB which was way too little. I had to remove quite a lot in root partition for every update the last years. For some of the version 3 releases it required almost 700 MB free in root partition, so even if downloaded in home it could get hard to fit with OTA (does the method differ between device types?). I would argue 4 GB is the minimum.

Have been using it for some time now and it doesn't seem to cross 1.8gb so far. From the other side, having maps on internal storage makes certain offline maps application just fly. Add photos, videos, and you have a pressure to keep all at /home. I though 4GB is a reasonable compromise for that.

I will look into how we can backup and restore our data properly from recovery. Should look for solutions that allow FS resizing as well. Then it will not be huge pain to resize partitions later...

If anyone knows great backup/restore solution that would allow us to do for ext4, tips are welcome. It should store data in image files (not rsync), allow full restore after reflashing of device, ideally on partitions with different size from the original. Looking at http://www.fsarchiver.org/, but never used it.

ljo 2019-12-07 19:17

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
@rinigus Flashing latest build now. I will let you know the testing results asap.

ljo 2019-12-07 19:41

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
@rinigus, all lights GREEN. So please go ahead. :)

The xa2 feels like a toy in comparison when typing this. ;)

Have a nice evening!

rinigus 2019-12-07 19:46

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
@ljo: thanks a lot! It was easy to fix it all with you. Now discover bugs, file issues, and fix them :) .

I think the last question, surely for today: when you type ssu lr, do you get repositories from testing? Its sufficient to check

Code:

- adaptation-community            ... http://repo.merproject.org/obs/nemo:/testing:/hw:/sony:/tama/sailfishos_3.2.0.12/
But, XZ2/XZ3 are fast. Hence I decided to make the port instead of going Xperia 10 way.

ljo 2019-12-07 20:02

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
@rinigus, Yes, ssu lr gives exactly that entry for 'adaptation-community', and also two other entries '-common' and '-tama-extra'.

I am all with you on xz2/xz3 port vs 10. That was why I got the device immediately to contribute when you reached out.

Find, file, fix will be good for vacation and 36c3. :)

ljo 2019-12-07 20:16

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
The feature I find most annoying with the xz3 is that the fingerprint reader is in the middle of the back and camera at 3/4. I touch the camera lens every time to unlock (as on the xa2) and then need to change grip to press the power button to enter code. Even on X and XCompact with fingerprint reader in the power button it felt easier to unlock.

rinigus 2019-12-07 21:30

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by ljo (Post 1563132)
The feature I find most annoying with the xz3 is that the fingerprint reader is in the middle of the back and camera at 3/4. I touch the camera lens every time to unlock (as on the xa2) and then need to change grip to press the power button to enter code. Even on X and XCompact with fingerprint reader in the power button it felt easier to unlock.

So far, fingerprint doesn't work, as on all non-official devices. Will have to think whether write open-sourced implementation of the unlocking hooks to SFOS.

For me, main annoyance is mainly slippery device. But that got resolved with a skin.

pagis 2019-12-11 22:04

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
xz3 (h8416, 2nd hand) or xperia 10+ dual sim (new), cost is very similar excluding SFOS X license fees.

kinggo 2019-12-12 09:23

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by pagis (Post 1563234)
xz3 (h8416, 2nd hand) or xperia 10+ dual sim (new), cost is very similar excluding SFOS X license fees.

XZ3. I have XZ2 and X10 here. That 21:9 screen itself is enough reason to not get it. Half of android stuff are not made for that. I have no idea how sailfish keyboard would look on that but I know that on android I had to set english as default because it has less keys so it's not that crammed. But it still is.
And in landscape all you see is keyboard.
And everything else is better on XZ3.

levone1 2019-12-14 02:40

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Thanks for all the work here. I'm an Xperia user going back about 10 years, (X10 mini), and have used Sailfish on X Compact since first community build. Earlier this year, I got an XZ2 Compact, because I liked the specs/size ratio, and really liked the design and power, but eventually dumped it to go back to my XC, entirely because of Sailfish. Seems like time to go back to XZ2C...
Quick question - I noticed early in the thread that there was skepticism about getting full camera quality. Does it seem likely that that could actually happen as development continues?
Thanks again

-- Sent from my Palm Pre using Forums

rinigus 2019-12-14 08:52

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Note that XZ2c is not working yet. We started on adjusting builds for it, as we did earlier for XZ3. See progress at https://github.com/sailfishos-sony-tama/main/issues/38

As for camera, it is not going to be ever as good as on stock. At least I don't expect it. Development of the camera functionality for AOSP is around kernel 4.14 which is linked to android 10. To get an idea of what's going on, see https://forum.xda-developers.com/xpe...0-0r1-t3975009

In context of SFOS, 4.14 camera development is not possible to carry over to Linux 4.9 that we use now. I hope to be able to just bump kernel version with new blobs for 4.14. If it fails, we will have to make new port on the basis of AOSP10. Realistically, if it goes that way, its probably autumn 2020.

There are few IFs in these scenarios, as you could see. So, I want people to know what they are getting into. We have risks, but we can try to work around them the best way we can.

You could check out at XDA and ask there whether you will get back camera functionality if you flash AOSP and then return back to stock using stock flasher. As far as I know, if you unlock, you will loose DRM keys. But whether they are needed for camera - I am not sure on newer Xperias. Also, you will loose stock OTA updates, if I understood it correctly.

levone1 2019-12-14 12:28

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by rinigus (Post 1563276)
Note that XZ2c is not working yet. We started on adjusting builds for it, as we did earlier for XZ3. See progress at https://github.com/sailfishos-sony-tama/main/issues/38

As for camera, it is not going to be ever as good as on stock. At least I don't expect it. Development of the camera functionality for AOSP is around kernel 4.14 which is linked to android 10. To get an idea of what's going on, see https://forum.xda-developers.com/xpe...0-0r1-t3975009

In context of SFOS, 4.14 camera development is not possible to carry over to Linux 4.9 that we use now. I hope to be able to just bump kernel version with new blobs for 4.14. If it fails, we will have to make new port on the basis of AOSP10. Realistically, if it goes that way, its probably autumn 2020.

There are few IFs in these scenarios, as you could see. So, I want people to know what they are getting into. We have risks, but we can try to work around them the best way we can.

You could check out at XDA and ask there whether you will get back camera functionality if you flash AOSP and then return back to stock using stock flasher. As far as I know, if you unlock, you will loose DRM keys. But whether they are needed for camera - I am not sure on newer Xperias. Also, you will loose stock OTA updates, if I understood it correctly.

I had XZ2C when Pie was released, and unlocked, and camera was fine - as good as stock as far as I could tell. As of Pie, Sony changed it so losing DRM wouldn't break camera, https://www.google.com/url?q=https:/...mR-XRZOFL24CrT (in previous Xperias like Z1C, Z3C, it would cause camera to be worse, since you would lose Sony-specific camera features and functions, but with XZ2C and others, it would actually break it, on Oreo). So if it's just a matter of what you lose with unlocking, it should be fine, but if there's other issues related to kernel or port-specific things, maybe not.

-- Sent from my Palm Pre using Forums

rinigus 2019-12-14 12:33

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by levone1 (Post 1563278)
I had XZ2C when Pie was released, and unlocked, and camera was fine - as good as stock as far as I could tell. As of Pie, Sony changed it so losing DRM wouldn't break camera, https://www.google.com/url?q=https:/...mR-XRZOFL24CrT (in previous Xperias like Z1C, Z3C, it would cause camera to be worse, since you would lose Sony-specific camera features and functions, but with XZ2C and others, it would actually break it, on Oreo). So if it's just a matter of what you lose with unlocking, it should be fine, but if there's other issues related to kernel or port-specific things, maybe not.

-- Sent from my Palm Pre using Forums

Thanks, good to know. But I think there is a difference on whether you unlocked and are on stock or AOSP9 (=SFOS)

levone1 2019-12-14 19:58

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by rinigus (Post 1563279)
Thanks, good to know. But I think there is a difference on whether you unlocked and are on stock or AOSP9 (=SFOS)

Probably, but doesn't look too bad here - https://forum.xda-developers.com/sho...65&postcount=2

-- Sent from my Palm Pre using Forums

rinigus 2019-12-14 20:21

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by levone1 (Post 1563290)
Probably, but doesn't look too bad here - https://forum.xda-developers.com/sho...65&postcount=2

-- Sent from my Palm Pre using Forums

You see the issues when you start using it. Post #2 is still what I would use to describe it (http://talk.maemo.org/showpost.php?p...73&postcount=2)

But as you are on unlocked device and can flash stock back, feel free to test. Currently we are struggling with getting cellular network to work and I have no clear indication in the logs why it happens. So, extra testers and pair of eyes are welcome :)

pagis 2019-12-14 23:03

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
is the cellular network issue related to aosp or the sfos part?

rinigus 2019-12-15 07:41

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by pagis (Post 1563299)
is the cellular network issue related to aosp or the sfos part?

That's what we tried to establish. Sounds like AOSP issue in this case. Will continue with the AOSP developers and I hope it will get fixed

rinigus 2019-12-15 18:41

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Its possible that 4G issue was due to the provider. We will have to wait till the provider's network will sort itself out and then can continue. Unless someone wishes to test with XZ2c

pagis 2019-12-18 15:58

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
I will be joining the Tama (XZ3 single sim) club soon, please let me know if there are any hints or updates for the existing installation instructions, any chance to save TA?

rinigus 2019-12-18 16:14

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
Quote:

Originally Posted by pagis (Post 1563413)
I will be joining the Tama (XZ3 single sim) club soon, please let me know if there are any hints or updates for the existing installation instructions, any chance to save TA?

I am preparing new set of images for flashing that will have

- updated selinux files on system/vendor part allowing us to have the same selinux policy as the official devices. more about it when its ready
- updated kernel
- released xz2c support

Probably will take a day or two for those to come out.

As for TA - no way, to my knowledge, you can keep it.

PS: Although, if you flash stock back, you should be able to get most of the camera performance back. But there are probably some things that will be missing. Ask at XDA for description

pagis 2019-12-18 16:40

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
thanks, I will wait then a couple of days

rinigus 2019-12-19 13:48

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ3, ...)
 
I have just released XZ2c images, under releases in https://github.com/sailfishos-sony-tama/main/releases

This work was made possible thanks to lots of testing and feedback by @ApB - thank you! We also fixed dual-sim support, so all dual-sim devices should work properly now.

Meanwhile, I fixed SELinux support that required compilation of AOSP9 bits. For those who have flashed already on XZ2 and XZ3, I recommend to download https://github.com/sailfishos-sony-t...elinux.tar.bz2 and unpack it at / of the device. It contains two files with SELinux policies that will later allow us to switch on SELinux as it is on official devices.

In future releases, flash images will include that fix. If you want to flash now XZ2 or XZ3, I recommend to use images from https://thaodan.de/public/sailfishos...ges/sony/tama/ (dated 3 Dec 2019, check before downloading). Those have SELinux fix as well.

Right now, SELInux is disabled as it mainly makes logs longer. However, this port should be able to follow official devices in this respect.

pagis 2019-12-21 00:30

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
done!flash.sh tho failed to flash vbmeta.img so i had to flash it separetely.
i haven't much time testing it, so far everything works, camera seems to be stuck in high iso somehow, but it's dark now.

more later/tomorrow, great job well done!

rinigus 2019-12-21 08:32

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Quote:

Originally Posted by pagis (Post 1563515)
done!flash.sh tho failed to flash vbmeta.img so i had to flash it separetely.
i haven't much time testing it, so far everything works, camera seems to be stuck in high iso somehow, but it's dark now.

more later/tomorrow, great job well done!

vbmeta bug reported at https://github.com/sailfishos-sony-tama/main/issues/48 , will have to fix it

rinigus 2019-12-22 13:37

3.2.1.20 released
 
3.2.1.20 released, available as OTA and images will be uploaded soon. See release notes at https://github.com/sailfishos-sony-t...3.2.1.20-beta2

Few comments regarding the release:

Camera is not magically cured, that will have to wait for major update in kernel to 4.14. As Sony developers told me, it may require move to AOSP10 as a base. Issue is that in addition to the kernel, few other bits were updated. As a result, we may not be able to just bump the kernel version on our base. However, I will try to update kernel on AOSP9 at some point, probably in 2-3 months - depending on how fast kernel will stabilize on AOSP10. Just let's be aware that it may fail.

If AOSP10 base is needed, expect it to happen somewhere in summer 2020. As in 2019, Jolla gets bits ready for the next AOSP base around that time.

Other changes in release are mainly related to XZ2c and housekeeping.

Thanks to all helping with testing and suggestions!

rinigus 2019-12-24 08:18

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
@ljo: I wonder whether you have the same issues with the battery life as in https://github.com/sailfishos-sony-tama/main/issues/55 ? On XZ2 and sounds like on XZ2c all is OK, not as bad as on XZ3 in that particular case.

ljo 2019-12-24 09:01

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
@rinigus, I will check. Did not notice before.

mankir 2019-12-24 09:34

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
for better battery life, you can use network mode: 3g. thx to rinigus for the images. i noticed two differences to official images: rsync is not installed and there is this ui showcase: components. wonder if it is possible, to apply a license to tama device...

rinigus 2019-12-24 10:44

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Quote:

Originally Posted by mankir (Post 1563660)
for better battery life, you can use network mode: 3g. thx to rinigus for the images. i noticed two differences to official images: rsync is not installed and there is this ui showcase: components. wonder if it is possible, to apply a license to tama device...

That's true in general - cellular data is usually better than WIFI. In that case, we had relatively large consumption without any network. Which I cannot reproduce.

As for rsync/showcase - bit odd, as I have them. Don't think showcase was installed as any pulled dependency.

As for license and corresponding Android emulation - I think its not going to happen. Jolla has been rather clear and stating that they don't want to start supporting unofficial ports. The best way around it for me was to write/support native apps and, if impossible, use some dumb Android phone for extra needed services.

ljo 2019-12-24 23:42

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
@rinigus, without being connected to any wifi, but with wifi and bluetooth on I have a steady battery drain of 1.43 % per hour over the last 14 hours. I kept the battery temperature between 20-24 degrees C.

I have now connected to a wifi network with 12-14 accounts enabled, so I expect the drain to be significantly higher, but not zap to zero.

rinigus 2019-12-25 10:39

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Quote:

Originally Posted by ljo (Post 1563671)
@rinigus, without being connected to any wifi, but with wifi and bluetooth on I have a steady battery drain of 1.43 % per hour over the last 14 hours. I kept the battery temperature between 20-24 degrees C.

I have now connected to a wifi network with 12-14 accounts enabled, so I expect the drain to be significantly higher, but not zap to zero.

Those look to be fine. It can hopefully be improved, but nothing really alarming.

ljo 2019-12-25 12:21

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
And with the wifi connected it drained 1.63 % per hour over 13 hours. Only used inside so battery temperature between 24-30 degrees C. So not that much more than without wifi connection. I will test with cellular next.

rinigus 2020-01-05 10:51

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
To enable Flatpak support by libhybris, Tama users just have to run

Code:

zypper ref
zypper up

After that its all install info as described in Flatpak README at its Github (https://github.com/sailfishos-flatpak/main). Note its probably now mainly of interest for developers only.

mankir 2020-03-05 16:15

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
i have an issue with sms: sometimes when i want to send a sms, the app crashes and shows the undelivered sms and the content of it in the editor, when i reopen it. then, i can resend and everything works as expected...

rinigus 2020-03-05 20:33

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Quote:

Originally Posted by mankir (Post 1565941)
i have an issue with sms: sometimes when i want to send a sms, the app crashes and shows the undelivered sms and the content of it in the editor, when i reopen it. then, i can resend and everything works as expected...

How reproducible is it? Try to get logs when it happens. On this port, /root has a script that grabs logs on every boot. You could use it (as root) as in

Code:

/root/logs.sh smsissue
logs will be /root/*smsissue*. Check for some crash messages or something odd. Do not post the logs publicly unless you are sure they don't contain private data, such as IMEI codes/ phone numbers. You can contact me off the list or via PM if needed to send the logs

atlochowski 2020-03-05 21:36

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Probably it's not specific to your port. It's known bug in SFOS. https://together.jolla.com/question/...n-sending-sms/

Korkkiruuvi 2020-03-23 20:33

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Any progress to switch aosp 10 and kernel? Cause recently bought used xz3 and unfortunately got android 10 already. And I'm unsure to downgrade, at least if the aosp 10 transition is at corner.

For now I could test out device more and then later compare it sailfish port.

rinigus 2020-03-23 20:47

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Quote:

Originally Posted by Korkkiruuvi (Post 1566183)
Any progress to switch aosp 10 and kernel? Cause recently bought used xz3 and unfortunately got android 10 already. And I'm unsure to downgrade, at least if the aosp 10 transition is at corner.

For now I could test out device more and then later compare it sailfish port.

No progress at all. Haven't even followed properly AOSP10 progress either. Please check out AOSP10 as well before switching, camera especially.

Don't know if AOSP10 based porting has started already for SFOS. That could be other limitation, in addition to AOSP10 maturity on Tama devices.

pagis 2020-04-03 09:05

Re: Sailfish OS on Sony Xperia Tama devices (XZ2, XZ2c, XZ3)
 
Has anyone tried upgrading to OTA 3.3.0 SFOS yet? any issues to be aware?


| Prev |   1   2   3     4   | Next | Last
All times are GMT. The time now is 14:04.

vBulletin® Version 3.8.8