yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
has anyone else seen the APN disappear after saving?

access point names

menu --> New APN

Enter apn details

menu --> Save

then taken back to the apn list - which is blank....
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
Would there be a way to re-enable network lock, so we can try enter code once again. Once I get home I would messing around with these stuff.

by the way... I take a chance and second G2 is coming down from eBay.. Will see if the second one can be unlock or not
[G2 and Desire Z Q&A, Help & Troubleshooting] NomadJoe:
Awesome - just added in the APN settings and I have a solid H in the menu bar.

I hope the rest of you guys have the same success....
[G2 and Desire Z Q&A, Help & Troubleshooting] NomadJoe:
Spot on - I set it to GSM mode (which worked), and then onto GSM/CDMA auto.
[G2 and Desire Z Q&A, Help & Troubleshooting] NomadJoe:
I have had that happen before on another G2 that I returned. I didnt have the sense to try what worked on the current G2 on the returned one.

I would suggest you first try changing the bands and once you successfully register onto a network, add the APN.
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
Sorry NomadJoe, what you have is a full SIM unlock device which just fail to register to the network at fist boot up.

But for the rest of us the Network lock is still remain no matter baseband we use won't catch any signal from cell site.
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
i was about to ask this same question...

it would be good to get a complete factory reset with locks and all, so we can retry the process
[G2 and Desire Z Q&A, Help & Troubleshooting] NomadJoe:
Very sorry to hear - Fingers crossed for a fix soon.....
[G2 and Desire Z Q&A, Help & Troubleshooting] Mark786:
Does anyone know how to fix phone if the code was entered too many times and the phone is permanently locked now?
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
I remember that you have only 5 or 8 chance to put it right..

Then it will completely lock itself, please go to service center near you.
[G2 and Desire Z Q&A, Help & Troubleshooting] rohitkpatil:
Unlock not working

I am also facing same issue on my new T-Mobile G2 in India.

Opened the sealed box. Powered up with non-tmobile simcard, entered the unlock code using on-screen keyboard. Successful Unlock. Reboot.

No service, after that. Tried 5 different sim cards, tried changing GSM/UMTS bands. Also the preferred network to GSM auto etc. No luck.

Any idea if T-mobile/HTC will release any update, or i should return the phone.

This is a common problem now.....
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Hey Guy's

Could you please stop spoiling this thread with messages about:

- Changing the Band

- Setting up your APN

and instead of this try to provide what I asked in posting http://xdaforums.com/showpost.php?p=8750299&postcount=121 and http://xdaforums.com/showpost.php?p=8752175&postcount=122.

I am very positive that we will be able to unlock the phones that are currently in this locked state and I think that we will also be able to reset phones where you entered the code to often.

BUT:

First: I need data from locked (never tried to unlock and unlocked but failed) and unlocked phones. Please provide the output of AT@SIMLOCK?AA and AT@SIMLOCK?40

Second: We will depend on the success of #G2ROOT because we probably need a hboot that is not S-ON anymore (if you don't understand this google it) - More or less an unlocked boot-loader.

So do not expect an early solution and I would still suggest that if you can, return your phone to T-Mobile, but in time there will be a resurrection of the now locked down phones.

Thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
this thread is about a phone not connecting after unlocking, not about apn's or bands or about terminal commands.

the comment about spoiling a thread by trying something other than what you asked for is kinda silly.

i for one do not have linux, i dont have the time to try to emulate what you have suggested on my computer. i would assume that as linux is not the most dominant OS in the consumer market that there is a reasonable chance that others will be in the same situation.

