美文网首页android系统应用开发
Android系统下的build.prop文件

Android系统下的build.prop文件

作者: Ayugone | 来源:发表于2019-03-07 11:11 被阅读0次

    Android系统下的build.prop文件,用adb shell进入,再进入到system目录,查看该目录下的文件,会看到build.prop文件,用exit命令退出。


    1551927518(1).png

    C:\Users\Administrator\Desktop>adb root
    adbd is already running as root

    C:\Users\Administrator\Desktop>adb remount
    remount succeeded
    //把文件拉到桌面
    C:\Users\Administrator\Desktop>adb pull /system/build.prop
    436 KB/s (4474 bytes in 0.010s)
    //修改之后,推送回/system/,例如修改了ro.sf.hwrotation=180,使屏幕旋转180°
    C:\Users\Administrator\Desktop>adb push C:\Users\Administrator\Desktop\build
    p /system/
    19 KB/s (4459 bytes in 0.227s)

    C:\Users\Administrator\Desktop>adb shell

    root@T508AC:/ # cd system/
    root@T508AC:/system # ls
    app
    bin
    build.prop
    etc
    fonts
    framework
    lib
    lost+found
    manifest.xml
    media
    priv-app
    tts
    usr
    vendor
    xbin
    //执行这个命令才可以生效
    root@T508AC:/system # chmod 644 build.prop
    //重启设备就可以看到屏幕旋转180读已经生效了
    root@T508AC:/system # reboot

    build.prop的文件内容:

    begin build properties

    autogenerated by buildinfo.sh

    ro.build.id=LMY49F
    ro.build.display.id=rk3288-eng 5.1.1 LMY49F eng.zhangfeng.20190306.051048 test-keys
    ro.build.version.incremental=eng.zhangfeng.20190306.051048
    ro.build.version.sdk=22
    ro.build.version.codename=REL
    ro.build.version.all_codenames=REL
    ro.build.version.release=5.1.1
    ro.build.version.security_patch=2016-03-01
    ro.build.version.base_os=
    ro.build.date=Wed Mar 6 05:16:23 EST 2019
    ro.build.date.utc=1551867383
    ro.build.type=eng
    ro.build.user=zhangfeng
    ro.build.host=build
    ro.build.tags=test-keys
    ro.build.flavor=rk3288-eng
    ro.product.model=T508AC
    ro.product.brand=Android
    ro.product.name=T508AC
    ro.product.device=T508AC
    ro.product.board=rk30sdk
    ro.jiebao.version=T508AC_OS_E0A_V0.0.29_LYNQ

    ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,

    use ro.product.cpu.abilist instead.

    ro.product.cpu.abi=armeabi-v7a
    ro.product.cpu.abi2=armeabi
    ro.product.cpu.abilist=armeabi-v7a,armeabi
    ro.product.cpu.abilist32=armeabi-v7a,armeabi
    ro.product.cpu.abilist64=
    ro.product.manufacturer=rockchip
    ro.product.locale.language=zh
    ro.product.locale.region=CN
    ro.wifi.channels=
    ro.board.platform=rk3288

    ro.build.product is obsolete; use ro.product.device

    ro.build.product=rk3288

    Do not try to parse description, fingerprint, or thumbprint

    ro.build.description=rk3288-eng 5.1.1 LMY49F eng.zhangfeng.20190306.051048 test-keys
    ro.build.fingerprint=Android/rk3288/rk3288:5.1.1/LMY49F/zhangfeng03060514:eng/test-keys
    ro.build.characteristics=tablet

    end build properties

    from device/rockchip/rk3288/system.prop

    system.prop

    rild.libpath=/system/lib/libreference-ril.so

    rild.libargs=-d /dev/ttyUSB2

    Default ecclist

    ro.ril.ecclist=112,911
    ro.opengles.version=196609
    wifi.interface=wlan0
    rild.libpath=/system/lib/libril-rk29-dataonly.so
    rild.libpath.jb=/system/lib/libreference-ril-jb.so
    rild.libpath.LYNQ=/system/lib/libreference-ril-LYNQ.so
    rild.libpath.HW=/system/lib/libreference-ril-HW.so
    rild.libpath.LS=/system/lib/libreference-ril-LS.so
    rild.libargs=-d /dev/ttyUSB2
    persist.tegra.nvmmlite = 1
    ro.audio.monitorOrientation=true

    remove red border

    persist.sys.strictmode.visual=0
    persist.sys.strictmode.disable=1

    NFC

    debug.nfc.fw_download=false
    debug.nfc.se=false

    add Rockchip properties here

    ro.rk.screenoff_time=60000
    ro.rk.screenshot_enable=true
    ro.rk.def_brightness=200
    ro.rk.homepage_base=http://www.google.com/webhp?client={CID}&source=android-home
    ro.rk.install_non_market_apps=false
    sys.hwc.compose_policy=6
    sys.wallpaper.rgb565=0
    sf.power.control=2073600
    sys.rkadb.root=0
    ro.sf.fakerotation=false
    ro.sf.hwrotation=180
    ro.rk.MassStorage=false
    ro.rk.systembar.voiceicon=true
    ro.rk.systembar.tabletUI=false
    ro.rk.LowBatteryBrightness=false
    ro.tether.denied=false
    sys.resolution.changed=false
    ro.default.size=100
    persist.sys.timezone=
    ro.product.usbfactory=rockchip_usb
    wifi.supplicant_scan_interval=15
    ro.factory.tool=0
    ro.kernel.android.checkjni=0

    set default lcd density to Rockchip tablet

    ro.sf.lcd_density=160
    ro.adb.secure=0

    ADDITIONAL_BUILD_PROPERTIES

    ro.com.android.dateformat=MM-dd-yyyy
    ro.config.ringtone=Ring_Synth_04.ogg
    ro.config.notification_sound=pixiedust.ogg
    ro.carrier=unknown
    ro.config.alarm_alert=Alarm_Classic.ogg
    ro.target.product=tablet
    ro.factory.hasGPS=true
    dalvik.vm.heapstartsize=16m
    dalvik.vm.heapgrowthlimit=192m
    dalvik.vm.heapsize=512m
    dalvik.vm.heaptargetutilization=0.75
    dalvik.vm.heapminfree=512k
    dalvik.vm.heapmaxfree=8m
    net.dns1=8.8.8.8
    net.dns2=8.8.4.4
    camera2.portability.force_api=1
    persist.sys.strictmode.visual=false
    dalvik.vm.jniopts=warnonly
    ro.rk.bt_enable=true
    ro.factory.hasUMS=true
    persist.sys.usb.config=mass_storage
    testing.mediascanner.skiplist=/mnt/internal_sd/Android/
    ro.factory.storage_suppntfs=true
    ro.factory.without_battery=false
    keyguard.no_require_sim=true
    ro.com.android.dataroaming=true
    ril.function.dataonly=1
    ro.config.enable.remotecontrol=false
    ro.product.version=1.0.0
    ro.product.ota.host=www.rockchip.com:2300
    persist.sys.dalvik.vm.lib.2=libart.so
    dalvik.vm.isa.arm.features=div
    ro.kernel.android.checkjni=1
    dalvik.vm.image-dex2oat-filter=verify-none
    dalvik.vm.dex2oat-filter=interpret-only
    dalvik.vm.dexopt-flags=m=y
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt

    begin fota properties

    ro.fota.platform=RK3288_5.1
    ro.fota.type=pad_phone
    ro.fota.app=5
    ro.fota.oem=jiebao-RK3288_5.1
    ro.fota.device=T508AC
    ro.fota.version=T508AC_OS_E0A_V0.0.29_LYNQ_20190306-0516

    end fota properties

    相关文章

      网友评论

        本文标题:Android系统下的build.prop文件

        本文链接:https://www.haomeiwen.com/subject/btaqpqtx.html