diff --git a/_data/devices/oscar_variant1.yml b/_data/devices/oscar_variant1.yml index 02952bd8f5..41a033c7b0 100644 --- a/_data/devices/oscar_variant1.yml +++ b/_data/devices/oscar_variant1.yml @@ -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: diff --git a/_data/devices/oscar_variant2.yml b/_data/devices/oscar_variant2.yml index 7d8e4b2c4c..940cbc3950 100644 --- a/_data/devices/oscar_variant2.yml +++ b/_data/devices/oscar_variant2.yml @@ -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: diff --git a/_data/devices/oscar_variant3.yml b/_data/devices/oscar_variant3.yml index 366cf39d65..c555410c07 100644 --- a/_data/devices/oscar_variant3.yml +++ b/_data/devices/oscar_variant3.yml @@ -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: diff --git a/_includes/templates/device_specific/firmware_update_realme_oscar_fastbootd.md b/_includes/templates/device_specific/firmware_update_realme_oscar_fastbootd.md new file mode 100644 index 0000000000..0a12fd9ad3 --- /dev/null +++ b/_includes/templates/device_specific/firmware_update_realme_oscar_fastbootd.md @@ -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 -}} + ``` diff --git a/_includes/templates/device_specific/firmware_update_realme_sm6375.md b/_includes/templates/device_specific/firmware_update_realme_sm6375.md index b64b91e1d2..010a4eebd2 100644 --- a/_includes/templates/device_specific/firmware_update_realme_sm6375.md +++ b/_includes/templates/device_specific/firmware_update_realme_sm6375.md @@ -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