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)

pacman 2017-10-15 08:03

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

Originally Posted by DrYak (Post 1536820)
For me this looks as if your Xperia is completely unable to see the µSDXC card.
Might even be a machanical problem (pocket lint stuck in the slot ? SD card not perfectly aligned in the slot holder ?)

But at this step, the format on the card doesn't even play a role.
The Xperia doesn't even start to talk to it.

I haven't got SFOX yet (just need to find a quiet day or two to download, install and try it out), but on standard linux distros the thing that I use to start to diagnose this kind of problem is the dmesg command. It outputs kernel messages. Try:

Code:

dmesg | tail
just before and after inserting the card, and see if there is any sign of the kernel reacting. If dmesg -T works on SFOX, use that that: it will give you the exact time of each event, which makes it easier to read.

lantern 2017-10-15 09:23

Re: Sailfish OS (officially) on Sony Xperia devices
 
Seems like my X stopped seeing 5 GHz Wi-fi networks. Where can I check it from cmd?

Dave999 2017-10-15 09:26

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

Originally Posted by lantern (Post 1536841)
Seems like my X stopped seeing 5 GHz Wi-fi networks. Where can I check it from cmd?

Same here. You see it first but after trying to connect the 5s are gone.

Do you know if sail can connect to 5GHz?

jenix 2017-10-15 09:32

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

Originally Posted by DrYak (Post 1536820)
For me this looks as if your Xperia is completely unable to see the µSDXC card.
Might even be a machanical problem (pocket lint stuck in the slot ? SD card not perfectly aligned in the slot holder ?)

But at this step, the format on the card doesn't even play a role.
The Xperia doesn't even start to talk to it.

There's a thread on TJC about that, where other users have the same problem: https://together.jolla.com/question/...-not-detected/

@almaviva Have you tried to reinsert the sdcard in the slot? The insert mechanism of the Xperia X does not look very trustworthy to me, so maybe it really is a contact issue and the card does not make proper contact to the reader?
Also sorry, since you did probably already answered this questions: Have you tried another sdcard to rule out hardware issues with the card reader in the phone?

almaviva 2017-10-15 09:36

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

Originally Posted by DrYak (Post 1536820)
Might even be a machanical problem (pocket lint stuck in the slot ? SD card not perfectly aligned in the slot holder ?)

I definitely can rule out a mechanical problem:
1. An old 1GB microsd is recognized perfectly by Sailfish
2. Before flashing Sailfish on my Xperia X, I used Android (without Google) for several weeks - and my 128gb microsd card worked perfectly on Android.
3. Yesterday I flashed Sailfish to a second Xperia X for a family member. Both phones are identical Xperia X, bought brand new and sealed from Amazon Italy. Of course I tested my 128GB microsd: It worked perfectly on Android before flashing, and it wasn't recognized by Sailfish after flashing.

So this seems to be a weird software problem, and this conclusion is probably true:
Quote:

Originally Posted by DrYak (Post 1536820)
But at this step, the format on the card doesn't even play a role.
The Xperia doesn't even start to talk to it.

I tested the suggestion of pacman - I entered "dmesg | tail" before and after inserting the card with following result:
Code:

[nemo@Sailfish ~]$ dmesg | tail
[  265.430632] PM: noirq resume of devices complete after 1.110 msecs
[  265.433830] PM: early resume of devices complete after 1.410 msecs
[  265.442184] as3668 6-0042: Resuming AS3668
[  265.477820] PM: resume of devices complete after 43.972 msecs
[  265.479863] Restarting tasks ... done.
[  265.499059] Resume caused by IRQ 240, 1000000.pinctrl
[  265.499071] Resume caused by IRQ 203, 601d0.qcom,mpm
[  265.499080] Resume caused by IRQ 200, qcom,smd-rpm
[  265.499088] Resume caused by IRQ 711, bcmsdh_sdmmc
[  265.499299] PM: suspend exit 2017-10-15 09:21:47.526513235 UTC
[nemo@Sailfish ~]$ dmesg | tail
[  275.255907] PM: noirq resume of devices complete after 1.117 msecs
[  275.259264] PM: early resume of devices complete after 1.501 msecs
[  275.266701] as3668 6-0042: Resuming AS3668
[  275.304143] PM: resume of devices complete after 44.861 msecs
[  275.305928] Restarting tasks ... done.
[  275.336900] Resume caused by IRQ 240, 1000000.pinctrl
[  275.336912] Resume caused by IRQ 203, 601d0.qcom,mpm
[  275.336920] Resume caused by IRQ 200, qcom,smd-rpm
[  275.336929] Resume caused by IRQ 711, bcmsdh_sdmmc
[  275.337557] PM: suspend exit 2017-10-15 09:22:02.056013703 UTC

