Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a3y17lte: update everything needed to update #7

Open
wants to merge 6 commits into
base: skyhawk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 20 additions & 26 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -111,34 +111,28 @@ BOARD_BUILD_DISABLED_VBMETAIMAGE := true
# Include
TARGET_SPECIFIC_HEADER_PATH := $(DEVICE_PATH)/dtbhtool/include

#SHRP Mandatory flags
#################################
# SHRP section
###############
TARGET_DEVICE := a3y17lte
SHRP_PATH := $(DEVICE_PATH)
SHRP_DEVICE_CODE := a3y17lte

# Path of your SHRP device tree
SHRP_PATH := device/<device-brand>/$(SHRP_DEVICE_CODE)

# Maintainer name
SHRP_MAINTAINER :=

# Recovery Type (for "About" section only)
SHRP_REC_TYPE := <Treble|Normal|SAR>
# Your device's recovery path, dont use blindly
# NOTE: Edit this before building
SHRP_REC := </dev/block/bootdevice/by-name/recovery>

# Emergency DownLoad mode (0 = no EDL mode, 1 = EDL mode available)
SHRP_MAINTAINER := batuhantrkgl
SHRP_OFFICIAL := false
SHRP_EDL_MODE := 0

# internal storage path
SHRP_INTERNAL := /sdcard

# If your device has an external sdcard
SHRP_EXTERNAL := /external_sd

# USB OTG path
SHRP_OTG := /usb_otg

# Flashlight: (0 = disable, 1 = enable)
SHRP_INTERNAL := /sdcard
SHRP_OTG := /usb-otg
SHRP_FLASH := 1
# Optional Flags
SHRP_CUSTOM_FLASHLIGHT := true
SHRP_FONP_1 := /sys/class/camera/flash/rear_torch_flash
SHRP_FLASH_MAX_BRIGHTNESS := 200
SHRP_REC := /dev/block/platform/13540000.dwmmc0/by-name/RECOVERY
SHRP_AB := false
SHRP_REC_TYPE := Treble
SHRP_DEVICE_TYPE := A/B
SHRP_STATUSBAR_RIGHT_PADDING := 40
SHRP_STATUSBAR_LEFT_PADDING := 40
SHRP_EXPRESS := true
SHRP_DARK := true
LZMA_RAMDISK_TARGETS := recovery
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@
$ mkdir shrp ; cd shrp

# Init repo
$ repo init -u git://github.com/SHRP/platform_manifest_twrp_omni.git -b v3_9.0
$ repo init -u https://github.com/SHRP/manifest -b v3_9.0

# Clone my local repo
$ git clone https://github.com/samsungexynos7870/android_manifest_samsung_a3y17lte.git -b skyhawk .repo/local_manifests
# Clone my device tree
$ git clone https://github.com/samsungexynos7870/android_device_samsung_a3y17lte.git -b skyhawk device/samsung/a3y17lte

# Sync
$ repo sync --no-repo-verify -c --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j`nproc`

# Build
$ mv device/samsung/a3y17lte/build_skyhawk.sh .
$ . build_skyhawk.sh a3y17lte
$ . build/envsetup.sh && lunch omni_a3y17lte-eng && export ALLOW_MISSING_DEPENDENCIES=true && mka recoveryimage
```
## Credits
2019 @Astrako
2022 @Batuhantrkgl

## Contact
Telegram support group: https://t.me/joinchat/D1Jk_VbieGBXOWZt2y8O7A
46 changes: 0 additions & 46 deletions build_skyhawk.sh

This file was deleted.

2 changes: 1 addition & 1 deletion omni.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"remote":"github",
"repository":"samsungexynos7870/android_kernel_samsung_exynos7870",
"target_path":"kernel/samsung/exynos7870",
"revision":"twrp"
"revision":"aosp"
}
]