[GUIDE] ADB, Fastboot, and Nandroid for Noobs

Search This thread

sere83

Senior Member
Nov 17, 2009
50
3
London
Thanks for this but i cant even install the SDK. it says...

For Android SDK 1.5r3+

1. Run SDK Setup.exe
2. If it gives you an error go to settings and click on "Force blah blah;'
3. Select all options and let it download and install

I got an error message saying it can't find some .bat. Then you say, go to settings, sorry for being a noob but what settings? where? where is force blah blah...
 

spartan062984

Senior Member
Oct 8, 2010
249
7
Hello Fellow Androids!

If this is off topic, please accept my apologies. I am searching through all of XDA for a simple solution to adding apk. Now before you start bashing, please keep in mind that I am well aware of the "search" options + google + XDA etc.

Long story short, I have:

1) Rooted
2) Fashed many Roms (currently on Stock 2.1)
3) Lag Fixxed (see signature)
4) Removed Bloatware
5) I am familiar with ABD and commands

Problem:

All I'm trying to do is install certain "apk"s using ADB. I am well aware of the Program that installs/ pushes apps automatically that are found in G1 + Vibrant + HTC + Droid Forums without having to do any typin......BUT.....I would like to know my way around ABD <----Main reason why i dont want the easy way out.

I have been here:

http://xdaforums.com/showthread.php?t=716806

as well as here:

http://xdaforums.com/showthread.php?t=743457

even been here:

http://xdaforums.com/showthread.php?t=740545

I know what you are thinking, why not use them? As i said before, i would like to be efficient with ADB. So...


I have tried methods found here:

http://xdaforums.com/showthread.php?t=517874

As well as:

http://xdaforums.com/showthread.php?t=532719


The problem I am having is:

Whether i navigate to my folder (desktop with all my apps) and use either

"adb push app /system/sd/app
adb push app-private /system/sd/app-private"

or simply

"adb install <path to file> - Example: adb install c:/apps/apps2sd.apk"

I always get the error: "cant find <whatever apk> to install"

No matter which directory i have it, i get that message.

Note:

1) I have debugging on
2) I mounted sd <----also tried Without mounting
3) I have used the same command when I removed bloatware but i understand Adding apks are slightly different.
4) I have all the drivers installed + Microsoft's .net framework + etc

What am i doing wrong?

All Critics, input, education bashing (just not hating) lol are welcome. Thanks!
 

spartan062984

Senior Member
Oct 8, 2010
249
7
why dont you just copy the apks to your sdcard and install them from root explorer or filemanager

are the apks in the same directory as your adb.exe, like c:\tools\whatever

Thanks for the response. I actually found an alternate way around it. Also, I have already mentioned that i am well aware of Root Explorer + Astro + etc. I wanted to be familiar with adb.

"All I'm trying to do is install certain "apk"s using ADB. I am well aware of the Program that installs/ pushes apps automatically that are found in G1 + Vibrant + HTC + Droid Forums without having to do any typin......BUT.....I would like to know my way around ABD <----Main reason why i dont want the easy way out.



It turns out there are certain apk files that can ONLY be installed with a file manager program if they were pulled from the source to begin with. With adb, the apks have to be in some different formatting. Who da thunk? Thanks for your response.

To Android! :D
 

budlowe

Member
Jul 7, 2010
24
1
As this guide is for "noobs," I think I fully qualify to ask a question...

I followed the instructions in the OP and got the correct responses in ADB, but when I booted into fastboot and then plugged in to my Windows 7 computer, there was a little popup in the corner saying installing new device and it didn't ask for me to choose the location. When it finished it said something like "Device installed, HTC Bootloader." When I type "fastboot devices" it shows my G1 (currently running BiffMod 2.0.1 with Amon_Ra 1.7). When I type "fastboot shell" I get the huge list of commands as if I only typed "fastboot." What should I do to enable it correctly and get the #?

------
I looked around some more and got back into it. I still can't get the "#" to show up when typing "fastboot shell" but I tried "fastboot reboot" and that worked properly.

I was planning to do a full wipe as recommended on the install guide by Ohsaka on the Biffmod forum:

