omni --> twrp changes

This commit is contained in:
Nicholas Andrew 2025-07-28 13:12:19 -04:00
parent 057649cb3c
commit 9866e310a3
9 changed files with 94 additions and 15 deletions

View file

@ -1,6 +1,7 @@
//
// Copyright (C) 2025 The Android Open Source Project
// Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
// Copyright (C) 2019 - Current | A-Team Digital Solutions
//
// SPDX-License-Identifier: Apache-2.0
//

View file

@ -1,6 +1,7 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#

View file

@ -1,14 +1,15 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/omni_mona.mk
$(LOCAL_DIR)/twrp_mona.mk
COMMON_LUNCH_CHOICES := \
omni_mona-user \
omni_mona-userdebug \
omni_mona-eng
twrp_mona-user \
twrp_mona-userdebug \
twrp_mona-eng

View file

@ -1,6 +1,7 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#

View file

@ -1,10 +1,55 @@
# Android device tree for motorola mona (mona)
Device configuration for Moto G Stylus 5G (2025) (codenamed "mona")
=========================================
The Motorola Moto G Stylus 5G (2025) (codenamed _"mona"_) is a mid-range smartphone from Motorola Mobility announced in April 2025.
## Device specifications
Basic | Spec Sheet
-------:|:-------------------------
SoC | Qualcomm SM6475 Snapdragon 6 Gen 3 (4 nm)
CPU | Octa-core (4x2.4 GHz Cortex-A78 & 4x1.8 GHz Cortex-A55)
GPU | Adreno 710
Memory | 8 GB RAM (LPDDR4X)
Shipped Android Version | 15.0, My UX 3.0 (Global)
Storage | 128 GB | 256 GB (UFS 2.2)
Battery | Non-removable Li-Po 5000 mAh battery
Display | AMOLED, 120 Hz, 2712 x 1220 pixels, 6.7 inches (~444 ppi density)
Camera | 50MP (Wide) + 16MP (Ultra-wide) + 32MP (Selfie)
## Device picture
![Motorola Moto G Stylus 5G (2025)](https://fdn2.gsmarena.com/vv/bigpic/motorola-moto-g-stylus-5g-2025.jpg)
# Status
Current state of features:
- [ ] Correct screen/recovery size
- [ ] Working touch, display
- [ ] Screen goes off and on
- [ ] Backup/restore to/from internal/external storage and adb
- [ ] Poweroff
- [ ] Reboot to system, bootloader, recovery, fastboot, edl
- [ ] ADB (including sideload)
- [ ] Support EROFS/F2FS/EXT4/exFAT/FAT32/NTFS
- [ ] Decrypt /data
- [ ] Flashing zip/images
- [ ] MTP export
- [ ] All important partitions listed in wipe/mount/backup lists
- [ ] Input devices via USB-OTG
- [ ] USB mass storage export
- [ ] Correct date
- [ ] Battery level
- [ ] Set brightness
- [ ] Vibrate and set vibration
- [ ] Screenshot
- [ ] Advanced features
# Building
```bash
export ALLOW_MISSING_DEPENDENCIES=true
source build/envsetup.sh
lunch twrp_mona-eng
mka recoveryimage -j$(nproc --all)
```
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
#
# SPDX-License-Identifier: Apache-2.0
#
```
**Copyright (C) 2023 Team Win Recovery Project**
**Copyright (C) 2025 A-Team Digital Solutions**

View file

@ -1,6 +1,7 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#

View file

@ -2,6 +2,7 @@
#
# Copyright (C) 2016 The CyanogenMod Project
# Copyright (C) 2017-2020 The LineageOS Project
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#

30
twrp_mona.mk Normal file
View file

@ -0,0 +1,30 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Inherit some common TWRP stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Inherit from mona device
$(call inherit-product, device/motorola/mona/device.mk)
PRODUCT_DEVICE := mona
PRODUCT_NAME := twrp_mona
PRODUCT_BRAND := motorola
PRODUCT_MODEL := moto stylus 5g 2025
PRODUCT_MANUFACTURER := motorola
PRODUCT_GMS_CLIENTID_BASE := android-motorola
PRODUCT_BUILD_PROP_OVERRIDES += \
PRIVATE_BUILD_DESC="mona-user 15 V2VA35V.29-59-ST2.5 137a7 release-keys"
BUILD_FINGERPRINT := motorola/mona/mona:15/V2VA35V.29-59-ST2.5/137a7:user/release-keys

View file

@ -1,10 +1,8 @@
#
# Copyright (C) 2025 The Android Open Source Project
# Copyright (C) 2025 SebaUbuntu's TWRP device tree generator
# Copyright (C) 2019 - Current | A-Team Digital Solutions
#
# SPDX-License-Identifier: Apache-2.0
#
add_lunch_combo omni_mona-user
add_lunch_combo omni_mona-userdebug
add_lunch_combo omni_mona-eng