From 148c906f59bb00cffedc64c3bf9ab42deeb654f4 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 23 Apr 2021 14:33:54 +0200 Subject: [PATCH] lineage 17.1 for Samsung Galaxy S5 --- devices/sm-g900f.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/devices/sm-g900f.md b/devices/sm-g900f.md index 0bfac79..79501b9 100644 --- a/devices/sm-g900f.md +++ b/devices/sm-g900f.md @@ -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 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 @@ -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. * 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! @@ -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 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 Charge the phone to 100%.