Disable signature verification for V20 specifically

Mar 31, 2016
43
3
8
I have
LG V20 H990DS, rooted, TWRP installed, custom kernel (as per dirtysanta post), xposed installed

Since installing xposed (might be coincidental) I can not install any app (either via Play Store or adb install. The error I get in logcat is:
Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed reading classes.dex in [email protected]: META-INF/MANIFEST.MF has invalid digest for classes.dex in classes.dex]

I posted this in the n00b-friedly Q&A forum and someone suggested it was an issue with signatures, so I googled and there are ways to disable signature verification. Not sure if this is a wise thing to do, but I think i need to try. The problem is the solutions all require Lucky Patcher or some Xposed app. But I can't install any app.

So, knowing I am falling for the whole XY Problem, can anyone suggest a way of disabling signature verification (or indeed solving the actual problem) without re-flashing everything again. I am thinking of some V20-compatible flashable zip or something maybe???
 
Mar 31, 2016
43
3
8
I have an update on this.

I did a totally clean wipe and re-root, which in itself had issues but eventually worked. All was working fine right up until I installed modded google play. Since then I get the same issue as mentioned. I uninstalled it and reverted to normal googple play but I still get the error. I guess I have sort of found the issue, and next time I won't install it.

So, any ideas on
1. Why I am getting the issue?
2. How to fix it without going through the re-root.

Thank you.
 
  • Like
Reactions: androiddiego

Still_living714

Senior Member
Aug 30, 2013
1,290
309
0
orange county
I have an update on this.

I did a totally clean wipe and re-root, which in itself had issues but eventually worked. All was working fine right up until I installed modded google play. Since then I get the same issue as mentioned. I uninstalled it and reverted to normal googple play but I still get the error. I guess I have sort of found the issue, and next time I won't install it.

So, any ideas on
1. Why I am getting the issue?
2. How to fix it without going through the re-root.

Thank you.
I've had the same problem installing Modded playstore. For some reason Modded playstore works on all my devices except my V20. I would suggest giving up installing it as I did. Also why would you have to reroot?
 
  • Like
Reactions: androiddiego
Mar 31, 2016
43
3
8
Also why would you have to reroot?[/QUOTE said:
Because that is the only way I have found to be able to install any new apps. Otherwise I get errors similar to

PackageInstaller: Commit of session 1370272024 failed: Failed reading classes.dex in [email protected]: META-INF/MANIFEST.MF has invalid digest for classes.dex in classes.dex
 
Mar 31, 2016
43
3
8
Well I found the solution and a way of installing modded google play. Although I don't really understand the reason. As I was going to wipe the phone anyway I thought I would play around. So...

I tried to install modded google play - still same issue
From Lucky Patcher I removed patches from core.jar - suddenly I could install apps again.
I successfully installed modded google play - this needs Signature Verification True
I patched Signature Verification - modded google play works and I can install apps :)

So the issue was with the Lucky patcher "Disable .apk Signature Verification". When patched I got the dex error from my post. With it unpatched all works fine.

Thanks for all who helped.
 

plasmar

Member
May 21, 2007
42
2
28
does this still work? I seem to always end up with playstore not functioning correctly, shows as though the applications I purchased as not purchased; and in-app purchase emulation doesn't function?.... not sure if I'm following your instructions on removing core.jar but I tried removing it and instaling core patch to disable signiture verification through edxposed but I'm not sure???
 
Last edited:
Mar 31, 2016
43
3
8
Yes it still works fine. IAP and everything works as normal.

Lucky patcher -- Patch to Android -- Remove all patches from core.jar

Lucky Patcher -- Patch to Android -- Signature Verification status always True
Lucky Patcher -- Patch to Android -- Disable .apk signature verification
Lucky Patcher -- Patch to Android -- Disable Signature Verification in the pacvkage manager
 

plasmar

Member
May 21, 2007
42
2
28
Yes it still works fine. IAP and everything works as normal.

Lucky patcher -- Patch to Android -- Remove all patches from core.jar

Lucky Patcher -- Patch to Android -- Signature Verification status always True
Lucky Patcher -- Patch to Android -- Disable .apk signature verification
Lucky Patcher -- Patch to Android -- Disable Signature Verification in the pacvkage manager

thanks for the reply and instructions...... I managed to get lp working(emulation and all) using either corepatch or the module for magisk.... but there's still something funky that either stops stuff from installing off playstore and/or not as apk's without resigning them; will try this method and see how it does in comparison....... unrelated question, any clue if m3u's work at all or if there's a method to get them to open in music players?(not sure if user issue or device issue)