Skip to content

Commit 1ce6d52

Browse files
Vivekachooznpjohnson
authored andcommitted
wiki: Update fw installation instructions for oscar
Change-Id: I83764b28c862f3442d85495bbd74d10eff72e8e6
1 parent e117fb2 commit 1ce6d52

File tree

5 files changed

+63
-1
lines changed

5 files changed

+63
-1
lines changed

_data/devices/oscar_variant1.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
architecture: arm64
22
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
33
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
4+
before_install_device_variants:
5+
- {device: 'Realme 9 Pro 5G', firmware: '14.0.0.501(EX01)'}
46
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
57
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
68
cameras:

_data/devices/oscar_variant2.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
architecture: arm64
22
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
33
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
4+
before_install_device_variants:
5+
- {device: 'Realme 9 5G', firmware: '14.0.0.501(EX01)'}
46
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
57
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
68
cameras:

_data/devices/oscar_variant3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
architecture: arm64
22
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
33
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
4+
before_install_device_variants:
5+
- {device: 'Realme Q5', firmware: '14.0.0.501(EX01)'}
46
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
57
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
68
cameras:
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{% include alerts/warning.html content="These instructions are NOT for carrier branded variants." %}
2+
3+
There are three methods to get the required firmware:
4+
5+
### If you are on the stock Realme UI (Android 14 version higher than 14.0.0.501(EX01)) with locked bootloader
6+
7+
Method 1:
8+
9+
1. Download the OTA downgrade package for your device:
10+
* Navigate to [Realme's forum](https://c.realme.com).
11+
* Go to your device's page by clicking **Product** option, followed by the device's name.
12+
* Click **Rollback Package for Name_of_the_device**.
13+
* Download and follow **How do I roll back to Android 13** section.
14+
2. Perform an OTA upgrade through system updater to Android 14 version 14.0.0.501
15+
* Navigate to Settings > About device.
16+
* Tap on the Realme UI banner.
17+
* Tap install button.
18+
* Continue the steps untill you install the version 14.0.0.501.
19+
20+
Method 2:
21+
22+
{% include alerts/warning.html content="Follow this method only if the OTA downgrade package mentioned in Method 1 is not present for your variant" %}
23+
1. Unlock bootloader
24+
2. Download the following files from [here](https://download.lineageos.org/devices/oscar/builds)
25+
* boot.img
26+
* dtbo.img
27+
* vendor_boot.img
28+
3. Power off the device, and boot it into bootloader mode:
29+
* {{ device.download_boot }}
30+
4. Flash the downloaded image files to your device by typing:
31+
```
32+
fastboot flash boot boot.img
33+
fastboot flash dtbo dtbo.img
34+
fastboot flash vendor_boot vendor_boot.img
35+
```
36+
5. Follow the last method in this page with LineageOS recovery installed section to update to 14.0.0.501 firmware thereafter
37+
38+
### If you are on the stock Realme UI (Android 12/13 version) with locked bootloader
39+
40+
1. Perform an OTA upgrade through system updater to Android 14 version 14.0.0.501
41+
* Navigate to Settings > About device.
42+
* Click on the Realme UI banner.
43+
* Tap install button.
44+
* Continue the steps untill you install the version 14.0.0.501.
45+
46+
### If you already installed LineageOS recovery
47+
48+
1. Download the required firmware from [here](https://github.com/Realme-SM6375-devs/firmware/releases)
49+
2. Extract the firmware zip
50+
3. Boot up LineageOS recovery
51+
4. Go to "Advanced" -> "Enter fastboot"
52+
{% 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\"." %}
53+
5. Execute following commands:
54+
```
55+
{{- include.content -}}
56+
```

_includes/templates/device_specific/firmware_update_realme_sm6375.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% include templates/device_specific/firmware_update_realme_fastbootd.md content="
1+
{% include templates/device_specific/firmware_update_realme_oscar_fastbootd.md content="
22
fastboot flash --slot=all abl abl.img
33
fastboot flash --slot=all bluetooth bluetooth.img
44
fastboot flash --slot=all core_nhlos core_nhlos.img

0 commit comments

Comments
 (0)