it makes sense for us to be testing any and all options we are able to.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
Unfortunately this is normal. You see phone has stored APN Settings for various providers. When u enter a sim the phone reads the MCC and MNC from sim and shows the apropriate APN Settings. Our phones that had problematic unlock, cannot read properly the MCC MNC from sim card so they dont show any APN Settings at all.
[G2 and Desire Z Q&A, Help & Troubleshooting] jonragnarsson:
That is interesting. I have a very old SIM card in my phone, could it matter? (Not a problem, I'm just curious)
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
Not at all.
[G2 and Desire Z Q&A, Help & Troubleshooting] jashsu:
Not exactly. On more broadly shipped devices (e.g. Nexus One), the APN file may contain configurations for many networks. On a device like the G2 that is meant for a specific carrier (and in this case a specific region), it's not uncommon for the onboard APN configurations file to only contain the data for that carrier. So just because your phone can read the MCC/MNC data from sim does not mean it will prepopulate all the APN configuration for you. Of course if your phone cannot read the MCC/MNC from the sim then it doesn't matter if your apns-conf has the correct configuration present.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
You are right. But the fact that after the creation of a new APN for user's carrier, thhe APN settings does not apear due to problem having our phones reading MCC MNC from sim
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
No problem guhl99, once i got my second G2 i will try getting AT@SIMLOCK?AA and AT@SIMLOCK?40 before I punch unlock code in.

moodecow, If you are not interest in fixing your G2 or just want to wait for someone pointing you an easy way out. Please sit back and relax, no need to disturb others who put theirs valuable time and resource to do it.

Just sit back.. :)
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Thanks for your support, I am looking forward to it.

have fun
[G2 and Desire Z Q&A, Help & Troubleshooting] mauaus:
Oh man, i bought mine brand new from ebay, im in El Salvador so im getting it till the 28th i reaaaally hope this is sorted by then, dont want a $500 Ultra mobile android pc hehehe i need a new phone
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
i am not waiting for a simple or easy fix to be provided on a silver platter.

my point is that this thread is for discussing the problem of not being able to use an unlocked G2. and not ONLY about trying one specific idea that some people for whatever reason cannot do.

I personally could not do the linux commands as i am not running linux on any of my computers at this point, but i was able to try the band/network options that were suggested.
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Just to give you an update

I am currently working on creating a slightly modified phone application and an additional PhoneTester Application that will tell the phone application that the SIM generated an EVENT_SIM_NETWORK_LOCKED.

