walleye: Initial Evolution-X 9.x makefiles and dependencies

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
This commit is contained in:
Asriadi Rahim
2024-07-20 23:45:08 +08:00
parent b7be50cc4f
commit 7f91afa6fc
7 changed files with 71 additions and 10 deletions

View File

@@ -15,10 +15,11 @@
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_walleye.mk \
$(LOCAL_DIR)/aosp_walleye_test.mk \
$(LOCAL_DIR)/aosp_walleye_hwasan.mk \
$(LOCAL_DIR)/lineage_walleye.mk \
COMMON_LUNCH_CHOICES := \
aosp_walleye-userdebug \
aosp_walleye_test-userdebug
lineage_walleye-eng \
lineage_walleye-userdebug \
lineage_walleye-user

View File

@@ -43,6 +43,9 @@ TARGET_RECOVERY_UI_LIB := \
librecovery_ui_walleye \
libfstab
# Kernel
TARGET_KERNEL_CONFIG := eucalyptus_walleye_defconfig
# Board uses A/B OTA.
AB_OTA_UPDATER := true

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# Device Tree for Google Pixel 2
The Google Pixel 2 (codenamed _"walleye"_) is a mid-range smartphone from Google.
It was released in October 2017.
## Device specifications
| Device | Google Pixel 2 |
| ----------------------- | :------------------------------------------- |
| SoC | Qualcomm MSM8998 Snapdragon 835 (10 nm) |
| CPU | Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo) |
| GPU | Adreno 540 |
| Memory | 4GB RAM (LPDDR4X) |
| Shipped Android version | 8.0 |
| Storage | 64/128GB UFS 2.1 |
| Battery | Non-removable Li-Ion 2700 mAh |
| Dimensions | 145.7 mm x 69.7 mm x 7.8 mm |
| Display | 1080x1920 (441 PPI) AMOLED 127 mm (5 in) |
| Rear camera | 12.2 MP, Dual LED flash |
| Front camera | 8 MP, No flash |
## Device picture
![Google Pixel 2](https://raw.githubusercontent.com/PixelExperience/official_devices/master/images/.thumbs/300/walleye.png)

View File

@@ -14,7 +14,7 @@
# limitations under the License.
#
$(call inherit-product, device/google/walleye/aosp_walleye.mk)
$(call inherit-product, device/google/walleye/lineage_walleye.mk)
PRODUCT_NAME := aosp_walleye_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.

View File

@@ -14,6 +14,6 @@
# limitations under the License.
#
$(call inherit-product, device/google/walleye/aosp_walleye.mk)
$(call inherit-product, device/google/walleye/lineage_walleye.mk)
PRODUCT_NAME := aosp_walleye_test

10
evolution.dependencies Normal file
View File

@@ -0,0 +1,10 @@
[
{
"repository": "android_device_google_wahoo",
"target_path": "device/google/wahoo"
},
{
"repository": "vendor_google_walleye",
"target_path": "vendor/google/walleye"
}
]

View File

@@ -18,8 +18,26 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit some common EvolutionX stuff
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# EvolutionX Specific Flags
EVO_BUILD_TYPE := Official
WITH_GMS := true
# Inherit BCR
BUILD_BCR := false
# EPPE
TARGET_DISABLE_EPPE := true
# Boot animation
TARGET_SCREEN_HEIGHT := 1920
TARGET_SCREEN_WIDTH := 1080
# Inherit device configuration
$(call inherit-product, device/google/walleye/device-walleye.mk)
$(call inherit-product, vendor/google/walleye/walleye-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/walleye/proprietary/device-vendor-walleye.mk)
PRODUCT_PACKAGES += \
@@ -28,12 +46,17 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
device/google/walleye/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
PRODUCT_RESTRICT_VENDOR_FILES := owner
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
## Device identifier. This must come after all inclusions
PRODUCT_MANUFACTURER := Google
PRODUCT_BRAND := Android
PRODUCT_NAME := aosp_walleye
PRODUCT_BRAND := google
PRODUCT_NAME := lineage_walleye
PRODUCT_DEVICE := walleye
PRODUCT_MODEL := AOSP on walleye
PRODUCT_MODEL := Pixel 2
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=walleye \
PRIVATE_BUILD_DESC="walleye-user 11 RP1A.201005.004.A1 6934943 release-keys"
BUILD_FINGERPRINT := google/walleye/walleye:11/RP1A.201005.004.A1/6934943:user/release-keys