Optimus flashing instructions

Optimus flashing instructions

vikas (optimus)


for Superior | infinity rom (๐๐จ๐ง ๐๐ฒ๐ง๐š๐ฆ๐ข๐œ ๐Ÿ๐ฅ๐š๐ฌ๐ก๐ข๐ง๐  ๐ข๐ง๐ฌ๐ญ๐ซ๐ฎ๐œ๐ญ๐ข๐จ๐ง๐ฌ )


  • You have to download given files.

ROM Files | Flashing fajita Files | Enchilada Files.

  • Reboot into bootloader.ย 
  • Flash this boot image.
Fastboot flash boot boot.img.
  • Reboot into recovery.ย 
adb Sideload rom.zip.
  • Once Flashed choose reboot to recovery.
  • Select format data YES.
  • Reboot to system
  • Enjoy Optimus rom.


for RisingOS (Dynamic Partition Flashing instructions.)

Clean Flash Mandatory


Prerequisites

  • Ensure you're running OOS 11.1.2.2 and current riceDroid firmware on your current slot.

Hereย ๐Ÿ‘‡ย oos files

๐Ÿ“Œ enchilada (OnePlus 6)

๐Ÿ“Œ fajita (OnePlus 6T)


Files

  • Download the latest platform-tools.
  • The filename will be in the following format:ย platform-tools-latest-*.zip

๐Ÿ“Œ Download Link

  • Download the needed files for you device from here:

๐Ÿ“Œ enchilada (OnePlus 6)

๐Ÿ“Œ fajita (OnePlus 6T)

  • The following list has all the files you need to get:

๐Ÿ“ boot.img

๐Ÿ“ copy_partitions.zip

๐Ÿ“ super_empty.img

๐Ÿ“ vbmeta.img

๐Ÿ“ the latest OTA zip for you device (Ricedroid-{enchilada,fajita}-.zip)

  • You mayย NOTย substituteย anyย of these files with files that you've downloaded elsewhere.


Installation/Migration steps

Notice that each command is prefixed with aย ./. This is important. Please keep that prefix when you run each command.

โ—‹ Unzip theย platform-tools-latest-*.zipย file you got earlier to any folder that you want.

โ—‹ Move the following files into the same folder where you extracted platform-tools:

๐Ÿ“ boot.img

๐Ÿ“ copy_partitions.zip

๐Ÿ“ super_empty.img

๐Ÿ“ vbmeta.img

๐Ÿ“ the latest OTA zip for you device (Ricrdroid_{enchilada,fajita}-.zip)

โ—‹ Open your terminal and navigate to the extracted platform-tools folder. Useย cdย to navigate to the folder.

๐Ÿ“ If you are on Windows, use PowerShell. Doย NOTย use Command Prompt.

๐Ÿ“ If you are on macOS or Linux, then use your preferred terminal and shell.

โ—‹ Reboot your phone to the bootloader.

๐Ÿ“ Do this by unplugging your phone, powering it off, then holding Vol Up + Vol Down + Power until you see a screen with giant text at the top of the screen.

โ—‹ Run the following to flash the new retrofit dynamic partitions boot/recovery image and the empty vbmeta:

./fastboot flash vbmeta_a vbmeta.img

./fastboot flash vbmeta_b vbmeta.img

./fastboot flash boot_a boot.img

./fastboot flash boot_b boot.img


โ—‹ Erase the old android partitions with the following:

./fastboot erase system_a

./fastboot erase system_b

./fastboot erase odm_a

./fastboot erase odm_b

./fastboot erase vendor_a

./fastboot erase vendor_b


โ—‹ Boot to recovery

โ—‹ In recovery, chooseย Advanced -> Enter fastbootย to enter fastbootd

โ—‹ Initialize the retrofit super partitions for each slot:

./fastboot wipe-super super_empty.img

./fastboot set_active other

./fastboot wipe-super super_empty.img

./fastboot set_active other


๐Ÿ“ If fastboot returns some error message about not recognizingย wipe-superย or prints a long help message instead , then that means you are running a very old version of fastboot. Please go back and download the latest version of platform-tools, as mentioned in theย Required Filesย section.

โ—‹ Chooseย Enter recoveryย to return to recovery

โ—‹ While in recovery, navigate toย Apply update -> Apply from ADB