In this case the Phone app will bring up the IccNetworkDepersonalizationPanel which you probably all know (that's the one where you enter the unlock code and press OK)

The theory behind this is that if the unlock code is valid (which I strongly assume because I already got 3 of them, all the same, for my IMEI from different sources) the phone will repeat the unlock process and I hope that it will succeed this time.

I have been reading a lot of binaries and sources to figure this out but I am quite sure that it could work. But it will take some time because I have to rebuild Android from sources first.

have fun
[G2 and Desire Z Q&A, Help & Troubleshooting] nickym1hk:
i got stuck in this situation too.

dying to see solutions
[G2 and Desire Z Q&A, Help & Troubleshooting] lzctsbs42:
HTC reply

Hi everyone...I got the same issue like all of us have...I try to contact HTC and here is their reply

"I understand how important it is to be able to use your device. HTC has very limited information on unlocking a device. In most cases once unlocked it should have no trouble. It is possible it is not asking for an unlock code but a PUK code. In this case you would need to contact T-mobile, however, it is likely something as simple as trying another sim card as the device is not able to get the information it is looking for off the one you are currently using."

If it is still asking for a code that may be the PUK code not the Sim unlock code. This is another code you would be getting from T-mobile. If it is saying accepted but not finding the carriers signal we could only recommend trying another SIM from the carrier you are trying to use."

what everybody think?
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
I think they are giving you crap.

First:

The phone does not ask for another code so this is totally senseless (and the dialog that asks for a PUK would say "Type PUK code to unlock SIM card" and the answer would be "Your SIM card has been unblocked. Your phone is unlocking"

But for the unlock code it was "SIM network unlock PIN" then it was saying "Requesting network unlock…" and finally "Unlock success, reboot immediately!!"

Second:

We already know that the phone is still locked. I know it from my results from the AT-Command processor and we also know it because of the working phone with the TurboSIM.

The tip to try another SIM is totally nonsense I have been working with 9 different SIM cards from different countries and carriers it is always the same,

The problem is that HTC will not help us with this at all. The pone lock and unlock is something that you have to deal out with the carrier, in this case T-Mobile USA.

So if you can -> bring your phone back to T-Mobile and get a new one.

if you can't -> you will have to wait until we sorted this out
[G2 and Desire Z Q&A, Help & Troubleshooting] miaan:
thanks for the heads up guhl, we all appreciate it
[G2 and Desire Z Q&A, Help & Troubleshooting] miaan:
at this point... i really dont care for using it out of the country. i'd just like to use it right now with my TMO service.
[G2 and Desire Z Q&A, Help & Troubleshooting] nickym1hk:
Same here.

We all appreciate any effort from guhl
[G2 and Desire Z Q&A, Help & Troubleshooting] lzctsbs42:
First, we all appreciate members of this forum put their time and effort to help other...there's also a thread in T-mobile forum mention about we should leave the keyboard open when we do the unlock...anybody have some ideas about this? So far, we had 1 person in Singapore successfully unlock the phone with keyboard open...and according to the poll in this forum 50% people fail to unlock their phones with the outside unlock code...so I just wonder again is it a new way that T-mobile try to prevent third party selling unlock code?
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
No, its not. As there are few people in this thread got code from both TMO and outsider and both code are the same. It is the device faulty and we have to find the way to fix it.
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
AT-Command Interpreter ready

3591160304945xxxx

+CPIN: READY

@SIMLOCK: BB6F

@secu_flag: 1

@SIMLOCK= BB6F
[G2 and Desire Z Q&A, Help & Troubleshooting] CelticMobile:
Here is some additional info to throw into the mix....

I had one phone which ended up like othere - unable to use even the original T-Mobile SIM and where the unlock code was being rejected on second and subsequent attempts. I can't be sure that I didn't hit the power switch after 5 minutes of it claiming to be shutting down.

On a second phone I have now entered the T-Mobile provided unlock code 5 times. Each time it says successful and after I click OK in the dialogue it sits there supposedly shutting down (icon spinning) but even after 8 minutes it has not shut down. By removing the battery I am able to restart the phone and use the original T-Mobile SIM or reattempt the unlock - i.e. the unlock code still works.
[G2 and Desire Z Q&A, Help & Troubleshooting] CelticMobile:
Deleted message
[G2 and Desire Z Q&A, Help & Troubleshooting] CelticMobile:
OK - so now I have an unlocked phone after many attempts.

On the last few attempts I left the shut down box there with its spinning wheel for a long time - at least 15 minutes in the last case. In each case I ended up taking the battery out but I just placed an AT&T SIM in the phone and it didn't ask for the unlock code. Checking with other SIMs confirmed that it is now unlocked.

I think I hit the power button (impatience after a few minutes) on the first phone (which ended up not working with any SIMs).

On this second phone I did pull the battery several times but only after at least 3 minutes of the spinning wheel. Ultimately the phone is now unlocked but the only clue I have as to why it finally worked is that the last attempt was left to wheel spin for at least 15 minutes.

Other info: All above attempts were with SIM PIN = OFF, Display Off = 30 minutes, keyboard out and keyboard used for unlock code entry.
[G2 and Desire Z Q&A, Help & Troubleshooting] lzctsbs42:
HTC reply

Ok everybody...here is another message I just received from HTC

"I’m sorry you’re still dealing with this hassle. If it’s at all possible, can you swap a friend’s SIM card into your phone? One that’s already using the network you’re trying to use? I’m concerned that there might be a problem with the SIM card itself, if no code is working. Software-wise, the most I could recommend is performing a factory reset; if you needed to call our repair or accessories support, or even T-Mobile (I realize you’re out of the country at this time), they would most likely want to perform a reset anyway.

To perform the factory reset, turn off your phone. Press and hold the VOLUME DOWN button, and while holding it down press the POWER button like you’re turning on the phone. When the Android images appear on the screen, release VOLUME DOWN. Press VOLUME DOWN to select “Clear Storage” and press POWER. Press VOLUME UP to start the reset.

Re-insert your SIM card and try to unlock the phone. If it still won’t accept the code, feel free to call us at 1-866-449-8358. We’re open seven days a week, 6 AM – 1 AM (GMT –05:00)."

Does anyone tell me how many try I can put in the unlock code? Thank you
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
"Clear Storage"???

thats not on my list...
[G2 and Desire Z Q&A, Help & Troubleshooting] CelticMobile:
Mine neither - but "Factory Reset" is there.

On an unlocked phone I also see "SIMLOCK" as an option. Selecting it gets:

FAT32 init OK

Open MCCMNC file fail

Open CID file fail

Process done, reboot device?
[G2 and Desire Z Q&A, Help & Troubleshooting] moodecow:
yeah i tried the factory reset with no good outcome.

i think that file fail message was noted earlier on, with someone saying the files are missing.... i dont know what that means though.
[G2 and Desire Z Q&A, Help & Troubleshooting] lzctsbs42:
I call HTC and they told me that there's sth wrong with the network set up so the phone cant remember the unlock code....:confused:
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
That is an interesting statement. They did not say anything about what you should do now or how this can be avoided?
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Whoever tries to unlock his phone next:

PLEASE create a logcat of radio (and maybe also a normal logcat in paralell) from the moment when you boot the phone with the none TMO SIM during the complete procedure until the reboot

AND if you are fast enough also from the next boot on for let's say 2 Minutes.

But probably no one will read this before the unlock.

Thanks
[G2 and Desire Z Q&A, Help & Troubleshooting] lzctsbs42:
They told me to bring it to T-mobile and that sound really dump
[G2 and Desire Z Q&A, Help & Troubleshooting] gpou:
Unfortunatelly everybody do the same like we did. First tries to unlock the phone and after he tries to root....
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Progress ....

I installed my modified version of libril.so and did what I described and the result is:

I/RILC ( 5877): GUHL: responseSimStatus called, responselen=276, size of RIL_CardStatus=4, s_guhl_call_counter=0
I/RILC ( 5877): GUHL: p_cur->card_state=1, p_cur->universal_pin_state=0, p_cur->gsm_umts_subscription_app_index=0, p_cur->cdma_subscription_app_index=8, p_cur->num_applications=1
I/RILC ( 5877): GUHL: SETTING APP_STATE TO 4
D/RILC ( 5877): [0039]< GET_SIM_STATUS {[app_type=1,app_state=4,perso_substate=3, aid_ptr=(null),app_label_ptr=(null),pin1_replaced=0,pin1=3,pin2=0],}
D/HTC_RIL ( 5877): (t=1288003952)<< +CME ERROR: 13\r
D/RILJ ( 5887): [0039]< GET_SIM_STATUS com.android.internal.telephony.IccCardStatus@44d30068
D/GSM ( 5887): [IccCard] Notify SIM network locked.
D/GSM ( 5887): [IccCard] Broadcasting intent ACTION_SIM_STATE_CHANGED LOCKED reason NETWORK

and the phone switches to the unlock screen.

But I do not want to try this at the moment, first I want to understand how the unlock request is handled by Android and RIL.

Sorry to make it so exciting but I do not want to mess this up!

have fun
[G2 and Desire Z Q&A, Help & Troubleshooting] jonragnarsson:
I went to a T-Mobile store yesterday and both salespeople in the store assured me the G2 can be unlocked. However, one of them told me interesting factoid: She said that there is a 2 month waiting after purchase to unlock the phone.

Another nice fellow in a small unlock/repair store down the street told me that HTC has a database of phones that are sold/deployed, and that database isn't updated as fast as it should be.

I don't know if this helps.
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Sorry but it did not work!

Well I finally tried to enter the code into the unlock screen and hit the button but it immediately return the message that the unlock failed.

In the log there is the following section:

D/RILJ ( 5224): [0054]< SIGNAL_STRENGTH {18, 99, -1, -1, -1, -1, 0}
D/GSM ( 5224): [IccCard] Network Despersonalization: 83036142
D/RILJ ( 5224): [0055]> ENTER_NETWORK_DEPERSONALIZATION
D/RILC ( 5215): [0055]> ENTER_NETWORK_DEPERSONALIZATION (83036142)
D/HTC_RIL ( 5215): ril_func_enter_nwk_pin():called
D/HTC_RIL ( 5215): (t=1288011452)>> AT@SIMLOCK=0,1,83036142\r
D/HTC_RIL ( 5215): (t=1288011452)<< 4\r
D/RILC ( 5215): [0055]< ENTER_NETWORK_DEPERSONALIZATION {-1} fails by E_PASSWORD_INCORRECT
D/RILJ ( 5224): [0055]< ENTER_NETWORK_DEPERSONALIZATION error: com.android.internal.telephony.CommandException: PASSWORD_INCORRECT

Of course the password is not incorrect!

So basically it only does the same that I already tried on the AT-command interpreter which is to submit AT@SIMLOCK=0,1,<password> but it receives 4 already for the first call and so it does not even try the other ones.

Well now I am out of ideas for now.

But at least I learned a lot of thinks during this process.

Sorry - but try to have fun!
[G2 and Desire Z Q&A, Help & Troubleshooting] mauaus:
Oh man i really hope this gets sorted out :( I have no way of returning the phone if it screws it up...
[G2 and Desire Z Q&A, Help & Troubleshooting] ekwon:
Very Good job guhl99

Are you on root mode when you try to enter the unlock code ?
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Well it was an interesting and maybe good job but I would have loved to see a successful outcome.

Yes I am in root mode because otherwise I could not kill rild and com.android.phone.

I will take a break from this today and try to develop new ideas.

The most important thing in my opinion would be to find somebody who creates a logcat of the radio while unlocking the phone.

To create the logcat after the phone rebooted it might be good to use alogcat (from the market) and just save the last radio log and main log after the reboot (one can select which buffer one wants to see in Menu->Preferences->Buffer

The next thing that I will do is to write a detailed Mail to HTC and ask them for their advice or at least a statement what the @SIMLOCK= C3AB answert to AT@SIMLOCK?40 means.

Lets see.

Have fun
[G2 and Desire Z Q&A, Help & Troubleshooting] bluemoko:
So guhl99, i just got G2 BNIB with me today and now i'm buying code from some site which they provide successful unlock video hehehe (hope this one don't die on me again otherwise i'll be really piss!)

What do you want me to do before i trying to suicide another G2 once again?

- logcat radio?

- AT command
[G2 and Desire Z Q&A, Help & Troubleshooting] guhl99:
Well first of all I hope that you will not make the G2 commit suicide!

Before you try to unlock start I would like you to do the following things:

1. hook your G2 to the serial console as I described in the postings 121 and 122.

and issue the commands

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

and record the result.

It would be very good to do this once with the original TMO SIM and once with a SIM from a different provider.

1. Preparation:

Install alogcat from the market (good to capture the logcat after the second boot)

In alogcat set the buffer to Radio (menu - Preferences - Buffer?)

2. While you are doing the unlock:

(You have to enable adb connections first)

Before you boot with the new SIM attach 2 adb sessions to the phone:

adb logcat -b radio > lc_radio.txt
adb logcat > lc_normal.txt

and leave them running for the whole time while you do the unlock until the phone boots.

After the boot start aLogcat and go to menu - save, this saves the last logcat to /sdcard

3. hook your G2 to the serial console as I in 1. and issue the same commands again.

We could do even more by installing my recompiled (but unmodified) version of libril.so which would give as much more detail in the logcat of the radio but this is a little bit complicated and there might be the risk implied that the unlock fails because we are not using the original version.

I would do it on my phone but a can not ask you to do this.

I think this is all that we can and should do (besides pray?)

Thanks

Btw.: If you want to chat with me during the process then PM me for my google talk address
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] macsym:
Hello all,

I am using various pop3 accounts on my HD2 with the built-in messaging system. Like many people, I’d like to retrieve sent items (from my mobile) in my desktop Outlook. A well known workaround is to BCC yourself on all outgoing emails so that your desktop Outlook can retrieve emails sent from your mobile.

The problem is you have to enter your email address in the BCC field MANUALLY for all outgoing emails. I have read many posts (on this and other forums) stating that it is impossible to do that automatically with the built-in messaging system.

The posts I read were quite old (2006-2009) so I was wondering if that changed. Also, in my case, I’d like to BCC all outgoing emails to ONE UNIQUE email address (such as “sent-items@mydomain.com”). This should be less complicated because sent-items@mydomain.com can be hard-coded somewhere (the automation process doesn’t have to retrieve the sender’s address).

So, is there any workaround (a registry tweak I guess) to open all new emails with the BCC field automatically filled with sent-items@mydomain.com ?

Thanks in advance for any help.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] macsym:
Nobody has an answer?
[EVO 4G Q&A, Help & Troubleshooting] quikswitch:
i am trying to connect my phone to my computer but when i connect it the option that says usb debugging comes up but the options for charge only, disk drive, etc.. dont come up..
[EVO 4G Q&A, Help & Troubleshooting] Leukay:
Firstly, what rom are you running? Have you tried a different usb port on your computer? Ive run into this problem a few times, but usually if I plug into a different usb port it shows me the options.