Skip to content
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

GMS signature invalid #9

Open
zgxgoo opened this issue Aug 7, 2020 · 5 comments
Open

GMS signature invalid #9

zgxgoo opened this issue Aug 7, 2020 · 5 comments

Comments

@zgxgoo
Copy link

zgxgoo commented Aug 7, 2020

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 .

@kbobrowski
Copy link
Owner

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 :)

@zgxgoo
Copy link
Author

zgxgoo commented Aug 8, 2020

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

@kbobrowski
Copy link
Owner

Thanks, I'll check if I can reproduce it

@zgxgoo
Copy link
Author

zgxgoo commented Aug 8, 2020 via email

@kbobrowski
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants