Giter VIP home page Giter VIP logo

corepatch's Introduction

LSPosed Framework

Build Crowdin Channel Chat Download Total

Introduction

A Riru / Zygisk module trying to provide an ART hooking framework which delivers consistent APIs with the OG Xposed, leveraging LSPlant hooking framework.

Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: multiple modules can do changes to the same part of the system or app. With modified APKs, you have to choose one. No way to combine them, unless the author builds multiple APKs with different combinations.

Supported Versions

Android 8.1 ~ 14

Install

  1. Install Magisk v24+
  2. (For Riru flavor) Install Riru v26.1.7+
  3. Download and install LSPosed in Magisk app
  4. Reboot
  5. Open LSPosed manager from notification
  6. Have fun :)

Download

Note: debug builds are only available in Github Actions.

Get Help

Only bug reports from THE LATEST DEBUG BUILD will be accepted.

  • GitHub issues: Issues
  • (For Chinese speakers) 本项目只接受英语标题的issue。如果您不懂英语,请使用翻译工具

For Developers

Developers are welcome to write Xposed modules with hooks based on LSPosed Framework. A module based on LSPosed framework is fully compatible with the original Xposed Framework, and vice versa, a Xposed Framework-based module will work well with LSPosed framework too.

We use our own module repository. We welcome developers to submit modules to our repository, and then modules can be downloaded in LSPosed.

Community Discussion

Notice: These community groups don't accept any bug report, please use Get help to report.

Translation Contributing

You can contribute translation here.

Credits

  • Magisk: makes all these possible
  • Riru: provides a way to inject code into zygote process
  • XposedBridge: the OG Xposed framework APIs
  • Dobby: used for inline hooking
  • LSPlant: the core ART hooking framework
  • EdXposed: fork source
  • SandHook: ART hooking framework for SandHook variant
  • YAHFA: previous ART hooking framework
  • dexmaker and dalvikdx: to dynamically generate YAHFA hooker classes
  • DexBuilder: to dynamically generate YAHFA hooker classes

License

LSPosed is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).

corepatch's People

Contributors

1552980358 avatar 5ec1cff avatar aguys123 avatar andnixsh avatar aviraxp avatar charlotte-espoir avatar coderstory avatar duzhaokun123 avatar eebssk1 avatar howard20181 avatar igormiguell avatar jasonkhew96 avatar pranavpurwar avatar reindex-ot avatar rze0 avatar sekaiacg avatar xerta555 avatar yujincheng08 avatar zangxx66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corepatch's Issues

How to make it work on Taichi

Hi,

Saw that part of the code was kanged from weishu. But weishu's corepatch only works till Android 9.
I tried yours and it works with Edxposed and android 10. But the same thing is not working with Taichi Magisk and Android 10. Any help would be appreciated. :)

[Feature request] 添加对使用sharedUserId的应用的支持

对于使用sharedUserId的应用(例如com.termux),当安装签名不同的apk时会显示

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

而且即使只安装了一个app的情况下,只要使用了sharedUserID,也无法安装不同签名的app,应该是和普通app的检测途径不同(覆盖安装普通app只检查自己的签名)

[Bug] Module does not upgrade or downgrade some apps with different signatures.

What happened/什么情况

Module does not downgrade some apps with different signatures. Module does not update some apps with different signatures.

LSPosed version/LSPosed 版本

1.8.5(6649) Zygisk

Android version/Android 版本

12

Version of Core Patch/核心破解版本

4.2

Logs/日志

LSPosed_2023-01-13T17_32_40.930773.zip
LSPosed_2023-01-13T17_32_34.495689.zip
LSPosed_2023-01-13T16_44_41.413235.zip
hma_logs_2023-01-12_12.21.31.log

Module settings screenshot/模块设置截图

Screenshot_20230113-171819

[BUG] Signature check is not fully disabled on 3.6 and above

什么情况/What happened?

Installation still failing if i compile APK and put original META-INF back in APK file. This is not normal because it used to work before. After I downgraded to Core Patch 3.5, it will install unsigned APK perfectly!

Performing Streamed Install adb: failed to install E:\xxx.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed collecting certificates for /data/app/vmdl285250778.tmp/base.apk: Failed to collect certificates from /data/app/vmdl285250778.tmp/base.apk: File res/drawable-hdpi-v4/hs__file_preview_icon.png in manifest does not exist]

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

LSPosed: 1.7.2

Riru: None. I'm using Zygisk

Magisk: 24.3

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

相关日志/Related Logs
LSPosed_2022-03-16T18_54_11.135.zip

