-
Notifications
You must be signed in to change notification settings - Fork 19
/
tamsui.mk
158 lines (135 loc) · 5.25 KB
/
tamsui.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
DEVICE_PACKAGE_OVERLAYS += device/sony/tamsui-common/overlay
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml
# EGL config
PRODUCT_COPY_FILES += \
device/sony/tamsui-common/config/egl.cfg:system/lib/egl/egl.cfg
# Common Qualcomm scripts
PRODUCT_COPY_FILES += \
device/sony/tamsui-common/config/init.qcom.efs.sync.sh:system/etc/init.qcom.efs.sync.sh
# QCOM Display
PRODUCT_PACKAGES += \
copybit.msm7x27a \
gralloc.msm7x27a \
hwcomposer.msm7x27a \
libgenlock \
libI420colorconvert \
libmemalloc \
liboverlay \
libQcomUI \
libqdutils \
libtilerenderer
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
audio_policy.msm7x27a \
audio.primary.msm7x27a \
audio_policy.conf \
libaudioutils
PRODUCT_COPY_FILES += \
device/sony/tamsui-common/config/media_codecs.xml:system/etc/media_codecs.xml
# Omx
PRODUCT_PACKAGES += \
libdivxdrmdecrypt \
libmm-omxcore \
libOmxCore \
libOmxVdec \
libOmxVenc \
libOmxAacEnc \
libOmxAmrEnc \
libstagefrighthw
# GPS
PRODUCT_PACKAGES += \
gps.msm7x27a
# Light
PRODUCT_PACKAGES += \
lights.msm7x27a
# Misc
PRODUCT_PACKAGES += \
com.android.future.usb.accessory
# Live Wallpapers
PRODUCT_PACKAGES += \
LiveWallpapers \
LiveWallpapersPicker \
VisualizationWallpapers \
librs_jni
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
# We have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
# Custom init / uevent
PRODUCT_COPY_FILES += \
device/sony/tamsui-common/config/init.sony.service.rc:root/init.sony.service.rc \
device/sony/tamsui-common/config/init.sony.rc:root/init.sony.rc \
device/sony/tamsui-common/config/ueventd.sony.rc:root/ueventd.sony.rc
# system props for the MM modules
PRODUCT_PROPERTY_OVERRIDES += \
media.stagefright.enable-player=true \
media.stagefright.enable-meta=false \
media.stagefright.enable-scan=true \
media.stagefright.enable-http=true \
media.stagefright.enable-fma2dp=true \
media.stagefright.enable-aac=true \
media.stagefright.enable-qcp=true \
debug.camcorder.disablemeta=1
# Radio
PRODUCT_PROPERTY_OVERRIDES += \
ro.telephony.ril_class=SonyQualcommRIL7x27a \
ro.telephony.ril.v3=skipnullaid \
rild.libpath=/system/lib/libril-qc-1.so \
rild.libargs=-d/dev/smd0 \
persist.rild.nitz_plmn= \
persist.rild.nitz_long_ons_0= \
persist.rild.nitz_long_ons_1= \
persist.rild.nitz_long_ons_2= \
persist.rild.nitz_long_ons_3= \
persist.rild.nitz_short_ons_0= \
persist.rild.nitz_short_ons_1= \
persist.rild.nitz_short_ons_2= \
persist.rild.nitz_short_ons_3= \
ril.subscription.types=NV,RUIM \
DEVICE_PROVISIONED=1 \
keyguard.no_require_sim=1 \
ro.ril.hsxpa=1 \
ro.ril.gprsclass=10 \
ro.use_data_netmgrd=true \
persist.data_netmgrd_nint=3 \
ro.ril.transmitpower=true
# Graphics
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=131072 \
com.qc.hardware=true \
debug.sf.hw=1 \
debug.enabletr=false \
debug.composition.type=mdp
# persist.sys.use_dithering=1
## Reference values from CAF
PRODUCT_PROPERTY_OVERRIDES += \
hwui.render_dirty_regions=false \
ro.max.fling_velocity=4000
# QCOM CpuGovernorService
PRODUCT_PROPERTY_OVERRIDES += \
dev.pm.dyn_samplingrate=1
# Wifi
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0 \
wifi.supplicant_scan_interval=30
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp