yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] xFOCUSEDx:
The Bootloader say this

Drea100 PVT 32B

HBoot-0.95.0000

Cpld-4

RADIO-1.22.12.29

Sep 2 2008

Serial0

I tried to Downgrade to rc29 just now, so I formatted the G1, copied DREAMIMG.NHB to the sdcard, turned the phone off and restarted using camera and power buttons. go to the Bootloader screen, it was fine until The End, which failed, causing the whole update to fail... i try like 23 time and on the 24 time i try it Passed

Now the g1 is working but i can update or get root
[G1 Android Development] neoobs:
You got that when you pressed home and power? or camera and power?
[G1 Android Development] xFOCUSEDx:
home and power
[G1 Android Development] neoobs:
Now that you have flashed the nbh does it still show the bootloader when you press home and power?
[G1 Android Development] xFOCUSEDx:
yes, that's what i don't get, what is going on,
[G1 Android Development] neoobs:
where did you buy your phone? what carrier was it locked to
[G1 Android Development] xFOCUSEDx:
i got it from T mobile like 7 day's ago,

look i try and this is what is saying,
[G1 Android Development] neoobs:
are you sure recovery.img is the correct one?

If it is then I think you might have a G1 with a different block structure. There was talk before about some G1's having weird blocks.

Can you type just "mount"
[G1 Android Development] xFOCUSEDx:
i apreciate you helping me , i been having problems with my G1 i downgrade it to rc29 about 3 days ago , by lock because i was failing every time it ended updating it was weir because the update was doing allright but at the end i see a failed right next to recovery, so then i try and try like about 23 times until it pass now im getting over the air update, and i cant update my phone because i get the bootloaded screen every time i try to update.

what is going on !! . is my G1 , is it something i did . i try rooting the G1 but it says the recovery image is not on the SD card . i format the card like 100 times.,
[G1 Android Development] McLin:
pls no spaces between rw,remount
[G1 Android Development] xFOCUSEDx:
i try that and it pass no error show up, but then i don't get the recovery screen when i hit Home + power
[G1 Android Development] McLin:
once you must boot normaly and the reboot with home button...
[G1 Android Development] neoobs:
If the recovery image is failing with the nbh file it sounds like you are stuck... you can take it to t-mobile and tell them that the battery died when it was doing the OTA and now it won't update. They should be able to fix/replace it.
[G1 Android Development] xFOCUSEDx:
? what you mean?
[G1 Android Development] neoobs:
the recovery partition seems to be corrupt, some how the boot image was flashed into the recovery partition. Take your phone to the store and don't tell them that you were messing with it.
[G1 Android Development] xFOCUSEDx:
are they going to give me a new g1? if i do go
[G1 Android Development] neoobs:
They should... or they can help you fix it easier than we can.
[G1 Android Development] xFOCUSEDx:
i talk to a guy over the phone from t mobile he did a data rest on my phone. . he said if this don't work i have to mail it back to them wow ,
[G1 Android Development] M0untain:
anyone having problems with bt after the radio update?

I went down to rc29 and rooted and grabbed jesusfreke's rc33. alls well. I updated the radio with "htc-radio-signed.zip" as i hear it increases battery life and signal strength so, yay! And this definitely however, now when paired to my h12 motorola I am not able to hear anything on headset. other end cannot hear anything either. I turn on speaker to isolate issue and speaker is now disabled as well. I turn off BT and problem still persists unless I powercycle. the problem does not exist until AFTER I have paired to a headset. Just having BT on doesn't cause this. There is some bug in pairing phone to BT. can anyone help with this? thanks in advance amigos!!
[G1 Android Development] M0untain:
so after device is rooted you CAN put apps on sd card? how do you accomplish this?
[G1 Android Development] kathi17:
If you put the radio from the Haykuro's roms on your phone, it is the wrong version. You need the JF RC33 radio if you aren't using a Magic rom.

There are whole threads on apps to SD with step by step instructions.
[G1 Android Development] Jefpier:
It worked for me, thanks.
[G1 Android Development] M0untain:
great! could you direct me towards the correct radio update then? the one i got was from a friend who evidently isnt using bt.