[Bug] A13app降级安装失败

What happened/什么情况

A13app降级安装失败
模块无效

LSPosed version/LSPosed 版本

1.8.4 6641 zygisk

Android version/Android 版本

Andoid13 nusantararom

Version of Core Patch/核心破解版本

4.1

Logs/日志

Command: pm install-commit 840244051
Exit code: 1
Out:
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package cn.kuwo.kwmusichd attempting to redeclare permission cn.kuwo.kwmusichd.signatureOrSystem already owned by cn.kuwo.kwmusichd]

Err:

LSPosed_2022-11-01T10_00_43.652451.zip

[BUG] 开关无法实时生效

什么情况/What happened?

设置开关无法实时生效

看代码里面的流程是下面这样的

  1. 根据设置项判断是否需要进行hook
  2. 需要hook的话 -> 直接将修改验证结果的代码注入(注入的代码中没有开关状态判断逻辑)
  3. 不需要hook -> 不注入修改结果的代码

这样的话就只能是 Android 进程(不懂Android开发,不知道是不是这玩意)起来也就是开机的时候就已经确定下来了最终会不会修改验证结果,而开机之后已经不会判断开关状态更不会改变注入Android进程中的代码了,也就是说再修改开关状态也是没啥用了。

所以我想判断开关状态的逻辑不应该放在外面而应该放在注入系统进程的代码中(应该是afterHookedMethod()方法中?百度出来的方法名,没开发过xp模块不太懂),这样在安装应用的时候才能实时获取开关状态来决定要不要修改验证结果。

另外看代码中用 XSharedPreferences 来保存/获取配置信息,使用的时候是new出来的,那么这玩意是不是在判断开关状态的时候重新new一个新的才能获取最新数据?

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

LSPosed: 0.5.4.1-5178

Riru: v23.5

核心破解版本/Version of Core Patch?
version: 3.3
Android 11

相关日志/Related Logs

无日志

[BUG] Color OS 12 can't install some apps with inconsistent signatures

什么情况/What happened?

无法安装部分签名冲突应用

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

LSPosed:1.61(6144)

Riru:26.1.2

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

相关日志/Related Logs

Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.xfs.rootwords attempting to redeclare permission com.xfs.rootwords.openadsdk.permission.TT_PANGOLIN already owned by com.xfs.rootwords]

[Bug] Settings are not applied

What happened/什么情况

Settings "Use installed signatures" and "Enhanced mode" are not being applied

LSPosed version/LSPosed 版本

6838

Android version/Android 版本

13

Version of Core Patch/核心破解版本

4.2

Logs/日志

LSPosed_2023-03-04T08_43_28.938716.zip

Module settings screenshot/模块设置截图

Screenshot_20230304-084418

[BUG] not working with lsposed zygisk

**什么情况/What happened? Not working

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

LSPosed: 1.7.2 (6379) zygisk

Riru: none

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

相关日志/Related Logs

Corepatch 3.7

Hello everyone!!! I would like to share my recent experience. Yesterday I installed three firmwares on my phone and everything with the October security patch from Google. So, on these firmware, more than one unsigned apk is not installed at all! Installed LSPosed and CorePatch 3.7 and all to no avail. Before that, there was a firmware with some kind of summer security patch and everything worked fine there. So far, there is only one way out, except for CorePatch, install LuckyPatcher and in its Xposed settings check the "disable signature verification in package manager" parameters and apply! Then all the apk will be installed!
We all really hope that the respected CorePatch developers will continue to develop their application and fix it all in the future! Thank you very much!!!
Android 11, Miui 12.5

Not working

Android 11
S10 plus
Magisk 22.0
0.5.2.2 _master 4683 (YAHFA)
Edxposed 4.6.2
Corepatch 3.3

[BUG] Android R settings freeze

什么情况/What happened?
Setting app of phone does not work on my Android 11 Mi 10T Pro phone. It just freeze.. When Core is enabled in edxposed..

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

LSPosed: dont have it installed

Riru: v25.4.1.r411.22618... from magisk official...

核心破解版本/Version of Core Patch?
version: v3.4

相关日志/Related Logs
It is not worked when I updated to v3.4... Android settings app just freeze...
If I can help just tell me how...

[Bug] 安卓12,4.0核心破解失效

What happened/什么情况

安装4.0 核心破解后,安装软件提示
INSTALL_FAILED_DUPLATE_PERMISSION: Package com.miui.home attempting to redeclare permission com.miui.home.launcher.permission.PUSH_REFRESH_WIDGET already owned by com.miui.home
回退到3.8版本正常

