we are on the same page here - I had the same idea as you to write myself such a script, which I did personally some months ago. Including the idea to change from bash to python :D
Now I got inspired by you using /data/adb/magisk/boot_patch.sh. I did this step manually in the app because I did not know better. May I ask you for some (maybe noob) help? I do not understand how to tell the script to patch vbmeta (one of the two choices when using the app). It reads to set the environment variables, I played around with that via adb shell, but I am unable to even read them.
Something I do different from you: I only download the system image on the pc and then push it to the phone - instead of downloading it on both devices. Makes sure it is the exact same version, too. Thought that to be clever. However it seems like the boot.img you can download separately is the same from within the .zip file, so you might not even need to download the whole zip!
You may also want to use https://download.lineageos.org/api/v2/devices/DEVICENAME/builds with that.
I hope it's okay I put more in here than what the title suggests. I wanted to chat and this was the only contact to you I could find. The linked homepage in your profile is offline.
Hi Nicolas,
we are on the same page here - I had the same idea as you to write myself such a script, which I did personally some months ago. Including the idea to change from bash to python :D
Now I got inspired by you using
/data/adb/magisk/boot_patch.sh
. I did this step manually in the app because I did not know better. May I ask you for some (maybe noob) help? I do not understand how to tell the script to patch vbmeta (one of the two choices when using the app). It reads to set the environment variables, I played around with that viaadb shell
, but I am unable to even read them.Something I do different from you: I only download the system image on the pc and then push it to the phone - instead of downloading it on both devices. Makes sure it is the exact same version, too. Thought that to be clever. However it seems like the boot.img you can download separately is the same from within the .zip file, so you might not even need to download the whole zip!
You may also want to use
https://download.lineageos.org/api/v2/devices/DEVICENAME/builds
with that.I hope it's okay I put more in here than what the title suggests. I wanted to chat and this was the only contact to you I could find. The linked homepage in your profile is offline.
Sincerely, Tobias