Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Dualbooting

mintphin edited this page Oct 23, 2020 · 1 revision

This guide will teach you how to boot both Android and a Halium GSI.

This guide implies you've already installed your preferred Halium GSI. If you haven't done this yet, follow the steps in the install guide and get back here after you're done. MAKE SURE YOUR DATA PARTITION IS FORMATTED AS F2FS.

Files needed:

Preparations

  1. Extract the payload.bin extractor wherever you want
  2. Copy the atLunecrash ROM where the payload.bin Extractor is
  3. Open a terminal/command prompt
  4. Run ./payload_dumper.py [ATLUNECRASH ROM]

Installation

  1. Shut down your phone completely. If you're using Ubuntu Touch, hold the power button until the power menu pops up, then press the red "Power Off" button.
  2. Turn your phone back on while holding the volume down button. You should now be on Fastboot.
  3. Set the active slot to the currently inactive slot. You can check what slot you're in currently by running fastboot getvar current-slot and then fastboot --set active [SLOT]
  4. Run fastboot flash system system.img, fastboot flash boot boot.img, fastboot flash vbmeta vbmeta.img and fastboot flash dtbo dtbo.img
  5. Finally reboot by running fastboot reboot. You should now be on Android!

Notes

  • You'll have to use a computer to switch between ROMs. If you manage to install TWRP, you'll still have to use your computer to switch from Halium to Android.

Clone this wiki locally