Archive for the ‘Geek Corner’ Category

Quick fixup for iPhones Jailbroken by blackra1n

Sunday, October 25th, 2009

iFunbox relies on the AFC2 service to access the root file system of iPhones. AFC2 is usually enabled when jailbreak as many previous Jailbreak tools do. If AFC2 serivce is not enabled, iFunbox will recognize it as a jailed iphone and access the file system with AFC service.

Rcently iFunbox is found recognizing iPhones jailbroken by blackra1n as jailed ones. The reason is that the AFC2 service is not enabled in blackra1n’s jailbreaking procedure.

A quick fixup is to install a tiny app from Cydia, afc2add to enable the AFC2 service on iPhone.
More details can be found at:
http://www.ihackintosh.com/2009/10/afc2add-solve-ifunbox-iphonebrowser-diskaid-with-blackra1n-phones/

Thanks “Helper” for the message.

Call for iPod alternative

Sunday, September 27th, 2009

After several rounds of fighting against Apple’s iTunes database, we decide to stop following any further variations of the new database format. Instead, we are looking for alternatives of the iPod application on iPhone/iTouch.

Our plan is to provide an open, efficient and easy-to-use solution for obtaining and enjoying video and music on iPhone. The key of the solution is to establish an open, flexible and efficient standard of playlist exchange format, which describes a list of the video and music on iPhone and their associated information such as album title, cover and the year of publish. Such a standard bridges the mediaplayer on iPhone and File browsers on PC/Mac and provides the seamless user experience of copy-and-play of media files in any format. On the other hand, we are open to alternative ideas.

We are calling for collaborations with iPhone developers who are working on mediaplayer/file browser. We are working on a dedicate edition of the ifunbox to convert and transfer media files from PC/Mac to iPhone via high-speed USB connection.

AFCGetFileInfo is missing on iTunes 8.2

Tuesday, June 2nd, 2009

The recent release of iTunes 8.2 ship with an updated iTunesMobileDevice.dll which is slightly not compatible with previous one. At least, we found an important function “AFCGetFileInfo” is removed from its exported functions. The function is used to look at the type (file or directory) of the entries of the filesystem as well as the size of the file, which is frequently used in file browsing applications like iFunbox. Now iFunbox got instantly crash after start up because on-demand loading of this function fails. For other applications that is hardly linked with iTunesMobileDevice.dll may refuse to start up.

We are seeking for work around.
The problem is just fixed, we released an updated version 0.8.250.160.

iTunesMobileDevice.dll Changed in iTunes 8.0

Saturday, September 13th, 2008

Many users reported iFunBox crashes after iTunes was updated to v8.0. We found the USB communication runtime library (iTunesMobileDevice.dll) was changed which cause iFunBox failure. The problem has been fixed in the newly released iFunBox v0.6.199.35.

More precisely, the memory layout of the structure am_device was extended 105bytes. The structure is used in many fundamental call for communicating with iPhone via USB port. Though the meaning of these addtional bytes is not clear to us, fortunately we don’t need to know that. The structure is created by the runtime library and feeded to other calls.

The updated am_device structure is defined as:
struct am_device {
unsigned char unknown0[16]; /* 0 - zero */
unsigned int device_id; /* 16 */
unsigned int product_id; /* 20 - set to AMD_IPHONE_PRODUCT_ID */
char *serial; /* 24 - set to AMD_IPHONE_SERIAL */
unsigned int unknown1; /* 28 */
unsigned char unknown2[4]; /* 32 */
unsigned int lockdown_conn; /* 36 */
unsigned char unknown3[8]; /* 40 */
unsigned char unknown4[6*16+1]; // + in iTunes 8.0, by iFunbox.dev
unsigned char padding[8]; // + in iTunes 8.0, by iFunbox.dev
};

Windows Register Hacking

Sunday, August 3rd, 2008

Override the Unicode codepage
The codepage used to convert non-Unicode plain text to Unicode text is obtained with GetACP call by default. The codepage can be overridden by save a DWORD value under
“HKEY_CURRENT_USER\Software\i-funbox.com\i-FunBox\Preference” with name CodePage.