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

Manatus 2018-03-25 07:31

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
I felt that the default haptic feedback volume is bit low, especially some keypresses. You can raise the volume through

Code:

/usr/lib/qt5/plugins/feedback/droid-vibrator-device.ini
Up all values by 10 for a mild increase, or 20 for really strong, and reboot the phone.

All keyboards (lockscreen, virtual keyboard and fingerterm) seem to be tied to values PressWeak and ReleaseWeak, so you cannot tune them separately of each other. At least not from this file.

I'm not sure which service could be restarted instead of reboot. Mce did not seem to affect it and ngfd.service seems to be inactive.

citronalco 2018-07-30 10:17

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Has anyone re-build Steph Gosling's image and is willing to write a howto like https://codedream.me/2018/02/02/how-...ung-galaxy-s7/ or even a script like https://github.com/CancroSailors/sai...d-environment?

I tried for several days now, but it seems like I don't have the required knowledge to figure out how things should fit together :(

edgar2 2018-07-30 15:12

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
I'm going to try to install using these instructions https://together.jolla.com/question/...atest#sort-top

Unless someone knows better?

edgar2 2018-07-30 18:02

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

Originally Posted by citronalco (Post 1546722)
Has anyone re-build Steph Gosling's image and is willing to write a howto like https://codedream.me/2018/02/02/how-...ung-galaxy-s7/ or even a script like https://github.com/CancroSailors/sai...d-environment?

I tried for several days now, but it seems like I don't have the required knowledge to figure out how things should fit together :(


i just flashed sailfishos on the xperia x compact. if you could be more specific about the issues you encountered, i might be able to help you.


on a sidenote, would be nice to update to latest version of sailfishos...

Cavalier 2018-07-30 18:50

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
What version of Saifish os on your device?

levone1 2018-07-31 01:34

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
@citronalco - Just curious - what is the value of rebuilding, rather than flashing the available image? Do you think you maybe could update?
@Cavalier - current and only (community) build for XC is 2.1.3.7.

wolke 2018-07-31 03:54

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

Originally Posted by levone1 (Post 1546771)
what is the value of rebuilding, rather than flashing the available image?

well, for one, mouhijoki right now instead of kymijoki ;)

for another, if someone posts enough information for someone with reasonable technical skills but limited specific sfos-building-knowledge can build from src, then we wont have to wait for steph to rebuild it in future, either

edgar2 2018-07-31 16:22

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

Originally Posted by wolke (Post 1546772)
well, for one, mouhijoki right now instead of kymijoki ;)

for another, if someone posts enough information for someone with reasonable technical skills but limited specific sfos-building-knowledge can build from src, then we wont have to wait for steph to rebuild it in future, either


yeah, mouhijoki would make a huge difference. as for now, myself, it's unusable as daily driver because
1) caldav (not to mention carddav) doesn't work (edit 1/8/18: does now since receiving updated rpm:s)
2) no internet sharing (pro-tip below is good for a one-time solution, but does not provide the one-button approach, i assume)

wolke 2018-07-31 17:34

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
internet sharing works!
if you have perl (i forget if its by default avail), run this as devel-su in a terminal

Code:

#!/usr/bin/perl
use strict;
use warnings;

sub main(@){
  system "echo 2 > /sys/module/bcmdhd/parameters/op_mode";
  print "turn off tethering, turn off wifi, turn on tethering\n";
  print "ready?";
  <STDIN>;
  system "ip link set dev wlan0 master tether";
  print "tethering should now work\n";
  print "disable tethering? [Y/n] ";
  my $ok = <STDIN>;
  if($ok !~ /n/i){
    system "echo 1 > /sys/module/bcmdhd/parameters/op_mode";
    print "turn off tethering, turn off wifi, turn on wifi\n";
    print "also, have fun entering the wifi password\n";
  }else{
    print "ok, leaving tethering on. wifi wont work. rerun this to fix\n";
  }
  print "exiting, ok? (you might want to just close the terminal) ";
  <STDIN>;
}

