[Q] Help with ROOT or New Rom? - G1 Q&A, Help & Troubleshooting

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]

Related

[GUIDE] STOCK-2-CYANOGEN / no longer updated after 4.2.1

NOTE: Reference Purposes Only, No Longer Maintained by OP (09/11/2009).
REMEMBER YOU BRICKED YOUR PHONE, NOT ME!
I AM NOT RESPONSIBLE FOR WHAT YOU DO WITH THIS INFORMATION.
ROGERS PHONES ARE ROOTED IN A DIFFERENT WAY
PLEASE FOLLOW THE ROGERS ROOT GUIDE
UPDATED 10/07/09 Installing CM 4.1.999
UPDATED 10/18/09 Installing CM 4.1.9999
UPDATED 10/25/09 Installing CM 4.2.1
Required Materials:
G1 / Dream
Micro SD card reader (phone will work in MOST cases)
Computer with Internet connection
USB cable for phone
Data Plan
_________________________________________________
Format your SD card using the FAT32 Filesystem:
1) Connect your sdcard to the computer using a card reader
2) A new removable disk should show up on your computer.
3) Right click it and select Format
4) Select FAT32 as the file system type.
5) Click the Start button
Download Everything Here
FILE 1 Download and unzip the RC29 or RC7 image file. Copy the DREAMIMG.nbh file to the SD card. (RC29 for US, RC7 is for UK)
FILE 2 Download cm-recovery-1.4.img or RA-dream-v1.5.2 and copy it to your SD card.
FILE 3 Download the Hard SPL and copy the zip file to the SD card.
FILE 4 Download the "1.6 Recovery Image" for your Dream/G1/ADP1 or for your Magic/ION/MT3G (This is NOT a recovery image, it is a ROM that you can flash from recovery)
FILE 5 READ THE FIRST POST and download the latest Cyanogen stable ROM then copy it to your SD card
STEP 1: DOWNGRADE
Our first step is going to downgrade your phone to RC29, This is like removing Windows XP Service Pack 3 and installing Windows XP Service Pack 1. It allows us to use a security flaw to gain root access. This section is going to use FILE 1 from the downloads
1) Turn the device power off.
2) Hold Camera button, and press Power button to enter bootloader mode.
3) You should see a gray/white screen with instructions to flash your phone with the update on your SD card.
4) As per the on-screen instructions, press the Power button to start upgrade procedure. DO NOT INTERRUPT THIS PROCESS.
5) After it is finished, perform the restart your phone. (May take up to 15 minutes to boot)
6) Complete the setup process for gmail.
STEP 2: ROOT
Your phone is now downgraded and we can use the security flaw to replace the recovery image. The "recovery" is kinda like a boot disk on your computer, we use this to delete, modify, and create system files while they are not in use my the ROM. The recovery will be used when ever you flash pretty much anything to your phone.This section is going to use FILE 2 from the downloads
1) At the home screen hit the enter key twice, type "telnetd" and press enter. IGNORE WHAT THE SCREEN IS DOING
2) Press Home
3) Goto the market and download "Telnet"
4) Open Telnet and connect to localhost : 23
5) Press enter and you should see a #
6) Now type the following and press enter at the end of each line
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
7) Press the home button
STEP 3: HardSPL
Now we are going to change the bootloader or "SPL". Currently your SPL will only allow you to flash ROMs that HTC or your carrier have produced. This new "HardSPL" will allow us to flash ANY ROM we want. This section is going to use FILE 3 from the downloads
1) Hold power and turn the phone off
2) Start up in recovery mode by holding home and pressing power.
3) You will now enter recovery mode.
4) Press Alt-S to apply the update.zip from the SD card. This is the spl you downloaded.
5) After the update is complete, hold Home and press Back to restart. (May take up to 15 minutes to boot)
STEP 4: ROM
Now we are going to flash the latest ROM from Cyanogen. This is your new "Operating System". This section is going to use FILE 4 and FILE 5 from the downloads
1) Hold power and turn the phone off
2) Start up in recovery mode by holding home and pressing power.
3) You are now in recovery mode.
4) Press Alt-W to wipe all data
5) Press Alt-A to apply any zip from sd
6) Choose signed-dream_devphone_userdebug-ota-14721.zip (You won't see the entire filename)
7) When it is done it will ask you to reboot to complete the installation. Press Home+Back
8) You will be returned to the recovery screen in a few minutes, be patient.
9) Press Alt-A to apply any zip from sd
10) Choose update-cm-4.2.1-signed.zip
11) After the update is complete, hold Home and press Back to restart. (May take up to 15 minutes to boot)
12) Complete the setup process
You can NOT run HERO ROMs YET!!!!!!!
You may want to partition your SD Card (See Post 3 or Post 4)
BACKUP FREQUENTLY
Remember that your nanddroid backups are on your SD card so be sure to save them if you do any partitioning.
- Upgrading from CM4.1.11.1 or below to 4.2.XX
Download File 4 and File 5 from first post above.
1) Hold power and turn the phone off
2) Start up in recovery mode by holding home and pressing power.
3) You are now in recovery mode.
4) Press Alt-W to wipe all data
5) Press Alt-A to apply any zip from sd
6) Choose signed-dream_devphone_userdebug-ota-14721.zip (You won't see the entire filename)
7) When it is done it will ask you to reboot to complete the installation. Press Home+Back
8) You will be returned to the recovery screen in a few minutes, be patient.
9) Press Alt-A to apply any zip from sd
10) Choose update-cm-4.2.1-signed.zip
11) After the update is complete, hold Home and press Back to restart. (May take up to 15 minutes to boot)
12) Complete the setup process
Upgrading from CM4.1.99 or higher to CM4.2.XX
Download File 5 from first post above.
1) Hold power and turn the phone off
2) Start up in recovery mode by holding home and pressing power.
3) You are now in recovery mode.
4) Press Alt-B to run a nandroid backup
5) Press Alt-A to apply any zip from sd
6) Choose update-cm-4.2.1-signed.zip
7) After the update is complete, hold Home and press Back to restart. (May take up to 15 minutes to boot)
The functions of the utility script has been replace by the Amon RA recovery.
http://forum.xda-developers.com/showthread.php?t=566669
How to easily esperiment with linux-swap partition sizes
So you want to try out different linux-swap sizes, but do not want to lose your data on your sdcard each time? Then this is the guide for you.
To start you will need you cyanogen's 1.4 recovery image (good thing you followed the above guide eh) and some basic math skill.
SETTING UP YOUR SDCARD
Well for this to work you will need to partition your sdcard a certain way, but only once for the entire card. BACKUP YOUR SDCARD!!!
To do this you will go into parted in the recovery console with these commands
Code:
parted /dev/block/mmcblk0
print
Do not leave this screen we will come back to it
After you type print you will want to look for the line that says
Disk Size /dev/block/mmcblk0: xxxxmb (you can fill in the numbers )
Click to expand...
Click to collapse
Now for the math. (i will explain some of the reason behind certain sizes then clear up the line)
first line in equation:
xxxxmb (total on card) - 96mb (it can be as large or as small as you want it but the highest i have seen people go with good results is 96mb)
so the first line will be:
xxxxmb - 96mb = zzzzmb
second line in equation:
zzzzmb - 500mb ( most people and guides suggest not to go over 500mb for ext2/3/4 so i shall do the same)
so the second line will be:
zzzzmb - 500mb = yyyymb
complete equation:
xxxxmb - 96mb = zzzzmb
zzzzmb - 500mb = yyyymb
;where xxxx = total mb (going to be the end point for linux-swap as well), zzzz= end point for ext2/ beginning point for linux-swap yyyy = end point for fat32/ beginning for ext2
So now with the equations out of the way (yes, I do like math, thank you very much) type this into recovery while still in parted
Code:
rm 1
rm 2 (if it exists)
rm 3 (if it exists)
(for the next commands obviously you will plug your own numbers in)
mkpartfs primary fat32 0 yyyy
mkpartfs primary ext2 yyyy zzzz
mkpartfs primary linux-swap zzzz xxxx
print (to verify it worked)
quit (ignore the update etc/fstab comment)
upgrade_fs
reboot
Now that was the hard part, the next part is really easy.
TO CHANGE LINUX-SWAP SIZES EASILY
With the setup above your linux-swap partition will be 96mb by default, to change it you will need to do the following
Go to the recovery console and type
Code:
parted /dev/block/mmcblk0
print
Again do not leave this screen for we shall return momentarily
After you type print, it will show you the sizes of your 3 partitions. The third partition is the one we want to look at. You will need to get the start and end points for this partition.
(for ease of writing this guide, x will be the start and y will be the end)
For a 64mb swap partition you will want to follow this equation:
y - 32mb = y* (y* will be the new endpoint)
For a 32mb swap partition you will want to follow this equation:
y - 64mb = y* (y* will be the new endpoint)
Now go back to your phone that is still in parted and type (of course you substitute in your numbers)
Code:
resize 3 x y*
quit (ignore etc/fstab comment)
reboot
There you go, that is how you quickly and easily change the size of your linux-swap partition without ever taking the sdcard out of your phone.
Also you will need to edit your user.conf and userinit.sh to reflect the new size of your linux-swap partition. Here are instructions for how to edit your user.conf. (thank you kingklick)
Lol why do we have so many guides of the same thing
ThR1LL said:
Lol why do we have so many guides of the same thing
Click to expand...
Click to collapse
because some people suck at following the older guide koush made (the one-click exploit will be patched soon) and this has links to newer roms, i didn't realize there was a more current version of koush's guide up, also this one has friendly pics
Also it's structured in a way that we can refer people back to it when they have a specific need like how to update their radio..... Goto step 6.
Oh and lets not forget that all of our ROMs will crash if you install apps2sd YET IT'S FREAKIN A STICKY IN THIS FORUM. The sticky also tells you to install cm-recovery-1.3.1.img.
^ great point/post AND thread. I wish I had this back in the day.
Can you add more info oon why to delete davlic AND a post on WTF a user file is/can do.
I still am not sure if i need to do that?
nice
not a a bad guide, we need to get a newer guide stickied
so got 1 vote from me
gridlock32404 said:
not a a bad guide, we need to get a newer guide stickied
so got 1 vote from me
Click to expand...
Click to collapse
and you've got a vote from me to be the president in 2016
Great guide. Stickied.
ivanmmj said:
Great guide. Stickied.
Click to expand...
Click to collapse
Thank you for making this a sticky
Wow an honory member of the wrecking crew got top spot sticky, ****. We are essential to xda.
Good job fingerlicken
Data Plan or Wi-Fi?
Hi finger, or anyone with the kindness to help...
This guide is the most perfect one I think....but I still have a question
Is it necessary to have a Data Plan? or Wi-Fi will do the job? Do I have to unlock my phone before I start the guide? or It doesn't matter?? Thanks!
pliundemix said:
Hi finger, or anyone with the kindness to help...
This guide is the most perfect one I think....but I still have a question
Is it necessary to have a Data Plan? or Wi-Fi will do the job? Do I have to unlock my phone before I start the guide? or It doesn't matter?? Thanks!
Click to expand...
Click to collapse
you can follow this thread for when after you apply the DREAIMG.nbh to activate your phone, so you can finish rooting it, this is the only time you should have to use this method to activate your phone. once you install a custom rom based on the ADP phone you can skip the activation till you have wifi set up.
New AndPart program is posted. This does not partition the drive for you it is simply a guide that does the math for you.
See what you guys do to me. Leavin me out in the cold.
supremeteam256 said:
See what you guys do to me. Leavin me out in the cold.
Click to expand...
Click to collapse
you left yo self out in the cold by being all like yeah "i'm hungry now, david" you got sent the same email (i didn't even get it originally, but i am still that good) everyone else did
So it appears there are several methods of backup the ext partition. Some zipped and some not. What is the easiest (can't F it up) method for terminal, recovery, and adb? I'm going to assume we should stay away from the zipped method.
I got terminal emulator commands down to 3 for backup and 2 for restore. in FAQ
david1171 said:
you left yo self out in the cold by being all like yeah "i'm hungry now, david" you got sent the same email (i didn't even get it originally, but i am still that good) everyone else did
Click to expand...
Click to collapse
LOL, you still got any chinese left. My fishsticks and tator tots just didn't cut it.

[GUIDE] The Ultimate Beginner's Guide {Downgrade, Root, Partition, ADB, and MORE!}

The Ultimate Beginner's Guide
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
NOTE: I am not responsible for any damage that happens to your phone!
Click to expand...
Click to collapse
Rooting your Phone
Q: What is Root?
A: Root is linux operator allowing access to all files in the file system. With root or administrative rights, developers can create or "cook" roms, get access to core files and of course create themes.
For a more detailed explanation go HERE
Q: Why Should I Root My Phone?
A: Here is a couple of reasons:
- A huge preformance boost
- Multi-Touch web browsing
- Install Apps directly to your SD Card
- Wireless and Wired Internet Tethering
- Faster Download Speeds
- Bonus Apps and Widgets from other builds
- Many many many more
Ok, since you kept reading, I think you are ready to root your phone! The only question now is HOW?!?
Check your Phone Version:
1. Go to settings
2. Press on "About Phone"
3. Scroll Down to "Firmware Version" if you have 1.5 please skip to the Rooting Your Phone part of this Guide. If you have 1.6 or higher please follow the downgrading part of the Guide.
-------------------------------------------------------------------------------------------------------------------------------
Downgrading your G1 to Cupcake 1.5
Load the DreaIMG.nbh File
1. Download the Original DreaIMG.nbh file:
Original DREAIMG.nbh
2. Extract the .zip file to get the DreamIMG.nbh file. Place the .nbh file in the root of your sd card. (root = not in any folders)
Note: Make sure your sd card is partition as FAT32 or your phone will not detect the .nbh files.
To Format:
- Load your SD card in the card reader and connect to PC.
- Make sure you back up everything on your card. a format will erase all data on the card.
- Now open “My Computer” and right click on the drive with the SD card (Warning! Make sure its the correct drive).
- Click on Format and select FAT32 on the file system drop down and click then click Start.
- Once completed, Copy your files back to the SD card and make sure the “Original DREAIMG.nbh” is at the topmost folder of your SD card.
3. Turn the phone off if it is on.
4. Turn on the phone by holding the Camera button and the End key until the bootloader screen turns on.
5. Hit the End key to start the update. DO NOT INTERUPT THIS PROCESS.
6. Once it is done, hit the trackball to restart the phone. You now are on the stock firmware RC29. You must do the next section to get back to cupcake.
Get Back to Cupcake
1. Download the cupcake update from HERE
2. Rename the .zip file to update.zip
Note: Make sure its update.zip not update.zip.zip. If you cannot update rename your file to update not update.zip
3. Turn off your phone
4. Hold the HOME key while pressing the POWER key
5. You will see a "!" which means you are in recovery
6. Open your keyboard and type alt+l to see text
7. Type alt+s to updpate
8. Congrats you have now downgraded your phone to the Cupcake 1.5 OS
-------------------------------------------------------------------------------------------------------------------------------
Rooting Your Phone
1. On your phone, Do the following,
- Go to Settings --> Applications
- Make sure Unknown source is checked ON.
THEN,
- Go to Settings --> SD Card and Phone Storage
- Click on Unmount SD Card
- Now Click Format SD Card (Make sure you backed up all your files!)
- It should remount the SD Card for you
2. Go to the Android Market on your phone and Download & Install "Linda File Manager" or "Astro File Manager" if you dont already have a file manager installed.
3. Plug the phone into the compuer via USB, then pull down the notification bar and click on the SD card notification. Then click mount.
4. Download the Following:
FlashRec.apk
Amon Ra’s Recovery Image (12/13/09)
5. Put both files in the root of your sd card (root = not in any folders!)
7. Unplug the phone from the computer once completed
9. Open the file manager and goto SDCard and then find the FlashRec apk file and click it (If asked tell it to use Package Installer to open it. It should automatically install the apk)
10. Open the FlashRec program and click on Backup Recovery Image and wait for it to finish.
11. Once done, click on the empty text box in the FlashRec program and type:
/sdcard/recovery-RA-dream-v1.5.2.img
Then click on the Flash Custom RecoveryImage button and wait for it to finish.
12. Turn off the phone and turn it on into Recovery mode by holding down Home and Power to turn it on (keep holding until the recovery screen comes up has a bunch of text on a black background).
13. Congrats! You have rooted your phone! To keep your root, you MUST continue to the next part of this guide!
-------------------------------------------------------------------------------------------------------------------------------
Installing CyanogenMOD (Custom ROM)
1. While still in recovery scroll down and click on "USB-MS Toggle"
2. Connect your phone to your PC
3. Download the following:
- Latest CyanogenROM HERE (Download should be toward the bottom of the post)
- ADP 1.6 DRC83 Update - HERE
4. Put the .zip files you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
5. Once done, unplug your phone from your PC
6. Press HOME to disable USB-MS
7. Scroll down to "Flash ZIP from sdcard"
8. Select HTC_ADP_1.6_DRC83_rooted_base.zip and Press HOME to install
9. Once done DO NOT reboot! DO NOT!
10. Scroll down to "Flash ZIP from sdcard"
11. Select update-cm-X.X.X-signed.zip and Press HOME to install
12. Press HOME to install
13. Once Done, press on "Reboot System Now"
NOTE: Reboot will take up to 5-10 min
14. Congrats! You are now DONE!
-------------------------------------------------------------------------------------------------------------------------------
Flash the New RADIO and SPL
Q. Why do i NEED this?
A. This will give your phone more internal memory and is REQUIRED for MOST new roms! This is a requirement for ALL Hero ROMS
NOTE: Please read carefully before flashing! This could BRICK your phone!!!
1. Check if you have a PVT or DVT board
a. Power off your phone and enter bootloader (Camera + Power)
b. Check look at the top and see if it says PVT of DVT
2. If you have a DVT board YOU CANNOT CONTINUE BECUASE THIS WILL BRICK YOUR PHONE!
3. For all you luck PVT board people Download the following:
OTA Radio Update - HERE
Danger SPL - HERE
Latest CyanogenMOD - HERE
4. Rename ota-radio-2_22_19_26I.zip to Radio.zip. Rename spl-signed.zip to SPL.zip. Rename update-cm-4.0.1-signed.zip to ROM.zip
5. Place the 3 renamed files at the ROOT of your SD Card
6. Enter Recovery (Home + Power)
7. Scroll down and press on "Apply any zip from sd"
8. Press on Radio.zip
9. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
10. It will reboot back to recovery. Once it does, Scroll down and press on "Apply any zip from sd"
11. Press on SPL.zip
12. Let it install. Once done it will tell your to reboot to finish the update. Press on Reboot System now in the recovery menu.
13. It will NOT reboot into recovery. Your phone will be stuck on the G1 screen. Once it gets there, reboot your phone by pressing Talk+Menu+Power and then hold the HOME button to enter back into recovery.
14. Scroll down and press on "Apply any zip from sd"
15. Press on ROM.zip and let it install.
16. Reboot your phone to finish.
-------------------------------------------------------------------------------------------------------------------------------
Partition your SD Card to have EXT3 and Swap
Q. What is partitioning?
A. This breaks up your sd card to 3 file systems. Allowing apps to be stored on your SD Card
Q. What is EXT2/3/4?
A. EXT is a filesystem that is only read by a linux OS such as Android. This allows apps to be stored on the SD Card
Q. What is SWAP?
A. Swap is a space on your SD Card that the phone will use as "fake" internal RAM allowing for a major speed increase
1. Backup all your files!
2. Power off your phone
3. Boot into recovery (Hold HOME while holding the POWER button)
4. Scroll down to Partition SD CARD in the recovery menu and press on it
5. Click on Partition SD
6. In the menu, it will ask for you to input two numbers. Swap, then EXT space.
Enter the following:
- SWAP: 96 MB
- EXT: 512 MB
- FAT32: Rest of SD Card
7. Once done go back to the Partition SDcard menu
8 Click on SD:ext2 to ext3
9. Press HOME to confirm
10. Once done, you need to install your current ROM to enable auto apps2sd and swap
11. Download your currently used rom
- Latest CyanogenMOD - HERE
12. Put the .zip file you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
13. Once done, unplug your phone from your PC
14. Press HOME to disable USB-MS
15. Scroll down to "Flash ZIP from sdcard"
16. Select update-cm-X.X.X-signed.zip and Press HOME to install
17. Press HOME to install
18. Once Done, press on "Reboot System Now"
19. Congrats! You are now done!
-------------------------------------------------------------------------------------------------------------------------------
Installing a Theme
1. Download your favorite theme
- XDA Theme Forum - HERE
NOTE: Make sure you know that the theme is ment for your currently install rom
2. Put the .zip file you have now finished downloading in the ROOT of your SD Card (Root = not in any folder)
3. Once done, unplug your phone from your PC
4. Press HOME to disable USB-MS
5. Scroll down to "Flash ZIP from sdcard"
6. Select "themeExampleX.zip" and Press HOME to install
7. Press HOME to install
8. Once Done, press on "Reboot System Now"
9. Enjoy your newly themed ROM
-------------------------------------------------------------------------------------------------------------------------------
Factory Reset Your Phone (Data + Cache WIPE)
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to WIPE and click it
4. Click on "Wipe data/factory reset"
5. Press HOME to continue
6. Reboot your phone once done
-------------------------------------------------------------------------------------------------------------------------------
Full SD Card WIPE (EXT, DATA, Dalvik-Cache)
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to WIPE and click it
4. Click on "Wipe data/factory reset"
5. Press HOME to continue
6. repeat steps 3, 4, and 5 for "WIPE Dalvik-Cache" and "WIPE SD:ext partition"
6. Reboot your phone once done
-------------------------------------------------------------------------------------------------------------------------------
Donate
Hey guys, if you think my Guides have helped you and in general are very helpful, please considering Donating!
Like My Guide(s)? Donate
-------------------------------------------------------------------------------------------------------------------------------
Backup/Restore your phone (Includes EXT Partition)
Backup:
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to "backup/restore" and click it
4. Click on "Nand + ext backup"
5. Press HOME to continue
6. This will take 5-10 min to finish
Restore:
1. Turn off your phone
2. Boot into recovery (Hold HOME while holding the POWER button)
3. Scroll Down to "backup/restore" and click it
4. Click on "Nand Restore"
5. Press HOME to continue
6. This will take 5-10 min to finish
-------------------------------------------------------------------------------------------------------------------------------
ADB and FASTBOOT
Q. What is ADB?
A. ADB is a source tool for developers and avid android modders such as yourself to access the commands prompt of your phone through your PC. This allows full access to your phone through your computer which makes moving, installing, removing, and replacing files on your phone MUCH faster
Q. What is fastboot?
A. Similar to ADB, this allows you in flash a while img to any partition in your phone, including recovery, system, and user-data.
To setup ADB and Fastboot, please follow my very detailed guide found HERE
-------------------------------------------------------------------------------------------------------------------------------
Difference between a Boot-Loop, Semi-Brick, and a full Brick
Boot-Loop
Q. What is a Boot-Loop?
A. A boot loop is when your phone is stuck on the "ANDROID" screen when u first boot your phone (after the G1 screen or the My Touch screen). This occurs when something you have flashed went bad or interfeared with something you already had installed.
Solution:
1. Turn off your phone
2. Enter Recovery (Hold HOME while holding the POWEr button)
3. Choose from the following:
- Install a rom you KNOW works. Such as the latest cyanogenROM or the rom you have been preivously using
or
- Make a full wipe of your SD Card an phone and flash your update again
Semi-Brick
Q. What is a Semi-Brick?
A. A Semi-Brick is when your phone wont boot at all. The only thing is, you still have access to the recovery and/or fastboot menu
Solution:
1. Turn off your phone
2. Enter Recovery (Hold HOME while holding the POWEr button)
3. Choose from the following:
- Install a rom you KNOW works. Such as the latest cyanogenROM or the rom you have been preivously using
or
- Make a full wipe of your SD Card an phone and flash your update again
Brick
Q. What is a Brick?
A. A Brick is when your phone wont boot at all. This time, you DO NOT have access to the recovery AND fastboot menu. Basically, your phone is a paper weight.
Solution:
You can try this fix here which requires a Donor G1 to work:
HERE
OR
Try to get a new phone.
-------------------------------------------------------------------------------------------------------------------------------
Donate
Hey guys, if you think my Guides have helped you and in general are very helpful, please considering Donating!
Like My Guide(s)? Donate
-------------------------------------------------------------------------------------------------------------------------------
Additions and Questions
- If you think I should add anything to this guide or have any feedback please post it here!
- You can always PM me with questions or even post them here. I would be very glad to help!
-------------------------------------------------------------------------------------------------------------------------------
Credits
- Cyanogen
- Amon_RA
- XDA Community
- Anyone else who i am forgeting
-------------------------------------------------------------------------------------------------------------------------------
saved for future additions
saved for another future posting that i might need
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
rpdiddy11 said:
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
Click to expand...
Click to collapse
......Android opens .apks, you would need androzip to extract a zip file. Linda will only open .apks to install..
Nicely done, as usual.
Would this guide be the same if I was using Super D as the rom?
hiddengopher said:
Would this guide be the same if I was using Super D as the rom?
Click to expand...
Click to collapse
ya u can use any rom that has root enabled.
rpdiddy11 said:
When trying to install the flash rec using linda file manager I don't get the prompt to install. It just tries to open the zip file and show nothing. If I use app installer it doesnt even detect the file. What now?
Click to expand...
Click to collapse
u need to unzip the file on your computer and only place the .apk files on ur sd card
edit: It doesnt even come in a .zip
Download it here
http://zenthought.org/system/files/asset/2/flashrec-1.1.3-20091107-2.apk
Place on SD and install through linda or any file manager.
Force close
Hey so I did the whole then and it worked mint thank you very much. But one hiccup every time I open something from the original Google install like contacts or market it force closes the app. Any idea on whats going on??
Help please!
why does my G1 get stuck on D" blue android logo? i can't load it. omfg guys please help. I'm in a state of panick here.
I just installed D' latest cm and D' drc83 thingy i just skipped D" upgrade to cupcake part. omg i'm really really panick right now
help please RASAP!
OMG
OMG I"M FINALLY ABLE TO LOAD but why can't i load my 3G settings? D' apn is set by default and all but why can't i use it?
please help me really please
snOwrOse said:
why does my G1 get stuck on D" blue android logo? i can't load it. omfg guys please help. I'm in a state of panick here.
I just installed D' latest cm and D' drc83 thingy i just skipped D" upgrade to cupcake part. omg i'm really really panick right now
help please RASAP!
Click to expand...
Click to collapse
No need to panic. As long as you can access the Blue Android Logo, you are fine.
Please list, step by step, what you did (including ROM Version Numbers).
Also - you might want to try flashing/wiping your phone. That seems to take care of many issues, but I'd still like to see what you did.
elitemonkie said:
Hey so I did the whole then and it worked mint thank you very much. But one hiccup every time I open something from the original Google install like contacts or market it force closes the app. Any idea on whats going on??
Click to expand...
Click to collapse
Best guess would to be to wipe and try again.
a little help!
guys why can't i download apps from market place after following this guide? It keep saying forces close i just can't download any apps at all however i can browse them.
Anywhere to find apk. file apps or any solution please?
Some help here guys!
Thanks! appreciated!
Well I fixed it but I installed Dwangs OS and works mint.
because my Phone had PVT i updated everything... and then i would reboot at the end after installing the ROM and it will not boot... it gets stuck at the T-Mobile G1 Logo... is there anyway to fix this?
Cheers...
ElChibo said:
because my Phone had PVT i updated everything... and then i would reboot at the end after installing the ROM and it will not boot... it gets stuck at the T-Mobile G1 Logo... is there anyway to fix this?
Cheers...
Click to expand...
Click to collapse
Depends, can you get into recovery or bootloader?
JAguirre1231 said:
Depends, can you get into recovery or bootloader?
Click to expand...
Click to collapse
i can get into recovery mode.. i have been trying to reflash.. but no matter what.. i get stuck on The G1 screen...

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).

0028002 Not Allow

I want to root my g1.
i did this steps
1. Plug your USB cable into your computer and then plug your phone in.
2. Mount your SD card by sliding down the notification bar and selecting mount.
3. Go to My Computer and access your SD card.
4. BACKUP ANY FILES THAT YOU WANT ONTO YOUR COMPUTER. VERY IMPORTANT!
5. Go back to my computer and right click on the drive that is your sd card. Click format. Choose FAT32 from the drop down and hit the format button. This removes all data from your memory card.
6. Once the format is complete: drag and drop "DREAIMG.nbh & Update.zip files that you downloaded into the sd card. (DO NOT create a folder or anything, just put it right in the SD card)
7. Unmount your phone by going through the notification bar and then unplug your phone Turn your phone off. from your computer.
8. Press and hold the camera+end key until until you see a screen with colored bars, then let go. This is the bootloader. The screen will turn gray with blue writing on it.
But 0028002 Not Allow problem.
i need a help
sorry for my bad english
thanks
Because those instructions are very us centric.. and maybe a tad dated.
If you have a T-Mobile phone look up androot and installing a custom recovery (re-recovery) this won't require the downgrade and is thus easier/safer. Particular than flashing an out of region rom.
If its not T-Mobile more info on the phone will help.
i'm root my phone with universal androot 1.6.1
what's next ?
i want to cyanogen mod 6. (2.2 froyo)
phone info:
Model Number = T-Mobile G1
Firmware version = 1.6
Build number = DMD64
Well you are at a good point.. rooted and operating just need to break out of the T-Mobile system some to replace everything on the phone..
The following will give you an idea.. but please read it all carefully first or you may find yourself while probably not bricked without a functioning android install.
You will want the following
1) Download and install both the android SDK and fastboot http://developer.htc.com/adp.html#s2
2) Download the flash image tool http://cyanogen-files.carneeki.net/flash_image.zip
3) Download ra-recovery http://rapidshare.com/files/387558152/recovery-RA-dream-v1.7.0-cyan.img MD5Sum: 11ae63afee9813a9b76cb3f7fd5ac2ad
unzip flash_image.zip and put the resulting flash_image in the same place as recovery-RA-dream-v1.7.0-cyan.img
form your computers command line run the following (preferable from the same directory as flash_image and recovery-RA-dream-v1.7.0-cyan.img, some people find it easier that this also be the tools directory adb is contained in but if you are comfortable at the command line this is not needed)
Code:
adb push flash_image /data/local/flash_image
adb shell chmod 755 /data/local/flash_image
adb push recovery-RA-dream-v1.7.0-cyan.img /data/local/recovery-RA-dream-v1.7.0-cyan.img
adb shell
this will now place you on a command prompt on the phone continue:
Code:
su
flash_image recovery /data/local/recovery-RA-dream-v1.7.0-cyan.img
exit
exit
now power down the phone and turn on while holding down the home button you ought to now be in ra-recovery optionally run a nandroid backup and then you can continue to install 1.33.2003
After 1.33.2003 is installed you can either continue the instructions on that link to 1.33.2005 *OR* check out Custom MTD
Once all of that is done its off to http://wiki.cyanogenmod.com/index.php?title=Upgrading_from_CyanogenMod_4.2_to_CyanogenMod_5/6 to install the rom.
can i follow this guide from II) Flashing a Recovery Image ?
http://forum.xda-developers.com/showthread.php?t=727688
because i think its easier than your guide for me
Two things,
1) flashreq expects a root exploit that wont exist on your rom I'm unsure if it will fall back on using su for root
2) if you feel its easier you don't like or are confuses with installing the sdk/fastboot, while there may be ways around it (rom manager comes to mind) if you ever run into trouble in the future you will need it.. once you learn how it works some you will find it easier thank messing with the apk.. as for the shell commands they will be cut copy and paste..
3) I don't recommended rom manager because if something goes wrong and you find yourself without a rom or recovery you will have a hard time getting your phone to boot without a gold card (once the engineering spl is installed 1.33.2005 you can take that route)
--
As I said before your phone is still running the T-Mobile rom take your time and understand the process and options to installing the rom.
My english is bad
i dont understand this post.
what must i do to root my phone now ?