also could show me which page the copy to SD thread is on....it takes forever to navigate this forum lol
[G1 Android Development] McLin:
What happend if you reflash rc29 nbh?
[G1 Android Development] xFOCUSEDx:
i get a RECOVERY Fail, and then the update fail
[G1 Android Development] LucidREM:
something's up when you are trying to mount the system as read/write .. when that "usage: ..." line pops up you need to stop .. it's telling you something was typed incorrectly .. it's showing you the syntax that the commands need to be entered
[G1 Android Development] LucidREM:
Abbreviated Directions

this method works if you follow each step and don't mistype something

http://www.kyubinc.org/files/g1_rc_root.txt
[G1 Android Development] xFOCUSEDx:
The recovery partition seems to be corrupt, some how the boot image was flashed into the recovery partition,

This is what is happening to my G1
[G1 Android Development] neoobs:
Can you type mount in telnet and copy the output here?

I have a feeling that maybe your blocks are messed up.
[G1 Android Development] xFOCUSEDx:
i try Downgrading and on FUC*ed because is failling , so im out off lock
[G1 Android Development] xFOCUSEDx:
Ok so i did a DREAMIMG .NBH update and it work this Time wow idk HOW but it did,

so now im on RC29, and my Recovery screen is working to so im doing good, for now
[G1 Android Development] LucidREM:
always possible you had a corrupted file from the download process
[G1 Android Development] xFOCUSEDx:
i don't think is a corrupted file i my new G1 have new Blocks
[G1 Android Development] youuishype:
im trying to go down to RC29 i put the Dreaimg in the sd and the grey adn white screen, says no image file.. also renamed to dreamimg as i read somewhere else still nothing, help?
[G1 Android Development] RueTheDay:
I followed the directions in the original post of this thread (very well written) and was able to successfully root my brand new G1 in 45 minutes. However, I have a question - the recovery.img linked in the original post - is it the test_keys version? I just want to make sure I'm not susceptible to an OTA update that will remove my root access. Thanks guys.
[G1 Android Development] RueTheDay:
One more question - I would like to use NANDROID to create a full backup. I understand that this requires "a recovery image with busybox and adbd running as root". Does the recovery.img linked in this thread have that or do I need to install the one from here? Can I just install the latter since I already have RC33 or do I need to go through the whole process again?

Thanks.
[G1 Android Development] shoong512:
Need of Guidance

To begin: for those who get a fail update..

1. Make sure that you format in fat32 and that when you put your dreaimg.nbh file in your. sd card that its all in caps "DREAIMG.NBH"

2. From there you can perform the usual and it should update fine.

For those that donlt know what to do because you can't go back to your home screen:

1. You must either have a mini sd card reader or a mini sd card reader so that you can put the correct file in (this is what I did: I had a reader and I reformatted and named the file correctly and it worked. I too was stuck at the gradient screen)

Now this is where I need help:

1. I downgraded to RC29 with the instructions followed on the first page.

2. I then did the entire tetnetd process and it seemed to be fine after entering the commands, but when I power down and power back up "holding power + home button" I do not get the command scrolls. I only get the caution sign and the phone

:keep in mind I did download the JF1.41RC33 and change it to update.zip as well as the recovery.img file and placed them in the sd card)

My mistake might be that the .NBH file is still in the sd card or I'm missing aa step any help will be appreciated and when I figure it out I will give a detail write up

Edit: so I think i figured it out. I did everything as follows and it stated, but when i go to check the "about phone" it says that i have 1.1 PLAT-RC33 .. is this correct? is it suppose to say JF or something?
[G1 Android Development] RueTheDay:
I'm not sure if it matters, but when I rooted my phone yesterday, I was careful to only put the file required for each step of the process on the SD card when executing that step. I had no problems at all.

Where exactly are you running into the problem? Is this before or after remounting /system? Or is it when trying to load hardspl?

1.1 PLAT-RC33 is correct for Build Version. Under Kernel Version it should say "jesusfreke@AndroidDev #1 under the version number.
[G1 Android Development] clarkz0r:
Hey, any help here would be much appreciated.

I am stuck at the boot loader screen.

NOTE: my build number in settings is as follows:

I recently got my htc dream through optus (i am from australia).

