.prop文件是什么

.prop文件是什么,第1张

build.prop是android系统中的一个重要的属性文件,它记录了android系统的一些重要的设置信息,改变它能够取得一些意想不到的效果,但是也正是因为.prop的重要性,如果不明白具体的含义的话,绝对不要随便动它

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

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的文件内容:

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=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=rk3288

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

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

persist.sys.strictmode.visual=0

persist.sys.strictmode.disable=1

debug.nfc.fw_download=false

debug.nfc.se=false

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

ro.sf.lcd_density=160

ro.adb.secure=0

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

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


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/tougao/7910158.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-11
下一篇 2023-04-11

发表评论

登录后才能评论

评论列表(0条)

保存