-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wiki: devices: Add Xiaomi Black Shark (shark)
Change-Id: I0390d3da832a7ef5b006686aa9edd982fc0d2679
- Loading branch information
1 parent
a00744b
commit 217369d
Showing
9 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
11 changes: 11 additions & 0 deletions
11
_includes/templates/device_specific/before_recovery_install_shark.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |