Commit Graph

13 Commits (b6587525e0722fef4add312fd2236d48a73124ba)

Author SHA1 Message Date
FriendlyNeighborhoodShane b6587525e0 npem: add LOS network allowlisting
LOS now uses a new uid-based network allowlist, which seems to not grant
internet access on boot sometimes. Automate enabling access.
1 year ago
FriendlyNeighborhoodShane cd4e235849 npem: factor out get_uid 1 year ago
FriendlyNeighborhoodShane 50ec605b91 npem: fix permissions not being granted
I messed up with the last fix. While that solved the case where there were
both 'granted=true' and 'granted=false' entries, it introduced a regression.

It was written with the assumption that whenever a permission is not granted,
there will be 'granted=false' entries. That assumption was not tested well
at the time, and further testing has revealed that there are also many
situations where there are no 'granted=' entries for permissions at all, not
even 'false'.

Since there is no defined spec for the output of dumpsys, we just do a
pessimistic case-by-case parsing of its output.
2 years ago
Christopher Roy Bratusek 12a46ac931 nlp backends as user app 2 years ago
Christopher Roy Bratusek 6475bfbfc0 drop droidguard helper 2 years ago
Christopher Roy Bratusek 21308161ea npem improvements: @FriendlyNeighborhoodShane 2 years ago
Christopher Roy Bratusek 8d00391249 Merge branch 'perm' into 'master'
nanodroid-perm: allow running through ADB shell (without root)

See merge request Nanolx/NanoDroid!31
4 years ago
Christopher Roy Bratusek 0f61d0b733 nanodroid-perm: add missing error() func 4 years ago
FriendlyNeighborhoodShane 237ad03c49 nanodroid-perm: allow running through ADB shell (without root)
- Use `pm list` instead of packages.list to determine installed apps
 - Allow executing user to be "shell" (ADB)
4 years ago
Christopher Roy Bratusek 0437a12adf nanodroid-perm:
- for restricted permissions pass --user to pm
- add newly required restricted permission android.permission.RECEIVE_SMS
4 years ago
Christopher Roy Bratusek a33e745a26 move all utilities from /system/xbin to /system/bin
drop broken links to column utility from microG package
4 years ago
Christopher Roy Bratusek 5db6c6cbb7 use system/{,x}bin programatically 6 years ago
Christopher Roy Bratusek 7c9797de6a novl split #2: nanodroid-perm 6 years ago