[G1 General] FeintDoxx:
---------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------

2: Rooting

------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------

--------------------------------

-----------------

Step 1

-----------------

Assuming you're not on stock Android 1.0 follow steps 1-6, if already on android 1.0 skip to step 7 (1 when item is hidden).

This link is for RC29 (US)

*Optional is the update.zip as it seems to not work for some other wise you can skip the update.zip flash*

But if you need RC7 (UK) then use this link

Now plug in your phone and go to USB-MS. Go ahead and right click your USB-MS drive that appears

on your computer and hit "Format..". Now under file system be sure to set it

as FAT32 then hit format. Depending on how much memory your SD card is will

effect how long it will take. Once it is done move the DREAIM.NBH and update.zip into the

root of the SD card.

*only do this step if you got the update.zip file otherwise skip this step* Now power down your phone and boot up into Recovery mode (Home+Power).

You'll see an exclamation point with a triangle if you booted correctly. At this point

press "ALT+L" then you want to wipe all data so press

"ALT+W" then press "ALT+S" to

apply the update from the SD card.

Power down your device and boot it back up into fastboot mode (Camera+Power). It'll prompt you

if you'd like to install update hit prompted button and wait, this may take a bit and it won't be done

untill it prompts you that it is done so do not worry if it seems like its taking long and DO

NOT battery pull while it is installing.

Power down and now boot normally. You now have android 1.0 stock.

Sign-in into google.

GOOGLE BYPASS METHOD : only necessary if you do not

have data or an activated sim card or no sim card at all. But Wifi is required.

("<enter>" is actually the actual enter button so when it says "<enter>" press the enter button AKA return button)

Power on your phone but do not press anything. Plug your phone in via USB.

Slide your keyboard up type this is: "<enter>setprop persist.service.adb.enable 1<enter>". (Since you are on 1.0 this actually a command to enable USB Debugging although

you can't see anything)

Your pc will detect another device and begin installing drivers. (This is what HTC drivers installer was

for so your device will be installed correctly)

Now open cmd via run on your computer. Type in "adb devices" and it should show your device.

Example :

(You only see this: "adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *" when its the first adb command your run when you open cmd)

type: telnetd<enter>

now on the computer using the command prompt type: adb forward tcp:23 tcp:23

then press enter

type: telnet localhost

press enter and you should see a # as you should have a root shell (while in this shell in order to backspace you must press the "Delete" button on your keyboard as pressing backspace will not do anything)

type: setprop app.setupwizard.disable 1

press enter

type: ps

press enter, this will show all the running processes

on the right column look for "com.android.setupwizard" then once that is located follow that line on to the second column from the left, the number in that column is the PID

type: kill PID

replace PID with the number that you found from the second column

It should now be at the home screen, if not press the "Emergency Call" button and press back and then you should be able to unlock the phone with the "Menu" button.

Now you can go to the settings connect with wifi and then bring down the notification that says you need to set up your account to sign in with your google email

Go to the market and download "TelNet" app. Once you have

it installed, go to USB-MS and put this recovery image onto the root of your SD card. reboot your device but do not press

anything or unlock the screen.

Once booted up slide your keyboard up, will unlock the device, and press the enter button twice and

type this in "telnetd" then hit enter (It’ll be a contact search but it’s okay). Now

go open Telnet app, and hit connect. If you did the telnetd part correctly you

will be prompted with a #. Otherwise you'll get a connection failed message, if

so reboot device and attempt the telnetd command again.

Type these commands in on your phone:

You now successfully flashed Amon_RA_ Recovery. :good:

You may reboot into your new recovery (power on holding home button) and flash a custom ROM. But

I do suggest upgrading your bootloader and radio first as the amount of ROMs available to you will be

much greater!

-----------------

Step 2

-----------------

Okay so now we will be updating to radio2.22.23.02 and DangerSPL.

Reboot into recovery mode (POWER+HOME), plug your phone in via USB and toggle USB-ms and delete everything off your SD card and placethese files onto the root of your SD card. Exit USB toggle.

Scroll down to wipe data and do so.. than go to "flash .zip file" now the first file you want to flash is the radio2.22.23.02 let finish then press home+back to apply update, it should reboot back to recovery after this.

Now go to wipe again and do so.. the next file you want to flash is the G1 Spl (Hard SPL) so flash the .zip file and let finish than press home+back to apply update.

Go to wipe data 1 more time. now go to flash zip and select the "Danger SPL.zip" let finish and press home+back to apply update.

Power back on into bootloader (camera+power) and check if device says.

If so you can move on to the next part!

-----------------------------------------*

Step 3

-----------------------------------------

Again delete the old files off your sd card and place these files on it!!

Quick note this is the last radio update for this section, radio2.22.27.08, now if you want radio update 2.22.28.25 refer to the changing hboot section and it will have the steps to do so.

Radio 2.22.28.25 may have better reception in your area but will drain your battery quicker.

Boot up into recovery mode, go to flash zip from sd and select Ohsaka superwipe. wait till finish then go to power down!! now boot back up into recovery again.

Now do a manual wipe of data and cache.

Now flash the radio2.22.27.08 file.. let finish than flash the hboot1.33.0013d file and let it finish! then reboot the device for update to apply.

Power off the device, then reboot into bootloader (camera+power) and check if device says.

*If so you now have updated both your radio and SPL and you can now flash any ROM you'd like.

But if you'd like you can follow the next step and install a custom ROM and I will show you how to partition your SD card as well.

-----------------------------------------*

Step 4

-----------------------------------------

Okay so now that you have completed step 3 you can flash a custom rom but now we must partition the SDcard.

Reboot into recovery mode and go to Partition SDcard

Partition SD. Press home.

Now I have 4GB micro SD hc. My partition settings are*

Swap: 128mb (swap is not needed and is purely optional)

Ext: 576mb ( or whichever option is closest to that I can't remember, this is for apps2ext so you can save your apps to your sd card)

Rest: FAT32 (this will once again delete everything but you should have all your backed up data on your pc)

This is what I have for my partitionings and it's works fine for me and it should for you too!

Once that is done go to SD:ext2 to ext3 and once that is done upgrade the ext3 to ext4. You now have a partitioned SD card with EXT4!!

Now all that is needed is to flash the custom ROM. I am currently running this ROM.

Now return to toggle USB-ms and place the ROM zip file from the link above as well with Ohsaka superwipe from the previous step (download it once again)

Go to flash zip file and flash Ohsaka superwipe.

Power down. Reboot into recovery.

Now return to flash zip file and flash the ROM which should be named FroyoCreamSandwhich. Once it is done it will prompt you to press HOME+BACK do so.

Now reboot your phone normally and allow it to boot up (it may take a bit the first time but this is normal when you flash a new ROM). You will now be given the option to sign in create an new account or skip (although I believe it has the option to connect to wifi built in). You now have flashed your New ROM!!!!