Skip to content

Commit

Permalink
wiki: devices: Add Xiaomi 12(S) Pro (unicorn & zeus)
Browse files Browse the repository at this point in the history
Change-Id: Icfe1b09f0ca5ef27e5eac90f3a9048f5a14d6f80
  • Loading branch information
ArianK16a authored and Gelbpunkt committed May 21, 2024
1 parent 20f2aae commit 803ca84
Show file tree
Hide file tree
Showing 16 changed files with 162 additions and 0 deletions.
40 changes: 40 additions & 0 deletions _data/devices/unicorn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
architecture: arm64
battery: {capacity: 4600, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_recovery_install: {instructions: 'boot_stack', partitions: [boot, dtbo, vendor_boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.2'}
cameras:
- {flash: 'LED', info: '50 MP (main)'}
- {flash: 'LED', info: '50 MP (ultrawide)'}
- {flash: 'LED', info: '50 MP (telephoto)'}
- {flash: None, info: '32 MP (front)'}
codename: unicorn
cpu: Cortex-X2 & Cortex-A710 & Cortex-A510
cpu_cores: '8'
cpu_freq: 1 x 3.19 GHz + 3 x 2.75 GHz + 4 x 1.8 GHz
current_branch: 21
dimensions: {depth: 8.16, height: 163.6, width: 74.6}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>. Keep holding both buttons until the word "FASTBOOT" appears on the screen, then release.
gpu: Qualcomm Adreno 730
image: unicorn.png
install_method: fastboot_xiaomi
is_ab_device: true
kernel: {repo: android_kernel_xiaomi_sm8450, version: '5.10'}
maintainers: [ArianK16a]
models: [2206122SC]
name: 12S Pro
network: [2G GSM, 2G CDMA, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Dual speakers, Dual-frequency GNSS, Fingerprint reader, BeiDou, Galileo, GLONASS, GPS, NAVIC, SBAS, QZSS, Gyroscope, IR blaster, Light sensor, NFC, Ultrasound proximity sensor, USB OTG]
ram: 8/12 GB LPDDR5
recovery_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Power</kbd>. Keep holding both buttons until the "MI" logo appears on the screen, then release.
recovery_partition_name: recovery
release: 2022-07-04
screen: {refresh_rate: 120, resolution: '1440x3200', size: 6.73, technology: 'AMOLED'}
soc: Qualcomm SM8475 Snapdragon 8+ Gen1
storage: 128/256/512 GB UFS 3.1
tree: android_device_xiaomi_unicorn
type: phone
vendor: Xiaomi
vendor_short: xiaomi
versions: [21]
wifi: 802.11 a/b/g/n/ac/ax
40 changes: 40 additions & 0 deletions _data/devices/zeus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
architecture: arm64
battery: {capacity: 4600, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_recovery_install: {instructions: 'boot_stack', partitions: [boot, dtbo, vendor_boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.2'}
cameras:
- {flash: 'LED', info: '50 MP (main)'}
- {flash: 'LED', info: '50 MP (ultrawide)'}
- {flash: 'LED', info: '50 MP (telephoto)'}
- {flash: None, info: '32 MP (front)'}
codename: zeus
cpu: Cortex-X2 & Cortex-A710 & Cortex-A510
cpu_cores: '8'
cpu_freq: 1 x 3.0 GHz + 3 x 2.5 GHz + 4 x 1.8 GHz
current_branch: 21
dimensions: {depth: 8.16, height: 163.6, width: 74.6}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>. Keep holding both buttons until the word "FASTBOOT" appears on the screen, then release.
gpu: Qualcomm Adreno 730
image: zeus.png
install_method: fastboot_xiaomi
is_ab_device: true
kernel: {repo: android_kernel_xiaomi_sm8450, version: '5.10'}
maintainers: [ArianK16a]
models: [2201122C, 2201122G]
name: 12 Pro
network: [2G GSM, 2G CDMA, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Barometer, Compass, Dual SIM, Dual speakers, Dual-frequency GNSS, Fingerprint reader, BeiDou, Galileo, GLONASS, GPS, NAVIC, SBAS, QZSS, Gyroscope, IR blaster, Light sensor, NFC, Ultrasound proximity sensor, USB OTG]
ram: 8/12 GB LPDDR5
recovery_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Power</kbd>. Keep holding both buttons until the "MI" logo appears on the screen, then release.
recovery_partition_name: recovery
release: 2021-12-31
screen: {refresh_rate: 120, resolution: '1440x3200', size: 6.73, technology: 'AMOLED'}
soc: Qualcomm SM8450 Snapdragon 8 Gen1
storage: 128/256 GB UFS 3.1
tree: android_device_xiaomi_zeus
type: phone
vendor: Xiaomi
vendor_short: xiaomi
versions: [21]
wifi: 802.11 a/b/g/n/ac/ax
Binary file added images/devices/small/unicorn.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/small/zeus.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/unicorn.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/zeus.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/unicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for unicorn
folder: build
permalink: /devices/unicorn/build/
device: unicorn
---
{% include templates/device_build.md %}
8 changes: 8 additions & 0 deletions pages/build/zeus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for zeus
folder: build
permalink: /devices/zeus/build/
device: zeus
---
{% include templates/device_build.md %}
9 changes: 9 additions & 0 deletions pages/info/unicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about unicorn
folder: info
layout: deviceinfo
permalink: /devices/unicorn/
device: unicorn
---
{% include templates/device_info.md %}
9 changes: 9 additions & 0 deletions pages/info/zeus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about zeus
folder: info
layout: deviceinfo
permalink: /devices/zeus/
device: zeus
---
{% include templates/device_info.md %}
8 changes: 8 additions & 0 deletions pages/install/unicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on unicorn
folder: install
permalink: /devices/unicorn/install/
device: unicorn
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/install/zeus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on zeus
folder: install
permalink: /devices/zeus/install/
device: zeus
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/update/unicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on unicorn
folder: update
permalink: /devices/unicorn/update/
device: unicorn
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/update/zeus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on zeus
folder: update
permalink: /devices/zeus/update/
device: zeus
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/unicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on unicorn
folder: upgrade
permalink: /devices/unicorn/upgrade/
device: unicorn
---
{% include templates/device_upgrade.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/zeus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on zeus
folder: upgrade
permalink: /devices/zeus/upgrade/
device: zeus
---
{% include templates/device_upgrade.md %}

0 comments on commit 803ca84

Please sign in to comment.