Install LineageOS on jflteatt
Basic requirements
Important: Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
- Make sure your computer has
adb
. Setup instructions can be found here. - Enable USB debugging on your device.
Special requirements
Warning:
Your device must be on bootloader version
I337UCUAMDB
/ I337UCUAMDL
, otherwise the instructions found in this page will not work.
The current bootloader version can be checked by running the command getprop ro.bootloader
in a terminal app or an adb shell
from a command prompt (on Windows) or terminal (on Linux or macOS) window.
Rooting your device
Important: The device must be rooted before proceeding any further.
- Download TowelRoot from here.
- Click the large lambda symbol to download the apk.
- Install and run the apk to achieve root.
Installing a custom recovery using dd
-
Download a custom recovery - you can download Lineage Recovery. Simply download the latest recovery file, named something like
lineage-16.0-20191129-recovery-jflteatt.img
. - Place the recovery image file on the root of
/sdcard
:- Using adb:
adb push <recovery_filename>.img /sdcard/<recovery_filename>.img
Tip: The file may not be named identically to what stands in this command, so adjust accordingly.- You can use any method you are comfortable with.
adb
is universal across all devices, and works both in Android and recovery mode, providing USB debugging is enabled.
- Using adb:
- Now, open an
adb shell
from a command prompt (on Windows) or terminal (on Linux or macOS) window. In that shell, type the following commands:su dd if=/sdcard/<recovery_filename>.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
- Manually reboot into recovery:
- With the device powered off, hold Home + Volume Up + Power.
Installing LineageOS from recovery
-
Download the LineageOS installation package that you would like to install or build the package yourself.
- Optionally, download additional application packages such as Google Apps (use the
arm
architecture).
- Optionally, download additional application packages such as Google Apps (use the
- If you are not in recovery, reboot into recovery:
- With the device powered off, hold Home + Volume Up + Power.
- Now tap Factory Reset, then Wipe 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).
- Now tap Wipe System and continue with the formatting process.
- Return to the main menu.
- 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
-
(Optionally): If you want to install any additional add-ons,
adb sideload filename.zip
those packages in sequence.Note: If you want Google Apps on your device, you must follow this step before booting into LineageOS for the first time! - (Optional): Root your device by installing LineageOS’ AddonSU, (use the
arm
package) or by using any other method you prefer. -
Once you have installed everything successfully, run ‘adb reboot’.
Warning: Depending on which recovery you use, you may be prompted to install additional apps and services. We strongly advise you to opt out of installing these, as they may cause your device to bootloop, as well as attempt to access or corrupt your data.
Get assistance
If you have any questions or get stuck on any of the steps, feel free to ask on our subreddit or in #LineageOS on freenode.