[G1 Q&A, Help & Troubleshooting] HEARTBREAKER123:
Wiki Instructions

What is DangerSPL?

This SPL is actually a port of the Magic/MT3G (Sapphire)'s SPL to the Dream/G1. Called danger because not only does it wipe your data in the repartition process (data can be restored with Nandroid restore after flashing DangerSPL), it has a chance of bricking your phone if you would ever choose to downgrade the radio after flashing it (see below for compatible radios). Never flash a 1.x, 4.x, or 6.x radio with DangerSpl

It is not required for CyanogenMod versions 4.X (CM4) and below, but required for the CM5 series on the G1/Dream.

Why is it required for the CM5 series on G1/Dream?

The G1/Dream's /system partition was originally created to take ROMs up to 64MB. The CM5 series for the G1 & Magic/MT3G is currently too big to fit on this partition.

Why don't Magic/MT3G users have to apply it?

The Magic/MT3G (Sapphire)'s /system is set to take ROMs up to 96MB by default, so no SPL change is needed.

Is it dangerous?

While the method of applying it has been perfected over the course of its use, any modification of SPL/Radio/ROM carries with it an inherent risk. That being said, if you pay attention, follow instructions, and plan your approach, it is actually an easy process.

How do I check if I already have DangerSPL?

Boot into fastboot mode by turning the phone on while holding the camera button and pushing the power button. The second line contains your SPL version. If it ends in 2005 (eg 1.33.2005) then you have DangerSPL installed already. The line with RADIO tells the radio version, which is important if you don't have DangerSPL. To leave fastboot mode, press MENU+SEND+END at the same time.

Installation

Warnings

Make sure that you have a full battery during the steps below and at no point remove power from the device (i.e. no battery pulls!). See the first two bullets in troubleshooting regarding battery use after flashing CM5 and fixes for higher-than-expected battery drain.

There has been some development/debate over DVT/PVT and bricks. Optional reading (but still recommended): XDA forum

Prerequisites

A rooted G1/Dream

A compatible radio (IMPORTANT: If you just rooted, the RC29/RC7 install includes a 1.x radio and you MUST install one of the 2.x radios below before DangerSPL)

2.22.23.02 seems to get more bars for T-Mobile US customers, though non-US users might have better luck with 2.22.19.26i.

(HardSPL/Engineering Spl Users) Radio installations can be had by fastboot flash radio radio.img after extracting radio.img from the .zip

Either of the following radio versions is acceptable.

Radio 2.22.19.26I

Radio 2.22.23.02 (G1)

Rogers Dream users: A 3.X radio is Danger compatible (eg 3.22.26.17)

Failure to meet the Prerequisites WILL result in a BRICK!

Files required

Danger Spl

gapps-ds-ERE36B-signed.zip, Mirror1

Latest CM5 for Dream/Sapphire

ONLY Roger's Dream users: EBI1 kernel for 5.0.x

Steps

It has been brought up that Clockwork Recovery struggles with this guide, so Amon_ra is v1.7.0 recommended. If you have CM or older recovery, upgrade to Amon_Ra first.

Please if you need to diverge from these steps for any reason start over from step 1 when you return.

Boot into Fastboot (Power on the phone holding the camera button) This will either show a screen with dancing androids or a "rainbow" splash. Here you will find the hboot/radio version:

radio 1.x: You will need to upgrade this to a 2.x radio before running this process.. please upgrade and re-do this step (Ie. verify you see the updated radio in fastboot before continuing)

radio 2.x: You may press MENU+SEND+END at the same time and proceed (unless hboot-1.33.2005 is installed; indicating you already have dangerSPL)

radio 3.x: You may press MENU+SEND+END at the same time and proceed (unless hboot-1.33.2005 is installed; indicating you already have dangerSPL)

Copy DangerSPL (spl-signed.zip), CM 5.0.x, and gapps-ds-ERE36B (& Ebi1 port if required) to the root of your sdcard.

Reboot/Boot into your custom recovery by holding down the 'home' key before the G1 splash appears.

Make a Nandroid Backup (ext not required) (recommended for upgrading users, not required for freshly-rooted users)

Flash DangerSPL (spl-signed.zip). It will install and then ask you to reboot to finish the installation

Reboot as prompted at the bottom of the screen. This will finish installing DangerSPL and reboot back into recovery so you can flash your ROM.

Once back into recovery Wipe Data/Factory Reset

Flash CM 5.0.x THEN gapps-ds-ERE36B (& Ebi1 port if required); then reboot (Boot may take longer than normal)

Login to Android/Google as per usual

If you want to restore the nandroid backup (to attempt an unrecommended no-wipe upgrade between CM4.2 and CM5)

[Optional] Reboot to recovery, and issue a Nandroid Restore, then follow the regular instructions .

This command will attempt to restore user data.

Restoring will also restore your previous Firmware, so you have to follow the instructions to get 5.0.x again

Note: If this causes undesired consequences (ie bootloops, FC's, etc) then run Fix Permissions/'Fix UID Mismatches'.

***************************************

Instructions for the 'soft-brick' (I think)

How to Un-Brick Your Phone

(Method 1)

Ok so you're trying to put this really cool new custom ROM on your phone and then suddenly, your phone won't start up…well my friends, you have got yourself a bricked phone. The thing you worry about the entire time you're rooting, and flashing your phone, has now become reality. Well, fear no more, for I, CTDroidBeast have found a way to unbrick your device!

It's really easy. It's actually easier then rooting your phone, believe it or not.

Ok, you will need a new SD card, because I bet if you use the one out of your device your computer will not be able to read it. But if it does then HEY, you're in luck. You don't have to spend your money on a new SD card.

So let's get started.

Step 1: Turning Off Your Phone

Because you have a bricked phone, you can't just hold the power button. So if your phone is not already off then you're going to want to take out the battery.

Step 2: Preparing Our SD card

Take out your SD card and put it into an SD card reader or some type of other adapter so that we can view it from our computer. If you cannot view the SD card on your computer then you're going to need a new SD card.

Download DREAIMG-RC29.zip and unzip the file.

Reformat the SD card to FAT32 and copy the DREAIMG.nbh onto it.

Safely eject the SD card.

Put the SD card into your device.

Step 3: Wipe The Phone

Hold home and press the power button.

When you see the image of an ! mark, open your keyboard and press Alt + L if you cannot see any command options.

Do a factory reset by pressing Alt + W or just using the trackball.

When the reset is done, go ahead and hold the camera button and select the reboot system now option with your trackball.

Step 4: Flashing The Phone

Once the grey screen pops up (or the white screen if your phone was rooted with JesusFreke) it will ask you to hit a button to start installing the image…press that button. DO NOT DO ANYTHING TO STOP THIS PROCCESS. It will take about 8-12 minutes.

When the image has completed the installation (it will say completed), go ahead and press the green, red, and menu buttons at the same time. The phone will reboot.

And your done! Your phone is now unbricked!.