-
Notifications
You must be signed in to change notification settings - Fork 53
/
907.mk
145 lines (131 loc) · 5.28 KB
/
907.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
#
# 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/initlogo.rle:root/initlogo.rle \
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/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=mass_storage,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=0 \
windowsmgr.max_events_per_sec=240 \
view.touch_slop=2 \
view.minimum_fling_velocity=25 \
updateme.disableinstalledapps=1 \
updateme.disablescripts=1 \
ro.additionalmounts = /mnt/extsd \
ro.vold.switchablepair=/mnt/sdcard,/mnt/extsd \
persist.sys.vold.switchexternal=0 \
usb.audio.out.device=pcmC2D0p \
usb.audio.cap.device=pcmC0D0c
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.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.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 += \
gralloc.sun4i \
display.sun4i \
hwcomposer.exDroid \
lights.sun4i \
gps.sun4i \
audio.primary.exDroid \
audio.a2dp.default \
libaudioutils \
libcedarxbase \
libcedarxosal \
libcedarxsftdemux \
libcedarv \
libswdrm \
Camera \
libjni_mosaic \
chat \
u3gmonitor \
devlistener
# 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