diff --git a/BoardConfig.mk b/BoardConfig.mk index 36dbf52..2cbddf3 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -30,12 +30,11 @@ USE_CAMERA_STUB := false # inherit common defines for all qsd8k devices include device/htc/qsd8k-common/BoardConfigCommon.mk -# Override qsd8k-common/BoardConfigCommon.mk to use incredikernel -TARGET_KERNEL_SOURCE := kernel/htc/incredikernel -# Override kernel toolchain. (4.6 is too unstable) -#KERNEL_TOOLCHAIN_PREFIX:=$(ANDROID_BUILD_TOP)/prebuilts/gcc/toolchain/arm-eabi-4.4.3/bin/arm-eabi- -# Use Linaro 4.7 toolchain -KERNEL_TOOLCHAIN_PREFIX:=$(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/linaro-4.7/bin/arm-eabi- +# Override qsd8k-common/BoardConfigCommon.mk to use evervolv +#TARGET_KERNEL_SOURCE := kernel/htc/incredikernel + +# Use GCC 4.7 toolchain +KERNEL_TOOLCHAIN_PREFIX:=$(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi- TARGET_BOOTLOADER_BOARD_NAME := inc @@ -44,6 +43,12 @@ BOARD_USE_LEGACY_TRACKPAD := true BOARD_HAS_SCREEN_OFF_FLICKER := true +TARGET_ARCH_LOWMEM := true + +# RIL +BOARD_USE_NEW_LIBRIL_HTC := true +BOARD_USES_LEGACY_RIL := true + BOARD_KERNEL_CMDLINE := no_console_suspend=1 BOARD_KERNEL_BASE := 0x20000000 BOARD_KERNEL_NEW_PPPOX := true @@ -71,7 +76,7 @@ BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x09500000 BOARD_FLASH_BLOCK_SIZE := 131072 # Try to build the kernel -TARGET_KERNEL_CONFIG := incrediblec-incredikernel_defconfig +TARGET_KERNEL_CONFIG := evervolv_incrediblec_defconfig # Keep this as a fall back in case of no source TARGET_PREBUILT_KERNEL := device/htc/inc/prebuilt/root/kernel diff --git a/Manifest/local_manifest.xml b/Manifest/local_manifest.xml index 449c10d..259f7c9 100644 --- a/Manifest/local_manifest.xml +++ b/Manifest/local_manifest.xml @@ -1,37 +1,53 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 001e3ea..524aea3 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -CM10.1 for the Droid Incredible +CM10 for the Droid Incredible ## Info [**XDA Discussion thread**](http://forum.xda-developers.com/showthread.php?t=1882918) @@ -13,12 +13,13 @@ mkdir ~/bin cd ~/android/cm10/ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo chmod a+x ~/bin/repo -repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1 +repo init -u git://github.com/CyanogenMod/android.git -b jellybean ``` ### Finish setting up repo ```bash -wget -O .repo/local_manifest/local_manifest.xml https://raw.github.com/tiny4579/android_device_htc_inc/cm-10.1/Manifest/local_manifest.xml +mkdir ~/cm10/.repo/local_manifests +wget -O ~/cm10/.repo/local_manifests https://raw.github.com/PonsAsinorem/android_device_htc_inc/cm-10.1/Manifest/local_manifest.xml ``` ### Download the source @@ -160,4 +161,4 @@ Whether you're using the optional cherry-picks and/or Linaro, pull in the prebui And build! ```bash . build/envsetup.sh && time brunch inc -``` \ No newline at end of file +``` diff --git a/cm.mk b/cm.mk index 63cdb5c..9e7c4f4 100644 --- a/cm.mk +++ b/cm.mk @@ -22,4 +22,4 @@ PRODUCT_MODEL := ADR6300 PRODUCT_MANUFACTURER := HTC #Set build fingerprint / ID / Product Name ect. -PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=inc BUILD_FINGERPRINT="verizon_wwe/inc/inc/inc:2.3.4/GRJ22/185897.2:user/release-keys" PRIVATE_BUILD_DESC="inc-user 4.2.1 JOP40D 228551 release-keys" +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=inc BUILD_FINGERPRINT="verizon_wwe/inc/inc/inc:2.3.4/GRJ22/185897.2:user/release-keys" PRIVATE_BUILD_DESC="inc-user 4.2.2 JDQ39 228551 release-keys" diff --git a/full_inc.mk b/full_inc.mk index 203062c..0c2568a 100755 --- a/full_inc.mk +++ b/full_inc.mk @@ -114,9 +114,10 @@ PRODUCT_PACKAGES += \ # USB ADDITIONAL_DEFAULT_PROPERTIES += \ - persist.sys.usb.config=mass_storage,mtp \ + persist.sys.usb.config=mass_storage \ persist.service.adb.enable=1 \ - ro.adb.secure=0 + ro.adb.secure=1 \ + ro.secure=0 # Init post-boot script PRODUCT_COPY_FILES += \ @@ -147,12 +148,12 @@ PRODUCT_VERSION_MINOR := 1 # Goo Manager support ifneq ($(CM_BUILDTYPE),UNOFFICIAL) - CM_BUILDTYPE := TINY + CM_BUILDTYPE := PONS CM_VERSION := $(PRODUCT_VERSION_MAJOR)-$(shell date -u +%Y%m%d)-$(CM_BUILDTYPE)-$(CM_BUILD)$(CM_EXTRAVERSION) PRODUCT_PROPERTY_OVERRIDES += \ ro.modversion=CyanogenMod-$(CMVERSION) \ - ro.goo.developerid=tiny4579 \ - ro.goo.rom=CM$(PRODUCT_VERSION_MAJOR)$(PRODUCT_VERSION_MINOR)$(CM_BUILDTYPE)$(CM_BUILD) \ + ro.goo.developerid=PonsAsinorem \ + ro.goo.rom=CM$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)$(CM_BUILDTYPE)$(CM_BUILD) \ ro.goo.version=$(shell date +%s) PRODUCT_COPY_FILES += \ diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 9993e86..a6a7da7 100755 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -177,7 +177,7 @@ 0 1 - 4 + 5 7 @@ -210,5 +210,17 @@ true + + + 15 diff --git a/prebuilt/etc/apns-conf.xml b/prebuilt/etc/apns-conf.xml index 9778a2c..584a6d3 100755 --- a/prebuilt/etc/apns-conf.xml +++ b/prebuilt/etc/apns-conf.xml @@ -1,28 +1,85 @@ - + + + + + + + + + + + + + - diff --git a/prebuilt/etc/media_profiles.xml b/prebuilt/etc/media_profiles.xml index d3d8531..ebf338b 100755 --- a/prebuilt/etc/media_profiles.xml +++ b/prebuilt/etc/media_profiles.xml @@ -77,7 +77,7 @@ --> - +