mksigspoofmod is a proof of concept of a generator for Magisk modules that enable signature spoofing, given a fileset patched by Haystack by Lanchon.
Coupled with NanoDroid by Nanolx or with any other Magisk-based microG solution, it enables fully systemless microG support.
To run, zip and unzip are required.
Running mksigspoofmod without arguments will display a brief usage message:
Usage: mksigspoofmod fileset
Here, fileset refers to a directory containing a set of files patched by Haystack. The files expected to be present are ext.jar, framework.jar, services.jar and Settings.apk.
mksigspoofmod expects a template.zip file in its own directory. It contains the final module, sans the fileset.
The module version is irrelevant to us, and so it'll always be v0.1.0.
Once launched, mksigspoofmod tries to wipe any traces of a failed run.
Then, it extracts the template in the current directory and places the fileset parts in the appropriate locations.
Lastly, it packs the module and wipes the extracted template. At this point, the module is ready to be flashed.
The module will be placed inside the current directory.
Before contributing:
- analyze your code with
shellcheckorshellhardenand fix the complaints it has; - make sure all indentations are 4-spaces wide.
This project is licensed under the terms of the BSD-3-Clause license. See the LICENSE file for details.
This project wouldn't exist without:
If you have time, pay a look at their projects. It'll be worth your while.