| 
 | 
 本帖最后由 lcdyong 于 2012-12-7 11:42 编辑  
TQ-lkp 发表于 2012-12-7 11:33   
贴下你删除前和后的内容  
# These is the hardware-specific overlay, which points to the location 
# of hardware-specific resource overrides, typically the frameworks and 
# application settings that are stored in resourced. 
DEVICE_PACKAGE_OVERLAYS := device/embedsky/tq210/overlay 
 
PRODUCT_COMMON_DIR := device/embedsky/common/s5p 
 
PRODUCT_COPY_FILES := \ 
        device/embedsky/tq210/init.rc:root/init.rc \ 
        device/embedsky/tq210/init.tq210.usb.rc:root/init.tq210.usb.rc \ 
        device/embedsky/tq210/ueventd.tq210.rc:root/ueventd.tq210.rc \ 
        device/embedsky/tq210/configs/init.tq210.rc:root/init.tq210.rc \ 
        device/embedsky/tq210/vold.fstab:system/etc/vold.fstab \ 
        device/embedsky/tq210/configs/Goodix.idc:system/usr/idc/Goodix.idc \ 
        device/embedsky/tq210/configs/qwerty.idc:system/usr/idc/qwerty.idc \ 
        device/embedsky/tq210/configs/qwerty2.idc:system/usr/idc/qwerty2.idc \ 
        device/embedsky/tq210/configs/s3c_ts.idc:system/usr/idc/s3c_ts.idc \ 
        device/embedsky/tq210/configs/gps.conf:system/etc/gps.conf \ 
        device/embedsky/tq210/configs/init.tq210_cdma.rc:system/etc/init.tq210_cdma.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs_B115200.rc:system/etc/init.tq210_gprs_B115200.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs_B4800.rc:system/etc/init.tq210_gprs_B4800.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs.rc:system/etc/init.tq210_gprs.rc \ 
        device/embedsky/tq210/configs/init.tq210_wcdma.rc:system/etc/init.tq210_wcdma.rc \ 
        device/embedsky/tq210/configs/init.tq210.sh:system/etc/init.tq210.sh 
# LIB files 
#        device/embedsky/tq210/lib/libwifi.so:system/lib/libwifi.so  
PRODUCT_COPY_FILES += \ 
        device/embedsky/tq210/lib/libadc.so:system/lib/libadc.so \ 
        device/embedsky/tq210/lib/libbeep.so:system/lib/libbeep.so \ 
        device/embedsky/tq210/lib/libled.so:system/lib/libled.so \ 
        device/embedsky/tq210/lib/libserial.so:system/lib/libserial.so \ 
        device/embedsky/tq210/lib/libspi.so:system/lib/libspi.so \ 
        device/embedsky/tq210/lib/libvirtualtouch.so:system/lib/libvirtualtouch.so \ 
        device/embedsky/tq210/lib/libzteevdo-ril_mc2716_android4.0.so:system/lib/libzteevdo-ril_mc2716_android4.0.so \ 
        device/embedsky/tq210/lib/libztewcdma-ril_andriod4.0_v01.so:system/lib/libztewcdma-ril_andriod4.0_v01.so \ 
        device/embedsky/tq210/lib/zterilPara:system/lib/zterilPara \ 
        device/embedsky/tq210/lib/hw/spi.tq210.so:system/lib/hw/spi.tq210.so \ 
        device/embedsky/tq210/lib/hw/adc.tq210.so:system/lib/hw/adc.tq210.so \ 
        device/embedsky/tq210/lib/hw/beep.tq210.so:system/lib/hw/beep.tq210.so \ 
        device/embedsky/tq210/lib/hw/led.tq210.so:system/lib/hw/led.tq210.so \ 
        device/embedsky/tq210/lib/hw/gps.default.so:system/lib/hw/gps.default.so \ 
        device/embedsky/tq210/lib/hw/sensors.default.so:system/lib/hw/sensors.default.so \ 
        device/embedsky/tq210/lib/hw/virtualtouch.tq210.so:system/lib/hw/virtualtouch.tq210.so  
         
         
