Skip to content

Commit aab30b9

Browse files
committed
p920: Initial commit
0 parents  commit aab30b9

13 files changed

+83
-0
lines changed

AndroidBoard.mk

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
LOCAL_PATH := $(call my-dir)
2+
3+
include $(CLEAR_VARS)
4+
5+
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
6+
7+
# include the non-open-source counterpart to this file
8+
-include vendor/lge/p920/AndroidBoardVendor.mk

AndroidProducts.mk

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PRODUCT_MAKEFILES := \
2+
$(LOCAL_DIR)/p920.mk

BoardConfig.mk

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
USE_CAMERA_STUB := true
2+
3+
# inherit from the proprietary version
4+
-include vendor/lge/p920/BoardConfigVendor.mk
5+
6+
TARGET_NO_BOOTLOADER := true
7+
TARGET_BOARD_PLATFORM := omap4
8+
TARGET_CPU_ABI := armeabi
9+
TARGET_BOOTLOADER_BOARD_NAME := p920
10+
11+
BOARD_USES_UBOOT_MULTIIMAGE := true
12+
BOARD_UBOOT_ENTRY := 0x80008000
13+
BOARD_UBOOT_LOAD := 0x80008000
14+
15+
TARGET_PREBUILT_KERNEL := device/lge/p920/kernel
16+
17+
## Ignore --wipe_data sent by the bootloader
18+
BOARD_RECOVERY_ALWAYS_WIPES := true
19+
BOARD_HAS_NO_SELECT_BUTTON := true
20+
21+
# Use this flag if the board has a ext4 partition larger than 2gb
22+
#BOARD_HAS_LARGE_FILESYSTEM := true

kernel

3.17 MB
Binary file not shown.

modules/fm_drv.ko

509 KB
Binary file not shown.

modules/lge_nv.ko

80.6 KB
Binary file not shown.

modules/lgosp-hid.ko

70.6 KB
Binary file not shown.

modules/st_drv.ko

348 KB
Binary file not shown.

modules/ti_hci_drv.ko

287 KB
Binary file not shown.

p920.mk

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
2+
3+
$(call inherit-product-if-exists, vendor/lge/p920/p920-vendor.mk)
4+
5+
DEVICE_PACKAGE_OVERLAYS += device/lge/p920/overlay
6+
7+
8+
ifeq ($(TARGET_PREBUILT_KERNEL),)
9+
LOCAL_KERNEL := device/lge/p920/kernel
10+
else
11+
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
12+
endif
13+
14+
PRODUCT_COPY_FILES += \
15+
$(LOCAL_KERNEL):kernel
16+
17+
PRODUCT_COPY_FILES += \
18+
$(LOCAL_PATH)/recovery/postrecoveryboot.sh:recovery/root/sbin/postrecoveryboot.sh \
19+
$(LOCAL_PATH)/modules/lge_nv.ko:root/modules/lge_nv.ko \
20+
$(LOCAL_PATH)/modules/fm_drv.ko:root/modules/fm_drv.ko \
21+
$(LOCAL_PATH)/modules/lgosp-hid.ko:root/modules/lgosp-hid.ko \
22+
$(LOCAL_PATH)/modules/st_drv.ko:root/modules/st_drv.ko \
23+
$(LOCAL_PATH)/modules/ti_hci_drv.ko:root/modules/ti_hci_drv.ko
24+
25+
$(call inherit-product, build/target/product/full.mk)
26+
27+
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
28+
PRODUCT_NAME := p920
29+
PRODUCT_DEVICE := p920
30+
PRODUCT_MODEL := LG Optimus 3D

recovery.fstab

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# mount point fstype device [device2] fstype2
2+
/recovery emmc /dev/block/mmcblk0p6
3+
/boot emmc /dev/block/mmcblk0p5
4+
/cache ext3 /dev/block/mmcblk0p10 NULL ext3
5+
/data ext3 /dev/block/mmcblk0p8 NULL ext3
6+
/sdcard vfat /dev/block/mmcblk0p15
7+
/system ext3 /dev/block/mmcblk0p7 NULL auto

recovery/postrecoveryboot.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/sbin/sh
2+
3+
sleep 2
4+
5+
/sbin/insmod /modules/lge_nv.ko
6+
/sbin/insmod /modules/lgosp_hid.ko
7+
/sbin/insmod /modules/fm_drv.ko
8+
/sbin/insmod /modules/ti_hci_drv.ko
9+
/sbin/insmod /modules/st_drv.ko
10+
## Clear "boot-recovery...enable-wipe" flag
11+
echo "518 1 1" > /sys/kernel/kobject_lge_nvdata/dynamic_nvdata_raw_write

system.prop

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#
2+
# system.prop for p920
3+
#

0 commit comments

Comments
 (0)