Commit Graph

221 Commits

Author SHA1 Message Date
Alessandro Astone 0b0fc16ee5 Add aleasto to credits 2021-02-10 23:50:13 +01:00
Alessandro Astone 55071e36c7 Addon.d V3
For seamless /product,/system_ext backup and restore

This reverts commit 416faab8e9460fcf2a91a6a7d716c148e45ccb87.
2021-02-10 23:50:13 +01:00
Alessandro Astone 8650488592 Include prebuilt static toybox
Built from lineage-18
2021-02-10 23:50:13 +01:00
Alessandro Astone a5e57cee14 Exclude addon.d fragments from backup 2021-02-10 23:50:13 +01:00
Alessandro Astone 2b244a1ead Adapt free space checks to new partitions
And don't count as needed space that will be freed from the replaced
files. This will allow to flash the zip over an existing installation
when space is tight.

Also:
awk      -->  tr | cut  because recovery might not provide awk
grep -v  -->  tail -1   in du because it might spit out 3 lines
2021-02-10 23:50:12 +01:00
Alessandro Astone 964016a9ad Rewrite mounting
* Support dynamic partitions
* Mount product and system_ext when they're dedicated partitions
* Mount system at /mnt/system to not interfere with newer recoveries
* Android 10+ system images always contain a rootfs before system
* Don't use system toybox
2021-02-10 23:50:12 +01:00
Alessandro Astone 5e1c63d566 SetupWizard is arch dependent 2021-02-10 23:50:12 +01:00
Alessandro Astone 926ebed063 Update Velvet to 12.1.9.29
Fixes crash on SUW home
This version allows hotword enrollment to be skipped during SUW
2021-02-10 23:50:06 +01:00
Alessandro Astone e7637e6b2e Update PrebuiltGmsCore to 20.45.16 2021-02-10 23:20:32 +01:00
Alessandro Astone 653d74aba7 Eleven gapps
From redfin-rq1a.201205.011

* Move everything to product or system_ext
* No more maps jar?
* Fix sha1sum of arm64 MarkupGoogle/lib/arm64/libsketchology_native.so
  The file is unchanged, the checksum simply has always been wrong
* Adapt to new blueprint based extract utils
2021-01-02 21:34:38 +01:00
javelinanddart 7febfbe606 Add raymanfx to credits for maintaining this repo 2019-09-19 20:06:13 +02:00
Christopher N. Hesse 4110677af8 Initial Q Gapps
From taimen-qp1a.190711.020.
2019-09-19 20:01:34 +02:00
Christopher N. Hesse af091260a2 PrebuiltGmsCore: Update to 19.2.75 2019-09-19 20:01:11 +02:00
Paul Keith b6a0041371 Add initial explanation of pinned blobs 2019-09-18 15:18:50 -05:00
Paul Keith 577ddf9396 Use steps for README 2019-09-18 14:00:55 -05:00
Paul Keith 7632ac2ee5 Add instructions for building inline 2019-09-18 14:00:17 -05:00
Paul Keith 86eb9737bc Add razorloves to credits 2019-09-18 13:54:39 -05:00
Paul Keith dc45a21104 Fix mounting on SAR/AB devices 2019-06-15 05:13:28 +02:00
razorloves b5f67c83db Merge branch 'pi' into 'pi'
MarkupGoogle: Fix location of lib dependency

See merge request MindTheGapps/vendor_gapps!2
2019-04-24 20:17:18 +00:00
razorloves d355713cfb MarkupGoogle: Fix location of lib dependency 2019-04-16 23:34:54 -05:00
Paul Keith fdf6bba5c6 Pin MarkupGoogle for arm
* These are never extracted, so they should all get pinned
2019-02-16 22:21:28 +01:00
Paul Keith 94637a3b6a gapps: Add MarkupGoogle for arm and arm64 only
* This has native deps
2019-02-16 22:10:02 +01:00
Paul Keith 48f453389f gapps: Remove MarkupGoogle in update-binary for low resource devices 2019-02-16 21:45:01 +01:00
Paul Keith 5cf2cda8b8 gapps: Add MarkupGoogle
* And regenerate vendor
* Package version: crosshatch-pq2a.190205.001
2019-02-16 21:40:20 +01:00
Paul Keith 1b1d9e2fb4 gapps: common: Pin default-permissinos XML 2019-02-16 21:39:48 +01:00
Paul Keith b802ae737e gapps: Fix small bugs and style inconsistencies in update-binary 2019-02-16 21:27:24 +01:00
Paul Keith cba174540e Revert "Add libbarhopper for SetupWizard"
This reverts commit 22c6cfbee8.
2019-02-16 21:25:06 +01:00
Paul Keith 8a7f260fb7 Revert "Don't mount SAR system to /system"
* This is horribly broken

