Sunday, 4 January 2009

yellowsn0w 0.9.6 - Out soon

The next beta of yellowsn0w is due soon.
It will try to stabilise yellowsn0w by compressing it into one epic at+stkprof.

yellowsn0w State 1: 5dots

This state is the hardest to fix. You can tell you are in this state by toggling airplane mode on/off. You will see "Searching" for less than a second and then back to 5dots.

Test 1:
yellowsn0w -r
toggle airplane.
No change.
No Change

Test 2:
yellowsn0w -r
yellowsn0w -s until successfull.
Signal returned. Unlock successfull.

Test 3: With full signal from Test 2 above
No signal
Toggle airplane
Back to 5dots
Running Test 2 again.

Test 4:
Airplane on
yellowsn0w -r
yellowsn0w -s
toggle off during yellowsn0w -s
"No service"

Test 5:
yellowsn0w -r
yellowsn0w -s
wait 60 secs
airplane on/off
Full signal.

Test 6:
After success from Test 5
Removed sim
reinsert sim
waiting 60 secs
toggle airplane on/off
still 5dots
Repeating Test 5.

Test 7:
Rebooting after success of Test 5.
Signal does not show up straightaway.
Waiting 60 secs.
toggle airplane
5dots :(

Test 8: Restoring iphone (Drastic, yes, but required for test)
Restore to 2.2
Cydia - yellowsn0w 0.9.5
Reboot with sim inserted
Toggle airplane
Full Signal+carrier
Will now reboot
No signal
Waiting 60 secs
toggle airplane mode
Signal found again.

Test 9:
Swapping sim cards
No signal
Waiting 60 secs
toggle airplane
Signal back again.

Test 10:
2 identical iphones
Both running yellowsn0w 0.9.5
Both unlocked
Rebooting both
1st iphone unlocks immediately after reboot
2nd iphone requires airplane on/off after 60 secs.
Why ?

yellowsn0w - The Perfect State

What is the "Perfect State" of yellowsn0w ?

Its where the unlock remains (signal+carrier name)after reboot without user intevention. In this post I will see what can break this state.

Test 1: Swapping sim card for another.

"No Service displayed".
Followed by carrier name of new sim and full signal.
Unlock achieved.
Will now toggle airplane mode.

Test 2: Airplane ON - 10 secs - Airplane OFF.

"Searching" displayed followed by full signal and carrier name.
Will now reboot.

Test 3: After rebooting, unlock remains.

Perfect state not broken.
Will now remove sim and reboot empty.

Test 4: Reboot with no sim inserted.

Will now insert sim to see what happens.
Sim inserted.
Toggled Airplane on - 10 secs - OFF.
"Invalid Sim" displayed.
Full signal after reboot.
Will reboot again.
Still full signal.

Test 5: Same sim removed then reinserted whilst on. Reboot

No signal.
Rebooted again.
Still no signal.
Airplane toggled.
"Invalid sim"
Still no signal.
yellowsn0w -r
yellowsn0w -s (until successful)
Signal returned.

yellowsn0w State 2: "Invalid Sim"

Conclusion: I believe I may have found the answer to fixing the "Invalid Sim" message and achieving the unlock.

Current state: "Invalid Sim"
Run: yellowsn0w - r followed by yellowsn0w -s
Toggle airplane on - 10 secs - off. Reboot. 10 secs later, unlocked.

I will add to this post with my initial findings. Conclusion is written above.

Update 1: Waited 5 mins+. Still shows Invalid sim message.

Update 2: yellowsn0w -r. Invalid Simm message gone. 10 seconds later, full signal.
Will now reboot to see if unlock remains.

Update 3: Before even rebooting, signal lost. Back to 5 dots.

Update 4: Ok,so running -r, signal returns in exactly 25 seconds. 15 secs later "No Service" message followed by 5 dots. Next is toggling airplane mode.

Update 5: Toggled Airplane ON - 10 secs - OFF - Shows "Invalid Sim".

Uupdate 6: -r. signal after 20 secs, followed by "Searching" for 1 sec then 5 dots.

Update 7: -r then -s = "No Service message" for 25 secs. Then 5 dots.

Update 8: -r, wait 25 secs for signal return, then toggle airplan mode on.
Waited 10 secs the airplan off. "Searching" displayed followed by No signal, the 5 dots. "Searching" is good.

Update 9: Toggled airplane mode. "Invalid Sim" displayed. Rebooted iphone. Full signal even longer than 25 seconds. Rebooted again - Signal remains. "Perfect State" achieved.

Experimenting with yellowsn0w - Initial Findings

The ultimate aim of yellowsn0w at the moment (0.9.5) is to achieve the "perfect state". The perfect state is where the unlock works, even after rebooting, without user intervention, e.g. toggling Airplane mode or removing/inserting sim. It does happen but is easily lost if you remove the sim again at any point.

There are 3 other states that you will find at the moment afte installing yellowsn0w and rebooting (with your non-iphone sim inserted):

1. You see 5 dots and no carrier name. Toggling Airplane mode on-off
shows "Searching" for less than a second then back to 5 dots. This is the hardest to fix.

2. You see "Invalid Sim" displayed where the carrier name/signal should be.
This is fixed by the -r option followed by -s (using ywrapper is best).
After -s ends successfully (no resource busy), you should reboot and then wait 10 secs.

3. You see "No service" displayed. This requires the -s option only.
Then toggle airplane mode on/off.

Has anybody seen any other states or different methods of fixing the above 3 ?

Timing is very important. Waiting 60 secs+ before toggling airplane mode, sim insertion or "sliding to unlock" works best. I am still experimenting with the timings to see which works best.

I am first going to start with a universal fix for the "Invalid Sim" message.
I will post my findings in the next post.