adb shell getprop
以华为p30为例:
[]:
[]: true
[]: false
[]: false
[.RemindDataService_1]: false
[.ecclist0]: 000,08,118,110,119,120,122,999
[]: 11
[]: 11
[.short0]: 11
[.short1]: 11
[.vmn_shortcode]: 0
[.matchnum0]: 11
[.matchnum1]: 11
[-country]: cn
[]: false
[]: 46000
[]: 46000
[]: 21C20B392S000C000,21C20B392S000C000
[gsm.national_roaming.apn]: 46003
[]: LTE,LTE
[]: 1656677057007
[]: 676363254
[]: 0
[]: 0
[]: 中国移动,中国电信
[.alpha0]: 中国移动
[.alpha1]: 中国电信
[]: 00
[-country]: cn,cn
[]: false,false
[]: 46000,46011
[.sim1]: -94
[.sim2]: -86
[]: true
[.c_card.plmn]: 46003,1
[.hw_atr]: 3B9F95801FC78031E073FE211B5737866083A0800091
[.hw_atr1]: 3B9F94801FC78031E073FE211357378660A60080120F
[]: 3
[.pin2]: 3
[]: 10
[.puk2]: 10
[]: -1,-1,-1,-1
[]: CMCC,中国电信
[-country]: cn,cn
[]: 46002,46003
[]: LOADED,LOADED
[]: -1
[gsm.sim1.c_card.plmn]: 46003
[gsm.]: -1,-1,-1,-1
[gsm.]: 20
[gsm.]: 43
[.matched0]: false
[.matched1]: false
[gsm..pin1]: 3
[gsm..pin2]: 3
[gsm..puk1]: 10
[gsm..puk2]: 10
[gsm..pin1]: 3
[gsm..pin2]: 3
[gsm..puk1]: 10
[gsm..puk2]: 10
[.]: 0
[]: 0
[]: 0
[]: 21C20B379S000C000,21C20B379S000C000
[-impl]: [CommRil 5.0]
[]: [ELE-AL00 2.0.0.230(C00E230R2P4)]
[.nsa_display_config]:
[.nvcfg_file]: CMCC_CN.bin
[.optimized_for_config_d]: 64,720
[.previousopcode0]: 46002
[.previousopcode1]: 46011
[]:
[.rat_changed_delay_timer]: 10,10
[.request_shutdown]: true
[]: true
[]: true
[]: true
[.]: false
[]: 1
[]: force_on
[]: true
[]: false
[]: 1080
[]: 0
[.audio_mode]: 0
[]: 1
[]: 1654141941
[]: true
[]: 1000
[]: 3
[]:
[]: recovery,1656000698
reboot,hwarmi_reboot,1654179413
recovery,1652033808
reboot,1649009848]
[.base_version]: [ELE-LGRP1-CHN 2.0.0.230]
[.cota_version]:
[.cust_version]: [ELE-AL00-CUST 2.0.0.230(C00)]
[.ecota_version]:
[.module_version]: SYS.MOD2.0.0.17(G0H17)
[]: 0
[.preload_version]: [ELE-AL00-PRELOAD 2.0.0.4(C00R2)]
[.hwpms_error_log]:
[.hwpms_error_reboot_count]: 0
[]: 1
[.click_duration]: 1000
[.click_times]: 3
[.slide_duration]: 5000
[.slide_times]: 16
[]: true
[]: true
[]: true
[]: true
[]: true
[.input_in_advance]: 1000000
[]: true
[.jpg_sample_adapt]: 1
[]: 1
[]: -1
[]: true
[]: 2048
[]: true
[]: 10
[]:
[]: 0
[.use_pi_mutex]: false
[]: true
[.iaware_config_cust]: iaware_cust_ELE-AL00_CN_9_9.1.0.
[.iaware_config_ver]: iaware_config_ELE-AL00_CN_9_9.1.0.
[.iaware_google_conn]: [1639417205, 0]
[.shut_alarm]: [1 1656939660000]
[]: [Mon Mar 14 17:08:29 CST 2022]
[]: [Mon Mar 14 15:36:23 CST 2022]
[]: [ELE-AL00-user 102.0.0 HUAWEIELE-AL00 230-CHN-LGRP1 release-keys]
[]: [ELE-AL00 10.1.0.162(C00E160R2P11)]
[]: [8;1.8 GHz;2.0GB;11.00 GB;16.00 GB;1920 x 1080;10;4.14.116;11.0.0]
[]: [ELE-AL00 102.0.0.230(C00E230R2P4)]
[.base_os]:
[]: REL
[]: EmotionUI_12.0.0
[]: 10.1.0.162C00
[.min_supported_target_sdk]: 23
[.preview_sdk]: 0
[.preview_sdk_fingerprint]: REL
[]: 10
[]: 29
[.security_patch]: 2020-07-01
[.not_forced]: true
[.video_fps_default]: 30
[.warm_start_fadeout_enable]: false
[]: unknown
[]: 46003
[.moffice_eng]: oem00172
[]: 20004_90028
[.koubei_client]: huawei_preinstall
[]: HuaweiPreloadV2
[]: HUAWEI-MATE40-TYC-PRELOAD
[]: 9156
[]: /preload/ELE-AL00/all/cn/xml/
[]: 1169
[]: /preload/ELE-AL00/all/cn/xml/
[]: preload/ELE-AL00/all/cn/xml
[]: /preload/ELE-AL00/all/cn/xml/
[.modem_network]: true
[]: /preload/ELE-AL00/all/cn/lib64/
[]: android-huawei
[]: 10_202005
[]: /preload/ELE-AL00/all/cn/xml/
[]: /preload/ELE-AL00/all/cn/xml/huawei_aweme_400_pre_install.config
[-huawei]: yz-huawei
[.cust_version]: [Cust-CHN 102.0.0.1(0002)]
[.product_base_version]: [ELE-LGRP1-CHN 2.0.0.230]
[.product_base_version.real]: [ELE-LGRP1-CHN 102.0.0.230]
[.product_cust_version]: [ELE-AL00-CUST 2.0.0.230(C00)]
[.product_cust_version.real]: [ELE-AL00-CUST 102.0.0.230(C00)]
[.product_preload_version]: [ELE-AL00-PRELOAD 2.0.0.4(C00R2)]
[.product_preload_version.real]: [ELE-AL00-PRELOAD 102.0.0.4(C00R2)]
[.preas_version]: [Preas-CHN 10.1.0(0000)]
[.preas_version.full]: [Preas-CHN 10.1.0(Q)]
[.preavs_version]: [Preavs 10.1.0(0000)]
[.prets_version]: [Prets 102.0.0(0000)]
[.prets_version.full]: [Prets 102.0.0(X)]
[.pretvs_version]: [Pretvs 102.0.0(0000)]
[.pretvs_version.full]: [Pretvs 102.0.0(X)]
[.product_version]: [Product-ELE 102.0.0(0000)]
[.sys_support_vndk]:
[.system_version]: [System 102.0.0.51(3CWP)]
[.version_version]: [Version-ELE-AL00-000001 102.0.0(000F)]
[.hw_systemversion]: [System 102.0.0.51(3CWP)]
[.marketing_name]: [HUAWEI P30]
[ro.gpu_turbo]: [GPU Turbo]
[]: [Mon Mar 14 15:36:23 CST 2022]
[]: [ELE-AL00 2.0.0.230(C00E230R2P4)]
[.use_vulkan]:
[]: true
[]: false
[.icon_size_narrow]: 165
[]: false
[]: 64K
[]: 1
[]: 0.1
[]: 1
[]: 1
[]: 20220314173404_OBA_VERSION
[]: 1594181882
[]: Huawei/Atlanta/Atlanta_ELE-AL00:10/QP1A.190711.020/20200708121818:user/release-keys
[.ca_product_version]: ELE-AL00
[.nvcfg_normalization]: true
[.key1]: C00R2
[ro.oem_unlock_supported]: 1
[.eligible_device]: true
[]: 196610
[]: 2.0
[]: patch03
[]: /system
[.backlight_ratio]: 80
[]: C00
[]: ELE
[]: HUAWEI
[]: arm64-v8a
[]: arm64-v8a,armeabi-v7a,armeabi
[.abilist32]: armeabi-v7a,armeabi
[.abilist64]: arm64-v8a
[]: HWELE
[]: HUAWEI-Z123
[.first_api_level]: 28
[]: HL2ELLEM
[]: zh-Hans-CN
[]: zh
[]: CN
[]: HUAWEI
[]: 10011
[]: ELE-AL00
[]: ELE-AL00
[]: Huawei
[]: Atlanta
[]: Atlanta
[]: Huawei
[]: generic_a15
[]: unknown
[]: generic_a15
[]: generic_a15
[]:
[]: kirin980
[]: kirin980
[]: HUAWEI
[]: kirin980
[]: kirin980
[]: 01|01|HUAWEI|01|02|01
[.hwkeychain_switch]: true
[ro.property_service.version]: 2
[ro.quick_broadcast_cardstatus]: false
[.vsim_modem_count]: 4
[.vsim_support]: true
[]: 0
[]: 0
[]: 112,911,#911,*911
[]: normal
[]: 1
[]: 8KE5T19911022895
[.use_dts_hwversion]: true
[]: DISABLED
[.rotation_locked]: true
[.enable_backpressure_opt]: 0
[.lcd_density]: 480
[.pg_nfb_kill]: true
[.ping_bf_dorecovery]: true
[.powerup_reason]: NORMAL
[]: true
[]: [Mon Mar 14 15:36:23 CST 2022]
[]: [Mon Mar 14 17:08:29 CST 2022]
[]:
[]: zygote64_32
[security.perf_harden]: 1
[selinux.restorecon_recursive]: /data/misc_ce/0
[]: 1
[]: 1
[.download_time]: 892945314
[.present_timestamp]: 1
[]: glif_v3_light
[]: true
[]: 1
[]: 60
[]: 75
[.power_mode]: 2
[]: 55
[.always_switchable]: 1
[]: 101286913
[]: 11.0.0.4
[]: 1
[sys.bms_limit_mode]: normal
[]: recovery
[]: recovery
[sys.boot_completed]: 1
[]: start
[.boot_completed]: 1
[]: true
[sys.distributedfile_feature.enable]: true
[]: true
[]: false
[]: 0
[]: true
[]: true
[sys.hw_boot_success]: 1
[sys.hw_multiwin_for_camera]: -1
[sys.hw_sc.pg.user_mode]: unsleep
[sys.hw_sc.pg.user_mode_not_care_charge]: wake_up;-1;0
[]: true
[]: 0-3
[]: 0-7
[]: 0-7
[]: 0-3
[]: 0-3
[]:
[]: 0-7
[]: 2-3
[]: 4-7
[]: 0-7
[]: 2-3,5
[]: 0-3
[]: 4-7
[]: 0-7
[]: true
[.empty_app_percent]: 50
[]: 28
[.switch_set_success]: true
[]: 28
[sys.isolated_storage_snapshot]: true
[]: false
[]: 1
[sys.nvcfg_errorno0]:
[sys.nvcfg_errorno1]:
[.nat_status]: 300000
[.pre_rescue_boot_count]: 1
[sys.rescue_boot_count]: 1
[]: normal:COLDBOOT
[]: 0
[sys.runtime_data.]: true
[]: 1
[]: pid=25271;appType=28
[sys.settingsprovider_ready]: 1
[sys.show_google_nlp]: false
[sys.super_power_save]: false
[.extra_free_kbytes]: 61440
[.tcp_def_init_rwnd]: 60
[sys.system_server.start_count]: 1
[sys.system_server.start_elapsed]: 7651
[sys.system_server.start_uptime]: 7651
[.vr_fps]: 0
[.vr_ratio_height]: 0
[.vr_ratio_width]: 0
[.vr_warning_level]: 0
[sys.trigger_bms_heating]: 0
[]: true
[]: hisuite,mtp,mass_storage,adb,hdb
[]: 1
[]: ff100000.dwc3
[]: 1
[.ffs_hdb.ready]: 1
[.device_type]: 3
[.set_default]: true
[]: hisuite,mtp,mass_storage,adb,hdb
[sys.use_memfd]: false
[.0.ce_available]: true
[]: false
[]: false
[]: 1
[system_init.hwextdeviceservice]: 1
[vold.crypto_unencrypt_updatedir]: /data/update
[]: lock
[vold.has_adoptable]: 0
[vold.has_quota]: 0
[vold.has_reserved]: 1
[vold.post_fs_data_done]: 1
[]: p2p0
[]: wlan0
可以通过反射的形式获取对应的值:
private static String getProperty(String key) {
try {
Class<?> c = ("");
Method method = ("get", , );
return (String) (c, key, "");
} catch (Throwable e) {
("getProperty:", ());
}
return "";
}