en-i13n icon indicating copy to clipboard operation
en-i13n copied to clipboard

GMS signature invalid

Open zgxgoo opened this issue 4 years ago • 5 comments

After i signed the GMS by APP's signature, it worked; then i put the phone in the table for a few hours, the GMS's signature was invalid, and cannot sign again unless reboot the phone .

zgxgoo avatar Aug 07 '20 14:08 zgxgoo

Hi @zgxgoo , thanks for this report. If I understood correctly, you launched the script with python en.py sign -p {package_name} -s {signature}, it worked so you could launch custom app properly, then after few hours you tried to use the custom app again, it did not work, and furthermore it did not work even after running en.py again. Is this correct?

As to why your custom app did not work after few hours - it may be due to the fact that GMS restarted, and was not patched anymore, or perhaps the en.py or frida server died. If frida server was still running, then it's quite strange that running en.py again did not resolve the issues. If you encounter this error again it would be great if you could paste here the output of en.py :)

kbobrowski avatar Aug 07 '20 23:08 kbobrowski

Hi, @kbobrowski, yes , you understood correctly, the output of the script is [allow.js] injecting [allow.js] received payload;

zgxgoo avatar Aug 08 '20 06:08 zgxgoo

Thanks, I'll check if I can reproduce it

kbobrowski avatar Aug 08 '20 09:08 kbobrowski

Pixel 2 android 10

Kamil Bobrowski [email protected] 于 2020年8月8日周六 下午5:57写道:

Thanks, I'll check if I can reproduce it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kbobrowski/en-i13n/issues/9#issuecomment-670852914, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADO6A7YCHRO3TGJM2JC4VRDR7UOPLANCNFSM4PXV4NFA .

zgxgoo avatar Aug 08 '20 12:08 zgxgoo

@zgxgoo unfortunately I could not reproduce this issue, as I have another one - when I leave the phone connected via USB and frida script running for a few hours, the phone switches itself off. It could be that something strange happens inside GMS, as we are patching quite low level methods which may be used by other parts of GMS, and this could potentially lead to unexpected issues. I'm using quite old phone with Android 6 which may have its own issues, perhaps I'll root Android 10 device soon, would be easier to debug it.

kbobrowski avatar Aug 11 '20 12:08 kbobrowski