PRODUCT_PROPERTY_OVERRIDES += \ 
        ro.sf.lcd_density=170 \ 
        ro.opengles.version=131072 
 
# Set default USB interface 
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 
        persist.sys.usb.config=mass_storage 
 
PRODUCT_PROPERTY_OVERRIDES += \ 
        hwui.render_dirty_regions=false 
 
PRODUCT_TAGS += dalvik.gc.type-precise 
 
PRODUCT_PACKAGES += \ 
        gralloc.tq210  
 
#audio 
PRODUCT_PACKAGES += \ 
        audio_policy.tq210 \ 
        audio.primary.tq210 \ 
        audio.a2dp.default \ 
        lights.tq210 \ 
        hwcomposer.tq210 \ 
        libaudioutils 
 
# These is the OpenMAX IL configuration files 
PRODUCT_COPY_FILES += \ 
        $(PRODUCT_COMMON_DIR)/sec_mm/sec_omx/sec_omx_core/secomxregistry:system/etc/secomxregistry \ 
        $(PRODUCT_COMMON_DIR)/media_profiles.xml:system/etc/media_profiles.xml 
 
#MFC Firmware 
PRODUCT_COPY_FILES += \ 
        $(PRODUCT_COMMON_DIR)/embedsky_mfc_fw.bin:system/vendor/firmware/embedsky_mfc_fw.bin 
 
 
# These are the OpenMAX IL modules 
PRODUCT_PACKAGES += \ 
        libSEC_OMX_Core \ 
        libOMX.SEC.AVC.Decoder \ 
        libOMX.SEC.M4V.Decoder \ 
        libOMX.SEC.M4V.Encoder \ 
        libOMX.SEC.AVC.Encoder 
 
# Include libstagefright module 
PRODUCT_PACKAGES += \ 
        libstagefrighthw 
# Camera 
PRODUCT_PACKAGES += \ 
        camera.tq210 
 
# Filesystem management tools 
PRODUCT_PACKAGES += \ 
        make_ext4fs \ 
        setup_fs 
 
$(call inherit-product, frameworks/base/build/phone-xhdpi-1024-dalvik-heap.mk) 
$(call inherit-product-if-exists, vendor/embedsky/tq210/device-vendor.mk) 
 
 
后: 
 
# These is the hardware-specific overlay, which points to the location 
# of hardware-specific resource overrides, typically the frameworks and 
# application settings that are stored in resourced. 
DEVICE_PACKAGE_OVERLAYS := device/embedsky/tq210/overlay 
 
PRODUCT_COMMON_DIR := device/embedsky/common/s5p 
 
PRODUCT_COPY_FILES := \ 
        device/embedsky/tq210/init.rc:root/init.rc \ 
        device/embedsky/tq210/init.tq210.usb.rc:root/init.tq210.usb.rc \ 
        device/embedsky/tq210/ueventd.tq210.rc:root/ueventd.tq210.rc \ 
        device/embedsky/tq210/configs/init.tq210.rc:root/init.tq210.rc \ 
        device/embedsky/tq210/vold.fstab:system/etc/vold.fstab \ 
        device/embedsky/tq210/configs/Goodix.idc:system/usr/idc/Goodix.idc \ 
        device/embedsky/tq210/configs/qwerty.idc:system/usr/idc/qwerty.idc \ 
        device/embedsky/tq210/configs/qwerty2.idc:system/usr/idc/qwerty2.idc \ 
        device/embedsky/tq210/configs/s3c_ts.idc:system/usr/idc/s3c_ts.idc \ 
        device/embedsky/tq210/configs/gps.conf:system/etc/gps.conf \ 
        device/embedsky/tq210/configs/init.tq210_cdma.rc:system/etc/init.tq210_cdma.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs_B115200.rc:system/etc/init.tq210_gprs_B115200.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs_B4800.rc:system/etc/init.tq210_gprs_B4800.rc \ 
        device/embedsky/tq210/configs/init.tq210_gprs.rc:system/etc/init.tq210_gprs.rc \ 
        device/embedsky/tq210/configs/init.tq210_wcdma.rc:system/etc/init.tq210_wcdma.rc \ 
        device/embedsky/tq210/configs/init.tq210.sh:system/etc/init.tq210.sh 
