[꼭대기] 안드로이드 시스템 이식 및 디버깅 ----->build.prop 파일 상세 분석

7418 단어
작은 지식:build이 무엇입니까?prop?
 
/system/build.prop은 Android 시스템에서 속성 파일입니다.prop 파일은/etc의 파일과 같은 시스템의 설정과 변화를 기록하는 것이 매우 중요하다.이 파일은 어떻게 생성되었습니까?
build/tools/buildinfo.sh 스크립트는build을 생성하는 데 사용됩니다.prop 파일
build/core/Makefile에서build/tools/build info를 사용합니다.sh 스크립트 생성build.prop 파일,
시스템의 기본 시스템을 설정합니다.prop 및 맞춤형 시스템.prop의 설정이build에 추가되었습니다.prop 파일
뒤에 몇몇 장치와 관련된 설정이build에 추가되었습니다.prop
다음은build입니다.prop 코드
# begin build properties	#        
# autogenerated by buildinfo.sh	#               
ro.build.id=JRO03C	  #build   ,            
ro.build.display.id=TBDG1073-eng 4.1.1 JRO03C 20130723.v016 test-keys	#     ,      ,          
ro.build.version.incremental=20130723.v016	#       ,           
ro.build.version.sdk=16	#     ,   SDK   ,   .
ro.build.version.codename=REL	  #      ,           
ro.build.version.release=4.1.1	  #     ,            
ro.build.date=Tue Jul 23 17:14:43 CST 2013	 #       ,     
ro.build.date.utc=1374570883	 #       (   ),     
ro.build.type=eng	#      ,           
ro.build.user=pyou	#     ,          
ro.build.host=roco-ubuntu	 #     ,      ,      
ro.build.tags=test-keys	 #    ,   ,   
ro.product.model=TBDG1073_OuyangPeng	#    ,    
ro.product.brand=TBDG1073	 #    ,    
ro.product.name=TBDG1073	 #   ,    
ro.product.device=TBDG1073	 #   ,    
ro.product.board=TBDG1073	 #   ,    
ro.product.cpu.abi=armeabi-v7a	 #CPU,     ,            ,    
ro.product.cpu.abi2=armeabi	 #CPU  
ro.product.manufacturer=TBDG1073	 #   ,    
ro.product.locale.language=en	#    
ro.product.locale.region=US	#      
ro.wifi.channels=11		#           ,        
ro.board.platform=meson6	#    
# ro.build.product is obsolete; use ro.product.device
ro.build.product=TBDG1073	#   ,    ,     
# Do not try to parse ro.build.description or .fingerprint	#           
ro.build.description=TBDG1073-eng 4.1.1 JRO03C 20130723.v016 test-keys	#   KEY
ro.build.fingerprint=TBDG1073/TBDG1073/TBDG1073:4.1.1/JRO03C/20130723.v016:eng/test-keys  #   
ro.build.characteristics=tablet
# end build properties	#      
# system.prop for M1 reference board	#       M1  
# This overrides settings in the products/generic/system.prop file
#
#rild.libpath=/system/lib/libreference-ril.so
#rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=120 #      ,         
keyguard.no_require_sim=1	#  SIM       
#set font
ro.fontScale=1.0	#      
#set keyguard.enable=false to disable keyguard
keyguard.enable=true	#  
ro.statusbar.widget=true
ro.statusbar.button=true
ro.statusbar.yearmonthdayweek=true


#wifi.interface=ra0	#WIFI  
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
#wifi.supplicant_scan_interval = 60 #WIFI      ,     45 。            
#alsa.mixer.playback.master=DAC2 Analog
#alsa.mixer.capture.master=Analog
#configure the Dalvik heap for a standard tablet device.
#frameworks/base/build/tablet-dalvik-heap.mk
dalvik.vm.heapstartsize=5m	#             
dalvik.vm.heapgrowthlimit=48m	#            ,    Kill,                
dalvik.vm.heapsize=256m  #dalvik       


hwui.render_dirty_regions=false


# Disable un-supported Android feature
hw.nopm=false
hw.nobattery=false
hw.nophone=true
hw.novibrate=true
hw.cameras=1
hw.hasethernet=false
#hw.hasdata=true
ro.platform.has.touch=true
hw.nodatausage=true
# Wi-Fi sleep policy
ro.platform.has.sleeppolicy=false
#set to 0 temporarily so touch works without other changes
ro.sf.hwrotation=270	#0      
#0~7 You are required to get the correct install direction according the sensor placement on target board
#ro.sf.gsensorposition=6
ro.sf.ecompassposition=4
allow_all_orientations=1




