Skip to content

Commit

Permalink
devices: Split nash
Browse files Browse the repository at this point in the history
* China brands things weird.

Change-Id: Ieb80149446e7e0ff78b9968cf2f35b6db89db6f5
  • Loading branch information
npjohnson committed Nov 9, 2023
1 parent 6ed2f09 commit 53c9b4a
Show file tree
Hide file tree
Showing 14 changed files with 115 additions and 10 deletions.
1 change: 1 addition & 0 deletions _data/devices/nash.yml → _data/devices/nash_variant1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ soc: Qualcomm MSM8998 Snapdragon 835
storage: 64 GB, 128 GB (UFS 2.1 2-LANE)
tree: android_device_motorola_nash
type: phone
variant: 1
vendor: Motorola
vendor_short: motorola
versions: [15.1, 16.0, 17.1, 18.1, 19.1, 20]
Expand Down
42 changes: 42 additions & 0 deletions _data/devices/nash_variant2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
architecture: arm64
battery: {capacity: 2730, removable: False, tech: 'Li-Ion'}
before_install: {instructions: 'nash'}
before_lineage_install: ab_copy_partitions
bluetooth: {profiles: [A2DP + aptX HD], spec: '5'}
cameras:
- {flash: 'Dual LED (dual tone)', info: '12 MP'}
- {flash: 'Dual LED (dual tone)', info: '12 MP (monochromatic)'}
- {flash: 'Dual LED (dual tone)', info: '5 MP'}
codename: nash
cpu: Kryo 280
cpu_cores: '8'
cpu_freq: 4 x 2.45 GHz + 4 x 1.9 GHz
current_branch: 20
dimensions: {depth: 6.1, height: 155.8, width: 76}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
gpu: Qualcomm Adreno 540
image: nash.png
install_method: fastboot_motorola
is_ab_device: true
kernel: android_kernel_motorola_msm8998
maintainers: [erfanoabdi, npjohnson, qsnc]
models: [XT1789-02, XT1789-03, XT1789-04, XT1789-05, XT1789-06, XT1789-07]
name: moto z (2018)
network: [2G GSM, 2G CDMA, 3G UMTS, 4G LTE]
peripherals: [Fingerprint reader, Accelerometer, Gyroscope, Proximity sensor, Compass, NFC, Hall effect sensor, Sensor hub, Light sensor, Moto Mods]
quirks: [aux_cameras]
ram: 6 GB LPDDR4X
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
recovery_partition_name: boot
release: 2017-07
screen: {resolution: '1440x2560', size: 5.5, technology: 'P-OLED'}
sdcard: {sizeMax: '256 GB'}
soc: Qualcomm MSM8998 Snapdragon 835
storage: 128 GB (UFS 2.1 2-LANE)
tree: android_device_motorola_nash
type: phone
variant: 2
vendor: Motorola
vendor_short: motorola
versions: [15.1, 16.0, 17.1, 18.1, 19.1, 20]
wifi: 802.11 a/b/g/n/ac
4 changes: 2 additions & 2 deletions pages/build/nash.md → pages/build/nash_variant1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar: home_sidebar
title: Build for nash
folder: build
permalink: /devices/nash/build
device: nash
permalink: /devices/nash/build/variant1
device: nash_variant1
---
{% include templates/device_build.md %}
8 changes: 8 additions & 0 deletions pages/build/nash_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for nash
folder: build
permalink: /devices/nash/build/variant2
device: nash_variant2
---
{% include templates/device_build.md %}
9 changes: 6 additions & 3 deletions pages/info/nash.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
sidebar: home_sidebar
title: Info about nash
title: Info about nash variants
folder: info
layout: deviceinfo
permalink: /devices/nash/
redirect_from:
- /devices/nash/install
- /devices/nash/update
device: nash
toc: false
---
{% include templates/device_info.md %}
{% include templates/device_variants.md info=true %}
9 changes: 9 additions & 0 deletions pages/info/nash_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about nash
folder: info
layout: deviceinfo
permalink: /devices/nash/variant1/
device: nash_variant1
---
{% include templates/device_info.md %}
9 changes: 9 additions & 0 deletions pages/info/nash_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about nash
folder: info
layout: deviceinfo
permalink: /devices/nash/variant2/
device: nash_variant2
---
{% include templates/device_info.md %}
4 changes: 2 additions & 2 deletions pages/install/nash.md → pages/install/nash_variant1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar: home_sidebar
title: Install LineageOS on nash
folder: install
permalink: /devices/nash/install
device: nash
permalink: /devices/nash/install/variant1
device: nash_variant1
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/install/nash_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on nash
folder: install
permalink: /devices/nash/install/variant2
device: nash_variant2
---
{% include templates/device_install.md %}
4 changes: 2 additions & 2 deletions pages/update/nash.md → pages/update/nash_variant1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sidebar: home_sidebar
title: Update LineageOS on nash
folder: update
permalink: /devices/nash/update
device: nash
permalink: /devices/nash/update/variant1
device: nash_variant1
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/update/nash_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on nash
folder: update
permalink: /devices/nash/update/variant2
device: nash_variant2
---
{% include templates/device_update.md %}
3 changes: 2 additions & 1 deletion pages/upgrade/nash.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ title: Upgrade LineageOS on nash
folder: upgrade
permalink: /devices/nash/upgrade
device: nash
toc: false
---
{% include templates/device_upgrade.md %}
{% include templates/device_variants.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/nash_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on nash
folder: upgrade
permalink: /devices/nash/upgrade/variant1
device: nash_variant1
---
{% include templates/device_upgrade.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/nash_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on nash
folder: upgrade
permalink: /devices/nash/upgrade/variant2
device: nash_variant2
---
{% include templates/device_upgrade.md %}

0 comments on commit 53c9b4a

Please sign in to comment.