ssh to android /system/bin/pm SEGV 
pm segfaults if LD_LIBRARY_PATH is missing like on login with ssh
$ su -c "/system/bin/pm"
[1] Segmentation fault pm
$ su -c "LD_LIBRARY_PATH=/vendor/lib:/system/lib pm"


if pm is not found like this
$ /system/bin/pm list packages
sh: /system/bin/pm: not found
you can do
/system/bin/sh -c "/system/bin/pm list packages"
or prepend /system/bin/pm with
#!/system/bin/sh


[ view entry ] ( 939 views )   |  print article

<<First <Back | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Next> Last>>