2009年7月29日 星期三

Useful tool: unyaffs

To get proprietary files from ADP1 factory image, unyaffs is useful. http://code.google.com/p/unyaffs/

I downloaded both unyaffs.c and unyaffs.h. And:
pfeng@fengdroid:~/android/tools/unyaffs$ gcc -O2 -o unyaffs unyaffs.c
pfeng@fengdroid:~/android/tools/unyaffs$ strip unyaffs
pfeng@fengdroid:~/android/tools/unyaffs$ ls
unyaffs unyaffs.c unyaffs.h


Steps to get all the files from the factory image, using 1.5 as an example:
1. Download the ADP1 factory image files from HTC: http://www.htc.com/www/support/android/adp.html
2. pfeng@fengdroid:~/android/htc$ unzip signed-dream_devphone_userdebug-img-148830.zip
Archive: signed-dream_devphone_userdebug-img-148830.zip
inflating: boot.img
inflating: recovery.img
inflating: system.img
inflating: userdata.img
inflating: android-info.txt
3. pfeng@fengdroid:~/android/htc/system$ sudo ~/bin/unyaffs ../system.img

1 則留言:

  1. Its a acceptable information and i would like to thank you for the efforts which you have made in fabricated this article. I am hoping the same best assignment from you in the future as well. I look forward your next information will be a nice and great it will.

    Android app developer

    回覆刪除