โ—‹ Run the following to sideloadย copy_partitions.zipย to copy your firmware partitions to the other slot:

./adb sideload copy_partitions.zip



Youย mayย receive an error from recovery, which will state the following:

Signature verification failed
Install anyway?

Choose the "Yes" option to continue, since this zip doesn't have a signature in the first place.

โ—‹ After copy partition it will back to recovery. Then navigate toย Apply update -> Apply from ADB

โ—‹ Run the following to sideload riceDroid:


./adb sideload [riceDroid zip name]



If you encounter installation errors when sideloading, runย adb pull /tmp/recovery.logย to get logs to share while asking for help.

โ—‹ If this is a new install, format data. If you're migrating from non-retrofit , skip this step.


โ—‹ Reboot system


  • ๐ญ๐ก๐š๐ง๐ค๐ฌ ๐Ÿ๐จ๐ซ ๐ฎ๐ฌ๐ข๐ง๐  ๐จ๐ฉ๐ญ๐ข๐ฆ๐ฎ๐ฌ ๐ซ๐จ๐ฆย ๐Ÿ˜Š
  • ๐ˆ๐Ÿ ๐š๐ง๐ฒ๐จ๐ง๐ž ๐ฐ๐š๐ง๐ญ ๐ญ๐จ ๐ฌ๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐ญ๐ก๐ข๐ฌ ๐ฉ๐ซ๐จ๐ฃ๐ž๐œ๐ญ๐Ÿ˜Š
  • ๐“๐ก๐ž๐ฌ๐ž ๐ง๐ž๐ฐ ๐ข๐ฆ๐ฉ๐ฅ๐ž๐ฆ๐ž๐ง๐ญ๐š๐ญ๐ข๐จ๐ง๐ฌ ๐ฐ๐ข๐ญ๐ก ๐ฉ๐ซ๐จ๐ฏ๐ข๐๐ข๐ง๐  ๐ซ๐จ๐ฆ ๐ฎ๐ฉ๐๐š๐ญ๐ž๐ฌ ๐จ๐ง ๐š ๐ซ๐ž๐ ๐ฎ๐ฅ๐š๐ซ ๐Ÿ˜Š๐ฆ๐ž๐š๐ฌ๐ฎ๐ซ๐ž ๐ซ๐ž๐ช๐ฎ๐ข๐ซ๐ž๐ฌ ๐š ๐ฅ๐จ๐ญ ๐จ๐Ÿ ๐ฉ๐ž๐ซ๐ฌ๐จ๐ง๐š๐ฅ ๐ญ๐ข๐ฆ๐ž ๐š๐ง๐ ๐ž๐ฑ๐ฉ๐ž๐ง๐ฌ๐ž๐ฌ ๐Ÿ๐จ๐ซ ๐›๐ฎ๐ฒ๐ข๐ง๐  ๐Ÿ˜Š๐ฌ๐ž๐ซ๐ฏ๐ž๐ซ๐ฌ ๐Ÿ๐ซ๐จ๐ฆ ๐ฆ๐ฒ ๐จ๐ฐ๐ง ๐ฉ๐จ๐œ๐ค๐ž๐ญ..
  • ๐Ÿ˜Š๐’๐จ ๐ข๐Ÿ ๐ฒ๐จ๐ฎ ๐œ๐š๐ง ๐ฌ๐ฎ๐ฉ๐ฉ๐จ๐ซ๐ญ ๐ฆ๐ž ๐Ÿ๐ข๐ง๐š๐ง๐œ๐ข๐š๐ฅ๐ฅ๐ฒ ๐ข๐ญ ๐ฐ๐จ๐ฎ๐ฅ๐ ๐›๐ž ๐ฏ๐ž๐ซ๐ฒ ๐š๐ฉ๐ฉ๐ซ๐ž๐œ๐ข๐š๐ญ๐ž๐
  • ๐Ÿ˜Š๐”๐๐ˆ ๐ˆ๐ƒ: ๐ฏ๐ข๐ค๐š๐ฌ๐ฒ๐š๐๐š๐ฏ๐Ÿ“๐ŸŽ๐Ÿ•๐Ÿ‘@๐จ๐ค๐ฌ๐›๐ข

๐Ÿ˜Š๐๐š๐ฒ๐ฉ๐š๐ฅ ๐ˆ๐ƒ

Report Page