Commit graph

495 commits

Author SHA1 Message Date
Dmitry Muhomor
6f2c9525e0 add index of Pixel Android 14 Beta 5 builds 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
1be5571e1e add index of Pixel Android 14 Beta 4.1 builds 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
47db1ba94c add index of stock OS builds for supported Pixel devices 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
1d3c8c59c8 add support for loading build index from YAML
Default path is config/build-index/build-index.yml, 'includes' directive is supported.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
e1d69888dd add fetch-build-index command 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
83ac2dba38 update node-fetch version to 2.6.13
2.6.6 is vulnerable to CVE-2022-0235
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
822c196d02 add parser of Pixel factory, OTA and vendor image pages
Extracts the following image properties:
- device name
- build ID
- build desctiption
- image download link
- image file SHA-256

Images are grouped by '$DEVICE $BUILD_ID' key.

Beta factory/OTA image pages are supported too.

JSDOM dependency is added for simple and correct parsing of these pages.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
31d493f58c make current and previous build ID part of device config
Previous build ID is useful when doing comparisons.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
81adbb0c42 improve device config loading
- support specifying device{,-list} config with config file name instead of config path
- support loading mutliple device{,-list} configs at once. Previously, loading multiple device
configs was supported only by passing a device-list config
- parallelize config loading with promises
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
4503081dbf require device config name to match device name
This is already the case for all device configs.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
65e3e84583 add path constants for OS checkout, adevtool, (device) config dirs 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
409c89cbdc require adevtool to always be started from the root of OS tree
Several commands (e.g. generate-all) break when this is not the case. Several other commands have
non-obvious dependency on this invariant.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
4728496e47 group Pixel device-list configs by generation
This allows to invoke commands that accept a device-list for all devices in a given gen.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
1007b219cb move device configs from config/ to config/device/
This is preparation for adding new kinds of configs.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
c4e850b86b factor out loadAndMergeConfig()
It's useful for non-device kind of configs too.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
7eceea9041 extract_android_ota_payload.py: don't keep temporary payload.bin file
It takes up a couple of gigabytes of space per-device.
2023-08-31 16:03:43 -04:00
Daniel Micay
55c15c81e6 add GrapheneOS copyright notice 2023-07-13 21:58:04 -04:00
flawedworld
07beb10ede More tweaks 2023-06-27 19:38:15 -04:00
Dmitry Muhomor
2ee7b3b102 update overlay-removal for felix 2023-06-27 19:36:33 -04:00
Dmitry Muhomor
8d458f3f43 add felix (Pixel Fold) config file 2023-06-27 19:36:33 -04:00
Daniel Micay
86a44792dd fix setting radio version 2023-06-23 13:50:43 -04:00
Daniel Micay
cbac084fe8 fix overlay sort order 2023-06-23 13:20:19 -04:00
Dmitry Muhomor
43e3e547e7 remove empty Hub Mode menu from Settings app 2023-06-22 13:41:22 -04:00
flawedworld
90778b7bd5 Skip android:integer/config_multiuserMaximumUsers overlay 2023-06-21 19:30:27 -04:00
flawedworld
d39899a51c Exclude more items for Pixel Tablet 2023-06-21 19:30:27 -04:00
Dmitry Muhomor
84aa406348 support devices that don't have a baseband 2023-06-21 03:54:54 -04:00
Dmitry Muhomor
06114545f4 make addition of "require partition-exists=vendor_kernel_boot" generic
Instead of hardcoding the list of devices (which is now missing lynx), check whether
vendor_kernel_boot is present in the list of stock A/B partitions.
2023-06-21 03:54:54 -04:00
Dmitry Muhomor
2b26cec4e3 factor out reading of ro.product.ab_ota_partitions prop into a function 2023-06-21 03:54:54 -04:00
Dmitry Muhomor
7963a6428f update file-removal for tangorpro, part 2 2023-06-21 02:29:01 -04:00
Dmitry Muhomor
6c7454d4f1 update overlay-removal for tangorpro 2023-06-21 02:19:31 -04:00
Dmitry Muhomor
6743fe4639 disable broken support for file reference overlays 2023-06-21 02:19:31 -04:00
Daniel Micay
27b41962f4 work around parsing issue 2023-06-20 21:55:09 -04:00
Dmitry Muhomor
f4c4269a57 update file-removal for tangorpro 2023-06-20 16:26:26 -04:00
Dmitry Muhomor
f6261a6985 add tangorpro (Pixel Tablet) config file 2023-06-20 16:26:26 -04:00
Dmitry Muhomor
be36153254 unpack-images.sh: avoid race condition when creating destination dir 2023-06-20 16:26:04 -04:00
Dmitry Muhomor
277212d251 13 QPR3: remove WallpaperEmojiPrebuilt 2023-06-13 15:36:00 -04:00
Dmitry Muhomor
899d75ba57 13 QPR3: remove unneeded overlay 2023-06-13 15:36:00 -04:00
Dmitry Muhomor
2f2a038f88 13 QPR3: remove product/etc/sysconfig/google_fi.xml 2023-06-13 15:36:00 -04:00
Dmitry Muhomor
9bb54ede0d unpack-images.sh: skip unpacking if destination path already exists
It's assumed in several places that the destination dir does not exist when the script is started.
2023-06-10 13:38:43 -04:00
smdyv
896e8ea8c4 [lynx] Exclude resource overlay file
Signed-off-by: Vladislav <stvlad06@gmail.com>
2023-05-11 10:25:56 -04:00
Vladislav
93d08e5a45 initial lynx port
Signed-off-by: Vladislav <stvlad06@gmail.com>
2023-05-11 00:16:12 -04:00
Dmitry Muhomor
2a16515341 ship vendor camera extensions properties
This makes Pixel Camera Services the provider of camera extensions.
Requires frameworks/base changes for validation of package that provides vendor camera extensions.
2023-04-06 06:32:13 -04:00
Dmitry Muhomor
7a22c22ab5 remove redundant filter for component-overrides on bluejay
There's device/google/gs101/component-overrides.xml that overrides it.
2023-03-18 18:10:01 -04:00
Dmitry Muhomor
35aefbdbbb end prefix filters that should match a single directory with '/'
prefix filters use startsWith() for matching, omitting the '/' makes them overly broad.

