forked from TenSeventy7/android_device_samsung_a50dd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_ofox.sh
37 lines (35 loc) · 1.12 KB
/
build_ofox.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Exports
export ALLOW_MISSING_DEPENDENCIES=true
export OF_STATUS_INDENT_LEFT="48"
export OF_STATUS_INDENT_RIGHT="48"
export TARGET_DEVICE_ALT="a50, a50dd"
export FOX_RECOVERY_INSTALL_PARTITION="/dev/block/platform/13520000.ufs/by-name/recovery"
export FOX_REPLACE_BUSYBOX_PS="1"
export FOX_USE_BASH_SHELL="1"
export FOX_USE_LZMA_COMPRESSION="1"
export FOX_USE_NANO_EDITOR="1"
export FOX_USE_TWRP_RECOVERY_IMAGE_BUILDER="1"
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
export LC_ALL="C"
export OF_DISABLE_MIUI_SPECIFIC_FEATURES="1"
export OF_DONT_PATCH_ENCRYPTED_DEVICE="1"
export OF_MAINTAINER="Velosh"
export OF_NO_TREBLE_COMPATIBILITY_CHECK="1"
export OF_OTA_RES_DECRYPT="1"
export OF_USE_MAGISKBOOT_FOR_ALL_PATCHES="1"
export OF_USE_NEW_MAGISKBOOT="1"
export TARGET_ARCH="arm64"
export TW_DEFAULT_LANGUAGE="en"
export FOX_VERSION="R11.0"
export FOX_R11="1"
export USE_CCACHE="1"
export OF_FLASHLIGHT_ENABLE="0"
export OF_SCREEN_H="2340"
export FOX_BUILD_TYPE="Stable"
export FOX_ADVANCED_SECURITY="1"
export LZMA_RAMDISK_TARGETS="recovery"
# Build Time
source build/envsetup.sh
lunch omni_a50dd-eng
mka recoveryimage