yashsingh1/xdaforums huggingface dataset:
[G1 General] The Bambino:
Re-register G1 without simcard to get wifi access

I just got off the tmobile network and i was wondering how to re-register my G1 without the simcard so that i can get wifi access from my home
[G1 General] Jbanicar:
Greetings,

I need some help getting this process started. I've read a few pages here & have downloaded the SDK; I tried following their instructions to install the SDK by double clicking on the "SDK Setup" exe.

So, me assuming that this installed the SDK, I then proceed to read on how to download & install the USB drivers; no problem, right? Well, I read that I need to start up the by clicking on the same "SDK Setup" or by nagivating to the <SDK>/tools directory & typing "android" into the cmd prompt... but when I do this, I see this message:

"Starting Android SDK and AVD Manager

SWT folder '' does not exist.

Please set ANDROID_SWT to point to hte folder containing swt.jar for your platform."

So, in affect, I cannot start the AVD Manager to download the USB drivers to even get started on my G1 unlocking process.

Could someone help a newbie out with technical advice on getting started?

[EDIT: MORE QUESTIONS]

-When it says to perform <enter>reboot<enter> to see which version my G1 is, do you mean "hit physical keyboard enter key" type reboot "hit physical enter key again" ?

-Does the Rooting process still work correctly on Windows 7? When I plug the G1 via the USB cord into my computer, nothing happens.

-Could you please explain how I can download the USB drivers correctly? As I stated above, it seems that I have to run the AVD Manager to add the USB driver component to the SDK. I cannot get this to start up (See above).

Thank you
[G1 General] :
i'm Stuck....

ok...figured it out for the most part...phew...
[G1 General] Kevinkevinnn:
HELP!

I need help!

I did this before... but unfortunately it must have had a bad reset and messed up my software.

So all in all i had to reset my g1.

I've made it to the adb section. i'm having trouble with the setprop thing you set in your phone... and then you open up adb? and under command prompt you type adb?

I've tried on a mac and a windows. and under windows i did install the drivers.
[G1 General] synaptyc:
I am STUCK!!!

I had RC30 on my G1, then i flashed it to RC29 and tested it with <enter>reboot<enter> and all goes well.

I am back at the "NO SIM CARD" screen.

I have installed "android-sdk_r04-windows" and updated it successfully.

I installed the drivers that came with the SDK for my phone.

Next I enabled ADB on the phone by following tip #1. All is going well.

Now I need ROOT access so I followed tip #2, but I keep getting "sqlite3: permission denied".

THIS IS WHERE I AM STUCK :confused:

What do I do now?

(by the way... I have the SDK folder as C:\android-sdk-windows\tools I think i have that right)

Please help!
[G1 General] Lollipop_Lawlipop:
Can you bring up the settings menu using adb after telnetd is entered? After that you can login and flash a new recovery
[G1 General] synaptyc:
I don't know how to do that. I am currently only using the CMD prompt to enter the command I get "permission denied" on. When I input <enter>telnetd<enter> on the keyboard of the G1 I get no response. No noise or screen changes. I just don't know what I am typing is doing anything.

