A few questions about unrooting/wiping - G1 Q&A, Help & Troubleshooting

I have a T-Mo G1 that had CM 4.1.11.1 on it and I was looking to upgrade to the newest stable, 4.2.1, using CM recovery 1.4. Something went wrong while upgrading so I decided to unroot the phone. I've read many guides on rooting and unrooting, but something just doesnt seem right to me.
1. When I return to rC29 should Telnet be downloading automatically? Does this mean I still have stored info somewhere in there?
2. When performing tasks in CM 1.4, such as flashing, it prompts me to reboot so I do it. Should I be returned to the recovery screen again after boot every time? I don't remember this happening before...
3. Which update.zip do I use when unrooting, the 177kb (droids on skateboards) or 205kb (red, green, blue, white) file?
4. Can someone give me a guide to unroot and fully wipe with CM 1.4?
Any help is appreciated, thanks alot.

I'll give you the steps to unroot which should answer your questions
1) Flash the stock SPL (the tri colour one). If you have 1.33.2005 (AKA Danger) SPL and you do downgrade to 1.1/RCx YOU WILL BRICK.
2) Flash the RC29 DREAIMG.nbh from the SPL - boot in to it by holding power and camera (it should be tricolour). Telnet should not magically be there, even if it was, doesn't matter
3) Put a recovery image of your choice on the root of the sdcard as 'recovery.img'
4) Flash the recovery image
1. Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
2. Download the Hard SPL and copy the zip file to the SD card.
3. All files must be on the root of your SD card.
4. Restart your phone. Wait for your phone to start up fully and show the home screen.
5. After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
6. Download an Android "Telnet" application from the Market and connect to localhost.
7. If you connect successfully, you will have a root prompt "#".
8. Type the following into Telnet (these commands will give you root access easier in the future):
* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
* cd sdcard
* flash_image recovery recovery.img
* cat recovery.img > /system/recovery.img
Click to expand...
Click to collapse
After that you can flash the 26I radio then a 1.5/1.6 ROM.

only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/

*Double post fail*

mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
He wants to re-root I believe, so not point updating.
RC29 and RC7 aren't root enabled ROMs, they just have security flaws which can be exploited to flash root enabled ROMs. Updating doesn't matter...

Thanks for your help, I'll be able to try this in about a half hour, will report back. As you said after step 4, I will need to flash a "26I" radio?
Had to install Telnet manually. Good to see a sign of normalcy here.
Flashing 26I Radio, HTC Recovery 1.6, and CM 4.2.1. Flash Radio, reboot, HTC, no reboot, CM 4.2.1, reboot. Right?
Tried the above, also tried with a reboot in between the HTC flash and CM 4.2.1 flash, stuck at G1 screen.

I'm still stuck at the G1 screen.

Probably be me next.
Finding myself having to do the same thing, somehow doing the CM 4.2.1.? whatever the last one was. I managed to lose root, be really nice to have a second card right now having to move 8 gigs off and repartition it to make it see the R29 image so i get to do literally everything all over again.
As someone once said, Ah Linux! Its Free! assuming your time is worth nothing. So true, lol. well ill be even better once it all works, if i can figure out what it takes to make it all work ill come back and try to help you out. Looks like mine wont see the image cause of my multi-partitioned microSD card. Not sure if yours is like that too or not, something to think about.

virtually painless
Kind of like virtual reality i guess?
Only gotcha i found in going back and reinstalling the RC29 image back on to be able to reclaim root was that my SD card having being partitioned. would cause it to fail. I would hit the tri-color screen, see a real quick gray flash and a message that vanished as quick as it popped up and then i would be stuck back on the colored screen.
So, i backed up the whole card, followed by
removing all data from the card. then running fdisk /dev/sdg. deleting the 3 partitions, writing a filesystem to the root of the disk via mkfs.vfat /dev/sdg , copying the 5 required files over and proceeding to get root and then recreating the paritions and copying data back over.
Back up and running.

mrnv45 said:
only way i found to unroot completely.. is to go bac thru the unroot process.. then update with an ota.. to remove all root...
unroot g1: http://theunlockr.com/2009/07/05/how-to-unroot-your-t-mobile-g1/
unroot mt3g: http://theunlockr.com/2009/08/22/how-to-unroot-your-mytouch-3g/
Click to expand...
Click to collapse
Thanks XDA - have to do a TMo warranty exchange and this helps greatly.

Related

G1 - Recovery mode Exclamation Mark Screen

