255 Commits (235beff9558fa2a60d8246713eec7c488d2b33ed)
 

Author SHA1 Message Date
FriendlyNeighborhoodShane 235beff955 conf: bump versions 3 years ago
FriendlyNeighborhoodShane dd25765cb6 npem: install microG APKs as user app
The init script was used to do it before, but init.d has been all but
abandoned by ROMs universally, so effectively the only situation in which
the init script runs is for Magisk.

This change will be very helpful for non-Magisk users, as they will no
longer have to extract and install the APK by hand.

Also deduplicate code from init script and make it just call npem.
3 years ago
FriendlyNeighborhoodShane 6489b85d56 npem: add new microG perms
These were added by microG updates about covid tracing, etc.
3 years ago
FriendlyNeighborhoodShane 45850cebd6 npem: fix false positive in permission check
Sometimes when a permission is not granted (e.g. when a default permission
to a system app is ungranted by the user), dumpsys emits two lines about
it, one with granted=true and the GRANTED_BY_DEFAULT flag.

Since we are not properly parsing flags and getting the full context, just
reverse the check to make sure the value doesn't fall through.

A 'false negative' grant won't hurt anyway.
3 years ago
FriendlyNeighborhoodShane 8aa22acfa0 npem: grant permissions to wifi and GSM backends
NanoDroid didn't include these backends.
3 years ago
FriendlyNeighborhoodShane 81294c7c06 res: add npem to res as part of repo
MinMicroG has always had to modify npem for its own apps, but now NanoDroid
seems to have gone on hiatus, and important changes are sitting in PRs.

I fgfure it'd be more convenient if we just maintain a clone in-tree and
keep it up to date with NanoDroid's changes.
3 years ago
FriendlyNeighborhoodShane 98d1e8ff14 build.sh: prefer objects in res over resdl 3 years ago
FriendlyNeighborhoodShane d4589f8b9b INSTALL.md: remove 'SmaliPatcher' entry from sigspoof section
It was never a good recommendation anyway, but its sigspoof patch has been
deprecated now, according to its thread.
3 years ago
FriendlyNeighborhoodShane 25ec2335b9 res: add new priv-perm to allowlist XMLs 3 years ago
FriendlyNeighborhoodShane 4beff58121 README.md: add note about LOS recovery 3 years ago
FriendlyNeighborhoodShane 9476c514fc README.md: split links section 3 years ago
FriendlyNeighborhoodShane 346e77a188 *.md: reflow text to 80 cols 3 years ago
FriendlyNeighborhoodShane 6f03fa5b1f README.md: rephrase link 3 years ago
FriendlyNeighborhoodShane 061c1d040d res/util/func-resdl.sh: make logs work with symlinked reldir 3 years ago
FriendlyNeighborhoodShane e0185e5a60 INSTALL.md: update contacts sync section
The DAVDroid app was renamed to DAVx5 a while ago.
3 years ago
FriendlyNeighborhoodShane 1767477965 README.md: add "microG user group" on Telegram as a support channel 3 years ago
FriendlyNeighborhoodShane ad28359a70 func-resdl.sh: use apksigner instead of jarsigner for signature verification
It's much more robust and complete than jarsigner and should catch more
issues than it. I suspect the flags that I'm using to make it work for
JARs (signature format v1) is a hack and not actually an intended feature
but it works for now.

It also likely has much more availability across platforms as it's a
Java applet (separately packaged for Debian etc.) instead of being part of
a JDK.
3 years ago
FriendlyNeighborhoodShane 637f3b768f README.md: update sync adapter status
We forgot to update the README when we added support for it back in
c6292f83d7
3 years ago
FriendlyNeighborhoodShane 1074e15a0f Fix some shellcheck complaints 3 years ago
FriendlyNeighborhoodShane cb531cf13f script-addon.sh: better helper script detection 3 years ago
FriendlyNeighborhoodShane 9f429c16fe script-addin.sh: add footer meesage 3 years ago
FriendlyNeighborhoodShane 44a349c531 script-addon.sh: recursively pass files to functions, not dirs
The addon.d helper functions don't like being passed directories, so we
just use find and pass the them the files ourselves.

We could have implemented the helper functions, but there's too much of
a mess going on in the addon.d world. That will probably cause more problems
that it will solve.
3 years ago
FriendlyNeighborhoodShane a06a773915 test.sh: use globs for root scripts 3 years ago
FriendlyNeighborhoodShane feeb079155 test.sh: add exception SC1091 3 years ago
FriendlyNeighborhoodShane 491f4ea4f4 func-defconf.sh: make sure required conditions are met for script 3 years ago
FriendlyNeighborhoodShane 190131eafc script-{addon,init}.sh: split out from func-defconf.sh
The scripts were initially embedded because I didn't want to have extra
files other than the defconfs, but since we have funcs now anyway...
3 years ago
FriendlyNeighborhoodShane 4079901354 func-defconf.sh: remove superfluous tr invocation 3 years ago
FriendlyNeighborhoodShane 4f21907d11 INSTALL.md: rename from lowercase 3 years ago
FriendlyNeighborhoodShane e115e7bf92 func-defconf.sh: remove detection for old markfile
It has been over half a year (even if just one release) but it should be
okay. Everybody should have upgraded by now.
3 years ago
FriendlyNeighborhoodShane 09f3944ab3 install.md: make command a code block 3 years ago
FriendlyNeighborhoodShane e02b835069 README.md: update outdated pack info
We switched back to the F-Droid builds for the LocalGSM backend back in
077072685f but forgot to update the README.
3 years ago
FriendlyNeighborhoodShane b141a67afd conf/resdl-download.txt: use master branch instead of eleven for A11 APKs 3 years ago
FriendlyNeighborhoodShane 39ab6e037b install.md: update DAVx5 login instructions
The older method now required turning off 2FA which should not be recommended
in any case. App passwords are a much better alternative to use here.

This should have been updated long ago as I myself haven't been using this
method ever since 2FA.
3 years ago
FriendlyNeighborhoodShane 0cbccbbeb3 install.md: improve permission troubles section 3 years ago
FriendlyNeighborhoodShane 510a327958 install.md: add running npem from adb 3 years ago
FriendlyNeighborhoodShane de51551caa update.sh: user curl with -f for error handling 3 years ago
FriendlyNeighborhoodShane 884fc05ab7 update.sh: remove useless field from update log 3 years ago
FriendlyNeighborhoodShane ea843f931f update.sh: add checksum to update log for the update delta
The cksum utility is sued for the value.
It's not cryptographically secure, but this is just a simple update
check. The actual cryptographic verification is already done by
verifycerts(). Plus, cksum is POSIX amd universally available.
3 years ago
FriendlyNeighborhoodShane 2d6f3ec4fd func-resdl.sh: refactor updatedelta() 3 years ago
FriendlyNeighborhoodShane ce7dbe90ad remove ls use 3 years ago
FriendlyNeighborhoodShane 00726d9684 build.sh: add $confdir 3 years ago
FriendlyNeighborhoodShane 2efc1d10b9 use `command -v` instead of `which` to determine tool availability.
It's POSIX and also considers builtins.
3 years ago
FriendlyNeighborhoodShane 3afe9f0ddd bump.sh: add script to bump defconfs 3 years ago
FriendlyNeighborhoodShane 8e99dc83b8 conf: fix quoting 3 years ago
FriendlyNeighborhoodShane 00e8ca3fce README.md: add /r/microG subreddit as a suport link 3 years ago
FriendlyNeighborhoodShane c826a347f0 Remove links to the NoGoolag Telegram group for support.
It is no longer a support channel as I am no longer a part of the community.
For now, there is no support channel through Telegram.
3 years ago
FriendlyNeighborhoodShane cfadfcf6d6 pre_install_actions: run after archive extraction 3 years ago
FriendlyNeighborhoodShane f882fb4e4b conf/resdl-download.txt: formatting update to preemptively prepare for future disasters 3 years ago
FriendlyNeighborhoodShane bd3e8e024f res: remove old fdroid privperm file 3 years ago
FriendlyNeighborhoodShane 72051229f4 build.sh: show error on files not found 3 years ago