-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
/dev/usb-ffs/mtp doesn't exist at all =(
- Loading branch information
Showing
6 changed files
with
7 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ name: (5)Compile TWRP by omnirom 5.1.1 | |
on: | ||
push: | ||
branches: [ 'twrp-5.1' ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
@@ -18,14 +17,14 @@ jobs: | |
sudo chmod +x /usr/bin/repo | ||
# sudo apt remove -yq openjdk* | ||
sudo apt update | ||
sudo apt install -yq bc bison build-essential curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python bash ccache python3 | ||
sudo apt install -yq bc bison build-essential curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev python bash ccache | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "xunmod@bot" | ||
sudo su -c 'echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list' root | ||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A 54404762BBB6E853 | ||
sudo apt update | ||
sudo apt install libc6 libc6-dev -y | ||
- uses: actions/setup-java@v4 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '8' | ||
|
@@ -36,18 +35,17 @@ jobs: | |
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-5.1 | ||
repo sync -c -f --no-tags --no-clone-bundle -j$(nproc --all) | ||
- name: Setup device | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'twrp/device/Xiaoxun' | ||
- name: Build | ||
shell: bash | ||
run: | | ||
sudo rm -f /usr/bin/python /usr/local/bin/python | ||
sudo rm -f /usr/bin/python /usr/bin/python3.6 /usr/bin/python3.6m /usr/local/bin/python | ||
sudo ln -sf /usr/bin/python2.7 /usr/bin/python | ||
cd $GITHUB_WORKSPACE/twrp | ||
source build/envsetup.sh | ||
lunch omni_sl8521e_1h10ll_sw761-eng | ||
ls system/extras/libasyncio || exit 1 | ||
mka -j$(nproc --all) recoveryimage | ||
export twrp_version=$(cat bootable/recovery/variables.h | grep "define TW_MAIN_VERSION_STR" | cut -d '"' -f2) | ||
cp out/target/product/sl8521e_1h10ll_sw761/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw761.img | ||
|
@@ -57,15 +55,15 @@ jobs: | |
lunch omni_sl8521e_1h10ll_sw771-eng | ||
mka -j$(nproc --all) recoveryimage | ||
cp out/target/product/sl8521e_1h10ll_sw771/recovery.img ../twrp-${twrp_version}_0-sl8521e_1h10ll_sw771.img | ||
- uses: actions/upload-artifact@v4 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: TWRP Image for MiKids4 | ||
path: 'twrp-*_sw761.img' | ||
- uses: actions/upload-artifact@v4 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: TWRP Image for MiKids4x | ||
path: 'twrp-*_sw763.img' | ||
- uses: actions/upload-artifact@v4 | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: TWRP Image for MiKids6x | ||
path: 'twrp-*_sw771.img' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.