I have formatted my SD card making sure it was in FAT32. (i did this on a laptop using a card reader as opposed to directly mounting my phone with the sd card in it.)

I copied over DREAIMG.NBH (i made sure that it was all in capitals)

Ejected the SD card, turned off my phone, inserted the SD Card into my phone and Pressed Camera + Power.

From there it brought up the grey bootloader screen and said checking..

Then it came up in red text, Not Allowed and went back to the coloured screen where i then had to pull my battery out and put it back in to get it going again.

NOTE: I have made sure that i had the right image, being the RC7

I guess my question is although whilst it says i am running what appears to be RC8 (same as the UK) is it possible that it is slightly different considering that i have purchased the handset in Australia and that this method of rooting the phone does not work? or have i missed something completely?

PS: Sorry if this question has come up before, i searched and i couldn't find anything similar to my problem.

Thanks in advance!
[G1 Android Development] xFOCUSEDx:
If you got your G1 from australia it is a rc29 DREAIMG.NBH file you have to update here the link , hope i helped

http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip
[G1 Android Development] clarkz0r:
will try now. cheers!
[G1 Android Development] clarkz0r:
same error :confused:
[G1 Android Development] LucidREM:
ON YOUR PC

1. Download the DREAIMG-RC29.zip

US	http://www.kyubinc.org/files/DREAIMG-RC29.zip

2. Extract DREAIMG.nbh to SD FAT32

there is no renaming or changing of anything .. simply extract the file to the SD
[G1 Android Development] xFOCUSEDx:
i had the some error and i just keep on updating the file on tell it passed lol try that

idk was going on Whit the G1 now they just don't want to pass the NHB file lol any whit me on this ?
[G1 Android Development] julienstanford:
Koush

Dead links on your first post.
[G1 Android Development] joey3002:
I am stuck...

I do the dreaimg.nbh step..

When I reboot, it asks me to create a gmail account or use an existing. I have a tmobile sim, but its not active anymore.. I really just want to use the device on wifi.. So when I reboot, I cant get past that step.

Any help?

Thanks
[G1 Android Development] VAMCAVALO:
I am with a similar problem joey3002

but i'm not from USA and I had RC33. using this tutorial, a flashed with RC29 and now i need to use this topic (http://xdaforums.com/showthread.php?t=452316) to procede?

Because I have ADB Shell but i can't have root access; i don't know how to copy busybox using adb push.

Someone can help me?

Thanks
[G1 Android Development] VAMCAVALO:
To proceed after the step 'Preparing to Get Root on your Phone', i need to register on google account to make the telnetd and download it from market?

Because i will need to register by wifi if it is need and i don't know how to use adb push and copy busybox to the phone.

thanks guys
[G1 Android Development] lakers8328:
I am having trouble...can someone help

I have gotten the RC29 installed on my phone and the problem that i cant seem to get past is in the telnet app.

when i enter the "cat recovery.img > /system/recovery.img" it keeps saying "cannot open /system/recovery.img read only file

???? I have been trying this over and over can some please please help me????
[G1 Android Development] LucidREM:
sounds like the system may not have been remounted to read/write

but the cat command is supposed to be run in Terminal right? not Telnet?

5. GoTo Home -> Apps -> Market -> Telnet -> INSTALL

6. GoTo Home -> Type [enter]telnetd[enter]

7. GoTo Home -> Apps -> Telnet -> Connect

8. Type id[enter] -> "uid=0(root) gid=0(root)"

9. Type mount -o rw,remount /dev/block/mtdblock3 /system[enter]

10. Type dd if=/system/bin/sh of=/system/bin/su[enter]

11. Type chmod 4755 /system/bin/su

12. GoTo Home -> Apps -> Market -> Terminal Emulator -> INSTALL -> RUN

13. Type su[enter] -> #

14. Type cat /sdcard/recovery_testkeys.img > /data/local/recovery.img[enter]

15. Type cat /sdcard/recovery_testkeys.img > /system/recovery.img[enter]

16. Type flash_image recovery /system/recovery.img[enter]

my full abbreviated directions are here: http://www.kyubinc.org/files/g1_rc_root.txt
[G1 Android Development] lakers8328:
I think i have root to my phone but i am not sure... is there any way to know for sure?

