yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Q&A, Help & Troubleshooting] nicky.m:
Alright, thank you for your suggestion.

Does anyone an idea about the scale of this unlock issue?
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
PLEASE, PLEASE, PLEASE !!!

Do a logcat of the radio of the complete unlock process.

From the moment when you boot with the foreign SIM till the reboot and if possible a second one during the second boot for like 1 minute.

Thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
Apprently unlocking your phone is based on luck? Some work and some don't? I am about to do mine soon, fingers crossed!

p.s. does anyone know if HTC is open to fixing this issue?

I read in this post:

1. Power on the phone without SIM Card and configure the initial setup unless you come to the home screen.

2. Turn Off the phone then and then insert the SIM card, once the phone boots up , open the keyboard and enter the code by pressing SHIFT key on the keyboard and Keeping it pressed all the time when you enter code digits.

3. The phone says Code accepted, restart the phone by pressing ok and keeping the phone Keyboard OPEN.

4. The phone takes 2-3 min to restart, be PATIENT even if takes a little longer.

5. The phone starts and the SIM Works then, every SIM Card.

Note: I have tested this on remaining more than 20 phones, no problem so far except the 4 which were messed up earlier.

Dont Do these

1. Hard Resetting the phone before unlock.

2. Enter the Password from On Screen Keyboard.

3. Removing the battery if the phone takes longer to shutdown.

Anyone else done this with any luck?
[G2 and Desire Z Q&A, Help & Troubleshooting] he3r0:
2. Turn Off the phone then and then insert the SIM card, once the phone boots up , open the keyboard and enter the code by pressing SHIFT key on the keyboard and Keeping it pressed all the time when you enter code. ALT key continously, or doubletapping ALT key to continously type teh numbers.
[G2 and Desire Z Q&A, Help & Troubleshooting] accons:
is there any updates on how people succeeded just by playing around with their phone? any specific steps? so desperate to get a network on my phone :confused:
[G2 and Desire Z Q&A, Help & Troubleshooting] jamaicada:
My G2 just hangs down when I enter the code from keyboard. I try this 2 times.

But the lucky try was when I enter code from screen keyboard.

P.S Unlock in this way 2 phones.
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
Gathering from what I've been reading, if you keep trying you will suceed.
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Well, then - much fun trying!

The original problem in this thread was, that the phone successfully unlocked at the first attempt but was unable to connect to any network afterwords because it is more locked than before.

There is no second try for this problem.

In the meantime a lot of other topics (like phoned that keep asking for the unlock code) where mixed into this thread.
[G2 and Desire Z Q&A, Help & Troubleshooting] gnormal:
thats right.

i would love to "try again" but my phone is already "successfully unlocked" and i dont know how to get it to ask me to unlock it again.
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
Try a new sim card.
[G2 and Desire Z Q&A, Help & Troubleshooting] adp21:
I am sick and tired of waiting for permroot on a phone I invested an incredible amount of money on (I live in SGP and paid full price + got it successfully unlocked it etc)

So, I am thinking about asking a friend to pre-order the Droid Pro for me....

Which means that I am now looking for a buyer for my G2

Its unlocked, comes with the original box and everything that came with it. No scratches, dents etc. Screen protector from day one

Works perfectly on SingTel 3G/ HSDPA here in Singapore

If you search the forums, you will see I was one of the first to post pics showing that my unlocked G2 was rocking 3g/ hsdpa here in SGP

If you're keen to buy, pls PM me and we can work something out re: price and shipping. We would deal via Paypal so your money is secure etc...

Of course, its great if you live in SGP or SE Asia or even Asia and intend on visiting SGP in the coming 2-4 weeks. Otherwise I am willing to ship via FedEx or some other trustworthy means...

Thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
Please, Please, Please don't spam the thread with solutions like the above. Read the forum posts before answering like that. Every time a new post is published we all hope that someone found the solution and we come here only to see posts like that offering n othong new at all. Thi is the thread for users succesfully unlocked our devices but cannot connect to any networks.
[G2 and Desire Z Q&A, Help & Troubleshooting] khoinguyent:
Hi,

