-
Notifications
You must be signed in to change notification settings - Fork 4
/
vendor_prop.mk
121 lines (96 loc) · 3.42 KB
/
vendor_prop.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
# Copyright (C) 2011 Amlogic Inc
#
# 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 the build configuration for a full Android
# build for Meson reference board.
#
# Set display related config
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.has.mbxuimode=true \
ro.vendor.platform.has.realoutputmode=true \
ro.vendor.platform.need.display.hdmicec=true
#camera max to 720p
#PRODUCT_PROPERTY_OVERRIDES += \
#ro.media.camera_preview.maxsize=1280x720 \
#ro.media.camera_preview.limitedrate=1280x720x30,640x480x30,320x240x28
#camera max to 1080p
PRODUCT_PROPERTY_OVERRIDES += \
ro.media.camera_preview.maxsize=1920x1080 \
ro.media.camera_preview.limitedrate=1920x1080x30,1280x720x30,640x480x30,320x240x28 \
ro.media.camera_preview.usemjpeg=1
#if wifi Only
PRODUCT_PROPERTY_OVERRIDES += \
ro.radio.noril=false
#if need pppoe
PRODUCT_PROPERTY_OVERRIDES += \
ro.net.pppoe=true
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.support.dolbyvision=true
#the prop is used for enable or disable
#DD+/DD force output when HDMI EDID is not supported
#by default,the force output mode is enabled.
#Note,please do not set the prop to true by default
#only for netflix,just disable the feature.so set the prop to true
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.disable.audiorawout=false
#Dolby DD+ decoder option
#this prop to for videoplayer display the DD+/DD icon when playback
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.support.dolby=true
#DTS decoder option
#display dts icon when playback
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.support.dts=true
#DTS-HD support prop
#PRODUCT_PROPERTY_OVERRIDES += \
#ro.vendor.platform.support.dtstrans=true \
#ro.vendor.platform.support.dtsmulasset=true
#DTS-HD prop end
# Enable player buildin
PRODUCT_PROPERTY_OVERRIDES += \
media.support.dolbyvision = true
#add for video boot, 1 means use video boot, others not .
PRODUCT_PROPERTY_OVERRIDES += \
service.bootvideo=0
# Define drm for this device
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=1
#set memory upper limit for extractor process
PRODUCT_PROPERTY_OVERRIDES += \
ro.media.maxmem=629145600
#map volume
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.mapvalue=0,0,0,0
#adb
PRODUCT_PROPERTY_OVERRIDES += _service.adb.tcp.port=5555
#enable/disable afbc
PRODUCT_PROPERTY_OVERRIDES += \
vendor.afbcd.enable=1
# crypto volume
PRODUCT_PROPERTY_OVERRIDES += \
ro.crypto.volume.filenames_mode=aes-256-cts
# default enable sdr to hdr
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.sdr2hdr.enable=true
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.is.tv=0
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.hdmi.device_type=4
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.platform.support.network_led=true
#default media vol ,max 15
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.media_vol_default=8
PRODUCT_PROPERTY_OVERRIDES += \
media.omx.out_buffer1=3