Closed a-t-0 closed 3 years ago
adb -s 123abc12 shell getprop ro.product.model
.
adb
fastboot
adb reboot bootloader
.fastboot mode
.fastboot mode
, verify the pc finds the device in fastboot mode by typing: fastboot devices
While loop
that: verifies whether the fastbook is responsive via the USB. This check can be usefull because some phones are said to occasionally be buggy in fastboot mode
. Do this checking using a command like fastboot getvar
, fastboot boot
and/or fastboot flash
.
fastboot flash recovery <recovery_filename>.img
recovery mode
.
recovery mode
, or:
Volume Up + Power
button while it is powered off, until the boot logo appearsrecovery mode
. And wait until it is in fastboot recovery
mode.
Installing a custom recovery using fastboot
.Wipe
.Format Data
.adb shell sideload
. Source: https://android.stackexchange.com/questions/207693/twrp-adb-devices-works-in-recovery-but-fails-in-sideload-mode
adb push xxxxx.zip /sdcard/
command to sideload instead of sideloading from host device.adb sideload filename.zip
.Wipe>format>Swipe
adb reboot fastboot
followed by a fastboot format userdata
(before sideloading) to make the lineageOS installation successfully.adb recovery
is out of recovery mode (from sideloading), before proceeding, such that it can perform the post sideloading formatting.
adb recovery
mode by terminating the sideloading mode once it is completed. This can probably be done with: adb sideload /dev/null
.adb reboot
to complete installation of LineageOS.For switching back to Fairphone Open OS (not Fairphone OS):
The 19.11.2-sibon-24df0be9-ota.zip
file from this link seems to be sideloadable. (But results in an infinite bootloop, most likely due to erroneous/insufficient formatting before and after sideloading the zip/OS.
Completed auto installing Fairphone Open OS coming from LineageOS in #8cf03effa3cf8f2ce8630c2de1de070c7f74f967.
Start from a stock fair phone 2 and document the steps required to set up the productivity phone on LineageOs starting with to these instructions: https://wiki.lineageos.org/devices/FP2/install