Help with afptool unpack

xombie

Member
Mar 3, 2011
3
1
afptool does not unpack. I just get a usage message. I tried it both with wine and on a real winxp box with the same result. Maybe a bad rktools download(got its' link here by sunigirl). Any ideas?

pdc@pdc-desktop:~/Android$ wine afptool -info backup.img
Check file... OK
Manufacturer: rock-chips
Machine model: TR718D
Bootloader: v5.01 2010-11-9 17:49:19
Kernel: Linux version 2.6.25 (root@zuominggang) (gcc version 4.4.0 (GCC) ) #190 Tue Jan 11 17:23:32 CST 2011
Boot: v1.01
Recovery: v1.01
System: G�Ye}%���.���

pdc@pdc-desktop:~/Android$ wine afptool -unpack backup.img test
USAGE:
afptool.exe {Option} Src [Dest]
Example:
afptool.exe -info update.img Show file info
afptool.exe -pack xxx\ update.img Pack files
afptool.exe -unpack update.img xxx\ unpack files
 

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
RK2818 afptool is missing unpack. Use RK2808 afptool to unpack.

While you are at it, system.img comes encrypted default. You are better off making your own via a system dump, then signing the new cramfs img with rkcrc.
 

SFlummox

Member
Mar 7, 2011
4
0
I was also having trouble unpacking the eGlide.img file downloaded via sunigirl's link. When I used the -info switch, I got "Check file...OK" but the strange characters for System: made me suspect a corrupted file. I downloaded it a few different times, and tried putting the .img file in different locations. My fourth or fifth try, I downloaded directly into the \rockdev\image directory, and extracted it from there. It finally worked! I don't know whether it was the location or finally a good download (although the System: text still looks the same to me).

D:\MydroidDevTool_v1.0\rockdev>afptool -info image\eglide.img
Check file... OK
Manufacturer: rock-chips
Machine model: TR718D
Bootloader: v5.03 2010-12-10 17:18:48
Kernel: Linux version 2.6.25 (root@zuominggang) (gcc version 4.4.0 (GCC) ) #195
Wed Jan 12 16:55:59 CST 2011
Boot: v1.01
Recovery: v1.01
System: G÷Ye}%⌠▌╘.└Ç÷δ
 
Top