![]() |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
Anyone have an idea ? it's like missing some driver. No big information when I launch the camera APP and CSD test fail to. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Hello, patch creator here. I hope this post doesn't get to moderation like the other one did last time :)
If you updated before 30/10 00:00 UTC+1 you might get the camera black (and aliendalvik not starting) issue. Everyone who updated afterwards is (should be) fine, X Compact compatibility layer updates are picked automatically during Sailfish OS upgrades. For those who experience the issue(s), these commands should be enough: Code:
devel-su For those wondering what the issue was, SELinux got enabled in Jolla's Xperia X kernel and then subsequently disabled via kernel cmdline (I think to easily test SELinux without having to re-build the kernel). This broke both the camera and aliendalvik. The patcher patches on-the-fly Jolla's kernel replacing the devicetree and the cmdline to match X Compact's. So in the end we got SELinux enabled and a cmdline which doesn't explicitly disable it. The cmdline has been synced. We got pretty unlucky as Jolla touched one of the few HA parts that the patch touches too :) Fortunately the fix is simple enough. Eugenio |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Yeah !!!
Thanks |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Hi.. Can anyone please confirm if there is Android support for X Compact? And, is the camera quality that bad?
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
X Compact is my only phone, and ive been using it for 16 months without any significant issues (with g7-patched official rom). before that, i used X for a year. (note that in order to get android support, you must pay for a sailfish X license. you can then download and patch the img with g7's patcher, and install it just like the X, and have android support, etc) |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
i flashed Sailfish_OS-patched-for-f5321-3.1.0.11-f5321-0.2.1.17.zip
worked fine for me. when jolla posts my official 3.2 download in the jolla shop, ill try to patch+flash it, and report what happens here (although, despite having flashed 3 SXC's at least 10 times total, im still not too clear on who picks up the changes to droid-compat-f5321, and where, when i run the patcher in vagrant) |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
Quote:
Then the target kernel gets patched too and everything gets repacked and zipped. The patching process also installs an SSU feature referencing the compatibility layer repository, so that updates to the compatibility layer gets picked up during Sailfish OS OTA upgrades. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Has anyone else expierienced crashes on android browser with embedded youtube links after 3.2 upgrade
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
:( for the first time using eugenio patcher, i AM having trouble creating Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15.zip
rather, having trouble flashing it once i create it. i get this: Code:
wolke:~/Code/sx/flashing/Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15$ ./flash.sh just to check, i rebuilt 3.1 (in eugenio's ./patch.sh -a f5321 in vagrant) and reflashed it and it worked fine. no idea whats up |
Re: Sailfish OS on Sony Xperia X Compact (community build)
could NOT get it to work btw. have no idea why sailfish.img has wrong sparse size, and comparing the logs between the two builds (3.1 and 3.2) was not enlightening
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Just a thought, you are using the latest "platform-tools" for fastboot?
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
im on debian sid, which is usually fairly up-to-date with these things
wolke:~$ fastboot --version fastboot version 1:8.1.0+r23-5 Installed as /usr/lib/android-sdk/platform-tools/fastboot |
Re: Sailfish OS on Sony Xperia X Compact (community build)
ok, now, im on the actual current version of platform-tools, and its still failing. (fastboot version 29.0.5-5949299)
Code:
wolke:~/Code/sx/flashing/Sailfish_OS-patched-for-f5321-3.2.0.12-f5321-0.2.1.15$ fastboot --version |
Re: Sailfish OS on Sony Xperia X Compact (community build)
android app support is broken for me!
in 3.1 with a fresh flash of g7 (also continues to be broken after ssu-ing to 3.2) i can install android support (during initial setup or in jolla store, i have a paid license). it works fine, AndroidSupport is in the config, /opt/alien looks good, i can logcat and see services starting and such. BUT i cant install any APKs, and when i install Andriod Store (aptoide) from the jolla store, the icon disappears before i can click it (no desktop file is generated, and afaict, nothing is actually installed). when i use apkd-install, the DBUS service returns 'ok' and does nothing..... android-support worked perfectly fine the FIRST time i flashed 3.1. the RPM has been updated to aliendalvik-1.0.90-1.armv7hl.rpm, but installing the previous aliendalvik-1.0.89-1.armv7hl.rpm doesnt help either... again, this is on a fresh 3.1 install, with working jolla login and a paid license... :( |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Code:
apkd-install aptoide_cm.aptoide.pt_9.0.0.3.apk Code:
devel-su chroot /opt/alien /system/bin/logcat Code:
D/AlienPackageManagerClient( 5729): installPackage size = 37 |
Re: Sailfish OS on Sony Xperia X Compact (community build)
g7 fixed the 3.2.0.12 patching/flashing issue. it is now possible to patch it and install it using the git branch `block-size-alignment` of `sailfishx-patcher-f5321`
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
...aaaand merged to master :)
Thanks to @wolke for testing! |
Re: Sailfish OS on Sony Xperia X Compact (community build)
p.s.: newly built zip fixed the aliendalvik issue as well
EDIT: i never did figure this one out. it was suddenly completely broken on freshly built 3.1 installs (despite working on 3.1 before), and stayed broken after updating to 3.2 with ssu. flashing 3 different times with slightly different procedures didnt fix it. also, once logged into jolla account in 3.1, it offered me the official upgrade to 3.2 (which it never did before....), and then THAT didnt fix it. installing zip of 3.2 fixed it, no problem. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Hello Question:
Is it now safe to upgrade the compact with the gui? :) |
Re: Sailfish OS on Sony Xperia X Compact (community build)
[QUOTE=monkeyisland;1561883]Is it now safe to upgrade the compact with the gui?
:)[/QUOTE Did two examples via terminal without issue but not brave enough to rely upon gui. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Hi all,
first of all thank you Eugenio for your work creating the patch, as soon as I have a working 5321 I'll head to PayPal. I just wanted to mention this request I made to Jolla Care about a transfer of my broken Xperia X licence to my Xperia X Compact phone and got this answer: HI, Thank you for your message! Since we don't support your device, we cannot transfer your licence as it won't give you any Android support or other licensed benefits. Sincerely, Jolla Customer Care It's a bit of a shame the device is not supported officially as it seems to work for all of you, but coming from a small company I can understand they don't have the resources for it. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
And now the patcher complains about Virtual Box Guest addtions
Code:
/usr/share/rubygems-integration/all/gems/vagrant-2.0.2/plugins/communicators/ssh/communicator.rb:257:in `execute': Vagrant was unable to mount VirtualBox shared folders. This is usually (Vagrant::Errors::VirtualBoxMountFailed) https://github.com/dotless-de/vagran...est/issues/292 Thank you DuckDuckGo ;-p |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Next issue I found while the script is patching:
Code:
$ vagrant ssh -c "/vagrant/patch.sh -a f5321 -i /vagrant/Sailfish*.zip" |
Re: Sailfish OS on Sony Xperia X Compact (community build)
"Since we don't support your device, we cannot transfer your licence as it won't give you any Android support or other licensed benefits."
ughhhhhh. if you had just given them the IMEI without telling them the model they likely would have done it and it would have worked. i assure you that i have a working llicense on two xperia x compacts, with official android support downloaded directly the jolla store, and predictive text, etc, AND official OTA updates (which do NOT work anymore if you dont have the license) |
Re: Sailfish OS on Sony Xperia X Compact (community build)
ooh, try this: "can you remove the IMEI from my account? im going to switch to a new xperia x, but i dont have the IMEI yet and i want it to work right away"
and then install it on an x compact and it might work! (also, if you buy a second license, it will work as soon as you flash) BARRING THAT, you can just download the aliendalvik RPM on your xperia X with pkcon, copy it to your xc, and use it. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Hey Wolke, thank you for your answer. I had a mail back from Jolla confirming the licence is freed from my broken Xperia X as I asked them to do. Either way, I might as well sell this X Compact for 30€ and buy another X Compact as the microphone is rubbish and people on the other end complain they don't hear me. Tried myself with the *#*#service#*#* microphone test and can confirm it is malfunctioning. Could have been mentioned in the eBay listing.
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
SFOS 3.2.1.19 updated with OTA, no issues. :)
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Just to mention no problems using g7 patcher with latest Sailfish_OS-Jolla-3.2.1.20-f5121-0.2.1.27.zip
HTML Code:
I: Creating an empty root image |
Re: Sailfish OS on Sony Xperia X Compact (community build)
hi, I have the same trouble as post 106 ... after cloning of the git repository (git clone https://github.com/g7/sailfishx-patcher-f5321.git) the folder "droid-config-f5121" is still empty, even when I manually download the patcher. Is this a bug or how can I manage to get all files downloaded?
Will |
Re: Sailfish OS on Sony Xperia X Compact (community build)
its a submodule. from the readme:
git clone https://github.com/g7/sailfishx-patcher-f5321.git cd sailfishx-patcher-f5321 git submodule init git submodule update |
Re: Sailfish OS on Sony Xperia X Compact (community build)
hi, mh, there are still some errors. Is there a possiblity to download the patched zip-file anywhere?
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
SFOS 3.3.0.14 updated without issues on g7's hack image.
Also enabling the encryption worked. I had all kinds of issues in restoring existing data from the GUI based backup after the encryption, so prepare well with external backups if you do this. |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Scratch that what I said above. Either after the upgrade _or_ after doing the encryption, leds and sound stopped working. So upgrade only if you dare.
|
Re: Sailfish OS on Sony Xperia X Compact (community build)
Quote:
Code:
systemctl --user status pulseaudio Code:
devel-su I also have encryption enabled, but since 3.2.0. ======================== EDIT: Now that I remember, I had to mask pulseaudio's system wide service after enabling encryption back then. Pulseaudio is normally started in the user session, but after encryption is enabled is started system-wide so that it's possible to route audio when taking emergency calls from the encryption unlock screen (I guess). Not sure what is wrong, I thought it was due to encryption being a work in progress on 3.2.0 so I haven't complained :) But it seems to be an issue on 3.3.0 too, then. You can mask pulseaudio using this command: Code:
systemctl mask pulseaudio |
Re: Sailfish OS on Sony Xperia X Compact (community build)
Thanks Eugenio! I was bit too fast...
I got the issue fixed by doing a factory reset, and upgrading from there back to latest. After enabling encryption again I didn't have issues anymore. I tried 'version --dup' just before resulting to factory reset, but all packages were up to date. In addition to sound I also had issues with the LED. Csd tests showed that the led still worked, just it did not get triggered in the events with text messages, calls etc. I also noticed also that any pull menus that normally would have sound to them didn't trigger haptic feedback (haptic was fine with virtual keyboards). Both of these issues may be connected to pulseaudio and order in which SFOS expects things to happen. So I think your suggestion would have worked. Well, at least the factory reset has now been tested and working! :) |
Re: Sailfish OS on Sony Xperia X Compact (community build)
hmm, cant create a g7 image for rokua
keep getting: error: Failed dependencies: libreadline.so.8 is needed by zypper-1.14.6+git4-1.5.1.jolla.armv7hl trying to messing with the inner chroot patch file and not having much luck |
All times are GMT. The time now is 15:17. |
vBulletin® Version 3.8.8