Skip to content

Commit

Permalink
wiki: Add Redmi K60 Pro
Browse files Browse the repository at this point in the history
Change-Id: I90ff3c9150edcaabacdebde5740c78d608a49a68
Signed-off-by: danielml <[email protected]>
  • Loading branch information
danielml3 committed Aug 14, 2024
1 parent 395bd1f commit 3834542
Show file tree
Hide file tree
Showing 10 changed files with 116 additions and 0 deletions.
43 changes: 43 additions & 0 deletions _data/devices/socrates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', lineage_version: 21, ships_fw: True}
before_install_device_variants:
- {device: 'Redmi K60 Pro', download_link: 'https://bn.d.miui.com/OS1.0.9.0.UMKCNXM/miui_SOCRATES_OS1.0.9.0.UMKCNXM_6cbb77eede_14.0.zip', firmware: 'OS1.0.9.0.UMKCNXM'}
before_recovery_install: {instructions: 'boot_stack', partitions: [boot, dtbo, init_boot, vbmeta, vendor_boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.3'}
cameras:
- {flash: 'Dual LED (dual tone)', info: '54 MP (wide)'}
- {flash: 'Dual LED (dual tone)', info: '8 MP (ultrawide)'}
- {flash: 'Dual LED (dual tone)', info: '2 MP (macro)'}
- {flash: None, info: '16 MP'}
codename: socrates
cpu: Kryo
cpu_cores: '8'
cpu_freq: 1 x 3.2 GHz + 4 x 2.8 GHz + 3 x 2.0 GHz
current_branch: 21
dimensions: {depth: 8.6, height: 162.8, width: 75.4}
download_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
firmware_update: firmware_update_xiaomi_sm8550_vab
gpu: Qualcomm Adreno 740
image: socrates.png
install_method: fastboot_xiaomi
is_ab_device: true
kernel: {repo: android_kernel_xiaomi_sm8550, version: '5.15'}
maintainers: [danielml]
models: [22127RK46C]
name: Redmi K60 Pro
network: [2G GSM, 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, Gyroscope, IR blaster, Light sensor, NFC, Proximity sensor, USB OTG]
ram: 8/12/16 GB LPDDR5X
recovery_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Power</kbd>.
recovery_partition_name: recovery
release: 2022-12-27
screen: {resolution: '3200x1440', size: 6.67, technology: 'OLED'}
soc: Qualcomm SM8550 Snapdragon 8 Gen2
storage: 128/256/512 GB
tree: android_device_xiaomi_socrates
type: phone
vendor: Xiaomi
vendor_short: xiaomi
versions: [21]
wifi: 802.11 a/b/g/n/ac/ax
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% include templates/device_specific/firmware_update_xiaomi_fastboot_payload.md content="
fastboot flash abl_ab abl.img
fastboot flash aop_ab aop.img
fastboot flash aop_config_ab aop_config.img
fastboot flash bluetooth_ab bluetooth.img
fastboot flash cpucp_ab cpucp.img
fastboot flash devcfg_ab devcfg.img
fastboot flash dsp_ab dsp.img
fastboot flash featenabler_ab featenabler.img
fastboot flash hyp_ab hyp.img
fastboot flash imagefv_ab imagefv.img
fastboot flash keymaster_ab keymaster.img
fastboot flash modem_ab modem.img
fastboot flash qupfw_ab qupfw.img
fastboot flash shrm_ab shrm.img
fastboot flash tz_ab tz.img
fastboot flash uefi_ab uefi.img
fastboot flash uefisecapp_ab uefisecapp.img
fastboot flash xbl_ab xbl.img
fastboot flash xbl_config_ab xbl_config.img
fastboot flash xbl_ramdump_ab xbl_ramdump.img
" %}
Binary file added images/devices/small/socrates.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/socrates.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/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for socrates
folder: build
permalink: /devices/socrates/build/
device: socrates
---
{% include templates/device_build.md %}
10 changes: 10 additions & 0 deletions pages/fw_update/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar: home_sidebar
title: Update firmware on socrates
folder: fw_update
permalink: /devices/socrates/fw_update/
device: socrates
---
{% assign device = site.data.devices[page.device] %}
{% capture path %}templates/device_specific/{{ device.firmware_update }}.md{% endcapture %}
{% include {{ path }} %}
9 changes: 9 additions & 0 deletions pages/info/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about socrates
folder: info
layout: deviceinfo
permalink: /devices/socrates/
device: socrates
---
{% include templates/device_info.md %}
8 changes: 8 additions & 0 deletions pages/install/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on socrates
folder: install
permalink: /devices/socrates/install/
device: socrates
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/update/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on socrates
folder: update
permalink: /devices/socrates/update/
device: socrates
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/socrates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on socrates
folder: upgrade
permalink: /devices/socrates/upgrade/
device: socrates
---
{% include templates/device_upgrade.md %}

0 comments on commit 3834542

Please sign in to comment.