Installation Guide

Read very carefully!
Installing a custom ROM will erase your data, so back it up!

Prerequisites

  1. Install Samsung USB driver, Odin and download LichUI to your PC
  2. If you have `EGY` csc `A546EXXSBCYA2` (for E model) and `EUX` csc `A546BXXSBCYB1` (for B model) - skip 3, 13, 14, 15 points
  3. If you haven't `EGY` csc for E model and `EUX` csc for B model - download and unpack your stock system to PC:
  4. Download last OrangeFox Recovery or last Twrp to your PC for your phone model
  5. Download `vbmeta_patched`:
  6. Unlock OEM and Download mode (You need to press `Build number` several times and click `OEM unlocking` in developer settings)
  7. Turn off your Samsung and connect cable to PC. After connecting you see the charging state
Do not disconnect the cable before the 31th point!

Steps

  1. Press `Volume Up` + `Volume Down` at the same time and hold it before enabling Download mode
  2. If the bootloader asks you to unlock it, hold down the `Volume Up` button for any seconds (before unlocking)
  3. After this - skip start settings if the phone booted and resets the settings
  4. Unpack and open Odin
  5. Turn off your phone and repeat the 8th point
  6. Go to Odin, find your unpacked stock system and install `BL` to `BL`, `AP` to `AP`, `CP` to `CP`, `CSC` to `CSC` (check stock files name)
  7. After installation, your phone will boot to system. Skip start settings. After this - turn off your phone and repeat the 8th point
  8. Do not close Odin!
  9. Click `RESET` in Odin
  10. Click to `AP` - find your OrangeFox Recovery in PC and click to it
  11. Click to `USERDATA` - find your `vbmeta_patched` in PC and click to it
  12. Click to `Options` in Odin and disable `Auto Reboot`, `Nand Erase`, `Re-Partition`
  13. Click `START`
  14. After installation (you'll see "PASS"), press `Power Button` + `Volume Down` at the same time and hold it before the black screen
  15. When you see the black screen - fast press `Power Button` + `Volume Up` at the same time and hold it before the phone shows OrangeFox Recovery
  16. In OrangeFox click the basket button - click `format data` - write `yes`
  17. Don't click `Reboot` and copy `LICHUI_4.0.x_a54x.zip` from PC to your phone's internal storage (if your PC sees your internal storage while phone is in recovery, just skip 24-27 points)
  18. Click `Reboot system` and skip start settings again
  19. After skipping - allow data transfer in the pop-up window on the phone
  20. Copy `LICHUI_4.0.x_a54x.zip` from PC to your phone's internal storage
  21. After copying turn off your phone and press `Power Button` + `Volume Up` at the same time and hold it before it shows OrangeFox Recovery
  22. In recovery click the first button from the bottom left
  23. Find your `LICHUI_4.0.x_a54x.zip file`, click to it and swipe to right for install
  24. After installation - repeat the 22th point and click `Reboot system`
  25. Done!
Installation guide by Arseniy and ldt