VPNHotspot: Failed to launch root daemon

Device: Unihertz Jelly Star Android 13 Version: 2.16.6-g (Google Play) Crash log:

09-06 01:17:18.895 25915 25915 F linker  : CANNOT LINK EXECUTABLE "/proc/25140/exe": library "libnativeloader.so" not found: needed by main executable
09-06 01:17:18.896 25140 25188 E RootManager: CANNOT LINK EXECUTABLE "/proc/25140/exe": library "libnativeloader.so" not found: needed by main executable
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback: be.mygod.librootkotlinx.RootServer$LaunchException: Failed to launch root daemon
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:176)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.access$doInit(RootServer.kt:20)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer$init$2.invokeSuspend(RootServer.kt:228)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback: Caused by: java.io.EOFException
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.lookForToken(RootServer.kt:132)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:174)
09-06 01:17:18.897 25140 25188 W WifiApCommands$registerSoftApCallback:         ... 10 more
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback: be.mygod.librootkotlinx.RootServer$LaunchException: Failed to launch root daemon
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:176)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.access$doInit(RootServer.kt:20)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer$init$2.invokeSuspend(RootServer.kt:228)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback: Caused by: java.io.EOFException
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.lookForToken(RootServer.kt:132)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:174)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         ... 10 more
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback: be.mygod.librootkotlinx.RootServer$LaunchException: Failed to launch root daemon
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:176)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.access$doInit(RootServer.kt:20)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer$init$2.invokeSuspend(RootServer.kt:228)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback: Caused by: java.io.EOFException
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.lookForToken(RootServer.kt:132)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         at be.mygod.librootkotlinx.RootServer.doInit(RootServer.kt:174)
09-06 01:17:18.898 25140 25188 W WifiApCommands$registerSoftApCallback:         ... 10 more
09-06 01:17:18.888 25917 25917 I ip      : type=1400 audit(0.0:59105): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tclass=netlink_route_socket permissive=1 bug=b/155595000 app=be.mygod.vpnhotspot
09-06 01:17:18.888 25917 25917 I ip      : type=1400 audit(0.0:59106): avc: denied { nlmsg_readpriv } for scontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tclass=netlink_route_socket permissive=1 bug=b/155595000 app=be.mygod.vpnhotspot
09-06 01:17:18.888 25917 25917 I ip      : type=1400 audit(0.0:59107): avc: denied { read } for dev="nsfs" ino=4026531975 scontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1 app=be.mygod.vpnhotspot
09-06 01:17:18.888 25917 25917 I ip      : type=1400 audit(0.0:59108): avc: denied { open } for path="net:[4026531975]" dev="nsfs" ino=4026531975 scontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=1 app=be.mygod.vpnhotspot
09-06 01:17:18.900 25918 25918 I ip      : type=1400 audit(0.0:59109): avc: denied { nlmsg_getneigh } for scontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c43,c257,c512,c768 tclass=netlink_route_socket permissive=1 bug=b/155595000

The file libnativeloader.so is not found in /system/lib and /system/lib64. Only one similarity file named libnativeloader_lazy.so in it.

Found libnativeloader.so in apex com.android.art.

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Reactions: 1
  • Comments: 32 (17 by maintainers)

Commits related to this issue

Most upvoted comments

Screenshot_20230907-062043 got hello world after seconds

What modifications did you do to framework.jar? Did you change anything in java.io?

Something about disable signature check

android.content.pm.ApplicationInfo
android.content.pm.PackageParser
android.content.pm.PackageParser$SigningDetails
android.content.pm.SigningDetails
android.content.res.AssetManager
android.util.apk.ApkSignatureVerifier
android.util.jar.StrictJarVerifier
android.util.apk.ApkSignatureSchemeV2Verifier
android.util.apk.ApkSignatureSchemeV3Verifier
android.util.apk.ApkSigningBlockUtils
android.util.apk.ApkSignatureVerifier

😂 You are really impatient, aren’t you?