Add convenience scripts

This commit is contained in:
Waldemar Tomme 2024-12-07 23:55:50 +01:00
parent eb1331fb82
commit 7cfca38a49
2 changed files with 11 additions and 0 deletions

5
scripts/build-packages.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env -S bash -xe
pmbootstrap checksum firmware-samsung-a715f
pmbootstrap build firmware-samsung-a715f --force
pmbootstrap checksum device-samsung-a715f
pmbootstrap build device-samsung-a715f --force

6
scripts/restore-pmos.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env -S bash -xe
heimdall flash \
--no-reboot \
--DTBO ../flashing/testing/pmos-boot/empty_dtbo.img
pmbootstrap flasher --method heimdall-bootimg --resume flash_kernel
notify-send pmbootstrap "device flashed"