From 3c9204c3effe7e2c376a51c7a4c7a29a3da437ba Mon Sep 17 00:00:00 2001 From: NickDollahZ Date: Thu, 17 Oct 2013 08:01:05 -0700 Subject: First Commit of N5100 device files --- n5100.mk | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100755 n5100.mk (limited to 'n5100.mk') diff --git a/n5100.mk b/n5100.mk new file mode 100755 index 0000000..fb0db25 --- /dev/null +++ b/n5100.mk @@ -0,0 +1,87 @@ +# +# Copyright (C) 2012 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. +# + +LOCAL_PATH := device/samsung/n5100 + +DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay + +PRODUCT_AAPT_CONFIG := normal large tvdpi hdpi +PRODUCT_AAPT_PREF_CONFIG := tvdpi + +TARGET_SCREEN_HEIGHT := 1280 +TARGET_SCREEN_WIDTH := 800 + +# Init files +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/rootdir/init.smdk4x12.rc:root/init.smdk4x12.rc \ + $(LOCAL_PATH)/rootdir/init.smdk4x12.usb.rc:root/init.smdk4x12.usb.rc \ + $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc \ + $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc \ + $(LOCAL_PATH)/rootdir/lpm.rc:root/lpm.rc \ + $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12 + +# Packages +PRODUCT_PACKAGES += \ + tiny_hw \ + libsecril-client \ + libsecril-client-sap \ + DeviceSettings \ + SamsungServiceMode \ + VoicePlus + +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/gps.xml:system/etc/gps.xml \ + $(LOCAL_PATH)/configs/nvram_mfg.txt:system/etc/wifi/nvram_mfg.txt \ + $(LOCAL_PATH)/configs/nvram_mfg.txt_murata:system/etc/wifi/nvram_mfg.txt_murata \ + $(LOCAL_PATH)/configs/nvram_net.txt:system/etc/wifi/nvram_net.txt \ + $(LOCAL_PATH)/configs/nvram_net.txt_murata:system/etc/wifi/nvram_net.txt_murata + +# Camera +PRODUCT_PACKAGES += \ + camera.smdk4x12 + +# Sensors +PRODUCT_PACKAGES += \ + sensors.smdk4x12 + +# IRDA +PRODUCT_PACKAGES += \ + irda.exynos4 + +# TWRP +PRODUCT_COPY_FILES += \ + device/samsung/n5100/twrp.fstab:recovery/root/etc/twrp.fstab + +# RIL +PRODUCT_PROPERTY_OVERRIDES += \ + ro.telephony.ril_class=SamsungExynos4RIL \ + mobiledata.interfaces=pdp0,wlan0,gprs,ppp0 \ + ro.ril.hsxpa=1 \ + ro.ril.gprsclass=10 + +# These are the hardware-specific features +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ + frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ + frameworks/native/data/etc/android.software.sip.xml:system/etc/permissions/android.software.sip.xml \ + frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml + +# Set product characteristic to tablet, needed for some ui elements +PRODUCT_CHARACTERISTICS := tablet + +$(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk) +$(call inherit-product, vendor/samsung/n5100/n5100-vendor.mk) +$(call inherit-product, device/samsung/smdk4412-common/common.mk) -- cgit v1.1