Commit Graph

257 Commits

Author SHA1 Message Date
Paul Keith
36e2940999 gapps: Move tangorpro check to after we've cd'ed into system
Otherwise, we're removing stuff from the wrong path
2023-09-19 21:21:38 -05:00
Paul Keith
d70e71a0bc gapps: Use apktool to build RRO overlays
The following fields in the AndroidManifest.xml are different:

Built in AOSP-tree version:
android:compileSdkVersion="33"
android:compileSdkVersionCodename="13"
platformBuildVersionCode="33"
platformBuildVersionName="13"

Build with apktool version:
android:compileSdkVersion="23"
android:compileSdkVersionCodename="6.0-2438415"
platformBuildVersionCode="23"
platformBuildVersionName="6.0-2438415"
2023-09-19 17:36:46 -05:00
Paul Keith
d06706f0d8 gapps: Use lowercase -r for rm 2023-09-19 17:36:31 -05:00
Paul Keith
fcc66ec68b gapps: Remove VelvetTitan on low space check 2023-09-19 17:36:31 -05:00
Nolen Johnson
e0583070f1 Use newer velvet ONLY for tangorpro
* Somehow this newer versionis 130mb bigger - and wrecks basically
  all current devices to the point that gapps couldn't fit.
* [javelinanddart]: Script it up.

Co-authored-by: javelinanddart@gmail.com
2023-09-19 17:32:18 -04:00
Nolen Johnson
5571234421 arm/arm64: Regen makefiles 2023-09-18 15:47:09 -04:00
Nolen Johnson
adb5bb7e9c gapps: Set ro.com.google.gmsversion
* Needed for device-specific GMS RRO's.
2023-09-18 15:47:06 -04:00
Nolen Johnson
8334332c5c arm64: Update Velvet from tangorpro release
* Contains HubUI components.
2023-09-18 11:10:17 -04:00
LuK1337
461da2f459 Use apksigner for signing overlay apks 2023-08-08 23:52:02 +02:00
LuK1337
5ad118847f Sign overlay apks with a throwaway key
Closes: #10
2023-08-08 21:55:29 +02:00
Paul Keith
251da7189e Fix arch checks
Some devices have a 32-bit userspace but a 64-bit kernel. These
devices need to have 32-bit gapps, not 64-bit ones. To fix this,
switch to getting arch from ro.bionic.arch instead of uname -m.
Additionally, remove the nice_arch function as it makes debugging
issues more difficult when the nice arch matches but the underlying
values don't line up.
2023-08-07 17:43:10 +02:00
Luca Stefani
83a87f751d Remove arm MarkupGoogle
There's no fixed arm variant as of now.
2023-03-18 10:06:30 +01:00
Luca Stefani
44f96cc05c Update MarkupGoogle from redfin-user-13-TQ2A.230305.008.C1
The current version of the tool doesn't truncate
in-place edited photos, possibly leaking information
the user wanted to remove.

See https://twitter.com/ItsSimonTime/status/1636857478263750656
2023-03-18 10:06:21 +01:00
LuK1337
cef3446696 Put paths/variables in inline code 2023-02-16 12:00:25 +00:00
Nolen Johnson
99a1b4d526 overlays: Update for tau
* Referenced both relevant packages.
* No diff to GmsSettingsProviderOverlay.
* Added all diffs from GmsOverlay except for LatinIme.
* [razorloves]: Remove overlays duplicated in AOSP.
2022-10-03 19:13:47 -04:00
Paul Keith
472b165003 Regenerate makefiles 2022-09-06 19:50:01 -05:00
Paul Keith
813df77624 Move permissions for Android Auto to a separate XML
This means we can update the XML without manual changes

This reverts commit 17fa00ca06.
This reverts commit 69cf9bae03.
2022-09-06 10:09:42 -05:00
Paul Keith
17fa00ca06 Fix not pinning default-permissions-google.xml 2022-08-28 23:57:15 -05:00
Paul Keith
69cf9bae03 Fix default permissions for Android Auto
This should fix Android Auto not working until permissions
are manually granted.
2022-08-28 22:52:01 -05:00
Paul Keith
cabeacd3f6 Initial update to T gapps 2022-08-28 22:35:56 -05:00
Paul Keith
764e765fe4 Update references to 13 2022-08-28 21:53:45 -05:00
Paul Keith
f0fd925e37 Update ci script for 12.1 2022-05-24 07:17:55 -07:00
LuK1337
5e38eda4a7 Add config_forceQueryablePackages overlay
As seen in GmsConfigOverlayCommon, this allows any app to query
GMS/Play Store presence.
2022-05-07 23:27:12 +02:00
razorloves
b8fbc6972f Replace GoogleRestore apk with properly signed one
The apk is signed with the wrong certificate, which caused
restoring device backups in setupwizard to fail.

