yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z General] nicky.m:
As far as I recall, guhl99 has tried contacting htc who said they can fix that technically but won't do so (if I interpret that right). But that's a good try to approach them again anyway.

After all, a remote firmware fix is the simplest solution.
[G2 and Desire Z General] hersam:
Anyone play with the g2 source related with problem
[G2 and Desire Z General] he3r0:
I did my second one, OTA and root and S-OFF, and than sim unlock with code from ebay. And it works.

Make sure to have battery fully charged and do not pull battery till it reboots itself.

Good luck.
[G2 and Desire Z General] sambolee:
Is there a good tutorial that I can follow to root and s-off? Did you use visionary?
[G2 and Desire Z General] guhl99:
The G2 source is absolutely not related or helpful for the problem.

The problem is caused by the radio firmeware and/or the bootloader and both of them are closed source.
[G2 and Desire Z General] he3r0:
http://www.youtube.com/watch?v=tU9zn_BEth4

That is what I used as a guide, watch it twice before doing it. And I downloaded firefox for android so I could download files directly to the phone, and with astro decompress them to root of sdcard, so I did not had to use a computer (I had visionary 12 already) and adb was not needed in this case.

Good luck.
[G2 and Desire Z General] sambolee:
Thanks and is there a link? and did you use soft keyboard or slide out keyboard for unlock? lastly which ebay guy did you use for the unlock code?
[G2 and Desire Z General] guhl99:
Update regarding the RebelSIM

Hi!

I got the RebelSIM today and the outcome is the following.

- I can scan for networks using the RebelSIM together with one of my test SIMS.

- It spoofs the MCC/MCN 00101 which is the testing codes

- The phone connected to the default network of the SIM but after about 1 minute it lost the connection.

- Since then the phone still can scan for networks but can not connect to any network anymore

This basically means that the RebleSIM is able to work around the SIMLOCK but my network carrier does not allow a testing IMSI in the network.

So this is not a usable solution for me, but it might work for others.
[G2 and Desire Z General] ekwon:
Hi

I'm order a rebel-sim too ( i 'm waiting )

You update it with the last firmware 1.3 Beta ?

http://rebelsimcard.com/virtu/index.php?option=com_content&view=article&id=6&Itemid=6

Maybe Rebel Sim II Configuration Software v1.00 allow to set a specific MCC/MCN ?
[G2 and Desire Z General] he3r0:
sorry somehow forgot to paste a link ;/ silly me

http://www.youtube.com/watch?v=tU9zn_BEth4

Slide out keyboard for code, though i had weird occurence while doing it*

unlock code form this auction:

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250712038132

(first unlock code I`ve got from t-mobile, but since i replaced my brick, they told me that for next code i have to wait 90 days... so i`ve ordered that one)

