blob: bab48454e68366eafda540bcb2ad84abe563e781 [file] [log] [blame]
Jose64082522013-05-31 22:12:27 -05001SUPERUSER_EMBEDDED := true
2
iceandfire779f0e22012-11-23 17:47:18 +05303# Generic product
4PRODUCT_NAME := xenonhd
5PRODUCT_BRAND := xenonhd
6PRODUCT_DEVICE := generic
7
8# Common overlay
9PRODUCT_PACKAGE_OVERLAYS += vendor/xenonhd/overlay/common
10
iceandfire3e1c72a2013-03-09 14:16:05 +053011PRODUCT_PACKAGES += \
12 Apollo \
13 CMFileManager \
iceandfire9923ba12013-03-11 13:20:14 +053014 DSPManager \
iceandfire3e1c72a2013-03-09 14:16:05 +053015 Onager \
iceandfire4130c922013-03-24 00:34:22 +053016 LatinImeDictionaryPack \
iceandfire3e1c72a2013-03-09 14:16:05 +053017 LockClock \
iceandfire9923ba12013-03-11 13:20:14 +053018 libcyanogen-dsp \
pcarenza36e49be2013-06-03 20:30:20 -040019 OTAUpdateCenter \
Josee25b07f2013-06-21 14:43:12 -050020 audio_effects.conf \
21 PermissionsManager \
iceandfire3e1c72a2013-03-09 14:16:05 +053022 ROMSettings \
iceandfiref2711a42013-06-24 14:25:33 +053023 ROMStats \
iceandfire3e1c72a2013-03-09 14:16:05 +053024 Superuser \
25 su \
Josee25b07f2013-06-21 14:43:12 -050026 Torch \
27 AOKPTorch \
pcarenzab194c892013-07-24 09:27:23 -040028 XenonWallpapers\
29 VoicePlus
Jose64082522013-05-31 22:12:27 -050030
slickrickd3ec83d2013-02-15 22:15:00 -050031# prebuilts
32PRODUCT_PACKAGES += \
iceandfire4130c922013-03-24 00:34:22 +053033 CarHome \
iceandfire06dca292013-03-27 22:14:58 +053034 Thinkfree
iceandfire3e1c72a2013-03-09 14:16:05 +053035
iceandfired3d2ca02013-05-18 18:54:25 +053036#extras
37PRODUCT_PACKAGES += \
Black-Princeae6eb692013-05-25 17:53:19 +053038 openvpn \
39 e2fsck \
40 mke2fs \
41 tune2fs \
42 bash \
43 nano \
44 libssh \
45 ssh \
46 sshd \
47 sshd-config \
48 ssh-keygen \
49 sftp \
50 scp \
51 start-ssh
iceandfired3d2ca02013-05-18 18:54:25 +053052
iceandfire779f0e22012-11-23 17:47:18 +053053PRODUCT_PROPERTY_OVERRIDES += \
54 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
55 ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
56 ro.com.google.clientidbase=android-google \
57 ro.com.android.wifi-watchlist=GoogleGuest \
58 ro.error.receiver.system.apps=com.google.android.feedback \
59 ro.com.google.locationfeatures=1 \
60 ro.setupwizard.mode=OPTIONAL \
61 ro.setupwizard.enterprise_mode=1 \
62 windowsmgr.max_events_per_sec=240 \
63 ro.media.enc.jpeg.quality=100 \
64 ro.media.dec.jpeg.memcap=8000000 \
65 ro.media.enc.hprof.vid.bps=8000000 \
iceandfireac989f72012-12-22 23:09:08 +053066 wifi.supplicant_scan_interval=180 \
TheBr0kenc745f842013-05-31 11:47:30 -050067 ro.ril.disable.power.collapse=1 \
68 pm.sleep_mode=1
iceandfire779f0e22012-11-23 17:47:18 +053069
rascarloca206702012-12-02 10:23:32 +010070# Common dictionaries
71PRODUCT_PACKAGE_OVERLAYS += vendor/xenonhd/overlay/dictionaries
72
iceandfire779f0e22012-11-23 17:47:18 +053073# Blobs common to all devices
74PRODUCT_COPY_FILES += \
iceandfire779f0e22012-11-23 17:47:18 +053075 vendor/xenonhd/proprietary/common/etc/resolv.conf:system/etc/resolv.conf \
iceandfire779f0e22012-11-23 17:47:18 +053076 vendor/xenonhd/proprietary/common/etc/liberty.bsh:system/etc/liberty.bsh \
iceandfire00228b42013-01-08 03:15:40 +053077 vendor/xenonhd/proprietary/common/etc/liberty.cfg:system/etc
iceandfire779f0e22012-11-23 17:47:18 +053078
79# init.d support
80PRODUCT_COPY_FILES += \
81 vendor/xenonhd/proprietary/common/etc/init.d/00check:system/etc/init.d/00check \
T-Macgnoliab1c95a92013-05-30 12:15:35 -050082 vendor/xenonhd/proprietary/common/etc/init.local.rc:root/init.xenonhd.rc \
TheBr0kenc745f842013-05-31 11:47:30 -050083 vendor/xenonhd/proprietary/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
84 vendor/xenonhd/proprietary/common/etc/init.d/02sysctl:system/etc/init.d/02sysctl \
85 vendor/xenonhd/proprietary/common/etc/init.d/07fixperms:system/etc/init.d/07fixperms \
86 vendor/xenonhd/proprietary/common/etc/init.d/10sdboost:system/etc/init.d/10sdboost \
87 vendor/xenonhd/proprietary/common/etc/init.d/98tweaks:system/etc/init.d/98tweaks \
88 vendor/xenonhd/proprietary/common/etc/init_trigger.enabled:system/etc/init_trigger.enabled \
89 vendor/xenonhd/proprietary/common/etc/sysctl.conf:system/etc/sysctl.conf \
90 vendor/xenonhd/proprietary/common/bin/sysinit:system/bin/sysinit
iceandfire779f0e22012-11-23 17:47:18 +053091
92# Cron schedual
93#PRODUCT_COPY_FILES += \
94# vendor/xenonhd/proprietary/common/etc/cron/cron.conf:system/etc/cron/cron.conf \
95# vendor/xenonhd/proprietary/common/etc/cron/cron.hourly/00drop_caches:system/etc/cron/cron.hourly/00drop_caches \
96# vendor/xenonhd/proprietary/common/etc/cron/cron.daily/00drop_caches:system/etc/cron/cron.daily/00drop_caches \
97# vendor/xenonhd/proprietary/common/etc/cron/cron.weekly/00drop_caches:system/etc/cron/cron.weekly/00drop_caches \
98# vendor/xenonhd/proprietary/common/etc/cron/cron.hourly/01clear_cache:system/etc/cron/cron.hourly/01clear_cache \
99# vendor/xenonhd/proprietary/common/etc/cron/cron.daily/01clear_cache:system/etc/cron/cron.daily/01clear_cache \
100# vendor/xenonhd/proprietary/common/etc/cron/cron.weekly/01clear_cache:system/etc/cron/cron.weekly/01clear_ca
101
102# Term info for nano support
103PRODUCT_COPY_FILES += \
104 vendor/xenonhd/proprietary/common/etc/terminfo/l/linux:system/etc/terminfo/l/linux \
105 vendor/xenonhd/proprietary/common/etc/terminfo/u/unknown:system/etc/terminfo/u/unknown
106
107# Compcache/Zram support
108PRODUCT_COPY_FILES += \
109 vendor/xenonhd/proprietary/common/etc/init.local.rc:system/etc/init.local.rc \
110 vendor/xenonhd/proprietary/common/bin/compcache:system/bin/compcache \
111 vendor/xenonhd/proprietary/common/bin/handle_compcache:system/bin/handle_compcache
112
113# Added xbin files
114PRODUCT_COPY_FILES += \
115 vendor/xenonhd/proprietary/common/xbin/backup:system/xbin/backup \
116 vendor/xenonhd/proprietary/common/xbin/btool:system/xbin/btool \
117 vendor/xenonhd/proprietary/common/xbin/drm1_func_test:system/xbin/drm1_func_test \
118 vendor/xenonhd/proprietary/common/xbin/gdb:system/xbin/gdb \
119 vendor/xenonhd/proprietary/common/xbin/gdbserver:system/xbin/gdbserver \
120 vendor/xenonhd/proprietary/common/xbin/market_history:system/xbin/market_history \
121 vendor/xenonhd/proprietary/common/xbin/rm_apks:system/xbin/rm_apks \
122 vendor/xenonhd/proprietary/common/xbin/run_backup:system/xbin/run_backup \
123 vendor/xenonhd/proprietary/common/xbin/run_restore:system/xbin/run_restore \
124 vendor/xenonhd/proprietary/common/xbin/ssmgrd:system/xbin/ssmgrd \
125 vendor/xenonhd/proprietary/common/xbin/sysro:system/xbin/sysro \
126 vendor/xenonhd/proprietary/common/xbin/sysrw:system/xbin/sysrw \
127 vendor/xenonhd/proprietary/common/xbin/zip:system/xbin/zip \
iceandfire605fe912012-11-25 16:09:44 +0530128 vendor/xenonhd/proprietary/common/xbin/zipalign:system/xbin/zipalign
129
iceandfire070aba52013-05-19 11:05:48 +0530130#Declare your device here for APNs
T-Macgnolia25817492013-06-06 01:31:50 -0500131ifneq ($(filter xenonhd_crespo xenonhd_endeavoru xenonhd_maguro xenonhd_tilapia xenonhd_mako xenonhd_m7 xenonhd_d2att xenonhd_d2tmo xenonhd_galaxysmtd xenonhd_i9100 xenonhd_i9100g xenonhd_i9300 xenonhd_n7000 xenonhd_n7100 xenonhd_t0lte xenonhd_t0lteatt xenonhd_t0ltetmo ,$(TARGET_PRODUCT)),)
iceandfire070aba52013-05-19 11:05:48 +0530132PRODUCT_COPY_FILES += \
133 vendor/xenonhd/proprietary/common/etc/apns-conf.xml:system/etc/apns-conf.xml
134endif
T-Macgnoliab1c95a92013-05-30 12:15:35 -0500135
T-Macgnolia7dbc2c52013-07-08 21:20:18 -0500136ifneq ($(filter xenonhd_d2vzw xenonhd_jfltevzw xenonhd_d2usc xenonhd_xt926 xenonhd_i605 xenonhd_l900 ,$(TARGET_PRODUCT)),)
iceandfire070aba52013-05-19 11:05:48 +0530137PRODUCT_COPY_FILES += \
138 vendor/xenonhd/proprietary/common/etc/apns-conf-cdma.xml:system/etc/apns-conf.xml
139endif
140
iceandfire779f0e22012-11-23 17:47:18 +0530141# T-Mobile theme engine
142PRODUCT_PACKAGES += \
iceandfire6c566182013-06-10 01:55:44 +0530143 ThemeManager \
Josee25b07f2013-06-21 14:43:12 -0500144 ThemeChooser \
145 com.tmobile.themes
iceandfire779f0e22012-11-23 17:47:18 +0530146
147PRODUCT_COPY_FILES += \
148 vendor/xenonhd/proprietary/common/etc/permissions/com.tmobile.software.themes.xml:system/etc/permissions/com.tmobile.software.themes.xml
149
iceandfire779f0e22012-11-23 17:47:18 +0530150# Enable SIP+VoIP on all targets
151PRODUCT_COPY_FILES += \
bulldoz3d98b6c02013-05-29 17:28:23 -0400152 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
TheBr0ken361b0b22013-05-31 11:43:52 -0500153
154# Camera shutter sound property
155PRODUCT_PROPERTY_OVERRIDES += \
156 persist.sys.camera-sound=1