# LIB files 
#        device/embedsky/tq210/lib/libwifi.so:system/lib/libwifi.so  
PRODUCT_COPY_FILES += \ 
        device/embedsky/tq210/lib/libadc.so:system/lib/libadc.so \ 
        device/embedsky/tq210/lib/libbeep.so:system/lib/libbeep.so \ 
 
        device/embedsky/tq210/lib/libserial.so:system/lib/libserial.so \ 
        device/embedsky/tq210/lib/libspi.so:system/lib/libspi.so \ 
        device/embedsky/tq210/lib/libvirtualtouch.so:system/lib/libvirtualtouch.so \ 
        device/embedsky/tq210/lib/libzteevdo-ril_mc2716_android4.0.so:system/lib/libzteevdo-ril_mc2716_android4.0.so \ 
        device/embedsky/tq210/lib/libztewcdma-ril_andriod4.0_v01.so:system/lib/libztewcdma-ril_andriod4.0_v01.so \ 
        device/embedsky/tq210/lib/zterilPara:system/lib/zterilPara \ 
        device/embedsky/tq210/lib/hw/spi.tq210.so:system/lib/hw/spi.tq210.so \ 
        device/embedsky/tq210/lib/hw/adc.tq210.so:system/lib/hw/adc.tq210.so \ 
        device/embedsky/tq210/lib/hw/beep.tq210.so:system/lib/hw/beep.tq210.so \ 
 
        device/embedsky/tq210/lib/hw/gps.default.so:system/lib/hw/gps.default.so \ 
        device/embedsky/tq210/lib/hw/sensors.default.so:system/lib/hw/sensors.default.so \ 
        device/embedsky/tq210/lib/hw/virtualtouch.tq210.so:system/lib/hw/virtualtouch.tq210.so  
         
         
PRODUCT_PROPERTY_OVERRIDES += \ 
        ro.sf.lcd_density=170 \ 
        ro.opengles.version=131072 
 
# Set default USB interface 
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 
        persist.sys.usb.config=mass_storage 
 
PRODUCT_PROPERTY_OVERRIDES += \ 
        hwui.render_dirty_regions=false 
 
PRODUCT_TAGS += dalvik.gc.type-precise 
 
PRODUCT_PACKAGES += \ 
        gralloc.tq210  
 
#audio 
PRODUCT_PACKAGES += \ 
        audio_policy.tq210 \ 
        audio.primary.tq210 \ 
        audio.a2dp.default \ 
        lights.tq210 \ 
        hwcomposer.tq210 \ 
        libaudioutils 
 
# These is the OpenMAX IL configuration files 
PRODUCT_COPY_FILES += \ 
        $(PRODUCT_COMMON_DIR)/sec_mm/sec_omx/sec_omx_core/secomxregistry:system/etc/secomxregistry \ 
        $(PRODUCT_COMMON_DIR)/media_profiles.xml:system/etc/media_profiles.xml 
 
#MFC Firmware 
PRODUCT_COPY_FILES += \ 
        $(PRODUCT_COMMON_DIR)/embedsky_mfc_fw.bin:system/vendor/firmware/embedsky_mfc_fw.bin 
 
 
# These are the OpenMAX IL modules 
PRODUCT_PACKAGES += \ 
        libSEC_OMX_Core \ 
        libOMX.SEC.AVC.Decoder \ 
        libOMX.SEC.M4V.Decoder \ 
        libOMX.SEC.M4V.Encoder \ 
        libOMX.SEC.AVC.Encoder 
 
# Include libstagefright module 
PRODUCT_PACKAGES += \ 
        libstagefrighthw 
# Camera 
PRODUCT_PACKAGES += \ 
        camera.tq210 
 
# Filesystem management tools 
PRODUCT_PACKAGES += \ 
        make_ext4fs \ 
        setup_fs 
 
$(call inherit-product, frameworks/base/build/phone-xhdpi-1024-dalvik-heap.mk) 
$(call inherit-product-if-exists, vendor/embedsky/tq210/device-vendor.mk) 
 
 
只改动了,那两处,是手册上让删除的语句 
 |   
 
 
 
 |