My tiny update script for my phone
To enable magisk, add MAGISK=true
to $HOME/.autoflash/$DEVICE.conf
Download, install and update:
Note that the last 4 items get updated by doing a full re-flash of the system partion (takes longer than just flashing them individually, but this keeps the system partion cleaner)
ANDROID_SERIAL=<your-serial>
parameter in front of the command to safely flash multiple phones in parallelCurrently the following devices are supported:
Coincidently they also happen to be the devices I own ;) (All of those are tested to work with this script)
Feel free to add your own devices via PRs, but don't create device request issues as I can't test any of those devices.
Some people may find it useful for themselves.
Sometimes a device won't properly unlock on first try (such as the bacon). Therefore unlocking will be tried 3 times before really giving up.
Sometimes the adb server won't detect a device. This can be usually solved by re-starting the adb server on the host computer as root with adb kill-server && sudo adb devices
. No idea why.