Skip to content

Commit

Permalink
wiki: Add Realme 9 Pro 5G
Browse files Browse the repository at this point in the history
Change-Id: I13dba532e0328568b49e7a2d32f50dd966a4b9bf
  • Loading branch information
Vivekachooz committed Jul 16, 2024
1 parent deb34c8 commit b463129
Show file tree
Hide file tree
Showing 29 changed files with 322 additions and 0 deletions.
44 changes: 44 additions & 0 deletions _data/devices/oscar_variant1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
- {flash: 'LED', info: '64 MP (main)'}
- {flash: 'LED', info: '8 MP (ultrawide)'}
- {flash: 'LED', info: '2 MP (macro)'}
- {flash: None, info: '16 MP'}
codename: oscar
cpu: Kryo 660
cpu_cores: '8'
cpu_freq: 2 x 2.2 GHz + 6 x 1.7 GHz
current_branch: 21
dimensions: {depth: 8.5, height: 164.3, width: 75.6}
download_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
firmware_update: firmware_update_realme_sm6375
gpu: Qualcomm Adreno 619
image: oscar_variant1.png
install_method: fastboot_realme
is_ab_device: true
kernel: {repo: android_kernel_realme_sm6375, version: '5.4'}
maintainers: [Vivekachooz]
models: [RMX3471, RMX3472]
name: 9 Pro 5G
network: [2G GSM, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Dual-frequency GNSS, Fingerprint reader, BeiDou, GLONASS, GPS, Gyroscope, Hall effect sensor, Light sensor, NFC, Proximity sensor, USB OTG]
ram: 6/8 GB LPDDR4X
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
recovery_partition_name: vendor_boot
recovery_reboot: fastboot_menu
release: 2022-02-23
screen: {refresh_rate: 120, resolution: '1080x2412', size: 6.6, technology: 'IPS LCD'}
sdcard: {size_max: '1 TB'}
soc: Qualcomm SM6375 Snapdragon 695
storage: 128 GB UFS2.2
tree: android_device_realme_oscar
type: phone
variant: 1
vendor: Realme
vendor_short: realme
versions: [21]
wifi: 802.11 a/b/g/n/ac
44 changes: 44 additions & 0 deletions _data/devices/oscar_variant2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
- {flash: 'LED', info: '50 MP (main)'}
- {flash: 'LED', info: '2 MP (macro)'}
- {flash: 'LED', info: '2 MP (depth)'}
- {flash: None, info: '16 MP'}
codename: oscar
cpu: Kryo 660
cpu_cores: '8'
cpu_freq: 2 x 2.2 GHz + 6 x 1.7 GHz
current_branch: 21
dimensions: {depth: 8.5, height: 164.3, width: 75.6}
download_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
firmware_update: firmware_update_realme_sm6375
gpu: Qualcomm Adreno 619
image: oscar_variant2.png
install_method: fastboot_realme
is_ab_device: true
kernel: {repo: android_kernel_realme_sm6375, version: '5.4'}
maintainers: [Vivekachooz]
models: [RMX3474]
name: 9 5G
network: [2G GSM, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Dual-frequency GNSS, Fingerprint reader, BeiDou, GLONASS, GPS, Gyroscope, Hall effect sensor, Light sensor, NFC, Proximity sensor, USB OTG]
ram: 4 GB LPDDR4X
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
recovery_partition_name: vendor_boot
recovery_reboot: fastboot_menu
release: 2022-06-09
screen: {refresh_rate: 120, resolution: '1080x2412', size: 6.6, technology: 'IPS LCD'}
sdcard: {size_max: '1 TB'}
soc: Qualcomm SM6375 Snapdragon 695
storage: 128 GB UFS2.2
tree: android_device_realme_oscar
type: phone
variant: 2
vendor: Realme
vendor_short: realme
versions: [21]
wifi: 802.11 a/b/g/n/ac
44 changes: 44 additions & 0 deletions _data/devices/oscar_variant3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
- {flash: 'LED', info: '50 MP (main)'}
- {flash: 'LED', info: '2 MP (macro)'}
- {flash: 'LED', info: '2 MP (depth)'}
- {flash: None, info: '16 MP'}
codename: oscar
cpu: Kryo 660
cpu_cores: '8'
cpu_freq: 2 x 2.2 GHz + 6 x 1.7 GHz
current_branch: 21
dimensions: {depth: 8.5, height: 164.3, width: 75.6}
download_boot: With the device powered off, hold <kbd>Volume Up</kbd> + <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
firmware_update: firmware_update_realme_sm6375
gpu: Qualcomm Adreno 619
image: oscar_variant3.png
install_method: fastboot_realme
is_ab_device: true
kernel: {repo: android_kernel_realme_sm6375, version: '5.4'}
maintainers: [Vivekachooz]
models: [RMX3478]
name: Q5
network: [2G GSM, 3G UMTS, 4G LTE, 5G NR]
peripherals: [A-GPS, Accelerometer, Compass, Dual SIM, Dual-frequency GNSS, Fingerprint reader, BeiDou, GLONASS, GPS, Gyroscope, Hall effect sensor, Light sensor, NFC, Proximity sensor, USB OTG]
ram: 6/8 GB LPDDR4X
recovery_boot: With the device powered off, hold <kbd>Volume Down</kbd> + <kbd>Power</kbd>.
recovery_partition_name: vendor_boot
recovery_reboot: fastboot_menu
release: 2022-04-28
screen: {refresh_rate: 120, resolution: '1080x2412', size: 6.6, technology: 'IPS LCD'}
sdcard: {size_max: '1 TB'}
soc: Qualcomm SM6375 Snapdragon 695
storage: 128 GB UFS2.2
tree: android_device_realme_oscar
type: phone
variant: 3
vendor: Realme
vendor_short: realme
versions: [21]
wifi: 802.11 a/b/g/n/ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% include alerts/warning.html content="These instructions are NOT for carrier branded variants." %}

