-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 256510d
Showing
622 changed files
with
31,331 additions
and
0 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,80 @@ | ||
# Copyright (C) 2012 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. | ||
|
||
# /system/bin | ||
PRODUCT_COPY_FILES += \ | ||
device/softwinner/907/prebuilt/bin/fsck.exfat:system/bin/fsck.exfat \ | ||
device/softwinner/907/prebuilt/bin/mkfs.exfat:system/bin/mkfs.exfat \ | ||
device/softwinner/907/prebuilt/bin/mount.exfat:system/bin/mount.exfat \ | ||
device/softwinner/907/prebuilt/bin/ntfs-3g:system/bin/ntfs-3g \ | ||
device/softwinner/907/prebuilt/bin/ntfs-3g.probe:system/bin/ntfs-3g.probe \ | ||
device/softwinner/907/prebuilt/bin/mkntfs:system/bin/mkntfs \ | ||
device/softwinner/907/prebuilt/bin/reboot-recovery.sh:system/bin/reboot-recovery.sh \ | ||
device/softwinner/907/prebuilt/bin/usb_modeswitch:system/bin/usb_modeswitch \ | ||
device/softwinner/907/prebuilt/bin/virtuous_oc:system/bin/virtuous_oc \ | ||
device/softwinner/907/prebuilt/bin/wpa_cli:system/bin/wpa_cli \ | ||
device/softwinner/907/prebuilt/bin/wpa_supplicant:system/bin/wpa_supplicant \ | ||
device/softwinner/907/prebuilt/bin/zipalign:system/bin/zipalign | ||
|
||
# /system/etc | ||
PRODUCT_COPY_FILES += \ | ||
device/softwinner/907/prebuilt/etc/ppp/ip-down:system/etc/ppp/ip-down \ | ||
device/softwinner/907/prebuilt/etc/ppp/ip-up:system/etc/ppp/ip-up \ | ||
device/softwinner/907/prebuilt/etc/ppp/call-pppd:system/etc/ppp/call-pppd \ | ||
device/softwinner/907/prebuilt/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ | ||
device/softwinner/907/prebuilt/etc/firmware/ath3k-1.fw:system/etc/firmware/ath3k-1.fw \ | ||
device/softwinner/907/prebuilt/etc/init.d/01modules:system/etc/init.d/01modules \ | ||
device/softwinner/907/prebuilt/etc/init.d/02kernel:system/etc/init.d/02kernel \ | ||
device/softwinner/907/prebuilt/etc/init.d/04mount:system/etc/init.d/04mount \ | ||
device/softwinner/907/prebuilt/etc/init.d/70zipalign:system/etc/init.d/70zipalign \ | ||
device/softwinner/907/prebuilt/etc/init.d/89virtuous_oc:system/etc/init.d/89virtuous_oc \ | ||
device/softwinner/907/prebuilt/etc/3g_dongle.cfg:system/etc/3g_dongle.cfg \ | ||
device/softwinner/907/prebuilt/etc/camera.cfg:system/etc/camera.cfg \ | ||
device/softwinner/907/prebuilt/etc/gps.conf:system/etc/gps.conf \ | ||
device/softwinner/907/prebuilt/etc/media_profiles.xml:system/etc/media_profiles.xml \ | ||
device/softwinner/907/prebuilt/etc/usb_modeswitch.sh:system/etc/usb_modeswitch.sh \ | ||
device/softwinner/907/prebuilt/etc/vold.fstab:system/etc/vold.fstab | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(call find-copy-subdir-files,*,device/softwinner/907/prebuilt/etc/usb_modeswitch.d,system/etc/usb_modeswitch.d) | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(call find-copy-subdir-files,*,device/softwinner/907/prebuilt/etc/virtuous_oc,system/etc/virtuous_oc) | ||
|
||
# /system/lib | ||
PRODUCT_COPY_FILES += \ | ||
device/softwinner/907/prebuilt/lib/egl/libEGL_mali.so:system/lib/egl/libEGL_mali.so \ | ||
device/softwinner/907/prebuilt/lib/egl/libGLESv1_CM_mali.so:system/lib/egl/libGLESv1_CM_mali.so \ | ||
device/softwinner/907/prebuilt/lib/egl/libGLESv2_mali.so:system/lib/egl/libGLESv2_mali.so \ | ||
device/softwinner/907/prebuilt/lib/hw/camera.exDroid.so:system/lib/hw/camera.exDroid.so \ | ||
device/softwinner/907/prebuilt/lib/hw/display.sun4i.so:system/lib/hw/display.sun4i.so \ | ||
device/softwinner/907/prebuilt/lib/hw/gralloc.sun4i.so:system/lib/hw/gralloc.sun4i.so \ | ||
device/softwinner/907/prebuilt/lib/hw/sensors.exDroid.so:system/lib/hw/sensors.exDroid.so \ | ||
device/softwinner/907/prebuilt/lib/liballwinner-ril.so:system/lib/liballwinner-ril.so \ | ||
device/softwinner/907/prebuilt/lib/libMali.so:system/lib/libMali.so \ | ||
device/softwinner/907/prebuilt/lib/libUMP.so:system/lib/libUMP.so | ||
|
||
# /system/usr | ||
PRODUCT_COPY_FILES += \ | ||
device/softwinner/907/prebuilt/usr/idc/ft5x_ts.idc:system/usr/idc/ft5x_ts.idc \ | ||
device/softwinner/907/prebuilt/usr/idc/Goodix-TS-board-3.idc:system/usr/idc/Goodix-TS-board-3.idc \ | ||
device/softwinner/907/prebuilt/usr/keylayout/axp20-supplyer.kl:system/usr/keylayout/axp20-supplyer.kl \ | ||
device/softwinner/907/prebuilt/usr/keylayout/sun4i-keyboard.kl:system/usr/keylayout/sun4i-keyboard.kl | ||
|
||
# prebuilt kernel modules | ||
PRODUCT_COPY_FILES += \ | ||
$(call find-copy-subdir-files,*,device/softwinner/907/prebuilt/vendor/modules,system/vendor/modules) | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(call find-copy-subdir-files,*,device/softwinner/907/prebuilt/lib/modules,system/lib/modules) |
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,133 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
PRODUCT_COPY_FILES := \ | ||
device/softwinner/907/kernel:kernel \ | ||
device/softwinner/907/init.rc:root/init.rc \ | ||
device/softwinner/907/init.sun4i.rc:root/init.sun4i.rc \ | ||
device/softwinner/907/init.sun4i.usb.rc:root/init.sun4i.usb.rc \ | ||
device/softwinner/907/initlogo.rle:root/initlogo.rle \ | ||
device/softwinner/907/ueventd.sun4i.rc:root/ueventd.sun4i.rc | ||
|
||
PRODUCT_CHARACTERISTICS := tablet | ||
|
||
PRODUCT_TAGS += dalvik.gc.type-precise | ||
|
||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
persist.sys.root_access=3 \ | ||
ro.opengles.version = 131072 \ | ||
debug.egl.hw=1 \ | ||
ro.display.switch=1 \ | ||
ro.sf.lcd_density=160 \ | ||
hwui.render_dirty_regions=false \ | ||
wifi.interface = wlan0 \ | ||
wifi.supplicant_scan_interval = 150 \ | ||
persist.sys.strictmode.visual=0 \ | ||
persist.sys.strictmode.disable=1 \ | ||
persist.sys.usb.config=mtp,adb \ | ||
dalvik.vm.verify-bytecode=false \ | ||
dalvik.vm.dexopt-flags=v=n,o=v \ | ||
dalvik.vm.execution-mode=int:jit \ | ||
persist.sys.timezone=Europe/Rome \ | ||
persist.sys.language=en \ | ||
persist.sys.country=US \ | ||
ro.com.google.locationfeatures=1 \ | ||
ro.media.dec.jpeg.memcap=20000000 \ | ||
dalvik.vm.lockprof.threshold=500 \ | ||
ro.kernel.android.checkjni=0 \ | ||
dalvik.vm.checkjni=false \ | ||
dalvik.vm.dexopt-data-only=1 \ | ||
ro.vold.umsdirtyratio=20 \ | ||
net.dns1=8.8.8.8 \ | ||
net.dns2=8.8.4.4 \ | ||
ro.media.enc.jpeg.quality=100 \ | ||
debug.sf.hw=1 \ | ||
video.accelerate.hw=1 \ | ||
debug.performance.tuning=1 \ | ||
ro.media.dec.jpeg.memcap=8000000 \ | ||
ro.media.enc.hprof.vid.bps=800000 \ | ||
persist.sys.use_dithering=0 \ | ||
persist.sys.purgeable_assets=1 \ | ||
ro.HOME_APP_ADJ=1 \ | ||
view.touch_slop=2 \ | ||
view.minimum_fling_velocity=25 | ||
|
||
DEVICE_PACKAGE_OVERLAYS := device/softwinner/907/overlay | ||
|
||
# Permissions | ||
PRODUCT_COPY_FILES += \ | ||
frameworks/base/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ | ||
frameworks/base/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ | ||
frameworks/base/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ | ||
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ | ||
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ | ||
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ | ||
frameworks/base/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ | ||
frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ | ||
frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ | ||
frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ | ||
frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ | ||
frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ | ||
frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ | ||
frameworks/base/data/etc/com.tmobile.software.themes.xml:system/etc/permissions/com.tmobile.software.themes.xml \ | ||
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml | ||
|
||
# Publish that we support the live wallpaper feature. | ||
PRODUCT_PACKAGES += \ | ||
LiveWallpapers \ | ||
LiveWallpapersPicker \ | ||
MagicSmokeWallpapers \ | ||
HoloSpiralWallpaper | ||
|
||
PRODUCT_PACKAGES += \ | ||
VisualizationWallpapers \ | ||
librs_jni | ||
|
||
# Hardware libs | ||
PRODUCT_PACKAGES += \ | ||
hwcomposer.exDroid \ | ||
lights.sun4i \ | ||
gps.sun4i \ | ||
audio.primary.exDroid \ | ||
audio.a2dp.default \ | ||
libaudioutils \ | ||
libcedarxbase \ | ||
libcedarxosal \ | ||
libcedarxsftdemux \ | ||
libcedarv \ | ||
libswdrm \ | ||
Camera \ | ||
libjni_mosaic \ | ||
u3gmonitor | ||
|
||
# CM9 apps | ||
PRODUCT_PACKAGES += \ | ||
Trebuchet \ | ||
FileManager \ | ||
com.android.future.usb.accessory | ||
|
||
# EXT4 Support | ||
PRODUCT_PACKAGES += \ | ||
make_ext4fs \ | ||
e2fsck | ||
|
||
$(call inherit-product, build/target/product/full_base.mk) | ||
|
||
# Should be after the full_base include, which loads languages_full | ||
PRODUCT_LOCALES += mdpi | ||
|
||
PRODUCT_NAME := full_907 | ||
PRODUCT_DEVICE := 907 |
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,18 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/full_907.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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# | ||
# Copyright (C) 2012 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. | ||
# | ||
TARGET_BOARD_PLATFORM := exDroid | ||
TARGET_BOOTLOADER_BOARD_NAME := crane | ||
|
||
USE_CAMERA_STUB := false | ||
HAVE_HTC_AUDIO_DRIVER := true | ||
BOARD_USES_GENERIC_AUDIO := true | ||
BOARD_USES_GPS_TYPE := simulator | ||
|
||
TARGET_NO_BOOTLOADER := true | ||
TARGET_NO_RADIOIMAGE := true | ||
|
||
#CPU stuff | ||
TARGET_CPU_ABI := armeabi-v7a | ||
TARGET_CPU_ABI2 := armeabi | ||
TARGET_ARCH_VARIANT := armv7-a-neon | ||
TARGET_GLOBAL_CFLAGS += -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp | ||
TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp | ||
ARCH_ARM_HAVE_TLS_REGISTER := true | ||
|
||
BOARD_HAVE_BLUETOOTH := true | ||
TARGET_USES_CUSTOM_VIBRATOR_PATH := "/sys/class/timed_output/sun4i-vibrator/enable" | ||
BOARD_HAS_SDCARD_INTERNAL := true | ||
|
||
TARGET_USERIMAGES_USE_EXT4 := true | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432 | ||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 33554432 | ||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456 | ||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824 | ||
BOARD_FLASH_BLOCK_SIZE := 4096 | ||
|
||
#EGL stuff | ||
BOARD_EGL_CFG := device/softwinner/907/egl.cfg | ||
USE_OPENGL_RENDERER := true | ||
BOARD_USE_SKIA_LCDTEXT := true | ||
|
||
#Recovery Stuff | ||
TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" | ||
#BOARD_CUSTOM_RECOVERY_KEYMAPPING := device/softwinner/907/recovery_keys.c | ||
|
||
#Misc stuff | ||
TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/class/android_usb/android0/f_mass_storage/lun/file" | ||
BOARD_USE_LEGACY_TOUCHSCREEN := true | ||
TARGET_HARDWARE_INCLUDE := $(TOP)/device/softwinner/907/libraries/include | ||
TARGET_PROVIDES_INIT_RC := true | ||
TARGET_BOOTANIMATION_NAME := "horizontal-1024x768" | ||
|
||
# Wifi stuff | ||
#BOARD_WPA_SUPPLICANT_DRIVER := WEXT | ||
#WPA_SUPPLICANT_VERSION := VER_0_8_X | ||
WIFI_DRIVER_MODULE_PATH := "/system/vendor/modules/8192cu.ko" | ||
WIFI_DRIVER_MODULE_NAME := "8192cu" | ||
#WIFI_DRIVER_FW_PATH_STA := 8192cu | ||
#WIFI_DRIVER_FW_PATH_AP := 8192cu | ||
|
||
# Beware: set only prebuilt OR source+config | ||
TARGET_PREBUILT_KERNEL := device/softwinner/907/kernel |
Empty file.
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,29 @@ | ||
# | ||
# 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. | ||
# | ||
|
||
$(call inherit-product, device/softwinner/907/full_907.mk) | ||
|
||
# Inherit some common CM9 stuff. | ||
$(call inherit-product, vendor/cm/config/common_full_tablet_wifionly.mk) | ||
$(call inherit-product, device/softwinner/907/907-blobs.mk) | ||
|
||
## Device identifier. This must come after all inclusions | ||
PRODUCT_NAME := cm_907 | ||
PRODUCT_BRAND := Allwinner | ||
PRODUCT_DEVICE := 907 | ||
PRODUCT_MODEL := MP907C | ||
PRODUCT_MANUFACTURER := Allwinner | ||
PRODUCT_RELEASE_NAME := 907 |
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,16 @@ | ||
# | ||
# This confidential and proprietary software may be used only as | ||
# authorised by a licensing agreement from ARM Limited | ||
# (C) COPYRIGHT 2010 ARM Limited | ||
# ALL RIGHTS RESERVED | ||
# The entire notice above must be reproduced on all authorised | ||
# copies and copies may only be made to the extent permitted | ||
# by a licensing agreement from ARM Limited. | ||
# | ||
|
||
# NOTICE | ||
# This is an autogenerated file, do not edit | ||
|
||
|
||
0 0 android | ||
0 1 mali |
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,34 @@ | ||
# Copyright (C) 2012 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. | ||
|
||
# Inherit from those products. Most specific first. | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) | ||
$(call inherit-product, device/softwinner/907/907.mk) | ||
$(call inherit-product, device/softwinner/907/libraries/Android.mk) | ||
$(call inherit-product, device/softwinner/907/packages/Android.mk) | ||
$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk) | ||
$(call inherit-product-if-exists, vendor/softwinner/907/907-vendor.mk) | ||
|
||
# Set those variables here to overwrite the inherited values. | ||
PRODUCT_NAME := full_907 | ||
PRODUCT_DEVICE := 907 | ||
PRODUCT_BRAND := Allwinner | ||
PRODUCT_MODEL := MP907C | ||
PRODUCT_MANUFACTURER := Allwinner | ||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.