#!/bin/bash echo "Cloning xperable source code..." git clone https://github.com/j4nn/xperable.git tools/xperable/ cd tools/xperable pip install uefi_firmware --break-system-packages echo "Getting binary blobs..." wget -q --show-progress https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/bootloader_X_BOOT_MSM8998_LA1_1_O_77_X-FLASH-ALL-C93B.sin -P boot/ wget -q --show-progress https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-C93B.sin -P boot/ wget -q --show-progress https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/bootloader_X_BOOT_SDM845_LA2_0_P_118_X-FLASH-ALL-B6B5.sin -P boot/ make cd .. cd .. cp -r tools/xperable/* .