EDIT: I just typed: telnetd in the CMD prompt and it responded: telnetd (not permission denied like if i type "root" or "device"
[G1 General] Lollipop_Lawlipop:
You're not supposed to get a response.

Do these two:

- If you have an official RC29 or lower phone, type the following command on the phone keyboard to enable adb:
<enter>setprop persist.service.adb.enable 1<enter>

- If you need to get root access on an official RC29 or lower phone, while it's at the registration screen, or the "no sim card" screen, enable adb (see first tip), and then type the following command on the phone keyboard:
<enter>telnetd<enter>

and then

The second step is to enable and configure wifi, so that the registration process can connect to the google servers. In an adb shell session, type the following command:

am start -a android.intent.action.MAIN -n com.android.settings/.Settings

Then continue with the setup wizard.
[G1 General] synaptyc:
Okay.

I completed these steps. After the 3rd step i get

C:\android-sdk-windows\tools>adb shell
$ am start -a android.intent.action.MAIN -n com.android.settings/.Settings
am start -a android.intent.action.MAIN -n com.android.settings/.Settings
Starting: Intent { action=android.intent.action.MAIN comp={com.android.settings/
com.android.settings.Settings} }
$

Nothing changes on the G1 screen. It is still at the NO SIM CARD screen.
[G1 General] Lollipop_Lawlipop:
Okay, here's the deal.

Pull sim out. Activate adb. Shut down.

Insert sim (doesn't matter which carrier) and enter that settings adb command.
[G1 General] synaptyc:
lol.

I have no SIM card. (hence the reason I am following this thread)

I got this G1 from a friend who doesn't use this phone any longer. I am just wanting to get it past the SIM screen so I can play with it :p I may just have to borrow his SIM to get past this.

Any other thoughts?

(thnx for the help btw)
[G1 General] sassyness77:
please help

ive rooted my g1 over a year ago but never got this to work, i just switched sim card with a friend. but now my friend wanted me to root his so i am at touch android to begin.... reboot command works, but the adb activate doestnt do anything i still get no devices in adb. this all works fine on MY g1 that is rooted, but not his phone. I read you need usbdebugging checked but that is immpossible right now obviously. So does the activate adb take the place sort of the usb debugging instead? So could someone tell me in Extreme detail how to get adb activated on his phone. :) it hasnt ever worked for me.
[G1 General] LucidREM:
No Data Plan

you can activate debugging by following the OP instructions:

<enter>setprop persist.service.adb.enable 1<enter>

i believe this is only accomplished on RC29/RC30 phones .. but is not impossible .. if you flashed RC29 then you can do this in order to root the phone
[G1 General] sassyness77:
okay, sorry about this but im extremly frustrated lol ive never had a problem with anything else.

boot phone, touch away from the android so nothing is selected

push(enter) (type) setprop persist.service.adb.enable 1 (push)enter

plug phone in open adb list of devices

and that is exactly how to do it?
[G1 General] crazyman89:
no sim/rc30

I have the RC30 and also cannot read sim card.

I have found info to fix one or the other but not both.

I have used activated T-Mobile data plan card- didn't work

My AT&T non data plan card in worked in another g1

not in my g1

Bought phone new and purchased unlock code from unlock-tmobileg1.com

It erased my original sim card and has been locked up since
[G1 General] LucidREM:
No Data Plan

REGISTER (NO DATA PLAN w/ WIFI)

ON YOUR G1

1. <enter>setprop persist.service.adb.enable 1<enter>

ON YOUR PC (w/SDK INSTALLED)

1. C:\> adb shell

2. # am start -a android.intent.action.MAIN -n com.android.settings/.Settings

these are the basic commands .. all the info is in the OP .. sounds like you have a bad phone .. did you have a question?
[G1 General] rubikscube:
Device offline

Hey guys,

I've downgraded to 29 successfully, being able to do the <enter>reboot<enter>, but when I run 'adb devices' my device shows up but it says it is 'offline'. I've seen some other posts in this thread asking about it, but no answers. Can someone please help? :)

Edit: Got it working.

Possible Solution: I tried it again on a different computer. The thing I did differently, was that I used the usb drivers packaged with the SDK, instead of the ones I found in a some zip file floating around the net.

So, try it on another comp, and use drivers from the /usb driver folder in the SDK directory.

Hope that helps someone else! =)
[G1 General] xavier6303:
Nevermind, I enabled the AT&T apn and it works now.

So I have recently changed carriers from T-Mobile to AT&T without a data plan (free plan) an dnow I'd like to sync via wifi. I am on CM4.2.5 and I've tried signing in connected to my wifi ap but it never connects. I keeps saying cant establish reliable data connection...

Do I have to downgrade to modified RC30 and follow the first post or is it moot when you are already rooted?

What do I do?
[G1 General] LuckyJ26:
When I try to register my gmail account, it says "A problem accoured while communicating with Google servers. This could be a temporary problem or your sim card may not be provisioned for data services. If it continues, call Customer care"... The thing is I have wifi on...
[G1 General] LuckyJ26:
Nevermind guys. I just made a new gmail account and it worked. Thanks!
[G1 General] Jessysj:
can some one make a vid because i been trying this for months haha nad i did every thing
[G1 General] InnovatedMind:
Okay that was quite a read, I have a few questions of my own! Please help me!

So my friend is giving me her old G1 since she got a new phone and it is basically sitting in her glove compartment. She has T-Mobile I have AT&T.

I am on a family plan with no data plan and my parents went so far as to put a data block on all the phones. I read a few sites and I heard from one that once the phone is unlocked it is a one time deal, if this is true this may be good for me.

A) Since my friends phone is obviously unlocked since it was hers and she used it, if I put my ATT sim card in (she's not gonna factory reset), will it work? What would I have to do

Since I dont have a data plan and my parents blocked all data (internet, not messaging) but I have Wifi, can i tell my friend before she mails me her G1 to enable wifi?

B) Since I don't plan on getting wifi anytime soon, this would be good no? Ofcourse if question A is correct that I wouldn't have to unlock it and activate it.

Ba) If question A is fail, could i still activate the phone via my wifi on the gmail account set up?

So those are all the questions I have, I would like to know what I should do when i get the phone in anycase because I would really like to use it, and i plan to use the wifi feature instead of paying for a data plan since my town has a lot of free wifi hotspots!

Let me know!!!

- Joey

you can also reach me at,

Email: alternaterealm@mail.com

AIM: inability2sleep

msn: inability2sleep@hotmail.com
[G1 General] carnegie0107:
Die, zombiethread, die!

In all seriousness...

You're sorta missing the point on this thread. It doesn't have anything to do with getting it to work on ATT. The issue is, when you get a G1, the first thing you do, before you can use the phone at all, is sign into your Google account. You can't even go to settings to enable wifi. If you don't have a data plan, then you can't sign into Google, and the phone will never work--unless you can get around that, which is what this thread is about. It doesn't have anything to do with being 'unlocked'. Unlocking a device allows it to work on a different carrier. Just because she used it doesn't mean it's unlocked, and if it's stock, it probably won't work on your ATT sim card, no. Besides, it will be signed into her Google account unless she does a factory reset, so she will probably want to do that. If you need an unlock, look here.
[G1 General] xaxis:
sorry for my ignorance

but when i type sqlite3 /data/data/com.android.providers.settings/settings.db

it gives permission denied

i can't login,

i used adb shell command first, i think i am not doing it right!
[G1 General] JesusFreke:
First, do you have a sim card at all? If so, you don't need to run that command - it's only for when you don't have a sim card.

Second, when you type adb shell, do you get a $ prompt or a # prompt?
[G1 General] xaxis:
i do have a sim

i get the $ prompt

many thanks
[G1 General] JesusFreke:
From my original post:

Did you start up the phone without a sim card? Did you see a screen that said "no sim card found"? If not, then why are you trying to run the command to get around that screen :)

You can skip directly to the second step:
[G1 General] xaxis:
YOU ARE A GENUIES!!!

it worked, why no one is talking about this find???

thanks man
[G1 General] cmavr8:
Look at my signature!

edit: didn't see the last page..

yeah, jesusfreke is genius!

big thanks to him.
[G1 General] googcs:
I am able to get into the browser from the Gmail login. Anyway to get into the settings from there directly? I am having hard time figuring out how to get the adb shell and root.
[G1 General] cmavr8:
In which step of the adb commands are you stuck?

We can help..
[G1 General] googcs:
Glad you asked, I looking for some steps by step directions to get this done. I connect my phone via USB and start the emulator SDK...now what?
[G1 General] dashesy:
Thank you very much :) It worked for me.

and BTW if anybody requires web authentication for WiFi just run this command in shell to have a browser instance:

am start -a android.intent.action.VIEW -d http://www.google.com
[G1 General] cmavr8:
Typing "adb devices" in a terminal should give a list of devices connected.

Does it work?
[G1 General] slevin.yu:
Really Great!

If there's a way to see the home screen without registeration the google account, it will be more helpful:)
[G1 General] eboy44:
will activating the G1 this way allow you to bypass the google plan from tmobile? or will tmobile still slap on the service after a month or so?
[G1 General] [RiS]:
Applied 2nd step on my new Dev phone 1 to activate it through wifi and worked flawlessly. thanks!
[G1 General] remiks3:
I am having trouble installing USB drivers for my device...

http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware

On that website how am I supposed to turn on USB debugging on my device if I can't even get past the "SIM card locked" screen?

And also, once i connect my G1 to my computer, it automatically assigns it as a disk drive, how do i disable that? Whenever I go to "update driver" and point it to the directory with the USB driver, it tells me it is already updated.
[G1 General] :
This is awesome! thanks for this!
[G1 General] Meeker:
As requested a quick step by step, this is what I did with a sim card without a Dataplan on the Dev Phone last night. A little hazy on the exact command for the shell session, but it’s a quick command and some reading to figure it out. Thanks for the help on getting mine registered!

