diff --git a/_data/devices/shark.yml b/_data/devices/shark.yml new file mode 100644 index 0000000000..1503510d61 --- /dev/null +++ b/_data/devices/shark.yml @@ -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 Volume Down + Power. +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 Volume Up + Power. 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 diff --git a/_includes/templates/device_specific/before_recovery_install_shark.md b/_includes/templates/device_specific/before_recovery_install_shark.md new file mode 100644 index 0000000000..6e83504e8a --- /dev/null +++ b/_includes/templates/device_specific/before_recovery_install_shark.md @@ -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 + ``` diff --git a/images/devices/shark.png b/images/devices/shark.png new file mode 100644 index 0000000000..e7d5e75a26 Binary files /dev/null and b/images/devices/shark.png differ diff --git a/images/devices/small/shark.png b/images/devices/small/shark.png new file mode 100644 index 0000000000..8559b93701 Binary files /dev/null and b/images/devices/small/shark.png differ diff --git a/pages/build/shark.md b/pages/build/shark.md new file mode 100644 index 0000000000..b374c3d608 --- /dev/null +++ b/pages/build/shark.md @@ -0,0 +1,8 @@ +--- +sidebar: home_sidebar +title: Build for shark +folder: build +permalink: /devices/shark/build/ +device: shark +--- +{% include templates/device_build.md %} diff --git a/pages/info/shark.md b/pages/info/shark.md new file mode 100644 index 0000000000..c178b1a9fe --- /dev/null +++ b/pages/info/shark.md @@ -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 %} diff --git a/pages/install/shark.md b/pages/install/shark.md new file mode 100644 index 0000000000..2d37f5d823 --- /dev/null +++ b/pages/install/shark.md @@ -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 %} diff --git a/pages/update/shark.md b/pages/update/shark.md new file mode 100644 index 0000000000..7887fe689a --- /dev/null +++ b/pages/update/shark.md @@ -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 %} diff --git a/pages/upgrade/shark.md b/pages/upgrade/shark.md new file mode 100644 index 0000000000..0caeba898e --- /dev/null +++ b/pages/upgrade/shark.md @@ -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 %}