*)i`ve nnoticed that with double-tap of alt key (that should enable numbers oon keyboard) pressed numbers did not correspond with the displayed numbers, hence code that appear on screen was different, but while holding alt button, pressed numbers were same as displayed, so i known that code i`ve input was same as code i`ve got)
[G2 and Desire Z General] amarsana:
g2 s-off

where are you located? have you tried with a network overseas???

can someone post a detailed process for noobs like me how to root and S-OFF please. thank you
[G2 and Desire Z General] hersam:
Good News, i think it's one solution before permanent solution announce from xda community here, and also from guhl99 :-)

Btw : which package if rebel you suggest to buy, is hardware program necessary to buy ?
[G2 and Desire Z General] guhl99:
Hi, yes I updated with the latest 1.3 beta.

The Configuration Software lets you specify a specific MCC/MCN and a customized unlocking order. But I did not figure out a configuration yet where the phone accepts the SIM and the network also.

It's a time consuming process and I do not have to much time at the moment.

btw.: You need a programmer too if you want to be able to use customized settings.
[G2 and Desire Z General] hersam:
@guhl99, which rebel sim that you bought ? T-mobile rebel sim II or htc desire z/ hd7 mozart v.1.3 Beta. ?

Just make it sure before put an order for rebel sim.
[G2 and Desire Z General] he3r0:
Hint: look left...

Atm im in Poland using polish Plus prepaid.
[G2 and Desire Z General] andrewklau:
This is really depressing, as I just got off the phone with HTC. No fix until a few months after release, and it will cost $0 not including shipping, but it will take 2 weeks to repair it + the 2+ weeks for the shipping = 2 months (minimum) + 1 month for repair to get my phone repaired by HTC... this is just stupid....

Which does not include the hassle of having to unroot, package etc. I hope we get some sort of solution here on XDA, or Nipple has found a way to finally break into the radio. Soon, really sucks showing off an android ipod touch (you know)
[G2 and Desire Z General] hersam:
Originally Posted by guhl99 View Post

And one never stops learning!

Code:

AT+CFUN=1

And here I receive the answer: @SIMLOCK: C3AB

report your results!!!

I did for my t-mobile G2 which successfully unlocked (still with no-service issue)

AT+CFUN=1

results = 0

is that means radio is unlock ?
[G2 and Desire Z General] hersam:
@guhl99

I try this following command :

ATE1

ATV1

AT@SIMLOCK=0,1,code <--- replace "code" with your unlock code

AT@SIMLOCK=0,2,code

AT@SIMLOCK=0,4,code

AT@SIMLOCK=0,8,code

AT@SIMLOCK=0,16,code

AT@SIMLOCK=0,32,code

AT@simlock?40

1 to 8 give status OK

but AT@SIMLOCK=0,16,code status error

Any idea
[G2 and Desire Z General] guhl99:
Not necessarily!

What is the output of:

ATE1
ATV1
AT@SIMLOCK?40
AT@SIMLOCK?80
AT@SIMLOCK?AA

if AT@SIMLOCK?40 reports 0 or 00 then you are unlocked!
[G2 and Desire Z General] guhl99:
Interesting!

What is the output of

ATE1
ATV1
AT@SIMLOCK?40
AT@SIMLOCK?80

now?
[G2 and Desire Z General] sambolee:
Thanks again, I will try to root it now as I received the phone today...Do I need to do anything for S-OFF or is that automatic once it's rooted? I noticed that there's an updated version of Visionary, should I go with the most updated version?
[G2 and Desire Z General] seri:
I would like to try the AT-command. but, I'm using Windows OS(Windows 7).

Could you teach me how to use serial console over USB by Windows?
[G2 and Desire Z General] guhl99:
I am so not in Windows but I know that there is a program called mtty.exe out there (you will find something here in XDA) but the main problem will probably be to find a driver that attaches a serial device to the USB id vendor=0x0BB4 product=0x0C94 (which is the device when it is waiting in hboot)

But maybe there are some windows people out there that can help.

Or you get yourself a VirtiualBox ( http://www.virtualbox.org ) let it manage this USB device and set up ubuntu in it.
[G2 and Desire Z General] hersam:
Will continue after my working hour ... I will update this night.

I just stop last night after got error.

Rgds
[G2 and Desire Z General] hersam:
AT@simlock?40

@SIMLOCK= 00

OK

AT@SIMLOCK?80

@LOCKTIME: 00

OK

Everything looks OK .. but still found signal problem ...

Using Antena widget :

Signal = 85 dbm, 99 asu

Operator = (empty)

Network= GSM, UNKNOWN

Using Signal Test3g : 99/31

Still don't get any signal ... is that hardware related problem. ?
[G2 and Desire Z General] he3r0:
no. it is software problem,

hardware detects the signal @85 dbm's

you do not have connection to the network. (what you are reffering as signal)

(same you'll get putting code *#*#4636#*#* )
[G2 and Desire Z General] gnormal:
if i can find a guy with this megasim in this video (not THE guy in the video with with the scary thumbnail, but a guy with the same sim), would it solve my problem (thread title)?

i think i know a guy in manila.

i can try tomorrow if you tell me what to ask for / be careful of.
[G2 and Desire Z General] seri:
Thank you for advice.

I tried AT-Command in Ubuntu on VirtualBox.

AT+CFUN=1

@SIMLOCK　:　D8F3

AT@SIMLOCK=0,1,code

ERROR
[G2 and Desire Z General] benweya:
Suprise: Lock screen return

Hey, been following this thread patiently, I input the code and had the same problem as you guys,succesful but no service. I patiently played with my 'android ipod touch', rooted it, and installed Modaco's Sense ROM, put in my sim card and Suprise suprise, it asked for my unlock code again, should I retry the code or just wait for a solution? I could help with more info if you guys need anything.

BTW I never installed the OTA update..
[G2 and Desire Z General] guhl99:
NO, don't enter the unlock code again.

This is already a known symptom (gpou did this some time ago), that the Desire Z ROM (=Sense ROM) brings back the unlock screen, but if you enter it again it will fail and it will increase you lock count.

So don't do this.
[G2 and Desire Z General] guhl99:
Welcome aboard! Your SIMlock data is as corrupted as ours. :(
[G2 and Desire Z General] guhl99:
No your phone is working and unlocked this is a software problem.

Could you check your network type in *#*#4636#*#*.

What is the network you are trying to connect to and what is your settings.
[G2 and Desire Z General] hersam:
I check phone information, and network wcdma preffered

I can't change to gsm only but can change to other options on the list.

Nothing happen with signal

Any idea why I can't choose gsm only, I am try to use it to connect to indonesia isp telkomsel
[G2 and Desire Z General] nicky.m:
Hi,

Will the lock count matter if there is a way to unlock by a firmware fix or any way at all?

Thank you.
[G2 and Desire Z General] y0:
Just to help you out people

if you are in

1=(ENGLAND) UK

2=(Georgia) USA

3=(Gujrat) INDIA

4=(SHANGHAI) CHINA

than contact me in PM i will pm you the addreses of the owners of the MEGA-SIM which can fix you phone in 1 minute maximum i do not know what they will charge you so dont ask about it

BTW

The big THUMBNAIL guy is not me i am just a video uploader :D
[G2 and Desire Z General] hersam:
Is rebel sim card solve your problem now ?
[G2 and Desire Z General] hersam:
Any good info about rebel sim card,

I can't order the card because indonesia not in the destination

Shipping list, should back and try order from singapore.

But anyone success with rebel sim v 1.3 beta.
[G2 and Desire Z General] ekwon:
I hope :)

2 ways

First

Your provider allowed to use test code for MCC/MCN (00101) without lost the connection like ghull99.

Second (more difficult)

With Rebel Sim II Configuration Software , you can set a custom MCC/MCN code

I' testing when I will receive it
[G2 and Desire Z General] guhl99:
RebelSIM. phone stack and other things, ...

The issue with the RebelSIM (and TurboSIM) that I have is the following:

- To work around the SIMLOCK of the phone the RebelSIM has to answer an IMSI beginning with the MCC/MCN 00101...

- The network providers in my country don't allow the 00101 IMSI in there network

You can use the Configuration Software of the RebelSIM to specify at which IMSI request the RebelSIM answers which MCC/MCN like i.e at the first request answer 001/01 and on the second 310/260 and so on.

The only problem is that the phone asks only once.

I know this because using the TurboSIM for which I program my own firmware I can count and display the number of requests for the IMSI and the phone asks only once.

So I first tried to modify my modified libril.so some more for something like a man in the middle attack to send a second request for the IMSI even if the phone does not request the IMSI a second time. This turned out to be complicated because the information that the libril.so sees is serialized in parcels and it is rather complicated (at least for me) to spoof in an extra request and don't mess up the complete message sequence.

So I gave up this attempt and moved one level higher and started to build cyanogenmod from sources (which I completed yesterday night). Now I will modify the RIL.java in the internal telephony framework of Android to make the phone ask for the IMSI again before it connects to the network.

The theory is that for this second request the TurboSIM (and this can also be done with the RebelSIM) will answer my real IMSI and then I hope (but this is really just pure hope) that first the radio-firmware will not block the second IMSI request and second will use the this second IMSI to connect to the network.

So you see there is some complicated things involved here and I still don't know if it will work.

If my attempt fails, it still might be that your carrier accepts the 001/01 in its network and the RebelSIM will work out of the box (there was a guy from asia in the beginning of this process who actually was able to use the G2 with such an IMSI) in his country.

If this fails for me then there is still some hope:

The developer who did the perm-lock hack is already very close to working around the security checks in the radio. His current way is far too risky for most of us but sooner or later it will work. Don't go asking for this at the moment and DON'T EVEN THINK about trying this a home :-) - This will turn your now perfect PDA into an even more perfect paperweight.

So, back to coding and debugging, ....

have fun
[G2 and Desire Z General] andrewklau:
Hi Guhl,

So really most of us should just wait as IntuitiveNipple(?) should have the radio "rooted" for us soon?

Thanks.
[G2 and Desire Z General] guhl99:
Well, it has not been IntuitiveNipple but scotty2 who did the perm-root hack and there is no time frame for "soon".

But at least there is hope.

btw: My TurboSIM attempts failed yesterday. I do send now a second IMSI request (AT+CIMI) before scanning for networks but the radio reports the 00101... again. So either my code on the TurboSIM is incorrect or the radio firmware does not ask the SIM for the IMSI again on another second request.
[G2 and Desire Z General] andrewklau:
Thanks for the update. I thought IntuitiveNipple who was trying to root the radio, but I guess I was mistaken. It saddens me to see an expensive PDA but I guess time will tell, also for those who are interested.

In about 1-2 months time, HTC has told me that they will be able to fix our G2s!!! The only reason why they don't do it now is the phone is "too new", now I'm not sure what that means as I would assume they do repairs as soon as the phone is released. But they said in about 1-2 months time they will be able to offer repair services for the G2. Hopefully we don't have to wait that long, and we get an XDA fix :)

*sigh*
[G2 and Desire Z General] sambolee:
So I followed the steps suggested by he3r0 and it worked! Man I was so scared putting in my unlock codes but everything worked out fine.

I don't know which steps helped but by the sounds of it, there was someone here in the thread who rooted and s-off but didn't OTA update so I'm thinking the update has something to do with it?

the steps I followed:

1) read over a lot of stuff on this site to get familiar with android

2) updated to newest firmware

3) rooted

4) s-off (ok not sure if I rooted first or s-off first or if in fact they happened at the same time)

5) bought the code off ebay

6) entered via slide out keyboard holding down to alt key

I feel for those of you that have an expensive itouch at the moment and hope that there will be a fix soon.
[G2 and Desire Z General] amarsana:
yo cats let me tell you something, OTA, Root, S-Off, Ebay unlock code works like a ************ yo. thank the lord y'all
[G2 and Desire Z General] iiviip3:
Hey everyone, just wanted to make sure this info from the old thread was read and made common knowledge. Not sure how many instances are like mine...

I have a USA T-Mobile account so I don't even need the phone unlocked. My brother purchased a G2 on ebay which has given the NO SIM error from day one. He got another G2 through a friend so he gave the broken one to me.

T-Mobile and HTC are not an option for me (long story involving the ebay seller) so I'm generally in the same boat as all of you...perhaps.

AT+CPIN? returns +CME ERROR: SIM not inserted

(working sim from my unlocked iphone 2G is in the phone)

AT@SIMLOCK?40 returns 01

I wanted to give my angle as I have not tried to unlock the phone yet I still have an error some of you are experiencing. Great work here though...keep it up!
[G2 and Desire Z General] amarsana:
g2

anyone has any suggestions to how to make a g2 ask for an unlock code again?

i inserted an unlock code as soon as i got the phone not knowing about the s-off.

but since i figured it our now, i think if it asks for an unlock code again, i can make it work. everyone else that has a nice itouch like android device too actually
[G2 and Desire Z General] amarsana:
yo

what if i do this and do perm root and s-off and then enter the unlock code???
[G2 and Desire Z General] tysklai:
OTA>>rooted s-off>>unlocked

Is there anyone who failed after all these steps?
[G2 and Desire Z General] andrewklau:
Quick update, for those who aren't following the IRC:

New update http://xdaforums.com/wiki/index.php?title=HTC_Vision#Subsidy_Unlock.2C_SuperCID.2C_and_Radio_S-OFF

We're getting close!
[G2 and Desire Z General] guhl99:
We are there! I do have a network connection.

Documentation and a way how this can be done by unexperianced users are to follow.

have fun
[G2 and Desire Z General] alidano:
the steps I followed:

1) read over a lot of stuff on this site to get familiar with android

2) updated to newest firmware

3) rooted

4) s-off (ok not sure if I rooted first or s-off first or if in fact they happened at the same time)

5) bought the code off ebay

6) entered via slide out keyboard holding down to alt key

Same for me and it works.
[G2 and Desire Z General] benweya:
Still Confused..

A. Did you guys try the code at least once before the 6step program?

B. Or is this for new untainted G2's.

I would expect a bigger A. crowd on the thread.

I'm firmly in the A. with perm-root, s-off, desire Z Rom and Unlock screen back.

In that order.

Having unlocked a number of phones. I would never had anticipated a problem before trying the code.

Now I'm trying to play the patience game but all these Eureka's have me confused and anxious.
[G2 and Desire Z General] steviewevie:
Don't worry, scotty has managed to unlock the radio fully. So as guhl posted just above, instructions should be coming soon, so that'll mean that everyone with a locked phone will easily be able to unlock themselves, not just rely on unlock codes etc.
[G2 and Desire Z General] gpou:
Having read the irc logs i have to say that guhl99 with scotty did all the hard work.

I found a link containing instuctions here: http://www.thinkthinkdo.com/trac/project1/wiki/radio_s_off

I followed it and now i have fully functional G2...!!!!!!!!!!!

:D:D:D:D:D:D:D:D:D
[G2 and Desire Z General] andrewklau:
Haha, nice! I will sadly be waiting still. Until scotty2 releases the easier method as I'm not familar with hex editor.
[G2 and Desire Z General] ekwon:
Hi

On windows or linux os ?
[G2 and Desire Z General] gpou:
On windows...or in linux...works both ways...

But plz dont try this unless you are experienced...

So far my phone is very stable but i cannot enable wifi. I get error...strange...
[G2 and Desire Z General] he3r0:
Problem was that for brand new G2 without root and OTA, radio lock (as I call it) after putting the code was more than a hit&miss,, in my case hit, and I ended up with 500 ipod :/ after gettinreplacement I waited, and than one day I did ota and perm root with s-off and unlocked, and it worked. I did 6 step second time, and all that did it, have so far reported 100% success rate, when 6 step don't work for already ipoded g2, risk of ipoding your shiny G2 was too great to try it again withou 6 steps... though now you will be able to do it, since fix for ipoded G2 is on its way anyway.
[G2 and Desire Z General] he3r0:
U try to reload stock rom after succecful unlock? Maby it will rewrite radio and fix your wifi?
[G2 and Desire Z General] andrewklau:
Good news!

http://xdaforums.com/wiki/index.php?title=HTC_Vision#Subsidy_Unlock.2C_SuperCID.2C_and_Radio_S-OFF

Follow the instructions as per this wiki guide carefully! This is a manual procedure, however if you at any stage do not understand one thing either jump onto the IRC #G2ROOT scotty2/guhl are some great help (thanks guys) or if however you are not able to get any help I recommend waiting, as scotty2 will be releasing an automated version soon.

Good luck, my phone is now unlocked and functioning as it should. Once again thank you to scotty2 and Guhl!
[G2 and Desire Z General] nicky.m:
First of all thank you guhl and scotty2 for all your hard work!

And perhaps I will wait for a simpler procedure to avoid further risk that I can't bear.

Really, thank you guys.

Good luck for all who are going for a fix.
[G2 and Desire Z General] hersam:
Thank you very much @guhl99 and @scotty2,

for all your hard work to hack G2 and solved this issue.

God Bless U Bro :-D
[G2 and Desire Z General] deathofdemigod:
Unlock the Phone, Set SuperCID, and Turn Radio S-OFF

Should i install OTA before doing this?

Is it possible to install ota after or it's better to flash cyanogen rom?

Will cyanogen rom work with radio s-off?

thank you scotty, guhl :)

ps. as unexperienced linux user i'm waiting for automated patch :rolleyes:
[G2 and Desire Z General] guhl99:
Hi !

The best (easiest way) to apply is:

- Apply the OTA

- Perm Root

- Install clockwork recovery (from the ROM Manager on the market)

- Boot into recovery and make a nandroid backup.

- Radio S-OFF

- (restore your nandroid backup because the modified kernel is not needed anymore if you want)

Have fun - Guhl
[G2 and Desire Z General] hersam:
Got this error ?

# insmod /sdcard/wpthis-cyanogen.ko

insmod: init_module '/sdcard/wpthis-cyanogen.ko' failed (Function not implemented)

any idea ?
[G2 and Desire Z General] hersam:
Continue with this status and got :

# echo -e 'ATE1\r' > /dev/smd0

0

#

# echo -e 'ATV1\r' > /dev/smd0

OK

# echo -e 'AT@CID?\r' > /dev/smd0

@CID: 11111111

OK

echo -e 'AT@SIMLOCK?40\r' > /dev/smd0

# AT@SIMLOCK?40

@SIMLOCK= 00

OK

#echo -e 'AT@SIMLOCK?AA\r' > /dev/smd0

AT@SIMLOCK?AA

@secu_flag: 0

Everything OK now but :

1. NO NETWORK

2. WIFI ERROR

OOPS is my phone BRICK NOW ??? guhl and scoty please help ?

OK

# echo -e 'AT$QCPWRDN\r' > /dev/smd0

# AT$QCPWRDN

OK
[G2 and Desire Z General] benweya:
At this point I get:

mmcblk0p7-new.img: cannot open for write: Read-only file system.

on both windows shell and phone terminal.

:confused:
[G2 and Desire Z General] nicky.m:
Hi

Still waiting for a simple fix.

But one question: will I be able to retrieve official ota or have to stick with rooted rom by developers?

Again, thanks to all who have participated in the great work. So grateful.

Good day.
[G2 and Desire Z General] guhl99:
At which command exactly to you get this error?

Might it be that:

1. you do not have a micro-sd card in the phone or

2. The micro-sd card is mounted as a volume (removable drive or whatever this is called in windows)

because if the micro-sd card is not there or not accessible by android it is not mounted on /sdcard and then you do not have write permissions to the /sdcard directory.

Guhl
[G2 and Desire Z General] guhl99:
This means that it was OK (same thing as when you did the perm-root

I updated the wiki to clarify this.
[G2 and Desire Z General] guhl99:
Hi!

Your phone is not a BRICK, it is perfectly OK. But maybe we have some mismatch of the Kernel, android firmware now or a simple configuration issue.

What was/is your firmware, do you have a backup of the firmeware.
[G2 and Desire Z General] ekwon:
Hi

That's works perfectly for me , Network and wifi connection (so tmobile g2 seems to be fully compatible with europe 3G band )

For this command :

dd if=/dev/zero of=mmcblk0p7-new.img seek=524288 bs=1 count=196608

dd if=mmcblk0p7-ori.img of=mmcblk0p7-new.img bs=1 seek=720896 skip=720896

I've got this message

mmcblk0p7-new.img: cannot open for write: Read-only file system.

on phone terminal.

So i use Linux live-cd and it's it's

Thank you a lot , very good job

I use Hxd (windows hex editor)