View Single Post
Old 12-16-2011, 08:06 PM   #118
jefftheworld
Groupie
jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.jefftheworld can grok the meaning of the universe.
 
Posts: 190
Karma: 157090
Join Date: Nov 2011
Device: Kobo, Kobo Vox
Found my favourite Android shell command.


getprop returns:

Code:
# getprop
[ro.sf.lcd_density]: [240]
[ro.tether.denied]: [1]
[ro.config.notification_sound]: [Razzle.ogg]
[ro.secure]: [0]
[ro.allow.mock.location]: [1]
[ro.debuggable]: [0]
[persist.service.adb.enable]: [1]
[ro.factorytest]: [0]
[ro.calibration]: [0]
[ro.serialno]: []
[ro.bootmode]: [unknown]
[ro.baseband]: [unknown]
[ro.carrier]: [unknown]
[ro.bootloader]: [unknown]
[ro.hardware]: [freescale]
[ro.revision]: [332080]
[ro.hardware.lightsensor]: [/sys/class/i2c-dev/i2c-1/device/1-0010/input/input3/]
[ro.lightsensor.threshold]: [10]
[ro.build.id]: [GRI40]
[ro.build.display.id]: [pegasus-eng 2.3.3 GRI40 eng.CAN.20111202.095622.40194_Beta test-keys]
[ro.build.version.incremental]: [eng.CAN.20111202.095622.40194_Beta]
[ro.build.version.sdk]: [10]
[ro.build.version.codename]: [REL]
[ro.build.version.release]: [2.3.3]
[ro.build.date]: [Fri Dec  2 10:43:41 PST 2011]
[ro.build.date.utc]: [1322851421]
[ro.build.type]: [eng]
[ro.build.user]: [leotao]
[ro.build.host]: [leotao-desktop]
[ro.build.tags]: [test-keys]
[ro.product.model]: [K080]
[ro.product.brand]: [freescale]
[ro.product.name]: [pegasus]
[ro.product.device]: [imx51_bbg]
[ro.product.board]: [BBG]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.manufacturer]: [unknown]
[ro.product.locale.language]: [en]
[ro.product.locale.region]: [US]
[ro.wifi.channels]: []
[ro.board.platform]: [imx5x]
[ro.build.product]: [imx51_bbg]
[ro.build.description]: [pegasus-eng 2.3.3 GRI40 eng.CAN.20111202.095622.40194_Beta test-keys]
[ro.build.fingerprint]: [freescale/pegasus/imx51_bbg:2.3.3/GRI40/eng.CAN.20111202.095622.40194_Beta:eng/test-keys]
[ro.kobo.build_number_country]: [CAN]
[ro.kobo.build_number]: [1.0.0]
[ro.kobo.internal.build_number]: [1.0.0]
[ro.kobo.locales]: [en_CAN, en_US]
[ro.kobo.platform_id]: [511]
[ro.kobo.beta_url]: [http://download.kobobooks.com/vox/images/beta/]
[ro.kobo.beta.url_locale]: []
[ro.kobo.build_type]: [beta]
[dalvik.vm.heapsize]: [64m]
[dalvik.vm.checkjni]: [false]
[ro.kernel.android.checkjni]: [1]
[ro.setupwizard.mode]: [OPTIONAL]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[persist.sys.dontRemindUmsOn]: [true]
[persist.sys.notRmndUsbCnnctd]: [true]
[persist.sys.timezone]: [America/New_York]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.PERCEPTIBLE_APP_ADJ]: [2]
[ro.HEAVY_WEIGHT_APP_ADJ]: [3]
[ro.SECONDARY_SERVER_ADJ]: [4]
[ro.BACKUP_APP_ADJ]: [5]
[ro.HOME_APP_ADJ]: [6]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]
[ro.FOREGROUND_APP_MEM]: [2048]
[ro.VISIBLE_APP_MEM]: [3072]
[ro.PERCEPTIBLE_APP_MEM]: [4096]
[ro.HEAVY_WEIGHT_APP_MEM]: [4096]
[ro.SECONDARY_SERVER_MEM]: [6144]
[ro.BACKUP_APP_MEM]: [6144]
[ro.HOME_APP_MEM]: [6144]
[ro.HIDDEN_APP_MEM]: [7168]
[ro.EMPTY_APP_MEM]: [8192]
[hw.backlight.dev]: [pwm-backlight.0]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [10095,207380,220208,10096,34384,220208]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[rw.SECOND_DISPLAY_CONNECTED]: [0]
[media.gstreamer.enable-player]: [0]
[media.stagefright.enable-scan]: [0]
[media.stagefright.enable-player]: [0]
[media.stagefright.enable-record]: [1]
[media.stagefright.enable-http]: [0]
[media.stagefright.enable-meta]: [0]
[media.stagefright.enable-vpuenc]: [1]
[ro.FSL_AVI_PARSER]: [1]
[ro.FSL_AAC_PARSER]: [1]
[ro.FSL_ASF_PARSER]: [1]
[ro.FSL_FLV_PARSER]: [1]
[ro.FSL_MKV_PARSER]: [1]
[ro.FSL_FLAC_PARSER]: [1]
[ro.FSL_MPG2_PARSER]: [1]
[ro.sf.hwrotation]: [90]
[ro.FSL_LANDSCAPE_MODE]: [1]
[xec.dls.enabled]: [0]
[xec.aa.enabled]: [1]
[xec.dls.rate]: [0]
[xec.aa.rate]: [100]
[ro.UI_TVOUT_DISPLAY]: [0]
[alsa.mixer.playback.master]: [Playback]
[alsa.mixer.capture.master]: [Capture]
[alsa.mixer.playback.speaker]: [Playback]
[alsa.mixer.playback.headset]: [Headphone]
[alsa.mixer.capture.headset]: [Capture]
[wifi.interface]: [wlan0]
[init.svc.initSystemTime]: [stopped]
[init.svc.servicemanager]: [running]
[init.svc.sdcardlabel]: [stopped]
[init.svc.vold]: [running]
[init.svc.netd]: [running]
[init.svc.dispd]: [running]
[init.svc.debuggerd]: [running]
[init.svc.zygote]: [running]
[init.svc.media]: [running]
[init.svc.dbus]: [running]
[init.svc.installd]: [running]
[init.svc.keystore]: [running]
[init.svc.wpa_supplicant]: [running]
[debug.sf.showfps]: [0]
[debug.sf.enable_hgl]: [1]
[debug.egl.hw]: [1]
[media.omxgm.enable-player]: [1]
[media.omxgm.enable-scan]: [1]
[back_camera_name]: [ov]
[back_camera_orient]: [0]
[ro.opengles.version]: [131072]
[init.svc.console]: [running]
[init.svc.adbd]: [running]
[init.svc.bootanim]: [stopped]
[init.svc.bootsound]: [stopped]
[hw.keyboards.65536.devname]: [mg-capacitive]
[hw.keyboards.65537.devname]: [gpio-keys]
[net.hostname]: [android_xxaxxxxxebxxxeba]
[dev.bootcomplete]: [1]
[wlan.driver.status]: [ok]
[dhcp.wlan0.result]: [ok]
[init.svc.dhcpcd]: [running]
[dhcp.wlan0.pid]: [2540]
[dhcp.wlan0.reason]: [BOUND]
[sys.boot_completed]: [1]
[ro.runtime.firstboot]: [1324082933031]
[dhcp.wlan0.dns1]: [192.168.xxx.xxx]
[dhcp.wlan0.dns2]: []
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[dhcp.wlan0.ipaddress]: [192.168.xxx.xxx]
[dhcp.wlan0.gateway]: [192.168.xxx.xxx]
[dhcp.wlan0.mask]: [255.255.xxx.xxx]
[dhcp.wlan0.leasetime]: [86400]
[dhcp.wlan0.server]: [192.168.xxx.xxx]
[net.dns1]: [192.168.xxx.xxx]
[net.dnschange]: [1]
[init.svc.reset_boot_count]: [stopped]
List of shell commands for android is available here: http://en.androidwiki.com/wiki/ADB_S...mand_Reference

Includes a lot of useful ones like dumpsys and printenv.

Last edited by jefftheworld; 12-16-2011 at 08:16 PM.
jefftheworld is offline   Reply With Quote