# Set Camera Orientation
ro.camera.orientation.front=270
ro.camera.orientation.back=90


# Use OSD2 mouse patch
ro.ui.cursor=osd2


ro.hardware=amlogic


# Enable 32-bit OSD
sys.fb.bits=32


# Disable GPS
gps.enable=false


# Enable player buildin
media.amsuperplayer.enable=true
media.amplayer.enable-acodecs=asf,ape,flac,dts
media.amplayer.enable=true
media.amsuperplayer.m4aplayer=STAGEFRIGHT_PLAYER
media.amsuperplayer.defplayer=PV_PLAYER
media.amplayer.thumbnail=true
media.amplayer.stopbuflevel=0.05
media.amplayer.widevineenable=true
media.amplayer.html5_stretch=true
media.libplayer.fastswitch=0
media.libplayer.ipv4only=1
media.amplayer.dsource4local=1
#media.amplayer.hdmicloseauthen=1
media.amplayer.delaybuffering=2
media.amplayer.buffertime=5
media.amplayer.v4osd.enable=1
media.arm.audio.decoder=ape
#fix doubleTwist apk can not play radio
media.player.forcemp3softdec=true


#fix online video block issue
libplayer.livets.softdemux=1
libplayer.netts.recalcpts=1


# Nand write need force sync when gadget
gadget.nand.force_sync=true




# Status bar customization
ro.statusbar.widget.power=true
ro.statusbar.yearmonthdayweek=true


# HDMI 
#ro.hdmi480p.enable=true
#rw.fb.need2xscale=ok
#media.amplayer.osd2xenable=true


#camera DCIM dir. 0:sd only; 1:nand only; 2,sd first
ro.camera.dcim=1


# Disable preload-class
ro.amlogic.no.preloadclass=0


# App optimization
ro.app.optimization=true


persist.sys.timezone=America/New_York	#    ,         
#Dual display
ro.vout.dualdisplay3=true
ro.vout.player.exit=false


# CPU settings
ro.has.cpu.setting=true


# CPU freq customized in setting menu
# normal, performance, powersaving
ro.cpumode.maxfreq=1200000,1320000,800000


# when usbstorage, CPU mode and freq
ro.usbstorage.cpumode=performance
ro.usbstorage.maxfreq=600000


ro.bootanimation.rotation=0


#used to set default surface size, set 1 when hwrotation is 270, set 3 when hwrotation is 90;need set ro.bootanimation.rotation 0;
debug.default.dimention=1


#support media poll uevent,can use sd cardread on usb port
has.media.poll=true


#used forward seek for libplayer
media.libplayer.seek.fwdsearch=1


#for tabletui display
ro.ui.tabletui=true
#enable address bar cover issue fixing
ro.flashplayer.surfacehack=1


#add vol button in statusbar.
ro.statusbar.volume=true


ro.screen.has.usbstorage=true
hw.erase.internalSdcard=true


#media partition name
ro.media.partition.label=OuyangPeng


#USB PID and VID name
#ro.usb.vendor.string=AML
#ro.usb.product.string=MID
#CTS
#media.amplayer.widevineenable=true
#media.amplayer.dsource4local=true
ro.com.google.gmsversion=4.1_r5
ro.com.google.clientidbase=android-fih	#      
ro.setupwizard.mode=OPTIONAL	#                  ,ENABLED   ,DISABLED   ,OPTIONAL   
ro.statusbar.screenshot=true


#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.android.dateformat=MM-dd-yyyy	 #      ,  yyyy-MM-dd,      XXXX XX XX 
ro.config.ringtone=Ring_Synth_04.ogg	 #      ,   /system/media/audio/ringtones          
ro.config.notification_sound=pixiedust.ogg	#     ,   /system/media/audio/notifications       
ro.carrier=unknown
ro.opengles.version=131072	#         
ro.config.alarm_alert=Alarm_Classic.ogg		#    ,   /system/media/audio/alarms       
drm.service.enabled=true
ro.setupwizard.mode=OPTIONAL #           
ro.com.google.gmsversion=4.1_r4
ro.kernel.android.checkjni=1
net.bt.name=Android	#          ,    
dalvik.vm.stack-trace-file=/data/anr/traces.txt

==================================================================================================
저자: 오양붕은 전재를 환영합니다. 사람들과 나누는 것이 진보의 원천입니다!
전재는 원문 주소를 보존하십시오:http://blog.csdn.net/ouyang_peng
==================================================================================================

좋은 웹페이지 즐겨찾기