FriendlyNeighborhoodShane
70461302b6
Remove UNLP from microG packages
...
microG has removes support for backends entirely.
Also remove UNLPBackends as its only use was with microg packages
1 year ago
FriendlyNeighborhoodShane
655564d65d
res: add new GMSCore privperms
1 year ago
FriendlyNeighborhoodShane
0e2f4a71ec
update-binary: only mount /mnt/system with discovered block
...
If we mount over /system forcefully, recoveries may break.
1 year ago
FriendlyNeighborhoodShane
f141f03f25
update-binary: fix syntax
1 year ago
FriendlyNeighborhoodShane
68cafb3df7
update-binary: mount all candidate mountpoints
...
Just like earlier behaviour. Also add logging.
1 year ago
FriendlyNeighborhoodShane
8fc95dd055
README.md: change title of section to emphasize important info
2 years ago
FriendlyNeighborhoodShane
3c7ab51901
src: fix dynamic partition support
2 years ago
FriendlyNeighborhoodShane
dd7cc214c1
npem: shellcheck compliance
2 years ago
FriendlyNeighborhoodShane
c45906be40
npem: check for presence in network allowlist
2 years ago
FriendlyNeighborhoodShane
1eaa802d6d
INSTALL.md: mention LOS networking issue on dirty flash
2 years ago
FriendlyNeighborhoodShane
d01d41bf8a
npem: add LOS networking allowlisting
2 years ago
FriendlyNeighborhoodShane
3ba88f9ed0
npem: refactor into get_uid
2 years ago
Tim Zimmermann
1c33667a3e
MinMicroG: Don't recommend TWRP
...
* It is not supported by ROM maintainers on many modern devices
* Missing tools were only caused by broken installer script messing with /system/bin
2 years ago
Tim Zimmermann
20f467c6b0
MinMicroG: Support lineage recovery and dynamic partitions devices
...
With the previous install script we'd try to mount /system
which is in fstab on lineage recovery, but on Q and up recoveries
recovery has it's own /system and all the executables are in
/system/bin rather than /sbin, resulting in tools like "chcon"
missing after mounting /system
Also on dynamic partitions devices /system is not in fstab
due to the block device being only created when logical
partitions are mapped, support that case as well
Most of the code is taken from
https://gitlab.com/MindTheGapps/vendor_gapps/-/blob/tau/build/meta/com/google/android/update-binary
2 years ago
FriendlyNeighborhoodShane
e641178926
conf/defconf-unlpbackends.txt: add new MinAddon package
2 years ago
FriendlyNeighborhoodShane
11bce4badc
conf/defconf-phonesky.txt: install addon script
2 years ago
FriendlyNeighborhoodShane
a7bc90826d
README.md: refactor variant section
2 years ago
FriendlyNeighborhoodShane
e99f0d9982
conf: add sync adapters for S-T
...
It seems BackupTransport is no longer required.
2 years ago
FriendlyNeighborhoodShane
20edc9355e
README.md: table clarification
2 years ago
zer0def
642c528bbc
README.md: Refactored component descriptions for package variants
2 years ago
FriendlyNeighborhoodShane
a1942c948b
res: update GMSCore privperms for A13
2 years ago
FriendlyNeighborhoodShane
863ceb960a
npem: install Phonesky as user app
...
Recently there have been reports of internet being inaccessible to Playstore
on dirty flashes. Android added a permission whitelist for internet, similar
to for background location, so this might fix it being missing.
2 years ago
FriendlyNeighborhoodShane
91fefd0bbc
res: add new Phonesky privperms
...
The update doesn't fail to disappoint in its invasiveness, as ever.
2 years ago
FriendlyNeighborhoodShane
feb0df733b
file_getprop: fix regex
2 years ago
FriendlyNeighborhoodShane
317c3871ca
conf: add minimalIAP back
...
minimal + playstore has too much conflict to be resolveable without a lot
of complicated machinations.
2 years ago
FriendlyNeighborhoodShane
da140955c7
README.md: formatting updates
2 years ago
FriendlyNeighborhoodShane
2bffffd37a
conf: make AuroraServices into a "MinAddon" package, and add Playstore
...
Drop minimalIAP, because it's basically Minimal + Playstore
2 years ago
FriendlyNeighborhoodShane
87610579fd
update-binary: use sysrootpart to properly handle partition-level tasks
2 years ago
FriendlyNeighborhoodShane
d0db360aca
update-binary: eliminate inconsistent usage of sysroot
2 years ago
FriendlyNeighborhoodShane
adb99b5fde
update-binary: use a list for cleanup unmounting
2 years ago
FriendlyNeighborhoodShane
7c40dd091c
update-binary: refactor into cleanup()
2 years ago
FriendlyNeighborhoodShane
48e4d058f3
update-binary: make sizecheck_pack a function
2 years ago
FriendlyNeighborhoodShane
67cc86bfd5
update-binary: use tr to get lowercase basename
2 years ago
FriendlyNeighborhoodShane
cf1c5e80e9
res: move gsync perms into right place
2 years ago
FriendlyNeighborhoodShane
d922ca278c
res: add old (deprecated) privperm for backuptransport
2 years ago
FriendlyNeighborhoodShane
b0660cca5e
func-resdl.sh: fix privperm detections
...
It will now parse privperm files by contents instead of filepath.
2 years ago
FriendlyNeighborhoodShane
a1c7cbd13c
func-resdl.sh: improve privperm extraction
...
Extract privperm list directly from the master branch of Android source
instead of regexing through a docpage.
Referenced from what mindthegapps does.
2 years ago
FriendlyNeighborhoodShane
53ff515063
res: add new A12 privperm the 'proper' way
...
Figured out by @AkiraNoSushi
Solves bootloops on some ROMs that weren't happy without the prefix. Don't
ask me how or why.
2 years ago
FriendlyNeighborhoodShane
99aecd0a29
conf: bump versions
2 years ago
FriendlyNeighborhoodShane
969e15e982
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
FriendlyNeighborhoodShane
e4543b1e39
build.sh: prefer items in res by order
2 years ago
FriendlyNeighborhoodShane
299972d76c
Revert "build.sh: prefer objects in res over resdl"
...
This reverts commit 98d1e8ff14
.
It breaks files included using SDK/arch wildcards.
2 years ago
FriendlyNeighborhoodShane
96681acc03
update-binary: stop backing up debloated objects
...
In retrospect, this was a pretty stupid thing to do.
2 years ago
FriendlyNeighborhoodShane
09c78815bd
func-resdl.sh: update privperm webpage parsing regexes
2 years ago
FriendlyNeighborhoodShane
847d3908ac
squash another shellcheck warning
2 years ago
FriendlyNeighborhoodShane
232cef7271
npem: vendor "nlp backends as user app" from upstream
2 years ago
FriendlyNeighborhoodShane
8f742762c3
INSTALL.md: update troubleshooting section about npem
2 years ago
FriendlyNeighborhoodShane
235beff955
conf: bump versions
2 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.
2 years ago
FriendlyNeighborhoodShane
6489b85d56
npem: add new microG perms
...
These were added by microG updates about covid tracing, etc.
2 years ago