Pulled from bonito SP2A.220405.003 factory image.

Note: The new apk is the same version as the old one.
Version: 1.0.412254046 (31776)
2022-04-15 20:49:23 -05:00
Alexander Koskovich
5c3ebab96e build: Update to Android 12L
* Change target inherits due to changes in Lineage vendor.
2022-04-01 22:55:04 +02:00
Alexander Koskovich
5da4d3e710 Add default permissions for Assistant / Google Restore 2022-04-01 22:55:04 +02:00
Alexander Koskovich
f1aea85d59 Update from 12_202201 2022-04-01 22:54:14 +02:00
Alessandro Astone
49a4548984 Add version and arch checks 2022-02-08 00:40:38 +01:00
Alessandro Astone
2f30bf7eb5 Always cleanup on failure 2022-02-07 23:42:07 +01:00
Alessandro Astone
71198e3696 Update install script after SetupWizard was moved to system_ext 2022-02-03 17:48:43 +01:00
Michael W
6baa8fc468 Add overlay for Family Link
* Apparently this is required to set up family link on a device
  - it is empty by default
2022-01-28 17:14:00 +01:00
Alessandro Astone
1984bedbd6 rro: build: Make it work after m clean 2022-01-28 14:17:19 +01:00
Alessandro Astone
3adfb82419 rro: build: Make x86 targets build 2022-01-28 14:17:18 +01:00
Alessandro Astone
307550ed7d build: rro: mkdir $OUT
$OUT may not exist yet, but we need to start creating the log file now
2022-01-28 10:47:15 +01:00
Alessandro Astone
829c575db1 build: rro: Don't use inherit-product
It is broken in weird ways
2022-01-28 10:47:05 +01:00
Alessandro Astone
de00d21a12 Add backup transport overlay 2021-12-16 20:23:29 +01:00
Alessandro Astone
401e4af0e0 Add overlays
* Use a high priority to override other rro overlays
2021-12-16 20:13:05 +01:00
Alessandro Astone
de08478020 Fixup the install-time removal of Provision apk 2021-12-08 18:03:12 +01:00
Paul Keith
65ac6290d1 Move SetupWizard to system_ext
* This is where it's supposed to be
2021-11-16 12:52:24 -06:00
Paul Keith
64fe7f9c11 cicd: Check privapp-permissions by partition 2021-11-16 12:34:30 -06:00
Paul Keith
664187a854 Fix typo in script 2021-11-16 12:15:38 -06:00
Paul Keith
4776e158af Update TODO 2021-10-31 15:03:50 -05:00
Paul Keith
02586c2889 Set 0755 on all toybox binaries 2021-10-31 14:56:59 -05:00
Paul Keith
bb65fb0f1b Add x86_64 static toybox
* From: LineageOS/android_external_toybox @ 48ba553a2402aaf0d0abcedd1806bb99d691e7fd
2021-10-31 14:55:30 -05:00
Paul Keith
66f25ff99f Avoid manually overriding Provision with setup-makefiles.sh
* extract_utils now supports specifying this in proprietary-files.txt
2021-10-28 09:39:28 -05:00
Paul Keith
720abb0200 Fix check to remove Provision when flashing zip
* Google's SuW was renamed, but this check wasn't fixed
2021-10-20 18:26:47 -07:00
Paul Keith
87b6cc26cb Initial changes for Android 12 zips 2021-10-13 11:23:03 -05:00
Paul Keith
0a5e02a067 Swap AndroidMigratePrebuilt for GoogleRestore
* This appears to be what we are supposed to use when not
  pulling from a Pixel factory image
2021-10-13 10:23:55 -05:00
Paul Keith
5a484dcf7a Update TODO and README
* Re-alphabetize README while we're at it
2021-10-13 10:19:07 -05:00
Paul Keith
128c0b29a2 Revert "Add aapt binary built from lineage-19.0 source tree"
* No longer needed with custom Docker image

This reverts commit fca6c52e8e.
2021-10-13 10:18:20 -05:00