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)

TMavica 2017-11-10 08:35

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

Originally Posted by acrux (Post 1538358)
Hmm, just made a quick test with Sony MH410c headset (came with my daughters Xperia Z2) and could not confirm. Headphones were connected, recieved a call and was able to hear the ringtone and the callers voice...

It happened randomly...

TMavica 2017-11-10 08:46

Re: Sailfish OS (officially) on Sony Xperia devices
 
My problem is no sound from earpiece , but have sound from speaker or earplug

epninety 2017-11-10 09:29

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

Originally Posted by taixzo (Post 1538343)
So I've noticed, if I have headphones plugged in and I receive a phone call, there is no sound (either via headphones or the phone speaker). Anyone have a fix for this?

I have a somewhat similar issue which could be related.

TMavica 2017-11-10 10:11

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

Originally Posted by epninety (Post 1538361)
I have a somewhat similar issue which could be related.

have you using call recorder?

TMavica 2017-11-10 10:15

Re: Sailfish OS (officially) on Sony Xperia devices
 
This is very annoying when I receive calling but no voice heard. I need plug in my earphone to talk that moment. The bugs occur randomly

suicidal_orange 2017-11-10 10:39

Re: Sailfish OS (officially) on Sony Xperia devices
 
A headset needs to hijack the mic as well as the speaker so it's not the same as standard headphones.

epninety 2017-11-10 11:13

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

Originally Posted by TMavica (Post 1538362)
have you using call recorder?

I have call recorder enabled in settings, but I've never actually used it.

I will disable it and see if the problem re-occurs.

TMavica 2017-11-10 11:18

Re: Sailfish OS (officially) on Sony Xperia devices
 
Now just happened again...this time no sound from earpiece, speaker and earplug......I need reboot again. I have reboot many times in 1 day, very annoying

Breeze5 2017-11-10 18:15

Re: Sailfish OS (officially) on Sony Xperia devices
 
Hi Guys!
Got my new nano-sim today. It doesn't work on my xperia. It ask for PIN, give it but i dont get any bars/network on it. The new nano-sim works fine with my N9 (with an adapter). Have used another nano-sim (different provider) for a day with no problems. But with my new nano-sim from my main provider it won't work.
Any ideas?
Cheers!

cvp 2017-11-10 20:18

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

Originally Posted by Breeze5 (Post 1538379)
Hi Guys!
Got my new nano-sim today. It doesn't work on my xperia. It ask for PIN, give it but i dont get any bars/network on it. The new nano-sim works fine with my N9 (with an adapter). Have used another nano-sim (different provider) for a day with no problems. But with my new nano-sim from my main provider it won't work.
Any ideas?
Cheers!

hold Vol-Up+Down+On/Off Button until the phone shutdown and vibrates three times. Wait 10 seconds and start the phone.

Breeze5 2017-11-10 20:54

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

Originally Posted by cvp (Post 1538381)
hold Vol-Up+Down+On/Off Button until the phone shutdown and vibrates three times. Wait 10 seconds and start the phone.

Didn't work :(

https://drive.google.com/open?id=1ZT...8Vdog16kKFFkIB
https://drive.google.com/open?id=1Nn...zeMZMyimhQphi8
https://drive.google.com/open?id=19H...yZqMgNw4lhO4Tn

Heik 2017-11-11 09:24

Re: Sailfish OS (officially) on Sony Xperia devices
 
I had cut my old SIM (AquaFish) by myself. It worked. However, I went to Telia shop (In Finland) and asked to get a new nanoSIM, It did not work on my Xperia with SailFishX. Two days earlier I got a new nanoSIM for my brother's XperiaX. It worked without problems.

Now I use my old SIM and haven't made any further testing with the new one. I activated the old SIM in Telia Finland web pages by myself.

EDIT:
Maybe you can find some help here:
http://talk.maemo.org/showpost.php?p...postcount=1777

Breeze5 2017-11-11 10:39

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

Originally Posted by Heik (Post 1538386)
I had cut my old SIM (AquaFish) by myself. It worked. However, I went to Telia shop (In Finland) and asked to get a new nanoSIM, It did not work on my Xperia with SailFishX. Two days earlier I got a new nanoSIM for my brother's XperiaX. It worked without problems.

