The Following 11 Users Say Thank You to aspergerguy For This Useful Post: | ||
|
2019-04-25
, 15:49
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#2
|
When it comes to this command: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.HTML Code:docker build -t haystack . && docker run --rm -ti --env SAILFISH=<PHONE_IP_ADDRESS> --env LXC=1 haystack
The Following 4 Users Say Thank You to ajalkane For This Useful Post: | ||
|
2019-04-25
, 17:10
|
Posts: 807 |
Thanked: 1,589 times |
Joined on Aug 2014
|
#3
|
The Following 3 Users Say Thank You to aspergerguy For This Useful Post: | ||
|
2019-05-18
, 02:13
|
Posts: 4 |
Thanked: 5 times |
Joined on Jan 2016
|
#4
|
docker0 Link encap:Ethernet HWaddr 02:42:93:fb:54:4a inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0 inet6 addr: fe80::42:93ff:fefb:544a/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:92860 errors:0 dropped:0 overruns:0 frame:0 TX packets:208931 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:110839908 (110.8 MB) TX bytes:305974375 (305.9 MB)
rsync: failed to connect to 192.168.2.15 (192.168.2.15): No route to host (113) rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
krzys@kLatitude-E6430:/media/krzys/c959b919-34c0-4a1f-8e76-da927fb5a488/Sailfish_backup/sailfish-signature-spoofing-lxc$ ping 192.168.2.15 PING 192.168.2.15 (192.168.2.15) 56(84) bytes of data. 64 bytes from 192.168.2.15: icmp_seq=1 ttl=64 time=3.59 ms 64 bytes from 192.168.2.15: icmp_seq=2 ttl=64 time=4.26 ms 64 bytes from 192.168.2.15: icmp_seq=3 ttl=64 time=3.92 ms ^C --- 192.168.2.15 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 3.599/3.930/4.265/0.271 ms krzys@kLatitude-E6430:/media/krzys/c959b919-34c0-4a1f-8e76-da927fb5a488/Sailfish_backup/sailfish-signature-spoofing-lxc$ sudo docker run --rm -ti --env SAILFISH=192.168.2.15 --env LXC=1 haystack [**] 1. Fetch files via RSYNC rsync: failed to connect to 192.168.2.15 (192.168.2.15): No route to host (113) rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
The Following 3 Users Say Thank You to N9x3 For This Useful Post: | ||
|
2019-05-20
, 12:19
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#5
|
|
2019-07-24
, 09:42
|
Posts: 807 |
Thanked: 1,589 times |
Joined on Aug 2014
|
#6
|
The Following 5 Users Say Thank You to aspergerguy For This Useful Post: | ||
|
2019-07-26
, 08:49
|
Posts: 292 |
Thanked: 294 times |
Joined on Jan 2012
@ Milan, Italy
|
#7
|
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/
The Following 3 Users Say Thank You to Watchmaker For This Useful Post: | ||
|
2019-07-26
, 09:23
|
Posts: 807 |
Thanked: 1,589 times |
Joined on Aug 2014
|
#8
|
The Following 5 Users Say Thank You to aspergerguy For This Useful Post: | ||
|
2019-07-26
, 09:39
|
Posts: 292 |
Thanked: 294 times |
Joined on Jan 2012
@ Milan, Italy
|
#9
|
The Following 3 Users Say Thank You to Watchmaker For This Useful Post: | ||
|
2019-07-26
, 09:49
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#10
|
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:
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:
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.
Last edited by aspergerguy; 2019-04-23 at 19:25. Reason: Addition