pm path is no longer possible - Why?
Higher Android versions + more security = more restrictions + more commands no longer working.
pmas well as many other stuff from /system/bin should work only in ADB.
←win-bug is fixed with the workaround above (on pixel). But not my question about the Samsung
nl/symlink and also not why the devices behave differently with the same build (line 46)? In a99 the symlink would not be necessary, but it is still generated in pixel. What would an
Os.symlink (path, path)look like that did that?
NullPointerException: Attept to invoke virtual method 'android.content.pm.PackageManager' on a null object
This says nothing about the problem. In fact, https://github.com/termux/termux-app/blob/master/app/src/main/java/com/termux/app/RunCommandService.java doesn't use
android.content.pm.PackageManager at all.
Permissions request wasn't in the right place. My bad, it works fine, thanks for the refference!