Now I use my old SIM and haven't made any further testing with the new one. I activated the old SIM in Telia Finland web pages by myself.

EDIT:
Maybe you can find some help here:
http://talk.maemo.org/showpost.php?p...postcount=1777

Gonna try that later, thx.

EDIT:
Looks like my phone is carrier locked. Tried many different SIMs. The seller of the phone lied to me about being carrier unlocked.
Looks like i have to change carrier now...

EDIT:
You can unlock the carrier by going into service menu and enter a code you can buy online.
But how do i access the service menu with SFOSX? Android is the *#*#7378432#*#*

aspergerguy 2017-11-11 14:27

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

Originally Posted by Breeze5 (Post 1538388)
What's the devel-su password?

Go to Developer tools > enable Developer mode & Remote connection > Set password for SSH and root access.

Can then either use prompted one or change to one of your own and save.

feedme 2017-11-11 15:19

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

Originally Posted by Breeze5 (Post 1538388)
Gonna try that later, thx.

EDIT:
Looks like my phone is carrier locked. Tried many different SIMs. The seller of the phone lied to me about being carrier unlocked.
Looks like i have to change carrier now...

EDIT:
You can unlock the carrier by going into service menu and enter a code you can buy online.
But how do i access the service menu with SFOSX? Android is the *#*#7378432#*#*

Funny , I thought that carrier locked phones are impossible to unlock bootloader to flash SFOS .

Air plane mode?

Breeze5 2017-11-11 15:27

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

Originally Posted by feedme (Post 1538393)
Funny , I thought that carrier locked phones are impossible to unlock bootloader to flash SFOS .

Air plane mode?

Depends. Mine said Bootloader unlock: Yes in the service menu.
But still locked to the carrier....

romu 2017-11-11 16:04

Re: Sailfish OS (officially) on Sony Xperia devices
 
Hi,
while eagerly waiting for a build for the X Compact, I wonder if I can update the phone the all new updates proposed by Sony without compromising a future SFOS flashing?

Currently, I run Android 7.1.1 / Firmware: 34.3.A.0.238.

Thanks.

Breeze5 2017-11-11 17:10

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

Originally Posted by romu (Post 1538395)
Currently, I run Android 7.1.1 / Firmware: 34.3.A.0.238.

Thanks.

Stick with it just to be on the safe side....

cvp 2017-11-11 22:25

Re: Sailfish OS (officially) on Sony Xperia devices
 
got today the same issue. No network. Solution: Airplan Mode on/off.

pichlo 2017-11-12 19:26

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

Originally Posted by cvp (Post 1538402)
got today the same issue. No network. Solution: Airplan Mode on/off.

That is nothing specific to Sail X. I get that on my Jolla 1 all the time.

DrYak 2017-11-12 21:34

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

Originally Posted by pichlo (Post 1538414)
That is nothing specific to Sail X. I get that on my Jolla 1 all the time.

That, or:
Code:

devel-su systemctl restart ofono.service
...depending on the severity of the problem.

lantern 2017-11-13 12:48

Re: Sailfish OS (officially) on Sony Xperia devices
 
2.1.3.7 update overwrites /etc/ofono/ril_subscription.conf on F5122.
So you need to edit it again to have the phone functions working.

alfmar 2017-11-13 16:06

Re: Sailfish OS (officially) on Sony Xperia devices
 
Some extra notes about reclaiming a few gigabytes disk space to add to root and/or home logical volumes:

Quote:

Originally Posted by alfmar (Post 1537561)
reclaim about 6.6 Gb

Facts:
- only partitions 51 and 52 need to be touched for reclaiming some gigabytes for root and home logical volumes;
- partition 51 (user partition) is managed by lvm (as a volume of 5298 blocks of 4Mb each, as of the devel-su vgdisplay command) as a volume labeled "sailfish" containing two ext4 partitions (/dev/sailfish/root and /dev/sailfish/home) that lvm can resize when not mounted (that is: early boot time)
- partition 52 (factory reset image partition) is formatted as ext4 (even if not marked as such in the partition table) and contains ~600 Mb of data (actually only two compressed image files and md5sum files)
- fdisk doesn't save changes until you explicitly command it.

