Chipppppppppp / LIME

Adkiller for LINE
MIT License
448 stars 29 forks source link

Galaxy S24 Ultra One UI 6.1 Android14 でLIME 1.9.0以上が起動不能 #146

Closed ryuya0124 closed 1 month ago

ryuya0124 commented 5 months ago

LSPatch 使用の有無

内容の詳細

One UI 6.1のGalaxy S24 UltraでLS PatchでLIME 1.9.0以上をパッチすると、LINEが起動した瞬間にクラッシュする。(非root) 端末再起動、再インストール、データ削除、キャッシュクリアを実施しても症状は変わりません。

1.8.1までは問題なく起動可能です。 パッチをしていないLINEも起動可能です。

while true; do logcat --pid=$(pidof -s jp.naver.line.android) '*':W; done 以下が上記コマンドの実行結果です。

--------- beginning of main
06-23 19:53:45.500 25971 25971 I er.line.android: Using CollectorTypeCMC GC.
06-23 19:53:45.503 25971 25971 E er.line.android: Not starting debugger since process cannot load the jdwp agent.
06-23 19:53:45.507 25971 25971 D ActivityThread: setConscryptValidator
06-23 19:53:45.507 25971 25971 D ActivityThread: setConscryptValidator - put
06-23 19:53:45.517 25971 25971 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10701; state: ENABLED
06-23 19:53:45.517 25971 25971 D CompatibilityChangeReporter: Compat change id reported: 242716250; UID 10701; state: ENABLED
06-23 19:53:45.531 25971 25971 D nativeloader: Configuring clns-4 for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~s3XJpdlUbjR4IP4rP12kaw==/jp.naver.line.android-w84HFus9vbjh67MK3a2h7g==/lib/arm64:/data/app/~~s3XJpdlUbjR4IP4rP12kaw==/jp.naver.line.android-w84HFus9vbjh67MK3a2h7g==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/jp.naver.line.android
06-23 19:53:45.531 25971 25971 D nativeloader: Extending system_exposed_libraries: libhumantracking.arcsoft.so:libPortraitDistortionCorrection.arcsoft.so:libPortraitDistortionCorrectionCali.arcsoft.so:libface_landmark.arcsoft.so:libFacialStickerEngine.arcsoft.so:libfrtracking_engine.arcsoft.so:libFaceRecognition.arcsoft.so:libveengine.arcsoft.so:lib_pet_detection.arcsoft.so:libae_bracket_hdr.arcsoft.so:libdigital_tele_scope.arcsoft.so:libdigital_tele_scope_rawsr.arcsoft.so:libsf_tetra_enhance.arcsoft.so:libhybrid_high_dynamic_range.arcsoft.so:libimage_enhancement.arcsoft.so:liblow_light_hdr.arcsoft.so:libmacroclearshot_raw.arcsoft.so:libhigh_dynamic_range.arcsoft.so:libsuperresolution_raw.arcsoft.so:libobjectcapture_jni.arcsoft.so:libobjectcapture.arcsoft.so:libFacialAttributeDetection.arcsoft.so:libaudiomirroring_jni.audiomirroring.samsung.so:libBeauty_v4.camera.samsung.so:libexifa.camera.samsung.so:libjpega.camera.samsung.so:libOpenCv.camera.samsung.so:libaifrcInterface.camera.samsung.so:libVideoClassifier.camera.samsung.so:libImageScreener.camera.sams
06-23 19:53:45.535 25971 25971 D nativeloader: Configuring clns-5 for other apk /data/app/~~s3XJpdlUbjR4IP4rP12kaw==/jp.naver.line.android-w84HFus9vbjh67MK3a2h7g==/base.apk. target_sdk_version=34, uses_libraries=libOpenCL.so, library_path=/data/app/~~s3XJpdlUbjR4IP4rP12kaw==/jp.naver.line.android-w84HFus9vbjh67MK3a2h7g==/lib/arm64:/data/app/~~s3XJpdlUbjR4IP4rP12kaw==/jp.naver.line.android-w84HFus9vbjh67MK3a2h7g==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/jp.naver.line.android
06-23 19:53:45.538 25971 25971 I LSPatch-MetaLoader: Bootstrap loader from embedment
06-23 19:53:45.555 25971 25971 E LSPlant : Hook Fails: _ZN3art11ClassLinker26VisiblyInitializedCallback29AdjustThreadVisibilityCounterEPNS_6ThreadEl
06-23 19:53:45.567 25971 25971 I LSPatch : Use manager: false
06-23 19:53:45.567 25971 25971 I LSPatch : Signature bypass level: 2
06-23 19:53:45.573 25971 25971 I LSPatch : hooked app initialized: android.app.LoadedApk@1c219a8
06-23 19:53:45.577 25971 25971 W LSPatch : Original AppComponentFactory not found: androidx.core.app.CoreComponentFactory
06-23 19:53:45.577 25971 25971 D LSPatch : Initialize service client
06-23 19:53:45.581 25971 25971 D LSPatch : Processing /data/misc/profiles/cur/0/jp.naver.line.android/primary.prof
06-23 19:53:45.582 25971 25971 E LSPatch : Failed to disable profile file /data/misc/profiles/cur/0/jp.naver.line.android/primary.prof
06-23 19:53:45.582 25971 25971 E LSPatch : java.nio.file.NoSuchFileException: /data/misc/profiles/cur/0/jp.naver.line.android/primary.prof
06-23 19:53:45.582 25971 25971 E LSPatch :      at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
06-23 19:53:45.582 25971 25971 E LSPatch :      at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:150)
06-23 19:53:45.582 25971 25971 E LSPatch :      at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:115)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.nio.file.Files.readAttributes(Files.java:1737)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.nio.file.Files.size(Files.java:2332)
06-23 19:53:45.582 25971 25971 E LSPatch :      at org.lsposed.lspatch.loader.LSPApplication.disableProfile(LSPApplication.java:210)
06-23 19:53:45.582 25971 25971 E LSPatch :      at org.lsposed.lspatch.loader.LSPApplication.onLoad(LSPApplication.java:87)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.Runtime.nativeLoad(Native Method)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.Runtime.nativeLoad(Runtime.java:1126)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.Runtime.load0(Runtime.java:931)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.System.load(System.java:1625)
06-23 19:53:45.582 25971 25971 E LSPatch :      at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:370)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.Class.newInstance(Native Method)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.LoadedApk.createAppFactory(LoadedApk.java:290)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1056)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.LoadedApk.getResources(LoadedApk.java:1463)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ContextImpl.createAppContext(ContextImpl.java:3487)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ContextImpl.createAppContext(ContextImpl.java:3479)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7564)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.os.Handler.dispatchMessage(Handler.java:106)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.os.Looper.loopOnce(Looper.java:230)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.os.Looper.loop(Looper.java:319)
06-23 19:53:45.582 25971 25971 E LSPatch :      at android.app.ActivityThread.main(ActivityThread.java:8918)
06-23 19:53:45.582 25971 25971 E LSPatch :      at java.lang.reflect.Method.invoke(Native Method)
06-23 19:53:45.582 25971 25971 E LSPatch :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
06-23 19:53:45.582 25971 25971 E LSPatch :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
06-23 19:53:45.585 25971 25971 I LSPatch : Bootstrap Xposed
06-23 19:53:45.586 25971 25971 I LSPosed-Bridge: Loading module io.github.chipppppppppp.lime from /data/user/0/jp.naver.line.android/cache/lspatch/io.github.chipppppppppp.lime/2237664934.apk
06-23 19:53:45.586 25971 25971 W er.line.android: Unsupported class loader
06-23 19:53:45.587 25971 25971 I LSPosed-Bridge:   Loading class io.github.chipppppppppp.lime.Main
06-23 19:53:45.591 25971 25971 I LSPatch : Load modules
06-23 19:53:45.591 25971 25971 E er.line.android: Attempt to load writable dex file: /data/user/0/jp.naver.line.android/cache/lspatch/origin/4168843475.apk
06-23 19:53:45.591 25971 25971 D CompatibilityChangeReporter: Compat change id reported: 218865702; UID 10701; state: ENABLED
06-23 19:53:45.591 25971 25971 D AndroidRuntime: Shutting down VM
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge: Crash unexpectedly: java.lang.ExceptionInInitializerError
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:420)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.Class.newInstance(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.createAppFactory(LoadedApk.java:290)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1056)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.getResources(LoadedApk.java:1463)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3487)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3479)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7564)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.os.Handler.dispatchMessage(Handler.java:106)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.os.Looper.loopOnce(Looper.java:230)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.os.Looper.loop(Looper.java:319)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ActivityThread.main(ActivityThread.java:8918)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.reflect.Method.invoke(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge: Caused by: java.lang.SecurityException: Writable dex file '/data/user/0/jp.naver.line.android/cache/lspatch/origin/4168843475.apk' is not allowed.
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexFile.openDexFileNative(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexFile.openDexFile(DexFile.java:406)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.reflect.Method.invoke(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(XposedBridge.java:471)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at LSPHooker_.openDexFile(Unknown Source:24)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexFile.<init>(DexFile.java:128)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexFile.<init>(DexFile.java:101)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexPathList.makeDexElements(DexPathList.java:397)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.DexPathList.<init>(DexPathList.java:166)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1051)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at org.lsposed.lspatch.loader.LSPLoader.initModules(LSPLoader.java:19)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at org.lsposed.lspatch.loader.LSPApplication.onLoad(LSPApplication.java:94)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.Runtime.nativeLoad(Native Method)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.Runtime.nativeLoad(Runtime.java:1126)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.Runtime.load0(Runtime.java:931)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at java.lang.System.load(System.java:1625)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:370)
06-23 19:53:45.592 25971 25971 I LSPosed-Bridge:        ... 17 more
--------- beginning of crash
06-23 19:53:45.592 25971 25971 E AndroidRuntime: FATAL EXCEPTION: main
06-23 19:53:45.592 25971 25971 E AndroidRuntime: Process: jp.naver.line.android, PID: 25971
06-23 19:53:45.592 25971 25971 E AndroidRuntime: java.lang.ExceptionInInitializerError
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:420)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.Class.newInstance(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.createAppFactory(LoadedApk.java:290)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1056)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.getResources(LoadedApk.java:1463)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3487)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3479)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7564)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:230)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:319)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8918)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
06-23 19:53:45.592 25971 25971 E AndroidRuntime: Caused by: java.lang.SecurityException: Writable dex file '/data/user/0/jp.naver.line.android/cache/lspatch/origin/4168843475.apk' is not allowed.
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexFile.openDexFileNative(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexFile.openDexFile(DexFile.java:406)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(XposedBridge.java:471)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at LSPHooker_.openDexFile(Unknown Source:24)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexFile.<init>(DexFile.java:128)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexFile.<init>(DexFile.java:101)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexPathList.makeDexElements(DexPathList.java:397)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.DexPathList.<init>(DexPathList.java:166)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1051)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at org.lsposed.lspatch.loader.LSPLoader.initModules(LSPLoader.java:19)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at org.lsposed.lspatch.loader.LSPApplication.onLoad(LSPApplication.java:94)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.Runtime.nativeLoad(Native Method)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.Runtime.nativeLoad(Runtime.java:1126)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.Runtime.load0(Runtime.java:931)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at java.lang.System.load(System.java:1625)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:370)
06-23 19:53:45.592 25971 25971 E AndroidRuntime:        ... 17 more
06-23 19:53:45.605 25971 25971 I Process : Sending signal. PID: 25971 SIG: 9