LSPosed version/LSPosed 版本

6609

Android version/Android 版本

12

Version of Core Patch/核心破解版本

4.0

Logs/日志

LSPosed_2022-10-30T00_56_12.932.zip

[Bug] 不卸载 com.google.android.art 的情况下依旧无法安装签名不一致应用

What happened/什么情况

更新 Google Play 系统更新后无法安装签名不一致应用,如哔哩漫游、核心破解的 CI 版本
在使用终端 pm uninstall com.google.android.art 重启后可以覆盖安装

LSPosed version/LSPosed 版本

1.8.5 (6649)

Android version/Android 版本

Android 12 (OnePlus 8 Pro OxygenOS 12)

Version of Core Patch/核心破解版本

4.1 (1989) -debug

Logs/日志

LSPosed_2022-11-18T22_12_28.343677.zip

以下是将应用放在 /data/local/tmp 下使用 su 和 pm install /data/local/tmp/test.apk 的报错
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package me.iacn.biliroaming signatures do not match previously installed version; ignoring!]

以下是使用 MT 管理器直接安装的报错
安装失败,与已安装 APK 签名不一致!
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package me.iacn.biliroaming signatures do not match previously installed version; ignoring!]
at l.ۚ۠ۦ.ۤ(9APZ:764)
at l.ۨۖۦ.ۛ(CAPU:694)
at l.ۘۘ۟.ۤ(D4W8:75)
at l.ۥۘ۟.run(CATK:0)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)

Module settings screenshot/模块设置截图

Screenshot_2022-11-18-22-16-50-27_041a123fbc87310

[BUG] Android 13 unable work

什么情况/What happened?

Android 13 beta 模块无效

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

LSPosed: 1.8.3 - Zygisk

Riru: /

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

相关日志/Related Logs
/

android9

不打算支持android9了吗?

[BUG]

什么情况/What happened?

如无法开机/模块无效等

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

LSPosed:

Riru:

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

相关日志/Related Logs

[BUG] 更新到3.7后,所有app调用com.google.android.documentsui崩溃

什么情况/What happened?

如无法开机/模块无效等

比如magisk的安装本地模块功能调用com.google.android.documentsu时i崩溃,降级到3.4恢复正常

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

LSPosed:6148

Riru: 26.1.3

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

相关日志/Related Logs

[BUG] 过不了v2验证

什么情况/What happened?

如无法开机/模块无效等

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

LSPosed:1.4.7

Riru:25.4.4

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

相关日志/Related Logs
no

using APK Signature Scheme v2. Failed to parse/verify signer #1 block: SHA256withRSA signature did not verify

[Bug] signatures are inconsistent

What happened/什么情况

I use the command "adb install-multiple <base.apk> <obbasset.apk>" to install xapk file, it shows errors below.

PS C:\Users\Administrator\Downloads\Code\test> adb install-multiple 'c:\Users\Administrator\Downloads\dump-tools\APK Easy Tool v1.60 Portable\2-Recompiled APKs\com.xxx.xxx.apk' c:\Users\Administrator\Downloads\dump-apks\obbassets.apk
adb: failed to finalize session
Failure [INSTALL_FAILED_INVALID_APK: /data/app/vmdl209750275.tmp/obbassets.apk signatures are inconsistent]

both base.apk and obbasset.apk has stamp-cert-sha256 in their root folder, maybe it's the reason caused this problem

adb --version
Android Debug Bridge version 1.0.41
Version 33.0.3-8952118

by the way, i've tried latest version LSPosed 1.8.6 with CorePatch 4.2, it has the same problem

LSPosed version/LSPosed 版本

6552-zygisk-release

Android version/Android 版本

10

Version of Core Patch/核心破解版本

3.5

Logs/日志

didn't show any log in both Modules Logs and Verbose Logs of LSPosed

Module settings screenshot/模块设置截图

Screenshot_20230121-213722

[BUG] 模块在1+9R ColorOS11部分功能无效

什么情况/What happened?

模块部分功能无效

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

LSPosed:v1.4.5(5767)

Riru:v25.4.4.r246.05efc94

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

相关日志/Related Logs
nologs

禁用模块和启用模块都无法直接降级安装应用(已检查过设置),唯一的区别就是在momo里开启后会系统服务异常,而关闭后无系统服务异常,以及签名错误可以直接安装

可否新两个增新功能