My assumptions:
- future upgrades won't need to alter partition 52 contents (just verified the 2.1.3.7 doesn't touch the partition 52, see below);
- thus that factory reset image only needs less than ~700 Mb, it shouldn't ever grow;
- then we can delete/create/fill partition 52 at some higher startsector address (the last ~700 Mb of mmc storage) and make it again an ext4 containing the same factory reset image files
- fdisk can delete/create partitions without altering disk contents (when you "delete partition 51", as long as you create again a partition 51 starting from the same startsector and at least as big as the former partition 51 before rebooting, you don't lose its data)
- logical volume manager can resize its logical volumes without losing data (i.e., no need for a "partition resizer").

Risks:
- until the unlikely event of getting a serial port console or a method to boot off microSD, messing with the boot sequence (kernel, boot partitions, etc) may brick the phone, because everything -including the factory reset option- depends on a bootable kernel accessing the right partitions containing the right data. If anything goes wrong while messing with fdisk and partition 51 and volume manager, the Xperia is probably bricked.

I tried this before upgrading to 2.1.3.7:
Code:

[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# mount /dev/mmcblk0p52 /mnt
[root@Sailfish nemo]# cd /mnt
[root@Sailfish mnt]# cd SailfishOS-2.1.3.5-f5121-0.0.1.16/
[root@Sailfish SailfishOS-2.1.3.5-f5121-0.0.1.16]# ls -al
total 604520
drwxr-xr-x 2 root  root      4096 2017-10-11 08:59 .
drwxr-xr-x 4 root  root      4096 2017-10-11 08:59 ..
-rw-r--r-- 1 99001 77777 125079724 2017-10-11 08:46 home.img.gz
-rw-r--r-- 1 99001 77777        46 2017-10-11 08:51 home.img.gz.md5
-rw-r--r-- 1 99001 77777 493920074 2017-10-11 08:46 root.img.gz
-rw-r--r-- 1 99001 77777        46 2017-10-11 08:50 root.img.gz.md5
[root@Sailfish SailfishOS-2.1.3.5-f5121-0.0.1.16]# cd; umount /mnt

Soon after upgrading to 2.1.3.7 I verified it again, and the four *img.gz* files are still there untouched - same size, same date.

lantern 2017-11-13 16:20

Re: Sailfish OS (officially) on Sony Xperia devices
 
alfmar
I posted a manual to resize parts 51 and 52 somewhere here. Upgraded to 2.1.3.7 today - all good.

Quote:

|$ lsblk
...
|-mmcblk0p51 259:19 0 55.7G 0 part
| |-sailfish-root 253:0 0 2.5G 0 lvm /
| `-sailfish-home 253:1 0 53.3G 0 lvm /opt/alien/home
`-mmcblk0p52 259:20 0 1.4G 0 part /fimage

MartinK 2017-11-13 16:38

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

Originally Posted by alfmar (Post 1538437)
Soon after upgrading to 2.1.3.7 I verified it again, and the four *img.gz* files are still there untouched - same size, same date.

I think the recovery image files might still be updated in the future, so that people don't have to install a bazillion of updates if they ever do a factory reset.

This is a huge benefit of this recovery implementation (easy to update files on a separate partitions) compared to the old one (basically unupdatable/hard to update BTRFS snapshots).

Still even if they for example kept the last two recovery file versions around it's unlikely it would every use the full 7 GB available.

lantern 2017-11-13 16:41

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

Originally Posted by MartinK (Post 1538440)
Still even if they kept say the last two recovery file versions around it's unlikely it would every use the full 7 GB available.

they won't use 7GB ever, as /fimage partition is formatted only to 1.4GB on sailfishx

Heik 2017-11-13 17:51

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

Originally Posted by lantern (Post 1538431)
2.1.3.7 update overwrites /etc/ofono/ril_subscription.conf on F5122.
So you need to edit it again to have the phone functions working.

I had to modify again /default.prop , but /etc/ofono/ril_subscription.conf was not overwritten as far as I remember.
http://talk.maemo.org/showpost.php?p...postcount=2092

DrYak 2017-11-13 17:52

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

Originally Posted by alfmar (Post 1538437)
until the unlikely event of getting a serial port console or a method to boot off microSD, messing with the boot sequence (kernel, boot partitions, etc) may brick the phone, because everything -including the factory reset option- depends on a bootable kernel accessing the right partitions containing the right data. If anything goes wrong while messing with fdisk and partition 51 and volume manager, the Xperia is probably bricked.

Correct me if I'm wrong, but Jolla's recovery kernel only relies on its embed initrd ramdisk (that was certainly the case on Jolla 1)

It doesn't rely on data nor recovery partitions. You could nuke them and the recovery will still boot.
(But you won't be able to use the "factory reset" entry from the telnet menu. You'll have to drop into a shell a fix by hand).

So you could OFF ; Volume-key Down ; USB cable :
Code:

fastboot flash recovery hybris-recovery.img
then OFF ; Volume-key Up ; USB cable for recovery ; follow on-screen instruction to telnet.

Or more directly :
Code:

fastboot boot hybris-recovery.img
to straight load and boot it without even writing it to flash.

I haven't had time to investigate yet, but I strongly suspect that the bootloader itself isn't stored on the eMMC flash.
So fastboot mode should work even without it, and fastboot boot should be entirely be doable in-RAM.
Thus this last option should still work even if you completely **** up the whole GPT partition and need to re-partition manually.
(But this isn't a guarantee. Maybe the bootloader needs to do something silly, like checking a checksum or a signature in order to decide if it needs to display a warning, and crashes in case of corrupt partitions)

hhbbap 2017-11-13 20:26

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

Originally Posted by Breeze5 (Post 1538379)
Hi Guys!
Got my new nano-sim today. It doesn't work on my xperia. It ask for PIN, give it but i dont get any bars/network on it. The new nano-sim works fine with my N9 (with an adapter). Have used another nano-sim (different provider) for a day with no problems. But with my new nano-sim from my main provider it won't work.
Any ideas?
Cheers!

Perhaps you might need to active the SIM card first on web?
Telenor in Norway has that as routine to protect SIM cards sent by post.
Regards, Frode

Breeze5 2017-11-13 21:37

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

Originally Posted by hhbbap (Post 1538450)
Perhaps you might need to active the SIM card first on web?
Telenor in Norway has that as routine to protect SIM cards sent by post.
Regards, Frode

No, that's not the problem. We do/have like this: when you get your new SIM and plug it in, it connects to the network and the old one is dissabled at the same time, takes about 15-60 min. My new SIM works fine in my N9 and N900. I have a carrier locked phone =/

EDIT:
But this i wonder:
You can unlock the carrier by going into service menu and enter a code you can buy online.
But how do i access the service menu with SFOSX? Android is the *#*#7378432#*#*

Heik 2017-11-13 21:44

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

Originally Posted by Breeze5 (Post 1538454)
No, that's not the problem. We do/have like this: when you get your new SIM and plug it in, it connects to the network and the old one is dissabled at the same time, takes about 15-60 min. My new SIM works fine in my N9 and N900. I have a carrier locked phone =/

EDIT:
But this i wonder:
You can unlock the carrier by going into service menu and enter a code you can buy online.
But how do i access the service menu with SFOSX? Android is the *#*#7378432#*#*

I guess you cannot do that in sailfish, you have to flash back to Android.

jenix 2017-11-14 11:55

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

Originally Posted by DrYak (Post 1538443)
Thus this last option should still work even if you completely **** up the whole GPT partition and need to re-partition manually.
(But this isn't a guarantee. Maybe the bootloader needs to do something silly, like checking a checksum or a signature in order to decide if it needs to display a warning, and crashes in case of corrupt partitions)

The main issue here is not messing up partition 51 or 52, I agree with you that those can be (more or less) restored easily. Another option here could be to reflash the whole image (or even restore Android with EMMA and then flashing SFOS again).
However, the biggest issue here are probably all those other partitions which contain crucial data for some hardware components. As I understood it when this topic was discussed in the second-to-last community meeting, some of those partitions can't be restored and you hard-brick the device when they are removed / damaged. So f***ing up the whole partition table (or at least making the slightest mistake during its restoration) could FUBAR (f*** up beyond all repair) your phone.

We also need to keep in mind that "moderately safe" or even "unlikely events" are not safe enough for Jolla to deploy an automated process with the possibility to completely brick the device.

Robissimo 2017-11-19 01:18

Re: Sailfish OS (officially) on Sony Xperia devices
 
Does any one know if the browser and email client will be improved in regards to general UI speed within the next year?

Breeze5 2017-11-19 16:43

Re: Sailfish OS (officially) on Sony Xperia devices
 
Is there a way to get rid of the warning screen on the start up?

nieldk 2017-11-19 19:19

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

Originally Posted by Breeze5 (Post 1538592)
Is there a way to get rid of the warning screen on the start up?

yes, flash stock Sony Android.

Joke aside
no, there is no known way of removing that warning.

DrYak 2017-11-20 17:28

Re: Sailfish OS (officially) on Sony Xperia devices
 
The non-joke way to remove the warning screen would require Jolla to get their boot image (the hybris-boot.img file with the kernel+initrd that gets flashed on the boot partition) signed by Sony's key.

Or alternatively, to get their own certificate admitted into the Xperia X's bootloader.

And then, re-locking the bootloader.

mariusmssj 2017-11-30 08:09

Re: Sailfish OS (officially) on Sony Xperia devices
 
Seems like with the new string being translated for 2.1.4 we might have another update before Christmas which would be a nice :)

robthebold 2017-11-30 16:59

Re: Sailfish OS (officially) on Sony Xperia devices
 
Been unusually busy lately, but I haven't fallen off the face of the Earth (or blasted off to test the spherical vs. flat argument).

<long story alert>

In fact, I've gotten an Xperia X to try the official Sailfish X on. I'd been using a Oneplus X with a community SFOS build, and really liked it. Unfortunately, its support for US frequency bands is incomplete, so it's voice and data QOS is a problem in some places -- one of which is my house. So on the Experia bandwagon I hop!

Backing up the Digital Restrictions Management stuff turned out to be a bigger PITA than I'd expected, and began to look like it was gonna take more time than the device sells for at the hourly rate I bill my free time to myself. So it's SFOS all the way for me! (If I ever need to part with the phone, I'm sure someone here would like it at a very reasonable price with Sailfish installed.)

I miss the double-tap to wake. Hopefully that gap will be filled soon. Also miss the display-off gestures, particularly to start the camera and the flashlight. But the biggest regression from the OnePlus community build is the SD card support. On the OnePlus X, I was able to use any SD card I tried, including a 64GB card with the exfat support from OpenRepos, but with Sailfish X I found that all my cards 32GB and bigger -- fat32 or exfat -- fail with dmesg errors about "tuning". I see that's apparently a kernel issue with the build and certain SD cards related to timing and transfer speed, etc.

</long story>

But now, something I hope someone has some insight on. I was able to use a 16GB fat32 card -- for a while. I installed a few apps, including SSHFS support to copy my backup off the other device -- so far so good. Then I tried the exfat tools, including bleeding edge SD card tools. Once I installed the bleeding edge sd-utils, the 16GB card wouldn't mount, automagically or manually. I removed bleeding edge sd-utils and replaced it with stock, and 16GB SD card was back.

Again -- so far, so good.

So I restored the backup from SD card and went on to install a bunch of my favorite apps. Somewhere along the way, the 16GB SD card disappeared again. It's okay in other devices and on the Ubuntu PC, so I don't think it's a hardware failure. Instead, I suspect that something I installed in the meantime has caused the issue. I've tried uninstalling a few things and retrying the SD card, but I haven't found a culprit. I've searched here and on TJC, but haven't found another report of this behavior. As of now, I can't seem to use any SD I have of any size or format.

If anyone's got any ideas on this, I love to hear them . . .

richie 2017-11-30 18:08

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

I don't have the answer, but suspect microsd support is behind this issue on X https://together.jolla.com/question/...g-grey-photos/

I have noticed ext4 errors in dmesg. Repairing ext4 on a desktop and using the card in J1 and the card works fine. Back in the X it works initially, then the ext4 errors appear again. Presumably need a newer kernel or to try a different card.

Rich

taixzo 2017-11-30 20:00

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

Originally Posted by robthebold (Post 1538974)
I miss the double-tap to wake. Hopefully that gap will be filled soon.

I enabled double-tap to wake shortly after installing Sailfish X, using this method. It works about as well as it did on the OnePlus X, except that occasionally the proximity sensor seems to get confused and the screen won't unlock unless you cover the proximity sensor and uncover it again. Battery life is decent, over two days with double tap enabled, wifi on, and bluetooth on and connected.


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

vBulletin® Version 3.8.8