[Q] Full tutorial to put KitKat on N1. Who wants to test?

Hi all, I wrote a long-winded Tutorial to put Evervolv KitKat on a stock N1. I don't have a stock N1 (I stumbled all the way through this process and got done yesterday, was so excited I wrote this tutorial) and don't know how to get it back to stock, so I'm wondering if anyone who has one and has experience putting new ROMs on other devices would like to test this out and let me know if anything doesn't work as written. Please go ahead if you like and reply your updates! Once it's dialed I'll make it a thread in the N1 ROMs forum.
Here's the text:
How to put KitKat on a Nexus One (And have computing power & space to spare):
Things you'll need:
1. A Windows/Linux computer with internet connection, USB port, and terminal
2. A USB Cable
3. A Nexus One with the most recent stock gingerbread rom (Settings->about, look for Android 2.3.6 or GRK39F, else apply/google updates to get to that version)
Before you begin, note that you're playing with a generally safe form of fire, but when playing with fire, you may brick your phone. The maker of this guide and any sites you visit during the process assume no responsibility, the user assumes full responsibility for lost work and damaged or ruined phones. Your warranty will be voided about six times over. Save all your stuff somewhere, save apps with Titanium Backup (Google it) or something, and do a full Nandroid backup (Goog that too) before you begin. You will be fully wiping your phone and SD card multiple times. Make sure at every step of the process that your battery is at least half full. Running out of battery during an update can cause bricks. In this guide, “Boot” means standard boot, the way it normally turns on. Not hboot or fastboot or recovery.
I did part of this from a Windows7 computer on Cygwin and part on Ubuntu 12.04, each presented some annoyance but by far the greatest was due to my Linux ineptitude with PATH and Root. If you're trying the same, I've made an appendix for that.
It may help to have a brief conceptual overview of what you'll be doing in case you run into snags and have to step out of the walkthrough. Your N1 has a few basic parts: Internal memory that is chopped into 3 partitions: One for the system files (System) , one for the files that they will need to make during the first bootup and use in order to operate, along with your apps and their created files (Data) and one for temporary files that your OS and apps can regenerate (Cache). Somewhere in there it also has space for a Radio (that also includes some critical power functions, flashing a new radio is the easiest way to brick an N1 but we won't), as well as a Recovery partition and an Hboot&Fastboot partition. We will be messing with Recovery and Hboot. The virtual machine that turns all the friendly pseudo-english computer code into 1s and 0s for the processor to deal with is called Dalvik, named after a town in Iceland where some old dev's family is from. It has its own Cache (the VM, not the town, as there are no longer any fish in Iceland ). It's SOP to wipe Cache & Dalvik before and after applying any updates, and wipe Data (Factory reset) before applying most updates. Sometimes when my phone bogs I reboot to recovery and wipe caches just for funsies. This makes it take longer to boot the phone and to use each app just the first time after that, while the files are created fresh. The phone also should have an SD-Card. You should have or buy an 8+MB, Class 10 SD card. The class relates to read/write speed, anything less than 10 will noticeably slow your Nexus One's operation. Why?
Because we're going to put some of your operating system on the SD card. We're going to use a special recovery system (aka recovery ROM) called “4ext” to partition your SD card. Mine is 16GB, partitioned to 14GB for storage and 2GB to use as fake internal memory, where my system's Data and Cache live. The KitKat System files that normally live on internal memory's System partition are too big for a normal N1, so we'll use a special Hboot called BlackRose to repartition your internal memory so you can fit KitKat, and then after you first boot it up we'll use an app called Mounts2SD to install a startup script so that every other time you boot it up after that, it will know to find Data and Cache on the SD card. In order to install BlackRose, you'll need to be running CyanogenMod Rom as your main OS, and in order to do that you'll need ClockWorkMod Recovery ROM. So the installation order will be: ClockworkMod recovery->Cyanogen7OS (Gingerbread based)->4ext recovery to partition SD card->BlackRoseHboot to repartition internal memory->Evervolv KitKat-based N1 ROM-> run Mounts2sd for startup scripts ->reboot to your new life among the anatomically modern cyborgs (and then you're on your own for getting all your apps and music and contacts and stuff back on the phone from wherever you saved it).
Ready? Here we go!
1. Install the Android SDK on your computer.
1. Get the appropriate version here: http://developer.android.com/sdk/index.html
2. Unzip it.
3. Run the setup.exe (if using windows)
4. When asked which packages to install, choose “Android SDK Tools”, “SDK Platform Android 2.1″, and “Usb Driver package” (If you use eclipse, check that last link for instructions on using the ADT plugin (Not the same ADT that cuts your paycheck, much less inept))
5. Make sure the USB drivers installed properly (windows).
1. Go to printers and devices in the control panel, or device manager
2. If you see an android device with no warnings, you're golden. If it has warnings, right click it and go properties->update driver (driver can be found in your android sdk directory where you unzipped the sdk bundle, in \usb_driver).
6. Boot up your N1 and plug it in to the computer. If the computer recognizes it and they play nice, you're set with the sdk. To extra check, open terminal and cd to the sdk's platform-tools folder that should contain the adb utility. Type #adb devices and see if it comes up with a message telling you that it's running a daemon on a port like 5037, and then lists something like HT9CPP800063 device. This is your phone, it's telling you you're beyond connected. You've got the sdk working. Else have your friend Google help you get the SDK properly installed.
2. Root the phone so it will let you dig in.
1. Put your N1 in USB debugging mode (Settings > Applications > Development > USB Debugging)
2. In the terminal, in the platform-tools folder, type #adb reboot bootloader. (((My phone has a power hardware issue and will not reboot while plugged in ever to any mode ever at all ever, if yours does too you can unplug (first type #adb kill-server to make it ok to unplug) the usb cable, power down, wait five seconds, and hold the trackball and power button to power back up into the bootloader, then plug in again. There was a lot of unplugging, waiting fifteen seconds, booting while holding buttons, plugging in, adb devices -ing that I will omit henceforth due to low likelihood that you have the same problem.)))
3. Using the onscreen directions on the phone and the hard buttons, navigate to fastboot mode. It may be unresponsive and throw some not-found messages for five seconds before it lets you do anything.
4. In the terminal on your computer, in the platform-tools folder, type #fastboot devices to see if your devices is connected (it should come up with the same HT#XXX###### number).
5. This step will gain Root access, unlock the bootloader, and WIPE ALL YOUR ****. Now type #fastboot oem-unlock . You may have to accept the warranty voiding. If for whatever reason it doesn't work, use this method http://code.google.com/p/bexboot/, and unzip the files to the platform-tools folder.
6. Using the phone buttons, reboot. Your little lock logo during the bootup should be unlocked now.
7. Power down and boot again for good measure. Re-enable usb debugging in the phone app dev settings.
3. Get ClockworkMod Recovery.
1. Download koush's ClockworkMod Recovery from : recovery-clockwork-5.0.2.0-passion.img and put it in the platform-tools folder.
2. To make sure the file is not corrupted and will not brick your goods, check the md5sum. This is the result of a complicated equation that easily reveals even a single flipped bit in the file by vastly changing the output. Google how to do this, in windows you'll need to download a tool like winmd5free. The output for this particular file should be: md5: 45716c8d51ed2375873f01f0b14b2184 If it's anything else don't use it.
3. Reboot to the bootloader again, either by #adb reboot bootloader or by powering up while holding the trackball, and navigate to fastboot.
4. Verify that you're connected with #fastboot devices
5. Flash ClockworkMod Recovery by typing #fastboot flash recovery recovery-clockwork-5.0.2.0-passion.img
6. It should give a success message. Reboot to recovery from the fastboot menu. It should be a sweet new blue and white ClockWorkMod recovery. Power down and reboot to recovery by holding volume up as you power up, just for good measure.
4. Get CyanogenMod7 ROM.
1. On your computer, go to http://download.cyanogenmod.org/?device=passion&type=stable and download the latest stable CM7 zip. Put it in the platform-tools folder.
2. Check its md5 as you did in part 3.
3. Do #adb-devices, which should give you that serial again, and the word recovery.
4. Place the zip file on the root of your SD card by doing #adb push cm-7.2.0-passion.zip /sdcard/
5. If that last step failed, try running #adb shell mount /sdcard or #adb kill-server then #adb devices then #adb shell mount /sdcard, then try the push again. Or mount the sdcard through the recovery menu before running that push command. Or use your computer's file system to drag and drop the .zip to the root (lowest) folder of the sd card.
6. Using the recovery menu, in backup and restore options, backup your current ROM.
7. In the format menu, do a wipe data/factory reset. Wipe the cache and dalvik cache while you're at it.
8. Back in the main recovery menu, do install zip → choose zip from sd card.
9. Select that CM7 zip file.
10. Return to the main menu and reboot the system. It should come up with a totally different looking leaner meaner version of Gingerbread, that gives you more control and speed and saves battery. But even with this system, given modern app sizes, you'll soon run out of room on the internal memory if you stop now. And besides, you're having too much fun.
5. Get 4EXT recovery
1. Go to 4ext.net and download the free .apk file: http://www.4ext.net/get.php?apk Congratulations if you're about to install your first not market app (apps are now .apk, not just something you get from the store's GUI.). Save it in platform-tools. Or, to be really nice to Max, you can just buy the app in the play store and skip the next two steps.
2. Enable USB debugging, plug in and #adb-devices.
3. # adb install 4EXTRecoveryUpdater.apk. You should get back a success message in a fistful of seconds.
4. At this point you may need to back out to regular settings, turn on wifi, and hook up to your wifi router.
5. Open the 4ext recovery updater app. Go to settings. Allow superuser permissions and everything else. It should detect Nexus One, connect to the internet, and boot you back to the main menu.
6. Go to online install. They're all release candidates and no stable versions, so just go with the newest one. Select install.
7. Wait for it to finish and then reboot to recovery, either by # adb reboot recovery or manually. You should have a beautiful new touchscreen recovery.
6. Partition your SD Card
1. In recovery, go to tools->partition sd card->remove all partitions and start from scratch.
2. For the first Ext partition, where you'll be keeping a good chunk of your OS, The consensus online is not to go above either 1.5GB or 2GB. I'm working fine with 2GB aka 2048MB.
3. You can skip the 2nd Ext partition.
4. The internet says Swap size should be 0.
5. Internet says File system should be ext4. This should do the partitioning, the rest of your SD card will still be great for storage as before.
7. Repartition internal memory using BlackRose:
1. I have never used BlackRose on Windows, but here goes: go here : http://forum.xda-developers.com/showthread.php?t=1270589 and download this zip archive: http://forum.xda-developers.com/attachment.php?attachmentid=1016437&d=1334971685; It has windows and linux files. The site also has a manual in case this walkthrough lets you down.
2. Unzip it into a folder in your platform-tools. Execute it with a ./ in linux or a .exe in win. It should say waiting for devices.
3. Reboot your phone manually. BlackRose should hijack the startup, install itself, and quit. Boot your phone up again.
4. Blackrose is rumored to have an interactive guide to partitioning, but it didn't work for me and at least some other genius on the internet, but being an industrious Austrian, he figured out the fix: Run Blackrose in Editor mode. Type resize as prompted.
5. The post here http://forum.xda-developers.com/showthread.php?t=2540366 on Evervolv KitKat implies that 250MB for System works with enough space for Gapps (Google does not allow their standard apps like Play Store to be included with Mod roms anymore, so you will need to install them from recovery too, but they distribute them bundled so it's not hard.), and some commenter said 260MB, but that didn't work for me long enough to run startup scripts and move some of it off. So I had to redo it and I went with 265MB for System and 10MB for Cache, which is working fine. Give it a name, I went with Kat.
6. BlackRose will shut down, but it will leave a golden turd in the form of a file called hboot_brcust.nb0 probably in the folder called “other.” That's what you want.
7. Put that file in the same folder as the Blackrose utilities fastboot-l and fastboot-w if it's not already there. Then boot your phone into fastboot again, via adb or manually. I think. Maybe try this from being standard booted up if the next part doesn't work.
8. Run # fastboot-l flash hboot hboot_brcust.nb0 . Windozers should use fastboot-w instead. Blackroot will wait for the device again.
9. Reboot your phone into the bootloader manually, by holding the trackball while powering up. The image should install on this boot, resizing your phone's internal memory partitions.
10. Run # fastboot -w. Your Bootloader should be loaded up, with the 1st line saying something about BlackRose and the 2nd line saying 265/10/161. This is how you know it worked. That 265 is where it's at for KitKat. Your main OS had been destroyed, but your Recovery ROM should still work.
8. Install Evervolv KitKat.
1. Go here http://evervolv.com/devices/passion and download the latest stable release. At press time that's the 4.0.0p4.2 version. Save it to platform-tools.
2. Reboot to Recovery from the menu in the BlackRose bootloader.
3. Do # adb devices. Then do # adb push ev_passion-4.0.0p4.2-perdo-squished.zip /sdcard/ . If it doesn't work, try using the touch recovery menu to toggle mount USB, then push, then unmount. Or mount USB, use the computer's file system to move the file to the root of the sd card, then unmount USB. Or try as root if you're using linux.
4. From the main recovery menu, select install zip from SD card → choose zip → select the ev_passion-4... zip. Wait up, it could take a while.
5. Success!! Right? Right. #adb kill-server, you can unplug now and won't need to plug back in! Reboot the phone, you're getting perilously close! This boot could take five plus minutes, or just one, but be patient.
9. Install Gapps.
1. You are such a lucky dog. Gapps bundled updates are available through the Evervolv toolbox. So you can get Play Store and everything else will come easy. Go to settings → wifi, turn it on, hook it up to your wifi router.
2. Back up to settings, and go Evervolv Toolbox → Updates and swipe over to the Gapps section. Tapp the most recent Gapps-kk zip. Tap the down arrow to download.
3. Reboot manually to recovery.
4. From the main recovery menu, select install zip from SD card → choose zip → select the gapps-kk... zip. This could also take a sec.
5. Reboot again! You're almost done! When it's all loaded up, Play Store should now be installed, as well as various google options that you can enable through the Evervolv settings.
10. Install Mounts2sd.
1. Go to the Play Store and get Mounts2sd.
2. Hit the top right corner for application settings. You'll need to install a startup script. Agree, give it permanent superuser status.
3. Reboot.
4. Go back into Mounts2sd, and go to the Tool menu (Wrench). Note that boxes aren't checked unless they're green-checked.
5. Enable the Cache to move cache partition to data or sd-ext. Storage threshold is up to you. Make sureApplications, Libraries, Data, and Media are all checked. Dalvik should stay unchecked, System apps can too.
6. Reboot again.
11. You're done!!! Or at least we're done. You still have to restore your apps and put all that music back on and figure out how to resync your contacts and... Good Luck.
12. If you want to get extra tricky, it's believed to be possible to leave app data on the real internal memory by default, and use Titanium Backup to move the data of most of your apps to the SD-ext, thereby leaving the data of your favorite apps on real internal memory. Use at your own risk.
ENJOY!!
Appendix 1:
Linux PATH env: I put all my android stuff in a file called androidy, so my path to my platform-tools was /androidy/adt/sdk/platform-tools, and my blackrose was in there too. So to set my PATH, I used: $ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sean/androidy/adt/sdk/platform-tools:/home/sean/androidy/adt/sdk/platform-tools/blackrose_120421/binary"
In order to make sure that while using it as root (as was necessary for some fastbot operations), I referenced the same PATH instead of the messed up root PATH, I used sudo env PATH = $PATH a few times.
Appendix 2:
The only actual bug I've noticed in a few days with this ROM is that my Chrome bookmarks don't add shortcuts to the homescreen when I tell them to from within Chrome. The widget-adder (longpress homescreen) has a bookmark option though, so if you bookmark it you can put it on the homescreen from there.
Huge Thanks to everyone involved with ClockworkMod, Cyanogen, 4Ext, BlackRose, and Evervolv!
Sources:
http://wiki.cyanogenmod.org/w/Install_CM_for_passion
http://nexusonehacks.net/nexus-one-...n-how-to-unlock-bootloader-on-your-nexus-one/
http://marian.schedenig.name/2012/07/22/installing-android-4-ics-on-the-google-nexus-one/
http://forum.xda-developers.com/showthread.php?t=2540366&page=24
Wooooh, Amazing book ! Everything is soo.... deep. In my opinion, tutorials should be only few lines.
Some mistakes :
Why installing CM7 and then backing up ? (You can install non market apps without CM7, and when flashing CM7 you erase all user data)
Why using m2sd if the rom has a built-in feature called a2sd ?
Why installing CWM then 4EXT recovery ? (TWRP is a touch one, and you can flash recovery once you have root access)
"You should have or buy an 8+MB, Class 10 SD card" ? typo ?
In my mind, big steps should be :
1) Backup SD, and SMS and Apps
2) Root
3) Install recovery (TWRP is advised by evervolv, but CWMRecovery is OK)
4) Partition SD
5) Install Blackrose (using 260mB system)
6) Flash ROM
7) Flash GAPS
8) A2SD Y N Y
Notes :
About SD-Ext size, i recommend reading this post from his creator : http://forum.xda-developers.com/showthread.php?t=1716124
A2SD is an old version of INT2EXT+
Using terminal is not friendly for beginners. Avoid it at maximum.
Provide a link for a MD5 sum checker.
I don't know if it works with actual stock rom, but when i rooted my n1, i used SuperOneClick. Plug, Click, Wait, Smile. (I still have it if needed)
ldFxl said:
In my opinion, tutorials should be only few lines.
Click to expand...
Click to collapse
This tutorial doesn't need to exist at all. All the information is available elsewhere on the internet, I did nothing original. Its only value is that it puts all the information in full detail in one place so you don't have to look in the forums for elaboration on each line of a more concise tutorial. Hopefully with info this detailed, someone with more chops than me could script it.
ldFxl said:
Why installing CM7 and then backing up ? (You can install non market apps without CM7, and when flashing CM7 you erase all user data)
Why using m2sd if the rom has a built-in feature called a2sd ?
Click to expand...
Click to collapse
I had already installed CM7 when I thought to write this, Marian (my 3rd source) seems pretty skilled as he is the only one who could make BlackRose work for me so I trusted his advice that it was the easiet procedure he found. Have you put TWRP Recovery on from stock after unlocking the bootloader (fastboot oem unlock)? And have you successfully repartitioned SD (fat32 &ext4) from TWRP? If so and you want to quickly write up the steps, I'd gladly replace my steps 3-6, that would save people a lot of time and doing.
ldFxl said:
Why installing CWM then 4EXT recovery ? (TWRP is a touch one, and you can flash recovery once you have root access)
Click to expand...
Click to collapse
4EXT is also touch, CWM cannot repartition SD. If you can go stock to TWRP this might be the best option. Or if not, stock to 4ext.
ldFxl said:
"You should have or buy an 8+MB, Class 10 SD card" ? typo ?
Click to expand...
Click to collapse
Yes! Thanks.
ldFxl said:
Using terminal is not friendly for beginners. Avoid it at maximum.
Click to expand...
Click to collapse
Don't you have to use terminal to use the built in A2SD? At any rate, it didn't work for me (I'm kind of a beginner), Mounts2SD's GUI seemed a little more beginner friendly. Also I certainly wouldn't have been able to make BlackRose work
ldFxl said:
Provide a link for a MD5 sum checker.
Click to expand...
Click to collapse
Good idea
ldFxl said:
I don't know if it works with actual stock rom, but when i rooted my n1, i used SuperOneClick. Plug, Click, Wait, Smile. (I still have it if needed)
Click to expand...
Click to collapse
I once used SuperOneClick on another phone, it looked like it struggled and finally worked with a DDoS style attack, it seemed simpler to just do it the way the manufacturer intended (if that's even a thing). But I suppose if it works with one click it really is simpler as seen by the user. Anyone have a report on whether it worked from stock N1?
Fituate said:
I had already installed CM7 when I thought to write this, Marian (my 3rd source) seems pretty skilled as he is the only one who could make BlackRose work for me so I trusted his advice that it was the easiet procedure he found. Have you put TWRP Recovery on from stock after unlocking the bootloader (fastboot oem unlock)? And have you successfully repartitioned SD (fat32 &ext4) from TWRP? If so and you want to quickly write up the steps, I'd gladly replace my steps 3-6, that would save people a lot of time and doing.
Click to expand...
Click to collapse
On my first flash, i was pretty beginner, so i followed a tutorial ; ) . And they used CWM. But flashing a recovery procedure from .img file doesn't differ with the recovery. TWRP allows you to partition SDCard. I did it last week (on HTC wildfire S, TWRP 2.6 as for N1).
Flashing step is the same -> just replace img file name. You can get it Here (From official TWRP Website)
Procedure from TWRP Website said:
Download the above file. Turn off your device. Turn on the device and keep holding volume down until a menu shows up. Select fasboot from the menu list. Plug the device into your computer. If you have the right drivers installed, your screen should now say FASTBOOT USB. Run the following command via the command line:
fastboot flash recovery recoveryfilename.img
Note that you will need to change the last part to match the name of the file that you just downloaded. This method requires that you have the drivers installed that come with the HTC Sync software that are available here. You will also need adb and fastboot for your computer.
Click to expand...
Click to collapse
6. Partition your SD Card
1. In recovery, Tap Advanced
2. Tap Partition SD Card
3. Set 2048 (MB max) on EXT Size and 0 on Swap Size
4. Tap EXT4 then swipe to start partitioning
Fituate said:
3. Reboot your phone manually. BlackRose should hijack the startup, install itself, and quit. Boot your phone up again.
Click to expand...
Click to collapse
Backrose is a custom Bootloader-> it replaces your HBoot/Fastboot
You don't need to reboot your phone to install blackrose. You just need your phone in ADB over USB, then the win setup will install blackrose.
Once done, run setup again, your phone will automaticaly go to HBoot, then choose 1, and 1 again.
Then enter "resize", "260" and "8".
In case that the installer don't work correctly, you can get flashable HBOOT from [Provide a nb0 (texasice recommend 260/8/168) AND MD5 Checksum]
While googling to find some infos (I don't remember me unlocking my bootloader) I found this guide : http://forum.xda-developers.com/wiki/HTC_Nexus_One/Flashing_Guide
Apperently SuperOneClick does not even need unlocked bootloader on 2.3.3 or previous ...
Isn't what we are trying to write down ?
There are many links pointing to this forum aswell.

Categories

Resources