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 X (community build) (https://talk.maemo.org/showthread.php?t=99875)

mousse04 2017-10-09 12:34

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by acrux (Post 1536106)
All ambiences seem to work OK now after installing updates today morning :)

Which updates are you talking about ?

ljo 2017-10-09 12:46

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by mousse04 (Post 1536113)
Which updates are you talking about ?

From nemo hardware community repo enabled in xperia image. Retrieved by doing:
'pkcon refresh' and 'pkcon update'

karlos devel 2017-10-09 13:07

Re: Sailfish OS on Sony Xperia X (community build)
 
Be Careful with the latest update, I updated my xperia last night and after that when I need to restart the phone, the phone not boot.
The update was based mainly in: droid.*

explit 2017-10-09 13:30

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by karlos devel (Post 1536120)
Be Careful with the latest update, I updated my xperia last night and after that when I need to restart the phone, the phone not boot.
The update was based mainly in: droid.*

It was alredy discussed. Here what you need to do:
https://public.etherpad-mozilla.org/p/hot-hadk

2017-10-03 IF YOU TAKE IN DROID-CONFIGS NEWER THAN v0.1.1 YOUR SONY WILL GET STUCK IN BOOTLOOP. Countermeasures (either inside a still working Sailfish OS, or via recovery chroot if you got less lucky):

Working SFOS:
Code:

