Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 10.2 #12

Open
wants to merge 3 commits into
base: cm-11.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions CleanSpec.mk

This file was deleted.

2 changes: 1 addition & 1 deletion cm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $(call inherit-product, vendor/cm/config/gsm.mk)
# Inherit CM common Phone stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)

PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_FINGERPRINT=htc_wwe/htc_vision/vision:4.2.2/JDQ39/87995:user/release-keys PRIVATE_BUILD_DESC="4.2.2 Andromadus release-keys"
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=htc_vision BUILD_FINGERPRINT=htc_wwe/htc_vision/vision:4.3.1/JLS63I/87995:user/release-keys PRIVATE_BUILD_DESC="4.3.1 Andromadus test-keys"

PRODUCT_NAME := cm_vision
PRODUCT_DEVICE := vision
31 changes: 7 additions & 24 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,38 +18,18 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)

#Andromadus Vendor include

# The gps config appropriate for this device
PRODUCT_COPY_FILES += \
device/htc/vision/configs/gps.conf:system/etc/gps.conf

## (1) First, the most specific values, i.e. the aspects that are specific to GSM

PRODUCT_COPY_FILES += \
device/htc/vision/ramdisk/init.vision.rc:root/init.vision.rc \
device/htc/vision/ramdisk/ueventd.vision.rc:root/ueventd.vision.rc \
device/htc/msm7x30-common/rootdir/fstab.msm7x30:root/fstab.vision
# the line above is terribly dirty hack. But fstab doesn't work without it for some reason.

## (2) Also get non-open-source GSM-specific aspects if available
$(call inherit-product-if-exists, vendor/htc/vision/device-vendor.mk)

## (3) Finally, the least specific parts, i.e. the non-GSM-specific aspects
PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.locationfeatures=1 \
ro.com.google.networklocation=1 \
ro.com.google.gmsversion=2.3_r3 \
ro.setupwizard.enable_bypass=1 \
ro.kernel.android.checkjni=0

# Override /proc/sys/vm/dirty_ratio on UMS
PRODUCT_PROPERTY_OVERRIDES += \
ro.vold.umsdirtyratio=20

DEVICE_PACKAGE_OVERLAYS += device/htc/vision/overlay

PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \

# gsm config xml file
PRODUCT_COPY_FILES += \
device/htc/vision/configs/voicemail-conf.xml:system/etc/voicemail-conf.xml
Expand Down Expand Up @@ -116,8 +96,8 @@ PRODUCT_COPY_FILES += \
device/htc/vision/firmware/vidc_720p_mp2_dec_mc.fw:system/etc/firmware/vidc_720p_mp2_dec_mc.fw \
device/htc/vision/firmware/Vision_SPK.acdb:system/etc/firmware/Vision_SPK.acdb

# Alternate NAM gps.conf to NAM package
PRODUCT_COPY_FILES += device/common/gps/gps.conf_US:system/etc/nam/gps.conf
# The gps config appropriate for this device
PRODUCT_COPY_FILES += device/htc/vision/configs/gps.conf:system/etc/gps.conf

# Copy bcm4329 firmware
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/device-bcm.mk)
Expand All @@ -126,8 +106,11 @@ $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4329
$(call inherit-product, device/htc/msm7x30-common/msm7x30.mk)

# htc audio settings
$(call inherit-product, device/htc/vision/media_htcaudio.mk)
$(call inherit-product, device/htc/vision/media_a1026.mk)
PRODUCT_PROPERTY_OVERRIDES += \
media.a1026.nsForVoiceRec = 0 \
media.a1026.enableA1026 = 1 \
htc.audio.alt.enable=0 \
htc.audio.hac.enable=0

$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)

Expand Down
14 changes: 0 additions & 14 deletions extract-files.sh

This file was deleted.

30 changes: 0 additions & 30 deletions media_a1026.mk

This file was deleted.

19 changes: 0 additions & 19 deletions media_htcaudio.mk

This file was deleted.

50 changes: 0 additions & 50 deletions proprietary-files.txt

This file was deleted.

83 changes: 0 additions & 83 deletions setup-makefiles.sh

This file was deleted.

2 changes: 1 addition & 1 deletion system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ com.qc.hardware=true
ro.gsm.2nd_data_retry_config=max_retries=3, 2000, 2000, 2000

rild.libpath=/system/lib/libhtc_ril.so
ro.telephony.ril.v3=signalstrength,datacallapn,singlepdp
ro.telephony.ril.v3=signalstrength,datacallapn

ro.ril.ecc.HTC-GCC=999,112,997
ro.ril.ecc.HTC-WWE=999
Expand Down
23 changes: 0 additions & 23 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# This file is executed by build/envsetup.sh, and can use anything
# defined in envsetup.sh.
#
# In particular, you can add lunch options with the add_lunch_combo
# function: add_lunch_combo generic-eng

add_lunch_combo cm_vision-userdebug
add_lunch_combo cm_vision-eng