Step 1

Download the SDK

http://code.google.com/android/download.html

And unzip contents to a directory on your computer

Step 2

Download the USB Driver

http://dl.google.com/android/android_usb_windows.zip

And unzip contents to a directory on your computer

Step 3

Connect the phone using the USB cable provided with the phone to your computer and direct your computer to search for drivers in the location you unzipped the drivers in.

Step 4

Open a command prompt (Windows XP in run type “cmd” I believe you can do that in VISTA as well) and go to the directory where you unzipped the SDK and go to the “tools” directory

In the command prompt type

Adb

And search for the option that opens the shell session and enter that

Step 5

Type in

am start -a android.intent.action.MAIN -n com.android.settings/.Settings

in the shell session and you should see the menu change on your phone

Step 6

Configure Wifi settings on your phone and the phone should be able to connect to the network, remember to WAIT for the phone to verify it has connected the network before exiting the screen, else you’ll have to redo the shell command in order to access the screen

Step 7

Register the phone and watch everything sync.

Just a note, I'm not a programmer or anything... soo anything technical someone else will need to help you unfortunately, but as someone did request that a step by step be written up and I didn't notice one before I felt what the heck right?
[G1 General] DigiRhino:
I'm hoping you can help me,

I got to the step where i have to open the shell but after i find the right command ( adb shell ) it is not recognised. I just recieved my dev phone and i'm not getting a data plan. also, what is a shell?

please and thanks,

DigiRhino

EDIT

fixed it, i was typing the wrong comand, instead of the propper one i was stopping at the directory. instead it should be directory of sdk\tools\adb shell, this worked while i was on the touch android screen and i had already installed everything. if anyone in the same situation i was in needs help, feel free to ask . i'm usually online so dont hesitate

DigiRhino
[G1 General] Meeker:
Effective the shell session is just a command line to the phone? I guess that's the best way I can explain it? When you type it in the cursor will change to

a $ sign to let you know the session is open

Meeker
[G1 General] Sk8erAndroid:
Installing Drivers

I am having a few issues regarding the installation of my G1 Drivers.

When I plug in my G1 to my pc ( Unactivated G1 Phone ), it doesn't ask me to look for drivers to install. Somehow, a few drivers were automatically installed, and my G1 Directory pops-up ( My music and images folder ). I believe this is the USB drivers, as HTC USB Driver is listed in my hardware manager.

However, when I execute the following command : adb devices, it doesn't show my attached phone. What do I do?

Is there any other application that I need? Is eclipse required.

Thanks in advance.
[G1 General] TmobileDash12:
I have RC29 and i did this step.

- If you have an official RC29 or lower phone, type the following command on the phone keyboard to enable adb:

<enter>setprop persist.service.adb.enable 1<enter>

When i type adb devices, it doesn't show any.

I installed the drivers also.

Thanks in advance. Help is appreciated :]
[G1 General] TmobileDash12:
IDK if this will help or not but...

USB Devices List

Created by using USBDeview

Device Name	HTC Android Phone

Description Android Phone USB Device

Device Type	Mass Storage

Connected YES

Safe To Unplug	NO

Disabled	NO

USB Hub NO

Drive Letter G

Serial Number HT844GZ05401

Created Date 3/20/2010 11:23:02 PM

Last Plug/Unplug Date 3/20/2010 11:27:59 PM

VendorID	0bb4

ProductID 0c01

USB Class 08

USB SubClass 06

USB Protocol	50

ParentId Prefix	7&1e296fee&0

Service Name	WinUSB

Service Description Android USB Driver

Driver Filename WinUSB.sys

Sorry for the double post =X

I have the environment variable set.

abd says there's no device.

please help
[G1 General] el_venga:
i need to skip or register a G1 that is locked to tmob usa, i dont live in usa so no gprs method and also wifi is broken, doesnt turn on. i have tried various stuff but no success. lastly i tried editing package.xml but when i try to overwrite on phone i get permission denied. any help is good.
[G1 General] kunheng:
hi

i just got a used G1 today and try to register with my no data plan tmobile sim card, but i can't connected to server, i tryed to follow what u write here, when i type "reboot" my phone is reboot, when i type" setprop persist.service.adb.enable 1" nothing happen on my phone, but i can hear driver disconnect and then connect it back to my pc.what should i do? or did i miss sth? can u tell me to do step by step?(i'm just a basic pc user)