1. I had a rooted phone with CyanogenMod 4.1.9999
2. I downloaded Original System Image (signed-dream_devphone_userdebug-img-14721.zip) from http://developer.htc.com/adp.html
3. I updated the phone with the zip file
Now I'm getting an exclamation screen when I try to get into recovery scree (Pressing Home button during boot)
I tried to downgraded using RC29 Image: http://android-roms.googlecode.com/files/DREAIMG-RC29.zip - Followed first 6 steps from http://forums.tmonews.com/index.php?topic=8970.0
I'm not able to update or do anything with the phone now.
PLEASE HELP!!!!
my guess would 2 be push alt+l and a list of options will come up! Also dont use the system image from htc.com use the recovery image 2 go back 2 whatever version you want it 2... make sure u wipe before you downgrade/upgrade
please move
sorry to be the one to point this out...but please ask these questions in the q&a section as it is not development related
garok89 said:
sorry to be the one to point this out...but please ask these questions in the q&a section as it is not development related
Click to expand...
Click to collapse
I'm sorry for posting it here. I'm not able to move it to Q&A section. If there is an option, please let me know how.
law_ren_ce said:
my guess would 2 be push alt+l and a list of options will come up! Also dont use the system image from htc.com use the recovery image 2 go back 2 whatever version you want it 2... make sure u wipe before you downgrade/upgrade
Click to expand...
Click to collapse
Thanks law_ren.
I get 3 options when i press Alt+L
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
I renamed the android 1.6 system image to update.zip
[snap]
Verifying update package...
E:No signature (5 Files)
E:Verification failed
hifake said:
Thanks law_ren.
I get 3 options when i press Alt+L
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
I renamed the android 1.6 system image to update.zip
[snap]
Verifying update package...
E:No signature (5 Files)
E:Verification failed
Click to expand...
Click to collapse
The same happens with recovery image signed-dream_devphone_userdebug-ota-14721.zip
I say flash another recovery.img via fastboot.
Hi I have a problem like you....my G1 load only in recovery mode(Hold power=recovery, hold home+power=recovery, camera+power=recovery)
Did you fix your G1??? Please help me fix it
EvGeNN2007 said:
Hi I have a problem like you....my G1 load only in recovery mode(Hold power=recovery, hold home+power=recovery, camera+power=recovery)
Did you fix your G1??? Please help me fix it
Click to expand...
Click to collapse
I haven't fixed it yet. Am not able to place the recovery image using fastboot - my phone is not recognized by the computer
Work around I've found for flashing the recovery image if you can't figure out fastboot (I've never got it to work) is like this:
1. Follow the root procedure.
2. Install the most recent CM rom without using the HTC image (reason I do this is he's got some linux commands built into his ROM that aren't installed in the vanilla android build).
3. Download the cm-recovery-1.4.img to your sd card (or whichever recovery image you like)
4. Run terminal commands like so:
$su root (the reason I do this is it gives you higher level access to the system than just su, and I've found it doesn't work with just su for some reason)
#flash recovery /sdcard/cm-recovery-1.4.img
#reboot
5. Hold your home key as it powers up, and you should have the new recovery image installed.
Of course, I'd say do a full wipe, then install the ROM, and go through the fix permissions and clear cache.
JonnyFlash said:
Work around I've found for flashing the recovery image if you can't figure out fastboot (I've never got it to work) is like this:
1. Follow the root procedure.
2. Install the most recent CM rom without using the HTC image (reason I do this is he's got some linux commands built into his ROM that aren't installed in the vanilla android build).
3. Download the cm-recovery-1.4.img to your sd card (or whichever recovery image you like)
4. Run terminal commands like so:
$su root (the reason I do this is it gives you higher level access to the system than just su, and I've found it doesn't work with just su for some reason)
#flash recovery /sdcard/cm-recovery-1.4.img
#reboot
5. Hold your home key as it powers up, and you should have the new recovery image installed.
Of course, I'd say do a full wipe, then install the ROM, and go through the fix permissions and clear cache.
Click to expand...
Click to collapse
Am not even able to access terminal. I get the following 3 options only
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
hifake said:
Am not even able to access terminal. I get the following 3 options only
1. Alt+L Toggle log text display
2. Alt+S apply sdcard:update.zip
3. Alt+W Wipe Data/factory reset
Click to expand...
Click to collapse
You won't be able to use terminal from recovery until you have a thirdparty recovery image installed. The steps I've listed are for a working phone, and I'm sure that's where part of your problem is. I'd suggest doing a wipe (Alt+W) and going through the root process again. When you get the CM Rom, change the name of it to update.zip, then try the steps I mentioned. I'd suggest having a separate SD card with just DREAMIMG.nbh installed on it for emergencies (especially if you're going to partition your main card).
Thanks
2) Install the most recent CM rom without using the HTC image(What is it? Can explane?)
4) Terminal as i understand its Telnet?
Can i do works a boot mode and then downgrade it to RC29?? Because after it i'll know what to do... Thanks!
EvGeNN2007 said:
Thanks
2) Install the most recent CM rom without using the HTC image(What is it? Can explane?)
4) Terminal as i understand its Telnet?
Can i do works a boot mode and then downgrade it to RC29?? Because after it i'll know what to do... Thanks!
Click to expand...
Click to collapse
Basically to get this working you're going to need to downgrade to RC29 first - so follow the root instructions.
CM = CyanogenMod ROM. To get his working fully you need two roms, which are the HTC Developer ROM and the 4.x ROMs he created (reason being legal distribution of software), but for my instructions, on his ROM page, you're going to skip his instructions, just download his ROM, rename it to update.zip and just flash it from the stock recovery, just so you can get to the terminal once the phone boots up and load terminal (it's in the programs tray). When another screen pops up asking if you want to allow it to use SU functions (it will as soon as you type "su") hit allow.
Terminal is a program downloadable from the Market, it's included with the CM ROM.
His instructions for install are not going to work unless you have a thirdparty recovery image, which at this point from the description, the triangle with the exclamation point is the default system recovery image.
CM Rom page
You should be able to find the Root posts and choose a customed recovery image, there's about 4 or 5 really good ones, I use Cyanogen's, thus my instructions on how to flash it.
You're fortunate that you're getting to the stock recovery, means your phone isn't bricked.
JonnyFlash said:
You won't be able to use terminal from recovery until you have a thirdparty recovery image installed. The steps I've listed are for a working phone, and I'm sure that's where part of your problem is. I'd suggest doing a wipe (Alt+W) and going through the root process again. When you get the CM Rom, change the name of it to update.zip, then try the steps I mentioned. I'd suggest having a separate SD card with just DREAMIMG.nbh installed on it for emergencies (especially if you're going to partition your main card).
Click to expand...
Click to collapse
I have successfully installed RC 29
FW 1.0
Baseband 62.33.20.08H_1.22.12.29
Kernel: 2.6.25-01843-gfea26b0
Build: kila-user 1.0 TC4-RC29 115247
But Am not able to download telnet (or any other app) from market. I have tried several times with wifi & Cell data .
hifake said:
I have successfully installed RC 29
FW 1.0
Baseband 62.33.20.08H_1.22.12.29
Kernel: 2.6.25-01843-gfea26b0
Build: kila-user 1.0 TC4-RC29 115247
But Am not able to download telnet (or any other app) from market. I have tried several times with wifi & Cell data .
Click to expand...
Click to collapse
Not sure what you mean? Telnet for these intents and purposes is basically just a command. The page on how to root has become pretty convoluted at this point. The part where it tells you to type 'telnetd' is just running a script which is an exploit in the old releases of android. You won't be messing with Terminal really until you get to the point where you've updated the rom. From this point, I'd suggest downloading this root.apk from your browser, install it, allow it, follow the instructions step by step in the program.
My problem consist of that i can't turn on my phone and i can't get into bootloader...only recovery can you give me a link for RC29 download and then install it from recovery on my g1 from recovery.
Thanks!
EvGeNN2007 said:
My problem consist of that i can't turn on my phone and i can't get into bootloader...only recovery can you give me a link for RC29 download and then install it on my g1 from recovery.
Thanks!
Click to expand...
Click to collapse
You're probably going to need a card reader...here's the instruction for rooting with a download for the RC29.
http://forum.xda-developers.com/showthread.php?t=442480
I know all this steps but i Tell that i CAN'T get into boot mode and in boot downgrade from DREAMIMG.nbh to RC29... In that All my problem...
How can i flash to RC29 from Recovery Mode?
EvGeNN2007 said:
I know all this steps but i Tell that i CAN'T get into boot mode and in boot downgrade from DREAMIMG.nbh to RC29... In that All my problem...
How can i flash to RC29 from Recovery Mode?
Click to expand...
Click to collapse
You don't...with the DREAMIMG.nbh or any .nbh file you start up the phone holding power+camera. The recovery mode looks for an update.img file. You'll make it through, don't get frustrated.
Here's a more updated rooting guide:
http://forum.xda-developers.com/showthread.php?t=553416

Just loaded Cyano ROM (newest), reboot is taking too long.

Hello!
I followed this guide and read the comments of everyone, and it's a reliable guide to rooting and installing a new ROM. The rooting went perfect, so I decided to go further and load cyanogen's latest ROM.
Power off your phone.
Boot into recovery mode. (Press and hold the Home key, then hit the power button).
Before you flash a rom file, perform a wipe. Press Alt+W to wipe the data and cache folders. You must wipe when going form different builds of Android.
Wait for the wipe to finish and the recovery image to display again, then select “apply any zip from sd”. Flash the zip file of your choice.
After flashing any zip you should be able to reboot your system and watch it load to the home screen.
After changing Android builds, it came take several minutes for the first boot. If you phone hangs on the animated Android logo, this is because you did not perform a wipe. If you are stuck in a boot loop, return to the recovery image and make sure you wipe.
Click to expand...
Click to collapse
-Taken from the guide
At the first time I rebooted it took me back to recovery, so using logic I rebooted again and now it is stuck at the T-Mobile G1 screen (the one before it normally shows the android)...
I know it's supposed to take several minutes.. but 30minutes is ridiculous -.-"
Can somebody please help me out before I do something stupid and remove the battery? Thanks so much..
You need to read a bit more then, because you would have learned that you have to install the 1.6ADP fro Htc before installing a cyanogen rom, that is one of the things you would know if you followed the guide in his thread...
-Best Regards
http://androidandme.com/2009/08/news/how-to-root-a-t-mobile-g1-and-mytouch-3g-android-phone/
Don't think so It didn't say anything in this guide about that and several comments below recently show that they succeeded with the process..
tk112190 said:
http://androidandme.com/2009/08/news/how-to-root-a-t-mobile-g1-and-mytouch-3g-android-phone/
Don't think so It didn't say anything in this guide about that and several comments below recently show that they succeeded with the process..
Click to expand...
Click to collapse
You have to listen to cyanogen plus that might be a different rom like enom or something.Cyanogen has a different maybe tricky install method.
You need to goto his thread.
-Go to http://developer.htc.com/adp.html
-DL the 1.6 "recovery image" the file name is - signed-dream_devphone_userdebug-ota-14721.zip
-Then DL CyanogenMod-XXXX
-put them both on your SD card
-Boot up into Amon_RA recovery by rebooting and holding the home button, do a wipe.
-update using any zip to that "recovery image" (signed-dream_devphone_userdebug-ota-14721.zip)
(it should auto reboot install radio then reboot again and load back up to the CMrecovery img screen)
-Then update any zip usig CyanogenMod (update-cm-xxxx-signed.zip)
-Then reboot the phone
Thanks a lot man.
I found the 1.6 ADP file and I have it downloaded onto my computer. Is there anyway I can put this on my SD card? It won't let me.. :/ If I could somehow get this on there, run it.. and THEN run the cyanogenrom.zip I think it could work again?
You need to delete the partitions with console while in recovery mode.
1.console
3.parted dev/block/mmcblk0
4.print
rm 1
rm 2
rm 3
quit
reboot recovery
Dont rename any of the files just leave them.
Now try it on your pc.
You need to delete the partitions with console while in recovery mode.
1.console
3.parted dev/block/mmcblk0
4.print
rm 1
rm 2
rm 3
quit
reboot recovery
Dont rename any of the files just leave them.
Now try it on your pc.
Thanks a lot for the help, I really appreciate it.
I took your advice and did those steps and it rebooted me into recovery like you commanded. I plugged it via USB into my computer hoping that the computer would recognize it and let me put the file on the SD card - but to no avail.
What is the next step I can take?
http://code.google.com/p/sapphire-port-dream/
I loaded the radio first...
and then I loaded the SPL...
and then I loaded the ROM...
I didn't go out of order. Was the problem that I didn't have the 1.6 ADP on my SD?
@Ace42: If I get a card reader and add the 1.6 ADP (signed-dream_devphone_userdebug-ota-14721.zip) to my sd card.... and load it. Can you tell me what to do from there?
Do I load that zip and then reload the ROM?
You may want to try Dwang1.13 rom. I don't think his rom requires the extra step to get the google apps.

Moving back to standard SPL

I recently upgraded to Cyanogen, gave it a go and am trying to go back to the stock SPL and ROM. However, when trying to apply the original G1 SPL via update.zip on the SD card it complains:
E:No signature (5 files)
E:Verification fauled
Installation aborted.
any ideas?
The best way to go to stock (including radio, SPL, recovery and ROM) is to flash the appropriate DREAIMG.nbh to your device; this will replace everything at once.
There are copies of RC29 (and RC30, IIRC) for T-Mobile USA, as well as RC8 for T-Mobile UK, floating about the internet. Just place the DREAIMG.nbh on your FAT32 formatted SD card, and boot into SPL (holding down camera and power to power on), and follow the on-screen prompts. Couldn't be much easier.
(Of course, a quick search would have pulled up this existing thread: [HOW TO] UNROOT, get phone to STOCK firmware.)
I found this link for the RC29 DREAIMG.nbh. Maybe it's the right one. I have the original one but I'm at work right now so I have no access to it.
http://forum.xda-developers.com/showthread.php?p=3108766
DREAIMG.nbh does not include the SPL...
the SPL is in the form of an update.zip
the instructions you linked explain this.
I would say try downloading the update.zip SPL again
Oh...I just saw rpcameron mentioned the DREAIMG.nbh. The "Informative Links" thread has the SPL link http://forum.xda-developers.com/showthread.php?t=455860
ekeefe41 said:
DREAIMG.nbh does not include the SPL...
the SPL is in the form of an update.zip
the instructions you linked explain this.
I would say try downloading the update.zip SPL again
Click to expand...
Click to collapse
the DREAIMG.nbh does include the spl........
if you want to get to stock...you flash the .nbh file. it sets EVERYTHING to stock and its what HTC uses in their service center. the only thing that it doesnt replace is splash2.img, which if you have the .2005 spl, is not there
B-man007 said:
the DREAIMG.nbh does include the spl........
if you want to get to stock...you flash the .nbh file. it sets EVERYTHING to stock and its what HTC uses in their service center. the only thing that it doesnt replace is splash2.img, which if you have the .2005 spl, is not there
Click to expand...
Click to collapse
Now i could be wrong but...
I thought the SPL managed the way the ROM is partitioned. So people with the "danger" SPL have more room to install apps or larger rom's (all hero roms).
I think it does this by borrowing space from the partition that is normally used to download OTA updates.
So is someone had the "danger" SPL installed, then apply DREAIMG.nbh everything would look normal to the user, but the partition normally used to DL OTA updates may be too small for future OTA updates.
correct me if i am wrong
Edit: no need to correct me, i may be a little off about the partitioning, but SPL and DREAIMG.nbh are 2 very separate things read thread below
http://forum.xda-developers.com/showthread.php?t=455860
ekeefe41 said:
Now i could be wrong but...
I thought the SPL managed the way the ROM is partitioned. So people with the "danger" SPL have more room to install apps or larger rom's (all hero roms).
I think it does this by borrowing space from the partition that is normally used to download OTA updates.
So is someone had the "danger" SPL installed, then apply DREAIMG.nbh everything would look normal to the user, but the partition normally used to DL OTA updates may be too small for future OTA updates.
correct me if i am wrong
Click to expand...
Click to collapse
Part 1) Haykuro's SPL(Danger) uses the space from the OTA partition which is correct.
Part 2) The Drea makes your radio and SPL stock so you lose out on root.Root users dont need to worry about not enough space and 2.0 has been announced its no secret.
Ace42 said:
Part 1) Haykuro's SPL(Danger) uses the space from the OTA partition which is correct.
Part 2) The Drea makes your radio and SPL stock so you lose out on root.Root users dont need to worry about not enough space and 2.0 has been announced its no secret.
Click to expand...
Click to collapse
i can vouch for this as i reflashed the nbh recently and it downgraded my spl to 0.95.0000
Ace42 said:
Part 1) Haykuro's SPL(Danger) uses the space from the OTA partition which is correct.
Part 2) The Drea makes your radio and SPL stock so you lose out on root.Root users dont need to worry about not enough space and 2.0 has been announced its no secret.
Click to expand...
Click to collapse
Cool, thanks for the info
ekeefe41 said:
Now i could be wrong but...
I thought the SPL managed the way the ROM is partitioned. So people with the "danger" SPL have more room to install apps or larger rom's (all hero roms).
I think it does this by borrowing space from the partition that is normally used to download OTA updates.
So is someone had the "danger" SPL installed, then apply DREAIMG.nbh everything would look normal to the user, but the partition normally used to DL OTA updates may be too small for future OTA updates.
correct me if i am wrong
Edit: no need to correct me, i may be a little off about the partitioning, but SPL and DREAIMG.nbh are 2 very separate things read thread below
http://forum.xda-developers.com/showthread.php?t=455860
Click to expand...
Click to collapse
haha your exactly right about the dangerSPL but when you flash the DREAIMG.nbh, it replaces everything to stock, including the stock spl. the stock SPL readdresses the space so the ota partition is back to normal.
the DREAIMG.nbh is an image of the flash memory of the stock Dream when it has a certain os installed on it. the one we use is RC29's DREAIMG.nbh
B-man007 said:
haha your exactly right about the dangerSPL but when you flash the DREAIMG.nbh, it replaces everything to stock, including the stock spl. the stock SPL readdresses the space so the ota partition is back to normal.
the DREAIMG.nbh is an image of the flash memory of the stock Dream when it has a certain os installed on it. the one we use is RC29's DREAIMG.nbh
Click to expand...
Click to collapse
so is it right, when i flash the DREAIMG.nbh form a GoldCard it will flash RADIO/SPL/ROM/RECOVERY (and also the custom first bootscreen) to full stock.
and than i only have to apply this:
Rooting RC29 or Lower Phone
1. Download Cyanogen's Recovery and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
2. Download the latest Radio and copy the zip file to the SD card.
(3. Download the Hard SPL and copy the zip file to the SD card.) MUSTHAVE???????
4. All files must be on the root of your SD card.
5. Restart your phone. Wait for your phone to start up fully and show the home screen.
6. After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
7. Download an Android "Telnet" application from the Market and connect to localhost.
8. If you connect successfully, you will have a root prompt "#".
9. Type the following into Telnet (these commands will give you root access easier in the future):
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd sdcard
# flash_image recovery cm-recovery-1.4.img
# cat cm-recovery-1.4.img > /system/recovery.img
Now you have root!!
# Power off your phone.
# Start up in recovery mode by holding home and pressing power.
# You will now enter recovery mode.
# Press Alt+A to see the .zip files
# Select the Radio file.
# After the update is complete, hold Home and press Back to restart.
Than flash CyanogenMod 4.1.999 or The Official Donut Build Rooted like this:
1. Download the image
2. Copy it to your phone's SD card.
3. Turn your phone off
4. Start up in recovery mode by holding Home and pressing Power.
5. Press Alt+W to wipe your device. (You need to do this, or the device may hang at the flashing Android screen)
6. Press Alt+A and select your ROM file to apply the update.
is that all right? please correct me if there is something wrong.

