![]() |
XA2 - microG - Sailfish signature spoofing
2 Attachment(s)
Whilst this resource has been well received upon TJC, it does require Linux skills which for me have been a steep learning curve and if the following saves anyone a bit of time that's great:https://together.jolla.com/question/...a2-android-81/
I wasted a lot of time trying the first method usiing squashfs-tools, vdexExtractor and SmaliPatcher requiring both Linux and Windows PC to no avail, before falling back uoon Yeoldegrove's automated script with a new set of issues:https://github.com/yeoldegrove/sailf...ature-spoofing Just to give a bit of history with newer Dalvik in XA2 Linux Containers (lxc) are used for separation of SailfishOS and Aliendalvik (Android Support) so the old /opt/alien/system/priv-app/ is no longer easily accessible but buried in system.img:https://together.jolla.com/question/...app-directory/ Whilst there is an easy way to install microG upon XA2 following tutorial by Leszek Lesner, this does not include signature spoofing:https://www.youtube.com/watch?v=1K05m3EJJ9A Eventually settled upon using Ubuntu 18.04.2 LTS to follow Yeoldegrove's tutorial, but TJC forum gets hopeless for continuity purposes where you keep having to chase down "more comments" in different answers. First off I would use: HTML Code:
git clone https://github.com/yeoldegrove/sailfish-signature-spoofing.git --recurse-submodules After installing Docker (https://www.digitalocean.com/communi...n-ubuntu-18-04) if not present already remember to follow Post-installation steps if you don't want to preface with sudo:https://docs.docker.com/install/linu...x-postinstall/ You will need to edit existing "Dockerfile" in resource as latest openjdk does not include apt to: HTML Code:
FROM openjdk:11 HTML Code:
docker build -t haystack . && docker run --rm -ti --env SAILFISH=<PHONE_IP_ADDRESS> --env LXC=1 haystack Experienced Linux users wouldn't give this a second thought but needed to set PATH variable in Bash:http://linuxbsdos.com/2014/11/26/how...iable-in-bash/ Worth a mention come update time that whilst signature spoofing will need to be redone, there may not be sufficient space to complete update satisfactorily unless system.img.pre_haystack is first removed: http://talk.maemo.org/showpost.php?p...37&postcount=8 Without further ado here is result as expected but may amend if further detail comes back to me. |
Re: XA2 - microG - Sailfish signature spoofing
Quote:
|
Re: XA2 - microG - Sailfish signature spoofing
Quote:
|
Re: XA2 - microG - Sailfish signature spoofing
Update:
The problems below was due to Docker interface being down or not working (lack of reset after installation). Make sure you have this interface on linux after Docker installation: Code:
docker0 Link encap:Ethernet HWaddr 02:42:93:fb:54:4a Thank you for posting here your experience with activating signature-spoofing on XA2. I have tried to follow your steps, and it seems, that I get stuck at connecting via rsync, which is very frustrating as I can see, that I could PING the XA2, and PING Kubuntu from XA2, but when I run docker I get rsync failed to connect: Code:
rsync: failed to connect to 192.168.2.15 (192.168.2.15): No route to host (113) Code:
krzys@kLatitude-E6430:/media/krzys/c959b919-34c0-4a1f-8e76-da927fb5a488/Sailfish_backup/sailfish-signature-spoofing-lxc$ ping 192.168.2.15 Would you be so kind to put here console log of the all steps, when you will be redoing this signature spoofing after Hossa upgrade? I have no idea, how to debug the problems with rsync inside docker. |
Re: XA2 - microG - Sailfish signature spoofing
You need to make the docker run script stop at some point (to avoid stopping and deleting it), then login with ssh on the running image and you can run commands as usual.
|
Re: XA2 - microG - Sailfish signature spoofing
2 Attachment(s)
Please note that since the release of 3.1.0.11 now relatively easy to achieve this result:https://together.jolla.com/question/...og-in-sfos-31/
|
Re: XA2 - microG - Sailfish signature spoofing
Quote:
I don't have the "disable Android system package verification" option in the system settings after the update to 3.1.0.11 on my Xperia X. |
Re: XA2 - microG - Sailfish signature spoofing
Quote:
|
Re: XA2 - microG - Sailfish signature spoofing
Quote:
|
Re: XA2 - microG - Sailfish signature spoofing
What's this "Services Framework (GSF)"? I don't have it checked. How to install it and is it needed?
|
All times are GMT. The time now is 17:58. |
vBulletin® Version 3.8.8