问题1:3.4以后无法装上软件,提示获取不到这个系统权限,可否加个开关控制,勾选的软件可以获取所有权限,我的软件报错如下:
DisplayPolicy: uid 10264 does not have android.permission.STATUS_BAR_SERVICE.
问题2:上面这是系统的某个权限,如果上面问题因为安全问题无法解决,可否新增一个开关,lsp勾选哪个,哪个就能权限都返回true,或者可以自己设置哪个权限返回true。

[Feature request] Disable zipalign requirement

On Android 11, zipalign is a requirement in order to be able to install. If not, you will get parse error. This wa not a requirement on Android 10 and below. But i'm lazy to zipalign everytime I make changes to the APK especially if i'm just quick testing.

Is it possible to have an option to disable zipalign requirement?

[BUG]

什么情况/What happened?

如无法开机/模块无效等

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

LSPosed:

Riru:

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

相关日志/Related Logs

[BUG] Disable compare signatures doesn't work

什么情况/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

[BUG] not working on Android 12L

什么情况/What happened?
Failed to disable signature verification on pixel 6 Android 12L July update.

LSPosed Zygisk :1.83

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

安卓13,无法覆盖安装签名不一样的安装包

What happened/什么情况

安装应用,由于签名不同无法覆盖安装
INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.paget96.batteryguru attempting to redeclare permission com.paget96.batteryguru.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION already owned by com.paget96.batteryguru

INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.mxtech.videoplayer.ad has a signing lineage that diverges from the lineage of the sharedUserId
试了两个安装包是两个不同的报错
模块设置全开

LSPosed version/LSPosed 版本

框架版本 1.8.6 (6712) 管理器版本 1.8.6 (6712)

Android version/Android 版本

13 (API 33)

Version of Core Patch/核心破解版本

4.2

Logs/日志

LSPosed_2023-04-01T11_32_25.645489.zip

Module settings screenshot/模块设置截图

Screenshot_2023-04-01-11-40-34-445_com coderstory toolkit

[Bug] can't find link for branch q

What happened/什么情况

Can't find the link for branchq

LSPosed version/LSPosed 版本

1.82

Android version/Android 版本

9

Version of Core Patch/核心破解版本

4

Logs/日志

The Readme.md specifies branch Q for Android 9
But there is no release link anywhere.

Link "You can download history version from https://soft.shouji.com.cn/down/32512.html" appears dead

I would ask in telegram but i don't have a phone number to register with.

[BUG] [Serious] Lost irregularly (module failure)/模块失效,hook状态丢失

什么情况/What happened?

使用本地模式修补QQ,打开QQ时会无规律的丢失hook状态(模块失效)
Use local mode to patch QQ. When opening QQ, hook status will be lost irregularly (module failure)

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

LSPatch: 0.3.1(325)

相关日志/Related Logs

无日志
This page is not yet implemented

A13 Compatibility - Downgrade Only Works

Currently there isn't many ways to disable signature verification for A13, other than allowing for downgrade. LP breaks Bluetooth, so that's not an option sadly either.

[Feature] Disable signature block check

Some unsigned APK I downloaded from a forum site doesn't work on my phone running Android 11, it crashes due to invalid signature block file, but it works fine on my older devices running Android 8, 7, 6, 5. ONLY Android 11 have this check. I have enabled all options in Core Patch.

Can you add an option to disable signature block check so the app can run?

java.lang.SecurityException: cannot verify signature block file META-INF/BNDLTOOL
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:295)
	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:268)
	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:274)
	at java.util.jar.JarVerifier.update(JarVerifier.java:229)
	at java.util.jar.JarFile.initializeVerifier(JarFile.java:393)
	at java.util.jar.JarFile.getInputStream(JarFile.java:460)
	at libcore.io.ClassPathURLStreamHandler$ClassPathURLConnection.getInputStream(ClassPathURLStreamHandler.java:162)
	at java.net.URL.openStream(URL.java:1072)
	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:989)
	at java.lang.Class.getResourceAsStream(Class.java:2215)
	at com.google.android.gms.common.internal.LibraryVersion.getVersion(Unknown Source:46)
	at com.google.firebase.iid.zzt.zzb(Unknown Source:143)
	at com.google.firebase.iid.zzt.zza(Unknown Source:0)
	at com.google.firebase.iid.zzs.run(Unknown Source:12)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
	at java.lang.Thread.run(Thread.java:923)

[BUG]

什么情况/What happened?
模块无效(只试了降级安装)

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

LSPosed:6188

Riru:26.1.3

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

相关日志/Related Logs

--------- beginning of main
11-05 20:08:28.262 26328 26328 I getprop : type=1400 audit(0.0:256847): avc: denied { open } for path="/dev/properties/u:object_r:adbd_prop:s0" dev="tmpfs" ino=14379 scontext=u:r:shell:s0 tcontext=u:object_r:adbd_prop:s0 tclass=file permissive=1
11-05 20:08:28.262 26328 26328 I getprop : type=1400 audit(0.0:256848): avc: denied { getattr } for path="/dev/properties/u:object_r:adbd_prop:s0" dev="tmpfs" ino=14379 scontext=u:r:shell:s0 tcontext=u:object_r:adbd_prop:s0 tclass=file permissive=1
11-05 20:08:28.262 26328 26328 I getprop : type=1400 audit(0.0:256849): avc: denied { map } for path="/dev/properties/u:object_r:adbd_prop:s0" dev="tmpfs" ino=14379 scontext=u:r:shell:s0 tcontext=u:object_r:adbd_prop:s0 tclass=file permissive=1
11-05 20:08:28.262 26328 26328 I getprop : type=1400 audit(0.0:256850): avc: denied { open } for path="/dev/properties/u:object_r:apexd_prop:s0" dev="tmpfs" ino=14380 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1
11-05 20:08:28.262 26328 26328 I getprop : type=1400 audit(0.0:256851): avc: denied { getattr } for path="/dev/properties/u:object_r:apexd_prop:s0" dev="tmpfs" ino=14380 scontext=u:r:shell:s0 tcontext=u:object_r:apexd_prop:s0 tclass=file permissive=1

(日志太多,提示无法复制)

[BUG]

什么情况/What happened?

如无法开机/模块无效等

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

LSPosed:

Riru:

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

相关日志/Related Logs

[Bug] Can't install different signatures app in Android 13

What happened/什么情况

Can't install different signatures app in Pixel devices
Devices: Pixel 6 Pro, Pixel 7 Pro

LSPosed version/LSPosed 版本

6609

Android version/Android 版本

Android 13

Version of Core Patch/核心破解版本

4.0

Logs/日志

PS C:\platform-tools> ./adb shell
cheetah:/ $ su
cheetah:/ # pm install /data/local/tmp/test.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package icu.nullptr.applistdetector signatures do not match newer version; ignoring!]
1|cheetah:/ #

[BUG]

什么情况/What happened?
Core patch not working
如无法开机/模块无效等

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

LSPosed: LSPosed-v1.7.1-6358-zygisk-release

Riru: 26.1.4

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

相关日志/Related Logs

[BUG] Different Signatures Install Fail

什么情况/What happened?

When try to install a app over other with different signatures get error: [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package name.of.package signatures do not match with previously installed version; ignoring!]
LSPosed及Riru版本/Version of LSPosed及Riru版本 and Riru

LSPosed: 1.8.3 (6552)

Riru: N/A (Zygisk)

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

相关日志/Related Logs

LSPosed_2022-06-12T13_11_03.686.zip

Detail: Android 12L, Magisk 25.0

It disables PermissionController's real time permission monitoring

I'd like to submit a bug report that I am certain is related with Lucky Patcher after 10+ times of Nandroid restore.

Environment:

Android 10, LineageOS 17.1 build 20200702, running on Xiaomi MI 6 (sagit). arm64, not A/B device, single user.
Magisk 20.4, EdXposed v0.4.6.2.4529.

Steps to reproduce:

  1. Install Core Patch
  2. Enable Core Patch Xposed module, reboot. By default, disable package manager signature verification is enabled.
  3. The Runtime permission usage tracking of the permission controller, a new feature on Android 10, no longer works. There is no warning of any kind, like ANR or force close, by default. When it runs normally, some icons will show on the top right corner when the notification bar is pulled down. This screenshot shows when a sensitive permission, such as camera, microphone or positioning, is used.
    image
    Besides, there are logs for permission requests in System Settings - Privacy
    image

Issue

The biggest challenge is I failed to find any way to fix it except restoring /data only in recovery (if there is no modification done to /system and other partitions), which means so far as I can see, once permission controller is broken, it won't work well again. I tried disabling Xposed framework, Magisk and safe mode or clearing permission controller's data after the permission controller's runtime permission usage tracking stopped working, but none was effective.

This issue happens to Lucky Patcher's Xposed Module and core.jar patching as well. Log and /data are attached for your reference.
Download link for /data: https://mega.nz/folder/BhBykYJZ#TPieGYNzDLcGkxmo3XnQuw (excluding /data/media and /data/data)
logcat_LP_android10_permissioncontroller.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.