[3.4.0.24] Signature spoofing doesn't work on a freshly flashed xperia 10 plus

REPRODUCIBILITY (% or how often):
always

BUILD ID = OS VERSION (Settings > About product):
3.4.0.24

HARDWARE (Jolla1, Tablet, XA2,…):
Xperia 10 plus dualSIM

UI LANGUAGE:
English (US)

REGRESSION: (compared to previous public release: Yes, No, ?):
Freshly flashed

DESCRIPTION:

Signature spoofing checker reports signature spoofing is disabled. Of course MicroG doesn’t get proper signature spoofing either

STEPS TO REPRODUCE:

  1. Flash sailfishOS on the device, installing android app support
  2. activate the option to disable package protection
  3. stop/start android support or reboot device
  4. install and launch signature spoofing checker
  5. grant it signature spoofing permission upon launch
  6. see that it reports signature spoofing is not enabled
  7. close and launch the app or reboot the phone again doesn’t change a thing

EXPECTED RESULT:

Signature spoofing check and MicroG being happy

ACTUAL RESULT:

Well, signature spoofing checker and Microg are not happy…

ADDITIONAL INFORMATION:

I tried the feature on an Xperia XA2 I also got and it worked like a charm

5 Likes

“grant it signature spoofing upon launch” this might not be enough. Did you permit spoofing in the android settings (via e. g. Aliendalvik control - via openrepos, Settings: Aliendalvik Control -> Settings -> Apps and notifications -> Apps settings (location, mic, camera) -> enable system package replacement -> Select your spoofing system and store if installed)
reboot

Yeah and there is the dangerous Aliendalvik control which might kill your upgrade to 3.4. But after setting the permission you can remove aliendalvik control from your system again. And it kills your system only if you have the wrong version installed.

Thanks for your reply.
I tried a lot of things and it seemed allowing spoofing in the android settings was the same as waiting for the popup to allow it when you first launch the app.

I first followed this howto : https://together.jolla.com/question/209300/how-to-microg-in-sfos-31/
and it worked well on my XA2 but weirdly enough not on the 10 plus.

I don’t have Aliendalvik control installed either.

Same here 3.4.0.24 doesn’t work, or some android apps work but for example chrome doesn’t work. I’m now 3.3.0.16 and everything is fine. With these instructions worked with 3.3.0.16 https://together.jolla.com/question/217488/howto-mindthegapps-on-xperia-xa2-32012-32120-33016/

1 Like

Thanks, I feel less alone, now :slight_smile:
I wanted to try with an earlier version but shop.jolla.com only provides the latest.

On 3.4.0.24, I also tested mindthegapps, opengapps (playstore hangs or crashes), patching using haystack (spoofing doesn’t work or microg can’t access google servers), nothing worked.

I’ve just flashed 3.4.0.24 on an Xperia 10 plus dual SIM, and I’ve got the same issue.
I’ve followed The Yak’s guide on TJC, including enabling ‘system package replacement’ permissions in the Android Settings app for FakeStore, microG Services Core and Signature Spoofing Checker.
Unfortunately both apps show that the signature isn’t being spoofed.


Don’t forgef to set the app permissions.

Rather than using AlienDalvik control you may simply open Android settings directly via

apkd-launcher com.android.settings

For me, MicroG works flawlessly on both the XA2 and the Xperia 10 with 3.4.0.24

2 Likes

Lucky you! I flashed 3.4.0.24 at least three times, but nothing: Signature spoofing doesn’t work on my Xperia XA2 Dual Sim!
Could I ask you, please, what guide did you follow or what procedure? :pray: :pray: :pray:

Could we say it works when the device is updated from 3.3 to 3.4 but not when it is directly flashed to 3.4?
Something to do with the renaming of the default user, perhaps?

2 Likes

I basically followed DrYak’s guide as in
https://together.jolla.com/question/209300/how-to-microg-in-sfos-31/ (see @razcampagne post above) but run into trouble with the enabling of the system package replacement (see section " Grant Signature Spoofing Permissions")

That is why I recommend opening the android settings via the terminal with

apkd-launcher com.android.settings

There you can proceed as written by DrYak:

  • from the main screen of Android settings app:
  • Apps & notifications - Permissions, default apps
  • (after the apps) “App permissions - Apps using Location, Microphone, Camera” ( ^- warning it’s not in the same place as on other ROMs, it’s not among the Advanced permissions )
  • (You arrive roughly at the screen that carmeloferso has shown here )
  • scroll down to the list of permission (the end should read “SMS”, “Storage”, “Telephone”, and…)
  • pick the last permission " enable system package replacement "
  • (You arrive at the second screen above )
  • Here you can grant the “enable system package replacement” permission, a.k.a “Signature Spoofing”:
  • FakeStore (make so the empty package seem to contain “com.android.vending” coming from the genuine Google’s Play Store, so that apps checking for that are kept happy)
  • microG Service Core (make so “com.google.android.gms” seems to be coming from the genuine Google Play Service)
  • Signature Spoofing Checker (if you installed this option. It makes the checker apps’ screen go green if the spoofing works)

BUT, I have to add that I did all that after a full factory reset just one day BEFORE 3.4.0.22 (EA) was released, i.e still under 3.3.0.16

1 Like

I just looked into com.android.settings on my Xperia 10 and still can see everything that is needed to enable signature spoofing - but as I just said, I was happy to have enabled signature spoofig just one day before the release of 3.4.0.22

So maybe there is a problem now …

Thank you very much for your reply! :smiley:
I wanted to try to install a previous version again, on which spoofing worked and then update to 3.4.0.24, but fastboot mode doesn’t work for me…
I’ll have to buy another Xperia XA2 I’m afraid… :sob:

Do you mean can’t get “blue LED”? Sometimes it is the speed with which you push in USB-C when holding "volume down’ button in. Sometimes need to press and hold the power and the volume up button simultaneously until the device makes three vibrations if continually getting green LED.

1 Like

No no: the fact is that it turns blue, but from the terminal it gives me an error: Found 0 devices:
Incorrect number of connected devices. Make sure there is exactly one device connected in fastboot mode.

As not mentioned: with a USB 2.0 it works… :roll_eyes:
I try to flash 3.3.0.16, where spoofing worked and update to 3.4.0.24, and let you know.

Hopefully you can now get back to:


For me the “killer” upon 3.4.0.24 is non-functioning GPS no matter how many satellites are in view usually 13 for some reason!

I’m also having issues getting Waze to work (no map tiles loading, and it says ‘Searching network…’ , although HERE WeGo works ok.

It can be done! By flashing 3.3.0.16, turning on spoofing regularly, and then updating to 3.4.0.24, the spoofing remains and everything works fine!!! :smiley: :clap:

3 Likes

I also have this problem, i think i’ll wait for it to be fixed rather than downgrading. Is it possible to mark this “i also have this problem” here on Sailfish OS Forum without creating a pointless reply?