This reverts commit 7c6536c1e7.
2019-02-16 21:24:13 +01:00
Paul Keith eb07f340ac Decrease storage buffer to 10MB 2019-02-03 20:07:24 +01:00
Paul Keith 0e1baf6960 Bring back space check
* Requires at least 25MB of space on top of required space
2019-02-03 19:53:19 +01:00
Luca Stefani 7c6536c1e7 Don't mount SAR system to /system 2019-02-03 19:33:51 +01:00
Preetam D'Souza ae1ceeaccc Remove Provision only if installing SetupWizard
On devices with low memory or storage, the update-binary skips
installation of SetupWizard, which normally overrides AOSP's Provision
app. Unfortunately, the script currently removes the Provision app even
when SetupWizard is not installed in the low memory or storage case,
which causes the device to remain stuck in an unprovisioned state (Home
button doesn't work for example).

Tests
-----

Tested on Nexus 5 (hammerhead) with LOW_STORAGE and confirmed that the
Provision app is not removed since SetupWizard is not installed.
Confirmed that the Play store works.

Tested on Nexus 5X (bullhead) which is not LOW_STORAGE and confirmed
that the Provision app is removed since SetupWizard is installed.
Confirmed that the Play store works.
2019-02-03 19:32:02 +01:00
Paul Keith 22c6cfbee8 Add libbarhopper for SetupWizard
* This might help fix crashes??
2019-02-03 19:28:13 +01:00
razorloves f630206bc7 Merge branch 'pi-testing' into 'pi'
Changes for pie

See merge request MindTheGapps/vendor_gapps!1
2019-01-26 04:58:07 +00:00
razorloves 233d19efb6 Update all Velvet.apk to same version 8.91.5.21
This is too ensure a uniform experience across all arch's and to
have same required privapp permissions.
Also added a privapp permission to the whitelist xml that's required
by this new version.

Change-Id: I04abc73565bb02c5d4ad60c5331cabc672fda147
2019-01-22 01:05:27 -06:00
razorloves 48d7b18e24 Update all PrebuiltGmsCore.apk to same version 14.7.99
This is too ensure a uniform experience across all arch's and to
have same required privapp permissions.
Also added a privapp permission to the whitelist xml that's required
by this new version.

Change-Id: I6785f9532190db7553b12ca208488fa74047d99b
2019-01-22 01:05:23 -06:00
razorloves 327f00a632 Switch to universal SetupWizard.apk version 228.5076413
The suw apk in pixel factory images are pixel specific, so lets switch
the the universal one for better UX.

Change-Id: Ie865099131154997be5d1bdb267da157364254d7
2019-01-22 01:05:20 -06:00
razorloves 8fdbd155f9 Update AndroidMigratePrebuilt.apk to version 1.0.214934184
The apk from marlin's pie factory image would crash on non-pixel
devices due to missing app com.google.android.apps.restore.
This newer version does not cause a crash and continues with restore
process.

Also added a privapp permission to the whitelist xml that's required
by this new version and pin the xml.

Change-Id: I963dcb9fa089d51754dc57d46f89bbad983e06c2
2019-01-22 01:05:20 -06:00
razorloves 271cf9fb69 Extract from marlin pie factory image PQ1A.190105.004
Change-Id: Ie79627f1a1019d7214a801d61071cdb516974fae
2019-01-22 01:05:18 -06:00
razorloves 751e025f3f Add google-hiddenapi-package-whitelist.xml
Pulled from marlin pie factory image PQ1A.190105.004

Change-Id: I16fdfb26ac845a42e445b0535a16ecb39088e617
2019-01-21 03:26:02 -06:00
razorloves ad77406dde Add default-permissions.xml
Pulled from marlin pie factory image PQ1A.190105.004

Change-Id: I39728bd284303c7659a90e7889f5e8376077263c
2019-01-21 03:22:18 -06:00
razorloves b68740395f Remove some apps that have an AOSP equivalent
Change-Id: I027aad01b2df8c2000153f627dd85b6c9e3b45a3
2019-01-20 22:38:36 -06:00
Paul Keith 2196d7bedf gapps: null out space checks for Pi (for now)
* We need arch specific space requirements, which might be
  more appropriate in addition for some arch checking
2018-08-08 18:01:03 +02:00
Paul Keith 9138755387 Update pinned Velvet for arm{,64}
* The latest velvet on apkmirror doesn't have x86
2018-08-08 17:41:04 +02:00
Paul Keith 9f97a5f318 Update pinned PrebuiltGmsCore apks
* Latest stable nodpi from apkmirror, repacked with store compression
2018-08-08 17:40:42 +02:00
Paul Keith 6725afdef2 Initial extracted P gapps 2018-08-08 17:40:06 +02:00
Paul Keith 0f6b456028 gapps: Fail if there's not enough space 2018-08-07 14:27:25 -07:00
Paul Keith 25253abdb5 gapps: Check for low storage too 2018-08-07 14:19:26 -07:00
Paul Keith 50834601aa Roll back SuW
* New one crashes
2018-07-31 04:47:22 +02:00
Paul Keith 0860314b75 Regenerate gapps
* Package version: taimen-opd1.170816.010
2018-07-15 21:23:20 +02:00