forked from qnhoang81/android_device_samsung_lt02wifi
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevice_lt02wifi.mk
116 lines (92 loc) · 3.35 KB
/
device_lt02wifi.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, vendor/samsung/lt02wifi/lt02wifi-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/samsung/lt02wifi/overlay
PRODUCT_CHARACTERISTICS := tablet
# Enable higher-res drawables while keeping mdpi as primary source
PRODUCT_AAPT_CONFIG := large mdpi hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
PRODUCT_LOCALES += mdpi
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
# Set property overrides
PRODUCT_PROPERTY_OVERRIDES += \
ro.zygote.disable_gl_preload=true \
ro.cm.hardware.cabc=/sys/class/mdnie/mdnie/cabc \
ro.bq.gpu_to_cpu_unsupported=1 \
wifi.interface=wlan0 \
wifi.supplicant_scan_interval=30 \
dalvik.vm.heapsize=128m \
ro.carrier=wifi-only
DEFAULT_PROPERTY_OVERRIDES += \
ro.secure=0 \
ro.allow.mock.location=1 \
ro.debuggable=1 \
persist.service.adb.enable=1 \
persist.sys.usb.config=mtp,adb \
sys.disable_ext_animation=1
# permissions that we supported
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml
# Charger
PRODUCT_PACKAGES += \
charger \
charger_res_images
# Graphics config
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/gfx.cfg:system/etc/gfx.cfg \
$(LOCAL_PATH)/configs/dms.cfg:system/etc/dms.cfg
# fstab:
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/fstab.pxa988:root/fstab.pxa988 \
$(LOCAL_PATH)/rootdir/extra.fstab:recovery/root/etc/extra.fstab \
$(LOCAL_PATH)/rootdir/twrp.fstab:recovery/root/etc/twrp.fstab
# init.rc's:
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/init.recovery.pxa988.rc:root/init.recovery.pxa988.rc \
$(LOCAL_PATH)/rootdir/init.pxa988.rc:root/init.pxa988.rc \
$(LOCAL_PATH)/rootdir/init.pxa988.usb.rc:root/init.pxa988.usb.rc \
$(LOCAL_PATH)/rootdir/init.pxa988.tel.rc:root/init.pxa988.tel.rc
# Init files
PRODUCT_PACKAGES += \
fstab.pxa988 \
init.pxa988.rc \
init.pxa988.usb.rc \
ueventd.pxa988.rc
# uevent.rc
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/ueventd.pxa988.rc:root/ueventd.pxa988.rc
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_PATH)/configs/audio_effects.conf:system/etc/audio_effects.conf
# Product specific Packages
PRODUCT_PACKAGES += \
libsecril-client \
rfkill \
libMarvellWireless \
MarvellWirelessDaemon \
libwpa_client
# RIL
PRODUCT_PROPERTY_OVERRIDES += \
mobiledata.interfaces=wlan0
# Disable SELinux
PRODUCT_PROPERTY_OVERRIDES += \
ro.boot.selinux=disabled
# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sirfgps.conf:system/etc/sirfgps.conf
# Misc
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
# Live Wallpapers
PRODUCT_PACKAGES += \
LiveWallpapers \
LiveWallpapersPicker \
VisualizationWallpapers \
librs_jni
# Set wifi-only before it's set by generic_no_telephony.mk
$(call inherit-product, build/target/product/full_base.mk)
$(call inherit-product, frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/marvell/generic/sd8787/FwImage/sd8787fw.mk)
$(call inherit-product-if-exists, vendor/marvell/generic/sd8787/sd8787.mk)
$(call inherit-product-if-exists, vendor/marvell/generic/sd8787/sd8787_modules.mk)