Skip to content

Commit

Permalink
wiki: devices: Add Xiaomi Black Shark (shark)
Browse files Browse the repository at this point in the history
Change-Id: I0390d3da832a7ef5b006686aa9edd982fc0d2679
  • Loading branch information
rtx4d authored and razorloves committed Aug 5, 2024
1 parent a00744b commit 217369d
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 0 deletions.
39 changes: 39 additions & 0 deletions _data/devices/shark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
architecture: arm64
battery: {capacity: 4000, removable: False, tech: 'Li-Po'}
before_recovery_install: shark
bluetooth: {profiles: [A2DP + aptX HD], spec: '5'}
cameras:
- {flash: 'Dual LED (dual tone)', info: '12 MP'}
- {flash: 'Dual LED (dual tone)', info: '20 MP'}
- {flash: None, info: '20 MP'}
codename: shark
cpu: Kryo 385
cpu_cores: '8'
cpu_freq: 4 x 2.8 GHz + 4 x 1.8 GHz
current_branch: 21
dimensions: {depth: 9.25, height: 161.62, width: 75.4}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
gpu: Qualcomm Adreno 630
image: shark.png
install_method: fastboot_nexus
is_ab_device: true
kernel: {repo: android_kernel_xiaomi_shark, version: '4.9'}
maintainers: [rtx4d, tdrkDev]
models: [SKR-A0, SKR-H0]
name: Black Shark
network: [2G GSM, 2G CDMA, 3G UMTS, 3G CDMA2000, 4G LTE]
peripherals: [Dual SIM, Fingerprint reader, Accelerometer, Gyroscope, Light sensor, Compass, Proximity sensor, RGB ambient light, GPS]
ram: 6/8 GB LPDDR4X
recovery_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Power</kbd>. When the blue text appears, release the buttons.
recovery_partition_name: boot
recovery_reboot: fastboot_menu
release: 2018
screen: {resolution: '2160x1080', size: 5.99, technology: 'IPS LCD'}
soc: Qualcomm SDM845 Snapdragon 845
storage: 64/128 GB UFS2.1
tree: android_device_xiaomi_shark
type: phone
vendor: Xiaomi
vendor_short: xiaomi
versions: [21]
wifi: 802.11 a/b/g/n/ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Flashing the dtbo partition

{% include alerts/warning.html content="This platform dtbo partition to be flashed for recovery to work properly, the process to do so is described below." %}

1. Download dtbo.img file from [here](https://download.lineageos.org/devices/{{ device.codename }}).
2. Reboot the device into bootloader mode:
* {{ device.download_boot }}
3. Flash the downloaded image files to your device by running:
```
fastboot flash dtbo dtbo.img
```
Binary file added images/devices/shark.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/shark.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/shark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for shark
folder: build
permalink: /devices/shark/build/
device: shark
---
{% include templates/device_build.md %}
9 changes: 9 additions & 0 deletions pages/info/shark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about shark
folder: info
layout: deviceinfo
permalink: /devices/shark/
device: shark
---
{% include templates/device_info.md %}
8 changes: 8 additions & 0 deletions pages/install/shark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on shark
folder: install
permalink: /devices/shark/install/
device: shark
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/update/shark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on shark
folder: update
permalink: /devices/shark/update/
device: shark
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/shark.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on shark
folder: upgrade
permalink: /devices/shark/upgrade/
device: shark
---
{% include templates/device_upgrade.md %}

0 comments on commit 217369d

Please sign in to comment.