19
Condor
6y

me@termux $ su -c pm list packages
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died at [...]

Hmm, strange.. wasn't that the proper command? 🤔
Maybe it's SELinux that's at it again? It's giving permission errors with /sys/class/power_supply/battery/capacity as well, which can only be solved by disabling SELinux it seems.

me@termux $ su -c setenforce 0
me@termux $ su -c pm list packages
(Gives list)

So it was SELinux after all.. FUCKING PIECE OF SHIT!!!

Comments
  • 4
    Selinux is there for a reason. Setting enforce to zero 😅😅😥..
  • 5
    @yendenikhil hah, damn right. Whenever I get to it again, I'll see how I can add it to the init somehow. No idea why Google chose to put this in Android over tweaking the standard DAC (file permissions, users and groups). It adds so much unnecessary complexity to the system.
Add Comment