[Redmi Note 10 Pro] gstla:
How to get Signature Spoofing working on LineageOS Roms that have no support for Signature Spoofing?

First of all Flash your ROM and Magisk (you need to download the latest version to get Magisk)

Magisk Link: https://github.com/topjohnwu/Magisk/releases/

Go on Settings -> About Phone -> Click on Build number (7x) to enable Developer Options

After that enable USB Debugging in LineageOS go to Settings -> System -> Developer Options

So Lets go this is the more complicated part. but also really easy if you done it once.

You need to have ADB installed on your System tho.

ADB link: https://adbdownload.com

First of all you need to download this 4 Files:

https://gitlab.com/oF2pks/haystack/-/raw/11-attempt/spoof_AVDapi30.zip.ONLY'MAGISK&ANDROID-STUDIO?inline=false

https://github.com/microg/GmsCore/files/5652857/microG_AVDx86api30_magiskMaRViN.zip

https://gitlab.com/oF2pks/haystack/-/archive/11-attempt/haystack-11-attempt.zip

https://github.com/DexPatcher/dexpa...nload/v1.8.0-beta1/dexpatcher-1.8.0-beta1.jar

Rename "spoof\_AVDapi30.zip.ONLY'MAGISK&ANDROID-STUDIO" to "spoof_AVDapi30.zip"

Now unzip the "haystack-11-attempt.zip" and put the "dexpatcher.jar" file into to Folder.

This part I use Bash shell in Linux.

Bash:
adb pull /system/framework/services.jar

(put the "services.jar" in the folder where you extracted "haystack-11-attempt.zip" )

If you are using Windows install Java first https://www.java.com/fr/download/ then run cmd

and run the command:

java -jar dexpatcher-1.8.0-beta1.jar -a 11 -M -v -d -o ./ services.jar 11-hook-services.jar.dex 11core-services.jar.dex

(After that Command you should have 4 files all named "classes*.dex")

Bash:
mkdir repack
zip -j repack/services.jar classes*.dex

Windows Users:

Put the 4 files "classes*.dex" you generate on the phone then

Install "Termux" on your phone.

from Termux run the command: su

then accept the root part.

Now navigate to the folder where you have your 4 "classes*.dex files" then run the command

mkdir repack
zip -j repack/services.jar classes*.dex

After that you should have a new services.jar in your repack Folder.

Now You need to open the "spoof_AVDapi30.zip" and go in /system/framework/ and delete the old services.jar and put your own file services.jar that's in your repack Folder.

Don't ruin the zip-format of the file tho because otherwise Magisk will cry while install.

After that put your "spoof_AVDapi30.zip" and your "microG_AVDx86api30_magiskMaRViN.zip" on your Phone and Flash via Magisk, to do it click on the little Puzzle part in the down right cornet and chose "install from storage" then run the 2 zip files

Reboot and you hopefully have Signature spoofig working.

After this I update microg core https://github.com/microg/GmsCore/releases (Without this my microg was crashing)

then I install all those modules to enable the GPS and Fake Shop

https://github.com/microg/RemoteDroidGuard/releases

https://github.com/microg/FakeStore/releases

https://github.com/microg/android_packages_apps_GsfProxy/releases

https://github.com/microg/NominatimGeocoderBackend/releases

https://github.com/microg/IchnaeaNlpBackend/releases

Open "UnifiedNlp" app then click on "Configure location backends" and check the box do the same on "Configure address lookup backends". Restart the phone and Open back "UnifiedNlp" and click on "Self-check" and try to enable everything (for me the "UnifiedNlp is resgistered in system" can't be enable)

When done open "microG settings" and go on "Self-Check" same try to enable all

It's looks to works for me.

Thanks to Kingslayer9988 for the original guide and I also want to credit the real developers of this

on xda: Lanchon (DexPatcher & Haystack)

https://xdaforums.com/m/lanchon.4141005/