Commit Graph

172 Commits

Author SHA1 Message Date
Alessandro Astone
d6035b9d9f Regen makefiles 2022-02-24 14:57:35 +01:00
Alessandro Astone
ea10299451 Add version and arch checks 2022-02-08 00:54:30 +01:00
Alessandro Astone
8dab22a84a Always cleanup on failure 2022-02-08 00:53:17 +01:00
LuK1337
4fe3f73006 Ignore product block device in case it's a symlink
This is common on devices where maintainers have chosen not to use
real partitions because of their size being too small to be useful
2022-02-01 18:33:48 +01:00
Alessandro Astone
be8e53eb32 Provision apk lives in product in Android 10 2022-02-01 18:33:25 +01:00
Erik Jensen
4557509f55 Support tab-delimited /etc/recovery.fstab
Previously, update-binary only supported space-delimited /etc/recovery.fstab.
2021-12-08 18:20:20 +01:00
Alessandro Astone
ccacac122a Include prebuilt static toybox
Built from lineage-18
2021-12-08 18:20:20 +01:00
Alessandro Astone
0dfbc1825a Exclude addon.d fragments from backup 2021-12-08 18:20:20 +01:00
Alessandro Astone
1d1a30c107 Improve free space checks
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-12-08 18:20:20 +01:00
Alessandro Astone
bc019515f6 Rename SetupWizard to SetupWizardPrebuilt in install scripts
Reflects the apk name used in this branch
2021-12-08 18:20:18 +01:00
Alessandro Astone
94437f53f2 Rewrite mounting
* Support dynamic 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-12-08 18:16:46 +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