When I input the sim card from Viettel,one of network at my place, every 1-2mins there's a pop up says that: The process com.android.phone has stopped unexpectedly (the phone is still no service)

But I try a sim card from orther network the phone is running without error pop up above(still no service).

I dont know this information is helped or not, but I want to share with you about this.
[G2 and Desire Z Q&A, Help & Troubleshooting] deathofdemigod:
does rooted image helped anyone with "no service error" ?

delia.modaco.com /recovery.vision.insecure.img
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
G2 perma-rooted. Paul o brien confirms S-off.

Has anybody found the instructions????

I think the solution to our problem is a step closer now
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
Oh now Paul@modaco making progress with G2 and Desire Z and he seem to get S-OFF and now trying to cross flashing rom.

finger cross :)
[G2 and Desire Z Q&A, Help & Troubleshooting] deathofdemigod:
gpou,

http://xdaforums.com/showthread.php?p=9109921
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
In three hours i will be at home ant try this. But after that is any hboot / radio to install or i will have to wait for custom roms?
[G2 and Desire Z Q&A, Help & Troubleshooting] mummy8402:
Please explain how rooting can used for unlocking and what are the precedures? I am really appreciated it.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
The only thing you need to know is that rooting enables u to write to protected areas or yous mobile's ROM.

In our case out phones are unlocked but there is a problem in HBOOT/Radio so we cannot access mobile networks. I guess that after rooting we will be able to restore the proper files in ROM to solve our problem.
[G2 and Desire Z Q&A, Help & Troubleshooting] mummy8402:
Hi gpou,

This is exactly my problem right now, after put in the unlock code, it says "error while searching preferred network".

I hope this will solve the problem, please updates with us if you succeed unlocking your G2.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
When i go home i will permaroot my phone. But after that i have to find a custom ROM to apply. Rooting by itself won't solve our problem.

So guys any link to custom Rom. Should i try the custom HBOOT posted above?
[G2 and Desire Z Q&A, Help & Troubleshooting] ms93:
Look here: http://xdaforums.com/showthread.php?t=799208

There is original RADIO rom for G2.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
is any reason to try flashing the original radio???
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
The issue at hand is the radio is not able to connect, I just was in chat with Tmobile live support they said its out of their control basically because they don't know whats the problem. So yes, maybe flashing to the original rom will/could fix it.

I'm unfortunately in the same boat as you :(
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
So i have S-OFF now.

This is a very important step but we are not done yet.

I would highly recommend that the ones that are not really confident in what they are doing to wait a little longer until that we finished the steps to remove the SIM-unlock.

In my opinion there are 2 possible ways to go:

1. reapply the SIM-lock by using the SIMLOCK option in hboot and a proper DMCID.dat (where I do not know the correct format yet) in /sdcard and then repeat the unlock procedure

2. directly try to repeat the unlock by either using the AT@SIMLOCK commands at the AT-command processor or by using my modified libril.so that brings the unlock screen back an initiates another unlock

I am not sure which way to go, but I would again highly advise all unexperienced people to hold their horses!.

Reasons for this are:

The perm-root and S-OFF procedure is not totally fail save and could turn your phone into a brick

Failed SIM-unlock attempts can permanently apply the SIM-lock

So who ever wants to go forward - you have been warned.

Just for information this is the still the status of the AT@SIMLOCK commands after having S-OFF:

AT@SIMLOCK?AA
@secu_flag: 1
OK
AT@SIMLOCK?40
@SIMLOCK= C3AB
OK
AT@SIMLOCK?80
@LOCKTIME: 02
OK

So as secu_flag still is 1 we can not use the AT@SIMLOCK commands yet.

have fun
[G2 and Desire Z Q&A, Help & Troubleshooting] JustSayTech:
So my G2 is still stuck with no signal, but I did notice this little line in the update description, it should be in bold on this post

T-Mobile G2 software update from build 1.19.531.1 to build 1.22.531.8

Downloaded and verified	36.6MB

This is an update to the T-Mobile G2 with Google software. This softwareupdate offers a new feature, Wi-Fi Calling for Android, as well as provides several fixes and enhancements to known issues:

* Wi-Fi Calling for Android - new!

*Resolves unexpected device freeze and power-off issues

*Improves data connection reliability

*Optimizes radio recovery

Once the software downloads completely, press the "Restart & Install" button to install.

Note: This is not an Android OS upgrade.

I know that the G2 has an FM Radio built in with no app, is this refering to the FM Radio or the cell Radio

If its refering to the network radio then maybe Tmobile is aware of our current situation and are working on a fix

Also I don't want to update, but tmobile is sending me a new G2, should I go ahead and update to see if this will fix the issue?
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
This has not fixed our issues as of yet, unfortunately.
[G2 and Desire Z Q&A, Help & Troubleshooting] nicky.m:
guhl99, are we close now?

Do we still have lots of uncertainties to success?

Anyway, thank you again for your effort.

Have a nice day folks!
[G2 and Desire Z Q&A, Help & Troubleshooting] mummy8402:
I think we are pretty close now, just in the matter of time (one week or so).
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
a warning to everyone who is thinking of playing around now we have root

i (possibly quite stupidly) installed the vision rom which installed fine.

as soon as i put my sim card in it came up with a network locked message.

entering the code i used when i originally unlocked the phone did not work.
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
@moodecow

I was talking to guhl, he is also in the same problem and knows quite a lot. In probably a week or so, when we get S-OFF for the radio we should be able to resolve this.

**EDIT**

This is from the IRC Logs, so looks like we could get a solution soon :D

IntuitiveNipple	I've just found out how to redo the SIMLOCK; Guhl was asking me earlier.

00:18	teferi	"redo the SIMLOCK"?

00:18	IntuitiveNipple	Inadvertently I also discovered that all it needs is a GoldCard micro-SD card to pass security

00:18	teferi	I thought you knew that already

00:18	teferi	but just didn't know what the magic bytes in the header needed to be

00:18	IntuitiveNipple	I hadn't tested it I had deduced from the code

00:18	tmzt	?

00:18	teferi	so, wait, are you saying you now have the capability to set a super-cid?

00:18	tmzt	pass what security?

00:19	tmzt	IntuitiveNipple: do you have everywhere that it reads cid from sd card?

00:19	IntuitiveNipple	But I made a goldcard earlier on to test the @secu_flag

00:19	teferi	(and if so, what do we have to do to a sd card to be able to set a super-cid?!)

00:20	IntuitiveNipple	It was still in the device a few minutes ago when on a whim I thought I'd see what happens if I use the HBoot "SIMLOCK" menu option

00:20	IntuitiveNipple	And it reported:

00:20	IntuitiveNipple	FAT32 init OK

00:20	IntuitiveNipple	Open MCCMNC file fail

00:20	IntuitiveNipple	Open CID file fail

00:20	IntuitiveNipple	Process done, reboot device?

00:20	IntuitiveNipple	<VOL_UP> Yes

00:21	IntuitiveNipple	Now, I already explained about MCCMNC and CID files the other day
[G2 and Desire Z Q&A, Help & Troubleshooting] he3r0:
That's actually very interesting.

If I understood it correctly, you are saying that custom ROM reapplied a sim lock on your handset... Witch was off before applying custom rom... Very interesting...
[G2 and Desire Z Q&A, Help & Troubleshooting] he3r0:
Im very courious about this part, where you got your info about FM radio being build in into G2? Because I do not think that is correct. And in this case it should refer to radio part of handset responsible for BT/Wi-Fi/GSM communication.
[G2 and Desire Z Q&A, Help & Troubleshooting] nicky.m:
Hope I can fully enjoy my lovely g2 soon

I got rejected by the local htc store. The guy on the phone told me to find htc in the us since they don't offer delievery across countries.

Cheers,

An oversea user
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
has anyone tried settings --> security --> simcard lock?

Or is that different. Mine says its locked, anyone able to unlock it or is this standard on all phones.
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
Ignore that, I have the same option on my other functional unlocked android devices.
[G2 and Desire Z Q&A, Help & Troubleshooting] nicky.m:
I've phoned a local phone store that was shown on a gadget magazine to be selling the g2. Out of stock, codes from the internet, no problem with unlocking and no smartcard.

Disappointed. Again.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
how secu_flag is turned into 0????
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Well, with AT@SIMLOCK=7,0 but not at the moment.

There is additional checks involved here and the theory is that it is checking for something like a goldcard.

Be careful when playing with the AT@SIMLOCK commands because after some experimenting with them yesterday my phone currently reports @LOCK_TIME: 03 now for AT@SIMLOCK?80 (was 02 before yesterday).

This basically means that I already have 3 unsuccessful unlock attempts and the limit might be 4.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
is it possible now we have S-off to find a PCDIAG.img and unlock the phone?
[G2 and Desire Z Q&A, Help & Troubleshooting] gnormal:
S is OFF. will it bring my phone back?

http://xdaforums.com/showthread.php?t=833965

sorry im going to wait for a slightly less scary procedure.

but it looks straightforward if youve rooted before.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
I already permarotted my phone...

But this is just the first step to a complete solution
[G2 and Desire Z Q&A, Help & Troubleshooting] gnormal:
wouldnt it be worth a try, and relatively safe, to flash this original radio rom?

http://www.xda-roms.com/Downloads/Vision-G2/Vision_TMOUS_RADIO_12.21.60.09b_26.02.01.15.7z

(bottom of the page)
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
flashing now

NO RESULT UNFORTUNATELY
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
ATTENTION

I might have found a SOLUTION!!!!!!

I flashed the Desire z rom and after rebooting the phone asked me for the sim unlocking code but after entering the code the phone replied that network pin was incorect. Can anyone else try this?????

I ordered a nea unlocking code in case this is really incorrect

Update

Even with a T-mobile card i get message that network is locked
[G2 and Desire Z Q&A, Help & Troubleshooting] deathofdemigod:
gpou,

looks like network operator specific, try another sim

info:

http://202.214.192.60/english/support/trouble/password/network/
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
I dont mean the sim pin, i mean the network unlocking pin

Unfortunately the phone isn't accepting the correct network code
[G2 and Desire Z Q&A, Help & Troubleshooting] Anomaly:
Are you referring to the PUK code? You need to call the provider of the sim card you are attempting to use for that. Just call them and they will tell you what info they need.
[G2 and Desire Z Q&A, Help & Troubleshooting] he3r0:
Desire Z is CDMA phone? Cuz I don't known...

Does rom come with desire z radio? Or radio is from G2

Try to reflash orig. G2 ROM perhaps?
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
I reflashed the original ROM but no prompt for network code.

My findings so far

The desire Z rom enabled the network unlock code prompt but i believe that it was the same case as Gul's case with his custom ko file he had compiled to enable the prompt. So the phone is still locked and although i entered the correct code (i even re-baught my unlocking code just to find out it was the same as the first one) i got error message.

I believe that in order to fix the problem the Emmc partition holding the network locking information should be flashed. Just like it was flashed to obtain S-off.

But someone has to find out first which partition is that????
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Hi gpou!

Yes I think, this is the case. It just brings back the unlock screen and then issues an AT@SIMLOCK=0,1,<code> command that will fail.

I would highly recommend that you attach your phone to a serial console now and check what AT@SIMLOCK?80 gives you. I assume that it will be higher than 0. Be careful, if your counter gets to high (probably > 03) the problem might be more severe

It is very unlikely that we can just flash something over a partition and remove the lock this way. The area in which the radio stores this information is very probably encrypted.

Our main direction will probably be to get Super-CID or radio S-OFF because then we can turn of the SIM lock (and probably also our strange version of it)

I do not want to keep you from trying to find a solution, but be careful on your way!
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
I dont know if that helps but after permrooting and S-off in HBOOT Menu there is an option above simlock.

I think its called information or something.

Inside this option there is a string

CID: Tmobil0

or something like that. I will be more specific when i go home :)
[G2 and Desire Z Q&A, Help & Troubleshooting] andrewklau:
That's strange you see CID: Tmobil0

When I run simlock I see:

Open MCCMMC file fail

Open CID file fail
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
No you got that wrong. Not in the Simlock Option, above that.

In simlock i see same message as you
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
in my phone the SYSTEM INFO option is below the SIMLOCK menu item.

