Back to the overviewUpdate LineageOS on
hawao
Update LineageOS on
Motorola moto g42
hawao
Updating your device
Note: LineageOS strongly recommends using our builtin Updater app. Alternative methods are supported, however.
Note: addon.d-v2/backuptool_ab, the systems responsible for backing up addons such as GApps/SU do NOT run in recovery on A/B partition scheme (seamless update) devices. Addons are only backed up if you update via the built-in LineageOS Updater app or the push-update script detailed below.
Using the LineageOS Updater app
- Open Settings, navigate to “System”, then “Updater”.
- Click the Refresh Icon in the top right corner.
- Choose which update you’d like and press “Download”.
- When the download completes, click “Install”. Once the update process has finished, the device will display a “Reboot” button, you may need to go into the Updater menu in Settings, “System” to see it. This will reboot you into the updated system.
From your PC via the push_update script (Linux/macOS only)
- Make sure your computer has working
adb
. Setup instructions can be found here. - Enable USB debugging on your device. Additionally, open Settings, then “System”, then “Developer Options”, and then either check “Rooted Debugging” (LineageOS 17.1 or above) or select “Root Access Options”, then “ADB Only”.
- Run
adb -d root
- Run
wget https://raw.githubusercontent.com/LineageOS/android_packages_apps_Updater/lineage-21.0/push-update.sh && chmod +x push-update.sh
- Run:
./push-update.sh /path/to/zip
- Open Settings, navigate to “System”, then “Updater”. click “Install”. Once the update process has finished, the device will display a “Reboot” button, you may need to go into the Updater menu in Settings, “System” to see it. This will reboot you into the updated system.