Skip to content

Commit

Permalink
wiki: Update fw installation instructions for oscar
Browse files Browse the repository at this point in the history
Change-Id: I83764b28c862f3442d85495bbd74d10eff72e8e6
  • Loading branch information
Vivekachooz authored and npjohnson committed Jul 29, 2024
1 parent e117fb2 commit 1ce6d52
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _data/devices/oscar_variant1.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_install_device_variants:
- {device: 'Realme 9 Pro 5G', firmware: '14.0.0.501(EX01)'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
Expand Down
2 changes: 2 additions & 0 deletions _data/devices/oscar_variant2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_install_device_variants:
- {device: 'Realme 9 5G', firmware: '14.0.0.501(EX01)'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
Expand Down
2 changes: 2 additions & 0 deletions _data/devices/oscar_variant3.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
architecture: arm64
battery: {capacity: 5000, removable: False, tech: 'Li-Po'}
before_install: {instructions: 'needs_specific_android_fw', ships_fw: True, version: '14'}
before_install_device_variants:
- {device: 'Realme Q5', firmware: '14.0.0.501(EX01)'}
before_recovery_install: {instructions: 'boot_stack', partitions: [dtbo, boot]}
bluetooth: {profiles: [A2DP + aptX HD], spec: '5.1'}
cameras:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% include alerts/warning.html content="These instructions are NOT for carrier branded variants." %}

There are three methods to get the required firmware:

### If you are on the stock Realme UI (Android 14 version higher than 14.0.0.501(EX01)) with locked bootloader

Method 1:

1. Download the OTA downgrade package for your device:
* Navigate to [Realme's forum](https://c.realme.com).
* Go to your device's page by clicking **Product** option, followed by the device's name.
* Click **Rollback Package for Name_of_the_device**.
* Download and follow **How do I roll back to Android 13** section.
2. Perform an OTA upgrade through system updater to Android 14 version 14.0.0.501
* Navigate to Settings > About device.
* Tap on the Realme UI banner.
* Tap install button.
* Continue the steps untill you install the version 14.0.0.501.

Method 2:

{% include alerts/warning.html content="Follow this method only if the OTA downgrade package mentioned in Method 1 is not present for your variant" %}
1. Unlock bootloader
2. Download the following files from [here](https://download.lineageos.org/devices/oscar/builds)
* boot.img
* dtbo.img
* vendor_boot.img
3. Power off the device, and boot it into bootloader mode:
* {{ device.download_boot }}
4. Flash the downloaded image files to your device by typing:
```
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vendor_boot vendor_boot.img
```
5. Follow the last method in this page with LineageOS recovery installed section to update to 14.0.0.501 firmware thereafter

### If you are on the stock Realme UI (Android 12/13 version) with locked bootloader

1. Perform an OTA upgrade through system updater to Android 14 version 14.0.0.501
* Navigate to Settings > About device.
* Click on the Realme UI banner.
* Tap install button.
* Continue the steps untill you install the version 14.0.0.501.

### If you already installed LineageOS recovery

1. Download the required firmware from [here](https://github.com/Realme-SM6375-devs/firmware/releases)
2. Extract the firmware zip
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
@@ -1,4 +1,4 @@
{% include templates/device_specific/firmware_update_realme_fastbootd.md content="
{% include templates/device_specific/firmware_update_realme_oscar_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
Expand Down

0 comments on commit 1ce6d52

Please sign in to comment.