Install LineageOS on falcon
Basic requirements
- Make sure your computer has working
adb
andfastboot
. Setup instructions can be found here. - Enable USB debugging on your device.
Unlocking the bootloader
- Connect the device to your PC via USB.
- On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:
- With the device powered off, hold Volume Down + Power. On the next screen use Volume Down to scroll and then press Volume Up to select.
- Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
Tip: If you seeno permissions fastboot
while on Linux or macOS, try runningfastboot
as root. - Now type the following command to get the bootloader status:
fastboot oem device-info
-
Follow the instructions at Motorola Support to unlock your bootloader.
Note: If your device is not supported by the Motorola Bootloader Unlock website, you will need to use an alternative bootloader unlock method like SunShine. - Since the device resets completely, you will need to re-enable USB debugging to continue.
Installing a custom recovery using fastboot
-
Download a custom recovery - you can download TWRP. Simply download the latest recovery file, named something like
twrp-x.x.x-x-falcon.img
. - Connect your device to your PC via USB.
- On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:
adb reboot bootloader
You can also boot into fastboot mode via a key combination:
- With the device powered off, hold Volume Down + Power. On the next screen use Volume Down to scroll and then press Volume Up to select.
- Once the device is in fastboot mode, verify your PC finds it by typing:
fastboot devices
Tip: If you seeno permissions fastboot
while on Linux or macOS, try runningfastboot
as root. - Flash recovery onto your device:
fastboot flash recovery twrp-x.x.x-x-falcon.img
Tip: The file may not be named identically to what stands in this command, so adjust accordingly. - Now reboot into recovery to verify the installation:
- With the device powered off, hold Volume Down + Power. On the next screen use Volume Down to scroll to recovery and then press Volume Up to select.
Installing LineageOS from recovery
-
Download the LineageOS install package that you’d 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 your device isn’t already booted into recovery, do so:
- With the device powered off, hold Volume Down + Power. On the next screen use Volume Down to scroll to recovery and then press Volume Up to select.
- (Optional, but recommended): Tap the Backup button to create a backup. Make sure the backup is copied onto your computer as the internal storage will be formatted later in this process.
- Go back to return to main menu, then tap Wipe.
- Now tap Format Data and continue with the formatting process. This will remove encryption as well as delete all files stored on the internal storage.
-
Return to the previous menu and tap Advanced Wipe.
-
Select the Cache and System partitions to be wiped and then Swipe to Wipe.
- Sideload the LineageOS
.zip
package:- On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
- On the host machine, sideload the package using:
adb sideload filename.zip
-
(Optional): Install any additional packages using the same method.
Note: If you want Google Apps on your device, you must follow this step before the first boot into Android! -
(Optional): Root the device by installing the LineageOS SU Addon (use the
arm
package) or using any other method you prefer. - Once installation has finished, return to the main menu, tap Reboot, and then System.
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.