xperiable/setup.sh

14 lines
704 B
Shell
Raw Normal View History

#!/bin/bash
echo "Cloning xperable source code..."
git clone https://github.com/j4nn/xperable.git
cd 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 ..
cp -r xperable/* .