lineage 17.1 for Samsung Galaxy S5

This commit is contained in:
missytake 2021-04-23 14:33:54 +02:00
parent e0806f0e8e
commit 148c906f59

View file

@ -4,7 +4,7 @@ download latest TWRP image from https://eu.dl.twrp.me/klte/
download latest lineageOS from https://download.lineage.microg.org/klte/ download latest lineageOS from https://download.lineage.microg.org/klte/
download latest su (arm) for 16.0 from https://download.lineageos.org/extras download latest Magisk.zip from https://github.com/topjohnwu/Magisk/releases
## Unlock the Bootloader / OEM ## Unlock the Bootloader / OEM
@ -56,9 +56,25 @@ Then go to Wipe + Advanced Wipe to wipe the following partitions:
Then go to Advanced/ADB Sideload, swipe to the right, and execute `adb sideload lineage-xxx.zip` on your computer. Then go to Advanced/ADB Sideload, swipe to the right, and execute `adb sideload lineage-xxx.zip` on your computer.
* When it shows something like `Total xfer: 1.00x` or `adb: failed to read command: Success` on the PC, and `Exit code: 1.000000` in TWRP, it has suceeded. * When it shows something like `Total xfer: 1.00x` or `adb: failed to read command: Success` on the PC, and `Exit code: 1.000000` in TWRP, it has suceeded.
<!--
On lineageOS 17.1, addonsu doesn't work anymore. That's why we have to flash Magisk instead.
Don't reboot yet, we still want to flash addonsu to root the phone: Don't reboot yet, we still want to flash addonsu to root the phone:
Go to Advanced/ADB Sideload, swipe to the right, and execute `adb sideload addonsu-16.0-arm-signed.zip` on your computer. Go to Advanced/ADB Sideload, swipe to the right, and execute `adb sideload addonsu-16.0-arm-signed.zip` on your computer.
* When it shows something like `Total xfer: 1.00x` or `adb: failed to read command: Success` on the PC, and `Exit code: 1.000000` in TWRP, it has suceeded. * When it shows something like `Total xfer: 1.00x` or `adb: failed to read command: Success` on the PC, and `Exit code: 1.000000` in TWRP, it has suceeded.
-->
Don't reboot yet, we still want to flash Magisk to root the phone.
First go to Backup and select only the Boot partition. Under "Select Storage",
select "Internal Storage". Swipe to backup. Now copy the backup to your PC with
`adb pull /sdcard/TWRP`.
Then go to Advanced/ADB Sideload, check "Wipe Cache" and "Wipe Dalvik", swipe
to the right, and execute `adb sideload Magisk-*.zip` on your computer.
* When it shows something like `Total xfer: 1.60x` or `adb: failed to read
command: Success` on the PC, and `- Flashing new boot image` in combination
with `- Done` in TWRP, it has suceeded.
Reboot to start LineageOS! Reboot to start LineageOS!
@ -73,6 +89,10 @@ often see them by holding the phone into the light at the right angle).
Passwords are a bit 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. sensor, they are really insecure.
Tip: if you use LineageOS 17.1 or higher, you should disable the storage
manager in the settings - it deletes videos & photos automatically after 90
days. This is a very weird default setting.
## Device Encryption ## Device Encryption
Charge the phone to 100%. Charge the phone to 100%.