3 - Wipe system partition using one of these 4 methods:
*Volume down, home back and power for system wipe then use amon ra to wipe the rest
*fastboot erase system -w (Boot into Fastboot by holding back and power on at same time)
*adb shell mount -a; rm -rf /system/*; (ADB via recovery)
*Or using this flashable zip - Download Here Flash in Recovery reboot into recovery after flashed, Not the preferred method!!


I've done it once before using the first method, but I figured I should learn a little more about fastboot and adb for some other things I might want to try. That way I can wipe using the 2nd method (or 3rd I suppose).
 
Last edited:

anghellic

Senior Member
Feb 22, 2010
170
2
Detroit
fastboot!!!! help!!!

So this whole fastboot thing has perplexed me for days now and I've crawled all over them internets to figure this out and this is the best info I have found so far. When I plug my phone in to my usb to my computer there is no popup or anything to do with drivers, what am I doing wrong?
 

anghellic

Senior Member
Feb 22, 2010
170
2
Detroit
Fastboot. WTF

Fastboot


Setting up fastboot to work with your computer

Plug your phone in to your computer through USB
You should get a popup that your computer found the ADB Device for fastboot
When it asks you for drivers, make sure u select the option to locate the drivers from your computer yourself
Since you already have your Android 1.5r2 SDK installed, the drivers are in the same place where the ADB drivers are
C:\android-sdk-windows-1.5_r2\usb_driver
Make sure you choose the correct folder depending on your OS
Press ok to install the drivers
Fastboot should now be up and running

When I plug my phone in nothing pops up at all. What am I doing wrong?

Edit: I go into command prompt and go into the sdk tools folder and what not. I turn my phone on in fastboot mode and then in CMD type fastboot devices and my phone registers, but when I type 'fastboot shell' I just get the list of commands...no "#"
 
Last edited:

nephron

Senior Member
May 25, 2009
745
65
Thanks for the response. I actually found an alternate way around it. Also, I have already mentioned that i am well aware of Root Explorer + Astro + etc. I wanted to be familiar with adb.

"All I'm trying to do is install certain "apk"s using ADB. I am well aware of the Program that installs/ pushes apps automatically that are found in G1 + Vibrant + HTC + Droid Forums without having to do any typin......BUT.....I would like to know my way around ABD <----Main reason why i dont want the easy way out.



It turns out there are certain apk files that can ONLY be installed with a file manager program if they were pulled from the source to begin with. With adb, the apks have to be in some different formatting. Who da thunk? Thanks for your response.

To Android! :D

Alright bro ill help u out here.

You have 2 options:

Pushing an apk files (usually to system folder) and installing an apk to the data folder.

Option 1:

lets say your file is placed in C:\systemapp.apk

Code:
adb remount
adb push C:\systemapp.apk /system/app/systemapp.apk

Option 2:

You want to install a game

lets say your file is placed in C:\game.apk

Code:
adb remount
adb install C:\game.apk

Now if you want to install multiple apps at once (batch install):

lets say you place a couple games in the folder C:\games\

adb remount
adb install C:\games\*

that should install all the games/apps in that folder

If that doesnt work, try this:

http://xdaforums.com/showthread.php?t=743457

Hope that helps :D


When I plug my phone in nothing pops up at all. What am I doing wrong?

Edit: I go into command prompt and go into the sdk tools folder and what not. I turn my phone on in fastboot mode and then in CMD type fastboot devices and my phone registers, but when I type 'fastboot shell' I just get the list of commands...no "#"

Hello!

First of all, there is no such command as 'fastboot shell' only 'adb shell'. Fastboot commands are used to flash images to certain paritions in the phone's memory.

if you want to flash a recovery image,

Code:
fastboot flash recovery recovery.img

Thats what you would type in the cmd prompt. If you want to format data or cache, i would do it through amon_ra's custom recovery, that way you wont need to mess with fastboot as much. :D
 

budlowe

Member
Jul 7, 2010
24
1
First of all, there is no such command as 'fastboot shell' only 'adb shell'. Fastboot commands are used to flash images to certain paritions in the phone's memory.

Thanks for clarifying that. I asked the same thing on the 5th. See the quote below from the OP for the source of our confusion.

Make sure Fastboot is working

Open up Command Prompt
type the following

Code:
cd C:\android-sdk-windows-1.5_r2\tools === Press Enter
fastboot devices === Press enter, your device should be listed
fastboot shell === You should see a # in the next line

type fastboot and press enter for general commands

---------------------------------------------------------------------------------------
 
  • Like
Reactions: PJK2011

Rawdi

Senior Member
Jul 18, 2009
240
5
hmmm...when i try to do the command "adb pull" its says that adb: not found
any ideas?

i have the same problem. i have tried fastboot aswell but i cannot seem to get it working. i have gone into cmd and gone into tools and i have typed the command in to see if it can see my g1 and it can but i cant seem to these.

fastboot flash radio radio-2.22.27.08.img
fastboot flash hboot hboot-1.33.0013d.img
fastboot reboot-bootloader
fastboot erase system -w
fastboot erase boot


can anyone help please.
 

Krazi Bluntz

Senior Member
May 29, 2009
66
0
I installed sdk fully ... however when I plug my G2 in nothing pops up ('USB Debugging' is on) ... I installed "USBDeview" and tried to unistall the 3 files stated in the first post but when I click unistall nothing happens ... is there another way of unistalling those files so my pc could recognize the phone? thanks
 
Last edited:

Phateless

Senior Member
Aug 22, 2010
4,773
448
Oakland
www.llinkedin.com
Apologize if this has already been asked.

Install app to system - do you push PUSH C:\APPLICATION.APK SYSTEM/APP/ and that's it? It will appear in the app drawer? Or is there a different command?
 

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
Apologize if this has already been asked.

Install app to system - do you push PUSH C:\APPLICATION.APK SYSTEM/APP/ and that's it? It will appear in the app drawer? Or is there a different command?

No, you put the app inside of your sdk/tools folder, the same folder where your adb and fastboot applications are installed. Example,
Code:
adb remount
adb push application.apk /system/app
 

rcisek1986

New member
Dec 1, 2010
3
0
when i try to install the mytouch 4g usb drivers from c:\android-sdk-windows\usb_driver all i get is an error message saying windows cant find the driver for my device. i followed the instructions exactly. any thoughts? is it different for the mytouch 4g?
 

montrealcityboy

Senior Member
Dec 3, 2010
137
15
Montreal
my samsung galaxy S is rooted,i have superuser installed on it also.
in command prompt on my pc,when i type adb shell it gives me a $ sign.
i type in su and it says permission denied. :confused:
what am i doing wrong? i followed to guide correctly :-(
 

CzEcHy

New member
Sep 26, 2010
4
0
I just can't get the PC portion of fastboot to work.

I downloaded all the files, opened, did everything I needed to do, opened run-cmd, typed the cd c:\android-sdk-windows\tools.

Opened the cmd prompt, typed in adb shell, and it said not recognized.

Tried downloading the droid explorer, said it couldn't install.



Are there no other ways to do fastboot? All I wanted to do was install the new radio/kernal, and I can't do anything unless fastboot works.

Guess I'll stick with my regular CM 6.1.0DS with no extra ram <.<

(G1)
 

rraaka

Senior Member
Sep 8, 2010
2,608
671
Hello, I have windows Xp 32 bit and Ive been trying to get my Desire respond to adb but cannot. The same desire responds to a Vista configuration but not to XP. Unrevoked also doesnt work on Xp but works on Vista. I downloaded the drivers and tried to install them but it doesnt work.
I tried using deview but still no luck.
Im at the end of my wits.

With Legend the same XP works but not to Desire. Do I need to exit anti-virus or something ?

when i tried to install Droid explorer i get this error -

System.UnauthorizedAccessException: Access to the path 'adb.exe' is

denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath,

Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath,

Boolean recursive)
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.SdkPathCleanup() in

s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootst

rapper\Panels\DownloadPanel.cs:line 251
at DroidExplorer.Bootstrapper.Panels.DownloadPanel.RunSetup() in

s:\projects\csharp\DroidExplorer\trunk\DroidExplorer\DroidExplorer.Bootst

rapper\Panels\DownloadPanel.cs:line 181
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Hello All!

    After much frustration with setting up ADB i finally got it working. Everyone said its simple and takes minimal knowledge but when things dont work, nothing really worked. Anyways after 2 hours of research trying to get ADB to work i finally got it all working and wanted to share my knowledge to anyone else that needed help.


    This Guide is for windows only. If you are using Mac OS X please go here: ADB For Dummies

    If you are using Linux please go here: [HOW-TO]Set up Android SDK/ADB/Fastboot on Ubuntu Linux



    Like My Guide(s)? Donate


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

    Things you need:


    Android SDK - Download
    Winrar - Download (32bit) Download (64bit)
    Windows PC
    USB Cable
    A Rooted HTC Dream (Google G1)

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

    Setting up the Android SDK


    Download the file from above
    Unzip to your desktop
    Take the "android-sdk-windows" folder and move it to the root of your hard drive (C:\)

    Right click on My Computer and click properties
    Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
    Select Environment Variables...
    Press New

    For Variable Name type: adb
    For Variable Value type: C:\android-sdk-windows\platform-tools

    Now,

    1. Run SDK Manager.exe located in the android-sdk-windows folder
    2. If it gives you an error go to settings and click on "Force http//....."
    3. Select all options and let it download and install

    If you cant get the setup to work, Download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)

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

    Preparing your phone for ADB

    Go to Settings on your phone
    Select Applications
    Select Development
    Make sure 'USB Debugging' is checked

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

    Installing Drivers


    Plug in your phone through USB and DO NOT MOUNT IT!!!!!
    Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
    Let it load
    Once it cant find them select "Install drivers from my pc"
    The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows\usb_driver)
    Depending on your OS pick x86 or amd64
    You ADB Android Device should now be installed! Good Job :D

    For Android SDK 1.5r7+

    1. Run SDK Manager.exe
    2. If it gives you an error go to settings and click on "Force http//....."
    3. Select all options and let it download and install

    If you cant get the setup to work, Download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)

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

    Check if your phone is detected by ADB

    Open up Command Prompt (Go to run, type in cmd, press enter)
    Type in

    Code:
    cd C:\android-sdk-windows\platform-tools === Press Enter
    adb devices === You should see your device listed
    adb shell === you should see # in the next line

    Now you are all set to run adb commands

    Note: for a list of commands type in 'adb' in cmd

    CONGRATS YOU NOW HAVE ADB FULLY RUNNING!

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

    Droid Explorer by Camalot

    Droid Explorer is a Windows software that will download, install, and setup the android SDK for you all in under a minute so you are ready to go. I use this on a daily basis. This amazing piece of software has tons of plugins and a built in file explorer for all your files on your phone! All you gotta do is download, install, and go!

    Download Droid Explorer - Here

    Install the program, and let it setup the SDK files for you
    Connect your phone
    Enjoy!

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

    "Im not getting a notification of Android ADB when i plug in my USB"


    Why: Your computer has detected your phone but as a protable device and as a storage device.

    Fix: This took me a lot of research and time to figure out so this is what your are going to do.

    First download USBDeview - Here
    Unzip it
    Run USBDeview.exe as Administrator
    You will see all drivers being used on your computer
    Highlight and Uninstall all drivers with the description have HTC Android (Should be 3 of them)
    Right Click on the driver and press uninstall
    Once done, Unplug your phone and plug it back in
    You should now get the notification of the ADB device
    Follow the steps above to install the drivers

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

    When Typing just adb in cmd you will get whats called a "usage doc" which gives you a lits of commands that you can use:

    Code:
     -d                            - directs command to the only connected USB devic
    e
                                     returns an error if more than one USB device is
     present.
     -e                            - directs command to the only running emulator.
                                     returns an error if more than one emulator is r
    unning.
     -s <serial number>            - directs command to the USB device or emulator w
    ith
                                     the given serial number
     -p <product name or path>     - simple product name like 'sooner', or
                                     a relative/absolute path to a product
                                     out directory like 'out/target/product/sooner'.
    
                                     If -p is not specified, the ANDROID_PRODUCT_OUT
    
                                     environment variable is used, which must
                                     be an absolute path.
     devices                       - list all connected devices
    
    device commands:
      adb push <local> <remote>    - copy file/dir to device
      adb pull <remote> <local>    - copy file/dir from device
      adb sync [ <directory> ]     - copy host->device only if changed
                                     (see 'adb help all')
      adb shell                    - run remote shell interactively
      adb shell <command>          - run remote shell command
      adb emu <command>            - run emulator console command
      adb logcat [ <filter-spec> ] - View device log
      adb jdwp                     - list PIDs of processes hosting a JDWP transport
    
      adb install [-l] [-r] <file> - push this package file to the device and instal
    l it
                                     ('-l' means forward-lock the app)
                                     ('-r' means reinstall the app, keeping its data
    )
      adb uninstall [-k] <package> - remove this app package from the device
                                     ('-k' means keep the data and cache directories
    )
      adb bugreport                - return all information from the device
                                     that should be included in a bug report.
    
      adb help                     - show this help message
      adb version                  - show version num
    
    scripting:
      adb wait-for-device          - block until device is online
      adb start-server             - ensure that there is a server running
      adb kill-server              - kill the server if it is running
      adb get-state                - prints: offline | bootloader | device
      adb get-serialno             - prints: <serial-number>
      adb status-window            - continuously print device status for a specifie
    d device
      adb remount                  - remounts the /system partition on the device re
    ad-write
      adb root                     - restarts adb with root permissions
    
    networking:
      adb ppp <tty> [parameters]   - Run PPP over USB.
     Note: you should not automatically start a PDP connection.
     <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
     [parameters] - Eg. defaultroute debug dump local notty usepeerdns
    
    adb sync notes: adb sync [ <directory> ]
      <localdir> can be interpreted in several ways:
    
      - If <directory> is not specified, both /system and /data partitions will be u
    pdated.
    
      - If it is "system" or "data", only the corresponding partition
        is updated.

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

    Commands that you should know


    adb push - Insert file to phone such as Stock.apk to /data/app_s
    Code:
    adb push <pathtofile.apk> <file system location> - Example: adb push c:\app.apk /data/app

    adb pull - Remove file from phone such as Stock.apk from /data/app_s
    Code:
    adb pull <pathtofile.apk> <path where you want to save it>- Example: adb pull /data/app/Stock.apk C:\

    adb install - Install app to phone

    Code:
    adb install <path to file> - Example: adb install c:/apps/apps2sd.apk

    adb uninstall - Uninstall app from phone

    Code:
    adb uninstall <name of application> - Example: adb uninstall linda.apk

    For more ADB Commands go - Here

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

    Thats it for ADB! Congrats and if you have any questions please ask me or if anything is missing or not correct please tell me. I got all of this from research and personal experience. :D
    6
    Nandroid Backup and Restore

    Whats is a Nandroid Backup?

    Like My Guide(s)? Donate

    Nandroid Backup is a tool allowing all rooted g1 users to create a full system backup and restore which, when flashing and testing different roms can be very useful.

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

    What You Will Need


    A Rooted G1 phone, I suggest with the latest SPL (Guide above to install latest Radio and SPL)

    Cyanogen's Pimped Out Recovery Image 1.4 - Download (IMG)

    An SD Card with 100mb of free space
    A Computer
    SD Card reader or USB Cable

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

    Installing the New Recovery Image


    Download the recovery image from above, you will want the Download (IMG) download

    Place the cm-recovery-1.4.img file in the root of your SD Card (Root = not in any folder)

    Go back to your phone (Dont forget to unmount)

    Open terminal and type in the following

    Code:
    su (wait for a screen to popup and press "allow")
    flash_image recovery /sdcard/cm-recovery-1.4.img

    If you have problems with a "no space on device" error, try using fastboot and erasing first:

    Code:
    fastboot erase recovery
    fastboot flash recovery cm-recovery-1.4.img

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

    Creating a Backup using Nandroid 2.1


    Boot up your phone in recovery (Turn off, then turn on while holding Home button)
    You will now see your new Cyanogen 1.3.1 + JF recovery screen (YAY!!! :D)
    Scroll down to "nandroid v2.1 backup" and press on it to create your Backup
    Let it work, it should take a minute or so
    Once its done, your backup is complete and is saved on your sdcard in the "nandroid" folder


    Recovering to Your Nandroid Backup


    Option 1 (Without a Computer)

    Note: This recovery will only recover your latest nandroid backup (the one with the newest timestamp)

    Make sure u made a backup and its in the nandroid folder on your sdcard
    Boot up your phone in recovery (Turn off, then turn on while holding Home button)
    Scroll down to "restore latest backup" and press on it
    Let it work
    Once its done reboot your phone and you backup will now be restored!

    Option 2 (With a computer)

    Note: With this option, you can use any nandroid backup that you have made, not just the latest one

    1) First go in to your tools folder where you put your SDK 1.5r2 (C:\android-sdk-windows-1.5_r2\tools as reference)

    2) Take the files adb.exe fastboot.exe and AdbWinApi.dll (found here - http://sharebee.com/16a06ebb) and place them in C:\WINDOWS\system32

    3) Download the Nandroid Backup and Restore GUI made by Markazeh - Here
    Extract the folder to your desktop or where ever you can easily find it (I put mine in the SDK folder for easy access)

    4) You will need 4 files: Boot.img, System.img , Data.img, and Recovery.img
    Place those 4 files in the same folder as the Nandroid Recovery GUI folder you just extracted in step 3

    5) Boot your phone into fastboot mode (Turn off the G1 and turn on while holding the BACK button. If you have an older SPL then hold the CAMERA button and press POWER)

    6) Once in fastboot (you should see a white screen with three androids on skateboards) plug your phone to your computer via USB. You might have to press the BACK key to turn it into FASTBOOT mode, or follow the on screen prompts.

    NOTE: If you dont have the drivers installed please look one post above to setup fastboot

    7) Open NANDROID_Recovery_GUI.exe, everything on the left hand side should be "found!"

    8) Choose an option from the right to Restore All, Restore all except Recovery, or Restore Data Only. Let the program do its thing.

    Once its done you can reboot and all your info from your backup should be restored!

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

    Congrats! You now Backed up your phone and will/have restored it! :D

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

    Disclamer: I am not liable to any damage that happens to your phone. This is just a guide which you have chosen to follow, so please do not blame me for any damaged phones or bricks.
    3
    [GUIDE] Fastboot for Noobs

    Fastboot

    Like My Guide(s)? Donate

    Things you need:

    New SPL - Download
    New Radio - Download
    Your Current ROM - CyanogenMod 3.6
    SD Card Reader
    Rooted G1 Phone
    Computer
    USB Cable
    Patience

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

    Install Radio FIRST

    Download the Radio Update
    Rename it to update.zip
    Remove your SD Card from your phone and place it in your SD Card Reader
    Put the update.zip at the root of your SDcard (root = not in any folder)
    Insert your sdcard back into the phone
    Turn off your phone (Hold power and press Power Off)
    Hold the Home button and then press the power button (Keep holding power)
    You will now enter recovery
    Open up your keyboard and press Alt-S
    Let it finish the update
    When done reboot by pressing Home and Back
    You should be able to access your Home screen (If its stuck on the Google G1 screen dont panic, just remove your battery for now)

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

    Installing the new SPL

    Note: To update you must have a PVT board. To Check go into fastboot (Power and Camera and check)


    Take your SD Card out again and plug it into the pc
    Remove the update.zip that you put in there
    Download your current Rom or any other ROM that you want. I suggest CyanogenMod 3.6
    Download the SPL Update
    Rename the SPL Update to update.zip
    Remove your SD Card from your phone and place it in your SD Card Reader
    Put the update.zip at the root of your SDcard (root = not in any folder)
    Insert your sdcard back into the phone
    Turn off your phone (Hold power and press Power Off) or put your battery back in and turn it on
    Hold the Home button and then press the power button (Keep holding power)
    You will now enter recovery
    Open up your keyboard and press Alt-S
    Let it finish the update
    Now it will reboot on its own back to recovery
    Reboot again by pressing Home + Back
    Your phone will be stuck on the T-Mobile G1 Screen (Again DONT FREAK)
    Remove the battery from your phone
    Remove your SD Card and plug it back into your computer
    Take the ROM that you downloaded and rename it update.zip
    Remove the update.zip that was on your SD Card and put this new one it
    Put the battery back into your phone
    Enter recovery (Home + Power)
    Press Alt+s to update
    Let it finish
    Press Home + Back to reboot
    Thats it! You now have your new SPL and Radio

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

    Getting into Fastboot

    Turn off your phone
    Hold the back button and keep holding it while turning your phone back on
    You should see 3 Android guys on skateboards
    You should now be in Fastboot mode!

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

    Setting up fastboot to work with your computer

    Plug your phone in to your computer through USB
    You should get a popup that your computer found the ADB Device for fastboot
    When it asks you for drivers, make sure u select the option to locate the drivers from your computer yourself
    Since you already have your Android 1.5r2 SDK installed, the drivers are in the same place where the ADB drivers are
    C:\android-sdk-windows-1.5_r2\usb_driver
    Make sure you choose the correct folder depending on your OS
    Press ok to install the drivers
    Fastboot should now be up and running

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

    Make sure Fastboot is working

    Open up Command Prompt
    type the following

    Code:
    cd C:\android-sdk-windows-1.5_r2\tools === Press Enter
    fastboot devices === Press enter, your device should be listed
    fastboot shell === You should see a # in the next line

    type fastboot and press enter for general commands

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

    When Typing just fastboot in cmd you will get whats called a "usage doc" which gives you a lits of commands that you can use:

    Code:
    usage: fastboot [ <option> ] <command>
     
    commands:
      update <filename>                        reflash device from update.zip
      flashall                                 'flash boot' + 'flash system'
      flash <partition> [ <filename> ]         write a file to a flash partition
      erase <partition>                        erase a flash partition
      getvar <variable>                        display a bootloader variable
      boot <kernel> [ <ramdisk> ]              download and boot kernel
      flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
      devices                                  list all connected devices
      reboot                                   reboot device normally
      reboot-bootloader                        reboot device into bootloader
     
    options:
      -w                                       erase userdata and cache
      -s <serial number>                       specify device serial number
      -p <product>                             specify product name
      -c <cmdline>                             override kernel commandline

    For more fastboot Commands go - Here

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

    Congrats! You now have Fastboot and ADB up and running!!! :D

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

    Disclamer: I am not liable to any damage that happens to your phone. This is just a guide which you have chosen to follow, so please do not blame me for any damaged phones or bricks.
    1
    First of all, there is no such command as 'fastboot shell' only 'adb shell'. Fastboot commands are used to flash images to certain paritions in the phone's memory.

    Thanks for clarifying that. I asked the same thing on the 5th. See the quote below from the OP for the source of our confusion.

    Make sure Fastboot is working

    Open up Command Prompt
    type the following

    Code:
    cd C:\android-sdk-windows-1.5_r2\tools === Press Enter
    fastboot devices === Press enter, your device should be listed
    fastboot shell === You should see a # in the next line

    type fastboot and press enter for general commands

    ---------------------------------------------------------------------------------------
    1
    Pc does not recognize fastboot mode on device

    Hey guys I've been bumping my head for a while trying to update my phone to radio 2.22.27.08 and hboot 1.33.0013d. I currently have adb and fastboot installed on my laptop. Currently I have hboot 1.33.2005 and radio 2.22.23.02 running biffmod 2.1 on my magic 32b(G1).

    When I go into "adb devices" it lists my device, but when I go to "fastboot devices" it just prompts back "C:\android-sdk_r09-windows\tools.

    I've tried uninstalling the driver and then reinstalling the usb driver while in fastboot mode and it accepts it, however when I type in "fastboot devices" it just begins the prompt over again (C:\android-sdk_r09-windows\tools). If I type "fastboot" it lists the commands. If I type in "fastboot flash radio radio-2.22.27.08.img" while in fastboot mode on the phone it just says "waiting for device" on my pc.

    I have both the hboot image and the radio image in the same tools folder on my computer. Heck I even put them on the sd card.

    I've been searching around the forum for the past few days but still no dice resolving this. I've even tried the new tool "Easy fastboot for most htc devices" but it still says "waiting for device..." Which leads me to believe there is a problem with the pc not recognizing the phone in fastboot mode. :confused:

    Any and all help is appreciated

    LB FAM