@ -48,17 +48,13 @@ In the end, tap reboot to boot into the fresh LineageOS system.
### Finish Installation
Reboot to start LineageOS!
* When it says "No OS installed", you can ignore that, just swipe to the right.
* When it asks you to install the TWRP app, you can safely click "Do not install".
Go through the setup screen and choose what you want. You can be as restrictive
as you want. Make sure to choose a Wi-Fi, so you can proceed with the next
steps; you can also do this at any later time.
You should also choose a screen lock pin. Patterns are not very secure (you can
often see them by holding the phone into the light at the right angle).
Passwords are a bin inconvenient (but most secure). Do *not* use a fingerprint
Passwords are a bit inconvenient (but most secure). Do *not* use a fingerprint
sensor, they are really insecure.
## Device Encryption
@ -87,7 +83,7 @@ target !!"
### Root Phone With addonsu
*(You can also flash Magisk with the LineageOS recovery.)*
*(You can also flash addonsu with the LineageOS recovery.)*
Boot into your recovery, e.g. TWRP, with `adb reboot recovery`.
@ -135,14 +131,15 @@ adb pull /data/system/locksettings.db
Now, go to the Security settings again, and change your PIN to the password you
want to use for the encryption.
want to use for the encryption. Unfortunately you can use maximally 17
Finally, you use adb again to restore the backup of the PIN, which changes your
lockscreen PIN, but not your encryption passphrase:
adb push locksettings.db /data/system/locksettings.db
adb push 1000_USRPKEY_synthetic_password_1bfba4c883309f16 /data/misc/keystore/user_0/ # the filename will be different with your device
adb push 1000_USRPKEY_synthetic_password_* /data/misc/keystore/user_0/ # the filename will be different with your device
adb push spblob/ /data/system_de/0/
@ -151,4 +148,3 @@ enter the encryption passphrase. So reboot the phone; enter the encryption
passphrase at startup, as desired. When the phone has booted, you can use the
(shorter) PIN to unlock your phone.