my device:htcg14 rooted
i can exec pm on emulator.
But my device does not work. Before I exec "su",it works fine.
shell@android:/ $ pm
usage: pm list packages [-f] [-d] [-e] [-s] [-e] [-u] [FILTER]
pm list permission-groups
pm list permissions [-g] [-f] [-d] [-u] [GROUP]
But when I exec su,then exec pm,i get an error below.Why?
shell@android:/ $ su
su
shell@android:/ # pm
pm
[1] + Stopped (signal) pm
shell@android:/ # pm
pm
[2] + Stopped (signal) pm
[1] - Segmentation fault pm
shell@android:/ # busybox pm
busybox pm
pm: applet not found
[2] + Segmentation fault pm
1|shell@android:/ #
how can i execute pm? help...
Upgrade your
su
binary - go toSuperUser
app and check for updates. If that doesn't solve your problem then use some other app likeSuperSU
.In your established shell session, either remote or local, ensure the LD_LIBRARY_PATH envar is set: