Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
wiki: martini: Update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
inferno0230 authored and jro1979oliver committed Jul 21, 2023
1 parent ce9a38b commit e4b20fa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 37 deletions.
33 changes: 18 additions & 15 deletions _includes/templates/device_specific/before_install_martini.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,38 @@
## Before Installing Rom

{% include alerts/warning.html content="Make sure you are on OxygenOS 12.1 C07 before installing anything on your device, Steps to do so is" %}
{% include alerts/warning.html content="Make sure you are on OxygenOS 13.1 before installing anything on your device, Steps to do so is" %}

## If you are below OxygenOS13 (F.13)
1. Download OxygenOS 13.0 F.13 from [here](https://sourceforge.net/projects/playground0230/files/OOS13/388b8e01f4364918a9e96543061710b8.zip/download).
## If you are below OxygenOS 13.1 (13.1.0.500)
1. Download OxygenOS 13.1.0.500 from [here](https://sourceforge.net/projects/playground0230/files/OOS13.1/9747695c1ef34dedb5d3b62a54678736.zip/download).

2. Install the above via local updater in settings

3. Let the update boot itself, After device boots, You will need to flash the same file again (making it two times in total)
3. Let the update boot itself, After device boots, You will need to flash the SAME file AGAIN (yes, its nessesary, making it two times in total)

Note. Enable developer options and usb debugging if local update option doesn't show up in settings.

4. You can proceed with next steps now.

## If you are already on OxygenOS13 (F.13)
1. Download OxygenOS 13.0 F.13 from [here](https://sourceforge.net/projects/playground0230/files/OOS13/388b8e01f4364918a9e96543061710b8.zip/download).
## If you are already on OxygenOS 13.1 (13.1.0.500)
1. Download OxygenOS 13.1.0.500 from [here](https://sourceforge.net/projects/playground0230/files/OOS13.1/9747695c1ef34dedb5d3b62a54678736.zip/download).

2. Install the above via local updater in settings

## For users on PE with oos12.1 as base
1. Download and extract fastboot rom of OxygenOS 13 from [here](https://androidfilehost.com/?fid=4279422670115706121)
## For users on PE with OOS13 (not 13.1) as base
1. Download and extract firmware of OxygenOS 13.1 from [here](https://files.inferno0230.in/OnePlus9RT_13.1.0.500_firmware.7z)

2. Before flashing fastboot rom, flash dtbo.img (in img folder),
Use command fastboot flash dtbo dtbo.img
For Windows users:

3. Now you can install fastboot rom using install.bat
* Reboot to fastbootD from recovery
(Recovery->Advanced->Enter fastboot)

4. After the device boots, Download OxygenOS 13.0_F.13 OTA file from [here](https://sourceforge.net/projects/playground0230/files/OOS13/388b8e01f4364918a9e96543061710b8.zip/download).
* While in fastbootD, run `firmware.bat` inside the downloaded firmware

5. Install the above via local updater in settings
For Linux User:

Note:- Enable developer options and usb debugging if local update option doesn't show up in settings.
Reboot to fastbootD from recovery
(Recovery->Advanced->Enter fastboot)

Note:- If device doesn't boots into fastbootD, redo step 2
* While in fastbootD, run `firmware.sh` inside the downloaded firmware

3. Now you can sideload the update
22 changes: 0 additions & 22 deletions _includes/templates/recovery_install_fastboot_martini.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,3 @@ fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash dtbo dtbo.img
```

## Ensuring all firmware partitions are consistent

{% include alerts/note.html content="The steps below only need to be run once per device." %}

In some cases, the inactive slot can be unpopulated or contain much older firmware than the active slot, leading to various issues including a potential hard-brick. We can ensure none of that will happen by copying the contents of the active slot to the inactive slot.

To do this, sideload the copy-partitions-20210323_1922.zip package by doing the following:
1. Download the `copy-partitions-20210323_1922.zip` file from [here](https://github.com/PixelExperience-Devices/blobs/blob/main/copy-partitions-20210323_1922.zip?raw=true).
{%- if device.uses_custom_recovery %}
2. Sideload the `copy-partitions-20210323_1922.zip` package:
* On the device, select "Advanced", "ADB Sideload", then swipe to begin sideload
* On the host machine, sideload the package using: `adb sideload filename.zip`
{%- else %}
2. Sideload the `copy-partitions-20210323_1922.zip` package:
* On the device, select "Apply Update", then "Apply from ADB" to begin sideload.
* On the host machine, sideload the package using: `adb sideload copy-partitions-20210323_1922.zip`
3. Now reboot to recovery by tapping "Advanced", then "Reboot to recovery".
{%- endif %}



0 comments on commit e4b20fa

Please sign in to comment.