Also i have tried to update it to the RC 33 and everytime it still says RC29. and once i get everything on my phone do i need to keep all the files on my SD card. sorry this is my first time hacking into a phone lol. i am sure i will have a lot more questions.

Thanks for all the help
[G1 Android Development] suninthyhands532:
Delete your RC33.

Re download it again.

And try to update it again.

knowing your in root you will only know after you update with RC33.
[G1 Android Development] rubyrosepink:
ok neeed help,totally new to the g1 and keep getting issues, don't know whether it's because my phone is a new UK model or what.

where i have to:

Type cat /sdcard/recovery_testkeys.img > /data/local/recovery.img[enter]

Type cat /sdcard/recovery_testkeys.img > /system/recovery.img[enter]

it's coming up saying that recovery_testkeys.img isn't there and that recovery.img isn't readable etc. it's just error message after error message. help please.
[G1 Android Development] r4ttl3:
I would be thankful if someone could informme of the fastest but conclusive way to determine i have sucessfully gained root access?

p.s. Hello xda developers!

-rattle
[G1 Android Development] gymtonic:
I THINK, if you check what version you are running, the build will mention JesusFreke in some way, I'm not sure, I haven't rooted yet :)

I have a couple of questions to ask anyway, is there anyway to restore my phone, like if I don't want root anymore can I revert back? How long does the process take, and do I have to go from RC7 to RC8 to RC9 or from RC7 to RC9 (with the JF ofc.)
[G1 Android Development] jcostantino:
My phone (which has RC29) is asking to update to 30. Should I do it or update to the RC30 that has been patched on here? It seems like there is going to be a parallel development of Google's releases with locked down security and XDA-Dev's releases with root access so I'd like to get in on the ground floor, so to speak.
[G1 Android Development] kamasi36:
Well i"m no tech on this kind of stuff but i have sucessfully jailbricked my G1. Now i need a step by step instruction on how to move my web cache to sd card. Thats all i'm going to do until i see something from xda that is easy for a layman like myself to apply. I have no idea where to go from here. Please help with web cache to storage thank you. And by the way the phone is prompting me to update again i'm on rc29, will this update affect my root access. and how do i apply this access, need step by step...:confused:
[G1 Android Development] zeshansphoneg2:
USB keyboard

got root access, how can I tell what update version I have?

Also, I want to use a standard USB keyboard on this device, can any one help?:D
[G1 Android Development] LvDisturbed1:
How does the phone read the ROM update? Do you think it would be possible to cook a WM ROM for the G1 and get android it to actually run the "update"?
[G1 Android Development] elite-fusion:
well i updated the RC30 using the instructions on here in order to keep the root access....but i reboot my phone, and the 1st thing i type is telnetd, than i go to telnet app and leave "localhost" and press connect it tells me "error while connecting to server: localhost/127.0.0.1:23"....is it manditory to have a wifi connection at all times when i want to get root access?
[G1 Android Development] JesusFreke:
The bug that let you type "telnetd" to start it was fixed in RC30. You can get root in the modified RC30 by opening the terminal emulator app (dl from the market), and typing "su", or by using adb shell from your computer.
[G1 Android Development] humble:
cd system, cd bin, telnetd then netstats(be sure to have the latest update by JF)
[G1 Android Development] elite-fusion:
how would i know if i have root access or not? is there a command i can type in that would normally give me permission denied, compared to if i have root access it will allow me...jsut so that i know if i have root access or not
[G1 Android Development] jashsu:
If you are on RC19-RC29 you have root as soon as you telnet into the terminal (as per instructions in OP). A non-rooted Android (e.g. stock RC30) will fail on the mount command in the instructions above.

To test whether or not your recovery partition has been modified, type getprop ro.secure at a terminal prompt.

0 == rooted

1 == non-rooted
[G1 Android Development] Birba:
Hello

I installed JF's RC30 v1.2.

Now i can't get root by typing su in Terminal Emulator.

I also installed Superuser Whitelist and Shell.

With Shell i get root access.

Also the autorotation in DroidSans TweakTools doesn't work.

Can somebody tell me what i'm doing wrong?

