-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Add patches needed to add signature spoofing to A14 based builds #44
Comments
LineageOS made changes to their code, so that they now support 'restricted` signature spoofing (i.e. only microG is allowed to spoof signature) - see this change
If you need to allow other apps to spoof signature ( the equivalent of Note that LineageOS for microG no longer make their official builds using those patches, they rely on the upstream LOS code. The patches were created - and received a limited amount of testing - before LOS 's change of heart on signature spoofing being 'lying about security features. They are kept in case anyone does rely on them to build ROMs which allow unrestricted spoofing, but that unctionality has not had a lot of testing |
@2lucem2 extendrom's way of patching for signature spoofing goes way further then the Lineage OS or lineageos4microg one so the suggestion of @petefoth is just one part of what extendrom provides.. extendrom adds a toggle and manually pre-cautions to actually enable signature spoofing. i.e even when the patches are integrated the user always has the choice to enable or disable it at any time. If the "LOS way" is enough for your needs go ahead with them, ofc. but if you want to help porting the extendrom way read on. basically I implement it like that: applying the "official" sig patches - in this case for A14:
They prefer to have a single diff for all paths within one dir but as I need to support multiple OS I split the all-in-one diffs to per-file diffs. This is a bit of work (cut + paste) but it makes it easier if something needs to be adapted for other OS later. For A14 I would copy everything from here:
note: I plan to do the above anyways but I cannot tell when |
Just to let you that for future Android versions, los4microg will not be implementing signature spoofing patches, because LineageOS now support the level of signature spoofing that we need for microG to work |
Description
So far, there are patches for Android versions 10 through 13. I would like to build A14 based roms with signature spoofing support; however I am at a loss at how the patches located here (https://github.com/lineageos4microg/docker-lineage-cicd/tree/lineage-21/src/signature_spoofing_patches) need to be modified.
Target version
LineageOS 21
What custom OS should support that feature (add an
x
within the[ ]
brackets, select / add all that should apply):The text was updated successfully, but these errors were encountered: