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
* 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
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
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.
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
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
The suw apk in pixel factory images are pixel specific, so lets switch
the the universal one for better UX.
Change-Id: Ie865099131154997be5d1bdb267da157364254d7
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