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

Error when attempting to apply patches #39

Open
eddieofny opened this issue Jan 3, 2024 · 0 comments
Open

Error when attempting to apply patches #39

eddieofny opened this issue Jan 3, 2024 · 0 comments

Comments

@eddieofny
Copy link

Hi, I was attempting to patch my ROM with haystack and after some tinkering I got the pull-fileset command to run without any issues. But whenever I go to apply a patch, I consistently get this error:

error: type 'com.android.server.pm.GeneratePackageInfoHook': target not found

I have no clue what this means or how to fix it, and any help would be appreciated.

In case its relevant, I'm trying to patch an LG K20 running stock ROM that I have successfully deodexed. I had to use Amaze File Explorer to go into system/priv-app and rename "LGSettings" to "Settings" for the pull-fileset command to work properly. The patch I'm trying to apply is sigspoof-ui-global-7.0-7.1, but I get the same error with sigspoof-core and sigspoof-hook-7.0-9.0. Here's the full output of the command:

target directory: fs-k20__sigspoof-ui-global-7.0-7.1
apply patch: services.jar
dexpatcher --api-level 24 --verbose --output fs-k20__sigspoof-ui-global-7.0-7.1/tmp/services.jar/patched-dex --multi-dex fs-k20/services.jar patches/sigspoof-ui-global-7.0-7.1/services.jar.dex
DexPatcher version 1.6.2 by Lanchon (https://dexpatcher.github.io/)
info: read 'fs-k20/services.jar'
info: read 'patches/sigspoof-ui-global-7.0-7.1/services.jar.dex'
error: type 'com.android.server.pm.GeneratePackageInfoHook': target not found
1 error(s), 0 warning(s)

I'm not sure if this error is a result of the stock ROM being too customized to patch or something along those lines, but just in case it's something else, I figured I'd ask. Once again, any help is appreciated, thank you!

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

1 participant