&main(@ARGV);

EDIT:
anyway, this is what you need to do as devel-su:

echo 2 > /sys/module/bcmdhd/parameters/op_mode
#turn off tethering, turn off wifi, turn on tethering

ip link set dev wlan0 master tether

#to turn it off, turn off tethering button and then run:
echo 1 > /sys/module/bcmdhd/parameters/op_mode

citronalco 2018-08-02 21:24

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

Originally Posted by levone1 (Post 1546771)
@citronalco - Just curious - what is the value of rebuilding, rather than flashing the available image? Do you think you maybe could update?

Yes, I'd like to try to build an updated image. And I'd like to learn how to set up such things. Plus: I feel rather uncomfortable putting all the burden on a single person, in this case steph.

wolke 2018-08-03 16:05

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
i have accidentally upgraded sensorfw-qt5 twice now, thus breaking gyro/accel and prox sensors (and by extension, auto-rotation), and each time not noticing until much later that all my photos are portrait..

in case someone else has done so:
Code:

zypper install --force sensorfw-qt5=0.9.4-1.32.1 sensorfw-qt5-configs=0.9.4-1.32.1
zypper addlock sensorfw-qt5


thetao 2018-08-04 05:32

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

Originally Posted by wolke (Post 1546937)
i have accidentally upgraded sensorfw-qt5 twice now, thus breaking gyro/accel/compass (and by extension, auto-rotation), and each time not noticing until much later that all my photos are portrait..

You have the compass working on the XC? Per the Xperia X bugs list at together.jolla.com, the compass isn't supposed to work:

Quote:

Missing Xperia-X hardware functionality:

Fingerprint sensor does not currently function. (fixed with SFOS 2.2.0.x)

Compass does not currently function.
https://together.jolla.com/question/...ilfish-x-have/

or do I misunderstand?

wolke 2018-08-04 06:30

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
nope, i mispoke, compass has never worked. i meant proximity sensor

r0kk3rz 2018-08-04 16:01

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

Originally Posted by thetao (Post 1546942)
You have the compass working on the XC? Per the Xperia X bugs list at together.jolla.com, the compass isn't supposed to work:



https://together.jolla.com/question/...ilfish-x-have/

or do I misunderstand?

With the latest release compass is supposed to work on the Xperia X and X Compact.

Or maybe its the next release, we're already using some newer stuff in ported devices I think

wolke 2018-08-04 18:07

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
afaik, compass only works in google maps, period, and only in mouhijoki

thetao 2018-08-07 05:47

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

Originally Posted by r0kk3rz (Post 1546950)
With the latest release compass is supposed to work on the Xperia X and X Compact.

Or maybe its the next release, we're already using some newer stuff in ported devices I think

I'll keep my fingers crossed. :) If you see any FM radio functionality, please let us know! It's the one feature I will miss and can't work around.

edgar2 2018-08-23 06:06

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Isthere any work being done with updating an image for the x compact or is everybody holding their breath for sfos3?



//Happy user of kyminjoki on x compact.

eugenio 2018-08-23 08:09

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
2 Attachment(s)
Hello,

Lurker here (from the Internet Tablet Talk days!) and an occasional contributor to the Sailfish OS community.

I'm chiming in to say that I've been working on a compatibility layer to run official Sailfish X images on the Xperia X Compact.

I've been running it as my daily driver for months (before I was running a custom-built port) and things work nicely (at least, I haven't found more bugs than the ones reported on the officiak Xperia X port).

OTAs work (tested on my own device 2.1.3 -> 2.1.4 -> 2.2.0).

OTG doesn't work and likely won't, as the Xperia X kernel does not ship drivers for the Type-C controller in the X Compact.

The main repo is available here: https://github.com/g7/droid-compat-f5321


Unfortunately another piece required (the image patcher) is not yet public because I'm not that satisfied with the code. Due to time constraints I haven't been able to prettify it, nonetheless I hope to release it sometime this or next week.


