aka how I wasted a Saturday morning
The intention with rooting was to optimize memory usage. I did this with my last Google Fi phone by rooting it and it improved the performance dramatically. This time, after the root process was complete, the same memory optimization tricks weren't applicable as directory /sys/module/lowmemorykiller
does not exist. It appears somewhere between Android 9 and Android 11 they changed how to set the memory optimization stuff. This means that so far I have gained nothing by rooting the phone. At some point I might look at the memory optimization stuff again as it's totally possible to optimize I just don't want to take the time digging to find out how right now…
sofia
. There's also a sofiar
which is a Moto G8 or something? Different hardware I guess…adb reboot bootloader
fastboot oem get_unlock_data
fastboot oem unlock UNIQUE_KEY
(UNIQUE_KEY) is emailed to youboot.img
for current installed firmwareLMSA
to identify and download the stock firmwareMagisk
using adb
Magisk
to patch boot.img
boot.img
with fastboot
slot A
and slot B
partition. I believe these are recovery partitions? The phone alternates between the partitions when updating. Lineage OS talked about how these partitions needed to have the same updated content or you might brick your phone if somehow your phone tried to boot the wrong one. It didn't seem to be an issue with the method I used. FWIW my installation is currently in slot B
boot.img
even though the stock firmware might have been available online. There were matches on the Firmware version etc. but by getting it from Lenovo there was less chance of getting the wrong thing.fastboot getvar all
Google Authenticator
before unlocking the bootloader. Since unlocking the bootloader resets the phone to factory I lost all my 2FA authentication codes. :(