-
Notifications
You must be signed in to change notification settings - Fork 45
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
Android 9: services.jar deodexed, patched but spoofing disabled #33
Comments
I have decompiled the code and checking patch... the GeneratePackageInfoHook is there but generatePackageInfo has a bit strange flow. It only calls GeneratePackageHook if generatePackageInfo__$wrapSource didnt return its own object. Is this code part of patch? (generatePackageInfo__$wrapSource is original function while this generatePackageInfo is patch stub, first calling the original function and then patched code?
|
yes it is, you can see the patch java sources in this repo. first, it is a mistake to deodex part of the rom. you must deodex the complete rom or stuff may break. so yeah, it can be deodexing thing. once that is done, if you still have issues, you can choose to patch without the UI, which is optional, and test the result. also, make sure you are using checker version 1.1 or results can be incorrect. |
I am trying to build microg rom for cosmo communicator, but i got stuck on patching services.jar, or to rather say, I deodex it, apply patches sigspoof-hook-7.0-9.0/services.jar.dex and sigspoof-core/services.jar.dex, but Signature Spoofing Checker says spoofing is disabled.
May I ask you for advice what is wrong as I am stuck. I am using HEAD from this repo.
I have wrote a little script to do it automatically (trying to build microg rom for cosmo communicator), are the main part.
Deodexing:
The process completes and services.jar has classes.dex file inside. This is the output:
Patching:
Again everything passes fine, 0 errors, 0 warnings:
The ROM is flashed to the device but the Signature Spoofing Checker says
"Signature Spoofing: DISABLED"
getprop allow_fake_signature_global
returns empty line
I have searched for a potential reason a lot but as most people have issues with deodexing which is not case here...
Thank you for any help in advance.
The text was updated successfully, but these errors were encountered: