Lanchon / haystack

Signature Spoofing Patcher for Android
GNU General Public License v3.0
233 stars 45 forks source link

Fatal exception when trying to apply hook patch #30

Closed lionirdeadman closed 5 years ago

lionirdeadman commented 5 years ago

Log:

./patch-fileset patches/sigspoof-hook-7.0-9.0/ 25 fs-tab-3/
>>> target directory: fs-tab-3__sigspoof-hook-7.0-9.0
>>> apply patch: services.jar
>>> dexpatcher --api-level 25 --verbose --output fs-tab-3__sigspoof-hook-7.0-9.0/tmp/services.jar/patched-dex --multi-dex fs-tab-3/services.jar patches/sigspoof-hook-7.0-9.0/services.jar.dex
DexPatcher version 1.6.2 by Lanchon (https://dexpatcher.github.io/)
info: read 'fs-tab-3/services.jar'
fatal: exception: lanchon.multidexlib2.EmptyMultiDexContainerException: fs-tab-3/services.jar

I'm unsure what else to put in this bug report, consider putting a template. I wish that'd be enough but I have a good feeling it's not so feel free to ask/request any and all things.

Lanchon commented 5 years ago

as per docs, you need a deodexed system. your system is odexed. google how to deodex it.

lionirdeadman commented 5 years ago

I have a LineageOS ROM, I would've thought it was already deodexed.. seems I gotta figure out how to deodex then. Thanks.

JonnyTech commented 5 years ago

@lionirdeadman, I use SuperR's kitchen to quickly and simply deodex ROM's: https://forum.xda-developers.com/apps/superr-kitchen

lionirdeadman commented 5 years ago

Thanks but SuperR's Kitchen is not something I'll be using due to the proprietary nature.

I think I'll simply wait for my NanoDroid issue to be fixed since deodexing is more complicated than I would've hoped.

JonnyTech commented 5 years ago

@lionirdeadman SuperR's Kitchen is open source: https://bitbucket.org/superr/superrs-kitchen/

There is a "donate" version, but the free open one does enough including deodexing..

Lanchon commented 5 years ago

nanolx patcher is nothing but haystack! repackaged to run in recovery, but still haystack. it wont work with a odexed rom.

lionirdeadman commented 5 years ago

NanoDroid's patcher is failing to deodex this particular ROM/Device as said here (I actually have the same device/recovery/ROM combo)