special files and paths
/data/local/userinit.sh # init script
/etc/security/cacerts # root certificates
BL = BootLoader
AP = PDA (Firmware)
CP = Phone
CSC = CSC
List encrypted volumes #
mount | grep dm-
Package Manager #
pm help
pm list packages
pm list features
pm list path <PACKAGE> (returns the path to the apk)
pm install <APK-FILE>
pm list users
pm create-user
# list all apks...
for i in $(pm list packages) ; do q=$(pm path ${i#package:}) ; echo ${q#package:} ; done
To make an installed package available for another user, look up $UID
with
pm list users
and $APPID
with pm list packages
, then run:
pm install-existing --user $UID $APPID
To share data between different accounts use the /sdcard/obb
folder.