haystack
haystack copied to clipboard
Error when attempting to apply patches
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!