Need Help...can't Downgrade To Rc29

So I've had my G1 for a while now on the stock non-rooted OS and I decided to try to get a 2.1 rom installed on it. After looking around and reading quite a bit, I primarily went off of this blog post to get it done. hxxp://www .myhangoutonline.com/component/content/article/342-tutorials/7-root-and-upgrade-your-g1
I got it downgraded to RC29 successfully and went through the rooting process. Once I tried to reboot it into recovery mode, my phone just sat at the G1 screen indefinitely. Waited up to an hour and restarted the entire process about 3 times with the same result. Then I started looking around thinking maybe the DREAIMG.nbh file that was provided was no good and I got one linked off of this site hxxp:// androidandme.com/2009/08/news/how-to-root-a-t-mobile-g1-and-mytouch-3g-android-phone/
So the next time I tried to start over by restoring to the RC29 image it gets all the way through and fails at the end. It says "Update Terminate UPDATE FAIL". I tried going back to the image that worked a few minutes prior to that and I'm getting the same thing.
Any ideas on what I need to do? I'm stuck without a phone until I get this resolved...
Your post is difficult to understand.
The first question:
WHY did you install an NBH file?
The second question:
WHAT *exactly* did you do to the thing?
The third question:
WHY are you trying again to install an NBH file?
The fourth question:
What is it doing now?
The fifth and final question:
HOW can you possibly justify following a bunch of steps that some retard spewed out on a "blog"?
Note: NEVER NEVER NEVER NEVER write an NBH file to your phone!!! Especially once you have root! NEVER.
Note2: you say its stock tmoble-branded htc dream? That means android 1.6 and I believe susceptible to the 1-click-root bug... why didn't you run the 1-click root?
What happens if you try to boot the phone ***NORMALLY*** (instead of recovery)?
What happens if you plug in the USB and run "adb logcat"?
lbcoder said:
Your post is difficult to understand.
The first question:
WHY did you install an NBH file?
The second question:
WHAT *exactly* did you do to the thing?
The third question:
WHY are you trying again to install an NBH file?
The fourth question:
What is it doing now?
The fifth and final question:
HOW can you possibly justify following a bunch of steps that some retard spewed out on a "blog"?
Note: NEVER NEVER NEVER NEVER write an NBH file to your phone!!! Especially once you have root! NEVER.
Note2: you say its stock tmoble-branded htc dream? That means android 1.6 and I believe susceptible to the 1-click-root bug... why didn't you run the 1-click root?
What happens if you try to boot the phone ***NORMALLY*** (instead of recovery)?
What happens if you plug in the USB and run "adb logcat"?
Click to expand...
Click to collapse
1. I installed the nbh file because that's what was in every single set of instructions I've found said to do. Step 1 is to downgrade your phone to RC29 for US phones, and the DREAIMG.nbh file is the way to do that from everywhere that I've seen, mostly here and the cyanogenmod forums. If there is a better guide to follow, please link me.
2. I've already explained this. I followed the following instructions:
1. Format your phone's SD card to FAT32 mode:
o Hook your phone up to your computer using a USB cable and then wait for the
notification to show up in your title bar of your phone.
o Click the notification, and then click "Mount".
o A new removable disk should show up on your computer. Right click it and select
Format, and select FAT32 as the file system type.
2. Download and unzip the RC29 or RC7 image file. Copy the DREAIMG.nbh file to the SD card.
(RC29 for US, RC7 is for UK)
3. Turn the device power off.
4. Hold Camera button, and press Power button to entry boot loader mode. You should see a
gray/white screen with instructions to flash your phone with the update on your SD card. If you
don't see that, make sure you followed the instructions properly.
5. As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT
DO ANYTHING TO INTERRUPT THIS PROCESS.
6. After it is finished, perform the restart your phone.
Rooting your RC29 or lower phone:
On RC29 phones and lower, anything you type into your keyboard is also being run in a hidden console
with root permissions. More information regarding that at the bottom of this post. But, to get root access,
do the following:
Instructions:
1. Download recovery.img or the new version by Amon recovery-RA-dream-v1.5.2.img and copy
it to your SD card (see the previous instructions on how to copy from your computer to your
Phone's SD card).
2. Download the Hard SPL and copy the zip file to the SD card.
3. All files must be on the root of your SD card.
4. Restart your phone. Wait for your phone to start up fully and show the home screen.
5. After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it
will start up a contact search, don't worry. Just type it.)
6. Download an Android "Telnet" application from the Market and connect to localhost.
7. If you connect successfully, you will have a root prompt "#".
8. Type the following into Telnet (these commands will give you root access easier in the future):
o mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
o cd sdcard
o flash_image recovery recovery.img
o cat recovery.img > /system/recovery.img
Now you have root!
Click to expand...
Click to collapse
3. Already explained in #1. Again if there is a better, easier guide to follow by all means show me. I am new to this, and from what I've seen if noobs ask "how do I do this" around here, they get flamed for not figuring it out for themselves. Something I'm also sensing from your post.
4. I've gotten past my initial problem. This morning I was shown another DREAIMG.nbh file from another source, and I was able to get it on the phone and get it to boot. I've since gone through the root process (using the guide posted above), but I still can't get it into recovery mode. So that's where I'm now stuck.
5. As opposed to a bunch of steps some retard spewed on a "message board"? All of the guides I've gone through were either on or linked to from this forum or the cyanogenmod forum. Both I assume reputable sources for this type of thing.
Note: I think you need to show me another guide because what you're saying contradicts everything I've seen.
Note2: Don't know. Everything I've seen says I have to go back to 1.4 to be able to root it because the security holes were closed in 1.6.
The phone is again back to the 1.4 image from the nbh file. I've tried to root it and get it to recovery mode without any luck, so I could use some guidance on what to do from here. I'm not really sure what adb logcat is or why I'd want to do it.
TalioGladius said:
1. I installed the nbh file because that's what was in every single set of instructions I've found said to do. Step 1 is to downgrade your phone to RC29 for US phones, and the DREAIMG.nbh file is the way to do that from everywhere that I've seen, mostly here and the cyanogenmod forums. If there is a better guide to follow, please link me.
Click to expand...
Click to collapse
Just because it was written does NOT make it right.
The process of rooting does NOT require an NBH file.
The process of REPAIDING NEVER needs an NBH file.
You should NEVER TOUCH an NBH file. The ONLY thing an NBH file does is it increases the risk that you will brick your phone by a bad flash.
Don't do it!
2. I've already explained this. I followed the following instructions:
Click to expand...
Click to collapse
Reposting that crap doesn't help.
WHAT DID YOU DO? WHERE DID YOU GET TO? WHAT DID YOU SKIP? WHAT BUTTONS DID YOU PRESS?
3. Already explained in #1. Again if there is a better, easier guide to follow by all means show me. I am new to this, and from what I've seen if noobs ask "how do I do this" around here, they get flamed for not figuring it out for themselves. Something I'm also sensing from your post.
Click to expand...
Click to collapse
#1: NEVER do anything without ***UNDERSTANDING THE PROCESS FIRST***. If you don't understand, then how can you possibly adapt to inaccuracies/errors/failures? The answer is that you CAN'T.
4. I've gotten past my initial problem. This morning I was shown another DREAIMG.nbh file from another source, and I was able to get it on the phone and get it to boot. I've since gone through the root process (using the guide posted above), but I still can't get it into recovery mode. So that's where I'm now stuck.
Click to expand...
Click to collapse
Define "can't get it into recovery". WHAT recovery do you have installed? The stock one that came with the NBH? Or some OTHER recovery that you installed? You say that it boots into the OS now? Congratulations. DO NOT INSTALL ANOTHER NBH FILE EVER!
What you need to do is install an engineering SPL, and NOT 1.33.2005! Try 1.33.2003.
You can then flash anything you like using FASTBOOT.
5. As opposed to a bunch of steps some retard spewed on a "message board"? All of the guides I've gone through were either on or linked to from this forum or the cyanogenmod forum. Both I assume reputable sources for this type of thing.
Click to expand...
Click to collapse
A forum filters out the retard posts because 100 different people CALL the retard out! A *BLOG* is TRASH unless you absolutely know that the author REALLY KNOWS what he's doing. And in this case, YOU DON'T.
Note: I think you need to show me another guide because what you're saying contradicts everything I've seen.
Click to expand...
Click to collapse
I don't write guides. I INFORM.
Note2: Don't know. Everything I've seen says I have to go back to 1.4 to be able to root it because the security holes were closed in 1.6.
Click to expand...
Click to collapse
The TELNET-ROOT bug was fixed. That's all!
And FYI: There was never a 1.4. 1.0->1.1->1.5->1.6->2.0->2.0.1->2.1->[future]2.2
The phone is again back to the 1.4 image from the nbh file. I've tried to root it and get it to recovery mode without any luck, so I could use some guidance on what to do from here. I'm not really sure what adb logcat is or why I'd want to do it.
Click to expand...
Click to collapse
Again, what did you do to get there?
I can see that this can quickly escalate into an unnecessary back and forth argument. So to avoid that how about I tell you what I've done and where I'm at currently, and you can inform me on what to do to get to my goal?
From what I've seen I had to essentially do the following things:
1. downgrade to RC29
2. root
3. upgrade radio and SPL
4. Install ROM to get to 2.1
What I've done:
1. Formatted my sdcard to fat32, and put the DREAIMG.nbh file on the root of the sdcard.
2. Shutdown. Start up the phone holding the camera button. Got to the gray screen to update, pressed the power button to update.
3. Update successful. Rebooted by pressing call, menu, and power buttons.
4. Went through the setup wizard to set up the phone with my google account.
5. Installed telnet application from the market.
6. Downloaded recovery.img and spl-signed.zip (Danger SPL) and put them on the root of the sdcard.
7. From home screen, pressed enter twice. Typed telnetd.
8. Opened telnet application. Typed the following commands:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img/CODE]
9. Shut down phone. Held down the home button while powering phone on in attempt to get to recovery mode.
10. Phone did not go into recovery mode, but went to this image on the screen: (can't post links, so fix the url)
hxxp:// www .modmygphone.com/wiki/images/1/1b/Howtofirm1.png
Currently, the phone is showing the following:
Firmware version 1.0
Baseband version 62.33.20.08H_1.22.12.29
kernel version 2.6.25-01843-gfea26b0 [email protected] #6
Build number kkila-user 1.0 TC4-RC29 115247 ota-rel-keys,release-keys
What exactly do I need to do from here to get a 2.1 rom installed?
TalioGladius said:
I can see that this can quickly escalate into an unnecessary back and forth argument. So to avoid that how about I tell you what I've done and where I'm at currently, and you can inform me on what to do to get to my goal?
From what I've seen I had to essentially do the following things:
1. downgrade to RC29
2. root
3. upgrade radio and SPL
4. Install ROM to get to 2.1
What I've done:
1. Formatted my sdcard to fat32, and put the DREAIMG.nbh file on the root of the sdcard.
2. Shutdown. Start up the phone holding the camera button. Got to the gray screen to update, pressed the power button to update.
3. Update successful. Rebooted by pressing call, menu, and power buttons.
4. Went through the setup wizard to set up the phone with my google account.
5. Installed telnet application from the market.
6. Downloaded recovery.img and spl-signed.zip (Danger SPL) and put them on the root of the sdcard.
7. From home screen, pressed enter twice. Typed telnetd.
8. Opened telnet application. Typed the following commands:
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img/CODE]
9. Shut down phone. Held down the home button while powering phone on in attempt to get to recovery mode.
10. Phone did not go into recovery mode, but went to this image on the screen: (can't post links, so fix the url)
hxxp:// www .modmygphone.com/wiki/images/1/1b/Howtofirm1.png
Currently, the phone is showing the following:
Firmware version 1.0
Baseband version 62.33.20.08H_1.22.12.29
kernel version 2.6.25-01843-gfea26b0 [email protected] #6
Build number kkila-user 1.0 TC4-RC29 115247 ota-rel-keys,release-keys
What exactly do I need to do from here to get a 2.1 rom installed?[/QUOTE]
First you need to be really carefull with the danger spl (make sure you have the right radio installed before installing that spl or bye bye to your phone). You need to install Amon Ra's new recovery. Put 2.1 on sd card. Wipe and flash.
Click to expand...
Click to collapse
supremeteam256 said:
First you need to be really carefull with the danger spl (make sure you have the right radio installed before installing that spl or bye bye to your phone). You need to install Amon Ra's new recovery. Put 2.1 on sd card. Wipe and flash.
Click to expand...
Click to collapse
I got the radio upgraded to 2.22.29.26I.
Turns out I have to hit alt-l to get past the ! screen in recovery mode. So now I should be able to install the danger spl, and then the rom, right?
The one I'm seeing with the guide is Cyanogenmod 4.2.15.1.
TalioGladius said:
I got the radio upgraded to 2.22.29.26I.
Turns out I have to hit alt-l to get past the ! screen in recovery mode. So now I should be able to install the danger spl, and then the rom, right?
The one I'm seeing with the guide is Cyanogenmod 4.2.15.1.
Click to expand...
Click to collapse
To be honest I would flash Amon Ra's new recovery first so you can flash the danger spl and then the rom without a reboot in between. And if you want to install that version of cyanogen you really don't need the danger spl, but if you want to jump up to his 5.0.7 Test5 you'll need to (thats the 2.1 version).
If you want to avoid bricks, you really should NEVER go straight from 0.95.x000 SPL --> 1.33.2005 SPL. The reason for this is that there is no way to make that jump without using recovery, and since those SPLs are so different from each other, it has to use the cache-->update-hboot-->recovery-wipe-cache approach, which is where bricks come from.
If you have a 0.95.x000 SPL and want to go to 1.33.2005, you FIRST go to 1.33.2003 (that's a THREE) using recovery (since 0.95.x000 and 1.33.2003 have equal compatibility) -- this opens up the door for using FASTBOOT to flash your SPL. The move between ANY pair of engineering SPLs using fastboot is guaranteed safe since it can never get stuck in a failed boot-recovery (brick).

[Q] Help with ROOT or New Rom?

So these are the steps I did, I HAVE A CUSTOM RECOVERY, AND BOOTLOADER MY BOOTLOADER SAYS SERIAL10. I have done a backup in recovery in the telnet app I type su and I still have no root access. I have installed UniversalAndroot-1.6.2-beta5.apk on the phone but the program crashes. so I guess root is stopping me at this point. I am trying to upgrade the original rom with a new build and a stable 1 any ideas also........ THANKS IN ADVANCED"
The phone looks not to be rooted yet I went step by step.
LOWER BUILD
Preparing to Get Root on your Phone
1. Format your phone's SD card to FAT32 mode:
* Hook your phone up to your computer using a USB cable and then wait for the notification to show up in your title bar of your phone.
* Click the notification, and then click "Mount".
* A new removable disk should show up on your computer. Right click it and select Format, and select FAT32 as the file system type.
2. Download and unzip the RC29. Copy the DREAIMG.nbh file to the SD card. (RC29 for US)
3. Turn the device power off.
4. Hold Camera button, and press Power button to entry boot loader mode. You should see a gray/white screen with instructions to flash your phone with the update on your SD card. If you don't see that, make sure you followed the instructions properly.
5. As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT DO ANYTHING TO INTERRUPT THIS PROCESS.
6. After it is finished, perform the restart your phone.
Rooting your RC29:
Instructions:
1. Download recovery-RA-dream-v1.5.2.img and copy it to your SD card
2. Download the Hard SPL and copy the zip file to the SD card.
3. All files must be on the root of your SD card.
4. Restart your phone. Wait for your phone to start up fully and show the home screen.
5. After your phone starts up, hit the enter key twice, type "telnetd" and press enter.
6. Download an Android "Telnet" application from the Market and connect to localhost.
7. If you connect successfully, you will have a root prompt "#".
8. Type the following into Telnet (these commands will give you root access easier in the future):
* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
* cd sdcard
* flash_image recovery RA-dream-v1.7.0.img
* cat recovery.img > /system/RA-dream-v1.7.0.img
1. Power off your phone.
2. Start up in recovery mode by holding home and pressing power.
3. You will now enter recovery mode. You should see an exclamation.
4. If you do not see a menu on screen, press Alt-L to show the menu.
5. Press Alt-S to apply the update from the SD card.
6. After the update is complete, hold Home and press Back to restart.
7. REBOOTS BACK INTO RECOVERY.
If you want to root try a easy method!
Only Download UniversalAndroot and copy it on your sdcard!
Then open it with a Filemanager and install it!
After open the app and click on root and wait!
After this you device is rooted!
the way i rooted my g1 was very simple all you have to do is pay close attention to this video. http://www.youtube.com/watch?v=DR0HpUVv-BY you'll notice in the video description there is another link on how to get your firmware from 1.6 to 1.5 (must do this first)
(there's a newer version of AmonRA 1.0.7) http://forum.xda-developers.com/showthread.php?t=566669
if you have any trouble figuring this out i will help you step by step jus send me an e-mail to [email protected] so i can answer your questions faster! but honestly its very simple jus pay close attention.
(Optional) also there is the new radio 2.22.28.25 and hboot 1.33.0013d which makes your phone run much faster and allows you to get an extra 14mb on your ram.
the only thing to be careful with is flashing certain froyo roms you need to flash a 2708/2825 kernel with it for it to flash correctly also with some hero/sense roms.
the link to the kernel (froyo) is: http://forum.xda-developers.com/show...&postcount=670
and to get your g1 to the new radio and hboot follow this link http://forum.xda-developers.com/showthread.php?t=831139 this step is tricky but again if you pay close attention you shouldnt have any issues.
at this point you should be free to start flashing some cool roms!! 2 of my personal favorites are FroyobyLazlo: http://forum.xda-developers.com/showthread.php?t=929678 and zachattack052 & xillius200's 2.1&1.5Hero: http://forum.xda-developers.com/showthread.php?t=670414
Happy flashing and good luck! hope this helped you out..
If anything happened and you dont wanna risk bricking your phone you can always Un-Root and get back to stock firmware by following this link http://forum.xda-developers.com/showthread.php?t=491350
at this point you will be back to original stock 1.0 firmware, from here you can either wait for the normal system update to show up which could take up to 24 hours, or if your impatient like me you can manually install the updates to get back to 1.6, i forget where i got the files for the updates and i dont know how to put file links in these posts so you can also email me and i will send you the zip files via e-mail [email protected]

Categories

Resources