Hello everyone,
Magia Record Madoka Magica got shut down some days ago (or got demoted into "Gallery Mode", whatever that means).
In August, I managed to bypass their signature and root check thanks to some tutorials @AndnixSH has scattered over the internet.
Disclaimer:
SafetyNet is a test to check tampering/root on devices, and there's chances game devs might not implemented it properly.
In this case, game shutting down means they could've downgraded their security versions before I ever downloaded it; or security was barely functional since low revenue doesn't allow for proper measures.
Without further ado:
Tools requiered:
>Apktool or any apk decompiler
>Notepad++
Procedure:
>If we break the game's signature by recompiling the apk, the following message will appear:
>We open Notepad++, and search for that same string in the smali folder ("Only applications downloaded from the Google Play Store can be used").
>One of the results will be the following file (found in \smali\jp\f4samurai\bridge): CheatHandler.smali
>We open it, and will find the following:
>I think I tried editing line 57, but issues still persisted (I don't recall, and I didn't take notes about this back then, since why jot down a failure?); so we go to th function "fromGooglePlay()"
>We know it will return a boolean, so we we make it return a 1, replacing everything inside.
>We will also see the func "checkDevice()". We wipe it clean to avoid possible issues with rooted or whatever. We also delete the array that this function requieres (array_0) found just afterwards.
(I got surprised the func hasIntegrity, which looked like a "problematic" one, didn't cause any issue)
>Save changes and compile the apk.
>This popup will no longer appear, and you are free to start modding its lib.
Already modified CheatHandler.smali:
Hope this helps yourealize just because some test is present, it doesn't mean the game's thoroughly protected.
Magia Record Madoka Magica got shut down some days ago (or got demoted into "Gallery Mode", whatever that means).
In August, I managed to bypass their signature and root check thanks to some tutorials @AndnixSH has scattered over the internet.
Disclaimer:
SafetyNet is a test to check tampering/root on devices, and there's chances game devs might not implemented it properly.
In this case, game shutting down means they could've downgraded their security versions before I ever downloaded it; or security was barely functional since low revenue doesn't allow for proper measures.
Without further ado:
Tools requiered:
>Apktool or any apk decompiler
>Notepad++
Procedure:
>If we break the game's signature by recompiling the apk, the following message will appear:
>We open Notepad++, and search for that same string in the smali folder ("Only applications downloaded from the Google Play Store can be used").
>One of the results will be the following file (found in \smali\jp\f4samurai\bridge): CheatHandler.smali
>We open it, and will find the following:
>I think I tried editing line 57, but issues still persisted (I don't recall, and I didn't take notes about this back then, since why jot down a failure?); so we go to th function "fromGooglePlay()"
>We know it will return a boolean, so we we make it return a 1, replacing everything inside.
>We will also see the func "checkDevice()". We wipe it clean to avoid possible issues with rooted or whatever. We also delete the array that this function requieres (array_0) found just afterwards.
(I got surprised the func hasIntegrity, which looked like a "problematic" one, didn't cause any issue)
>Save changes and compile the apk.
>This popup will no longer appear, and you are free to start modding its lib.
Already modified CheatHandler.smali:
Hope this helps yourealize just because some test is present, it doesn't mean the game's thoroughly protected.
Last edited: