Skip to content

Commit

Permalink
Revert mtp ffs changes
Browse files Browse the repository at this point in the history
/dev/usb-ffs/mtp doesn't exist at all =(
  • Loading branch information
xunmod committed Aug 13, 2024
1 parent 65f157e commit 1ed4cd0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 147 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/by511.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand All @@ -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'
94 changes: 0 additions & 94 deletions sl8521e_1h10ll-common/force_mtp_ffs.patch

This file was deleted.

2 changes: 0 additions & 2 deletions sl8521e_1h10ll-common/vendorsetup.sh

This file was deleted.

14 changes: 0 additions & 14 deletions sl8521e_1h10ll_sw761/omni.dependencies

This file was deleted.

14 changes: 0 additions & 14 deletions sl8521e_1h10ll_sw763/omni.dependencies

This file was deleted.

14 changes: 0 additions & 14 deletions sl8521e_1h10ll_sw771/omni.dependencies

This file was deleted.

0 comments on commit 1ed4cd0

Please sign in to comment.