Commit Graph

264 Commits

Author SHA1 Message Date
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
Paul Keith
a1dbd5248b Add privapp-permissions-google 2018-02-20 22:25:21 +01:00
Paul Keith
f73c84ce47 Allow building inline without Google SuW and Velvet
* And remove Velvet for low-ram devices
2018-02-20 00:52:25 +01:00
Paul Keith
2f303e71bf Revert "Revert "Include Velvet so "OK Google" anywhere works""
This reverts commit ad6f2623e9.
2018-02-20 00:37:47 +01:00
Paul Keith
ad6f2623e9 Revert "Include Velvet so "OK Google" anywhere works"
* This is 72MB....

This reverts commit aeaaa7aab8.
2018-02-19 00:00:12 +01:00
Paul Keith
aeaaa7aab8 Include Velvet so "OK Google" anywhere works 2018-02-18 23:57:21 +01:00
Paul Keith
e5932ae44d gapps: Remove ConfigUpdater
* This seems to be causing SuW to get stuck on "checking for updates"
2018-02-17 21:39:55 +01:00
Paul Keith
77b1c64fd4
Merge pull request #1 from ciwrl/gsuw
Re-add Google Setupwizard
2018-02-17 14:39:40 -06:00
Abhisek Devkota
962ce30b7c Revert "gapps: Always remove Google SuW"
This reverts commit 637e034149.
2018-02-15 22:14:10 -08:00
Abhisek Devkota
17c1984627 Revert "gapps: Thoroughly remove SuW"
This reverts commit 5caba031a6.
2018-02-15 22:14:04 -08:00
Paul Keith
16928d9abb Thanks ciwrl 2018-02-16 00:50:09 +01:00
Paul Keith
5caba031a6 gapps: Thoroughly remove SuW
* So that building inline works
2018-02-12 00:19:56 +01:00
Paul Keith
637e034149 gapps: Always remove Google SuW
* I can't find a version that doesn't crash
2018-02-11 14:01:19 +01:00
Paul Keith
af87d0515c gapps: Extract from Pixel
* PhoneSky is already deodexed, so it doesn't crash
* Version: walleye-opm1.171019.019
2018-02-11 13:23:28 +01:00
Paul Keith
171c65860e gapps: Fix missing sed
* And regenerate makefiles
2018-02-11 01:13:14 +01:00
Paul Keith
a4d54293ca gapps: Update date format
* Use UTC
* Don't put hypens everywhere
2018-02-10 23:38:56 +01:00
Paul Keith
a71ffefaf7 gapps: Extract from angler-opm5.171019.015 2018-02-10 23:30:13 +01:00
Paul Keith
29eea50033 gapps: Remove omadm stuff
* This is just for Fi, and all Fi devices ship this
2018-02-10 23:28:46 +01:00
Paul Keith
f1134b242f gapps: Remove GoogleLoginService
* It is no more
2018-02-10 23:28:17 +01:00
Paul Keith
0259786f8b gapps: Fix typo in GoogleOneTimeInitializer 2018-02-10 23:28:01 +01:00
Paul Keith
61b620cfa4 gapps: Remove widevine jars/xmls
* No longer needed
2018-02-10 23:21:57 +01:00
Paul Keith
ef10b54e5d gapps: Misc script fixes
* Point to vendor/lineage
* Add initial copyright year
* Remove arg for target, it's unneeded
* Remove arg for path, it's unneeded
* Cleanup sed'ding of makefiles
2018-02-10 23:20:37 +01:00
Paul Keith
303f640fa3 gapps: Update PrebuiltGmsCore for O-mr1 2018-02-10 01:06:08 +01:00
Paul Keith
dd599f6f70 gapps: Initial commit for O
* Files need to be reextracted, and PrebuiltGmsCore needs to be updated
2018-02-10 00:50:28 +01:00
Paul Keith
5af93c969f Update files
* Package version: angler-n2g47w

Change-Id: I0894866e4a581d5216a62764e367189db1736303
2017-06-05 17:27:10 -05:00
Paul Keith
a3ae309eaa Add rudimentary detection for A/B devices
* Bail if A/B device is detected

Change-Id: Id1c205eb96d6e5e9e67183f410467d82ac121540
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-10 14:54:40 -05:00
Harry Youd
844fcf1951 Remove OCD-inducing double blank line 2017-05-10 20:26:08 +01:00
Paul Keith
f358df0a24 setup-makefiles: Mirror changes in extract-files
Change-Id: I263ebde1f13926004efd5deada40b40d1f52614e
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-10 10:46:06 -05:00
Paul Keith
0a26940cad Fix LICENSE
* The makefiles have an Apache license on them

Change-Id: I5ff4ce3c7d49e244a86a350556c176253046b1d2
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-10 10:22:47 -05:00
Paul Keith
7fc64e946c extract-files: Force architecture to be specified
* This also functions as a rudimentary help option
  if the script is run without any arguments,
  or if any of the arguments are not provided

Change-Id: I311df9f52a1dd51da676c3b004a98eefbd79e12e
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-10 10:22:47 -05:00
Harry Youd
3dc554ac19 Test webhook 2017-05-10 11:29:31 +01:00
Paul Keith
5782324e6b README: Thanks for Jenkins harry
Change-Id: I9e733b3ec70fe1f1507e8a977adb8e0fa81d49bf
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-08 16:03:46 -05:00
Harry Youd
bc2ff86b53 Test webhook 2017-05-08 21:46:46 +01:00
Paul Keith
b8641dd38f Fix duplicate addon.d entry for 30-gapps.sh
* Now that this is generated at install time,
  30-gapps.sh will be found automatically,
  so we can remove the hardcoded entry for it

Change-Id: Ic7287dbec45a2e7f7314d98f5f8abfdb4dec1964
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-06 15:56:11 -05:00
Paul Keith
2d7e0eb47c update-binary: Fix compat with different unzip tools
* For some bizarre reason, the unzip util included with
  lineage recovery doesn't work with the system/*
  wildcard for unzip, so just extract the entire zip
  and remove the META-INF folder from /tmp manually

Change-Id: Id11e18d7fef0c78b10f7060a10274ea0e958ea84
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-05 22:47:00 -05:00