Commit Graph

53 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
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
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
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
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
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
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
78275a22ac Remove provision for sideload
* And make overriding of provision script generated
2018-02-21 13:41:31 +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
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
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
a4d54293ca gapps: Update date format
* Use UTC
* Don't put hypens everywhere
2018-02-10 23:38:56 +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
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
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
Paul Keith
2caf62a12b update-binary: Selectively remove Google's SuW
* This is done based on the total memory as reported by /proc/meminfo
* If the memory in the MemTotal field is less than 1572864 kB (1.5 GB),
  then Google's SuW is removed as a precaution, as it is known to crash
  on devices that don't have much memory available to use
* Thanks to cdesai for the solution idea

Change-Id: If0d5b9dff7f9536f78d4069df8665b19209fea52
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-05 15:16:16 -05:00
Paul Keith
76aefc9bc3 update-binary: Simplify mounting of /system
* This workaround for recovery.fstab was only necessary for
  CM recovery, however the recovery will be fixed properly
  soon, so there is no need for this workaround

Change-Id: Ib7db0997d1059e9829d9ca4b4a8c208d43bc46b6
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-05 07:59:23 -05:00
Paul Keith
130d6242af Remove unused arch.sh
Change-Id: I5ea26e6c4c1432629d6e039d4d0c071a0873182e
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-02 15:10:16 -05:00
Paul Keith
f362a67fcc Make ui_print messages consistent
Change-Id: I95f870030820557df074fa6c5d82584b9ecfe441
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-02 14:47:44 -05:00
Paul Keith
7acb09f694 Generate addon.d script at install time
Change-Id: I9d1beba09d3007de597c80af5245290aa146c94d
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-05-02 14:46:23 -05:00
Paul Keith
8abc2a3432 Fix indentation in update-binary
* This was bothering me

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-09 09:22:05 -05:00
Paul Keith
d82010a3ea Use root root for chown
* This is what it's supposed to be

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-09 09:02:55 -05:00
Paul Keith
44cac4c226 Fix asterisks in installer header
* You're welcome harry

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 16:46:48 -05:00
Paul Keith
36c04ec8d7 Fix ui_print
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 16:46:48 -05:00
Paul Keith
c9ba5041e7 Fix update-binary
* Some devices get linkage errors executing
  toybox without linking against /system

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 16:46:48 -05:00
Paul Keith
172eb653be Fix derp in installer
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 09:21:46 -05:00
Paul Keith
d8345ea375 Rebrand to MindTheGapps
* Thanks to mikeioannina for the name suggestion

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 08:41:46 -05:00
Paul Keith
1e2facf59c Move gapps log
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 08:33:37 -05:00
Paul Keith
40fe4aff80 Cleanup spacing in installer
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 08:33:37 -05:00
Paul Keith
f0dfd13793 Cleanup build script
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-08 08:33:37 -05:00
Paul Keith
678251b77c Add really shitty shell scripted install scripts
* Mounting of /system stolen from gmrt's scripts

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-07 21:15:59 -05:00
Paul Keith
fd168ac31e build: Strip | character in addon.d generation
* Previously, files that were pinned and weren't
  presigned wouldn't have the sha1sum stripped
  from the name of the blob
* n.b. This only affected libjni_latinimegoogle.so

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-07 15:46:15 -05:00
Paul Keith
3359ed44df Use pinned nodpi PrebuiltGmsCore
* This fixes issues with dpi
* Also, reshuffle PrebuiltGmsCore in blob lists,
  since it has to be pinned now
* Standardize blob list naming to proprietary-files-$arch(/common).txt
* This is slightly older than the newest PrebuiltGmsCore,
  but it almost never has to be updated, and Android will
  silently update to a proper version with the correct dpi

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-07 08:04:26 -05:00
Paul Keith
736ff4c510 build: Nuke update-binary and updater-scipt
* update-binary will be a shell script very soon,
  don't allow this to be flashed in the meantime

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 22:11:31 -05:00
Paul Keith
28eb9cdff2 build: Generate addon.d script at build time
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 22:11:04 -05:00
Paul Keith
8ac16034dc build: Change naming scheme for md5sum
* Follow android build system's convention

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 22:11:04 -05:00
Paul Keith
93f74a5de0 Bump gapps version to 7.1.2
* We're using angler 7.1.2 files now

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 22:11:03 -05:00
Paul Keith
d5900b2891 Move all gapps to a system/ folder
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 16:29:53 -05:00
Paul Keith
61cd4889d1 Fix build
* Now it actually builds

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 13:00:51 -05:00
Luca Stefani
564bc97ae4 Fix javelinanddart's shit
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 13:00:51 -05:00
Paul Keith
88a85476fc Adjust build system for new gapps organization
Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
2017-04-06 11:44:48 -05:00
jrizzoli
a73691b96d 15.08 Update+
- Fix Play services battery drain on arm
- Fixed remove-faceunlock from updater script
- Show some love for who doesn't have realpath
- Export md5 as a file too
- Simplify create checks (@stucki 6a05464df7ae80784fc8fe8ff2de65152d7bb67b)
- Move target zip out of arch directory  (@stucki bf57998702c634f560535b586706931f56a3ed31)
- Clean Up after the build (@stucki f6660501afa1eaefc4d3cf1a043e5c73bdab398d)
- CleanUp final output
2015-07-09 15:18:23 +02:00
jrizzoli
bcd682ecbf 15.07 Update:
- Fix removal of faceunlock (@ShevT > 1d4f9afc144843459a2f7c19d269996c688874aa)
- Fix typo in addon.d script
- Add md5 calculation (based on @pete4abw > ae166a10ad8c683182a1cd437242520254e40684)
- Improve log content (aka make it useful)

Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
2015-07-03 13:44:50 +02:00