Closed ryuya0124 closed 1 month ago
https://github.com/Chipppppppppp/LIME/releases/tag/v1.9.2 v1.9.2 でバグを修正したのですが、起動できますか?
https://github.com/Chipppppppppp/LIME/releases/tag/v1.9.2 v1.9.2 でバグを修正したのですが、起動できますか?
まだ起動しないですね。
またログを載せときます。
--------- 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
~~https://github.com/LSPosed/LSPatch/issues/178#issuecomment-1481518356 これについては、こちらのissuesが参考になるかもしれません。~~
JingMatrix版を適用することで解決します。
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
以下が上記コマンドの実行結果です。再現する手順
LINEとLIMEをダウンロードしてLSPatchでパッチ、インストール アプリを開こうとするとクラッシュ
有効にしている LIME の設定
VOOM アイコンを削除, ニュースまたは通話アイコンを削除, 広告を削除, おすすめを削除, LYP プレミアムのおすすめを削除, WebView を規定のブラウザにリダイレクト, ブラウザアプリで開く, 送信取り消しを拒否, トラッキング通信をブロック
バージョンの確認