Quick start guide v1.7.3.4

You seem to have missed the point: All APKs at Aptoide are potentially malicious, because anyone can upload anything there. Consequently any new version of a formerly benign APK at Aptoide might be malicious. Hence one shall not use Aptoide at all. All software at Aptoide is available elsewhere, because it only hosts APKs uploaded by users!

Furthermore the Aptoide client app has become a data collection tool long ago and Aptoide has been having multiple security breaches (including all user accounts credentials at least twice).

What’s about Aurora Droid (market), instead?

???
Aurora Droid is a F-Droid client app, which is unmaintained since spring 2021. Hence it cannot be used “instead” of the Aptoide client app, because it does not access Aptoide.

In contrast to that advising to install the Aurora Store app from F-Droid to access the Google Play store makes a lot of sense.


I am looking forward to that.

If you experience issues with the guidance for Patch developers, please file an issue, so your specific question(s) can be answered and / or the documentation improved.

2 Likes

Confirmed: “anyone can upload anything there.” was overlooked. Now, the UpToDown is going to be installed from its own website:

and about APToide, I suggest to not install at all.

Why Jolla put APToide in their market and/or they did not removed?

UPDATE #5

The new v0.0.7 patch is available on Patch Manager Web Catalog.

Probably, it works also on XA2 but I did not check that its original gps.conf is the same.

Cheers, R-

Have you ran some tests without AGPS? These fix times look very long to me.

Using a free UDP VPN that slow down the clock sync of the modem/GPS which is extremely important for such hardware subsystem and getting 30s in cold start after a reboot is a short time, IMHO. Without the patch, there was no hope to have a fix indoor. I did not tried suplpatcher but everyone who tried and I asked about did not gave me any numbers.

I will try later wihout the VPN on my terrace. Just to see how fast is when it meets optimal conditions, instead the worst. As far as I rember, also my Samsung smartphone after a reboot takes its time to gave me a fix indoor. I never take the time, obviously but it was long enough to be perceived. If A-GPS fix on SFOS performs in a way that I did not feel the lack of my Samsung, then it is good enough in dealing with the cold fix.

POST SCRIPTUM

After all the proof-of-concept has been delivered good enough to stimulate Jolla employes to tune it for the best. As an begginer amateur, I think that I did enough.

Suplpatcher for example is not needed on th X10iii. It was the only way on the XA2 to disable TLS in the modem because it is not possible to upload new certificates. On the 10iii TLS is disabled by default.

What’s about x10ii? Before setting the XTRA CA PATH, it was behave like XA2, indoor.

Thanks for the A-gps patch, I was too lazy to find out how to edit config files myself, especially as I don’t really understand what I’m doing

1 Like

I in my great stupidity installed aptoide and now I can’t uninstall it from app launcher, it keeps coming back. Would uninstalling from terminal work and what is the command?

Try to remove it from the Jolla Store. Instead, by command line would be something like this:

devel-su /bin/sh
pkcon search aptoide
pkcon remove aptoide (or whatever the search returns back)

I hope this helps, R-

Well, Aptoide is gone now. A-gps patch was working completely fine yesterday but it suddenly stopped working at night. Only change I remember doing was installing triple camera toggle. I tried removing it, no effect, A-gps won’t activate anymore.

Mine stopped to work with the VPN but still work with the plain 4G connection. I suppose, you have installed the 0.0.8. I am going to deliver a 0.0.9 soon. The new might fix your problem but it does not seem able to fix the one related to the VPN.

I’m not using vpn. It was working just fine even without sim 2 activated, I tried activating it now but no diffrence. I also tried older versions of patch.

I relesed the new one but I do not think that will change the issue which probably it is related to this lines:

# this is modify for xtra Donwload interval
# only valid for mobile network data
XTRA_INTERVAL = 86400

I will try with this interval set to zero just in case the modem saved it into a non-volatile memory. If you want try by yourself switch off the GPS, change the config and execute:

  • systemctl restart ofono

Then try to use the GPS when everything raise up again.

BTW, which device are using X10 II or II?

10 III and i have definetly no energy to try anything right now.

1 Like

On X10 on mobile data and outside it works really instantaneous… Inside it’s a totally different story

Did you tried the last version v0.1.0 of my PM patch available on Web Catalog?

The cold start takes near 30s indoor to fix the point with my X10II while in every others conditionsš is pretty immediate.

NOTES

š except when using a UDP VPN IPv4-only with no leaks but I am working on that

DEVELOPER MODE + USB TETHERING

Just in case you are annoyed to have too many USB modes to choose among and you wish not install one of these with pkcon:

  • usb-moded-connection-sharing-android-connman-config
  • usb-moded-connection-sharing-android-config

then you can use the developer mode as USB tethering following sending this command to your smartphone:

ssh root@192.168.2.15 '\
    iptables -t nat -A POSTROUTING -o vpn0 -j MASQUERADE \
    iptables -t nat -A POSTROUTING -o rmnet_data1 -j MASQUERADE \
    iptables -t nat -A POSTROUTING -o rmnet_data2 -j MASQUERADE \
    echo 1 > /proc/sys/net/ipv4/ip_forward'

Sometimes, instead of rmnet_data2, it could be rmnet_data1. Therefore both have been added with vpn0 before them. If you are using a VPN to connect then the VPN should be connected at that time because if you connect VPN after then some traffic will be routed trought the mobile data connection and trasmited in clear. In case you wish to granted yourself against data leaks, you add just the rule for vpn0.

You can also save this string in your .profile or .bashrc creating an alias:

alias usbth="<put here the long string above>"

and reload your profile con source .profile or .bashrc.

conclusion

If you do not live in developer mode, then install one of the package listed above.

UPDATE #6

If you like this guide and you like the idea that it will be continued to be extended and improved then consider to offer me a coffe, a beer or a pizza as your concrete sign of support and appreciation of my on-line activities. Thanks. R-

Note: the donation form accepts credit cards, also.

UPDATE #7

In the new section USER BACKUP a script that allow you to make your home data backup leveraging the developer mode SSH connection.

UPDATE #8

The session USB PROBLEMS has been updated with unbind and bind back USB devices and alternative fastboot usage that can replace - in extremis - the flash.sh procedure.

UPDATE #9

The last backup procedure script has been added into USER BACKUP section.

At this point the Settings:System → System:Backup can be put in condition to work also using SSH connection. Below the “Add cloud account” can be added a button for “Use the SSH connection” with brief instructions. Then, also the restore procedure can be added.