Somehow I hope this problem will solve itself with the first update....

salamisami 2017-10-15 09:59

Re: Sailfish OS (officially) on Sony Xperia devices
 
xperia x compact build any day now, right?

epninety 2017-10-15 10:12

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

Originally Posted by almaviva (Post 1536845)
I definitely can rule out a mechanical problem

I've got two Toshiba Exceria 128G cards, both work fine in other devices, neither is detected in the X. (One is ExFAT, the other has GPT partition table and ext4 partition)

In the JollaC the ext4 card shows as unmounted ext4 card, but wont mount. I haven't yet investigated why that it.

edit : forgot to say my Sandisk 32G ext4 card works just fine in both devices

jenix 2017-10-15 10:40

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

Originally Posted by almaviva (Post 1536845)
I definitely can rule out a mechanical problem:
1. An old 1GB microsd is recognized perfectly by Sailfish
2. Before flashing Sailfish on my Xperia X, I used Android (without Google) for several weeks - and my 128gb microsd card worked perfectly on Android.
3. Yesterday I flashed Sailfish to a second Xperia X for a family member. Both phones are identical Xperia X, bought brand new and sealed from Amazon Italy. Of course I tested my 128GB microsd: It worked perfectly on Android before flashing, and it wasn't recognized by Sailfish after flashing.

Thanks for the update, this indead sound really strange. I take it you did not remove the sdcard between Android and the flashing of SFOS (just to really rule out any connectivity issues)?

Regarding the output of dmesg (and other logfiles): Unfortunately, SFOS does produce quite a lot of output, especially when developer mode is enabled and you are connected via SSH. I suspect the interesting parts of the output, what happened during the mounting attempt (if any), are not shown via the tai commandl (which by default only outputs the last 10 lines).
Would it be possible that you post the whole output of dmesg during the mounting attempt? issue the
Code:

dmesg | tail
command immediately before inserting the sdcard. From the output, note the number at the beginning of the last line in square brackets (that it the current uptime in seconds as time stamp). Then, attempt to mount the sdcard and afterwards issue
Code:

dmesg
(without tail). Copy all the output starting from the time stamp of the previous command. This way, we can see what happened in between the two points in time.
Since this is probably a lot of output, may I ask that you copy them into a text file and use it as attachment here? The output should not contain any sensitive data (like phone numbers, names etc.) but please feel free to remove anything that looks like that before posting here. Thanks.

almaviva 2017-10-15 11:42

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

Originally Posted by jenix (Post 1536849)
The output should not contain any sensitive data (like phone numbers, names etc.) but please feel free to remove anything that looks like that before posting here. Thanks.

I'm not really comfortable with this since the whole idea of moving to Sailfish is to keep the own privacy... but in this case I will do it anyway to help to find a solution. Since I am not familiar with linux I am not sure which information might be sensitive in this huge amount of output. I deleted some lines - please tell me immediately if I overlooked something.

So I entered "dmesg | tail", inserted the 128GB card and entered "dmesg". Attached you will find the result.

I very much appreciate the help of the community. But because I'm drowning in work this will be my last post for the next days - but I am eagerly watching the search for a solution... Thank you all!

pexi 2017-10-15 12:12

Re: Sailfish OS (officially) on Sony Xperia devices
 
Today i put SIM to my Xperia and i am a bit astonished. With my Nexus 5 LineageOS I could not make Linphone audio working but with SailfishX it worked flawlessly! So did Skype and Whatsapp! So as far as I am concerned I am super happy with what I just got with SailfishX. It is better for daily driver than my Nexus with Lineage.

