/spoof11

Signature Spoofing on unsupported Android 11 ROMs

Enabling Signature Spoofing in Android 11 & Install microG

First I want to thank Lanchon without whom none of this would have been possible.

So, you want microG on Lineage 18.1. But wait, NanoDroid Patcher doesnt work! So what do you do? well obviously, you search on Google and find nothing except a badly written XDA Post. I am here to help! I am just rewriting that post in a better format.

Source

Rooted Method

A linux machine (NOT WSL) is preferable here. I will be using bash here.

  • Enable ROOT-ADB-Debugging

    1. Enable Developer Settings by tapping Build Number 7 times
    2. Enable USB Debugging and ADB Root
  • Patch services.jar

    1. Git Clone this Repo.
    2. Install ADB Drivers.
    3. Unzip haystack.zip and add dexpatcher.jar inside it.
    4. Do adb pull /system/framework/services.jar. This pulls the services.jar of your phone.
    5. Do 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. Yes. You need to do it from terminal/commandline. No GUI is availiable.
    6. Do mkdir repack or make a folder named repack.
    7. Do zip -j repack/services.jar classes*.dex. This creates your services.jar with the patched dex files.
  • Making the zip and flash!

    1. Now, I would prefer Windows here. See, in Linux you don't have tools (or not that I know of) that can add files in a zip without unzipping and tampering it. WinRAR, however, can. Even I had to use WinRAR. You can use Wine. But Wine is crappy so I booted straight into Windows and replaced /system/framework/services.jar with the new services.jar in spoofify.zip. (note: you can use 7z in linux)
    2. Now copy microGMagisk.zip and the patched spoofify.zip into /sdcard of your phone. (Just do adb push microGMagisk.zip spoofify.zip /sdcard)
    3. Go to Magisk -> Modules Section -> Install from storage then click on the microGMagisk.zip. Flash and reboot and do the same for spoofify.zip

Non-rooted method

Follow https://github.com/Robin-Sch/android-signature-spoofing


Done! You have successfully enabled Signature Spoofing.

OG Post