mywalkb / LSPosed_mod

My changes to LSPosed
GNU General Public License v3.0
3.65k stars 170 forks source link

[BUG] SystemUI isn't loaded by LSPosed after reboot #75

Closed leohearts closed 7 months ago

leohearts commented 7 months ago

Steps to reproduce

  1. install magisk (27002) and LSPosed (1.9.3mod) on a new Android Studio AVD (AOSP API33)
  2. install some mod, activate for SystemUI, and reboot
  3. adb logcat before system fully boots

Expected behaviour

LSPosed should load modules for SystemUI after reboot, before unlocking.

Actual behaviour

Yes it loads ... but sometimes. It can be not loaded, loaded once, or loaded twice (module runs two times but hooking only takes effect once, that's not a problem)

In failed conditions, SystemUI hooks wont be active even after unlocking phone, and only takes effect after manually restarting it by running killall com.android.systemui in superuser.

Failure rate is ~20% .

Xposed Module List

https://github.com/leohearts/AlternativeUnlockXposed, enabled for SystemUI only.
I believe other modules, like PixelXpert, should encounter the same problem too.

Magisk Module List

LSPosed (1.9.3mod)

Magisk is in Zygisk mode.

LSPosed version

both 1.9.3mod 7244 (latest release) and 7275 (latest CI build)

Android version

sdk_phone64_x86_64-userdebug 13 TE1A.220922.034 10940250 test-keys

Magisk version

81658d45:MAGISK:R, 27002

Riru version

N/A

Version requirement

Logs

leohearts@leohearts-ThinkBook ~> adb logcat | grep -E -i 'alternativeUnlockHook|posed'
- waiting for device -
04-11 21:36:56.011   362   362 I Magisk  : zygisk_lsposed: exec [post-fs-data.sh]
04-11 21:36:56.558   389   389 D LSPosed : start zygisk daemon 
04-11 21:36:57.295   355   357 I Magisk  : zygisk_lsposed: exec [service.sh]
04-11 21:36:57.391   569   569 D LSPosed : start zygisk daemon --from-service
04-11 21:36:57.432   368   368 W ziparchive: Unable to open '/data/adb/modules/zygisk_lsposed/daemon.dm': No such file or directory
04-11 21:36:57.601   563   563 W ziparchive: Unable to open '/data/adb/modules/zygisk_lsposed/daemon.dm': No such file or directory
04-11 21:36:57.610   368   368 D AndroidRuntime: Calling main entry org.lsposed.lspd.Main
04-11 21:36:57.646   368   368 I LSPosedService: starting server...
04-11 21:36:57.646   368   368 I LSPosedService: version 1.9.3_mod (7275)
04-11 21:36:57.653   563   563 D AndroidRuntime: Calling main entry org.lsposed.lspd.Main
04-11 21:36:57.685   368   646 I LSPosedLogcat: start running
04-11 21:36:57.686   368   646 I LSPosedLogcat: New log file: /data/adb/lspd/log/verbose_2024-04-11T21:36:57.685838.log
04-11 21:36:57.713   368   646 I LSPosedLogcat: New log file: /data/adb/lspd/log/modules_2024-04-11T21:36:57.713117.log
04-11 21:36:58.058   368   368 I LSPosedLogcat: !!start_watchdog!!
04-11 21:36:58.062   368   368 D LSPosedService: LSPSystemServerService::LSPSystemServerService
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:70#void maybeInit(JNIEnv *): ObfuscationManager.init
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Landroid/app/AndroidApp => Lm/R/DWqWC/muuQ/DENdSr/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Landroid/content/res/XModule => LUAHtJ/Vx/CMRf/GbZv/QKXh/JD/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Landroid/content/res/XRes => LUo/MRbeyYH/xMopp/OVTlrn/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Lde/robv/android/xposed/ => LPZHL/HLKXYV/TCgVQv/PoI/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Lorg/lsposed/lspd/core/ => Loyf/zb/FWyQ/kwXBF/hqB/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Lorg/lsposed/lspd/nativebridge/ => Li/z/lljd/QoJDLTwAU/To/OAfku/N/
04-11 21:36:58.062   368   658 D LSPosed : obfuscation.cpp:113#void maybeInit(JNIEnv *): Lorg/lsposed/lspd/service/ => Lzu/TssnXLbqTyWKOGov/iPYl/
04-11 21:36:58.063   368   658 D LSPosed : obfuscation.cpp:116#void maybeInit(JNIEnv *): ObfuscationManager init successfully
04-11 21:36:58.063   368   658 D LSPosed : obfuscation.cpp:194#jobject Java_org_lsposed_lspd_service_ObfuscationManager_obfuscateDex(JNIEnv *, jclass, jobject): fd=63, size=1125376
04-11 21:36:58.069   368   368 W LSPosedDex2Oat: Check mount failed for /apex/com.android.art/bin/dex2oat64
04-11 21:36:58.072   662   662 I LSPosed : Enable dex2oat wrapper
04-11 21:36:58.095   368   368 D LSPosedDex2Oat: Check mount succeeded
04-11 21:36:58.095   368   368 D LSPosedDex2Oat: SELinux status changed
04-11 21:36:58.095   368   645 D LSPosedService: LSPSystemServerService::LSPSystemServerService onRegistration: serial org.lsposed.lspd.service.LSPSystemServerService@dd5f32f
04-11 21:36:58.104   368   663 I LSPosedDex2Oat: Dex2oat wrapper daemon start
04-11 21:36:58.104   368   663 D LSPosedDex2Oat: wrapper path: kh94hfn3kr2o03c8q0gza7ezc4cf8mhd
04-11 21:36:58.108   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:36:58.708   666   666 D LSPosed : service.cpp:284#ScopedLocalRef<jobject> lspd::Service::RequestSystemServerBinder(JNIEnv *): Got binder for system server
04-11 21:36:58.711   368   645 D LSPosedService: LSPSystemServerService.onTransact: code=1598837584
04-11 21:36:58.711   368   645 D LSPosedService: ILSPApplicationService.requestApplicationService: 1000 666 system android.os.BinderProxy@925f8aa
04-11 21:36:58.712   368   645 D LSPosedService: LSPSystemServerService.onTransact requestApplicationService rejected
04-11 21:36:58.712   666   666 D LSPosed : service.cpp:317#ScopedLocalRef<jobject> lspd::Service::RequestApplicationBinderFromSystemServer(JNIEnv *, const ScopedLocalRef<jobject> &): app_binder: 0x0
04-11 21:36:58.712   368   645 D LSPosedService: LSPSystemServerService.onTransact: code=1310096052
04-11 21:36:58.712   368   645 D LSPosedService: LSPApplicationService.onTransact: code=1310096052
04-11 21:36:58.712   666   666 D LSPosed : service.cpp:331#std::tuple<int, size_t> lspd::Service::RequestLSPDex(JNIEnv *, const ScopedLocalRef<jobject> &): fd=57, size=1063436
04-11 21:36:58.712   368   645 D LSPosedService: LSPSystemServerService.onTransact: code=724533732
04-11 21:36:58.712   368   645 D LSPosedService: LSPApplicationService.onTransact: code=724533732
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): android.app.AndroidApp => m.R.DWqWC.muuQ.DENdSr.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): android.content.res.XModule => UAHtJ.Vx.CMRf.GbZv.QKXh.JD.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): android.content.res.XRes => Uo.MRbeyYH.xMopp.OVTlrn.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): de.robv.android.xposed. => PZHL.HLKXYV.TCgVQv.PoI.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): org.lsposed.lspd.core. => oyf.zb.FWyQ.kwXBF.hqB.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): org.lsposed.lspd.nativebridge. => i.z.lljd.QoJDLTwAU.To.OAfku.N.
04-11 21:36:58.713   666   666 D LSPosed : service.cpp:361#std::map<std::string, std::string> lspd::Service::RequestObfuscationMap(JNIEnv *, const ScopedLocalRef<jobject> &): org.lsposed.lspd.service. => zu.TssnXLbqTyWKOGov.iPYl.
04-11 21:36:58.713   666   666 D LSPosed : context.cpp:40#lspd::Context::PreloadedDex::PreloadedDex(int, std::size_t): Context::PreloadedDex::PreloadedDex: fd=57, size=1063436
04-11 21:36:58.718   666   666 D LSPosed : elf_util.cpp:385#bool SandHook::ElfImg::findModuleBase(): found: 7560c5400000-7560c5560000 r--p 00000000 fe:1f 48                         /apex/com.android.art/lib64/libart.so
04-11 21:36:58.718   666   666 D LSPosed : elf_util.cpp:391#bool SandHook::ElfImg::findModuleBase(): update path: /apex/com.android.art/lib64/libart.so
04-11 21:36:58.718   666   666 D LSPosed : elf_util.cpp:411#bool SandHook::ElfImg::findModuleBase(): get module base /apex/com.android.art/lib64/libart.so: 0x7560c5400000
04-11 21:36:58.718   666   666 D LSPosed : elf_util.cpp:86#void SandHook::ElfImg::parse(Elf64_Ehdr *): dynsym header 0x2a8 size 148512
04-11 21:36:58.719   666   666 D LSPosed : elf_util.cpp:106#void SandHook::ElfImg::parse(Elf64_Ehdr *): strtab header 0x3249c size 392576
04-11 21:36:58.720   666   666 D LSPosed : elf_util.cpp:97#void SandHook::ElfImg::parse(Elf64_Ehdr *): symtab header 0x755030 size 303864 found in orgin elf
04-11 21:36:58.720   666   666 D LSPosed : elf_util.cpp:354#Elf64_Addr SandHook::ElfImg::getSymbOffset(std::string_view, uint32_t, uint32_t) const: found _ZN3art9JNIEnvExt16SetTableOverrideEPK18JNINativeInterface 0x601cb0 in /apex/com.android.art/lib64/libart.so in dynsym by gnuhash
04-11 21:36:58.720   666   666 D LSPosed : service.cpp:224#void lspd::Service::HookBridge(const Context &, JNIEnv *): Done InitService
04-11 21:36:58.720   666   666 I LSPosed : skipped system server
04-11 21:36:59.108   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:00.108   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:01.109   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:02.109   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:03.109   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:04.110   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:05.110   368   368 I LSPosedService: service package is not started, wait 1s.
04-11 21:37:05.759   368   620 D LSPosedService: LSPSystemServerService::LSPSystemServerService onRegistration: serial android.os.BinderProxy@46adc9b
04-11 21:37:05.759   368   620 D LSPosedService: Register serial android.os.BinderProxy@46adc9b
04-11 21:37:05.981   666   842 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10109, callingPid=846
04-11 21:37:05.982   846   846 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.systemui
04-11 21:37:06.004   871   871 D LSPosed : magisk_loader.cpp:168#void lspd::MagiskLoader::OnNativeForkAndSpecializePre(JNIEnv *, jint, jintArray &, jstring, jboolean, jstring): skip injecting into WebViewLoader-x86_64 because it has no data dir
04-11 21:37:06.010   871   871 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped WebViewLoader-x86_64
04-11 21:37:06.115   902   902 D LSPosed : magisk_loader.cpp:168#void lspd::MagiskLoader::OnNativeForkAndSpecializePre(JNIEnv *, jint, jintArray &, jstring, jboolean, jstring): skip injecting into webview_zygote because it has no data dir
04-11 21:37:06.117   368   368 V LSPosedService: binder org.lsposed.lspd.service.LSPosedService@c7bd011
04-11 21:37:06.117   666   680 D LSPosed Bridge: onTransact: action=ACTION_SEND_BINDER, callingUid=0, callingPid=368
04-11 21:37:06.118   368   620 D LSPosedService: received system context
04-11 21:37:06.119   666   680 I LSPosed Bridge: binder received
04-11 21:37:06.119   368   368 I LSPosedService: sent service to bridge
04-11 21:37:06.119   368   620 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.121   902   902 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped webview_zygote
04-11 21:37:06.168   368   620 D LSPosed : obfuscation.cpp:194#jobject Java_org_lsposed_lspd_service_ObfuscationManager_obfuscateDex(JNIEnv *, jclass, jobject): fd=72, size=12289440
04-11 21:37:06.174   666   666 V StorageManagerService: Package com.leohearts.alternativeUnlockHook does not have legacy storage
04-11 21:37:06.195   666   919 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1073, callingPid=921
04-11 21:37:06.195   368   808 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.213   666   681 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1002, callingPid=929
04-11 21:37:06.214   368   614 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.216   666   728 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1073, callingPid=939
04-11 21:37:06.216   368   639 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.314   666   916 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1068, callingPid=954
04-11 21:37:06.328   368   645 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.341   666   842 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1000, callingPid=963
04-11 21:37:06.341   368   965 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.344   666   832 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=1001, callingPid=956
04-11 21:37:06.356   368   970 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.392   666   993 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10119, callingPid=969
04-11 21:37:06.392   368   990 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:06.565   666  1013 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10105, callingPid=1061
04-11 21:37:06.566   368   986 D LSPosedService: pm & um are ready, updating cache
04-11 21:37:07.511   368   620 D LSPosed : obfuscation.cpp:194#jobject Java_org_lsposed_lspd_service_ObfuscationManager_obfuscateDex(JNIEnv *, jclass, jobject): fd=74, size=6603148
04-11 21:37:08.165   368   620 D LSPosedService: cached modules
04-11 21:37:08.165   368   620 D LSPosedService: com.leohearts.alternativeUnlockHook /data/app/~~M6rUALIQUhCoAvWokXsiRQ==/com.leohearts.alternativeUnlockHook-zXKKjsmm0f_3_XOyI8wKcg==/base.apk
04-11 21:37:08.168   368   620 D LSPosedService: cached scope
04-11 21:37:08.168   368   620 D LSPosedService: com.leohearts.alternativeUnlockHook/10129
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   620 D LSPosedService: com.android.systemui:fgservices/10109
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   620 D LSPosedService: com.android.systemui:tuner/10109
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   620 D LSPosedService: com.android.systemui/10109
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   620 D LSPosedService: com.android.systemui:sweetsweetdesserts/10109
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   620 D LSPosedService: com.android.systemui:screenshot/10109
04-11 21:37:08.168   368   620 D LSPosedService:        com.leohearts.alternativeUnlockHook
04-11 21:37:08.168   368   808 W lspd    : Long monitor contention with owner binder:368_2 (620) at void org.lsposed.lspd.service.ConfigManager.cacheScopes()(ConfigManager.java:768) waiters=0 in void org.lsposed.lspd.service.ConfigManager.cacheModules() for 1.973s
04-11 21:37:08.169   368   808 D LSPosedService: com.leohearts.alternativeUnlockHook did not change, skip caching it
04-11 21:37:08.169   368   808 D LSPosedService: cached modules
04-11 21:37:08.170   368   808 D LSPosedService: com.leohearts.alternativeUnlockHook /data/app/~~M6rUALIQUhCoAvWokXsiRQ==/com.leohearts.alternativeUnlockHook-zXKKjsmm0f_3_XOyI8wKcg==/base.apk
04-11 21:37:08.170   368   808 I LSPosedService: manager is not installed
04-11 21:37:08.170   368   808 D LSPosedService: Skipped com.android.networkstack.process/1073
04-11 21:37:08.170   368   639 I LSPosedService: manager is not installed
04-11 21:37:08.170   368   639 D LSPosedService: Skipped com.android.networkstack.process/1073
04-11 21:37:08.171   368   965 I LSPosedService: manager is not installed
04-11 21:37:08.171   368   965 D LSPosedService: Skipped com.android.settings/1000
04-11 21:37:08.171   921   921 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.networkstack.process
04-11 21:37:08.171   939   939 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.networkstack.process
04-11 21:37:08.171   368   990 I LSPosedService: manager is not installed
04-11 21:37:08.171   368   990 D LSPosedService: Skipped android.ext.services/10119
04-11 21:37:08.171   969   969 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped android.ext.services
04-11 21:37:08.176   368   620 I LSPosedService: manager is not installed
04-11 21:37:08.177   963   963 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.settings
04-11 21:37:08.177   368   614 I LSPosedService: manager is not installed
04-11 21:37:08.177   368   614 D LSPosedService: Skipped com.android.bluetooth/1002
04-11 21:37:08.178   929   929 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.bluetooth
04-11 21:37:08.178   368   970 I LSPosedService: manager is not installed
04-11 21:37:08.178   368   970 D LSPosedService: Skipped com.android.phone/1001
04-11 21:37:08.178   368   645 I LSPosedService: manager is not installed
04-11 21:37:08.178   368   645 D LSPosedService: Skipped com.android.se/1068
04-11 21:37:08.181   368   986 I LSPosedService: manager is not installed
04-11 21:37:08.181   368   986 D LSPosedService: Skipped com.android.launcher3/10105
04-11 21:37:08.182   954   954 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.se
04-11 21:37:08.183   956   956 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.phone
04-11 21:37:08.183  1061  1061 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.launcher3
04-11 21:37:08.184   368   620 D LSPosedService: registered boot receiver
04-11 21:37:08.185   368   620 D LSPosedService: registered package receiver
04-11 21:37:08.185   368   620 D LSPosedService: registered configuration receiver
04-11 21:37:08.186   368   620 D LSPosedService: registered secret code receiver
04-11 21:37:08.186   368   620 D LSPosedService: registered user info change receiver
04-11 21:37:08.188   368   620 D LSPosedService: registered open manager receiver
04-11 21:37:08.189   368   620 D LSPosedService: registered module scope receiver
04-11 21:37:09.037   666   916 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10116, callingPid=1310
04-11 21:37:09.037   368   620 D LSPosedService: Skipped com.android.cellbroadcastreceiver.module/10116
04-11 21:37:09.039  1310  1310 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.cellbroadcastreceiver.module
04-11 21:37:09.117   666   916 D LSPosed Bridge: android.app.IActivityManager.setActivityController is called
04-11 21:37:09.124   368  1341 D LSPosedService: show status notification = true
04-11 21:37:09.137   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_module_updated', mName=Module update complete, mDescription=, mImportance=4, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=true, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.137   368  1341 D LSPosedService: update notification channel: lsposed_module_updated
04-11 21:37:09.138   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_status', mName=LSPosed status, mDescription=, mImportance=1, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=true, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.138   368  1341 D LSPosedService: update notification channel: lsposed_status
04-11 21:37:09.138   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_module_scope', mName=Scope request, mDescription=, mImportance=4, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=true, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.138   368  1341 D LSPosedService: update notification channel: lsposed_module_scope
04-11 21:37:09.139   368  1341 D LSPosedService: create notification channels for android: []
04-11 21:37:09.269   666   993 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10098, callingPid=1349
04-11 21:37:09.269   368   620 D LSPosedService: Skipped com.android.deskclock/10098
04-11 21:37:09.269  1349  1349 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.deskclock
04-11 21:37:09.483   666   993 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10086, callingPid=1381
04-11 21:37:09.484   368   986 D LSPosedService: Skipped com.android.dialer/10086
04-11 21:37:09.484  1381  1381 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.dialer
04-11 21:37:09.639   368  1341 D LSPosedService: show status notification = true
04-11 21:37:09.639   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_module_updated', mName=Module update complete, mDescription=, mImportance=4, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.639   368  1341 D LSPosedService: update notification channel: lsposed_module_updated
04-11 21:37:09.640   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_status', mName=LSPosed status, mDescription=, mImportance=1, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.640   368  1341 D LSPosedService: update notification channel: lsposed_status
04-11 21:37:09.640   368  1341 D LSPosedService: hasNotificationChannelForSystem: NotificationChannel{mId='lsposed_module_scope', mName=Scope request, mDescription=, mImportance=4, mBypassDnd=false, mLockscreenVisibility=-1000, mSound=content://settings/system/notification_sound, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false}
04-11 21:37:09.640   368  1341 D LSPosedService: update notification channel: lsposed_module_scope
04-11 21:37:09.641   368  1341 D LSPosedService: create notification channels for android: []
04-11 21:37:11.057   666   993 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10047, callingPid=1414
04-11 21:37:11.057   368   620 D LSPosedService: Skipped android.process.acore/10047
04-11 21:37:11.057  1414  1414 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped android.process.acore
04-11 21:37:11.135   666  1013 D LSPosed Bridge: onTransact: action=ACTION_GET_BINDER, callingUid=10112, callingPid=1436
04-11 21:37:11.135   368   620 D LSPosedService: Skipped com.android.permissioncontroller/10112
04-11 21:37:11.135  1436  1436 D LSPosed : magisk_loader.cpp:227#void lspd::MagiskLoader::OnNativeForkAndSpecializePost(JNIEnv *, jstring, jstring): skipped com.android.permissioncontroller

Normal: Screenshot_20240411_211017

Failure: image

leohearts commented 7 months ago

urr sorry this is not the debug version. capturing logs on debug build, please wait. Done! updated above ^

leohearts commented 7 months ago

And unfiltered logcat files: logcat-failure.txt logcat-success.txt

mywalkb commented 7 months ago

have you also tried the original LSPosed?

mywalkb commented 7 months ago

I can't reproduce your issue. I tested on avd a13 e a14, systemui is always hooked and I can unlock with fake and real password. I used pin as unlock method and I tested 1.0 apk version. I rebooted, poweroff/poweron almost 10 times for each version of android and I got always 100% success.

leohearts commented 7 months ago

I can't reproduce your issue. I tested on avd a13 e a14, systemui is always hooked and I can unlock with fake and real password. I used pin as unlock method and I tested 1.0 apk version. I rebooted, poweroff/poweron almost 10 times for each version of android and I got always 100% success.

Weird. I didn't expect this issue either as this never happened on my test phone , only on Android 13 avd some test failed. I'll forget this issue until any of my users encounter this on a real phone.

mywalkb commented 7 months ago

On 2 avd I was unable to reproduce the issue, I will try on a real device with Android 14 and Android 12.

leohearts commented 7 months ago

On 2 avd I was unable to reproduce the issue, I will try on a real device with Android 14 and Android 12.

I didn't reproduce this issue on real devices either