Update 2023-11-08 12:52:41

This commit is contained in:
c0dev0id 2023-11-08 12:52:43 +01:00
parent 72de5ef596
commit 15059fc197

View File

@ -1,21 +1,21 @@
# LineageOS on Motorola Z2 Force # LineageOS on Motorola Z2 Force
Whenever there is a major LineageOS Update, chances are that I forgot Whenever there is a major LineageOS Update, chances are that I forgot the flashing process. So here are the notes.
the flashing process. So here are the notes.
Disclaimer: Due to the missing tools to flash from OpenBSD, I use my Disclaimer: Due to the missing tools to flash from OpenBSD, I use my work computer, which runs windows.
work computer, which runs windows.
Required Downloads: ## Required Downloads:
* [Android Platform Tools](https://dl.google.com/android/repository/platform-tools-latest-windows.zip) (contains adb and fastboot)
* [Motorola Smart Assistant](https://support.lenovo.com/us/en/downloads/ds101291) (contains USB drivers for fastboot) - [Android Platform Tools](https://dl.google.com/android/repository/platform-tools-latest-windows.zip) (contains adb and fastboot)
- [Motorola Smart Assistant](https://support.lenovo.com/us/en/downloads/ds101291) (contains USB drivers for fastboot)
## Prepare:
Prepare:
- Install motorola smart assistant - Install motorola smart assistant
- Extract platform-tools make sure you're in the platform tools - Extract platform-tools make sure you're in the platform tools directory or that they are in your $PATH.
directory or that they are in your $PATH.
## Update steps:
Update steps:
- p[hone]: Boot into bootloader (power+down) - p[hone]: Boot into bootloader (power+down)
- c[omputer]: fastboot flash boot_a \<lineageos_recovery\>.img - c[omputer]: fastboot flash boot_a \<lineageos_recovery\>.img
- c: fastboot flash boot_b \<lineageos_recovery\>.img - c: fastboot flash boot_b \<lineageos_recovery\>.img
@ -26,9 +26,8 @@ Update steps:
- c: adb sideload \<addons\>.zip - c: adb sideload \<addons\>.zip
- p: Reboot - p: Reboot
Notes: ## Notes:
* "adb devices" works without USB drivers
* "fastboot devices" shows nothing if USB drivers are not installed - "adb devices" works without USB drivers
* This phone has two boot areas and therefore "fastboot flash boot" will - "fastboot devices" shows nothing if USB drivers are not installed
fail. The areas "boot_a" and "boot_b" must be used instead. If "boot_a" - This phone has two boot areas and therefore "fastboot flash boot" will fail. The areas "boot_a" and "boot_b" must be used instead. If "boot_a" and "boot_b" are flashed differently, booting will fail.
and "boot_b" are flashed differently, booting will fail.