Skip to content

Commit f3a5970

Browse files
j3xlte: changes
1 parent 0b003d0 commit f3a5970

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

.github/workflows/ofrp_j3xlte.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build:
8-
name: TWRP Build CI
8+
name: OFRP Build CI
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
@@ -17,28 +17,28 @@ jobs:
1717
run: |
1818
sudo apt-get update
1919
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-
2120
- name: Install OpenJDK
2221
uses: actions/setup-java@v3
2322
with:
2423
distribution: 'zulu'
2524
java-version: '8'
2625
- name: Syncing OFRP sources
2726
run: |
28-
mkdir ~/TWRP
29-
cd ~/TWRP
27+
mkdir ~/OFRP
28+
cd ~/OFRP
3029
mkdir ~/.bin
3130
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
3231
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
3433
python3 ~/.bin/repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
3534
- name: Building OFRP
3635
run: |
3736
OLDPATH=$PATH
3837
OLDJAVAHOME=$JAVA_HOME
3938
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
4039
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/
4242
source build/envsetup.sh
4343
export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER=1
4444
export OF_DISABLE_MIUI_SPECIFIC_FEATURES=1
@@ -53,7 +53,7 @@ jobs:
5353
- name: Uploading OFRP builds
5454
uses: actions/upload-artifact@v2
5555
with:
56-
name: twrp
56+
name: ofrp
5757
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

.github/workflows/shrp_j3xlte.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build:
8-
name: TWRP Build CI
8+
name: SHRP Build CI
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
@@ -24,31 +24,32 @@ jobs:
2424
java-version: '8'
2525
- name: Syncing SHRP sources
2626
run: |
27-
mkdir ~/TWRP
28-
cd ~/TWRP
27+
mkdir ~/SHRP
28+
cd ~/SHRP
2929
mkdir ~/.bin
3030
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
3131
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
3333
python3 ~/.bin/repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
3434
- name: Building SHRP
3535
run: |
3636
OLDPATH=$PATH
3737
OLDJAVAHOME=$JAVA_HOME
3838
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
3939
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/
4142
source build/envsetup.sh
4243
export ALLOW_MISSING_DEPENDENCIES=true
4344
export LC_ALL=C
4445
lunch omni_j3xlte-eng
4546
make -j$(nproc --all) recoveryimage
4647
export PATH=$OLDPATH
4748
export JAVA_HOME=$OLDJAVAHOME
48-
- name: Uploading TWRP builds
49+
- name: Uploading SHRP builds
4950
uses: actions/upload-artifact@v2
5051
with:
51-
name: twrp
52+
name: shrp
5253
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

.github/workflows/twrp.yml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
export PATH="$HOME/.jdk_7/java-se-7u75-ri/bin:$PATH"
4242
export JAVA_HOME="$HOME/.jdk_7/java-se-7u75-ri"
4343
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/
4445
source build/envsetup.sh
4546
export ALLOW_MISSING_DEPENDENCIES=true
4647
export LC_ALL=C

BoardConfig.mk

+4-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ BOARD_KERNEL_BASE := 0x00000000
3636
BOARD_KERNEL_PAGESIZE := 2048
3737
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dt device/samsung/j3xlte/prebuilt/dt.img
3838

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-
4143

4244
BOARD_BOOTIMAGE_PARTITION_SIZE := 20971520
4345
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 20971520

prebuilt/kernel

-5.19 MB
Binary file not shown.

0 commit comments

Comments
 (0)