So, do not give up!


Eugenio

wolke 2018-08-23 18:00

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
in case anyone cares, id pay someone 100$USD to port mouhijoki (or later) to x compact, as long as it was approximately as good a port as the kymijoki, and it comes out in the next coupla months and is publicly available like steph's kymijoki port. (deliverable by paypal or credit card)

just throwing that out there, on the off chance that incentivization would be helpful

levone1 2018-08-24 11:47

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

Originally Posted by wolke (Post 1546785)
internet sharing works!
if you have perl (i forget if its by default avail), run this as devel-su in a terminal

Code:

#!/usr/bin/perl
use strict;
use warnings;

sub main(@){
  system "echo 2 > /sys/module/bcmdhd/parameters/op_mode";
  print "turn off tethering, turn off wifi, turn on tethering\n";
  print "ready?";
  <STDIN>;
  system "ip link set dev wlan0 master tether";
  print "tethering should now work\n";
  print "disable tethering? [Y/n] ";
  my $ok = <STDIN>;
  if($ok !~ /n/i){
    system "echo 1 > /sys/module/bcmdhd/parameters/op_mode";
    print "turn off tethering, turn off wifi, turn on wifi\n";
    print "also, have fun entering the wifi password\n";
  }else{
    print "ok, leaving tethering on. wifi wont work. rerun this to fix\n";
  }
  print "exiting, ok? (you might want to just close the terminal) ";
  <STDIN>;
}

&main(@ARGV);

EDIT:
anyway, this is what you need to do as devel-su:

echo 2 > /sys/module/bcmdhd/parameters/op_mode
#turn off tethering, turn off wifi, turn on tethering

ip link set dev wlan0 master tether

#to turn it off, turn off tethering button and then run:
echo 1 > /sys/module/bcmdhd/parameters/op_mode

First script working for me. Second script returns '...device 'tether' not found'

Thanks

wolke 2018-09-04 16:23

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
$150 for Nurmonjoki before december.
(anyone else want to throw down, and then maybe ask steph?)

Unreasonable Behaviour 2018-09-05 06:00

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

Originally Posted by wolke (Post 1548002)
$150 for Nurmonjoki before december.
(anyone else want to throw down, and then maybe ask steph?)

Please check this theard on TJC.
https://together.jolla.com/question/...ria-x-compact/

It sound like its possible to convert X image into compact one.
https://github.com/g7/sailfishx-patcher-f5321

This would also be the solution for my wife. :D

wolke 2018-09-05 19:12

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
WHOA! gonna try this out when i get home. if it works and the dev will take it, theyre gonna get my money

thanks for finding this!!

Manatus 2018-09-06 14:31

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Yes it works. :)

MartinK 2018-09-06 20:54

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Nice, I have some friends who have an X compact, one of them even running the community image at the moment. :)

edgar2 2018-09-08 15:30

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
just flashed mine and updating to 2.2.1.18 nurmonjoki.

edit: working beautifully.

wolke 2018-09-08 19:33

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
(just a quick sidenote, doesnt work anymore on 2.1.3.7 official image, as primary.xml.gz doesnt exist for it)

Manatus 2018-09-08 22:05

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Sailfish_OS-Jolla-2.2.0.29-f5121-0.2.1.20 zipped image directly from Jolla was fine as a base for patching.

wolke 2018-09-08 22:52

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
same, but i havent flashed it yet. i spent a few hours trying to get the kymjoki image patched, but i just couldnt download all the right packages that patch.sh needed and couldnt find because the package list for that release is missing on releases.jolla

wolke 2018-09-09 16:22

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
hey uh, before i flash this thing, does this filesize look right to you @Manatus? (40MB smaller patched)
Code:

> du -b Sailfish_OS-*
1132148505        Sailfish_OS-Jolla-2.2.0.29-f5121-0.2.1.20.zip
1094298344        Sailfish_OS-patched-for-f5321-2.2.0.29-f5321-0.2.1.20.zip


