- Unlocked Bootloader
- External SD Card(optional, but recommended)
- LineageOS Recovery or OrangeFox Recovery
- PC or Secondary Phone and SD Card
- Brain(MANDATORY)
- Common Sense(MANDATORY)
- Reading Comprehension(MANDATORY)
- Coffee (optional)
First things first,
- Copy ROM zip file to SD Card: - Place the ROM zip file in the main directory of your external SD card. this is Important
Preparations for First Flash (Skippable in future roms if already done or if already in cusrom) (Needed if you reflashed stock rom or coming from GSI, never skip this on first install if coming from stock or GSI)
⚠️ WARNING: DO NOT SKIP THIS PART IF YOU'RE INSTALLING THIS ROM FOR THE FIRST TIME, THIS IS TO ENSURE A/B SWITCHING WON'T CAUSE ANY ISSUES, I AM NOT HELD RESPONSIBLE FOR ANY ISSUES CAUSED BY SKIPPING THIS PART ⚠️
-
Reboot to Bootloader:
- Power off your device and boot into the bootloader.
-
Disable VBMeta (skip if already done): fastboot flash vbmeta --slot all --disable-verity --disable-verification vbmeta.img
-
Flash OrangeFox Recovery (if not already done):
- Follow the instructions in the OrangeFox post.
-
Flash AB Partition Prep Tool (first time only):
- Boot into OrangeFox Recovery.
- Flash the AB PrepTool zip Note: This overwrites OrangeFox with Stock Recovery, don't reboot yet
-
Flash vendor_boot.img:
- Using OrangeFox(SCROLL DOWN TO FIND "Vendor Boot Image" in the SELECTION) or fastboot:
fastboot flash vendor_boot --slot all vendor_boot.img -Tick "Flash to both slots if flashing with orangefox
- Using OrangeFox(SCROLL DOWN TO FIND "Vendor Boot Image" in the SELECTION) or fastboot:
-
Reboot to LineageOS Recovery: fastboot reboot
- Press the volume up button until you enter LineageOS Recovery.
- Copy ROM zip file to SD Card:
- Place the ROM zip file in the main directory of your external SD card.
- Reboot to Recovery:
- Boot into the ROM Recovery, DO NOT USE ORANGEFOX.
- Factory Reset (First time or switching ROM)
- Install ROM:
- Using ADB Sideload (LineageOS Recovery): adb sideload lineage-20.0-xxxxxxxx-UNOFFICIAL-LGxn.zip (This one should be common sense to change to the actual ROM zip name)
- When prompted to reboot to recovery, select Yes
- Reboot System:
- Reboot your device and enjoy the new ROM.
- If the device doesn't boot successfully, reinstall the ROM using the same instructions.
- Can't boot GSIs (Enforcing; not tested with Permissive mode). - wontfix