-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Request: Use Magisk for Signature Spoofing & Gapps Removal? #170
Comments
Now that Magisk is required to pass SafetyNet when using Xposed for signature spoofing, I would very much like a Magisk version of signature spoofing (I’m using Xposed only for that, so could then get ride of it). :) |
As far as I understand, Magisk allows to dynamically add or replace files in /system. It is not a replacement for Xposed and has a completely different focus. That's why one of the core features of Magisk (beside root) is to add Xposed. |
@mar-v-in Yes, but I was wondering if signature spoofing could be done as a Magisk Module directly instead of relying on Xposed (for instance Needle is not far from this FWIU). |
Yes, if Needle/Tingle would be working perfectly when run in recovery, it would be possible to put it inside a Magisk module. But then it would also be possible to use it directly so you would need neither Magisk nor Xposed. |
Tingle now works perfectly also inside Android (with QPython, without pc), and possibly in the future also as flashable package via CWM/TWRP. Edit: It would be better for performance to create a Magisk module that take a pre-patched framework.jar from the SD card at every boot. |
@ale5000-git I don't have Magisk on my device right now. I am waiting for Magisk v7 to come out before I try Magisk on my AT&T SGS3 with CM13. If you create a Magisk module for signature spoofing, I will test it. Just let me know. |
@JERW86: I don't have Magisk, mine was only an idea. |
@ale5000-git: ok nice to know it might be possible. |
This seems to have been achieved as mentioned in #284 including signature spoofing using Magisk. Therefore, I am closing this issue. |
@JERW86 not actually. My patcher makes use of My patcher then knows three installation paths:
The patcher itself does not make use of Magisk, so anyone can use that patcher, regardless of Magisk. (It's just part of my NanoMod project and NanoMod is a Magisk Module) |
@Nanolx oh, OK. I'm sorry for the incorrect assumption. Thank you for the explaination and correction. |
Hi @mar-v-in - I came across a project called Magisk and I thought it could be used with microG. I am not a dev and I do not understand computer or Android code. I just wanted to share an idea I had after coming across this project. I hope it will be considered and someone with more experience might implement this idea.
Magisk by @topjohnwu link here is a a mod utility that allows the system partition to be altered without touching it or, in some cases, removing real files and replacing them with dummy files, to fool google and manufacturers into thinking the system hasn't been touched. Devs create individual mods to modify the system how they wish.
I am hoping that this method can be used by creating two mods to help setup microG. The mods could be
Potential Advantages
-Easier and more seamless implementation by using TWRP/CWM
-No xposed required
-No computer required
Potential Advantages
-Easier way to remove/replace gapps to customize and control what apps are used. The zip could remove/replace all Gapps with the possible exception of Google Play Store. Than the user could reinstall whatever Google apps they wanted as user apps.
microG users might be able to accept and successfully flash OTA updates while still using microG because system remains "untouched".
-If the OTA update overrides signature spoofing and flashes Gapps again, the mods could be reinstated by flashing magisk, magisk comatable su, signature spoofing, and Gapps removal/replacement zips directly after the ota. This might be accomplished by reflashing TWRP or using Chainfire's Flashfire app (which would hopefully make the process automatic!)
Making these Magisk mods might make installing microG even simpler. What do you think?
The text was updated successfully, but these errors were encountered: