forked from playfulgod/android_device_lge_ms695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4430a55
Showing
9 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) | ||
|
||
# include the non-open-source counterpart to this file | ||
-include vendor/lge/ms695/AndroidBoardVendor.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/device_ms695.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
USE_CAMERA_STUB := true | ||
|
||
# inherit from the proprietary version | ||
-include vendor/lge/ms695/BoardConfigVendor.mk | ||
|
||
TARGET_NO_BOOTLOADER := true | ||
TARGET_BOARD_PLATFORM := unknown | ||
TARGET_CPU_ABI := armeabi | ||
TARGET_BOOTLOADER_BOARD_NAME := ms695 | ||
|
||
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200,n8 androidboot.hardware=m3 | ||
BOARD_KERNEL_BASE := 0x00200000 | ||
BOARD_KERNEL_PAGESIZE := 4096 | ||
|
||
# fix this up by examining /proc/mtd on a running device | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000 | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000 | ||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000 | ||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000 | ||
BOARD_FLASH_BLOCK_SIZE := 131072 | ||
|
||
TARGET_PREBUILT_KERNEL := device/lge/ms695/kernel | ||
|
||
#BOARD_HAS_NO_SELECT_BUTTON := true | ||
# Use this flag if the board has a ext4 partition larger than 2gb | ||
#BOARD_HAS_LARGE_FILESYSTEM := true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Specify phone tech before including full_phone | ||
$(call inherit-product, vendor/cm/config/gsm.mk) | ||
|
||
# Release name | ||
PRODUCT_RELEASE_NAME := ms695 | ||
|
||
# Inherit some common CM stuff. | ||
$(call inherit-product, vendor/cm/config/common_full_phone.mk) | ||
|
||
# Inherit device configuration | ||
$(call inherit-product, device/lge/ms695/device_ms695.mk) | ||
|
||
## Device identifier. This must come after all inclusions | ||
PRODUCT_DEVICE := ms695 | ||
PRODUCT_NAME := cm_ms695 | ||
PRODUCT_BRAND := lge | ||
PRODUCT_MODEL := ms695 | ||
PRODUCT_MANUFACTURER := lge |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) | ||
|
||
# The gps config appropriate for this device | ||
$(call inherit-product, device/common/gps/gps_us_supl.mk) | ||
|
||
$(call inherit-product-if-exists, vendor/lge/ms695/ms695-vendor.mk) | ||
|
||
DEVICE_PACKAGE_OVERLAYS += device/lge/ms695/overlay | ||
|
||
LOCAL_PATH := device/lge/ms695 | ||
ifeq ($(TARGET_PREBUILT_KERNEL),) | ||
LOCAL_KERNEL := $(LOCAL_PATH)/kernel | ||
else | ||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) | ||
endif | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_KERNEL):kernel | ||
|
||
$(call inherit-product, build/target/product/full.mk) | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/recovery/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 | ||
PRODUCT_NAME := full_ms695 | ||
PRODUCT_DEVICE := ms695 |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright (c) 2011, Code Aurora Forum. All rights reserved. | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# * Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# * Redistributions in binary form must reproduce the above | ||
# copyright notice, this list of conditions and the following | ||
# disclaimer in the documentation and/or other materials provided | ||
# with the distribution. | ||
# * Neither the name of Code Aurora Forum, Inc. nor the names of its | ||
# contributors may be used to endorse or promote products derived | ||
# from this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT | ||
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS | ||
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
# mount point fstype device [device2] | ||
|
||
/boot emmc /dev/block/mmcblk0p9 | ||
/cache ext4 /dev/block/mmcblk0p16 | ||
/data ext4 /dev/block/mmcblk0p21 | ||
/misc emmc /dev/block/mmcblk0p8 | ||
/recovery emmc /dev/block/mmcblk0p17 | ||
/sdcard vfat /dev/block/mmcblk0p20 dev/block/mmcblk1p1 | ||
/system ext4 /dev/block/mmcblk0p14 | ||
#/sys_boot vfat /dev/block/mmcblk0p3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/sbin/sh | ||
|
||
# Script by Tyler Montgomery ( http://thecubed.com ) | ||
|
||
# This script is ran right after recovery is launched. | ||
# also, launch this script if you're stuck in a bootloop! | ||
|
||
# Zero out boot recovery and wipe data command | ||
busybox dd if=/dev/zero bs=1 seek=7864320 count=111 conv=notrunc of=/dev/block/mmcblk0p8 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
# system.prop for ms695 | ||
# |