maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish OS (officially) on Sony Xperia devices (https://talk.maemo.org/showthread.php?t=99017)

clovis86 2018-02-23 09:50

Re: Sailfish OS (officially) on Sony Xperia devices
 
androids apps are really killed very often :/

meloferz 2018-02-23 19:07

Re: Sailfish OS (officially) on Sony Xperia devices
 
Installed Sailfish 2.1.3.7 and then updated to 2.1.4.13 and I was amazed how it was improved since I tried the first release, very fast, androids apps works almost perfect (except for the stupid bug of online status for Whatsapp). Installed again Android as the stupid bug for me is important as I use for work, hope in the next dalvik (or probably ART) release that will be fixed. Very happy with the progress of Sailfish

Greetings from Paraguay!

Enviado desde mi F5121 mediante Tapatalk

Breeze5 2018-02-24 11:38

Re: Sailfish OS (officially) on Sony Xperia devices
 
Have anyone managed to get a SDXC 256gb card working on the xperia?

aQUICK1 2018-02-24 12:03

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Breeze5 (Post 1541553)
Have anyone managed to get a SDXC 256gb card working on the xperia?

I got an Samsung Evo 256 working in my x, don't know if its SDXC.

caa 2018-02-24 14:25

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Breeze5 (Post 1541553)
Have anyone managed to get a SDXC 256gb card working on the xperia?

Yes, Samsung Evo Plus Micro SDXC 256GB (Model MB-MC256GA/EU ) works fine (FAT32 formatted).

chenliangchen 2018-02-27 16:03

Re: Sailfish OS (officially) on Sony Xperia devices
 
I tried the 256GB SDXC from my Android phone today. Unfortunately the card is using exFAT and as I swap between devices very often I kept the file system.

Downloaded olebr's fuse exfat, and exfat utils , as well as ferlanero's auto mount exfat on Sailfish X

I found auto mount does not work, so I tried manually with mount /dev/mmcblk1p1 /media/sdcard , but terminal says unknown file system type "exfat"

Seems fuse exfat isn't recognised by the system? But olebr's version should be specifically built for Sailfish X. Very strange... Any hints?

Many thanks

DrYak 2018-02-27 17:21

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by objectifnul (Post 1541527)
Memory swapping isn't necessarily a good idea with solid state memory (limited number of read/write operations then memory dies)

Depends on the technology of the card itself.
I've personally been using Transcend Ultimate 633x 64GB card on my Jolla1, and it handles swap pretty well.

- it uses dynamic wear leveling, to spread the writes accross more erase groups, delying the dying.
- it uses static wear leveling to also occasionally re-write old data to avoid it decaying over time (remember Samsung's non-pro 840 SSD, back with the old firmware ?)
- has ECC and is much more resilient.

Quote:

Originally Posted by TMavica (Post 1541523)
enable swap memory

I second that, but only on some high quality microSD card that can survive the load.

Quote:

Originally Posted by meloferz (Post 1541534)
except for the stupid bug of online status for Whatsapp

Out of curiosity, what problems are you experiencing ?

Quote:

hope in the next dalvik (or probably ART) release that will be fixed.
Currently, we're stuck with Alien-Dalvik. We won't see anything at least not before Sailfish 3.

Quote:

Originally Posted by Breeze5 (Post 1541553)
Have anyone managed to get a SDXC 256gb card working on the xperia?

According to some threads on TJC, some cards aren't even physically recognized by the kernel's mmc driver.
(Someboy had problem with a Saumsung EVO (non plus) 128GB)
Apparently, it's a known kernel problem (should be eventually solved in some future upgrade).

That's in addition of you needing to either reformat from exFAT into something slightly more cross platform (e.g.: FAT32), or installing exFAT fuse drivers.

Quote:

Originally Posted by chenliangchen (Post 1541717)
I tried the 256GB SDXC from my Android phone today. Unfortunately the card is using exFAT and as I swap between devices very often I kept the file system.

Before getting to the exFAT problem, as mentionned above, check that the kernel at least sees the MMC device itself :

after loading the card holder in the phone, do you see a "/dev/mmcblk1" device appearing (external slot) ? or do you only see "/dev/mmblk0p??" devices (internal flash).

Quote:

Originally Posted by chenliangchen (Post 1541717)
I found auto mount does not work, so I tried manually with mount /dev/mmcblk1p1 /media/sdcard , but terminal says unknown file system type "exfat"

What does "blkid /dev/mmcblk1p1" say ? (run as root with "devel-su" ?)

Try: "mount.exfat-fuse /dev/mmcblk1p1 /media/sdcard"

To force your system to use the correct FUSE helper.

chenliangchen 2018-02-27 17:37

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by DrYak (Post 1541722)

Before getting to the exFAT problem, as mentionned above, check that the kernel at least sees the MMC device itself :

after loading the card holder in the phone, do you see a "/dev/mmcblk1" device appearing (external slot) ? or do you only see "/dev/mmblk0p??" devices (internal flash).

There is indeed mmcblk1, so the hardware recognises external SD

Quote:

Originally Posted by DrYak (Post 1541722)

What does "blkid /dev/mmcblk1p1" say ? (run as root with "devel-su" ?)

Try: "mount.exfat-fuse /dev/mmcblk1p1 /media/sdcard"

To force your system to use the correct FUSE helper.

blkid recognises Label, UUID and Type correctly. Tried with mount.exfat-fuse this time worked correctly! Thanks a lot! :)

On every reboot I need to manually mount again. But doesn't matter.

meloferz 2018-02-27 17:58

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by DrYak (Post 1541722)
Out of curiosity, what problems are you experiencing ?

When you're using Whatsapp or Telegram, or any IM app that shows online status, after you close, press android back button, or your swipe to go to another app, the online status persist



Enviado desde mi F5121 mediante Tapatalk

Watchmaker 2018-02-28 08:58

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by meloferz (Post 1541728)
When you're using Whatsapp or Telegram, or any IM app that shows online status, after you close, press android back button, or your swipe to go to another app, the online status persist



Enviado desde mi F5121 mediante Tapatalk

I have the same issue.

DrYak 2018-02-28 12:19

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by chenliangchen (Post 1541726)
On every reboot I need to manually mount again. But doesn't matter.

Had a quick look around.

The package you've downloaded, "usb-stick-utils-automount-exfat-support",
is a different script ("mount-usbstick.sh") that gets triggered (see "90-mount-usbstick.rules") whenever a USB stick is inserted (either a microUSB stick directly into the USB OTG port, or a regular USB stick into a USB HUB conencted to the OTG post).

It does support exfat, but does not react to SD cards.

the built-in script that gets called is "mount-sd.sh".
If you have a look into it, it doesn't handle the FUSE exFAT module.
(compare the 2 "case ${TYPE}" switch blocks in the middle of both scripts).

Together with TJC member "V1olat0r" we had bounced back and forth a few more advanced scripts (handlind NTRFS, Swap, etc.)

I think you should be able to get SD card automounting by transfering the vfat/exfat/ntfs case block from "/usr/sbin/mount-usbstick.sh" to "/usr/sbin/mount-sd.sh".

DrYak 2018-02-28 12:31

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by meloferz (Post 1541728)
When you're using Whatsapp or Telegram, or any IM app that shows online status, after you close, press android back button, or your swipe to go to another app, the online status persist

Two different thing to notice :

- WhatsApp relies on a background daemon "com.whatsapp" running to handle the messages. You are technically online as long as this daemon is running, and there's no official way to kill it from the WhatsApp interface.
(According to the rationale from some WhatsApp FAQ is that they want to mimmick the "always on" feature of SMS. You can't switch SMS online, therefor you shouldn't be able to shut down WhatsApp either).

If you want WhatsApp to stop processing messages, you need to kill the background daemon.

If you only close the app (kill the card, press "back", etc.) you're merely closing the interface, not shutting down WhatsApp.

The fact that it suddenly doesn't show online anymore on Android is probably some side effect of how that peculiar version of Android (or some addittional tools) handle rogue processes / ressource conservation. But that's not the normal expected WhatsApp behaviour according to their docs.


- Sailfish OS is a true multi tasking OS. All the open cards are always running (unless grayed out). But most 4.4 Kitkat era applications (=the API level exposed by aliendalvik) don't have a concept of application "still running but not in focus".
Thus nearly no android app knows that you swiped to switch to another app, and WhatsApp is among them.
Because it's interface is still working, it's still believing to be infocus.

The only useful tip that I can give is to get out of any message screen back to the main contacts/list-of-chats screen, before switching to another card.
At least WhatsApp won't be thinking that you read a message while the chat is open and won't mark as double-blue tacks (read) in the senders' app, but only as double-gray tacks (delivered).

wrm 2018-03-01 04:59

Re: Sailfish OS (officially) on Sony Xperia devices
 
Facebook messenger background service keeps crashing time to time. Anything can be done on that?

suicidal_orange 2018-03-01 12:50

Re: Sailfish OS (officially) on Sony Xperia devices
 
My X dual sim has just arrived and I see in the January update SFOS 2.2 will be out in 'a couple of months' adding official support - any thoughts on whether I should wait or will it be a smooth upgrade if I mod the current version?

I'm thinking the new kernel won't arrive until SFOS3 so it should be OK but this is .2 rather than the usual .1.x so must be more significant...

lantern 2018-03-01 13:17

Re: Sailfish OS (officially) on Sony Xperia devices
 
no need to wait

mariusmssj 2018-03-01 13:25

Re: Sailfish OS (officially) on Sony Xperia devices
 
I feel that dual xperia X is not yet ready to be daily driver. Too many things rely on mods. Thanks for Lantern I got mine working :D but it's not reliable enough for me just yet. Thus I am waiting for 2.2 update in few months time.

suicidal_orange 2018-03-01 13:57

Re: Sailfish OS (officially) on Sony Xperia devices
 
I'm only going to use one sim and WiFi, got a great condition dual for not much more than the single and the extra space could be useful.

What makes it not ready for daily use?

datman 2018-03-02 01:43

Re: Sailfish OS (officially) on Sony Xperia devices
 
Hi, I am sure I posted this but I cant find it. Is the F5122 ok to use with the standard install without any tweeks? I only need the 1 sim. Thanks

suicidal_orange 2018-03-02 08:41

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by datman (Post 1541861)
Hi, I am sure I posted this but I cant find it. Is the F5122 ok to use with the standard install without any tweeks? I only need the 1 sim. Thanks

You also posted in the community build thread - similar names so it gets confusing!

As I understand it sometimes the dual works and sometimes it doesn't without these tweaks, with them it works:

Quote:

Originally Posted by lantern (Post 1534540)
Ok, thanks to mal from #sailfish-porters we now have fully working dual-sim F5122

add these 3 lines to /default.prop
Quote:

persist.multisim.config=dsds
persist.radio.multisim.config=dsds
ro.telephony.default_network=9,1
and these lines to the end of /etc/ofono/ril_subscription.conf
Quote:

[ril_1]
socket=/dev/socket/rild2
and install jolla-settings-networking-multisim

You also need to resize the partitions to use the full 64gb.

Might want to wait for lantern to confirm nothing's changed :)

lantern 2018-03-02 08:48

Re: Sailfish OS (officially) on Sony Xperia devices
 
Nothing's changed.
Also, you don't need to resize partitions, you'll have full 64 gb automagically.

suicidal_orange 2018-03-02 09:20

Re: Sailfish OS (officially) on Sony Xperia devices
 
Thanks! Not sure which thread to ask in but something improved in the community build a while ago making it different to the official - has the official build caught up?

romu 2018-03-02 13:18

Re: Sailfish OS (officially) on Sony Xperia devices
 
I've setup my X Compact with mce this way:

Code:

devel-su
pkcon install mce-tools
mcetool --set-low-power-mode=enabled
mcetool -–set-doubletap-mode=show-unlock-screen
mcetool -i disabled
mcetool -z always

It works, but it's far from being perfect. Around half of the times, the phone wakes up, but the swipe to unlock doesn't work. Then, I've to press the power button twice + swipe to unlock.

Is someone with a X using different settings with more success?

seiichiro0185 2018-03-02 13:25

Re: Sailfish OS (officially) on Sony Xperia devices
 
I have the same experience, doubletap works only very unreliably when activated (same as for romu, more than half of the times phone wakes up but touch input / swipe doesn't work). Maybe thats the reason why Jolla hasn't activated it officially.

TMavica 2018-03-02 14:01

Re: Sailfish OS (officially) on Sony Xperia devices
 
There is power drain bugs if you enabled real double tap

https://together.jolla.com/question/...post-id-174552

clovis86 2018-03-02 14:01

Re: Sailfish OS (officially) on Sony Xperia devices
 
Can someone post commands on how to to completely disable lpm and double-tap please, appart from removing mce-tools off course :D

suicidal_orange 2018-03-02 18:55

Re: Sailfish OS (officially) on Sony Xperia devices
 
I'm trying to downgrade my X dual, XperiFirm works but gives a random list of countries none of which are UK all with versions starting 34 but as I understand it I want android 6 - help?! My phone is Brazilian if that matters...

aspergerguy 2018-03-02 19:43

Re: Sailfish OS (officially) on Sony Xperia devices
 
In Xperifirm click Check all at top right and go to Service Exchange Unit 1304-5671 34.0.A.1.264 / R1A

Remember to record exact version if ever intend restoring in future to stock.

aspergerguy 2018-03-02 20:15

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by clovis86 (Post 1541896)
Can someone post commands on how to to completely disable lpm and double-tap please, appart from removing mce-tools off course :D

Does this answer from @spiiroin still apply or only applicable to earlier versions?https://together.jolla.com/question/...#post-id-76598

clovis86 2018-03-02 21:30

Re: Sailfish OS (officially) on Sony Xperia devices
 
Looks like this is talking about enabling lpm and unlocking double tap.
Plus, 2015 should be too old imo

suicidal_orange 2018-03-02 22:14

Re: Sailfish OS (officially) on Sony Xperia devices
 
The service to stop and file it says to delete are both called mce - looks good to me.

suicidal_orange 2018-03-03 00:27

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by aspergerguy (Post 1541921)
In Xperifirm click Check all at top right and go to Service Exchange Unit 1304-5671 34.0.A.1.264 / R1A

Remember to record exact version if ever intend restoring in future to stock.

Thanks - downgrade completed, TA backed up and bootloader unlocked! SailfishX purchased, read instructions - 'update android before unlocking' :mad:

Seems the backup TA windows cmd file has a restore option but the Linux version does not - is there any way to avoid windows and Emma yet?

Edit: Found out if you enable pro mode in XperiaFlashtool you can use it to backup and restore TA, but as I have a .IMG from the script the only option that may work wants me to click twice for each of what looks like hundreds of items and chose between partition 1 or 2 - still quicker than installing windows, if anyone can advise which partition it should be. Seems strange there's a choice...

nieldk 2018-03-03 07:30

Re: Sailfish OS (officially) on Sony Xperia devices
 
There is a good, comprehensive guide here

https://together.jolla.com/question/...ng-bootloader/

suicidal_orange 2018-03-03 07:43

Re: Sailfish OS (officially) on Sony Xperia devices
 
Thanks Niel, that actually looks like what I've done - great to have it all in one place!

In the comments there's a link to a German site which uses TWRP to restore TA, haven't seen that mentioned yet so I'm hopeful. Will try later...

romu 2018-03-03 18:23

Re: Sailfish OS (officially) on Sony Xperia devices
 
Any flashlight application on the X?

Cavalier 2018-03-03 19:27

Re: Sailfish OS (officially) on Sony Xperia devices
 
you don't need to download flashlight app, just set flashlight in a event view settings

Manatus 2018-03-04 09:56

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by romu (Post 1541970)
Any flashlight application on the X?

Feathers_McGraw's Hammerhead Torch from the openrepos works. One in Jolla Store doesn't as it hasn't been updated lately.

The difference between versions is that the latest defaults to Gstreamer to control the led.

Personally I like to use app since you can add the flashlight app to the lockscreen as a shortcut.

(I also find it ugly and confusing how SailfishOS has quick controls behind only one of the screens in the carousel, and not both, so I keep those disabled.)

nieldk 2018-03-04 15:41

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Manatus (Post 1541996)
Feathers_McGraw's Hammerhead Torch from the openrepos works. One in Jolla Store doesn't as it hasn't been updated lately.

The difference between versions is that the latest defaults to Gstreamer to control the led.

Personally I like to use app since you can add the flashlight app to the lockscreen as a shortcut.

(I also find it ugly and confusing how SailfishOS has quick controls behind only one of the screens in the carousel, and not both, so I keep those disabled.)

dont quite.get why not just use.the.one.available.in events view.pulley menu?

mosen 2018-03-04 15:52

Re: Sailfish OS (officially) on Sony Xperia devices
 
Quote:

Originally Posted by Manatus (Post 1541996)
(I also find it ugly and confusing how SailfishOS has quick controls behind only one of the screens in the carousel, and not both, so I keep those disabled.)

yep, but according to mwc2018 screenshots of sfos3, this will be unified finally and quick controls + ambiance switcher will become one.

Quote:

Originally Posted by nieldk (Post 1542014)
dont quite.get why not just use.the.one.available.in events view.pulley menu?

Quote:

Originally Posted by Manatus (Post 1541996)
Personally I like to use app since you can add the flashlight app to the lockscreen as a shortcut.

;)

lantern 2018-03-06 18:54

Re: Sailfish OS (officially) on Sony Xperia devices
 
Since SF X uses android's .so's from /odm/lib*, did anybody look into using android's anti-DRM trick via LD_PRELOAD, so camera would be thinking the phone is not unlocked?

PS Seems like updating removed a patch allowing to lower notification volume. Does anybody remember what app from openrepos was that?

datman 2018-03-07 22:12

Re: Sailfish OS (officially) on Sony Xperia devices
 
Thanks for your replies, I managed to get a new black xperia and have installed sailfish OS OK. It was a bit frustrating, the driver from the Sony website did not work for me and eventually I found one on a forum that did work.
I am a bit annoyed about the quality of the camera photos tho. I read somewhere that there is no urgency to fix this. As others have stated, there are a basics that should always work well and I would have thought camera would have been one of them, Certainly seems weird they are trying to get this OS out there but they almost seem sluggish to do anything about these issues. I acquired the OS thru a VPN, so normally I wouldn't have access to it. Maybe they have been focusing on Sailfish 3? Hope Sailfish 3 is out asap.
Also I loved the N9, simple system, I get a bit annoyed by pulley menus as it takes extra actions and makes it seem more complicated in my view. It is certainly not as simple and elegant as Meego was, which is a pity.


All times are GMT. The time now is 22:48.

vBulletin® Version 3.8.8