Thanks
[G1 Android Development] JesusFreke:
The whole point of koush's superuser is to make it so you can't just type "su". Because if you can type su to get root access, then any application on your phone can also get root access.
[G1 Android Development] Birba:
But that works only in the app Shell. How should it work for other applications?
[G1 Android Development] Dalamak:
I've Read that is may be possible with this exploit to port WM6 to the G1,

I've got two G1's I've always liked WM, so that would be great for me, any idea if anyone is working on that?

Thanks
[G1 Android Development] dorn:
RC30 already

So, my phone already got bumped to RC30 before I found this site. Any methods out there yet to gain root access to an RC30 phone?
[G1 Android Development] Dalamak:
I'm out- replacment g1 now with RC30

Hope they break it

Good luck

WM6 on G1 , keep it alive
[G1 Android Development] momentarylapseofreason:
Really now... lol

Explain how you flash without root
[G1 Android Development] dorn:
shipwrecked on RC30, any hope of rescue?

So my G1 is lost on the island of RC30. Do I have any current hope of rescue or am I just going to be hanging out with the others until a new hack is found?
[G1 Android Development] Dalamak:
Sorry, made a mistake, misread something
[G1 Android Development] Koush:
The new version works for all applications, including DroidSans autorotate. Redownload it off the market.
[G1 Android Development] momentarylapseofreason:
If I were you, I would take the chance of going into your T-Mobile store and saying you are having issues with connection etc. HOPEFULLY you will get a new unit and it will have RC29
[G1 Android Development] noise17:
Thanks everyone, this thread is illuminating to say the least. I just opened up my phone, it took some doing... i skipped over the first step because i had RC7 originally. It hung up on the recovery image though, and i could not get my phone to boot into recovery despite everything going smoothly.

Starting from scratch though and going back through... perfect.

Thanks again, some very smart cool guys here and it's appreciated by those of us that want to know a little about what's going on under the hood and use their phones to the fullest possible.
[G1 Android Development] LucidREM:
to root you must drop down to the bottom .. once rooted you can flash any version .. ie. root at RC7 and upgrade to RC9 .. however .. the updates being pushed OTA are partials .. so to go back you would drop to RC7 and then wait for the RC8 to come and then the RC9 .. JFs updates are complete .. no partial file updates or patches
[G1 Android Development] imponfire:
rc33 update issue

i know how annoying it is to get the same question 50x, but I read about 30 of the 99 pages and the only answer i see for my question is 'redownload it and do it again'.. and ive done this about 5 or 6x now..

everything from the first page went smoothly until doing the update. i went to all 3 links for rc33 and tried all of them and when i Alt+S i get either update.zip is not found or that its (bad). I went and renamed it so that it doesnt say update.zip.zip, ive taken off the files from the previous step so there wouldnt be any issues there.

if somebody could help me by pm or im (or here of course) i would much appreciate it.. and ill answer the question for the next person that gets hung up on this issue :D
[G1 Android Development] RueTheDay:
1. Make sure that you have formatted your SD card as FAT32. You can do this in Windows after mounting the device by right clicking on it and choosing format.

2. Make sure that the file is named "update.zip", not "update" or "update.zip.zip".

3. Make sure that the file is in the ROOT of the SD card, not in any subdirectory.

4. Make sure you have the complete, uncorrupted file. Looking at my JF RC33 file in Windows now, it is 42,498,708 bytes (right click, Properties, Size).

If you do all these things, and follow the directions on page 1, it WILL work.
[G1 Android Development] Filipe.Nogueira:
I tried installing this (renaming it to update.zip, rebooting, alt-W and alt-S) and I get a message:

E:No signature (385 files)

E:Verification failed

Installation aborted.

Am I doing something wrong?

I just flash it with RC_7 (DREAIMG.NBH) and do the update just like i said.

Im trying to install JFv1.43 RC9 after rc_7.

Please HELP
[G1 Android Development] imponfire:
This ^

tyvm, idk what the problem was, but it seemed to be falling short on the size when i was dl'ing it. i knew it had to be something simple
[G1 Android Development] Filipe.Nogueira:
The problem was that i dont do hard_SPL part...

Thank you all for this

p.s. i love this forum...