Wednesday, September 12, 2007

Free iPhone SIM Unlock Software

Engadget reports that there is a free iPhone unlock software :-)

Go here

What more .. its open source too... here is a snippet




int main(int argc, char **argv)
{
const char * hehe = RE;
int fd;

credit();

if (argc != 3)
usage(argv[0]);

void * secpack = malloc(0x800);
ReadSecpack(argv[1], secpack);

void * fw = NULL;
int fwsize = 0;
fw = ReadBL(argv[2], &fwsize);

RestartBaseband();
fd = InitConn(115200);

GetVersion(fd);
CFIStage1_2(fd);
SendBeginSecpack(fd, secpack);
SendErase(fd, 0xA0020000, 0xA03bfffe);
Seek(fd, 0xA0020000 - 0x400);
unsigned char foo[0x400];
memset(foo, 0, 0x400);
SendWrite(fd, foo, 0x400, false);
SendWrite(fd, fw, fwsize, true);
SendEndSecpack(fd);
ValidateFW(fd, fw);
printf("Completed.\nEnjoy!\n");
free(fw);

return 0;
}

No comments: