Android Bytes

…everything is a bytearray after all

Useful Android Terminal Commands

STORAGE SPACE
[code]busybox df -h[/code]
Shows the storage space

MEMORY INFO
[code]cat /proc/meminfo[/code]
“MemTotal” = physical memory minus whatever is being shared with devices (such as the radio, DMA buffers, etc), so it will always be less than the advertised RAM for your tablet.

“MemFree” = whatever is not being used at all. This number will vary depending on what apps and services are running.

“Cached” = typically around 20 MB, that’s just how it is.

“SwapCached” = will always read zero. Android doesn’t actually use this apparently.

FILE SYSTEM SUPPORT
[code]cat /proc/filesystems[/code]
Will show you what file system support was rolled into the kernel. So if you connect a drive that is formatted in something odd you can see if it’s even possible for your phone to read it.

KERNEL MODULES
[code]cat /proc/modules[/code]
or
[code]lsmod[/code]
Shows you a list of the modules baked into the kernel.

FIRMWARE VERSION
[code]cat /proc/version[/code]
Will show you the Linux kernel version (not particularly useful), but the number after the “#” sign will be the firmware build and it will also show you the full date of the build (useful since some firmware is referred to by the date rather than the build number).

MESSAGE BUFFER
[code]dmesg[/code]
Prints the message buffer of the kernel

RESTART ANDROID PHONE
[code]adb shell reboot[/code]
It restarts your phone

RESTART ANDROID PHONE INTO RECOVERY MODE
[code]adb shell reboot recovery[/code]
It restarts your phone into recovery mode

If you found this interesting, please don't forget to like/share it. Like the page too, in order to receive all the updates in Facebook.

You might also like:

    >>Install BusyBox [HowTo]
    >>Terminology
    >>E:can’t open /cache/recovery/command
    >>Desire Ad-Hoc
    >>How to turn off signature verification

Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Difference Between A

The post title is referring to the difference between Android ...

HTC Sense 3.5 is com

coolexe, a very appreciated developer from xda-developers has managed to ...

Asphalt 6: Adrenalin

If you own a Samsung Galaxy S II or a ...

Ice Cream Sandwich S

At Google I/O this year, the newest version of Android ...

Android Hacker's Key

Here’s a full 5-row keyboard including arrow and Esc/Ctrl keys, ...

Difference Between A

The post title is referring to the difference between Android ...

HTC Sense 3.5 is com

coolexe, a very appreciated developer from xda-developers has managed to ...

Free some space on p

Data2Ext is an excellent hack to have your “internal memory” ...

Install InsertCoin R

InsertCoin ROM is one of the best custom ROMs for ...

Flashing a custom HB

Installing a custom ROM may become a little bit frustrating ...