edgar2 2018-09-09 19:15

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

Originally Posted by wolke (Post 1548228)
hey uh, before i flash this thing, does this filesize look right to you @Manatus? (40MB smaller patched)
Code:

> du -b Sailfish_OS-*
1132148505    Sailfish_OS-Jolla-2.2.0.29-f5121-0.2.1.20.zip
1094298344    Sailfish_OS-patched-for-f5321-2.2.0.29-f5321-0.2.1.20.zip



my equivalents:
Sailfish_OS-Jolla-2.2.0.29-f5121-0.2.1.20.zip
1 132 148 505 bytes

Sailfish_OS-patched-for-f5321-2.2.0.29-f5321-0.2.1.20.zip
1 094 433 413 bytes

wolke 2018-09-09 23:22

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
YAAAY!

works beautifully, with gyro/screen-rot, etc.

donated 130EUR (156USD) to g7 via the paypal donate button on the github repo

(i didnt test out nurmonjoki yet, just mouhijoki, but still)

mousse04 2018-09-10 18:01

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Hey guys ,

how do you make it work with your xperia x image ? I mean, the image is linked to your jolla account name and imei of the device .

So, to get android and exchange you need to provide a valid imei ... Sorry, I'm confused

wolke 2018-09-10 18:24

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
the g7 process actually uses your official jolla image, which is linked to your jolla account.
it makes small but important changes to that image, leaving imei/etc.

(if you havent bought an official jolla image, then you cant use this process)

ramirowski 2018-09-11 16:34

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
Hi all, already patched the official sailfishx zip image, my thoughts about the procedure after 4 attemps:

1.- don't do this in windows due the script is for linux
2.- in ubuntu 18 doesn't work the procedure (I used ubuntu 14)
3.- if you want to use a virtual machine, use vmware player (latest version)
4.- always use the virtualbox and vagrant latest versions!

regards to all from CHILE!

wolke 2018-09-11 19:03

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
yea, i had to download latest vagrant as well. the one in debian sid was too old, some dependency couldnt be installed for vbguest

aspergerguy 2018-09-12 11:57

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
On Mac OSX 10.13.6 using VirtualBox 5.1.38 with latest Vagrant created box debian/stretch64 (v9.5.0) and patched .zip created.

Hadn't appreciated that processor using Ubuntu 16.04 LTS now too old to support virtualisation which wasted a bit of time.

Having now installed to F5321 a couple of points which may save others some time. Firstly I found only satisfactory method of TA Backup was using backupTA_v2 under Windows and also had to install legacy Xperia X Compact driver from:https://developer.sony.com/file/down...ria-x-compact/ to get Androxyde Flash Tool to recognise device.

mousse04 2018-09-13 12:23

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

do you know where aliendalvik rpm package is located in the Xperia X ?

Also, I've just flashed my XC with the patched image from my X, but I cannot enable developer mode.


Thanks

Manatus 2018-09-13 16:28

Re: Sailfish OS on Sony Xperia X Compact (community build)
 
I suppose there is no harm telling it, as one has to have the license to download it in the first place...

When the download of the Android support (or Predictive Text) from Jolla store has just ended, they can be found momentarily in the directories

Code:

/var/cache/zypp/packages/aliendalvik/armv7hl/
and

Code:

/var/cache/zypp/packages/xt9/armv7hl/
If you keep the terminal open and keep tapping at

Code:

cp /var/cache/zypp/packages/aliendalvik/armv7hl/* .
you can copy the rpm to your current directory _just_ before the installation is over and it vanishes again.

Note that the directories do not exist until they have been installed at least once.

wolke 2018-09-13 16:48

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

Originally Posted by Manatus (Post 1548421)
you can copy the rpm to your current directory _just_ before the installation is over and it vanishes again.

or you can just do `pkcon download . aliendalvik`


All times are GMT. The time now is 09:49.

vBulletin® Version 3.8.8