Install LineageOS on hltetmo

keyboard_arrow_left Back to the overview

Basic requirements

  1. Make sure your computer has adb and fastboot. Setup instructions can be found here.
  2. Enable USB debugging on your device.

Important Information

Samsung devices come with a unique boot mode called “Download mode”, which is very similar to “Fastboot mode” on some devices with unlocked bootloaders. Odin is a Samsung-made tool for interfacing with Download mode on Samsung devices. The preferred method of installing a custom recovery is through Download Mode – rooting the stock firmware is neither necessary nor required.

Installing a custom recovery using Odin

  1. Download a custom recovery - you can download Lineage Recovery. Simply download the latest recovery file, named something like lineage-18.1-20211119-recovery-hltetmo.img
  2. Rename the downloaded image to “recovery.img”, open a Command Prompt and TAR the file by running tar -cvf %USERPROFILE%\Downloads\recovery.tar %USERPROFILE%\Downloads\recovery.img.
  3. Power off the device, and boot it into download mode:
    • With the device powered off, hold Volume Down + Home + Power.
    • Now, click the button that the onscren instructions coorelate to “Continue”, and insert the USB cable into the device.
  4. Download and install the necessary drivers.
    • Download the newest Samsung drivers from here. You will need to create a Samsung account and login to download them.
    • Install SAMSUNG_USB_Driver_for_Mobile_Phones.exe.
  5. Download this version of Odin.
  6. Extract “Odin_3.13.1.zip”.
  7. Run Odin3 v3.13.1 found in the newly extracted “Odin_3.13.1” folder.
  8. Check in the top left of the Odin window that you see a valid device, it will show up as something like COM0.
  9. In the left side of the Odin window, you will see an “Options” tab, click it, and then un-check the “Auto Reboot” option.
  10. Check the box labeled next to the button labeled “AP”, and then click the “AP” button.
    • In the menu that pops up, select the newly downloaded custom recovery .tar or .tar.md5.
  11. A blue transfer bar will appear on the device showing the recovery image being flashed.
  12. Unplug the USB cable from your device.
  13. Manually reboot into recovery, this may require pulling the device’s battery out and putting it back in, or if you have a non-removable battery, press the Volume Down + Power buttons for 8~10 seconds until the screen turns black & release the buttons immediately when it does, then boot to recovery:
    • With the device powered off, hold Volume Up + Home + Power. When the blue text appears, release the buttons.

Installing LineageOS from recovery

  1. Download the LineageOS installation package that you would like to install or build the package yourself.
  2. If you are not in recovery, reboot into recovery:
    • With the device powered off, hold Volume Up + Home + Power. When the blue text appears, release the buttons.
  3. Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
  4. Return to the main menu.
  5. Sideload the LineageOS .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 filename.zip.
  6. (Optionally): If you want to install any add-ons, repeat the sideload steps above for those packages in sequence.

  7. Once you have installed everything successfully, click the back arrow in the top left of the screen, then “Reboot system now”.