Skip to content

Commit

Permalink
devices: Import Motorola g200 5G / Edge S30 (xpeng) | 20
Browse files Browse the repository at this point in the history
Change-Id: Id453fe38b7ccd3d6341ad3937e02af951a0ebd0d
  • Loading branch information
ThEMarD authored and npjohnson committed Oct 9, 2023
1 parent c6d28a0 commit 9fcb592
Show file tree
Hide file tree
Showing 16 changed files with 177 additions and 0 deletions.
41 changes: 41 additions & 0 deletions _data/devices/xpeng_variant1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
architecture: arm64
battery: {removable: False, capacity: 5000 , tech: 'Li-Po'}
before_lineage_install: ab_copy_partitions
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, vendor_boot]}
bluetooth: {spec: '5.2', profiles: [A2DP + aptX HD]}
cameras:
- {flash: 'LED', info: '108 MP (Primary)'}
- {flash: None, info: '13 MP (ultrawide)'}
- {flash: None, info: '2 MP (depth)'}
- {flash: None, info: '16 MP (Front Facing)'}
codename: xpeng
cpu: Kryo 680
cpu_cores: '8'
cpu_freq: 1 x 3.0 GHz + 2 x 2.42 GHz & 4 x 1.8 GHz
current_branch: 20
dimensions: {width: '75.5 mm (2.97 in)', height: '159.4 mm (6.62 in)', depth: '6.8 mm (0.35 in)'}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
gpu: Qualcomm Adreno 660
image: xpeng.png
install_method: fastboot_motorola
is_ab_device: true
kernel: android_kernel_motorola_sm7325
maintainers: [themard]
models: [XT2175-1]
name: moto g200 5G
network: [2G GSM, 2G CDMA, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Fingerprint reader, Galileo, GLONASS, GPS, Gyroscope, Light sensor, NFC, Pedometer, Proximity sensor, Sensor hub, USB OTG]
ram: 8 GB LPDDR5
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>, then select "Recovery mode" using Volume keys.
recovery_reboot: fastboot_menu
release: 2021-11
screen: {size: 6.8, resolution: '1080x2400', technology: 'IPS LCD'}
soc: Qualcomm SM8350-AC Snapdragon 888+
storage: 128/256 GB UFS 3.1
tree: android_device_motorola_xpeng
type: phone
variant: 1
vendor: Motorola
vendor_short: motorola
versions: [20]
wifi: 802.11 a/b/g/n/ac, Dual band, Wi-Fi Direct, Hotspot, Wi-Fi 6E, 4x4 MU-MIMO
41 changes: 41 additions & 0 deletions _data/devices/xpeng_variant2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
architecture: arm64
battery: {removable: False, capacity: 5000 , tech: 'Li-Po'}
before_lineage_install: ab_copy_partitions
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, vendor_boot]}
bluetooth: {spec: '5.2', profiles: [A2DP + aptX HD]}
cameras:
- {flash: 'LED', info: '108 MP (Primary)'}
- {flash: None, info: '13 MP (ultrawide)'}
- {flash: None, info: '2 MP (depth)'}
- {flash: None, info: '16 MP (Front Facing)'}
codename: xpeng
cpu: Kryo 680
cpu_cores: '8'
cpu_freq: 1 x 3.0 GHz + 2 x 2.42 GHz & 4 x 1.8 GHz
current_branch: 20
dimensions: {width: '75.5 mm (2.97 in)', height: '159.4 mm (6.62 in)', depth: '6.8 mm (0.35 in)'}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
gpu: Qualcomm Adreno 660
image: xpeng.png
install_method: fastboot_motorola
is_ab_device: true
kernel: android_kernel_motorola_sm7325
maintainers: [themard]
models: [XT2175-2]
name: Edge S30
network: [2G GSM, 2G CDMA, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Fingerprint reader, Galileo, GLONASS, GPS, Gyroscope, Light sensor, Pedometer, Proximity sensor, Sensor hub, USB OTG]
ram: 8/12 GB LPDDR5
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>, then select "Recovery mode" using Volume keys.
recovery_reboot: fastboot_menu
release: 2021-12
screen: {size: 6.8, density: 395, resolution: '1080x2400', technology: 'IPS LCD'}
soc: Qualcomm SM8350-AC Snapdragon 888+
storage: 256/512 GB UFS 3.1
tree: android_device_motorola_xpeng
type: phone
variant: 2
vendor: Motorola
vendor_short: motorola
versions: [20]
wifi: 802.11 a/b/g/n/ac, Dual band, Wi-Fi Direct, Hotspot, Wi-Fi 6E, 4x4 MU-MIMO
Binary file added images/devices/small/xpeng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/devices/xpeng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions pages/build/xpeng_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for xpeng
folder: build
permalink: /devices/xpeng/build/variant1
device: xpeng_variant1
---
{% include templates/device_build.md %}
8 changes: 8 additions & 0 deletions pages/build/xpeng_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for xpeng
folder: build
permalink: /devices/xpeng/build/variant2
device: xpeng_variant2
---
{% include templates/device_build.md %}
12 changes: 12 additions & 0 deletions pages/info/xpeng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar: home_sidebar
title: Info about xpeng variants
folder: info
permalink: /devices/xpeng/
redirect_from:
- /devices/xpeng/install
- /devices/xpeng/update
device: xpeng
toc: false
---
{% include templates/device_variants.md info=true %}
9 changes: 9 additions & 0 deletions pages/info/xpeng_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about xpeng
folder: info
layout: deviceinfo
permalink: /devices/xpeng/variant1/
device: xpeng_variant1
---
{% include templates/device_info.md %}
9 changes: 9 additions & 0 deletions pages/info/xpeng_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about xpeng
folder: info
layout: deviceinfo
permalink: /devices/xpeng/variant2/
device: xpeng_variant2
---
{% include templates/device_info.md %}
8 changes: 8 additions & 0 deletions pages/install/xpeng_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on xpeng
folder: install
permalink: /devices/xpeng/install/variant1
device: xpeng_variant1
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/install/xpeng_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on xpeng
folder: install
permalink: /devices/xpeng/install/variant2
device: xpeng_variant2
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/update/xpeng_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on xpeng
folder: update
permalink: /devices/xpeng/update/variant1
device: xpeng_variant1
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/update/xpeng_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on xpeng
folder: update
permalink: /devices/xpeng/update/variant2
device: xpeng_variant2
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/xpeng_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on xpeng
folder: upgrade
permalink: /devices/xpeng/upgrade/variant1
device: xpeng_variant1
---
{% include templates/device_upgrade.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/xpeng_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on xpeng
folder: upgrade
permalink: /devices/xpeng/upgrade/variant2
device: xpeng_variant2
---
{% include templates/device_upgrade.md %}
1 change: 1 addition & 0 deletions test/schema-06.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ definitions:
- Qualcomm SM8250-AB Snapdragon 865+
- Qualcomm SM8250-AC Snapdragon 870
- Qualcomm SM8350 Snapdragon 888
- Qualcomm SM8350-AC Snapdragon 888+
- Qualcomm SM8450 Snapdragon 8 Gen1
- Qualcomm SM8475 Snapdragon 8+ Gen1
- Qualcomm SM8550 Snapdragon 8 Gen2
Expand Down

0 comments on commit 9fcb592

Please sign in to comment.