hemiwi 2017-10-15 13:14

Re: Sailfish OS (officially) on Sony Xperia devices
 
Hi there,

i read someone asking for the ambience of SailfishX about 20 or 30 pages back but cant find it anymore. Did anyone replied to the request?
Plus my question if anyone here has Aquafish and XperiaX and therefore can tell me if the swap is huge in terms of multitasking and quality of photography. Thanks for any reply

Heik 2017-10-15 14:12

Re: Sailfish OS (officially) on Sony Xperia devices
 
Got my F5122 working,... almost.

I cannot switch Internet on from the settings.
Using Telia in Finland and tested also with a SIM from other country.

Read postings from few last days, but the only related thing I found is:
http://talk.maemo.org/showpost.php?p...7&postcount=93

Anyone else had this problem and any solution found ?

aspergerguy 2017-10-15 14:17

Re: Sailfish OS (officially) on Sony Xperia devices
 
Did you start up Android 34.3.A.0.238 with a SIM in place before flashing SailfishX?

Heik 2017-10-15 14:29

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

Originally Posted by aspergerguy (Post 1536864)
Did you start up Android 34.3.A.0.238 with a SIM in place before flashing SailfishX?

I used F5122_34.3.A.0.228_1302-5672_R1D.ftf
and can't remember if I had SIM in place 1, very probably not.

I can call with phone, but no phone network available.

So, 0238 might solve the problem ?

mosen 2017-10-15 14:36

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

Originally Posted by Dave999 (Post 1536842)
Same here. You see it first but after trying to connect the 5s are gone.

Do you know if sail can connect to 5GHz?

No problem with Nexus5 port since ages!
Adaption problem or recent versions bug worth a tjc question, go go go ;)

jcoder 2017-10-15 14:48

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

Originally Posted by Dave999 (Post 1536842)
Do you know if sail can connect to 5GHz?

Mine is connected at 5GHz to a Fritzbox 7490 Router

oenone 2017-10-15 15:46

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

Originally Posted by Heik (Post 1536863)
Got my F5122 working,... almost.

I cannot switch Internet on from the settings.
Using Telia in Finland and tested also with a SIM from other country.

Read postings from few last days, but the only related thing I found is:
http://talk.maemo.org/showpost.php?p...7&postcount=93

Anyone else had this problem and any solution found ?

Possibly /var/lib/ofono/ril is lacking the line
Code:

DefaultDataSim=204853412657279
where "204853412657279" is actually wherever you have in /var/lib/ofono/iccidmap as being equal to your IMSI. For example:

Code:

892475602002856046=204853412657279
Your IMSI is the long string of numbers printed on your SIM.

Or in the mobile network settings select your SIM as the data sim as it might not be selected.

Dave999 2017-10-15 15:49

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

Originally Posted by mosen (Post 1536870)
No problem with Nexus5 port since ages!
Adaption problem or recent versions bug worth a tjc question, go go go ;)

I submitted a bug there once. People there are a bit stupid. They argued it was a feature and no action or comment from Jolla.

https://together.jolla.com/question/...-private-mode/

Never again I say.

feedme 2017-10-15 15:57

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

Originally Posted by oenone (Post 1536879)
Possibly /var/lib/ofono/ril is lacking the line
Code:

DefaultDataSim=204853412657279
where "204853412657279" is actually wherever you have in /var/lib/ofono/iccidmap as being equal to your IMSI. For example:

Code:

892475602002856046=204853412657279
Your IMSI is the long string of numbers printed on your SIM.

Or in the mobile network settings select your SIM as the data sim as it might not be selected.

I had this on xperia. and then also jollac ( switching sim cards between devices)
Found 2 solutions. 1) go and select manual network selection and there telia. then you can gi back to auto.
2) The sim 1 is selected, but tap on sim1 and re-select it.

Heik 2017-10-15 16:08

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

Originally Posted by aspergerguy (Post 1536864)
Did you start up Android 34.3.A.0.238 with a SIM in place before flashing SailfishX?

Looks like applying those works, At least set-up can be done using mobile network.

Thanks a lot.!

Heik 2017-10-15 16:40

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

Originally Posted by Heik (Post 1536883)
Looks like applying those works, At least set-up can be done using mobile network.