Verified that on all supported devices (4th, 5th, 6th, 7th gen) generated vendor modules stay
exactly the same.
2023-03-18 18:10:01 -04:00
Dmitry Muhomor
395d80aac8 deprivilege PixelNfc app
It doesn't use any privileged APIs, there's no need to keep it as a priv-app.
2023-03-18 18:10:01 -04:00
Dmitry Muhomor
b866757c00 ship PixelNfc app 2023-03-18 18:10:01 -04:00
Dmitry Muhomor
0a0d6add20 support overriding the auto-detected "privileged: true" flag in APK modules 2023-03-18 18:10:01 -04:00
Dmitry Muhomor
c5a7db6c85 remove a redundant null-check
customProps is not nullable.
2023-03-18 18:10:01 -04:00
Dmitry Muhomor
edb039e127 remove unneeded/unwanted 13 QPR2 overlays
Their values are:
android:string-array/config_loggable_dream_prefixes = com.google.,com.android.
android:string-array/vendor_disallowed_apps_managed_device = com.google.android.apps.healthdata
android:string-array/vendor_disallowed_apps_managed_profile = com.google.android.apps.healthdata
android:string-array/vendor_disallowed_apps_managed_user = com.google.android.apps.healthdata
android:string/config_defaultDockManagerPackageName = com.google.android.apps.nest.dockmanager.app
2023-03-15 03:44:20 -04:00
Dmitry Muhomor
9e44e74b42 remove android:string/config_systemBluetoothStack overlay
It's set to com.google.android.bluetooth since 13 QPR2.
AOSP's default value is correctly set to com.android.bluetooth.
2023-03-15 02:42:08 -04:00