Commit Graph

248 Commits

Author SHA1 Message Date
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
Paul Keith
9cac358dd2 Revert "Cleanup current slot logic"
* This should be left for when/if verity is figured out

This reverts commit 6793b22d9b.
2018-06-10 04:39:18 +02:00
Paul Keith
f345537450
Merge pull request #10 from LineageOS-Ports/master
gapps: Add AndroidMigratePrebuilt
2018-06-09 21:38:14 -05:00
shagbag913
480db6d999 gapps: Add AndroidMigratePrebuilt
* On Custom ROM's on Pixels, the downloading of
  this app by SetupWizard often hangs up,
  and needs to be restarted. Ship this to avoid
  that.

* Added to LOWMEM checkas it isn't necessary.
2018-06-09 22:37:03 -04:00
Paul Keith
6793b22d9b Cleanup current slot logic 2018-06-10 04:11:27 +02:00
Paul Keith
83d725f5eb
Merge pull request #9 from npjohnson/master
updater-binary: Revert "Install to opposite slot" logic
2018-06-09 21:09:24 -05:00
Nolen Johnson
b520864106 updater-binary: Revert "Install to opposite slot" logic
* Currently, on both devices enforcing veirty, and devices not
  enforcing verity, we are unable to flash files to the system
  partition after a payload (a/b) style flash. Revert this
  logic until is/when we figure this out.

* A/B users will need to flash the ROM, reboot, and install
  from thee recovery in the other slot.
2018-06-09 22:04:51 -04:00
Paul Keith
04dd149873 addond: Fixup OCD-inducing indentation 2018-06-10 03:56:21 +02:00
Paul Keith
3006026072
Merge pull request #8 from TheScarastic/master
addond: give proper permission after restoring files
2018-06-09 20:54:59 -05:00
TheScarastic
7358671703 addond: give proper permission after restoring files 2018-05-30 19:47:40 +05:30
Paul Keith
885eae94b3 gapps: Unmount /system before attempting to mount it
* On some devices, /system is already mounted, and when we try to
  mount it ourselves, it fails, causing installation to abort
* To prevent this, umount /system before we try to mount it
2018-05-22 01:43:07 +02:00
Paul Keith
2f19736850
Merge pull request #5 from somcom3x/master
gapps: Allow SetupWizard REQUEST_NETWORK_SCORES permission
2018-05-05 07:47:24 -05:00
Paul Keith
8f994c4ab9
Merge pull request #6 from invisiblek/master
fix system-as-root and umounting
2018-03-19 14:20:53 -05:00
Dan Pasanen
74859c6634 addon.d: support version 2
Change-Id: Ie9fb81b096de81d80e6a8489a439b9aed668d69a
2018-03-18 08:04:50 -05:00
Dan Pasanen
9aeb1c1bbd update-binary: clean up addon.d_[head,tail]
Change-Id: Iafcfe56d004f3395e194a56b8914febff0948935
2018-03-18 08:04:50 -05:00
Dan Pasanen
6a9b00f22b update-binary: lazy unmount /system and /system_root
* Unsure why these don't want to unmount normally

Change-Id: I732d6f0309e668f64b31561362e93fd09707bafd
2018-03-18 08:04:50 -05:00
Dan Pasanen
12914fac70 update-binary: Add support for system-as-root devices for the zip
* We'll first check the currently loaded slot. We can
  assume the user just flashed a rom and that the target
  slot for this rom is the other slot, so mount that
  system image. TODO: autodetect this somehow

* Mount this system partition at /system_root (rw) and then
  mount the /system/system folder at /system. We do it
  this way for a couple reasons. Because it makes the
  script easier to work with and because we're using
  toybox from the system partition for operations, which
  is expecting /system/bin/linker64 to exist.

Change-Id: Ia6f96f0864d725b0123665bbbce0e31523bb834f
2018-03-18 08:04:48 -05:00
Paul Keith
5c767201f0 gapps: Add PrebuiltExchange3Google
* For Google exchange support
2018-03-09 02:03:30 +01:00
Paul Keith
93136729c8 gapps: Split Velvet by arch
* This has arch specific libs
2018-03-02 16:14:31 +01:00
Rabih Salamey
76ba635647
gapps: Allow SetupWizard REQUEST_NETWORK_SCORES permission
* without this, setup wizard will constantly crash after granting location
     permission.
2018-02-28 01:40:02 -05:00
Paul Keith
a46382df77 Add Google Dialer support jars
* Makes Google Dialer installable from Play Store
2018-02-21 13:45:40 +01:00
Paul Keith
78275a22ac Remove provision for sideload
* And make overriding of provision script generated
2018-02-21 13:41:31 +01:00
Paul Keith
c78f23fd66
Merge pull request #2 from ciwrl/gsuw
gapps: Fix inline compiling for SetupWizard
2018-02-21 06:22:14 -06:00
Abhisek Devkota
d459a688d9 gapps: Fix inline compiling for SetupWizard
Override Provision package, else SetupWizard won't get it's permissions
 properly granted.

TODO: Nuke Provision on mindthegapps installation via sideload
2018-02-20 22:53:13 -08:00