i see the same "CID-T-MOB010" reference
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
Hey everyone,

this thread has become a bit complicated as there are a couple of different issues and solutions being shown.

i have created a new thread at

http://xdaforums.com/showthread.php?t=835673

so that we can get some structured troubleshooting happening.

there are a number of people making useful suggestions/test results here and i think that we should work out what information can be provided in a specific format so that the peeps who are working on this can get some clarity as to what the issue is.

thanks!!
[G2 and Desire Z Q&A, Help & Troubleshooting] JustSayTech:
Cyanogen said he had the built in G2 fm radio working and there will be an app for it in the release of the G2 CM6.1
[G2 and Desire Z Q&A, Help & Troubleshooting] marvinmartinez888:
Hello everyone, is there a fix already for this problem? i'm really desperate for I have 3 units that is experiencing this.
[G2 and Desire Z Q&A, Help & Troubleshooting] ms93:
I just made up some idea to prevent new unlockers from problem: maybe first do S-off, then enter unlock code?

I suppose unlocking problem is connected with problems with some system partitions changing (I have read somewhere, that Cyanogen said that all that HTC's ROM security wasn't ment to work that way, it's just problem named in other way) - after S-off, you get full access and it should work OK.

My G2 will arrive in next few days, so I'll do S-off first, then unlock with code. Will see what happens (I hope it will unlock successfully then log on network).

If someone will try to unlock before me, try to do it my way.
[G2 and Desire Z Q&A, Help & Troubleshooting] marvinmartinez888:
Hello Gurus,

Any update regarding this problem with the G2? This thread has been very quite.
[G2 and Desire Z Q&A, Help & Troubleshooting] marvinmartinez888:
Has anyone tried this? Did it work?
[G2 and Desire Z Q&A, Help & Troubleshooting] ms93:
I tried and worked. Did S-off and rooted before unlock.

Can't say if it helped or I was just lucky, but it's worth trying.
[G2 and Desire Z Q&A, Help & Troubleshooting] gnormal:
I would love to try that. But I am already unlocked. Is it impossible to relock? Super hard reset?
[G2 and Desire Z Q&A, Help & Troubleshooting] khoinguyent:
Hi, could anyone tell me what's S-off and how can S-off?
[G2 and Desire Z Q&A, Help & Troubleshooting] Lennyuk:
S-Off is a method of flashing a new Hboot image that has the security that HTC turned on, off.

Basically it just enables you to do everything that most phones can do just by rooting (like fastboot flash).

The idea here is that once doing it whatever part of the phone that is blocking signal after unlocking won't do its thing when you have s-off.

Links are in dev section, not got time to find one now sorry.
[G2 and Desire Z Q&A, Help & Troubleshooting] dbshane:
Anyone tried unlocking G2 after the ota?

I got my tmobile G2, and I really want to unlock it, but I dont want it become a ipod touch like thing. So I'm just wondering if anybody failed unlocking after the ota released.:confused:

Thank you,

Sheng
[G2 and Desire Z Q&A, Help & Troubleshooting] hersam:
How to installed modified version of libril.so ? and where can download it

Can I still use the same code after screen unlock screen appear.
[G2 and Desire Z Q&A, Help & Troubleshooting] nicky.m:
Since we still don't know if the reappearing lock process is actually able to fix the problem, it wouldn't be a worthy try.
[G2 and Desire Z Q&A, Help & Troubleshooting] hersam:
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 Q&A, Help & Troubleshooting] guhl99:
Probably yes, but you know for sure if you run

ATE1
ATV1
AT@SIMLOCK?40

If the AT@SIMLOCK?40 gives you

@SIMLOCK= 00 then you are unlocked.

If it gives you

@SIMLOCK= 01 then you are still normally locked

If it gives you something like

@SIMLOCK= C3AB (or any other number then 00 or 01) then your simlock data is corrupted as ours.
[G2 and Desire Z Q&A, Help & Troubleshooting] iiviip3:
I've been following this forum for weeks and decided it's time to speak up.

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. I use T-Mobile (US) so I don't even need the phone unlocked! 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 in 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!