1 This directory contains all user-visible permissions declared 2 by the core platform and built-in applications for each platform 3 version. 4 5 The file can be generated by running the following command 6 on a freshly wiped device (that does not have any third party apps 7 installed): 8 9 adb shell pm list permissions -u -g | sort | grep "permission:" | tr -d "\\r" > prebuilts/sdk/perm/NN.txt 10