blob: 36dcbe9cbc54ee4b7d147a6939ed0267ab37c75f [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 += \
pcarenzaccbb9332013-08-14 22:52:33 -040012 DeskClock \
13 DSPManager \
TheBr0ken9b0a5dd2013-08-09 12:10:06 -050014 Launcher2 \
iceandfire4130c922013-03-24 00:34:22 +053015 LatinImeDictionaryPack \
iceandfire9923ba12013-03-11 13:20:14 +053016 libcyanogen-dsp \
TheBr0ken9b0a5dd2013-08-09 12:10:06 -050017 audio_effects.conf \
pcarenza56ab90a2013-08-14 21:40:33 -040018 OTAUpdateCenter \
19 ROMStats \
iceandfire3e1c72a2013-03-09 14:16:05 +053020 Superuser \
21 su \
pcarenzab194c892013-07-24 09:27:23 -040022 XenonWallpapers\
TheBr0ken9b0a5dd2013-08-09 12:10:06 -050023 VoicePlus \
24 Dialer
Jose64082522013-05-31 22:12:27 -050025
iceandfire3e1c72a2013-03-09 14:16:05 +053026
iceandfired3d2ca02013-05-18 18:54:25 +053027#extras
28PRODUCT_PACKAGES += \
Black-Princeae6eb692013-05-25 17:53:19 +053029 openvpn \
30 e2fsck \
31 mke2fs \
32 tune2fs \
33 bash \
34 nano \
35 libssh \
36 ssh \
37 sshd \
38 sshd-config \
39 ssh-keygen \
40 sftp \
41 scp \
42 start-ssh
iceandfired3d2ca02013-05-18 18:54:25 +053043
iceandfire779f0e22012-11-23 17:47:18 +053044PRODUCT_PROPERTY_OVERRIDES += \
T-Macgnoliaa2b8c7a2013-08-14 23:36:53 -050045 persist.sys.root_access=1 \
iceandfire779f0e22012-11-23 17:47:18 +053046 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html \
47 ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html \
48 ro.com.google.clientidbase=android-google \
49 ro.com.android.wifi-watchlist=GoogleGuest \
50 ro.error.receiver.system.apps=com.google.android.feedback \
51 ro.com.google.locationfeatures=1 \
52 ro.setupwizard.mode=OPTIONAL \
53 ro.setupwizard.enterprise_mode=1 \
54 windowsmgr.max_events_per_sec=240 \
55 ro.media.enc.jpeg.quality=100 \
56 ro.media.dec.jpeg.memcap=8000000 \
57 ro.media.enc.hprof.vid.bps=8000000 \
iceandfireac989f72012-12-22 23:09:08 +053058 wifi.supplicant_scan_interval=180 \
TheBr0kenc745f842013-05-31 11:47:30 -050059 ro.ril.disable.power.collapse=1 \
60 pm.sleep_mode=1
iceandfire779f0e22012-11-23 17:47:18 +053061
rascarloca206702012-12-02 10:23:32 +010062# Common dictionaries
63PRODUCT_PACKAGE_OVERLAYS += vendor/xenonhd/overlay/dictionaries
64
iceandfire779f0e22012-11-23 17:47:18 +053065# Blobs common to all devices
66PRODUCT_COPY_FILES += \
iceandfire779f0e22012-11-23 17:47:18 +053067 vendor/xenonhd/proprietary/common/etc/resolv.conf:system/etc/resolv.conf \
iceandfire779f0e22012-11-23 17:47:18 +053068 vendor/xenonhd/proprietary/common/etc/liberty.bsh:system/etc/liberty.bsh \
iceandfire00228b42013-01-08 03:15:40 +053069 vendor/xenonhd/proprietary/common/etc/liberty.cfg:system/etc
iceandfire779f0e22012-11-23 17:47:18 +053070
71# init.d support
72PRODUCT_COPY_FILES += \
73 vendor/xenonhd/proprietary/common/etc/init.d/00check:system/etc/init.d/00check \
T-Macgnoliab1c95a92013-05-30 12:15:35 -050074 vendor/xenonhd/proprietary/common/etc/init.local.rc:root/init.xenonhd.rc \
TheBr0kenc745f842013-05-31 11:47:30 -050075 vendor/xenonhd/proprietary/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
76 vendor/xenonhd/proprietary/common/etc/init.d/02sysctl:system/etc/init.d/02sysctl \
77 vendor/xenonhd/proprietary/common/etc/init.d/07fixperms:system/etc/init.d/07fixperms \
78 vendor/xenonhd/proprietary/common/etc/init.d/10sdboost:system/etc/init.d/10sdboost \
79 vendor/xenonhd/proprietary/common/etc/init.d/98tweaks:system/etc/init.d/98tweaks \
80 vendor/xenonhd/proprietary/common/etc/init_trigger.enabled:system/etc/init_trigger.enabled \
81 vendor/xenonhd/proprietary/common/etc/sysctl.conf:system/etc/sysctl.conf \
82 vendor/xenonhd/proprietary/common/bin/sysinit:system/bin/sysinit
iceandfire779f0e22012-11-23 17:47:18 +053083
84# Cron schedual
85#PRODUCT_COPY_FILES += \
86# vendor/xenonhd/proprietary/common/etc/cron/cron.conf:system/etc/cron/cron.conf \
87# vendor/xenonhd/proprietary/common/etc/cron/cron.hourly/00drop_caches:system/etc/cron/cron.hourly/00drop_caches \
88# vendor/xenonhd/proprietary/common/etc/cron/cron.daily/00drop_caches:system/etc/cron/cron.daily/00drop_caches \
89# vendor/xenonhd/proprietary/common/etc/cron/cron.weekly/00drop_caches:system/etc/cron/cron.weekly/00drop_caches \
90# vendor/xenonhd/proprietary/common/etc/cron/cron.hourly/01clear_cache:system/etc/cron/cron.hourly/01clear_cache \
91# vendor/xenonhd/proprietary/common/etc/cron/cron.daily/01clear_cache:system/etc/cron/cron.daily/01clear_cache \
92# vendor/xenonhd/proprietary/common/etc/cron/cron.weekly/01clear_cache:system/etc/cron/cron.weekly/01clear_ca
93
94# Term info for nano support
95PRODUCT_COPY_FILES += \
96 vendor/xenonhd/proprietary/common/etc/terminfo/l/linux:system/etc/terminfo/l/linux \
97 vendor/xenonhd/proprietary/common/etc/terminfo/u/unknown:system/etc/terminfo/u/unknown
98
99# Compcache/Zram support
100PRODUCT_COPY_FILES += \
101 vendor/xenonhd/proprietary/common/etc/init.local.rc:system/etc/init.local.rc \
102 vendor/xenonhd/proprietary/common/bin/compcache:system/bin/compcache \
103 vendor/xenonhd/proprietary/common/bin/handle_compcache:system/bin/handle_compcache
104
105# Added xbin files
106PRODUCT_COPY_FILES += \
107 vendor/xenonhd/proprietary/common/xbin/backup:system/xbin/backup \
108 vendor/xenonhd/proprietary/common/xbin/btool:system/xbin/btool \
109 vendor/xenonhd/proprietary/common/xbin/drm1_func_test:system/xbin/drm1_func_test \
110 vendor/xenonhd/proprietary/common/xbin/gdb:system/xbin/gdb \
111 vendor/xenonhd/proprietary/common/xbin/gdbserver:system/xbin/gdbserver \
112 vendor/xenonhd/proprietary/common/xbin/market_history:system/xbin/market_history \
113 vendor/xenonhd/proprietary/common/xbin/rm_apks:system/xbin/rm_apks \
114 vendor/xenonhd/proprietary/common/xbin/run_backup:system/xbin/run_backup \
115 vendor/xenonhd/proprietary/common/xbin/run_restore:system/xbin/run_restore \
116 vendor/xenonhd/proprietary/common/xbin/ssmgrd:system/xbin/ssmgrd \
117 vendor/xenonhd/proprietary/common/xbin/sysro:system/xbin/sysro \
118 vendor/xenonhd/proprietary/common/xbin/sysrw:system/xbin/sysrw \
119 vendor/xenonhd/proprietary/common/xbin/zip:system/xbin/zip \
iceandfire605fe912012-11-25 16:09:44 +0530120 vendor/xenonhd/proprietary/common/xbin/zipalign:system/xbin/zipalign
121
iceandfire070aba52013-05-19 11:05:48 +0530122#Declare your device here for APNs
T-Macgnolia25817492013-06-06 01:31:50 -0500123ifneq ($(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 +0530124PRODUCT_COPY_FILES += \
125 vendor/xenonhd/proprietary/common/etc/apns-conf.xml:system/etc/apns-conf.xml
126endif
T-Macgnoliab1c95a92013-05-30 12:15:35 -0500127
T-Macgnolia7dbc2c52013-07-08 21:20:18 -0500128ifneq ($(filter xenonhd_d2vzw xenonhd_jfltevzw xenonhd_d2usc xenonhd_xt926 xenonhd_i605 xenonhd_l900 ,$(TARGET_PRODUCT)),)
iceandfire070aba52013-05-19 11:05:48 +0530129PRODUCT_COPY_FILES += \
130 vendor/xenonhd/proprietary/common/etc/apns-conf-cdma.xml:system/etc/apns-conf.xml
131endif
132
iceandfire779f0e22012-11-23 17:47:18 +0530133# T-Mobile theme engine
134PRODUCT_PACKAGES += \
iceandfire6c566182013-06-10 01:55:44 +0530135 ThemeManager \
Josee25b07f2013-06-21 14:43:12 -0500136 ThemeChooser \
137 com.tmobile.themes
iceandfire779f0e22012-11-23 17:47:18 +0530138
139PRODUCT_COPY_FILES += \
140 vendor/xenonhd/proprietary/common/etc/permissions/com.tmobile.software.themes.xml:system/etc/permissions/com.tmobile.software.themes.xml
141
iceandfire779f0e22012-11-23 17:47:18 +0530142# Enable SIP+VoIP on all targets
143PRODUCT_COPY_FILES += \
bulldoz3d98b6c02013-05-29 17:28:23 -0400144 frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
TheBr0ken361b0b22013-05-31 11:43:52 -0500145
146# Camera shutter sound property
147PRODUCT_PROPERTY_OVERRIDES += \
148 persist.sys.camera-sound=1