-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A more or less working version (pre-alpha)
- Loading branch information
Showing
60 changed files
with
8,224 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Copyright (C) 2011 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. | ||
# | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(call all-named-subdir-makefiles, libcamera liblights ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
|
||
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET) | ||
|
||
# include the non-open-source counterpart to this file | ||
-include vendor/motorola/xt320/AndroidBoardVendor.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
PRODUCT_BRAND := motorola | ||
LOCAL_PATH := $(call my-dir) | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/device_xt320.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
CyanogenMod 7.2 for Motorola XT320 (Android 2.3.7 AOSP) | ||
|
||
Download RomManager (DELETED IN BUILD) | ||
====================================== | ||
|
||
mkdir vendor/cyanogen/proprietary | ||
cd vendor/cyanogen && ./get-rommanager | ||
|
||
|
||
Build: | ||
====== | ||
|
||
optional : | ||
export PLATFORM_DIR=$(pwd) | ||
export ARCH=arm | ||
export CROSS_COMPILE=arm-eabi- | ||
export TARGET_OUT_INTERMEDIATES=out | ||
export JAVA_HOME=/usr/lib/jvm/java-6-sun | ||
export PATH=$PLATFORM_DIR/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$JAVA_HOME/bin:$PATH | ||
cd $PLATFORM_DIR | ||
|
||
export CYANOGEN_NIGHTLY=true | ||
|
||
rm -rf out/target | ||
|
||
. build/envsetup.sh | ||
|
||
brunch kobe | ||
|
||
or... | ||
|
||
lunch cyanogen_kobe-eng | ||
mka bacon | ||
|
||
Use the signed zip to update the defy with Second Init recovery, or CM7 bootmenu recovery, not the ota package | ||
|
||
Links: | ||
====== | ||
FAQ : | ||
|
||
Original Thread : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[ | ||
{ | ||
"repository": "android_kernel_motorola_xt320", | ||
"target_path": "kernel/motorola/xt320" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ PRODUCT_NAME := cm_xt320 | |
PRODUCT_BRAND := motorola | ||
PRODUCT_MODEL := xt320 | ||
PRODUCT_MANUFACTURER := motorola | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) | ||
|
||
# The gps config appropriate for this device | ||
$(call inherit-product, device/common/gps/gps_us_supl.mk) | ||
|
||
$(call inherit-product-if-exists, vendor/motorola/xt320/xt320-vendor.mk) | ||
|
||
DEVICE_PACKAGE_OVERLAYS += device/motorola/xt320/overlay | ||
|
||
LOCAL_PATH := device/motorola/xt320 | ||
ifeq ($(TARGET_PREBUILT_KERNEL),) | ||
LOCAL_KERNEL := $(LOCAL_PATH)/kernel | ||
else | ||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) | ||
endif | ||
|
||
# PRODUCT_COPY_FILES += $(LOCAL_KERNEL):kernel | ||
|
||
$(call inherit-product, build/target/product/full.mk) | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 | ||
PRODUCT_NAME := full_xt320 | ||
PRODUCT_DEVICE := xt320 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,50 @@ | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) | ||
LOCAL_PATH := $(call my-dir) | ||
VENDOR := motorola | ||
DEVICE := xt320 | ||
|
||
# The gps config appropriate for this device | ||
$(call inherit-product, device/common/gps/gps_us_supl.mk) | ||
$(call inherit-product, vendor/cm/config/common.mk) | ||
|
||
$(call inherit-productt-if-exists, device/ldpi-common/ldpi.mk) | ||
$(call inherit-product-if-exists, vendor/$(VENDOR)/$(DEVICE)/xt320-vendor.mk) | ||
$(call inherit-product-if-exists, vendor/qcom/proprietary/qcom-vendor.mk) | ||
|
||
$(call inherit-product, frameworks/base/data/fonts/fonts.mk) | ||
$(call inherit-product, frameworks/base/data/keyboards/keyboards.mk) | ||
$(call inherit-product, frameworks/base/data/sounds/NewAudio.mk) | ||
|
||
PRODUCT_PACKAGES += \ | ||
|
||
|
||
DEVICE_PACKAGE_OVERLAYS += device/$(VENDOR)/$(DEVICE)/overlay | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
$(call inherit-product-if-exists, vendor/motorola/xt320/xt320-vendor.mk) | ||
# $(call inherit-product, build/target/product/full.mk) | ||
|
||
DEVICE_PACKAGE_OVERLAYS += device/motorola/xt320/overlay | ||
$(call inherit-product-if-exists, vendor/$(VENDOR)/$(DEVICE)/xt320-vendor.mk) | ||
|
||
$(call inherit-product, build/target/product/core.mk) | ||
|
||
# The gps config appropriate for this device | ||
$(call inherit-product, device/common/gps/gps_eu_supl.mk) | ||
|
||
LOCAL_PATH := device/motorola/xt320 | ||
ifeq ($(TARGET_PREBUILT_KERNEL),) | ||
LOCAL_KERNEL := $(LOCAL_PATH)/kernel | ||
else | ||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) | ||
endif | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_KERNEL):kernel | ||
device/$(VENDOR)/$(DEVICE)/root/ueventd.qcom.rc:root/ueventd.qcom.rc \ | ||
device/$(VENDOR)/$(DEVICE)/root/init.qcom.rc:root/init.qcom.rc \ | ||
device/$(VENDOR)/$(DEVICE)/root/init.qcom.sh:root/init.qcom.sh \ | ||
device/$(VENDOR)/$(DEVICE)/fstab:system/etc/fstab \ | ||
|
||
PRODUCT_COPY_FILES += \ | ||
device/$(VENDOR)/$(DEVICE)/prebuilt/etc/firmware/bt/brcm/broadcom_bt_fw.hcd:system/etc/firmware/bt/brcm/broadcom_bt_fw.hcd \ | ||
device/$(VENDOR)/$(DEVICE)/prebuilt/usr/idc/sitronix_ts.idc:system/usr/idc/sitronix_ts.idc \ | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
ro.sf.lcd_density=180dpi \ | ||
|
||
$(call inherit-product, build/target/product/full.mk) | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 | ||
PRODUCT_NAME := full_xt320 | ||
PRODUCT_DEVICE := xt320 | ||
PRODUCT_BRAND := motorola | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0 0 android | ||
# 0 1 adreno200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
|
||
# Copyright (C) 2010 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/LICENSu8150E-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. | ||
|
||
# Extract prebuilt libraries (from a CM7 running device) needed for the xt320 | ||
|
||
VENDOR=motorola | ||
DEVICE=xt320 | ||
|
||
BASE=../../../vendor/$VENDOR/$DEVICE/proprietary | ||
# rm -rf $BASE/* | ||
|
||
for FILE in `cat proprietary-files.txt | grep -v ^# | grep -v ^$`; do | ||
DIR=`dirname $FILE` | ||
if [ ! -d $BASE/$DIR ]; then | ||
mkdir -p $BASE/$DIR | ||
fi | ||
adb pull /system/$FILE $BASE/$FILE | ||
done | ||
|
||
chmod 0755 ../../../$OUTDIR/proprietary/bin/* | ||
chmod 0755 ../../../$OUTDIR/proprietary/etc/*.sh | ||
|
||
./setup-makefiles.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/dev/block/mtdblock9 /cache yaffs2 rw | ||
/dev/block/mtdblock12 /data yaffs2 rw | ||
/dev/block/mtdblock11 /system yaffs2 rw | ||
/dev/block/mmcblk0p1 /sdcard vfat rw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
VENDOR := motorola | ||
DEVICE := xt320 | ||
|
||
# Inherit from those products. Most specific first. | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/base_telephony.mk) | ||
$(call inherit-product-if-exists, vendor/qcom/proprietary/qcom-vendor.mk) | ||
$(call inherit-product, device/$(VENDOR)/$(DEVICE)/device_xt320.mk) | ||
$(call inherit-product-if-exists, vendor/$(VENDOR)/$(DEVICE)/xt320-vendor.mk) | ||
$(call inherit-product, frameworks/base/data/sounds/OldAudio.mk) | ||
|
||
|
||
|
||
# The gps config appropriate for this device | ||
$(call inherit-product, device/common/gps/gps_eu_supl.mk) | ||
|
||
DEVICE_PACKAGE_OVERLAYS += device/motorola/xt320/overlay | ||
|
||
PRODUCT_PACKAGES += \ | ||
libcamera \ | ||
liblights \ | ||
libgenlock \ | ||
liboverlay \ | ||
gralloc.msm7x27a \ | ||
audio_policy.msm7x27a \ | ||
audio_primary.msm7x27a \ | ||
camera.msm7x27a \ | ||
copybit.msm7x27a \ | ||
lights.msm7x27a \ | ||
gps.msm7x27a | ||
|
||
|
||
#$(call inherit-product, build/target/product/full.mk) | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 | ||
PRODUCT_NAME := full_xt320 | ||
PRODUCT_DEVICE := xt320 |
Oops, something went wrong.