Created
July 10, 2013 06:34
-
-
Save caplio/5963900 to your computer and use it in GitHub Desktop.
TWRP@SC-04E メモ
jf-common/BoardConfigCommon.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat device/samsung/jf-common/BoardConfigCommon.mk | |
# Copyright (C) 2009 The CyanogenMod Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# | |
# This file sets variables that control the way modules are built | |
# thorughout the system. It should not be used to conditionally | |
# disable makefiles (the proper mechanism to control what gets | |
# included in a build is to use PRODUCT_PACKAGES in a product | |
# definition file). | |
# | |
# WARNING: This line must come *before* including the proprietary | |
# variant, so that it gets overwritten by the parent (which goes | |
# against the traditional rules of inheritance). | |
USE_CAMERA_STUB := true | |
# inherit from common msm8960 | |
-include device/samsung/msm8960-common/BoardConfigCommon.mk | |
TARGET_SPECIFIC_HEADER_PATH := device/samsung/jf-common/include | |
# Kernel | |
TARGET_KERNEL_SOURCE := kernel/samsung/jfdcm | |
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom user_debug=31 zcache | |
BOARD_KERNEL_BASE := 0x80200000 | |
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 | |
BOARD_KERNEL_PAGESIZE := 2048 | |
TARGET_PREBUILT_KERNEL := device/samsung/jf-common/kernel | |
TARGET_KERNEL_VARIANT_CONFIG := cyanogen_jf_defconfig | |
TARGET_KERNEL_SELINUX_CONFIG := jfselinux_defconfig | |
TARGET_BOOTLOADER_BOARD_NAME := MSM8960 | |
# Recovery | |
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/samsung/jf-common/recovery/recovery_keys.c | |
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\" | |
BOARD_USES_MMCUTILS := true | |
BOARD_HAS_LARGE_FILESYSTEM := true | |
BOARD_HAS_NO_MISC_PARTITION := true | |
BOARD_HAS_NO_SELECT_BUTTON := true | |
TARGET_RECOVERY_FSTAB := device/samsung/jf-common/recovery.fstab | |
TARGET_USERIMAGES_USE_EXT4 := true | |
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00A00000 | |
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00A00000 | |
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1572864000 | |
BOARD_USERDATAIMAGE_PARTITION_SIZE := 28651290624 | |
BOARD_FLASH_BLOCK_SIZE := 131072 | |
# bluetooth | |
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/jf-common/bluetooth | |
BOARD_BLUEDROID_VENDOR_CONF := device/samsung/jf-common/bluetooth/vnd_jf.txt | |
BOARD_BLUETOOTH_USES_HCIATTACH_PROPERTY := false | |
# NFC | |
BOARD_NFC_HAL_SUFFIX := msm8960 | |
# Disable initlogo, Samsungs framebuffer is weird | |
TARGET_NO_INITLOGO := true | |
# Use seperate speakerphone device | |
BOARD_USES_SEPERATED_VOICE_SPEAKER := true | |
# Use USB Dock Audio | |
BOARD_HAVE_DOCK_USBAUDIO := true | |
# Use the ES325 dual mic feature | |
BOARD_HAVE_AUDIENCE_ES325_2MIC := true | |
# Samsung's nonstandard csd-client | |
BOARD_HAVE_SAMSUNG_CSDCLIENT := true | |
# Use seperate devices for VOIP | |
BOARD_USES_SEPERATED_VOIP := true | |
# Use seperate devices for 3-pole headset | |
BOARD_USES_SEPERATED_HEADSET_MIC := true | |
TARGET_RECOVERY_INITRC := device/samsung/jfltedcm/recovery/init-twrp.rc | |
#TWRP | |
DEVICE_RESOLUTION := 1080x1920 | |
RECOVERY_GRAPHICS_USE_LINELENGTH := true | |
RECOVERY_SDCARD_ON_DATA := true | |
TW_INTERNAL_STORAGE_PATH := "/data/media/0" | |
TW_INTERNAL_STORAGE_MOUNT_POINT := "data" | |
TW_EXTERNAL_STORAGE_PATH := "/external_sd" | |
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd" | |
TW_NO_REBOOT_BOOTLOADER := true | |
TW_HAS_DOWNLOAD_MODE := true | |
BOARD_HAS_NO_REAL_SDCARD := true | |
TW_INCLUDE_CRYPTO := true | |
TW_INCLUDE_CRYPTO_SAMSUNG := true | |
TW_CRYPTO_FS_TYPE := "ext4" | |
TW_CRYPTO_REAL_BLKDEV := "/dev/block/mmcblk0p29" | |
TW_CRYPTO_MNT_POINT := "/data" | |
TW_CRYPTO_FS_OPTIONS := "nosuid,nodev,noatime,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check,encryptable=footer" | |
TW_CRYPTO_FS_FLAGS := "0x00000406" | |
TW_CRYPTO_KEY_LOC := "footer" | |
TW_BRIGHTNESS_PATH := /sys/devices/platform/msm_fb.526593/leds/lcd-backlight/brightness | |
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun0/file | |
TWRP_EVENT_LOGGING := true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment