Migration and debugging of Android system ---> detailed appreciation of build. Prop File

Source: Internet
Author: User
TIPS: What is build. Prop? /System/build. Prop is an attribute file. In Android, The. Prop file is very important and records system settings and changes, similar to files in/etc. How is this file generated?

Build/tools/buildinfo. the sh script is used to generate a build. use build/tools/buildinfo in the prop file build/CORE/makefile. sh script to generate build. prop file, and the default system. prop and customized system. append the settings in prop to build. some device-related configurations are appended to build in the prop file. prop


The code for build. Prop is as follows:

# Begin build properties # start to set system performance # autogenerated by buildinfo. sh # the following content is automatically generated by the script during compilation. build. id = jro03c # Build ID, which is usually generated during compilation without modifying Ro. build. display. TBDG1073-eng 4.1.1 jro03c 20130723. v016 test-keys # The ID displayed, which can be changed as any version Ro of the mobile phone information. build. version. incrementally = 20130723. v016 # version added instructions, generally do not show and there is no need to modify Ro. build. version. SDK = 16 # do not modify the version of the SDK used during system compilation. ro. build. version. codename = rel # version encoding name. Generally, you do not need to modify Ro if it is not displayed. build. version. release = 4.1.1 # The published version is displayed as the system version of mobile phone information Ro. build. date = Tue Jul 23 17:14:43 CST 2013 # system Compilation Time, no need to modify Ro. build. date. UTC = 1374570883 # system Compilation Time (digital version), no need to modify Ro. build. type = ENG # system compilation type. Generally, you do not need to display or modify Ro. build. user = PYou # system user name, which can be changed to your own name Ro. build. host = roco-Ubuntu # System host name, which can be any name. The English letter is Ro. build. tags = test-keys # system tag, meaningless, do not modify Ro. product. model = tbdg1073_ouyangpeng # the model of the machine. product. brand = tbdg1073 # machine brand, create Ro with you. product. name = tbdg1073 # Name of the machine, create Ro with you. prod UCT. device = tbdg1073 # device name. Create Ro with you. product. board = tbdg1073 # motherboard name, create RO as you like. product. CPU. abi = armeabi-v7a # CPU, it is best not to modify, to avoid some software in the identification of the machine, appear disorder Ro. product. CPU. abi2 = armeabi # CPU brand Ro. product. manufacturer = tbdg1073 # manufacturer, create Ro with you. product. locale. language = EN # System Language Ro. product. locale. region = us # region of the system Ro. wiFi. channels = 11 # communication channel of the Wireless Local Area Network. Blank indicates automatic identification of Ro. board. platform = meson6 # Main Board System # Ro. build. product is obsolete; Use Ro. product. devicero. build. PR Oduct = tbdg1073 # The device name is discarded and it is useless to modify it. # Do not try to parse Ro. build. description or. fingerprint # Do not try to modify Ro in the following content. build. description = TBDG1073-eng 4.1.1 jro03c 20130723. v016 test-keys # Your keyro. build. fingerprint = tbdg1073/tbdg1073/tbdg1073: 4.1.1/jro03c/20130723. v016: Eng/test-keys # body code Ro. build. characteristics = tablet # End build properties # End of attribute creation # system. prop For M1 reference board # system technical support provided by M1 # This overrides Settin GS in the products/generic/system. prop file # rild. libpath =/system/lib/libreference-ril.so # rild. libargs =-D/dev/ttys0ro. SF. LCD _density = 120 # display resolution. The larger the value, the higher the Resolution, the lower the keyguard. no_require_sim = 1 # mobile phones can be operated without a SIM card # Set fontro. fontscale = 1.0 # font size scaling # Set keyguard. enable = false to disable keyguardkeyguard. enable = true # lock screen Ro. statusbar. widget = truero. statusbar. button = truero. statusbar. yearmonthdayweek = true # wifi. interface = ra0 # WiFi Interface # 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 # Wi-Fi scan interval, which is set to 45 seconds. Set the duration to reduce power consumption # 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.mkdalvik.vm.heapstartsize = 5 m # The initial memory Dalvik assigned by a single application. VM. heapgrowthlimit = 48 m # maximum memory limit for a single application. If the maximum memory limit is exceeded, it will be killed. This may be the cause of the crash of some large-volume programs, Dalvik. VM. heapsize = 256 m # virtual memory size of Dalvik hwui. render_dirty_regions = false # disable UN-supported Android featurehw. Nopm = falsehw. nobattery = falsehw. nophone = truehw. novibrate = truehw. cameras = 1hw. hasethernet = false # HW. hasdata = truero. platform. has. touch = truehw. nodatausage = true # Wi-Fi sleep policyro. platform. has. sleeppolicy = false # set to 0 temporarily so touch works without other changesro. SF. hwrotation = 270 #0, automatic screen conversion #0 ~ 7 you are required to get the correct install direction according the sensor placement on target board # Ro. SF. gsensorposition = 6ro. SF. ecompassposition = 4allow_all_orientations = 1 # Set camera orientationro. camera. orientation. front = 270ro. camera. orientation. back = 90 # Use osd2 mouse patchro. UI. cursor = osd2ro. hardware = amlogic # enable 32-bit osdsys. FB. bits = 32 # disable gpsgps. enable = false # enable player route 5_stretch = truemedia. libplayer. fastswitch = 0media. libplayer. required 4only = 1media. amplayer. dsource4local = 1 # media. amplayer. hdmicloseauthen = 1media. amplayer. delaybuffering = 2media. amplayer. buffertime = 5media. amplayer. v4osd. enable = 1media. arm. audio. decoder = ape # Fix doubletwist APK can not play radiomedia. player. forcemp3softdec = true # Fix online video block issuelibplayer. livets. softdemux = 1libplayer. netts. recalcpts = 1 # NAND write need force sync when gadgetgadget. nand. force_sync = true # status bar customizationro. statusbar. widget. power = truero. 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 firstro. camera. dcim = 1 # disable preload-classro.amlogic.no.preloadclass = 0 # app optimizationro. app. optimization = truepersist. SYS. timezone = America/new_york # force time zone, which is the New York time of America # dual displayro. vout. dualdisplay3 = truero. vout. player. exit = false # CPU settingsro. has. CPU. setting = true # CPU freq customized in setting menu # normal, performance, powersavingro. cpumode. maxfreq = 1200000,1320000, 800000 # When USB storage, CPU mode and freqro. USB storage. cpumode = performancero. USB storage. maxfreq = 600000ro. 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 porthas. media. poll = true # used forward seek for libplayermedia. libplayer. seek. fwdsearch = 1 # For tabletui displayro. UI. tabletui = true # enable address bar cover issue fixingro. flashplayer. surfacehack = 1 # Add vol button in statusbar. ro. statusbar. volume = truero. screen. has. USB storage = truehw. erase. internalsdcard = true # media partition namero. 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 = truero.com. google. gmsversion = 4.1 _ r5ro.com. google. clientidbase = Android-FIH # Google customer ID Ro. setupwizard. mode = optional # The account setting wizard appears when the Installation Wizard is started. enabled indicates display, disabled indicates disabled, and optional indicates optional Ro. statusbar. screenshot = true # additional_build_properties # ro.com. android. dateformat = mm-dd-yyyy # The default ringtone. Place the corresponding ringtone in the/system/Media/Audio/ringtones file. ro.config.icationication_sound?pixiedust.ogg # The default tone, the file is in the/system/Media/Audio/events Events # default alert. The file is in the/system/Media/Audio/alarms directory. service. enabled = truero. setupwizard. mode = optional # Use the setup wizard ro.com when starting the instance by default. google. gmsversion = 4.1 _ r4ro. kernel. android. checkjni = 1net. BT. name = Android # name displayed in the Bluetooth Network. You can modify Dalvik. VM. stack-trace-file =/data/ANR/traces.txt

========================================================== ========================================================== ============================

Author: Ouyang Peng: Welcome to repost. sharing with others is the source of progress!

Reprinted Please retain the original address: http://blog.csdn.net/ouyang_peng

========================================================== ========================================================== ============================

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.