The G1 is a loan from a friend, they want me to help fix it.
I get to the final part here in the list of rooting the G1:
10. The Final step is to type
"am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
After I do that, in ADB all I get is this sign >. I get no settings menu popup in the phone at all. It stays at the no sim card / emergency calls only screen.
Fixing the phone for a friend - absolutely no way I can obtain a sim to get past this - no sim card at all. Its a fresh downgrade to RC29 to begin the root.
The reboot command works on the phone perfectly. ADB recognizes the device. Permission Denied in ADB when trying to SU.
I need to be able to bypass the activation AND the No Sim / Emergency calls only screen, thats my goal, to root, and install recovery and finally cyanogen.
Do have experience with ADB. Is definitely installed properly. Driveres are definitely in right.
havocxrush said:
The G1 is a loan from a friend, they want me to help fix it.
I get to the final part here in the list of rooting the G1:
10. The Final step is to type
"am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
After I do that, in ADB all I get is this sign >. I get no settings menu popup in the phone at all. It stays at the no sim card / emergency calls only screen.
Fixing the phone for a friend - absolutely no way I can obtain a sim to get past this - no sim card at all. Its a fresh downgrade to RC29 to begin the root.
The reboot command works on the phone perfectly. ADB recognizes the device. Permission Denied in ADB when trying to SU.
I need to be able to bypass the activation AND the No Sim / Emergency calls only screen, thats my goal, to root, and install recovery and finally cyanogen.
Do have experience with ADB. Is definitely installed properly. Driveres are definitely in right.
Click to expand...
Click to collapse
I think there's a newer dreaimg.nbh file available that allows you to skip activation. Do that and install the 1-click-root app and be happy.
Nah I cant find it after tons of looking around. I just need to get that settings screen to pop up. But nothing........
havocxrush said:
The G1 is a loan from a friend, they want me to help fix it.
I get to the final part here in the list of rooting the G1:
10. The Final step is to type
"am start -a android.intent.action.MAIN -n com.android.settings/.Settings"
After I do that, in ADB all I get is this sign >. I get no settings menu popup in the phone at all. It stays at the no sim card / emergency calls only screen.
Fixing the phone for a friend - absolutely no way I can obtain a sim to get past this - no sim card at all. Its a fresh downgrade to RC29 to begin the root.
The reboot command works on the phone perfectly. ADB recognizes the device. Permission Denied in ADB when trying to SU.
I need to be able to bypass the activation AND the No Sim / Emergency calls only screen, thats my goal, to root, and install recovery and finally cyanogen.
Do have experience with ADB. Is definitely installed properly. Driveres are definitely in right.
Click to expand...
Click to collapse
go here it is the best place to root your g1 I use it for everything, it is da bomb
http://theunlockr.com/2009/08/22/how-to-root-the-mytouch-3g-or-g1-in-one-click/
That requires adb to be enabled, which I believe it is NOT enabled on a tmobile firmware.
There was another sort of bug in the tmobile firmware... stuff you type might just be run in a console as root. I don't recall if it applies to where you're stuck, but it might... I think it is... try this:
Flip open the keyboard and type this: (don't worry that it doesn't show up on the screen)
<enter>sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system (name, value) VALUES ('device_provisioned', 1);"<enter>reboot<enter>
Where "<enter>" is actually pressing the enter button.
It should reboot at this point and hopefully it will come up to the REGISTRATION screen instead of the NOSIM screen.
Then type:
<enter>am start -a android.intent.action.MAIN -n com.android.settings/.Settings<enter>
(again, won't see anything, so just type very carefully...)
If all works as planned, this should pop up the settings program, you can go into network and activate WiFi, press the <back> button a few times to return to the REGISTRATION screen, then you should be able to register (if you want). Or, when you activate the wifi, you could just type in <enter>telnetd<enter> and log in through telnet, root, and be happy.
Note: I believe that you can enable adb using this command:
<enter>setprop persist.service.adb.enable 1<enter>
** if you do this, then you can do the other two commands I showed you over adb rather than blind.
chris6551 said:
go here it is the best place to root your g1 I use it for everything, it is da bomb
http://theunlockr.com/2009/08/22/how-to-root-the-mytouch-3g-or-g1-in-one-click/
Click to expand...
Click to collapse
That isn't going to work for him since he doesn't have a simcard.
oh ok I didnt realize he did not have a sim card, my bad.
Without a SIM card, you're pretty SOL. It has to be in RC29 or RC7 firmware to be able to access the WiFi via that vulnerability, so you'd have to start there. I don't know how far you can get with SIM message, though.
Well, just search the development on this forum you can do anything even if you don't know how, and my last g1 i had to pass everything like you then root then unlock and done alll of that and now runing flawlesly. Don't be afraid of searching. And p.s. you don't need a sim card for anything after passing the login screen.
Ninjineer said:
Without a SIM card, you're pretty SOL. It has to be in RC29 or RC7 firmware to be able to access the WiFi via that vulnerability, so you'd have to start there. I don't know how far you can get with SIM message, though.
Click to expand...
Click to collapse
It is a really good idea to read through the entire thread before responding and making yourself look *really* foolish.
Related
Hey guys I have a stock G1 that was given to me and I can't access the wifi settings thus I cannot sign in. I believe I have the latest update. Anyone know a way around this?
http://forum.xda-developers.com/showthread.php?t=452316
B-man007 said:
http://forum.xda-developers.com/showthread.php?t=452316
Click to expand...
Click to collapse
Does not work with the very latest AOSP update : (
cars1106 said:
Does not work with the very latest AOSP update : (
Click to expand...
Click to collapse
You need to root your phone.....Read the stickys at the top of this section to learn how
It has been rooted before. then I unrooted it gave it to someone to use, it got updated and I don't have a sim with data and now I can't do anything with it. I guess I will have to downgrade via SD stick somehow through the recovery menu and try and run the exploit again.
if your one of those one-click rooters....your out of luck
you will have to root the old fashion way.....hint: RC29 DREAIMG.nbh
B-man007 said:
if your one of those one-click rooters....your out of luck
you will have to root the old fashion way.....hint: RC29 DREAIMG.nbh
Click to expand...
Click to collapse
Yup, I had the same issue, downgrade to RC29, then follow this:
**Originally Posted by dizzydevil111**
please make sure you have rc29 or lower by typer (enter)reboot(enter)
if the phone reboots then you have rc 29 or lower.
if not, follow this guide to downgrade to rc29
2. Mount your SD card in Windows and reformat it as FAT32. The HTC
bootloader won't be able to see the RC29 (or RC7) image otherwise. Make
sure you back up all your files first!
3. Download the appropriate image (RC29 for USA or RC7 for UK) from
http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip or
http://koushikdutta.blurryfox.com/G1/DREAIMG-RC7.zip . This is a DOWNGRADE
to the Android version that contains a root shell bug (this exploit just
seems too easy). I got these files from the forum thread
http://forum.xda-developers.com/showthread.php?t=442480 .
4. Extract the DREAIMG.nbh file from the downloaded zip archive and copy it
to your SD card (again, for me, this had to be formatted as FAT32, not just
regular FAT which is the default). Don't put it in a folder, just stick it
directly on there.
5. Disconnect the SD card the right way (eject, unmount, or otherwise tell
your OS you are unplugging it) to make sure the data gets written. If you
used an SD card reader, put the SD card back in your phone.
6. Make sure your phone has a full battery, then turn it off. Turn it back
on by holding down the CAMERA and POWER buttons. This should get you into
the HTC bootloader (the funky red, green, and blue screen).
7. If everything was done correctly, the bootloader will detect the image.
You'll be taken to a different screen that asks you to press the POWER
button to install the image. Do this, but beware, you will lose all your
saved data on your phone (with the exception of things that are synced with
Google's servers, like contacts, calendar, Gmail, etc.).
8. Wait for the update to complete. The progress bar will fill up, then
all the steps will say OK beside them, and finally, it will ask you to press
the "action key" (I think this means click the trackball). DO NOT do
anything until you see this message. The progress bar needs to DISAPPEAR,
not just fill up.
9. You now have the stock RC29 installed. Take out the battery, put it
back in, and turn on your phone. It should ask you to activate your Google
account again -
once you have this done type on the phone again (enter)setprop persist.service.adb.enable 1(enter)
your pc should now pick this up as an android adb device
point it to the correct drivers found in the file called androidusbwindows
once that installs, extract the adb file anywhere on your pc. (best place is root directory)
open up a dos command prompt and type (cd ..<enter>)
then type (cd ..<enter>)
then type adbshell
should look like this thereafter
$
referring to the dollar sign
then copy the following line into your dos command prompt and press enter
(am start -a android.intent.action.MAIN -n com.android.settings/.Settings)
please make sure that you copy the contents of adbwin.zip in your ROOT FOLDER or else you will be going through hell
voila you should be able to access wifi
pm me if it worked for you
Ok i have an g1 thats unregistered and i kow how to activate it through wifi but i cant because i dont have an router i was wonder if someone could explain to me how to bypass this without activating my g1 it said or how i send these commands with adb
Now, copy a busybox binary to /data/local/busybox with adb push, and then connect to your phone with adb shell, and give the busybox binary execute permissions (i.e. chmod 755 /data/local/busybox)
busybox has a telnet applet, so you can do:
busybox telnet 127.0.0.1
to get a telnet session with root access.
- If you don't want to register the phone at all, you can set the app.setupwizard.disable property to 0 to prevent registration. Once you have an adb shell session open, type the following:
setprop app.setupwizard.disable 1
and then reboot. once it loads back up, it should bypass the registration screen all-together
but i am so confused thanks for the help
Do you have root? Most custom ROMs give you an option to skip.
i was in the process of rooting my g1 when i had downgraded it but i couldnt finish it because i had to activate it when i got it it was already activated
charles20212 said:
i was in the process of rooting my g1 when i had downgraded it but i couldnt finish it because i had to activate it when i got it it was already activated
Click to expand...
Click to collapse
It's been so long since I rooted that I can't remember if there are any other options. I think when first I got mine, there was no way to root with wifi. I couldn't even register while roaming, and had to drive 40 miles (nearest T-Mo tower) just to use my G1 for the first time. That sucked!
is there a way to bypass it without using wifi or can i install a new rom or something
If you are rooted, then try a new rom. Most of them will have the option to skip.
how i know if im rooted
So I've been trying to register my G1 without the data plan, but it's not working. I have RC9 on it, but when I try to enable adb and get root access, it doesn't seem to work. I tried rebooting it with the command and it worked. I don't know what I'm doing wrong at this point. :l
its a 3 step process
1. downgrade to RC29 or below (i used DREAIMG.nbh)
2. enable ADB (even though you are seeing the GUI and CLI is still going on in the background
to reboot the phone you typed in <enter>reboot<enter> try typing this next one in (if u dont already have the android sdk u should download it)
<enter>setprop persist.service.adb.enable 1<enter> )
3. use adb to force open wifi setting menu
(adb shell)
(am start -a android.intent.action.MAIN -n com.android.settings/.Settings)
try this thread for more help, and next time pls use search button
theres countless threads on this
I got it to work now, thanks.
I've not found any usefull manual to skip the android logo after booting (android 1.5), I'm stuck, can I install another bootloader without root (guess not) ? Maybe I'll better sell the phone, with cm I never had this kind of problems.
You could try flashing an upgrade/downgrade in fastboot(power + camera); you could root it afterwards.
Decimae said:
You could try flashing an upgrade/downgrade in fastboot(power + camera); you could root it afterwards.
Click to expand...
Click to collapse
ori bootloader: couldn't do that.
I got past the homescreen:
on adb: am start -a android.intent.action.MAIN -n com.android.settings/.Settings
robuser007 said:
ori bootloader: couldn't do that.
I got past the homescreen:
on adb: am start -a android.intent.action.MAIN -n com.android.settings/.Settings
Click to expand...
Click to collapse
Maybe you should spell out what, EXACTLY, you have on it and how it got there.
lbcoder said:
Maybe you should spell out what, EXACTLY, you have on it and how it got there.
Click to expand...
Click to collapse
really don’t you just have to:
1. go to rc29
2. on “click android” part setprop persist.service.adb.enable 1
3. on adb: am start -a android.intent.action.MAIN -n com.android.settings/.Settings
1. Just put in whatever SIM you are using, then on the activation screen, hit Menu then click on APN. Click add APN and put your company’s internet settings in (ask your provider for these settings). Then add the data plan to your account for the day and remove it after you have activated the phone OR get a friend with a data plan to activate it for you.
The following procedure can be used if none of the above are available to you…
I. Getting Back to RC29
1. This procedure requires you to be on an old version of Android (RC29 aka Android 1.0) so you must use our unroot procedure first and get to RC29, DO NOT DO THE STEP THAT TAKES YOU BACK TO CUPCAKE, skip it and come back to here once you are on RC29.
How To Get Back to RC29
2. You also need a WiFi connection to do this procedure.
II. Setting Up ADB
1. After you are back to RC29, follow our How To Setup ADB procedure EXACTLY as it is written. Once you are able to see your phone’s serial number after typing ADB devices in the command prompt, then come back to this procedure.
IIIa. Activating the Phone Over WiFi WITHOUT a SIM.
1. Borrow someone’s SIM card then procedure to Section IIIb.
IIIb. Activating the Phone Over WiFi WITH a SIM but No Data Plan.
1. Turn on the phone, you will get a Touch Here to Begin Screen.
2. Open the phone’s keyboard and hit enter once then type the following on the phone’s keyboard:
setprop persist.service.adb.enable 1
3. Then hit enter.
4. Hit enter AGAIN and type the following on the phone’s keyboard:
telnetd
5. Then hit enter.
6. With the phone still plugged in and the command prompt still up on your computer screen from the ADB process, type the following in the command prompt on your computer with hitting an enter at the end of each line:
cd\
cd c:\AndroidSDK\Tools\
adb devices
*this should bring up a serial number if your phone is connected, if not then redo the setup ADB process.
7. Now, in command prompt on your computer, type the following with hitting enter at the end of each line:
adb shell
am start -a android.intent.action.MAIN -n com.android.settings/.Settings
8. On your phone should pop up the Android Settings screen, you can now choose a Wifi network to connect to then hit back and finish the activation process over Wifi. Enjoy!
I'm Fairly savvy with computes and technology this has me at hump
what i have
Usb coard
Sd Card
G1 Phone
Windows 7
Q.A) how do i know what model stock version i have on my G1? ( I AM stuck at the google activation screen, so i can't go in and check
B. I downloaded everything i need to, Drivers and on my device manager i see ADB device and it shows HTC Dream
C. My SD Card is not showing up or is grayed out almost as if the g1 is not even reconginzing it.
I really can't do anything as far as rooting without a sd card, so how do i make my phone reconginze it?
U have to activate it I think to be able to mount your sdcard to the computer or to get the info for your phone so start there. Then I beloved holding volume down and power will get u the info. When u plug your phone in u have to pull down from top of phone and click mount to get SD on computer
Sent from my Chromatic Magic using XDA App
damn, i live 4 hours from the nearest T-mobile store
U don't have a sim card with them I take it? Or a friend who does. Lol
Sent from my Chromatic Magic using XDA App
freshkid87 said:
damn, i live 4 hours from the nearest T-mobile store
Click to expand...
Click to collapse
Call them or go on the web and order an activation kit, they'll mail it to you.
alright man im help you out get passed that jus follow these instructions
But what you can do is check your hboot and what bored you have!
power down and hold camera buttong and press power
keep it held down till you see 3 tri colors, and make sure your hboot is not 1.33.005 or something along those lines
if its at 0.005.00 something then you can use the Dreaimg and go down and then use these instructions to get passed it then do the telnet root, and from there follow root instructions
if you have white screen with 3 skateboarding androids and hboot 1.33.2005 then you have (death SPL) but im sure your still on stock hboot and all but you can check what bored you have and grab the right Dreaimg for your phone
First, You must have either RC29 or earlier, or modded RC30. It won't work with official RC30, sorry. If you don't know for sure what version you have, but you know you haven't installed a modified RC30 build, then the easiest way to check is to reboot the phone, and once it starts up and is showing the "click the android to begin" screen, or the "no sim card" screen, then type the following on the phone keyboard
<enter>reboot<enter>
If it reboots, then you have RC29 or ealier. Otherwise you have RC30.
Second, you must have adb installed on your computer, and have the USB drivers installed, or at least ready to install when it asks for the driver when you connect the G1. See this page for details on how to get adb working: http://code.google.com/android/intro...devicehardware
Third, you must have a wifi network that you can connect to.
There are too many possibilities to write specific step-by-step instructions for every case. So I will give an overview of the process instead. If someone else wants to write some specific instructions, that would be welcome
-----------
When you start up the phone without a sim card, it goes into a locked screen that says "no sim card found", and you can't even get into the registration app. So the first step is to get around that screen. You have to connect to your phone with adb shell and get root access, and then type the following command:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO system (name, value) VALUES ('device_provisioned', 1);"
And then reboot the phone. When it starts up again it will go into the registration screen instead of the locked "no sim card" screen.
This assumes that you have the sqlite3 binary on your phone. This binary is provided in RC30 v1.2. Alternatively, you could manually copy the binary to your phone with adb push, or put it on the sdcard and copy it to your phone. I can post a copy of just the sqlite3 binary if needed.
-----------
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
This doesn't have to have root access to work. It works fine with the "shell" user that adb on non-modded phones runs as.
That command will bring up the settings page on your phone. From there, you can enable wifi and connect to your wifi network, and then proceed with registration as per normal
Click to expand...
Click to collapse