devel-su
mkdir ~/oem
mount /dev/disk/by-partlabel/oem ~/oem
rm -rf ~/oem/*
cp -ar /system/vendor/* ~/oem
umount ~/oem
rmdir ~/oem

Recovery:

Code:

mkdir oem
mount /dev/mmcblk0p28 oem
mkdir cache
mount /dev/mmcblk0p24 cache
rm -rf oem/*
cp -ar cache/* oem
umount oem
umount cache
rmdir oem cache


meemorph 2017-10-09 13:33

Re: Sailfish OS on Sony Xperia X (community build)
 
... and 1st posting: http://talk.maemo.org/showpost.php?p...85&postcount=1

karlos devel 2017-10-09 13:54

Re: Sailfish OS on Sony Xperia X (community build)
 
Thx True-Sailors @meemorph @explit.
I saw here on this, but I forget. So what is the next?

meemorph 2017-10-09 13:56

Re: Sailfish OS on Sony Xperia X (community build)
 
@oenone: others wrote it before, do it from recovery shell. You need a recovery image "hybris-recovery.img". It's build in the syspart environment.

First read and understand this

Then start the phone in fastboot mode (vol-up + plugin usb). Your led sould light blue. To boot the recovery do this:
Code:

sudo fastboot boot hybris-recovery.img
Your phone boots to recovery (very small text displayed). You do
Code:

telnet 10.42.66.66
Select topic 3 (shell)
Continue in doing the change with my parameters. Maybe you do not want to enlarge the rootfs by 4GB (I have my home on sd card and do not neet the phones internal home partition). 2GB are enougth, change the 4096M to 2048M. Do all the steps !at your own risk! before you reboot.

meemorph 2017-10-09 13:59

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by karlos devel (Post 1536126)
Thx True-Sailors @meemorph @explit.
I saw here on this, but I forget. So what is the next?

... be careful with all you can read here :eek:

Ah sorry: start a recovery shell and do the oem move, thats what I would do next.

edit: but you cannot do the 1st part (working SFOS look at the post from explit). Do you need help?

deprecated 2017-10-09 14:03

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by Xray2000 (Post 1536109)
Hi,



Yes indeed ok thanks for the info need to search how to fix this.

I have fix it now ;)


Depending on your distro, you need to install 32-bit libraries. As example, for Ubuntu:

Code:

sudo dpkg --add-architecture i386
For Fedora:

Code:

sudo dnf install glibc.i686

karlos devel 2017-10-09 14:16

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by meemorph (Post 1536128)
... be careful with all you can read here :eek:

Ah sorry: start a recovery shell and do the oem move, thats what I would do next.

Yeap I will. I also see people here like protecting xperia DRM. please I am not one of these. :D

meemorph 2017-10-09 14:22

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by karlos devel (Post 1536131)
Yeap I will. I also see people here like protecting xperia DRM. please I not one of these. :D

As far as I understand the process of the oem move, it should be ok for you, if you do only the second part within the recovery shell and try reboot after that.

Xray2000 2017-10-09 14:31

Re: Sailfish OS on Sony Xperia X (community build)
 
Hi,

Quote:

Originally Posted by deprecated (Post 1536129)
Depending on your distro, you need to install 32-bit libraries. As example, for Ubuntu:

Code:

sudo dpkg --add-architecture i386
For Fedora:

Code:

sudo dnf install glibc.i686

I use Linux Mint what i have done and found on the net is sudo apt-get install ia32-libs, and that worked out.

karlos devel 2017-10-09 14:42

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by meemorph (Post 1536132)
As far as I understand the process of the oem move, it should be ok for you, if you do only the second part within the recovery shell and try reboot after that.

Thank u very much. I already did that but same not boot.

oenone 2017-10-09 18:02

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by meemorph (Post 1536127)
@oenone: others wrote it before, do it from recovery shell. You need a recovery image "hybris-recovery.img". It's build in the syspart environment.

First read and understand this

Then start the phone in fastboot mode (vol-up + plugin usb). Your led sould light blue. To boot the recovery do this:
Code:

sudo fastboot boot hybris-recovery.img
Your phone boots to recovery (very small text displayed). You do
Code:

telnet 10.42.66.66
Select topic 3 (shell)
Continue in doing the change with my parameters. Maybe you do not want to enlarge the rootfs by 4GB (I have my home on sd card and do not neet the phones internal home partition). 2GB are enougth, change the 4096M to 2048M. Do all the steps !at your own risk! before you reboot.

Thank you for these instructions. Also thank you to the others that also provided advice on my predicament.

I flashed via fastboot a boot image supposedly claiming to be 34.3.A.0.238 and then restored the TWRP recovery partition, and Sailfish reinstalled just fine.

However, I have encountered a problem. I can place the device into fastboot mode (from power: off Volume-Up button depressed + insert USB cable. Light turns a delightful shade of blue and device is listed in fastboot) but I am unable to boot it into recovery.

Neither
Code:

sudo fastboot boot $ANDROID_ROOT/hybris/mw/droid-hal-img-boot-f5121/installroot/boot/hybris-recovery.img
nor
Code:

sudo fastboot boot hybris-recovery.img
did anything except for print me a complaint of "cannot load '[hybris-recovery.img]": No such file or directory.

I tried to use the terminal in the TWRP recovery, but lvm seems to be missing from that.

Is there anything else I can try?

Also, is there a way to confirm that one is on 34.3 (bootloader version, I suppose} without an installation of Android?

meemorph 2017-10-09 19:46

Re: Sailfish OS on Sony Xperia X (community build)
 
https://sailfishos.org/wiki/Sailfish_X_Build_and_Flash

If you build the sailfishX you find it under syspart, not that ANDRIOD_ROOT. But I think, you never made your own build.

deprecated 2017-10-09 19:47

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by oenone (Post 1536142)
Thank you for these instructions. Also thank you to the others that also provided advice on my predicament.

I flashed via fastboot a boot image supposedly claiming to be 34.3.A.0.238 and then restored the TWRP recovery partition, and Sailfish reinstalled just fine.

However, I have encountered a problem. I can place the device into fastboot mode (from power: off Volume-Up button depressed + insert USB cable. Light turns a delightful shade of blue and device is listed in fastboot) but I am unable to boot it into recovery.

Neither
Code:

sudo fastboot boot $ANDROID_ROOT/hybris/mw/droid-hal-img-boot-f5121/installroot/boot/hybris-recovery.img
nor
Code:

sudo fastboot boot hybris-recovery.img
did anything except for print me a complaint of "cannot load '[hybris-recovery.img]": No such file or directory.

I tried to use the terminal in the TWRP recovery, but lvm seems to be missing from that.

Is there anything else I can try?

Also, is there a way to confirm that one is on 34.3 (bootloader version, I suppose} without an installation of Android?

The problem here is that hybris-recovery.img isn't included with the image in the first post. I went through that myself, and decided to just build the HADK/Platform SDK to compile the prerequisites and images.

I've uploaded the hybris-recovery.img here:
http://truthcrime.com/hybris-recovery.img

Let me know if that works for you (or if this is a violation of software distribution rights).

Edit: fixed link, this recovery img works, just tested it.

meemorph 2017-10-09 19:54

Re: Sailfish OS on Sony Xperia X (community build)
 
"or if this is a violation of software distribution rights"

thats the question.

oenone 2017-10-09 22:54

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by deprecated (Post 1536150)
The problem here is that hybris-recovery.img isn't included with the image in the first post. I went through that myself, and decided to just build the HADK/Platform SDK to compile the prerequisites and images.

I've uploaded the hybris-recovery.img here:
http://truthcrime.com/hybris-recovery.img

Let me know if that works for you (or if this is a violation of software distribution rights).

Edit: fixed link, this recovery img works, just tested it.

Thank you most kindly. Yes, I did not compile it myself but I chose instead to trust complete strangers from the internet.

But now where (and how) do I place it such that
Code:

sudo fastboot boot hybris-recovery.img
works?

I am really sorry for so many questions!

Maybe I will just wait until Wednesday? Oh, right, the only Windows machine I have is a server and Emma in Sony's infinite wisdom does not want to run on Server 2008 R2. It installs just fine, but doesn't want to run.

deprecated 2017-10-09 23:04

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by oenone (Post 1536170)
Thank you most kindly. Yes, I did not compile it myself but I chose instead to trust complete strangers from the internet.

But now where (and how) do I place it such that
Code:

sudo fastboot boot hybris-recovery.img
works?

I am really sorry for so many questions!

Maybe I will just wait until Wednesday? Oh, right, the only Windows machine I have is a server and Emma in Sony's infinite wisdom does not want to run on Server 2008 R2. It installs just fine, but doesn't want to run.

Doesn't matter, as long as it's a directory you can read. How have you installed fastboot on your computer?

oenone 2017-10-09 23:42

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by deprecated (Post 1536171)
Doesn't matter, as long as it's a directory you can read. How have you installed fastboot on your computer?

It is just the fastboot/adb that one installs on Xubuntu. I added the nilarimogard/webupd8 repository and then apt-got (past tense, haha) android-tools-adb and android-tools-fastboot.

Somehow I get the feeling that I need to have hybris-recovery.img in a directory on my computer and not on the Xperia device. . .

. . .Let me check. . .

. . .Yes, and I found that to be my problem, thank you. Now in age-discriminating font it is telling me to telnet into 10.42.66.66.

Now, the question is what are all these warnings and can I safely ignore them?

Code:

-----------------------------
    Jolla Recovery v2.0
-----------------------------
Welcome to the recovery tool!
The available options are:
1) Reset device to factory state
2) Reboot device
3) Shell
4) Perform file system check
5) Run sshd
6) Exit
Type the number of the desired action and press [Enter]:
3

If you continue, this may void your warranty. Are you really SURE? [y/N] y

  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.

Type your devicelock code and press [ENTER] key:
(please note that the typed numbers won't be shown for security reasons)
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.
[OK] Code accepted.

lvm seems to work but there were still some complaints:

Code:

/ # lvm
lvm> lvscan
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  ACTIVE            '/dev/sailfish/root' [2.44 GiB] inherit
  ACTIVE            '/dev/sailfish/home' [47.38 GiB] inherit
lvm> exit
  Exiting.
/ # resize2fs /dev/sailfish/home 11G
resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/home to 2883584 (4k) blocks.
The filesystem on /dev/sailfish/home is now 2883584 (4k) blocks long.

/ # lvm
lvm> lvresize -L -4096M /dev/sailfish/home
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  WARNING: Reducing active logical volume to 43.38 GiB
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce home? [y/n]: y
  Size of logical volume sailfish/home changed from 47.38 GiB (12128 extents) to 43.38 GiB (11104 extents).
  Logical volume home successfully resized
lvm> lvresize -l +100%FREE /dev/sailfish/root
  Size of logical volume sailfish/root changed from 2.44 GiB (625 extents) to 6.44 GiB (1649 extents).
  Logical volume root successfully resized
lvm> lvscan
  ACTIVE            '/dev/sailfish/root' [6.44 GiB] inherit
  ACTIVE            '/dev/sailfish/home' [43.38 GiB] inherit
lvm> exit
  Exiting.
/ # resize2fs /dev/sailfish/home
resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/home to 11370496 (4k) blocks.
The filesystem on /dev/sailfish/home is now 11370496 (4k) blocks long.

/ # resize2fs /dev/sailfish/root
resize2fs 1.43.1 (08-Jun-2016)
Filesystem at /dev/sailfish/root is mounted on /rootfs; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/sailfish/root is now 1688576 (4k) blocks long.

Rebooted to Sailfish, everything seems to work. Thanks, everybody!

deprecated 2017-10-10 03:28

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by oenone (Post 1536173)
It is just the fastboot/adb that one installs on Xubuntu. I added the nilarimogard/webupd8 repository and then apt-got (past tense, haha) android-tools-adb and android-tools-fastboot.

Somehow I get the feeling that I need to have hybris-recovery.img in a directory on my computer and not on the Xperia device. . .

. . .Let me check. . .

. . .Yes, and I found that to be my problem, thank you. Now in age-discriminating font it is telling me to telnet into 10.42.66.66.

Now, the question is what are all these warnings and can I safely ignore them?

Code:

-----------------------------
    Jolla Recovery v2.0
-----------------------------
Welcome to the recovery tool!
The available options are:
1) Reset device to factory state
2) Reboot device
3) Shell
4) Perform file system check
5) Run sshd
6) Exit
Type the number of the desired action and press [Enter]:
3

If you continue, this may void your warranty. Are you really SURE? [y/N] y

  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4128768: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4186112: Input/output error
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 4096: Input/output error
  2 logical volume(s) in volume group "sailfish" now active
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.

Type your devicelock code and press [ENTER] key:
(please note that the typed numbers won't be shown for security reasons)
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLESv2.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libcutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libutils.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "liblog.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libEGL.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libdsyscalls.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc++.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libc.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libm.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbacktrace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libGLES_trace.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libbase.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libunwind.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libprotobuf-cpp-lite.so". Will use given name.
readlink('/proc/self/fd/3') failed: No such file or directory [fd=3]
warning: unable to get realpath for the library "libnetd_client.so". Will use given name.
[OK] Code accepted.

lvm seems to work but there were still some complaints:

Code:

/ # lvm
lvm> lvscan
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  ACTIVE            '/dev/sailfish/root' [2.44 GiB] inherit
  ACTIVE            '/dev/sailfish/home' [47.38 GiB] inherit
lvm> exit
  Exiting.
/ # resize2fs /dev/sailfish/home 11G
resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/home to 2883584 (4k) blocks.
The filesystem on /dev/sailfish/home is now 2883584 (4k) blocks long.

/ # lvm
lvm> lvresize -L -4096M /dev/sailfish/home
  /dev/mmcblk0rpmb: read failed after 0 of 4096 at 0: Input/output error
  WARNING: Reducing active logical volume to 43.38 GiB
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce home? [y/n]: y
  Size of logical volume sailfish/home changed from 47.38 GiB (12128 extents) to 43.38 GiB (11104 extents).
  Logical volume home successfully resized
lvm> lvresize -l +100%FREE /dev/sailfish/root
  Size of logical volume sailfish/root changed from 2.44 GiB (625 extents) to 6.44 GiB (1649 extents).
  Logical volume root successfully resized
lvm> lvscan
  ACTIVE            '/dev/sailfish/root' [6.44 GiB] inherit
  ACTIVE            '/dev/sailfish/home' [43.38 GiB] inherit
lvm> exit
  Exiting.
/ # resize2fs /dev/sailfish/home
resize2fs 1.43.1 (08-Jun-2016)
Resizing the filesystem on /dev/sailfish/home to 11370496 (4k) blocks.
The filesystem on /dev/sailfish/home is now 11370496 (4k) blocks long.

/ # resize2fs /dev/sailfish/root
resize2fs 1.43.1 (08-Jun-2016)
Filesystem at /dev/sailfish/root is mounted on /rootfs; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/sailfish/root is now 1688576 (4k) blocks long.

Rebooted to Sailfish, everything seems to work. Thanks, everybody!

Sorry, I wasn't around earlier. Yeah, it's safe to ignore the errors. I've done it a few times as a test procedure on mine, always with the same errors. Glad to see you got it up and running!

FYI, you can flash that recovery image to the phone itself with

Code:

fastboot flash recovery hybris-recovery.img
That way, you can enter recovery whenever you need by powering the phone on while holding Vol. down. No more need to use fastboot on your computer each time. :)

meemorph 2017-10-10 13:49

Re: Sailfish OS on Sony Xperia X (community build)
 
@oenone: Congrats, you did it. Your phone has a nice huge home partition, is it a 64GB model?

You should flash it to the recovery partition, as @deprecated told you. If your phone has troble you can use it as described.

Have fun!

mariusmssj 2017-10-10 15:31

Re: Sailfish OS on Sony Xperia X (community build)
 
From the Hardware Adaptation sources and instructions

Quote:

ChangeLog

2017-10-10: Switching to blobless builds, you no longer have to download SW binaries to build things, will only need them to flash the image

m4r0v3r 2017-10-10 17:59

Re: Sailfish OS on Sony Xperia X (community build)
 
Ill get a new image up in a few days, i dont have access to my build machine atm so can ya do :P

mousse04 2017-10-10 18:23

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by mariusmssj (Post 1536224)
From the Hardware Adaptation sources and instructions

These instructions are strange to me : I had in mind that now, flashing will no more touch the blobs partition? So, why it could be needed to flash ... ?

oenone 2017-10-11 01:39

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by meemorph (Post 1536219)
@oenone: Congrats, you did it. Your phone has a nice huge home partition, is it a 64GB model?

Yes, it is the dual-sim 64GB model. Was cheaper than the regular version.

Quote:

Originally Posted by meemorph (Post 1536219)
You should flash it to the recovery partition, as @deprecated told you. If your phone has trouble you can use it as described.

Quote:

Originally Posted by deprecated (Post 1536178)
Sorry, I wasn't around earlier. Yeah, it's safe to ignore the errors. I've done it a few times as a test procedure on mine, always with the same errors. Glad to see you got it up and running!

FYI, you can flash that recovery image to the phone itself with

Code:

fastboot flash recovery hybris-recovery.img
That way, you can enter recovery whenever you need by powering the phone on while holding Vol. down. No more need to use fastboot on your computer each time. :)

Thank you meemorph and thank you depreciated.

Are there any negatives to flashing Jolla Recovery if one plans to forget about Android? It certainly does have a much more "wholesome" (maybe the word I am looking for is "powerful"?) shell than TWRP.

My initial reluctance stems from typing on a small touch screen to be such a drag I would almost rather wait until I can fastboot via a computer to fix an issue via a keyboard rather than trying to get that sorted out on the device itself.

nieldk 2017-10-11 04:29

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by oenone (Post 1536271)
Are there any negatives to flashing Jolla Recovery if one plans to forget about Android? It certainly does have a much more "wholesome" (maybe the word I am looking for is "powerful"?) shell than TWRP..

No, and if you for some reason needs TWRP, you can either flash it back, or just boot it.

fastboot boot TWRP. Img

suicidal_orange 2017-10-11 06:49

Re: Sailfish OS on Sony Xperia X (community build)
 
Is there any news on the compact port of this? All I can find are a couple of encouraging looking snippets on gitlab and comments on the announcements and official questions which get officially answered 'no', but so do questions about Linux flashing. Supported and working are not the same thing...

Ideally I'd like a compact with predictive text but if it's different enough that no-one's got it working yet I'm guessing there's no hope the official build will work and I should pick up a full size X?

I can't last much longer on this Z3C with intermittent vibration and an SD card that pops out even if AOSP with no apps was lovely, which it isn't!

meemorph 2017-10-11 08:23

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by nieldk (Post 1536272)
No, and if you for some reason needs TWRP, you can either flash it back, or just boot it.

fastboot boot TWRP. Img

The last twrp-3.1.1-suzu-2017.08.22.img did not work correctly on my Xpera X f5121. It looks good, but cannot access all partitions. The hybris-recovery is atm the better choice, you need terminal and linux skills.

acrux 2017-10-11 11:04

Re: Sailfish OS on Sony Xperia X (community build) - some feedback
 
Status update(if changed) after upgrade to 2.1.3.3
Quote:

Originally Posted by acrux (Post 1535829)
2. Only 3 Ambiences are selectable.

Seems to be fixed after last weekend updates.

Quote:

3. Doubletap wake does not work all time at the first try. Usually there are several attempts needed.
Next time, before reporting, remove the protective film :D

Quote:

5. During the call the volume is very low even at maximum level. Not usable at street noise level...
The same - next time, before reporting, remove the protective film :D

Quote:

5. No internet connection sharing (actually a showstopper here)
Still the same :(

Quote:

7. Not possible to install any openrepos.net client (warehouse, storeman)
Seems to be OK now.

Addition: Hardware camera button does not work yet ;)

nieldk 2017-10-11 12:56

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by meemorph (Post 1536286)
The last twrp-3.1.1-suzu-2017.08.22.img did not work correctly on my Xpera X f5121. It looks good, but cannot access all partitions. The hybris-recovery is atm the better choice, you need terminal and linux skills.

I ran across that issue on Xperia X Performance also.
To solve it, press the power button to turn of screen (not phone), then again press power button to wake screen.
After this, it worked for me.

epninety 2017-10-11 15:28

Re: Sailfish OS on Sony Xperia X (community build)
 
Not sure if I found an issue with the community build, or simply finger trouble on my part, but over the last couple of days my X has twice stopped making any noise at all for ringtone, message alerts etc.
Volume is at max from the settings page, and in the ambience config (tried other ambieces too) and from the volume key.

After a reboot all returns to normal, at least for a while.

I just noticed as I missed a call from an important customer (my fault for using betas as my daily driver!), yesterday I kept noticing emails arrive without any alert sound.

Caluna 2017-10-11 15:31

Re: Sailfish OS on Sony Xperia X (community build)
 
Working...

meet.vino 2017-10-12 05:26

Re: Sailfish OS on Sony Xperia X (community build)
 
Is there a community build for X Compact?

edgar2 2017-10-12 05:33

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by nieldk (Post 1536320)
I ran across that issue on Xperia X Performance also.
To solve it, press the power button to turn of screen (not phone), then again press power button to wake screen.
After this, it worked for me.

does this mean you've got some kind of working sailfishos image on your xperia x performance? if so, would you be interested in helping me in the process? atm i've downgraded to MM and made a backup of the drm keys.

LouisDK 2017-10-12 08:16

Re: Sailfish OS on Sony Xperia X (community build)
 
Does anyone know if enabling tape to wake does harm the battery life?

meet.vino 2017-10-13 07:50

Re: Sailfish OS on Sony Xperia X (community build)
 
Is there a community build for X Compact?

DrYak 2017-10-13 13:11

Re: Sailfish OS on Sony Xperia X (community build)
 
Has someone of the community tried to build a hybris adaptation using the 4.4 Linux kernel that Sony has release for their Android 8 Oreo builds ?

That would be awesome (I also hope that Jolla will eventually provide this for the official Sailfish X).

m4r0v3r 2017-10-13 17:04

Re: Sailfish OS on Sony Xperia X (community build)
 
ill build it and see but my X is my daily driver

maximilian1st 2017-10-13 17:29

Re: Sailfish OS on Sony Xperia X (community build)
 
Quote:

Originally Posted by m4r0v3r (Post 1536698)
ill build it and see but my X is my daily driver

sounds like black magic


All times are GMT. The time now is 16:06.

vBulletin® Version 3.8.8