LSPosed/CorePatch

[BUG] Disable compare signatures doesn't work

Opened this issue · 10 comments

什么情况/What happened?

Disable compare signatures doesn't work even it's enabled. The package installer still says "app not installed" when installing and overwriting an app with different signature
Installing unsigned APK from forum sites works fine

LSPosed及Riru版本/Version of LSPosed及Riru版本 and Riru

LSPosed: 1.5.2

Riru: 26.1.1

核心破解版本/Version of Core Patch?
version: 3.5

相关日志/Related Logs
LSPosed_2021-08-27T10_47_39.450.zip

Note: i have removed app list from log for privacy

install from command line using pm or luckypatcher to get the error code.

Performing Streamed Install
adb: failed to install xxxxxx.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.example.package attempting to redeclare permission com.example.package.permission.C2D_MESSAGE already owned by com.example.package]

What should i do?

Still present on Core Patch 3.7 and Use installed signatures doesn't help. If i enable Lucky Patcher's Xposed settings and reboot, this error is completely bypassed and app can be installable

This is the tutorial I followed https://platinmods.com/threads/how-to-disable-signature-verification-to-install-unsigned-apk-using-lucky-patcher-xposed-method.83749/

what android version?

If 11, then it's caused by 65a3ee5

Yes i'm using android 11

Same problem for me too, and on Android 11 as well
So I kept both LP and CorePatch in this case

Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.termux has a signing lineage that diverges from the lineage of the sharedUserId]

failed when install com.termux
with corepatch 3.7 on android 11

Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.termux has a signing lineage that diverges from the lineage of the sharedUserId]

failed when install com.termux with corepatch 3.7 on android 11

Could you try the latest version from github action and enable the 'UsePreSig' switch.

doesnt work for me too on Android 11

adb: failed to install E:\Downloads\DISGAEA RPG_2.16.4_apkcombo.com_kill.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.boltrend.disgaea.en attempting to redeclare permission com.boltrend.disgaea.en.permission.C2D_MESSAGE already owned by com.boltrend.disgaea.en]