Permalink
Browse files

Merge pull request #13 from syhost/master

添加支持泛泰A820L、A810S、A800S
  • Loading branch information...
dennise committed Feb 1, 2013
2 parents 92caa06 + f8ff591 commit 08058536d0f900be91f1e7664d544c7ce264ce0e
Showing 1,335 changed files with 5,936 additions and 47 deletions.
View
7 Makefile 100644 → 100755
@@ -1,7 +1,7 @@
############same as android###############
#make $(MIUI_PRODUCT) to buid device recovery.img, support as following;
MIUI_PRODUCTS := crespo ville sensation vivo saga maguro honor shooteru \
- lu6200 p1 d1 finder note2
+ lu6200 p1 d1 finder note2 ef65l ef40s ef39s
#crespo: Samsung Nexus S
#ville: HTC One S
#sensation: HTC pyramid(G14)
@@ -15,11 +15,14 @@ MIUI_PRODUCTS := crespo ville sensation vivo saga maguro honor shooteru \
#d1:HUAWEI U9500
#finder: opper finder 4
#note2: SAMSUNG Glaxy Note 2
+#ef65l: Pantech A820L
+#ef40s: Pantech A810S
+#ef39s: Pantech A800S
MIUI_PRODUCTS := $(strip $(MIUI_PRODUCTS))
.PHONY: default
default:
- make recovery -B -j32
+ make recovery -B -j4
@echo make default
.PHONY: usage
@@ -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/pantech/ef65l/AndroidBoardVendor.mk
@@ -0,0 +1,2 @@
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/full_ef65l.mk
@@ -0,0 +1,59 @@
+USE_CAMERA_STUB := true
+
+# inherit from the proprietary version
+-include vendor/pantech/ef65l/BoardConfigVendor.mk
+
+TARGET_NO_BOOTLOADER := true
+
+TARGET_BOARD_PLATFORM := msm8660
+TARGET_BOARD_PLATFORM_GPU := qcom-adreno200
+TARGET_BOOTLOADER_BOARD_NAME := ef65l
+
+TARGET_CPU_ABI := armeabi-v7a
+TARGET_CPU_ABI2 := armeabi
+TARGET_ARCH_VARIANT := armv7-a-neon
+TARGET_CPU_SMP := true
+ARCH_ARM_HAVE_TLS_REGISTER := true
+
+TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
+TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
+
+BOARD_USES_ADRENO_200 := true
+
+TARGET_NO_BOOTLOADER := true
+TARGET_BOOTLOADER_BOARD_NAME := ef65l
+
+BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom androidboot.carrier=LGT-KOR loglevel=0
+BOARD_KERNEL_BASE := 0x40200000 --ramdiskaddr 0x41300000
+BOARD_KERNEL_PAGESIZE := 2048
+
+# fix this up by examining /proc/mtd on a running device
+BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00A00000
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00A00000
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x40000000
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x80200000
+BOARD_FLASH_BLOCK_SIZE := 131072
+
+TARGET_PREBUILT_KERNEL := device/pantech/ef65l/kernel
+
+//BOARD_TOUCH_RECOVERY := true
+
+#recovery
+#BOARD_HAS_NO_SELECT_BUTTON := true
+# Use this flag if the board has a ext4 partition larger than 2gb
+# BOARD_HAS_LARGE_FILESYSTEM := true
+BOARD_USE_CUSTOM_RECOVERY_FONT:= \"roboto_15x24.h\"
+TARGET_RECOVERY_INITRC := device/pantech/ef65l/init.rc
+
+#DEVICE_RESOLUTION := 800x1280
+TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
+TARGET_RECOVERY_UI_LIB := librecovery_ui_ef65l
+
+USE_OPENGL_RENDERER := true
+
+#TW_INTERNAL_STORAGE_PATH := "/sdcard"
+#TW_INTERNAL_STORAGE_MOUNT_POINT := "sdcard"
+#TW_EXTERNAL_STORAGE_PATH := "/external_sd"
+#TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"
+#TW_FLASH_FROM_STORAGE := true
+#TW_HAS_REBOOT_BOOTLOADER := true
@@ -0,0 +1,21 @@
+$(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/pantech/ef65l/ef65l-vendor.mk)
+
+DEVICE_PACKAGE_OVERLAYS += device/pantech/ef65l/overlay
+
+LOCAL_PATH := device/pantech/ef65l
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+ LOCAL_KERNEL := $(LOCAL_PATH)/kernel
+else
+ LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
+
+
+PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_KERNEL):kernel
@@ -0,0 +1,13 @@
+
+# Release name
+PRODUCT_RELEASE_NAME := ef65l
+
+# Inherit device configuration
+$(call inherit-product, device/pantech/ef65l/device_ef65l.mk)
+
+## Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := ef65l
+PRODUCT_NAME := full_ef65l
+PRODUCT_BRAND := pantech
+PRODUCT_MODEL := ef65l
+PRODUCT_MANUFACTURER := pantech
@@ -0,0 +1,59 @@
+on early-init
+ start ueventd
+
+on init
+ export PATH /sbin
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+ export INTERNAL_STORAGE /external_sd
+ export EXTERNAL_STORAGE /sdcard
+ export LD_LIBRARY_PATH .:/sbin
+
+ symlink /system/etc /etc
+
+ mkdir /sdcard
+ mkdir /boot
+ mkdir /data
+ mkdir /cache
+ mkdir /data/data
+ mkdir /system
+ mount /tmp /tmp tmpfs
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service console /sbin/sh
+ console
+
+service recovery /sbin/recovery
+
+service adbd /sbin/adbd recovery
+ enabled
+
+# Always start adbd on userdebug and eng builds
+# In recovery, always run adbd as root.
+on property:ro.debuggable=1
+ write /sys/class/android_usb/android0/enable 0
+ write /sys/class/android_usb/android0/idVendor 18D1
+ write /sys/class/android_usb/android0/idProduct D001
+ write /sys/class/android_usb/android0/functions adb
+ write /sys/class/android_usb/android0/enable 1
+ write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
+ write /sys/class/android_usb/android0/iProduct $ro.product.model
+ write /sys/class/android_usb/android0/iSerial $ro.serialno
+ start adbd
+ setprop service.adb.root 1
+
+# Restart adbd so it can run as root
+on property:service.adb.root=1
+ write /sys/class/android_usb/android0/enable 0
+ restart adbd
+ write /sys/class/android_usb/android0/enable 1
View
Binary file not shown.
@@ -0,0 +1,13 @@
+# mount point fstype device [device2]
+
+/boot emmc /dev/block/mmcblk0p8
+/cache ext4 /dev/block/mmcblk0p16
+/data ext4 /dev/block/mmcblk0p14
+/misc emmc /dev/block/mmcblk0p17
+/recovery emmc /dev/block/mmcblk0p18
+/system ext4 /dev/block/mmcblk0p13
+
+
+/sdcard vfat /dev/block/mmcblk0p26
+/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
+# /sd-ext ext4 /dev/block/mmcblk1p2
@@ -0,0 +1,3 @@
+#
+# system.prop for ef65l
+#
@@ -0,0 +1,23 @@
+#
+# Copyright (C) 2008 The Android Open Source 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 is executed by build/envsetup.sh, and can use anything
+# defined in envsetup.sh.
+#
+# In particular, you can add lunch options with the add_lunch_combo
+# function: add_lunch_combo generic-eng
+
+add_lunch_combo full_ef65l-eng
@@ -0,0 +1,12 @@
+LOCAL_PATH := $(call my-dir)
+include $(MIUI_CLEAR)
+MIUI_PRODUCT := ef39s
+MIUI_KERNEL := $(LOCAL_PATH)/kernel
+
+MIUI_KERNEL_BASE := 0x40200000 --ramdiskaddr 0x41400000
+MIUI_KERNEL_PAGESIZE := 2048
+MIUI_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom loglevel=0
+
+MIUI_PRODUCT_ROOT := $(LOCAL_PATH)/root
+MIUI_DEVICE_CONFIG := $(LOCAL_PATH)/device.conf
+include $(MIUI_RECOVERY)
@@ -0,0 +1,19 @@
+ini_set("rom_device", "A800S");
+ini_set("rom_name", "MIUI Recovery for A800S");
+ini_set("rom_version", "2.04");
+ini_set("rom_author", "syhost");
+ini_set("rom_date", "2012-12-02");
+
+ini_set("dp", "4");
+ini_set("sd_ext", "1");
+ini_set("force_colorspace", "rgba");
+ini_set("customkeycode_up", "115");
+ini_set("customkeycode_down", "114");
+ini_set("customkeycode_select", "116");
+ini_set("customkeycode_menu", "229");
+ini_set("customkeycode_back", "158");
+
+#set mass_storage, if not set do not echo item
+ini_set("lun_file", "/sys/devices/platform/usb_mass_storage/lun");
+
+
View
Binary file not shown.
@@ -0,0 +1,2 @@
+NOTICE:
+ 1 kernel file-system must be directory root
@@ -0,0 +1,48 @@
+#
+# ADDITIONAL_DEFAULT_PROPERTIES
+#
+ro.secure=0
+ro.allow.mock.location=1
+ro.debuggable=1
+persist.sys.timezone=Asia/Shanghai
+persist.sys.usb.config=mass_storage,adb
+# begin build properties
+# autogenerated by buildinfo.sh
+ro.build.id=IMM76L
+ro.build.display.id=full_ef39s-eng 4.0.4 IMM76L eng.syhost.20121202.131544 test-keys
+ro.build.version.incremental=eng.syhost.20121202.131544
+ro.build.version.sdk=15
+ro.build.version.codename=REL
+ro.build.version.release=4.0.4
+ro.build.date=2012年 12月 02日 星期日 13:16:55 CST
+ro.build.date.utc=1354425415
+ro.build.type=eng
+ro.build.user=syhost
+ro.build.host=soyu-ubuntu
+ro.build.tags=test-keys
+ro.product.model=ef39s
+ro.product.brand=pantech
+ro.product.name=full_ef39s
+ro.product.device=ef39s
+ro.product.board=ef39s
+ro.product.cpu.abi=armeabi-v7a
+ro.product.cpu.abi2=armeabi
+ro.product.manufacturer=pantech
+ro.wifi.channels=
+ro.board.platform=msm8660
+# ro.build.product is obsolete; use ro.product.device
+ro.build.product=ef39s
+# Do not try to parse ro.build.description or .fingerprint
+ro.build.description=full_ef39s-eng 4.0.4 IMM76L eng.syhost.20121202.131544 test-keys
+ro.build.fingerprint=pantech/full_ef39s/ef39s:4.0.4/IMM76L/eng.syhost.20121202.131544:eng/test-keys
+ro.build.characteristics=default
+# end build properties
+#
+# system.prop for ef39s
+#
+
+#
+# ADDITIONAL_BUILD_PROPERTIES
+#
+ro.kernel.android.checkjni=1
+ro.setupwizard.mode=OPTIONAL
@@ -0,0 +1,22 @@
+# mount point fstype device [device2]
+
+/boot emmc /dev/block/mmcblk0p8
+/cache ext4 /dev/block/mmcblk0p16
+/data ext4 /dev/block/mmcblk0p14
+/misc emmc /dev/block/mmcblk0p17
+/recovery emmc /dev/block/mmcblk0p18
+/sdcard vfat /dev/block/mmcblk0p27
+/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
+# /sd-ext ext4 /dev/block/mmcblk1p2
+
+/system ext4 /dev/block/mmcblk0p13
+/fotamodem vfat /dev/block/mmcblk0p1
+/lk emmc /dev/block/mmcblk0p7
+/info emmc /dev/block/mmcblk0p10
+/tz emmc /dev/block/mmcblk0p9
+/rpm emmc /dev/block/mmcblk0p5
+/sbl1 emmc /dev/block/mmcblk0p2
+/sbl2 emmc /dev/block/mmcblk0p3
+/sbl3 emmc /dev/block/mmcblk0p6
+#MDM sky gota p14777 Jang
+/mdm emmc /dev/block/mmcblk0p19
Binary file not shown.
@@ -0,0 +1,50 @@
+on early-init
+ start ueventd
+
+on init
+ export PATH /sbin
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+ export EXTERNAL_STORAGE /sdcard
+
+ symlink /system/etc /etc
+
+ mkdir /sdcard
+ mkdir /system
+ mkdir /data
+ mkdir /cache
+ mount /tmp /tmp tmpfs
+
+on boot
+
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service ueventd /sbin/ueventd
+ critical
+
+service recovery /sbin/recovery
+
+service adbd /sbin/adbd recovery
+ disabled
+
+# Always start adbd on userdebug and eng builds
+on property:ro.debuggable=1
+ write /sys/class/android_usb/android0/enable 0
+ write /sys/class/android_usb/android0/idVendor 18D1
+ write /sys/class/android_usb/android0/idProduct D001
+ write /sys/class/android_usb/android0/functions adb
+ write /sys/class/android_usb/android0/enable 1
+ write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
+ write /sys/class/android_usb/android0/iProduct $ro.product.model
+ write /sys/class/android_usb/android0/iSerial $ro.serialno
+ start adbd
+
+# Restart adbd so it can run as root
+on property:service.adb.root=1
+ write /sys/class/android_usb/android0/enable 0
+ restart adbd
+ write /sys/class/android_usb/android0/enable 1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
@@ -0,0 +1 @@
+{64,0xc926ad21,{1795090719,2141396315,950055447,2581568430,4268923165,1920809988,546586521,3498997798,1776797858,3740060814,1805317999,1429410244,129622599,1422441418,1783893377,1222374759,2563319927,323993566,28517732,609753416,1826472888,215237850,4261642700,4049082591,3228462402,774857746,154822455,2497198897,2758199418,3019015328,2794777644,87251430,2534927978,120774784,571297800,3695899472,2479925187,3811625450,3401832990,2394869647,3267246207,950095497,555058928,414729973,1136544882,3044590084,465547824,4058146728,2731796054,1689838846,3890756939,1048029507,895090649,247140249,178744550,3547885223,3165179243,109881576,3944604415,1044303212,3772373029,2985150306,3737520932,3599964420},{3437017481,3784475129,2800224972,3086222688,251333580,2131931323,512774938,325948880,2657486437,2102694287,3820568226,792812816,1026422502,2053275343,2800889200,3113586810,165549746,4273519969,4065247892,1902789247,772932719,3941848426,3652744109,216871947,3164400649,1942378755,3996765851,1055777370,964047799,629391717,2232744317,3910558992,191868569,2758883837,3682816752,2997714732,2702529250,3570700455,3776873832,3924067546,3555689545,2758825434,1323144535,61311905,1997411085,376844204,213777604,4077323584,9135381,1625809335,2804742137,2952293945,1117190829,4237312782,1825108855,3013147971,1111251351,2568837572,1684324211,2520978805,367251975,810756730,2353784344,1175080310}}
Oops, something went wrong.

0 comments on commit 0805853

Please sign in to comment.