Thanks a lot.!

Well, after applying this (for dual sim):
http://talk.maemo.org/showthread.php...40#post1534540
Internet in mobile was again not available

After removing the lines and using only one sim, all is ok again,

I have to test the above fixes it those help for dual sim situation.

Heik 2017-10-15 16:49

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

Originally Posted by oenone (Post 1536879)
Possibly /var/lib/ofono/ril is lacking the line
Code:

DefaultDataSim=204853412657279
where "204853412657279" is actually wherever you have in /var/lib/ofono/iccidmap as being equal to your IMSI. For example:

Code:

892475602002856046=204853412657279
Your IMSI is the long string of numbers printed on your SIM.

Or in the mobile network settings select your SIM as the data sim as it might not be selected.

Now I am a bit confused. I have "played" with these files only:
/default.prop
/etc/ofono/ril_subscription.conf

and my /var/lib/ofono/ folder is empty

lantern 2017-10-15 17:51

Re: Sailfish OS (officially) on Sony Xperia devices
 
Heik
Did you select the sim in "Use SIM-card" in mobile networks? Even if there's a correct one already, I found that you should re-select it again. Then you can activate mobile internet.

Heik 2017-10-15 17:53

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

Originally Posted by lantern (Post 1536891)
Heik
Did you select the sim in "Use SIM-card" in mobile networks? Even if there's a correct one already, I found that you should re-select it again. Then you can activate mobile internet.

I will check the settings again, after I make those "Dual SIM" tricks again, Now with one SIM and modifications removed, all work again,

So, later.

Dave999 2017-10-15 19:11

Re: Sailfish OS (officially) on Sony Xperia devices
 
anyone knows if jolla fixed exchange so you are able to change password without deleting and account again?

mousse04 2017-10-15 19:15

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

Originally Posted by Dave999 (Post 1536895)
anyone knows if jolla fixed exchange so you are able to change password without deleting and account again?

yes it is fixed

Dave999 2017-10-15 19:26

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

Originally Posted by mousse04 (Post 1536896)
yes it is fixed

what about accepting/denaying meeting request?

mariusmssj 2017-10-15 19:58

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

Originally Posted by Dave999 (Post 1536898)
what about accepting/denaying meeting request?

Sadly no :(

Bundyo 2017-10-15 21:19

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

Originally Posted by ajalkane (Post 1536640)
Google Play store downloading does not work anymore even with Jolla 1, apparently due to Google's changes that block unauthorized devices.

You can use Yalp store to get applications from Google Play store.

If you manage to pin it to 7.3.25.K - it is the last version that works. Check the thread about it for how to do that.

Dave999 2017-10-15 21:36

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

Originally Posted by mariusmssj (Post 1536901)
Sadly no :(

whooo hoo. no meetings! :D

Seriously, that makes exchange pretty much useless.

deprecated 2017-10-15 21:46

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

Originally Posted by Heik (Post 1536889)
Now I am a bit confused. I have "played" with these files only:
/default.prop
/etc/ofono/ril_subscription.conf

and my /var/lib/ofono/ folder is empty

http://talk.maemo.org/showpost.php?p...7&postcount=93

For ofono fix

mariusmssj 2017-10-15 21:49

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

Originally Posted by Dave999 (Post 1536908)
whooo hoo. no meetings! :D

Seriously, that makes exchange pretty much useless.

I know exactly what you mean! My whole workplace uses outlook for everything, all the meeting we set-up are done through it. Not having the ability the accept/decline meetings is really bad

If you want to help, cast your vote!

pichlo 2017-10-16 05:18

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

Originally Posted by ajalkane (Post 1536743)
Did some photos at house with just lamps, so the brightness of the scene is not excellent. It seems to me that the autofocus is not working well. At a first glance the photos look great compared to Jolla C due to much better color reproduction.

But zooming into the pictures reveals them to be quite blurry, as if the focus was a bit off. In fact when tapping to get focus, to plain eye it seems there's a more focused version when it's calibrating, but the camera chooses less optimal version.

Is this specific to Sailfish X or does a vanilla Xperia X behave in a similar way?

The size, price and issues mentioned in this thread (in that order) made me decide to stay away from Sailfish X but I have been considering an Xperia phone for my daughter for Christmas.

Feathers McGraw 2017-10-16 06:18

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

Originally Posted by pichlo (Post 1536920)
I have been considering an Xperia phone for my daughter for Christmas.

Shh! What if your daughter secretly reads TMO?

suicidal_orange 2017-10-16 06:30

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

Originally Posted by pichlo (Post 1536920)
Is this specific to Sailfish X or does a vanilla Xperia X behave in a similar way?

One of the main selling points of the X is the camera - this is a sailfish problem, not hardware.

This review has lots of sample pics :)

jenix 2017-10-16 06:47

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

Originally Posted by suicidal_orange (Post 1536925)
One of the main selling points of the X is the camera - this is a sailfish problem, not hardware.

This review has lots of sample pics :)

At least parts of the reduced quality in Sailfish is most likely due to the removed / missing DRM features. We have to compare pictures from SFOS with those taken by an aosp rom to see os-specific differences.

pichlo 2017-10-16 06:57

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

Originally Posted by Feathers McGraw (Post 1536922)
Shh! What if your daughter secretly reads TMO?

That is VERY unlikely. I feel pretty safe in that regard :p

chenliangchen 2017-10-16 07:08

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

Originally Posted by pichlo (Post 1536920)
I have been considering an Xperia phone for my daughter for Christmas.

Will that replace her old Android 2.3 tablet? :P

BTW, there is a pink edition (rose gold?) of Xperia X which should suits ladies well.

pichlo 2017-10-16 07:14

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

Originally Posted by chenliangchen (Post 1536929)
Will that replace her old Android 2.3 tablet? :P

She has an Android 5.1 tablet :p. The 2.3 is a phone and yes, it is about replacing it.

Quote:

BTW, there is a pink edition (rose gold?) of Xperia X which should suits ladies well.
Yes, I was thinking about the rose gold. But not X, it is waaaay too large. X Compact is better but she does not like the square edges. I am considering Z1 Compact or a different make altogether.

Would Sail work on Z1 Compact? If there is even a slight chance that it might then I may consider getting one for myself too.

jenix 2017-10-16 07:47

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

Originally Posted by almaviva (Post 1536851)
I'm not really comfortable with this since the whole idea of moving to Sailfish is to keep the own privacy... but in this case I will do it anyway to help to find a solution. Since I am not familiar with linux I am not sure which information might be sensitive in this huge amount of output. I deleted some lines - please tell me immediately if I overlooked something.

So I entered "dmesg | tail", inserted the 128GB card and entered "dmesg". Attached you will find the result.

I very much appreciate the help of the community. But because I'm drowning in work this will be my last post for the next days - but I am eagerly watching the search for a solution... Thank you all!

Thanks for the log file. First of all, let me assure you after a quite look that it does not seem to contain any sensitive data.
But it does contain the relevant parts which cause the mounting of the sd card to fail:
Quote:

[ 1.352682] mmc1: sdhci_msm_execute_tuning: no tuning point found
[ 2.092511] mmc1: sdhci_msm_execute_tuning: no tuning point found
[ 2.830979] mmc1: sdhci_msm_execute_tuning: no tuning point found
[ 3.572068] mmc1: sdhci_msm_execute_tuning: no tuning point found
[ 4.322034] mmc1: sdhci_msm_execute_tuning: no tuning point found
[ 4.361204] mmc1: mmc_sd_init_card() failure (err = -5)
This is the same error that other users are reporting over at TJC: https://together.jolla.com/question/...-not-detected/
Unfortunately, my knowledge of sd cards and their implementation in linux is not sufficient to solve this issue. From what I understand from the source code of the sdhci_msm module, thus "tuning" check which fails for you is only done for a specific type of cards ("SDR104, HS200 and HS400 cards and if clock frequency is greater than 100MHz in these modes."), so maybe it fails for all people who use such a card. It's also possible that there is an issue inside Sailfish. All I can recommend right now is that you get in touch with the Jolla customer service (and mention this post or the one on TJC) so they can take a look at this issue.


All times are GMT. The time now is 03:53.

vBulletin® Version 3.8.8