Commit Graph

220 Commits (master)

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 9dcde11d37 nanodroid-overlay: support /system/system_ext/ 3 years ago
Christopher Roy Bratusek 5da7c4c2a4 nanodroid-overlay: check if config file exists before doing anything (-x/--create) 3 years ago
Vladimir Filatov b39488c93b Add android.permission.RECEIVE_SMS to microg-permissions.xml because of this changes in microG
c3bfb63f27 (diff-bac5d7388f894ac4b24366118a088e6c5be1aa240c7317437291a8a8bea0316f)
0ee18ae6f7
3 years ago
Christopher Roy Bratusek e8c32488ca Bash: new build with official patches 001-004 3 years ago
Christopher Roy Bratusek 58999a69f2 update sysconfig (from OpenGApps experimental R changes) 3 years ago
Christopher Roy Bratusek a39e89fffc update GNU Bash to 5.1.0-1 w/ Debian patches 3 years ago
Vladimir Filatov 9ba5c3ff7a Add NewPipe F-Droid repo to additional_repos.xml 3 years ago
Christopher Roy Bratusek 4b7419cf71 nanodroid-overlay: change order in which config files are read 4 years ago
Christopher Roy Bratusek 2d891c68f2 nanodroid-util: add -R/--reset-permissions switch 4 years ago
Christopher Roy Bratusek b76553e8e4 allow reading configuration files from /system/addon.d
* OTA compat in System Mode for nanodroid-overlay
* allow reading config files when /data can't be mounted from recovery
4 years ago
Christopher Roy Bratusek e8a5f4122f nanodroid-overlay: likewise 4 years ago
Christopher Roy Bratusek 21e3b87a08 nanodroid-overlay: fix regression, issue #161 4 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 99c2897a87 nanodroid-overlay: fix creating config if none found 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 f2403b03ae nanodroid-overlay: further fixes 4 years ago
Christopher Roy Bratusek b33afa73d8 nanodroid-overlay: detect whether running from addon.d 4 years ago
Christopher Roy Bratusek 88ac502aba CommonInstaller, nandoroid-overlay:
- fix /system mode installation
- allow installation directly after Magisk without reboot
4 years ago
Christopher Roy Bratusek 8e37704061 CommonInstaller: minor upgrades 4 years ago
Christopher Roy Bratusek 21637a637f update GNU Bash to 5.1-rc1 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 ebf3588c9b nanodroid-overlay: a bit nicer output 4 years ago
Christopher Roy Bratusek 9e1b637be6 nanodroid-overlay: one more fix 4 years ago
Christopher Roy Bratusek 35ee26f71d nanodroid-overlay: fix 4 years ago
Christopher Roy Bratusek 641f2e116e nanodroid-overlay: minor fix 4 years ago
Christopher Roy Bratusek 3cec4a6185 nanodroid-overlay: minor fix 4 years ago
Christopher Roy Bratusek 55808b678b the column utility is no longer needed 4 years ago
Christopher Roy Bratusek a37cee41ba nanodroid-overlay: ensure output is alphabetically sorted 4 years ago
Christopher Roy Bratusek 798d89c3c9 nanodroid-overlay:
* --genconfig: don't forcefully set config to /data/.nanodroid-overlay
* in System mode remove apps but don't back them up
  * limits nanodroid-overlay to bare minimum functionality in System Mode
  * but makes it possible to use it from recoveries which can't decrypt /data
* major code simplification
4 years ago
Christopher Roy Bratusek 385cc98617 s/! -z/-n/g 4 years ago
Christopher Roy Bratusek 07bf572656 drop shell utilities 4 years ago
Christopher Roy Bratusek 078bc8e0a6 update GNU Bash to 5.1-beta1 4 years ago
Christopher Roy Bratusek de1b9fcf0d sysconfig: whitelist Aurora Services 4 years ago
Christopher Roy Bratusek 2dfe5dfbb3 drop useless ^ 4 years ago
Christopher Roy Bratusek 87de786783 CommonInstaller/nanodroid-overlay: ignore empty lines aswell 4 years ago
Christopher Roy Bratusek c352aa4f3a NanoDroid-Overlay: ignore commented out lines 4 years ago
Christopher Roy Bratusek 7cb17e5ac5 nanodroid-perm: add ACCESS_BACKGROUND_LOCATION to microG 4 years ago
Christopher Roy Bratusek 3610af71be CommonInstaller: add android.permission.ACCESS_BACKGROUND_LOCATION to default-permission on SDK 29+ 4 years ago
Christopher Roy Bratusek 5e06807140 final one 4 years ago
Christopher Roy Bratusek 2bd9edcfd9 one more path change for GNU Bash 4 years ago
Christopher Roy Bratusek f809cdabf6 improved GNU Bash build with changed default paths (see ChangeLog) 4 years ago
Christopher Roy Bratusek bad028dc56 update GNU Bash to 5.1-alpha1 (with Debian GNU/Linux patches) 4 years ago