-
Notifications
You must be signed in to change notification settings - Fork 1
/
common.mk
120 lines (95 loc) · 3.53 KB
/
common.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
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true \
ro.com.google.clientidbase=android-google \
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
ro.com.android.wifi-watchlist=GoogleGuest \
ro.setupwizard.enterprise_mode=1 \
ro.com.android.dateformat=MM-dd-yyyy \
ro.com.android.dataroaming=false
# Disable multithreaded dexopt by default
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.dalvik.multithread=false
# Thank you, please drive thru!
PRODUCT_PROPERTY_OVERRIDES += persist.sys.dun.override=0
# Backup Tool
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
vendor/aosp/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions \
vendor/aosp/prebuilt/common/bin/50-cm.sh:system/addon.d/50-cm.sh \
vendor/aosp/prebuilt/common/bin/blacklist:system/addon.d/blacklist
# init.d support
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/bin/sysinit:system/bin/sysinit
# userinit support
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit
# Init file
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/etc/init.local.rc:root/init.cm.rc
# Bring in camera effects
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
vendor/aosp/prebuilt/common/media/PFFprec_600.emd:system/media/PFFprec_600.emd
# Enable SIP+VoIP on all targets
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
# Enable wireless Xbox 360 controller support
PRODUCT_COPY_FILES += \
frameworks/base/data/keyboards/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_0719.kl
# Packages
PRODUCT_PACKAGES += \
Basic \
LatinIME \
Launcher3 \
libemoji
# Live Wallpapers
PRODUCT_PACKAGES += \
Galaxy4 \
HoloSpiralWallpaper \
LiveWallpapers \
LiveWallpapersPicker \
MagicSmokeWallpapers \
NoiseField \
PhaseBeam \
VisualizationWallpapers \
PhotoTable \
PhotoPhase \
librs_jni
# World APN list
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml
# World SPN overrides list
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/etc/spn-conf.xml:system/etc/spn-conf.xml
# Selective SPN list for operator number who has the problem.
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/etc/selective-spn-conf.xml:system/etc/selective-spn-conf.xml
# Telephony packages
# Mms depends on SoundRecorder for recorded audio messages
PRODUCT_PACKAGES += \
Mms \
Stk \
CellBroadcastReceiver \
SoundRecorder
# Default ringtone
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.ringtone=Orion.ogg
# SU
PRODUCT_PACKAGES += \
procmem \
procrank \
su
# Root
PRODUCT_COPY_FILES += \
external/koush/Superuser/init.superuser.rc:root/init.superuser.rc
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.root_access=1
PRODUCT_PACKAGE_OVERLAYS += vendor/aosp/overlay/common
# Bootanimation
PRODUCT_COPY_FILES += \
vendor/aosp/prebuilt/common/media/bootanimation.zip:system/media/bootanimation.zip
# by default, do not update the recovery with system updates
PRODUCT_PROPERTY_OVERRIDES += persist.sys.recovery_update=false
$(call prepend-product-if-exists, vendor/extra/product.mk)