signyesyes.jpg

FAQ

Assorted Q&A:

Why is XX not documented in this wiki?

Document it yourself. Just log on and do it.

How do I make a yaffs2 image?

Here's an example of creating a yaffs image from a mtd device:

# mkdir /cust

# mount -t yaffs2 /dev/block/mtdblock22 /cust

# mkyaffs2image-arm-uclibc /cust /sdcard/cust.img

How do I extract files from a yaffs2 image?

# cd /path/to/destination

# unyaffs-arm-uclibc /path/to/yaffsfile.img

How can I force the rotation of the display from inside a shell script?

As suggested by nadlabak, we can simulate the event that corresponds to the slide keyboard being opened, which has the side effect of rotating the display.

# simulate keyboard slide out
sendevent /dev/input/event4 5 0 0
# simulate keyboard slide in
sendevent /dev/input/event4 5 0 1
 
tools/faq.txt · Last modified: 2010/07/25 22:54 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki