File tree 5 files changed +24
-20
lines changed
5 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
build :
8
- name : TWRP Build CI
8
+ name : OFRP Build CI
9
9
runs-on : ${{ matrix.os }}
10
10
strategy :
11
11
matrix :
@@ -17,28 +17,28 @@ jobs:
17
17
run : |
18
18
sudo apt-get update
19
19
sudo apt-get install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-gtk3-dev libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses5 axel python
20
-
21
20
- name : Install OpenJDK
22
21
uses : actions/setup-java@v3
23
22
with :
24
23
distribution : ' zulu'
25
24
java-version : ' 8'
26
25
- name : Syncing OFRP sources
27
26
run : |
28
- mkdir ~/TWRP
29
- cd ~/TWRP
27
+ mkdir ~/OFRP
28
+ cd ~/OFRP
30
29
mkdir ~/.bin
31
30
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
32
31
python3 ~/.bin/repo init --depth=1 -u https://github.com/unlegacy-devices/fox-7.1_manifest -b twrp-7.1
33
- git clone --branch twrp-5.1 --single-branch https://github.com/NotNoelChannel/twrp_device_samsung_j3xnlte.git ~/TWRP /device/samsung/j3xlte
32
+ git clone --branch twrp-5.1 --single-branch https://github.com/NotNoelChannel/twrp_device_samsung_j3xnlte.git ~/OFRP /device/samsung/j3xlte
34
33
python3 ~/.bin/repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
35
34
- name : Building OFRP
36
35
run : |
37
36
OLDPATH=$PATH
38
37
OLDJAVAHOME=$JAVA_HOME
39
38
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
40
39
export JAVA_HOME="$HOME/.jdk_7/java-se-7u75-ri"
41
- cd ~/TWRP
40
+ cd ~/OFRP
41
+ sudo git clone --depth 1 --branch android-7.1.2_r37 --single-branch https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 /opt/toolchains/arm-eabi-4.8/
42
42
source build/envsetup.sh
43
43
export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER=1
44
44
export OF_DISABLE_MIUI_SPECIFIC_FEATURES=1
53
53
- name : Uploading OFRP builds
54
54
uses : actions/upload-artifact@v2
55
55
with :
56
- name : twrp
56
+ name : ofrp
57
57
path : |
58
- /home/runner/TWRP /out/target/product/j3xlte/recovery.*
59
- /home/runner/TWRP /out/target/product/j3xlte/OrangeFox-*.zip
58
+ /home/runner/OFRP /out/target/product/j3xlte/recovery.*
59
+ /home/runner/OFRP /out/target/product/j3xlte/OrangeFox-*.zip
Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
build :
8
- name : TWRP Build CI
8
+ name : SHRP Build CI
9
9
runs-on : ${{ matrix.os }}
10
10
strategy :
11
11
matrix :
@@ -24,31 +24,32 @@ jobs:
24
24
java-version : ' 8'
25
25
- name : Syncing SHRP sources
26
26
run : |
27
- mkdir ~/TWRP
28
- cd ~/TWRP
27
+ mkdir ~/SHRP
28
+ cd ~/SHRP
29
29
mkdir ~/.bin
30
30
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
31
31
python3 ~/.bin/repo init --depth=1 -u https://github.com/SHRP/manifest.git -b v3_9.0
32
- git clone --branch twrp-5.1 --single-branch https://github.com/NotNoelChannel/twrp_device_samsung_j3xnlte.git ~/TWRP /device/samsung/j3xlte
32
+ git clone --branch twrp-5.1 --single-branch https://github.com/NotNoelChannel/twrp_device_samsung_j3xnlte.git ~/SHRP /device/samsung/j3xlte
33
33
python3 ~/.bin/repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
34
34
- name : Building SHRP
35
35
run : |
36
36
OLDPATH=$PATH
37
37
OLDJAVAHOME=$JAVA_HOME
38
38
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
39
39
export JAVA_HOME="$HOME/.jdk_7/java-se-7u75-ri"
40
- cd ~/TWRP
40
+ cd ~/SHRP
41
+ sudo git clone --depth 1 --branch android-7.1.2_r37 --single-branch https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 /opt/toolchains/arm-eabi-4.8/
41
42
source build/envsetup.sh
42
43
export ALLOW_MISSING_DEPENDENCIES=true
43
44
export LC_ALL=C
44
45
lunch omni_j3xlte-eng
45
46
make -j$(nproc --all) recoveryimage
46
47
export PATH=$OLDPATH
47
48
export JAVA_HOME=$OLDJAVAHOME
48
- - name : Uploading TWRP builds
49
+ - name : Uploading SHRP builds
49
50
uses : actions/upload-artifact@v2
50
51
with :
51
- name : twrp
52
+ name : shrp
52
53
path : |
53
- /home/runner/TWRP /out/target/product/j3xlte/recovery.*
54
- /home/runner/TWRP /out/target/product/j3xlte/*.zip
54
+ /home/runner/SHRP /out/target/product/j3xlte/recovery.*
55
+ /home/runner/SHRP /out/target/product/j3xlte/*.zip
Original file line number Diff line number Diff line change 41
41
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
42
42
export JAVA_HOME="$HOME/.jdk_7/java-se-7u75-ri"
43
43
cd ~/TWRP
44
+ sudo git clone --depth 1 --branch android-7.1.2_r37 --single-branch https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 /opt/toolchains/arm-eabi-4.8/
44
45
source build/envsetup.sh
45
46
export ALLOW_MISSING_DEPENDENCIES=true
46
47
export LC_ALL=C
Original file line number Diff line number Diff line change @@ -36,8 +36,10 @@ BOARD_KERNEL_BASE := 0x00000000
36
36
BOARD_KERNEL_PAGESIZE := 2048
37
37
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dt device/samsung/j3xlte/prebuilt/dt.img
38
38
39
- # prebuilt kernel
40
- TARGET_PREBUILT_KERNEL := device/samsung/j3xlte/prebuilt/kernel
39
+ TARGET_KERNEL_CONFIG := recovery_j3xnlte_defconfig
40
+ TARGET_KERNEL_SOURCE := kernel/samsung/sharkls
41
+ KERNEL_TOOLCHAIN := /opt/toolchains/arm-eabi-4.8/bin
42
+ TARGET_KERNEL_CROSS_COMPILE_PREFIX := arm-eabi-
41
43
42
44
BOARD_BOOTIMAGE_PARTITION_SIZE := 20971520
43
45
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 20971520
You can’t perform that action at this time.
0 commit comments