12/30/2007

setconsole and tty1

setconsole -v 1 command in android shell switches the display from Android GUI to a text console. But the text console on Zaurus couldn't work correctly because android-root/init wants /dev/tty1 which is already taken by Linux console.

A dirty work around. Change the Linux console to /dev/tty2. Edit the last line of /etc/inittab;
1:2345::/sbin/getty 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
Then reboot and ./start-android.sh.

console.png

Pressing [Fn] and cursor at the same time switches the display between Android GUI and the text console. In the text console, Android shell commands like getprop, setprop, service call and mem_profiler can be executed.

In emulator environment, these commands can be run by adb shell.


posted by 安藤恐竜 at 23:50 | Comment(0) | TrackBack(0) | 日記
Comments for this entry
Leave your comment
Name: [Must]

EMail: [Must]

URL: [Must]

Comment: [Must]

Confirmation Code: [Must]


Type in alphabets what you see in this image.

Trackbacks to this entry