View Single Post
Posts: 803 | Thanked: 1,585 times | Joined on Aug 2014
#1
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
to get everything in sailfish-signature-spoofing directory.
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
When it comes to this command:
HTML Code:
docker build -t haystack . && docker run --rm -ti --env SAILFISH=<PHONE_IP_ADDRESS> --env LXC=1 haystack
Yeoldegrove mentions "Make sure you PC is in connected to the same WiFi network as your phone" but personally kept getting "Rsync connection error" until connected XA2 via USB > Developer mode instead.

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.
Attached Images
  

Last edited by aspergerguy; 2019-04-23 at 19:25. Reason: Addition
 

The Following 11 Users Say Thank You to aspergerguy For This Useful Post: