blob: 8ae9cd05ded127f3fa9272eeb6fe20bebc8feadd [file] [log] [blame]
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_PROPERTY_OVERRIDES += \
keyguard.no_require_sim=true \
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.google.clientidbase=android-google \
ro.com.android.wifi-watchlist=GoogleGuest \
ro.setupwizard.enterprise_mode=1 \
ro.com.android.dateformat=MM-dd-yyyy \
ro.com.android.dataroaming=false
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.selinux=1
# Backup Tool
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh \
vendor/slim/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions \
vendor/slim/prebuilt/common/bin/50-slim.sh:system/addon.d/50-slim.sh \
vendor/slim/prebuilt/common/bin/99-backup.sh:system/addon.d/99-backup.sh \
vendor/slim/prebuilt/common/etc/backup.conf:system/etc/backup.conf
# SLIM-specific init file
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/etc/init.local.rc:root/init.slim.rc
# Copy latinime for gesture typing
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/lib/libjni_latinime.so:system/lib/libjni_latinime.so
# Compcache/Zram support
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/bin/compcache:system/bin/compcache \
vendor/slim/prebuilt/common/bin/handle_compcache:system/bin/handle_compcache
# Audio Config for DSPManager
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/vendor/etc/audio_effects.conf:system/vendor/etc/audio_effects.conf
#LOCAL SLIM CHANGES - END
# 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
# Don't export PS1 in /system/etc/mkshrc.
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/etc/mkshrc:system/etc/mkshrc \
vendor/slim/prebuilt/common/etc/sysctl.conf:system/etc/sysctl.conf
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
vendor/slim/prebuilt/common/etc/init.d/90userinit:system/etc/init.d/90userinit \
vendor/slim/prebuilt/common/bin/sysinit:system/bin/sysinit
# Workaround for NovaLauncher zipalign fails
PRODUCT_COPY_FILES += \
vendor/slim/prebuilt/common/app/NovaLauncher.apk:system/app/NovaLauncher.apk
# Embed SuperUser
SUPERUSER_EMBEDDED := true
# Required packages
PRODUCT_PACKAGES += \
Camera \
Development \
SpareParts \
Superuser \
su
# Optional packages
PRODUCT_PACKAGES += \
Basic \
HoloSpiralWallpaper \
NoiseField \
Galaxy4 \
LiveWallpapersPicker \
PhaseBeam
# Extra Optional packages
PRODUCT_PACKAGES += \
DashClock \
SlimFileManager \
SlimCenter \
LatinIME \
SlimIRC
# Extra tools
PRODUCT_PACKAGES += \
openvpn \
e2fsck \
mke2fs \
tune2fs
PRODUCT_PACKAGE_OVERLAYS += vendor/slim/overlay/common
# T-Mobile theme engine
include vendor/slim/config/themes_common.mk
# Versioning System
# Prepare for first 4.3 weekly beta.1
PRODUCT_VERSION_MAJOR = 4.3
PRODUCT_VERSION_MINOR = build
PRODUCT_VERSION_MAINTENANCE = beta.1.2
ifdef SLIM_BUILD_EXTRA
SLIM_POSTFIX := -$(SLIM_BUILD_EXTRA)
endif
ifndef SLIM_BUILD_TYPE
SLIM_BUILD_TYPE := UNOFFICIAL
PLATFORM_VERSION_CODENAME := UNOFFICIAL
SLIM_POSTFIX := -$(shell date +"%Y%m%d-%H%M")
endif
# Set all versions
SLIM_VERSION := Slim-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)-$(SLIM_BUILD_TYPE)$(SLIM_POSTFIX)
SLIM_MOD_VERSION := Slim-$(SLIM_BUILD)-$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE)-$(SLIM_BUILD_TYPE)$(SLIM_POSTFIX)
PRODUCT_PROPERTY_OVERRIDES += \
BUILD_DISPLAY_ID=$(BUILD_ID) \
slim.ota.version=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(PRODUCT_VERSION_MAINTENANCE) \
ro.slim.version=$(SLIM_VERSION) \
ro.modversion=$(SLIM_MOD_VERSION)