再現する手順

LINEとLIMEをダウンロードしてLSPatchでパッチ、インストール アプリを開こうとするとクラッシュ

有効にしている LIME の設定

VOOM アイコンを削除, ニュースまたは通話アイコンを削除, 広告を削除, おすすめを削除, LYP プレミアムのおすすめを削除, WebView を規定のブラウザにリダイレクト, ブラウザアプリで開く, 送信取り消しを拒否, トラッキング通信をブロック

バージョンの確認

Chipppppppppp commented 5 months ago

https://github.com/Chipppppppppp/LIME/releases/tag/v1.9.2 v1.9.2 でバグを修正したのですが、起動できますか?

ryuya0124 commented 5 months ago

https://github.com/Chipppppppppp/LIME/releases/tag/v1.9.2 v1.9.2 でバグを修正したのですが、起動できますか?

まだ起動しないですね。

ryuya0124 commented 5 months ago

またログを載せときます。

--------- beginning of main
06-24 07:40:54.263 16800 16800 E er.line.android: Not starting debugger since process cannot load the jdwp agent.
06-24 07:40:54.307 16800 16800 E LSPlant : Hook Fails: _ZN3art11ClassLinker26VisiblyInitializedCallback29AdjustThreadVisibilityCounterEPNS_6ThreadEl
06-24 07:40:54.323 16800 16800 W LSPatch : Original AppComponentFactory not found: androidx.core.app.CoreComponentFactory
06-24 07:40:54.326 16800 16800 E LSPatch : Failed to disable profile file /data/misc/profiles/cur/0/jp.naver.line.android/primary.prof
06-24 07:40:54.326 16800 16800 E LSPatch : java.nio.file.NoSuchFileException: /data/misc/profiles/cur/0/jp.naver.line.android/primary.prof
06-24 07:40:54.326 16800 16800 E LSPatch :      at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
06-24 07:40:54.326 16800 16800 E LSPatch :      at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:150)
06-24 07:40:54.326 16800 16800 E LSPatch :      at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:115)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.nio.file.Files.readAttributes(Files.java:1737)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.nio.file.Files.size(Files.java:2332)
06-24 07:40:54.326 16800 16800 E LSPatch :      at org.lsposed.lspatch.loader.LSPApplication.disableProfile(LSPApplication.java:210)
06-24 07:40:54.326 16800 16800 E LSPatch :      at org.lsposed.lspatch.loader.LSPApplication.onLoad(LSPApplication.java:87)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.Runtime.nativeLoad(Native Method)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.Runtime.nativeLoad(Runtime.java:1126)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.Runtime.load0(Runtime.java:931)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.System.load(System.java:1625)
06-24 07:40:54.326 16800 16800 E LSPatch :      at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:370)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.Class.newInstance(Native Method)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.LoadedApk.createAppFactory(LoadedApk.java:290)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1056)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.LoadedApk.getResources(LoadedApk.java:1463)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ContextImpl.createAppContext(ContextImpl.java:3487)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ContextImpl.createAppContext(ContextImpl.java:3479)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7564)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.os.Handler.dispatchMessage(Handler.java:106)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.os.Looper.loopOnce(Looper.java:230)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.os.Looper.loop(Looper.java:319)
06-24 07:40:54.326 16800 16800 E LSPatch :      at android.app.ActivityThread.main(ActivityThread.java:8918)
06-24 07:40:54.326 16800 16800 E LSPatch :      at java.lang.reflect.Method.invoke(Native Method)
06-24 07:40:54.326 16800 16800 E LSPatch :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
06-24 07:40:54.326 16800 16800 E LSPatch :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
06-24 07:40:54.333 16800 16800 W er.line.android: Unsupported class loader
06-24 07:40:54.338 16800 16800 E er.line.android: Attempt to load writable dex file: /data/user/0/jp.naver.line.android/cache/lspatch/origin/4168843475.apk
--------- beginning of crash
06-24 07:40:54.339 16800 16800 E AndroidRuntime: FATAL EXCEPTION: main
06-24 07:40:54.339 16800 16800 E AndroidRuntime: Process: jp.naver.line.android, PID: 16800
06-24 07:40:54.339 16800 16800 E AndroidRuntime: java.lang.ExceptionInInitializerError
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:420)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.Class.newInstance(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.createAppFactory(LoadedApk.java:290)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1056)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.getResources(LoadedApk.java:1463)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3487)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ContextImpl.createAppContext(ContextImpl.java:3479)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7564)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2478)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.os.Looper.loopOnce(Looper.java:230)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:319)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:8918)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
06-24 07:40:54.339 16800 16800 E AndroidRuntime: Caused by: java.lang.SecurityException: Writable dex file '/data/user/0/jp.naver.line.android/cache/lspatch/origin/4168843475.apk' is not allowed.
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexFile.openDexFileNative(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexFile.openDexFile(DexFile.java:406)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at org.lsposed.lspd.nativebridge.HookBridge.invokeOriginalMethod(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(XposedBridge.java:471)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at LSPHooker_.openDexFile(Unknown Source:24)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexFile.<init>(DexFile.java:128)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexFile.<init>(DexFile.java:101)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexPathList.makeDexElements(DexPathList.java:397)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.DexPathList.<init>(DexPathList.java:166)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1051)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at android.app.LoadedApk.getClassLoader(LoadedApk.java:1143)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at org.lsposed.lspatch.loader.LSPLoader.initModules(LSPLoader.java:19)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at org.lsposed.lspatch.loader.LSPApplication.onLoad(LSPApplication.java:94)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.Runtime.nativeLoad(Native Method)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.Runtime.nativeLoad(Runtime.java:1126)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.Runtime.load0(Runtime.java:931)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at java.lang.System.load(System.java:1625)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        at org.lsposed.lspatch.metaloader.LSPAppComponentFactoryStub.<clinit>(Unknown Source:370)
06-24 07:40:54.339 16800 16800 E AndroidRuntime:        ... 17 more
areteruhiro commented 2 months ago

~~https://github.com/LSPosed/LSPatch/issues/178#issuecomment-1481518356 これについては、こちらのissuesが参考になるかもしれません。~~

s1204IT commented 1 month ago

JingMatrix版を適用することで解決します。