thank for you reply...
[G1 General] androidlicious:
I don't have a PC, so I am just guessing these steps so I am not sure if they will work sequentially or not. But I'll try to help.

1.) After typing setprop persist.service..., the phone should be connected to your PC.

2.) Download the Android SDK and unzip it somewhere on your computer.

3.) Then, open the command prompt program (or start -> run -> type "cmd" without quotes -> enter).

4.) Type in the path to your Android SDK folder. Hit enter. You should now be in your Android SDK folder.

5.) Then type tools. Hit enter. You should now be in the tools folder.

6.) Type adb shell and hit enter to login to the phone.

6.) When you see the # sign, type am start -a android.intent.action.MAIN -n com.android.settings/.Settings

7.) You should now see the settings dialog on your phone.

Once again, I typed this up blindly so I can't verify if they are indeed step by step but hopefully it helps.
[G1 General] kunheng:
i did follow what u just tell me. but it jump an error " no device found". is it because i dn't have use driver ? if so where can i find it?i'm using window xp and window 7 ultimate...
[G1 General] coisman:
I have the same problem as TmobileDash12. Installed the correct driver, typed in the command (on RC29) and I open command prompt and try to type 'adb shell' but it's not detecting my phone. What's going on?
[G1 General] el_venga:
i think i remember an old issue for that. did u installed adb drivers manually or windows just installed it by itself? in 2nd case, u need to uninstall it and select manually drivers from the SDK.

how exactly can package.xml be overwriten? i always get permission denied.
[G1 General] kunheng:
i still can't connect my g1 with pc, when i type" adb shell" it still can't find the device. but after i borrow my friend t-mobile sim card and register the phone, and then i type "adb shell" it some symbol, and i can't type the code... what do i missing? about usb driver, my pc just install it by itself, if i have to uninstall and manually install driver, can u should me how? thank for all you guy helping ( my english not really good , sory if u dn't understand)
[G1 General] dat010man:
i tried to put <enter>reboot<enter. but only numbers come into my g1 what to do? :(
[G1 General] kwanbis:
Guys, i just did it to my G1, following this tutorial, http://istunner.com/?p=104 that is based from the ones here.

I donwloaded the USB drivers from here http://xdaforums.com/showthread.php?t=532719 as the new SDK does not includes them.

Also, there you have an explanation of how to setup ADB.

I'm running Windows 7.
[G1 General] havocxrush:
Trouble rooting loaned G1

Edit: wrong place
[G1 General] djremix71:
Installing New Rom After This

Hey,

So I just picked up a cheap G1 off of eBay to test Android out with. I will be using it without the sim card. I was wondering though, if I tried to flash to a new rom (I am thinking CM 5.07), would me not having a sim card affect this at all?

Thanks!
[G1 General] ajclai08:
No you dont need a sim, but stock roms need you to sign into google in-order to use the device. And you need to get past this to root the device..in order to flash custom roms. Luckily, the g1 has a physical keyboard ands theres ways around it..so i suggest u get reading.
[G1 General] djremix71:
Hmm...okay. I have been reading quite a bit. I did see a lot about having the right version of "radio." Is the "radio" file in the sim card or does it reside on the phone?
[G1 General] ajclai08:
No the radio is not on the sim card. This is really important you follow the steps and the flash the proper radio in the right order. I believe you need to flash some kind of recovery 1st in-order to flash a radio.. and in-order to have the recovery you need the device rooted.
[G1 General] djremix71:
Ok...thanks! This reminds me back in the day of my Razr V3M on verizon that I hacked like crazy to run a different operating system and give me free bluetooth internet on my laptop!
[G1 General] stewby:
I upgraded to the Evo and canceled my plan with T-Mobile. Afterwards I could still use the G1 normally on wifi only until I wiped it and removed my sim. When I boot up I get the 'No sim card' screen. Simply pressing menu takes me to the home screen. It is rooted with cyanogenmod, so I launched terminal emulator and entered the sql command directly from the phone and rebooted but I still get the 'No sim card' screen. I can get to the settings from the phone directly and have enabled wifi and connected to my network, but when I try to sign in to Google I get the message "Can't establish a reliable data connection to the server. This could be a temporary problem or your SIM card may not be provisioned for data services'. I can get to web pages in the phones browser, so the wifi is working correctly.

How can I register the device and sign in to Google to use the phone on wifi only?