精华内容
下载资源
问答
  • Getprop

    2020-12-08 18:25:21
    <div><p>Getprop strings can reveal AndroidID (via the default hostname), and imei on some devices (ro.gsm.imei for example). <p>Run the getprop command on your device, and see what's available. ...
  • getprop

    2017-03-09 19:24:34
    一、 配置文件 在Android系统中,有一些初始化的配置文件,例如: [html] view plaincopy ...文件里面里面配置了开机设置的系统属性值,这些属性值,可以通过getprop获取,setprop设置,如下图:

    一、 配置文件

    Android系统中,有一些初始化的配置文件,例如:

    [html] view plaincopy
    1. /init.rc  
    2. /default.prop  
    3. /system/build.prop  

    文件里面里面配置了开机设置的系统属性值,这些属性值,可以通过getprop获取,setprop设置,如下图:


    二、getprop stopprop watchprop 使用和它的格式

    1、getprop[key]

    获取指定key的配置值,如果不带参数,只是getprop则是显示系统所有的配置值,输入命令,如下图:

    #getprop


    2、setprop[key] [value] 设置指定key的属性值

    如:setprop

    3、getprop setprop 使用实例

    [html] view plaincopy
    1. root@android:/ # getpropdhcp.wlan0.leasetime   //得到的值为3600  
    2. 3600  
    3. root@android:/ # setprop dhcp.wlan0.leasetime3000  //设定值为3000  
    4. root@android:/ # getprop  
    5. [dhcp.wlan0.ipaddress]: [192.168.1.113]  
    6. [dhcp.wlan0.leasetime]:[3000]                    //再用getporp查看设定的值  
    7. [dhcp.wlan0.mask]: [255.255.255.0]  


    4、watchprops

    监听系统属性的变化,如果期间系统的属性发生变化则把变化的值显示出来

    [html] view plaincopy
    1. /system # watchprops  
    2. 1307501833 sys.settings_system_version = '37'  
    3. 1307501836 sys.settings_system_version ='38'  
    4. 1307501862 persist.sys.timezone ='Asia/Hong_Kong'  

    三、toolbox子命令

    1、命令实现代码位置

    其实这三个命令都是toolbox的子命令,如果有兴趣的可以看在android源码中看到其对应的源码:

    system/core/toolbox/

    一般而言,我们在串口中输入getprop指令,会出现很多类似键值对的系统变量值,如下图:


    2、Java中调用Linux的指令

    如:现在执行一个  ls -l 的命令
    try {
    Process process = Runtime.getRuntime().exec("ls -l");
    InputStreamReader ir = new InputStreamReader(process.getInputStream());
    BufferedReader input = new BufferedReader(ir);
    String string = null;
    while((string = input.readLine()) != null){
    Log.i("DDD",string);

    }

    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    这就和adb 或者linux环境下手动执行 ls -l是一样的效果了。


    (1)、在java中如何调用linux的指令,主要通过如下代码实现:

    [java] view plaincopy
    1. Process process =Runtime.getRuntime().exec(com);  
    2. InputStreamReader ir = newInputStreamReader(process.getInputStream());  
    3. BufferedReader input = newBufferedReader(ir);  
    (2)、getprop和setprop既然都是命令,也用上面的方面尝试得到值

      getprop 用法:getprop [key]

      setprop用法:setprop [key] [value]

    [java] view plaincopy
    1. Process process =Runtime.getRuntime().exec("getprop ro.runtime.firstboot");  
    2. InputStreamReader ir = newInputStreamReader(process.getInputStream());  
    3. BufferedReader input = newBufferedReader(ir);  
    展开全文
  • <p>I am wondering why <code>file_getprop</code> (which basically greps properties from a given *.prop</code> file) is used in the <code>updatebinary</code> script instead of the <code>getprop</code> ...
  • Imp 38 getprop

    2020-12-28 06:51:07
    <div><p>Implemented getprop command and unit tests</p><p>该提问来源于开源项目:vidstige/jadb</p></div>
  • adb getprop

    2017-03-09 15:24:53
    在手机开发中,经常遇到查看或者修改... 查看 adb shell getprop prop名称  修改 adb shell setprop prop名称 修改值 2、若只记住了名称的部分,可这样查  查看 adb shell getprop | grep 关键词  

    在手机开发中,经常遇到查看或者修改prop的情况,实现方式:

    1、获取指定prop

        查看     adb shell getprop  prop名称

        修改    adb shell setprop  prop名称   修改值


    2、若只记住了名称的部分,可这样查

        查看    adb shell getprop | grep 关键词

               


    继续更新中。。。。



    展开全文
  • getprop 命令

    千次阅读 2017-03-09 18:00:39
    Android实战技巧之十六:getprop与dumpsys命令 标签: adbandroidgetpropdumpsys 2015-03-11 14:38 9702人阅读 评论(0) 收藏 举报 本文章已收录于: 分类: Android(259) ...

    Android实战技巧之十六:getprop与dumpsys命令

    标签: adbandroidgetpropdumpsys
    9702人阅读 评论(0) 收藏 举报
    本文章已收录于:
    分类:

    Android设备连接PC后,我们可以通过adb命令完成绝大多数工作。下面借助getprop、dumpsys来了解一些系统相关信息。

    一、getprop

    此命令的原理很简单,就是从系统的各种配置文件中读取信息。那么这些文件在你用adb shell进入设备内部后很容易找到,它们是:

    init.rc
    default.prop
    /system/build.prop
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

    此时直接使用cat命令也是可以把这些信息显示出来的。
    下面列出比较常用的信息
    1.获得IP

    $ adb shell getprop dhcp.wlan0.ipaddress
    192.168.0.107
    • 1
    • 2
    • 1
    • 2

    2.手机名称

    $ adb shell getprop ro.product.device
    Ulike2
    $ adb shell getprop ro.product.model
    U705T
    $ adb shell getprop ro.product.name
    oppo17_12035
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7

    3.serial number

    $ adb shell getprop ro.serialno
    0000012035ABCXXX
    
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

    4.屏幕密度

    $ adb shell getprop ro.sf.lcd_density
    240
    
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

    好了,只要使用adb shell getprop就可以把所有的信息都打印出来。而使用setprop命令就可以进行相对应的设置啦。

    二、dumpsys

    Android系统启动时会有大批的服务随之启动,那么我们就可以用dumpsys命令来查看每个服务的运行情况。作为一名Android开发者,我们至少要了解这些Service的存在:

    Currently running services:
      DMAgent
      NvRAMAgent
      SurfaceFlinger
      accessibility
      account
      activity
      alarm
      appwidget
      audio
      audioprofile
      backup
      battery
      batteryinfo
      bluetooth
      bluetooth_a2dp
      bluetooth_profile_manager
      bluetooth_socket
      clipboard
      connectivity
      content
      country_detector
      cpuinfo
      device_policy
      devicestoragemonitor
      diskstats
      drm.drmManager
      dropbox
      entropy
      gfxinfo
      hardware
      input_method
      iphonesubinfo
      isms
      location
      media.audio_flinger
      media.audio_policy
      media.camera
      media.mdp_service
      media.player
      meminfo
      memory.dumper
      mount
      mtk-agps
      mtk-epo-client
      netpolicy
      netstats
      network_management
      notification
      oppo.com.IRUtils
      package
      permission
      phone
      power
      samplingprofiler
      search
      sensorservice
      simphonebook
      statusbar
      telephony.registry
      telephony.registry2
      textservices
      throttle
      uimode
      usagestats
      usb
      vibrator
      wallpaper
      wifi
      wifip2p
      window
    
    • 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
    • 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

    当我们需要知道设备的分辨率时,可以使用如下命令:

    $ adb shell dumpsys window displays
    WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)
    Display: mDisplayId=0
    init=720x1280 320dpi cur=720x1280 app=720x1280 rng=720x670-1280x1230
    layoutNeeded=false
    • 1
    • 2
    • 3
    • 4
    • 5
    • 1
    • 2
    • 3
    • 4
    • 5

    or

    $ adb shell dumpsys window
    ...
    Display: init=540x960 base=540x960 cur=540x960 app=540x888 raw=540x960
    • 1
    • 2
    • 3
    • 1
    • 2
    • 3

    Refer to :
    http://blog.csdn.net/wangjia55/article/details/7446772
    http://blog.csdn.net/kevinx_xu/article/details/11846289
    http://blog.csdn.net/z_guijin/article/details/8203028

    2
    0

    我的同类文章

    展开全文
  • getprop op is strange

    2020-12-29 13:26:44
    <div><p>The getprop op is strange because it has a signature getprop_p_s_p. By analogy, the getattr opcode has signature getattr_p_p_s. setprop_p_s_p and setattr_p_s_p are similar and are not a ...
  • adb shell getprop

    千次阅读 2019-04-28 21:16:17
    一、该命令是做什么的? 二、常用的查询参数 ...adb shell getprop 参数 二、常用的查询参数 命令行 含义 实际操作返回 adb shell getprop ro.sf.lcd_density ...

     

    一、该命令是做什么的?

    该命令作用同dumpsys,就是从系统的各种配置文件中读取信息

    adb shell getprop  参数

    二、常用的查询参数

    命令行

    含义

    实际操作返回

    adb shell getprop ro.sf.lcd_density 查询设备的屏幕密度
    adb shell getprop | grep density 查询设备的屏幕密度
    adb shell wm size/density(适用于 Android4.3以上) 查询设备的屏幕尺寸/密度
    adb shell getprop dhcp.wlan0.ipaddress 查询设备网络IP

    adb shell getprop ro.product.device

    adb shell getprop ro.product.model

    adb shell getprop ro.product.name

    adb shell getprop ro.serialno

    手机名称型号等信息

    三、如何查看参数?

    要查看该命令下可查询的参数,可以输入命令:

    adb shell getprop

    输出信息就是所有能查询到的参数信息,如下:

    1. [DEVICE_PROVISIONED]: [1]
    2. [dalvik.vm.heapgrowthlimit]: [96m]
    3. [dalvik.vm.heapmaxfree]: [8m]
    4. [dalvik.vm.heapminfree]: [2m]
    5. [dalvik.vm.heapsize]: [256m]
    6. [dalvik.vm.heapstartsize]: [8m]
    7. [dalvik.vm.heaptargetutilization]: [0.75]
    8. [dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
    9. [debug.atrace.app_cmdlines]: []
    10. [debug.atrace.tags.enableflags]: [0]
    11. [debug.composition.type]: [c2d]
    12. [debug.egl.hw]: [1]
    13. [debug.hwui.profile]: [true]
    14. [debug.mdpcomp.logs]: [0]
    15. [debug.sf.fb_always_on]: [1]
    16. [debug.sf.hw]: [1]
    17. [dev.bootcomplete]: [1]
    18. [dev.extended_dump_layer_on]: [0]
    19. [dev.kies.sommode]: [TRUE]
    20. [dev.knoxapp.running]: [false]
    21. [dev.pm.dyn_samplingrate]: [1]
    22. [dhcp.wlan0.dns1]: [219.141.136.10]
    23. [dhcp.wlan0.dns2]: [219.141.140.10]
    24. [dhcp.wlan0.dns3]: []
    25. [dhcp.wlan0.dns4]: []
    26. [dhcp.wlan0.domain]: []
    27. [dhcp.wlan0.gateway]: [172.16.1.1]
    28. [dhcp.wlan0.ipaddress]: [172.16.1.210]
    29. [dhcp.wlan0.leasetime]: [86400]
    30. [dhcp.wlan0.mask]: [255.255.255.0]
    31. [dhcp.wlan0.pid]: [22872]
    32. [dhcp.wlan0.reason]: [BOUND]
    33. [dhcp.wlan0.result]: [ok]
    34. [dhcp.wlan0.roaming]: [0]
    35. [dhcp.wlan0.server]: [172.16.1.1]
    36. [dhcp.wlan0.vendorInfo]: []
    37. [gsm.ctc.cdmaprefcountry]: [false]
    38. [gsm.ctc.chinamainland]: [true]
    39. [gsm.ctc.timedispschmmcc]: [460]
    40. [gsm.current.phone-type]: [1]
    41. [gsm.default.channel]: [0]
    42. [gsm.network.type2]: [Unknown]
    43. [gsm.network.type]: [EvDo-rev.A]
    44. [gsm.nitz.time]: [1469594857146]
    45. [gsm.operator.alpha2]: []
    46. [gsm.operator.alpha]: [China Telecom]
    47. [gsm.operator.iso-country]: [cn]
    48. [gsm.operator.isroaming2]: [false]
    49. [gsm.operator.isroaming]: [false]
    50. [gsm.operator.numeric2]: []
    51. [gsm.operator.numeric]: [46003]
    52. [gsm.plmnstring]: [中国电信]
    53. [gsm.sim.active2]: [0]
    54. [gsm.sim.active]: [0]
    55. [gsm.sim.activecdma]: [0]
    56. [gsm.sim.activity.dual]: [false]
    57. [gsm.sim.activity2]: [false]
    58. [gsm.sim.activity]: [true]
    59. [gsm.sim.adnbit1]: [false]
    60. [gsm.sim.availability2]: [false]
    61. [gsm.sim.availability]: [true]
    62. [gsm.sim.cardname.dual]: [中国电信]
    63. [gsm.sim.cardname2]: []
    64. [gsm.sim.cardname]: [中国电信]
    65. [gsm.sim.cardnoti2]: [1]
    66. [gsm.sim.cardnoti]: [2]
    67. [gsm.sim.cdmaoperator.numeric]: [46003]
    68. [gsm.sim.currentcardstatus2]: [0]
    69. [gsm.sim.currentcardstatus]: [3]
    70. [gsm.sim.fdn_support]: [0]
    71. [gsm.sim.icon.dual]: [0]
    72. [gsm.sim.icon2]: [1]
    73. [gsm.sim.icon]: [0]
    74. [gsm.sim.msisdn2]: []
    75. [gsm.sim.newCheck2]: [false]
    76. [gsm.sim.newCheck]: [false]
    77. [gsm.sim.operator.alpha]: [中国电信]
    78. [gsm.sim.operator.iso-country]: [cn]
    79. [gsm.sim.operator.numeric]: [46003]
    80. [gsm.sim.pplock2]: []
    81. [gsm.sim.pplock]: [unlock]
    82. [gsm.sim.selectnetwork]: [CDMA]
    83. [gsm.sim.slotswitching]: [0]
    84. [gsm.sim.state2]: [ABSENT]
    85. [gsm.sim.state]: [READY]
    86. [gsm.version.baseband2]: [I939IKEUAOD1]
    87. [gsm.version.baseband]: [I939IKEUAOD1]
    88. [gsm.version.ril-impl]: [Samsung RIL v3.0]
    89. [gsm.voice.network.type]: [EvDo-rev.A]
    90. [hw.cabl.version]: [1.1.20130401]
    91. [hw.cabl.yuv]: [0]
    92. [hw.pp.cfg]: [/data/pp_data.cfg]
    93. [init.svc.BCS-daemon]: [running]
    94. [init.svc.DR-daemon]: [running]
    95. [init.svc.SMD-daemon]: [running]
    96. [init.svc.adbd]: [running]
    97. [init.svc.adsprpcd]: [running]
    98. [init.svc.at_distributor]: [running]
    99. [init.svc.atfwd]: [running]
    100. [init.svc.auditd]: [running]
    101. [init.svc.bootanim]: [stopped]
    102. [init.svc.cnd]: [running]
    103. [init.svc.config_bluetooth]: [stopped]
    104. [init.svc.container]: [stopped]
    105. [init.svc.debuggerd]: [running]
    106. [init.svc.dhcpcd_wlan0]: [running]
    107. [init.svc.diag_uart_log]: [running]
    108. [init.svc.drm]: [running]
    109. [init.svc.flash_recovery]: [stopped]
    110. [init.svc.geomagneticd]: [running]
    111. [init.svc.icd]: [stopped]
    112. [init.svc.installd]: [running]
    113. [init.svc.iprenew_wlan0]: [stopped]
    114. [init.svc.irsc_util]: [stopped]
    115. [init.svc.keystore]: [running]
    116. [init.svc.macloader]: [stopped]
    117. [init.svc.media]: [running]
    118. [init.svc.mobex-daemon]: [running]
    119. [init.svc.mpdecision]: [running]
    120. [init.svc.netd]: [running]
    121. [init.svc.netlabels]: [stopped]
    122. [init.svc.orientationd]: [restarting]
    123. [init.svc.p2p_supplicant]: [running]
    124. [init.svc.powersnd]: [stopped]
    125. [init.svc.ppd]: [running]
    126. [init.svc.prepare_param]: [stopped]
    127. [init.svc.ptt_socket_app]: [stopped]
    128. [init.svc.qcamerasvr]: [running]
    129. [init.svc.qcom-c_core-sh]: [stopped]
    130. [init.svc.qcom-c_main-sh]: [stopped]
    131. [init.svc.qcom-post-boot]: [stopped]
    132. [init.svc.qcom-sh]: [stopped]
    133. [init.svc.qcom-usb-sh]: [stopped]
    134. [init.svc.qmuxd]: [running]
    135. [init.svc.qseecomd]: [running]
    136. [init.svc.ril-daemon2]: [running]
    137. [init.svc.ril-daemon]: [running]
    138. [init.svc.rmt_storage]: [running]
    139. [init.svc.rtccd]: [stopped]
    140. [init.svc.sdcard]: [stopped]
    141. [init.svc.secure_storage]: [running]
    142. [init.svc.servicemanager]: [running]
    143. [init.svc.ssr_diag]: [running]
    144. [init.svc.surfaceflinger]: [running]
    145. [init.svc.thermal-engine]: [running]
    146. [init.svc.time_daemon]: [running]
    147. [init.svc.ueventd]: [running]
    148. [init.svc.vold]: [running]
    149. [init.svc.wpa_supplicant]: [running]
    150. [init.svc.zygote]: [running]
    151. [installd.sdcard_manipulate_done]: [1]
    152. [keyguard.no_require_sim]: [true]
    153. [lpa.decode]: [false]
    154. [lpa.use-stagefright]: [true]
    155. [media.enable-commonsource]: [true]
    156. [media.stagefright.enable-aac]: [true]
    157. [media.stagefright.enable-fma2dp]: [true]
    158. [media.stagefright.enable-http]: [true]
    159. [media.stagefright.enable-player]: [true]
    160. [media.stagefright.enable-qcp]: [true]
    161. [media.stagefright.enable-scan]: [true]
    162. [mmp.enable.3g2]: [true]
    163. [net.bt.name]: [Android]
    164. [net.change]: [net.dns2]
    165. [net.dns1]: [219.141.136.10]
    166. [net.dns2]: [219.141.140.10]
    167. [net.hostname]: [android-696916dbdf519a8d]
    168. [net.qtaguid_enabled]: [1]
    169. [net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
    170. [net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
    171. [net.tcp.buffersize.evdo]: [4094,87380,262144,4096,16384,262144]
    172. [net.tcp.buffersize.gprs]: [4093,26280,35040,4096,16384,35040]
    173. [net.tcp.buffersize.hsdpa]: [4094,87380,262144,4096,16384,262144]
    174. [net.tcp.buffersize.hspa]: [4094,87380,262144,4096,16384,262144]
    175. [net.tcp.buffersize.hspap]: [4094,87380,1220608,4096,16384,1220608]
    176. [net.tcp.buffersize.hsupa]: [4094,87380,262144,4096,16384,262144]
    177. [net.tcp.buffersize.lte]: [524288,1048576,2097152,262144,524288,1048576]
    178. [net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
    179. [net.tcp.buffersize.wifi]: [524288,1048576,2097152,262144,524288,1048576]
    180. [persist.audio.allsoundmute]: [0]
    181. [persist.audio.headsetsysvolume]: [9]
    182. [persist.audio.hphonesysvolume]: [9]
    183. [persist.audio.ringermode]: [1]
    184. [persist.audio.sysvolume]: [0]
    185. [persist.fuse_sdcard]: [true]
    186. [persist.hwc.mdpcomp.enable]: [true]
    187. [persist.radio.cdma.msgid]: [12]
    188. [persist.radio.icc.cb.count2]: [0]
    189. [persist.radio.icc.cb.count]: [0]
    190. [persist.radio.icc.cb.list2]: []
    191. [persist.radio.icc.cb.list]: []
    192. [persist.radio.initphone-type]: [1]
    193. [persist.radio.plmnname_1]: []
    194. [persist.radio.plmnname_2]: []
    195. [persist.rild.nitz_long_ons_0]: []
    196. [persist.rild.nitz_long_ons_1]: []
    197. [persist.rild.nitz_long_ons_2]: []
    198. [persist.rild.nitz_long_ons_3]: []
    199. [persist.rild.nitz_plmn]: []
    200. [persist.rild.nitz_short_ons_0]: []
    201. [persist.rild.nitz_short_ons_1]: []
    202. [persist.rild.nitz_short_ons_2]: []
    203. [persist.rild.nitz_short_ons_3]: []
    204. [persist.security.ams.enforcing]: [1]
    205. [persist.sys.clssprld1]: [652]
    206. [persist.sys.clssprld2]: [712]
    207. [persist.sys.country]: [CN]
    208. [persist.sys.drs.enforce]: [1]
    209. [persist.sys.language]: [zh]
    210. [persist.sys.localevar]: []
    211. [persist.sys.profiler_ms]: [0]
    212. [persist.sys.screen.rotation.Off]: [0]
    213. [persist.sys.setupwizard]: [FINISH]
    214. [persist.sys.storage_preload]: [2]
    215. [persist.sys.timezone]: [Asia/Shanghai]
    216. [persist.sys.usb.config]: [mtp,adb]
    217. [persist.timed.enable]: [true]
    218. [qcom.audio.init]: [complete]
    219. [ril.BRAVO]: [33987]
    220. [ril.CompleteMsg]: [01]
    221. [ril.ICC2_TYPE]: [0]
    222. [ril.ICC_TYPE]: [4]
    223. [ril.IsCSIM]: [1]
    224. [ril.Pincheck]: [0]
    225. [ril.RildInit1]: [1]
    226. [ril.RildInit]: [1]
    227. [ril.SIERRA]: [13824]
    228. [ril.approved_codever]: [none]
    229. [ril.approved_cscver]: [none]
    230. [ril.approved_modemver]: [none]
    231. [ril.atd_status]: [1_1_0]
    232. [ril.cardnoti2]: [1]
    233. [ril.cardnoti]: [2]
    234. [ril.cdmaShortSrched]: [true]
    235. [ril.checkradiostate2]: [2]
    236. [ril.checkradiostate]: [2]
    237. [ril.cs_svc]: [1]
    238. [ril.ctcManualSelType]: []
    239. [ril.deviceOffRes]: [0]
    240. [ril.ecc2list0]: [112,911,999,000,08,110,118,119,120,122]
    241. [ril.ecclist]: [911,*911,#911,112]
    242. [ril.fakeDispCanceled]: [true]
    243. [ril.hw_ver]: [I939I.05]
    244. [ril.initPB]: [1]
    245. [ril.isIccChanged]: [0]
    246. [ril.mIsSwitchedToCdma]: [false]
    247. [ril.modem.board]: [MSM8626]
    248. [ril.modem.lte.powercontrol]: [on]
    249. [ril.official_cscver]: [I939ICTCAOD1]
    250. [ril.otasp_state]: [3]
    251. [ril.prl_ver_1]: [501]
    252. [ril.prl_version]: [501]
    253. [ril.product_code]: [Not Active]
    254. [ril.radiostate]: [10]
    255. [ril.rfcal_date]: [2014.08.05]
    256. [ril.sales_code]: [CTC]
    257. [ril.serialnumber]: [00000000000]
    258. [ril.servicestate]: [0]
    259. [ril.servicestate_1]: [1]
    260. [ril.subscription.types]: [NV,RUIM]
    261. [ril.sw_ver]: [I939IKEUAOD1]
    262. [ril.tethering.usb.active]: [0]
    263. [rild.libargs]: [-d /dev/smd0]
    264. [rild.libpath]: [/system/lib/libsec-ril.so]
    265. [ro.adb.qemud]: [1]
    266. [ro.adb.secure]: [1]
    267. [ro.allow.mock.location]: [0]
    268. [ro.baseband]: [msm]
    269. [ro.bluetooth.dun]: [true]
    270. [ro.bluetooth.hfp.ver]: [1.6]
    271. [ro.bluetooth.sap]: [true]
    272. [ro.board.platform]: [msm8226]
    273. [ro.boot.baseband]: [msm]
    274. [ro.boot.batt_check_recovery]: [0]
    275. [ro.boot.boot_recovery]: [0]
    276. [ro.boot.bootloader]: [I939IKEUAOD1]
    277. [ro.boot.console]: [null]
    278. [ro.boot.cp_debug_level]: [0x55FF]
    279. [ro.boot.debug_level]: [0x4f4c]
    280. [ro.boot.emmc]: [true]
    281. [ro.boot.emmc_checksum]: [3]
    282. [ro.boot.hardware]: [qcom]
    283. [ro.boot.nvdata_backup]: [0]
    284. [ro.boot.serialno]: [57282be2]
    285. [ro.boot.warranty_bit]: [0]
    286. [ro.boot_recovery]: [0]
    287. [ro.bootchg]: [unknown]
    288. [ro.bootloader]: [I939IKEUAOD1]
    289. [ro.bootmode]: [unknown]
    290. [ro.bt.bdaddr_path]: [/efs/bluetooth/bt_addr]
    291. [ro.build.PDA]: [I939IKEUAOD1]
    292. [ro.build.changelist]: [2827155]
    293. [ro.build.characteristics]: [china_wlan,china_cdma]
    294. [ro.build.date.utc]: [1428648578]
    295. [ro.build.date]: [Fri Apr 10 15:49:38 KST 2015]
    296. [ro.build.description]: [s3litectc-user 4.3 JLS36C I939IKEUAOD1 release-keys]
    297. [ro.build.display.id]: [JLS36C.I939IKEUAOD1]
    298. [ro.build.fingerprint]: [samsung/s3litectc/s3lite:4.3/JLS36C/I939IKEUAOD1:user/release-keys]
    299. [ro.build.hidden_ver]: [I939IKEUAOD1]
    300. [ro.build.host]: [SWDB4806]
    301. [ro.build.id]: [JLS36C]
    302. [ro.build.product]: [s3lite]
    303. [ro.build.selinux.enforce]: [1]
    304. [ro.build.selinux]: [1]
    305. [ro.build.tags]: [release-keys]
    306. [ro.build.type]: [user]
    307. [ro.build.user]: [dpi]
    308. [ro.build.version.codename]: [REL]
    309. [ro.build.version.incremental]: [I939IKEUAOD1]
    310. [ro.build.version.release]: [4.3]
    311. [ro.build.version.sdk]: [18]
    312. [ro.carrier]: [unknown]
    313. [ro.chipname]: [MSM8626]
    314. [ro.com.android.dateformat]: [MM-dd-yyyy]
    315. [ro.com.google.clientidbase]: [android-samsung]
    316. [ro.config.alarm_alert]: [Alarm_Morning_flower.ogg]
    317. [ro.config.combined_signal]: [true]
    318. [ro.config.notification_sound]: [Whisper.ogg]
    319. [ro.config.notification_sound_2]: [S_On_time.ogg]
    320. [ro.config.pppoe_enable]: [1]
    321. [ro.config.ringtone]: [Over_the_horizon.ogg]
    322. [ro.config.ringtone_2]: [Fog_on_the_water.ogg]
    323. [ro.config.tima]: [1]
    324. [ro.cp_debug_level]: [0x55FF]
    325. [ro.crypto.state]: [unencrypted]
    326. [ro.crypto.support]: [recovery_mount|others]
    327. [ro.csc.country_code]: [CHINA]
    328. [ro.csc.countryiso_code]: [CN]
    329. [ro.csc.sales_code]: [CTC]
    330. [ro.debug_level]: [0x4f4c]
    331. [ro.debuggable]: [0]
    332. [ro.emmc]: [true]
    333. [ro.emmc_checksum]: [3]
    334. [ro.error.receiver.default]: [com.samsung.receiver.error]
    335. [ro.factorytest]: [0]
    336. [ro.fuse_sdcard]: [true]
    337. [ro.hardware]: [qcom]
    338. [ro.hdcp2.rx]: [tz]
    339. [ro.hdmi.enable]: [true]
    340. [ro.kernel.qemu]: [0]
    341. [ro.multisim.simslotcount]: [1]
    342. [ro.nvdata_backup]: [0]
    343. [ro.opengles.version]: [196608]
    344. [ro.product.board]: [MSM8626]
    345. [ro.product.brand]: [samsung]
    346. [ro.product.cpu.abi2]: [armeabi]
    347. [ro.product.cpu.abi]: [armeabi-v7a]
    348. [ro.product.device]: [s3lite]
    349. [ro.product.locale.language]: [zh]
    350. [ro.product.locale.region]: [CN]
    351. [ro.product.manufacturer]: [samsung]
    352. [ro.product.model]: [SCH-I939I]
    353. [ro.product.name]: [s3litectc]
    354. [ro.product_ship]: [true]
    355. [ro.qualcomm.bluetooth.ftp]: [true]
    356. [ro.qualcomm.bluetooth.hfp]: [true]
    357. [ro.qualcomm.bluetooth.hsp]: [true]
    358. [ro.qualcomm.bluetooth.map]: [true]
    359. [ro.qualcomm.bluetooth.nap]: [true]
    360. [ro.qualcomm.bluetooth.opp]: [true]
    361. [ro.qualcomm.bluetooth.pbap]: [true]
    362. [ro.qualcomm.bt.hci_transport]: [smd]
    363. [ro.revision]: [5]
    364. [ro.ril.PESN]: [03008000]
    365. [ro.ril.ecclist]: [112,911,08,000,110,118,119,999]
    366. [ro.ril.gprsclass]: [10]
    367. [ro.ril.hsxpa]: [1]
    368. [ro.ril.svdo]: [false]
    369. [ro.ril.svlte1x]: [false]
    370. [ro.runtime.firstboot]: [1469594862631]
    371. [ro.sec.fle.encryption]: [true]
    372. [ro.secure]: [1]
    373. [ro.securestorage.knox]: [true]
    374. [ro.secwvk]: [144]
    375. [ro.serialno]: [57282be2]
    376. [ro.setupwizard.mode]: [OPTIONAL]
    377. [ro.sf.lcd_density]: [320]
    378. [ro.telephony.call_ring.multiple]: [false]
    379. [ro.telephony.default_network]: [3]
    380. [ro.tvout.enable]: [false]
    381. [ro.use_data_netmgrd]: [true]
    382. [ro.vendor.extension_library]: [/vendor/lib/libqc-opt.so]
    383. [ro.warranty_bit]: [0]
    384. [ro.wifi.channels]: []
    385. [secmm.player.disabledivx]: [True]
    386. [selinux.reload_policy]: [1]
    387. [service.ServiceState.cdma]: [0]
    388. [service.ServiceState.gsm]: [1]
    389. [service.bootanim.exit]: [1]
    390. [service.media.powersnd]: [1]
    391. [service.tether.active]: [0]
    392. [storage.mmc.size]: [15758000128]
    393. [sys.boot_completed]: [1]
    394. [sys.factory.mediaScanningCount]: [3]
    395. [sys.qseecomd.enable]: [true]
    396. [sys.settings_system_version]: [46]
    397. [sys.usb.config]: [mtp,adb]
    398. [sys.usb.state]: [mtp,adb]
    399. [system_init.startsurfaceflinger]: [0]
    400. [telephony.lteOnCdmaDevice]: [0]
    401. [tunnel.audiovideo.decode]: [false]
    402. [tunnel.decode]: [true]
    403. [vold.post_fs_data_done]: [1]
    404. [wifi.interface]: [wlan0]
    405. [wlan.driver.ath]: [0]
    406. [wlan.driver.config]: [/data/misc/wifi/WCNSS_qcom_cfg.ini]
    407. [wlan.driver.status]: [ok]
    408. [wlan.wfd.status]: [disconnected]
    展开全文
  • getprop 属性查找

    千次阅读 2018-06-25 15:26:43
    prop 属性查找 cmd 窗口输入 adb shell getprop | find “brand” adb shell getprop | find "brand" [ro.product.brand]: [Lenovo] [ro.vendor.product.brand]: [Lenovo]
  • atom.GetProp("FOO1") atom.GetProp("FOO2") atom.GetProp("FOO3") atom.GetProp("FOO4") atom.GetProp("FOO5") </code></pre> <p>'</p><p>该提问来源于开源项目...
  • getprop与dumpsys命令

    2020-06-11 10:59:08
    其实Android获取手机信息就是两个命令, 一个是getprop 一个是dumpsys. dumpsys iphonesubinfo Phone Subscriber Info: Phone Type = GSM Device ID = 354651050152745 getprop ro.build.version.re...
  • getprop使用简介

    千次阅读 2015-11-17 15:32:53
    /system/build.prop使用adb shell getprop就可以把所有的信息都打印出来。而使用setprop命令就可以进行相对应的设置。 $ adb shell getprop getprop 查看机器的全部信息参数 af.policy.r_
  • 主要介绍了Android 中build.prop 文件与 getprop 命令的相关资料,需要的朋友可以参考下
  • 1. java 中 使用 getprop的例子, 之前查过几篇文章, 发现真的是 罗里吧嗦, 废话一堆, 连个完整的例子都没有, 嘛玩意 private String getXXXYYY() { String type = null; try { Process process = Runtime...
  • <div><p>On my Nexus 7 (stock 4.3), anything that relies on getprop('display.height') or getprop('display.width') fails as those commands return nothing. <p>Running adb shell getprop on...
  • getprop 与 dumpsys 命令

    2018-02-27 21:53:00
    下面借助 getprop、dumpsys 来了解一些系统相关信息。 一、getprop 此命令的原理很简单,就是从系统的各种配置文件中读取信息。那么这些文件在你用 adb shell 进入设备内部后很容易找到,它们是: init.rc ...
  • 在安卓系统中,当你写了一个脚本,已经添加到开机启动 init.rc 中,即使脚本中添加了打印(例如:echo 或 printf),但是不知道在哪里看打印,想要判断脚本是否启动,就需要 getprop getprop getprop 指令就是...
  • Add menu_getprop() function

    2020-12-02 14:05:20
    <div><p>This native is ...menu_getprop(iMenu, MPROP_TITLE, szTitle, charsmax(szTitle)) <p>new iPerPage = menu_getprop(iMenu, MPROP_PERPAGE) 该提问来源于开源项目:alliedmodders/amxmodx</p></div>
  • getprop (dns)

    2017-03-09 18:03:19
    下面借助getprop、dumpsys来了解一些系统相关信息。 一、getprop 此命令的原理很简单,就是从系统的各种配置文件中读取信息。那么这些文件在你用adb shell进入设备内部后很容易找到,它们是: init.rc default....
  • GetProp和SetProp的区别

    2019-05-12 00:54:00
    GetProp 函数功能:该函数从给定窗口的属性列表中检索数据句柄。给定的字符串标识了要检索的句柄。该字符串和句柄必须在前一次调用SetProp函数时已经加到属性表中。 函数原型:HANDLE GetProp(HWND hWnd,LPCTSTR ...
  • <p>I think we should keep <code>hasAttribute, <code>hasProp</code> and <code>hasStyle, but add <code>getAttribute</code> and <code>getProp</code></p>该提问来源于开源项目:vuejs/vue-test-utils...
  • It seems that the <code>getProp</code> function does not allow if-statements in the function body. There for I'm getting <code>Error: getProp() function has statements other than 'return'...
  • Android系统 getProp信息导出

    千次阅读 2018-01-26 12:27:38
    在android系统中的配置文件可以通过adb shell getprop “属性值” 和 adb shell setprop “属性值” 操作,里面的信息量很庞大 /init.rc /default.prop /system/build.prop 2.获取信息 可以这里下载源码 ...
  • <div><p>JdbcExtractor and QueryBasedExtractor to use WorkUnitState.getProp instead of WorkUnit.getProp. (WorkUnit and WorkUnitState #1065)</p><p>该提问来源于开源项目:apache/incubator-gobblin...
  • <p>Could we provide the parameter value of <code>getProp</code> in the message, so I could see which property is checked? <p>The message could be <code>headlines[0] is not a string or it could be ...
  • getprop 查看机器的全部信息参数 getprop ro.serialno 查看机器的SN号 getprop ro.carrier 查看机器的CID号 getprop ro.hardware 查看机器板子代号
  • 查看Android设备属性的命令: getprop adb shell getprop -hlep usage: getprop [NAME [DEFAULT]] Gets an Android system property, or lists them all.(获取Android系统属性,或列出所有属性。) 基于一台...
  • android getprop setprop

    千次阅读 2011-08-31 10:47:38
    android系统启动时属性(getprop得到的属性)写入过程 2010-12-07 13:27 163人阅读 评论(0) 收藏 举报 在init.c文件main函数中会调用start_property_service(),而它分别调用load_properti

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,239
精华内容 495
关键字:

getprop