Android: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 22: Line 22:
run command on device and handle output locally.
run command on device and handle output locally.
  adb shell ls /system/bin | less
  adb shell ls /system/bin | less
==mount filesystem rw==
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Revision as of 05:28, 24 October 2010

My android device is a htc desire.

protection

installation

http://techgeeks-online.com/2010/zagg-invisible-shield-install/

root

http://www.tech-exclusive.com/2010/10/17/guide-to-root-android-2-2-on-htc-desire/

shell access

access. /etc/udev/rules.d/51-android.rules

SUBSYSTEM=="usb" ID_VENDOR_ID=="0bb4", MODE="0666"
SUBSYSTEM=="usb" ID_VENDOR_ID=="18d1", MODE="0666"
SUBSYSTEM=="usb" ID_VENDOR_ID=="05ac", MODE="0666"

start device manager

adb usb

kill device manager

adb kill-server

display devices.

adb devices

get a shell on device

adb shell

run command on device and handle output locally.

adb shell ls /system/bin | less

mount filesystem rw

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system