{%- if device.before_install.instructions == "needs_specific_android_fw" and device.before_install.version -%}
1. Download the latest **Android {{ device.before_install.version }}** full stock ROM update using [realme-ota](https://github.com/R0rt1z2/realme-ota)
{%- else -%}
1. Download the latest full stock ROM update using [realme-ota](https://github.com/R0rt1z2/realme-ota)
{%- endif %}
2. Extract stock ROM using [payload-dumper-go](https://github.com/ssut/payload-dumper-go)
3. Boot up LineageOS recovery
4. Go to "Advanced" -> "Enter fastboot"
{% include alerts/warning.html content="The \"Enter fastboot\" option may not be present on older LineageOS recovery builds and it cannot be substituted with \"Reboot to bootloader\"." %}
5. Execute following commands:
```
{{- include.content -}}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% include templates/device_specific/firmware_update_realme_fastbootd.md content="
fastboot flash --slot=all abl abl.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all core_nhlos core_nhlos.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all engineering_cdt engineering_cdt.img
fastboot flash --slot=all featenabler featenabler.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all oplus_sec oplus_sec.img
fastboot flash --slot=all oplusstanvbk oplusstanvbk.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all rpm rpm.img
fastboot flash --slot=all splash splash.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
fastboot flash --slot=all xbl_config xbl_config.img
fastboot flash --slot=all xbl xbl.img
" %}
Binary file added images/devices/oscar_variant1.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/oscar_variant2.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/oscar_variant3.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/oscar_variant1.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/oscar_variant2.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/oscar_variant3.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/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for oscar
folder: build
permalink: /devices/oscar/build/variant1/
device: oscar_variant1
---
{% include templates/device_build.md %}
8 changes: 8 additions & 0 deletions pages/build/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for oscar
folder: build
permalink: /devices/oscar/build/variant2/
device: oscar_variant2
---
{% include templates/device_build.md %}
8 changes: 8 additions & 0 deletions pages/build/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Build for oscar
folder: build
permalink: /devices/oscar/build/variant3/
device: oscar_variant3
---
{% include templates/device_build.md %}
10 changes: 10 additions & 0 deletions pages/fw_update/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar: home_sidebar
title: Update firmware on oscar
folder: fw_update
permalink: /devices/oscar/fw_update/variant1/
device: oscar_variant1
---
{% assign device = site.data.devices[page.device] %}
{% capture path %}templates/device_specific/{{ device.firmware_update }}.md{% endcapture %}
{% include {{ path }} %}
10 changes: 10 additions & 0 deletions pages/fw_update/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar: home_sidebar
title: Update firmware on oscar
folder: fw_update
permalink: /devices/oscar/fw_update/variant2/
device: oscar_variant2
---
{% assign device = site.data.devices[page.device] %}
{% capture path %}templates/device_specific/{{ device.firmware_update }}.md{% endcapture %}
{% include {{ path }} %}
10 changes: 10 additions & 0 deletions pages/fw_update/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar: home_sidebar
title: Update firmware on oscar
folder: fw_update
permalink: /devices/oscar/fw_update/variant3/
device: oscar_variant3
---
{% 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/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about oscar
folder: info
layout: deviceinfo
permalink: /devices/oscar/variant1/
device: oscar_variant1
---
{% include templates/device_info.md %}
9 changes: 9 additions & 0 deletions pages/info/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about oscar
folder: info
layout: deviceinfo
permalink: /devices/oscar/variant2/
device: oscar_variant2
---
{% include templates/device_info.md %}
9 changes: 9 additions & 0 deletions pages/info/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
sidebar: home_sidebar
title: Info about oscar
folder: info
layout: deviceinfo
permalink: /devices/oscar/variant3/
device: oscar_variant3
---
{% include templates/device_info.md %}
8 changes: 8 additions & 0 deletions pages/install/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on oscar
folder: install
permalink: /devices/oscar/install/variant1/
device: oscar_variant1
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/install/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on oscar
folder: install
permalink: /devices/oscar/install/variant2/
device: oscar_variant2
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/install/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Install LineageOS on oscar
folder: install
permalink: /devices/oscar/install/variant3/
device: oscar_variant3
---
{% include templates/device_install.md %}
8 changes: 8 additions & 0 deletions pages/update/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on oscar
folder: update
permalink: /devices/oscar/update/variant1/
device: oscar_variant1
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/update/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on oscar
folder: update
permalink: /devices/oscar/update/variant2/
device: oscar_variant2
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/update/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Update LineageOS on oscar
folder: update
permalink: /devices/oscar/update/variant3/
device: oscar_variant3
---
{% include templates/device_update.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/oscar_variant1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on oscar
folder: upgrade
permalink: /devices/oscar/upgrade/variant1/
device: oscar_variant1
---
{% include templates/device_upgrade.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/oscar_variant2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on oscar
folder: upgrade
permalink: /devices/oscar/upgrade/variant2/
device: oscar_variant2
---
{% include templates/device_upgrade.md %}
8 changes: 8 additions & 0 deletions pages/upgrade/oscar_variant3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
sidebar: home_sidebar
title: Upgrade LineageOS on oscar
folder: upgrade
permalink: /devices/oscar/upgrade/variant3/
device: oscar_variant3
---
{% include templates/device_upgrade.md %}

0 comments on commit b463129

Please sign in to comment.