My favorites | Sign in
Project Logo
                
Search
for
Updated Oct 23, 2007 by compuguy1088
Labels: Phase-Deploy, Phase-Requirements
oneSIM  
oneSIM patches back!

What is oneSIM ?

Note: this has nothing to do with the upcoming 'revirginator'. But stay tuned for that!

oneSIM is an "undo" of anySIM 1.1. It reverses the patches made by anySIM 1.1. It's useful to developers, researchers, and testers. BUT end users should read the next section if you haven't yet applied anySIM 1.1. (It will save you one or more unlock counts! Those counts add up...to "5" specifically)

oneSIM un-patches the bytes that anySIM changes, back to their original values :) It's a useful tool to quickly undo anySIM 1.1, to help further testing.

oneSIM 1.1 is an "undo" ONLY for iPhones patched with anySIM 1.1 owned by developers, researchers, and testers (thank you, testers!)

Are you about to use anySIM 1.1?

ATTENTION: The issue with NCK in anySIM 1.1 is being further investigated. Please don't rush with your judgments.

Zibree found an oversight with anySIM 1.1. It needlessly increases your NCK unlock attempt count. Given how early we are in the iPhone "cat and mouse" game, you probably don't want to waste those counts.

If you are about to unlock using anySIM 1.1, you may want to make a patch first! anySIM 1.1 still executes the command AT+CLCK="PN",0,"00000000". That command was needed by anySIM 1.0x because of the specific patch used. But the new patch no longer requires it. The command will make your NCK unlock counter increment -- why do that if you don't need to?.

To patch it, take an HEX editor and search for the AT+CLCK command above. Patch it to be "ATZ" followed by 0x0d \x00.

That's all folks!


Comment by mprobst, Oct 22, 2007

According to netkas, the AT+CLCK command was already commented out in anySIM 1.1... which explains why it is present in the code, but not executed.

Comment by inactiv8, Oct 22, 2007

commented parts of code do not end up in the compiled binaries

Comment by geohot, Oct 22, 2007

The unlock counter doesn't matter, just revirginize. And why would anyone need this program, just bbupdate.

Comment by mprobst, Oct 22, 2007

Interesting, I didn't know that commented parts of code do not end up in the compiled binaries... so is the AT+CLCK command found in the anySIM 1.1 binary?

Comment by stevecav, Oct 22, 2007

>>Interesting, I didn't know that commented parts of code do not end up in the >>compiled binaries... so is the AT+CLCK command found in the anySIM 1.1 binary?

you can see the source in the first link given... The AT+CLCK command is compiled into the binary because the function is still there. But the Call to the function is commented out so it is Not Executed.

Comment by zibree, Oct 22, 2007

geohot: the same reason why people would need your lamered versions of GRAY programs.

It is just useful and fast and all in one.

About the CLCK i rechecked the disassembly... and i think it's not executed. BUT, I wonder why my phone xsimstate was 5,0 before anysim1.1 and now it's 1,0 even with normal firmware and at&t card.

Explain me this please, if you can.

Comment by tesh008, Oct 23, 2007

Please can someone give me a more detailed guide to revirginize my iphone. I don't have great technical knowledge.

Please help

Comment by tmfromer, Oct 25, 2007

If I already used the standard anySim 1.1.1, should I run oneSim and then the patched anySim 1.1.1 (both found here), so that I reset my unlock counter and then re-unlock?

THANKS!

Comment by marc.ro...@mac.com, Oct 25, 2007

according to netkas' posting above of the link to the source code of anySIM 1.1 - the string is present in the code, and will be present in the compiled program, the call to the function that uses the string is commented out

Assuming the source is correct - this should be a non issue

Comment by tmfromer, Oct 25, 2007

OK, thanks! Is it worth checking the state of the unlock counter on my phone (using minicom, if I figure out how to do it)?

Also, I thought "good" compilers would notice that there are no calls to a specific function Unlock(int fd)? and then NOT INCLUDE this code in the binary? But, I guess I'll just take netkas's word for it...

Comment by rached, Nov 02, 2007

is there a reason I cant move the slider to relock my iphone?

Comment by zo.spam, Nov 03, 2007

can this reverse the effects of iUnlock as well?

Comment by oskar.krawczyk, Nov 09, 2007

@rached, install BSD subsystem (I had this problem) and re-start your phone.

Comment by plonkerkg, Nov 17, 2007

Can oneSIM be used after anySIM 1.2 has been used to successfully unlock 1.1.1 ? I have Unlocked 1.1.1 with anySIM 1.2 but my sim card can find no carrier so I tried unlocking again with AS1.2, this caused an error and now I think I need to re-lock. Any thoughts?

Thanks for taking the time

Comment by jaturapat, Nov 25, 2007

The new 04.02.13G baseband will work with 1.0.2 and 1.1.2, not with 1.1.1. If you upgrade to 1.1.2 or downgrade back to 1.0.2, you'll get the signal again.

Comment by wkwan01, Nov 26, 2007

Dear team. I ran Anysim 1.1 with AppSnapp? on my AT&T activated 1.1.1. It ran fine and said the phone is unlocked. When I put another SIM in, it said diff sim and asked to connect to iTune. Can use onesim to 'restore' to jailbroke condition and try anysim 1.1 again? or this is not the right way to unlock it? Thanks in advance.

Comment by hgfontana, Dec 03, 2007

Hi, guys. I have a problem with my iPhone. When I ran the anySIM (1.1) by mistake I live a AT&T SIM (because I can't access to the emergency pad at this moment). It ran ok, I connected whit the iTunes successfully. But when I want to use my SIM (from other provider) the iTunes(any version) say that the phone is NOT ACTIVATED!! but I can make a calls and recive. So I think to going to use "oneSIM" to revert the process and then run again the anySIM, with my SIM. It going to work? or somebady have a better idea!!!! ASAP, plese... Thanks

Comment by ramejan, Dec 12, 2007

I just used this tool to revert changes from previous running of anySIM, works great! I needed to switch SIM card to another operator so I kept the old SIM in the tray, then I ran oneSIM rebooted iPhone with new SIM ran anySIM and reactivated iPhone with new ICCID

Comment by b.st...@21torr.com, Dec 17, 2007

minicom tells me:

AT+XSIMSTATE=1 +XSIM: 2 +XLOCK: "PN",2,4,"PU",4,4,"PP",4,4,"PC",4,4,"PS",4,4

What does this mean?!

Comment by namjam105, Feb 07, 2008

Add Source installer : http://iphonebaidu.com/app/ Test iPhone - iPhone Simulator : http://iphonebaidu.com/test/ All Software for Apple MAC : http://iphonebaidu.com/mac-iphone/ All Software for Apple iPhone : http://iphonebaidu.com/mac-iphone/iphone.html

Install iTransformy (.swf) view for iPhone : http://iphonebaidu.com/beta/ Forum, DOwnload Themes, Apps for iPhone. http://iphonebaidu.com/forum/

Copyright © 2008 iPhone Baidu! Inc. All rights reserved


Sign in to add a comment
Hosted by Google Code