Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14 akita #9

Open
wants to merge 9 commits into
base: 14
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions config/build-index/build-id-to-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,20 @@ UQ1A.240205.004: android-14.0.0_r25
UQ1A.240205.004.A1: android-14.0.0_r26
UQ1A.240205.004.B1: android-14.0.0_r27
UP1A.231105.001.B2: android-14.0.0_r28
AP1A.240305.019.A1: android-14.0.0_r29
AP1A.240405.002: android-14.0.0_r30
AP1A.240405.002.A1: android-14.0.0_r31
AP1A.240405.002.A2: android-14.0.0_r32
AP1A.240405.002.B1: android-14.0.0_r33
AP1A.240505.004: android-14.0.0_r34
AP1A.240505.005: android-14.0.0_r35
AP1A.240505.005.A1: android-14.0.0_r36
AP1A.240505.005.B1: android-14.0.0_r37
UD2A.231203.054: android-14.0.0_r38
UD2A.231203.057: android-14.0.0_r39
UD2A.231203.057.A1: android-14.0.0_r40
UD2A.240505.001: android-14.0.0_r41
UD2A.240505.001.A1: android-14.0.0_r42
UD2A.240505.001.B1: android-14.0.0_r43
UD2A.240505.001.D1: android-14.0.0_r44
UD2A.240505.001.W1: android-14.0.0_r45
328 changes: 328 additions & 0 deletions config/build-index/build-index-main.yml

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions config/device/akita.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
device:
name: akita
build_id: UD2A.240505.001.B1

platform:
product_makefile: device/google/akita/aosp_akita.mk

includes:
- common/gen8pixel.yml
- common/gs-wireless-charger.yml
4 changes: 4 additions & 0 deletions config/device/common/file-removal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ filters:
- product/etc/permissions/com.android.sdm.plugins.sprintdm.xml
- product/etc/permissions/com.android.sdm.plugins.usccdm.xml
- product/etc/permissions/com.customermobile.preload.vzw.xml
- product/etc/permissions/com.google.android.apps.pixel.familyspace.xml
- product/etc/permissions/com.google.android.apps.setupwizard.searchselector.xml
- product/etc/permissions/com.google.android.odad.xml
- product/etc/permissions/com.google.omadm.trigger.xml
- product/etc/permissions/com.verizon.apn.xml
Expand Down Expand Up @@ -262,6 +264,7 @@ filters:
- product/priv-app/DockManagerPrebuilt/
# DreamlinerPrebuilt is the Pixel Stand app, DreamlinerUpdater is firmware updater for Pixel Stand
- product/priv-app/Dreamliner
- product/priv-app/FamilySpacePrebuilt/
- product/priv-app/FilesPrebuilt/
# "Google Connectivity Services", https://play.google.com/store/apps/details?id=com.google.android.apps.gcs
- product/priv-app/GCS/
Expand Down Expand Up @@ -304,6 +307,7 @@ filters:
- product/priv-app/SafetyHubPrebuilt/
# "Live Transcribe & Notification", com.google.audio.hearing.visualization.accessibility.scribe
- product/priv-app/ScribePrebuilt/
- product/priv-app/SearchSelectorPrebuilt/
# https://play.google.com/store/apps/details?id=com.google.android.apps.security.securityhub
- product/priv-app/SecurityHubPrebuilt/
# https://play.google.com/store/apps/details?id=com.google.android.settings.intelligence
Expand Down
1 change: 1 addition & 0 deletions config/device/common/overlay-removal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ filters:
- com.android.settings:string-array/slice_allowlist_package_names
# "Google Assistant"
- com.android.systemui.accessibility.accessibilitymenu:string/assistant_utterance
- com.android.systemui:bool/config_pixel_vpn_enabled
- com.android.systemui:bool/config_touch_context_enabled
- com.android.systemui:bool/config_wlc_support_enabled
- com.android.systemui:integer/config_keyguardRefreshRate
Expand Down
1 change: 1 addition & 0 deletions config/device/pixel-gen8.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: device-list

devices:
- akita.yml
- husky.yml
- shiba.yml
7 changes: 6 additions & 1 deletion src/images/build-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ function parseFactoryOrOtaPage(buildIndex: BuildIndex, pageType: string, dom: JS
function parseVendorPage(buildIndex: BuildIndex, dom: JSDOM, devices: Set<string>) {
for (let device of devices) {
let header = dom.window.document.querySelector(`#${device}`) as HTMLHeadingElement
let head = header.nextElementSibling!
let head: Element
if (header === null && device === 'akita') {
head = dom.window.document.querySelector('#akitaud2a\\.231203\\.054') as Element
} else {
head = header.nextElementSibling!
}

while (true) {
if (!head.id.startsWith(device)) {
Expand Down
4 changes: 4 additions & 0 deletions vendor-skels/google_devices/akita/Android.bp.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Generated by adevtool; do not edit
// For more info, see https://github.com/GrapheneOS/adevtool

soong_namespace {}
25 changes: 25 additions & 0 deletions vendor-skels/google_devices/akita/Android.mk.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by adevtool; do not edit
# For more info, see https://github.com/GrapheneOS/adevtool

LOCAL_PATH := $(call my-dir)

ifeq ($(TARGET_DEVICE),akita)

RADIO_FILES := $(wildcard $(LOCAL_PATH)/firmware/*.img)
$(foreach f, $(notdir $(RADIO_FILES)),$(call add-radio-file,firmware/$(f)))

include $(CLEAR_VARS)
LOCAL_MODULE := device_symlinks
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := google_devices
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
LOCAL_MODULE_STEM := .device_symlinks
LOCAL_SRC_FILES := Android.mk
LOCAL_POST_INSTALL_CMD := \
mkdir -p $(PRODUCT_OUT)/system_ext/priv-app/PixelDisplayService/lib/arm64; \
ln -sf /system_ext/lib64/libpixeldisplaymanager_jni.so $(PRODUCT_OUT)/system_ext/priv-app/PixelDisplayService/lib/arm64/libpixeldisplaymanager_jni.so; \
rm -f $(TARGET_OUT_VENDOR_ETC)/.device_symlinks
include $(BUILD_PREBUILT)

endif
5 changes: 5 additions & 0 deletions vendor-skels/google_devices/akita/AndroidProducts.mk.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Generated by adevtool; do not edit
# For more info, see https://github.com/GrapheneOS/adevtool

PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/akita.mk
5 changes: 5 additions & 0 deletions vendor-skels/google_devices/akita/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Google Pixel 8a vendor module

This is an automatically-generated vendor module to build AOSP for the Google Pixel 8a (codename `akita`).

Generated by [adevtool](https://github.com/GrapheneOS/adevtool). [More info](https://github.com/GrapheneOS/adevtool/blob/main/README.md)
17 changes: 17 additions & 0 deletions vendor-skels/google_devices/akita/akita.mk.skip
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by adevtool; do not edit
# For more info, see https://github.com/GrapheneOS/adevtool

# Inherit AOSP product
$(call inherit-product, device/google/akita/aosp_akita.mk)

# Match stock product info
PRODUCT_NAME := akita
PRODUCT_MODEL := Pixel 8a
PRODUCT_BRAND := google
PRODUCT_MANUFACTURER := Google

include device/google/gs-common/wireless_charger/wireless_charger.mk

ifneq ($(BUILD_ID),UD2A.240505.001.B1)
$(error BUILD_ID: expected UD2A.240505.001.B1, got $(BUILD_ID))
endif
2 changes: 2 additions & 0 deletions vendor-skels/google_devices/akita/cmds-for-envsetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export BUILD_ID_akita="UD2A.240505.001.B1"
unset PLATFORM_SECURITY_PATCH_akita
5 changes: 5 additions & 0 deletions vendor-skels/google_devices/akita/firmware/android-info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require board=akita

require version-bootloader=akita-14.1-11556094
require version-baseband=g5300o-240130-240308-B-11548939
require partition-exists=vendor_kernel_boot
Loading