Hey, I need you to confirm if my plan to flash a custom ROM on a friend's HTC Magic will work. I have experience with flashing ROMs and using recovery on my LG phone, but the HTC seems to be a little bit different because of the SPL and Radio things.
The specs of the phone are:
SAPPHIRE PVT 32B SHIP S-ON G
HBOOT 1.33.0013 (SAPP10000)
CPLD-10
RADIO-2.22.28.25
Oct 21 2009, 22:33:27
ROM at the moment is official 2.2.1 and was updated the official way.
So, in order to get any custom ROM installed, I follow these steps:
1. root with SuperOneClick
2. install Amon_ra recovery by
a) using ROM Manager from market, or by
b) typing "flash_image recovery sdcard/recovery.img" in terminal app, or by
c) booting into fastboot and write "fastboot flash recovery recovery.img"
3. access recovery (home+power?)
4. wipe everything using the recovery menu
5. use install zip and install the ROM of my choice
(6). install ezterry's Kernel (when is this necessary?)
And another question: do the SPL and Radio I mentioned above use the 15MB extra RAM and so I have to use an appropiate firmware like this: http://forum.xda-developers.com/showthread.php?t=866878 , or is this only possible with the 0013d (I have the 0013, without "d") and 2708 combination?
EazyLuke said:
Hey, I need you to confirm if my plan to flash a custom ROM on a friend's HTC Magic will work. I have experience with flashing ROMs and using recovery on my LG phone, but the HTC seems to be a little bit different because of the SPL and Radio things.
The specs of the phone are:
SAPPHIRE PVT 32B SHIP S-ON G
HBOOT 1.33.0013 (SAPP10000)
CPLD-10
RADIO-2.22.28.25
Oct 21 2009, 22:33:27
ROM at the moment is official 2.2.1 and was updated the official way.
So, in order to get any custom ROM installed, I follow these steps:
1. root with SuperOneClick
2. install Amon_ra recovery by
a) using ROM Manager from market, or by
b) typing "flash_image recovery sdcard/recovery.img" in terminal app, or by
c) booting into fastboot and write "fastboot flash recovery recovery.img"
3. access recovery (home+power?)
4. wipe everything using the recovery menu
5. use install zip and install the ROM of my choice
(6). install ezterry's Kernel (when is this necessary?)
And another question: do the SPL and Radio I mentioned above use the 15MB extra RAM and so I have to use an appropiate firmware like this: http://forum.xda-developers.com/showthread.php?t=866878 , or is this only possible with the 0013d (I have the 0013, without "d") and 2708 combination?
Click to expand...
Click to collapse
For the recovery the easiest method is to install with ROM Manager. Flashing from terminal will require you to add the flash_image binary to /system/bin. You can't flash from fastboot since you have a perfected SPL. The other parts of your steps are correct. The 1.33.0013d SPL is the only one that allows for the extra RAM hack so you wont get that benefit unless you change the SPL (which is easily done with the upgrade .zip file provided by ezterry from recovery). Flashing a new kernel is only required if specified by a ROMs dev. The benefit of flashing new kernels is that you can get updated ones that OC more efficiently. Pershoot is about the only kernel dev keeping his work updated for the Magic these days though and even he isn't releasing updates that often. The Magic is unfortunately rapidly becoming an outdated device.
Sent from my HTC Glacier using Tapatalk
EazyLuke said:
And another question: do the SPL and Radio I mentioned above use the 15MB extra RAM and so I have to use an appropiate firmware like this: http://forum.xda-developers.com/showthread.php?t=866878 , or is this only possible with the 0013d (I have the 0013, without "d") and 2708 combination?
Click to expand...
Click to collapse
You do not need 0013d on a 32b sapphire [aka magic] phone 0013 and your current radio will allow you to run the extended 2708+ kernels. Just before flashing a custom rom run SuperWipe.
HOWEVER: If you intend to use CustomMTD or frequently flash roms I highly recommend 1.33.0013d because it has some additional features that will make it easier to fix up the device if you run into problems.
As mentioned just use the update.zip in my 2708+ thread for going from 1.33.0013 to 1.33.0013d
(Such useful features are: fastboot erase -w to erase system. cache, userdata after changing the partition sizes with customMTD if you have issues booting.. not required if you super wipe first but if forgotten will be an easier recovery than the alternative. Also 0013d has a hardSPL feature of allowing to flash NBH files from any region thus you are less likely to need to find a gold card to flash one if you phone stops booting into anything but the bootloader.)
Note Dream users almost always *must* use 1.33.0013d as otherwise they are on the stock partition size and will not be able to install most modern roms.. Its possible to use CustomMTD to get around this.. but as mentioned 1.33.0013d has a better feature set for use with CustomMTD as well as mis-flashed recoveries regardless of CustomMTD use.
EDIT: okay, thanks to both of you! So I'll flash recovery, wipe, flash 13d (for more security & features), keep Radio, flash ROM.
ezterry said:
You do not need 0013d on a 32b sapphire [aka magic] phone 0013 and your current radio will allow you to run the extended 2708+ kernels. Just before flashing a custom rom run SuperWipe.
HOWEVER: If you intend to use CustomMTD or frequently flash roms I highly recommend 1.33.0013d because it has some additional features that will make it easier to fix up the device if you run into problems.
As mentioned just use the update.zip in my 2708+ thread for going from 1.33.0013 to 1.33.0013d
(Such useful features are: fastboot erase -w to erase system. cache, userdata after changing the partition sizes with customMTD if you have issues booting.. not required if you super wipe first but if forgotten will be an easier recovery than the alternative. Also 0013d has a hardSPL feature of allowing to flash NBH files from any region thus you are less likely to need to find a gold card to flash one if you phone stops booting into anything but the bootloader.)
Note Dream users almost always *must* use 1.33.0013d as otherwise they are on the stock partition size and will not be able to install most modern roms.. Its possible to use CustomMTD to get around this.. but as mentioned 1.33.0013d has a better feature set for use with CustomMTD as well as mis-flashed recoveries regardless of CustomMTD use.
Click to expand...
Click to collapse
Nice to know. I, for some reason, was under the impression the RAM hack was tied to your custom SPL.
@OP, wipe after upgrading to 13d.
Sent from my HTC Glacier using Tapatalk
DonJuan692006 said:
Nice to know. I, for some reason, was under the impression the RAM hack was tied to your custom SPL.
Click to expand...
Click to collapse
No its related to 1.33.0013 allowing alternative base addresses in the boot.img.. (well and the 2708+ radio giving a little more ram to linux). The memory hack was based off the sapphire ota kernel.
1.33.0013d was a hack to make supporting/using the spl on the dream less of a nightmare. (Along with the rest of the material posted on the 2708+ thread). In short how to deliver it such to avoid the pile of bricks as generated by dangerSPL now that we know better.
Related
Hello all,
I have a htc Magic which I bought from India with the following description.
SAPPHIRE PVT 32A SHIP S-ON H
HBOOT-1.33.0010 (SAP10000)
CPLD-12
RADIO-3.22.20.17
Jun 2 2009, 17:28:28
Now I was able to root the phone using the One Click Root Method and I was able to Install Amon Ra's ROM and it works perfectly. however I was wondering if I could possibly give the Cyanogen ROM a try too. However I'm a bit confused with the instructions especially since I'm quite new to this.
This guide will tell you how to upgrade from an older (< 4.1.99) version of CyanogenMod to the latest and greatest versions!
Note: it is recommended that if you are on an older version of cm-recovery (< 1.4) you upgrade to cm-recovery-1.4.img (32a users make sure you upgrade to amonra's latest H recovery)
Installation instructions for an HTC Dream/ADP1/G1 and HTC Magic/ION/MT3G:
1. Download either:
* Dream/G1 users download this: Android 1.6 Recovery Image. (This isn’t like a typical "recovery" image we know -- it’s simply HTCs version of an update.zip.) Download Mirrors
* Magic32A and Magic32B users: Download this DRC83_base_defanged.zip
2. Download Cyanogen's ROM latest version
3. Magic32A and Rogers Dream users: Download the 32A/EBI1 kernel latest version
4. Mount your phone and place BOTH the image from step 1 and Cyanogen's ROM (as well as the EBI1/32A port file, if applicable) in the root directory of your SD Card.
5. Turn your phone off.
6. Hold the Home and Power buttons to get to Recovery Mode.
7. Perform a Nandroid backup if you'd like to (optional, but highly recommended).
8. If you want, perform a full Wipe -- this will sometimes allow Google apps to function correctly, if problems arise (optional).
9. If you don't perform a full wipe, it is recommended to clear the dalvik-cache directory (from console or adb shell in recovery):
Click to expand...
Click to collapse
Here are the instructions I found for "Upgrading From Older CyanogenMod or other rooted ROMs" . Would it be correct to assume that I have to follow the above guide? Also I have Amon Ra's recovery image installed on my phone. I believe the version is 1.5.2H . Can I perform the above install using this recovery image?
Finally the files I have to download and install are
DRC83_base_defanged.zip
Download Cyanogen's ROM latest version
32A/EBI1 kernel latest version
Would that be correct? Thanks in advance and sorry if the questions are quite silly.
I installed this ROM too (Perfect SPL as yours) and even earlier recovery (RA 1.2.3) and there were no problems.
1. Recovery mode, if you haven't done nandroid backup yet (your original ROM), then do this.
2. Choose "wipe data".
3. Apply .zip files which you listed above in this order: base, cyan mod, and port 32a.
4. Reboot and enjoy
Thank you much! Im on Cyanogen Mod as of now. Thanks to all you folk who dedicated their time to allow us to use our devices the way we want.
Cheers .
Hi.
I recently got a Magic so I'm not really into the Radio \ SPL stuff having come from a GT-I9000.
It's currently running CyanogenMod 6, but it's dog slow... (maybe side effect from Galaxy S?) and as such I wanted to go back to the most updated HTC (Generic if possible) or in last case, Vodafone PT / Europe supplied rom, or the most updated official one that can be rooted.
The details of the phone are:
SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.33-2010 (SAPP10000)
CPLD-12
RADIO-3.22.20.17
Jun 2 2009,17:27:03
Also has AmonRA's RA-sapphire-v1.7.0H recovery flashed as well.
It was bought in Vodafone Portugal (If it has something to do with CID, idk?), tried the ro.cid stuff but nothing appeared with CID in it.
Can a helpful soul please outline the steps and hopefully a link so I don't end up with a brick?
Edit: I've searched the forums and the internet, and to be honest, most answers to "revert to stock" or "unroot" here on XDA have little or no answers, or very vague ones. I found this: http://theunlockr.com/2010/09/23/how-to-unroot-the-htc-g1-dream/ but again I'm not sure if that's for a 32A or 32B, so I'm afraid of trying it...
I also have ADB and Fastboot working if it helps.
Bump for an answer...
I flashed back my initial nandroid backup, then a SHIP SPL that I extracted from one of the RUUs I got from http://forum.xda-developers.com/showthread.php?t=659403 (mine was 1.33.0010) and then used FlashRec to restore the stock recovery. Cleaned up the SD card and wiped the phone. Easy
What if I don't have a nandroid backup of the original?
Also, can't I use a stock rom but with modified spl and recovery?
Many thanks for your answer, even tho it doesn't help me much.
If you don't have a nandroid you can use the files from this archive: http://www.multiupload.com/ALE01CBNSN
Since you have an ENG SPL, you can extract them and use
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata userdata.img
This will take you back to stock system/kernel/userdata without removing your custom recovery or S-OFF (ENG SPL).
BTW, talking back to those trying to help you is a GREAT way to make sure they keep on trying.
he Everyone
i want to update my spl and radio to 2708
but i dont no which method is the best
through fastboot
recovery
or gui 4.1 program for windows (htc magic develepmont section)
i have htc magic vodafone 32B with recovery 1.7
stock spl stock rom
greetings h4xor1911
Fastboot is the best and safest method.
The GUI is just an interface for fastboot and therefore essentially the same.
Use the new version called Fastboot commander(check my signature).
Good luck
Here's an easy to follow guide, if you want to go through recovery:
http://forum.xda-developers.com/showthread.php?t=909900
Oh yea, here's the original radio/spl thread, but the directions looked too daunting for me. But you might want to bookmark it for the latest radios and stuff.
http://forum.xda-developers.com/showthread.php?t=831139
Hi guys. I need some help with my HTC Magic.
I have Magic 32A, (now) with radio 3.22.
I have rooted phone, and installed CyanogenMod, but I am not satisfied. I want to return to stock rom with HTC Sense.
The thing is, I had radio 6.35 but had to flash to 3.22 because of cyanogen mod.
Can I flash it back to 6.35 and put some newer stock rom for HTC Magic? Can flashing back to 6.35 cause some troubles?
Thanks for your time and answers
if the radio is the only thing you needed to change for CM then u can flash it back to 6.35. wipe your CM ofc cause according to your story it's not compatible with radio 6.35.
first determine the type of ROM you want, and then find out what version SPL and radio it requires.
superwipe your CM ROM and then flash your SPL and/or radio to meet your new ROM's requirements. Then flash your new ROM.
If you have hboot 1.33.2010 ENG S-OFF now, you can simply change to [new radio] combo and back too.
Use Fastboot Commander to do that. It has option to change by batch (hboot, radio, custom recovery), so you can do it safe and quickly.
Fastboot Commander: http://forum.xda-developers.com/showthread.php?t=824435
Note: only for Magic 32A (users with MT3G v1.2 with 3.5" audiojack - DON'T flash 6.35 combo)
thank me too
Posted by SBS
I flashed the new SPL and radio that also came with the T-Mobile Froyo OTA giving myself an extra 15 MB of RAM. This post attempts to compile the background and links to the knowledge needed to do this safely. Because this is much more complicated than rooting with universal androot, and you can very easily brick your phone, this should not be done if you don't fully understand the process and aren't comfortable using the command line. While I believe someone may have created flashable signed zips for doing this, the recommended way is to use fastboot.
The Benefits
ROM Memory Swap Total (KB) Total (MB)
Stock
97708
0
97708
95
Rooted old SPL/radio
97708
31316
129024
126
Rooted new SPL/radio
112844
31316
144160
141
Without swap, that is an additional 14.8 MB of real memory.
First, a few things you need to know before proceeding:
Perfect Secondary Program Loader
The ht-03a shipped with a "perfect" SPL that does not allow remote fastboot. Therefore, an interim engineering SPL will have to be flashed in order to use fastboot to flash the new SPL (1.33.0013) and radio. The new SPL is also perfect, but a version was modified for the Dream/G1 (1.33.0013d) that allows a few fastboot commands, such as fasboot erase system -w for a complete wipe. Fortunately, 1.33.0013d has been confirmed to also work on the ht-03a, a Google-branded 32B magic.
Even with the modified "d" version of the new SPL, you cannot remote boot a recovery image, flash new splash screens, flash a new recovery image (if for example yours became corrupted). You will have to flash an engineering SPL, do what you must, then reflash 1.33.0013d. Unlike flashing ROMs, flashing SPLs is not 100% risk free.
Amon_RA Recovery Recommended
I'm sure this will probably get some feathers ruffled, but I am leery of clockwork recovery and ROM Manager. As outlined here, this is not the developer's fault but a low memory issue. Perhaps this new SPL and radio will fix that, but the fact remains that there have been a number of instances Dream and Magic users getting stuck with no working recovery. With an Engineering SPL, this is no problem because fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img fixes this, but with a perfect SPL, it will be much more difficult, as in making a goldcard difficult.
Another fact is that I have yet to hear of this ever happening with Amon_RA's recovery, and ezterry at XDA is suggesting to use Amon_RA. However, using Amon_RA means you can't use ROM Manager.
(NOTE: ht-03a users need "G" versions of Amon_RA)
Patched Kernel Required
If you are like me, you never cared about kernels. Yeah, you might have been interested in testing out some of the overclocked kernels but you were perfectly happy to use whatever the developers included with the ROM, which will likely be the most stable way to go but maybe not the fastest. Stability versus bleeding edge. For the time being, those days will be over. All of the cooked ROMs available right now will need a patched kernel that may or may not be included with the ROM.
I have no idea what is the "best" kernel. It will depend on what makes it the best for you.
Required Reading
Start with ezterry's XDA write up with links to the radio and SPL. If this doesn't make sense, stop and read more.
If you don't already have one, read the instructions on flashing an engineering SPL.
The SPL in the above link comes from this list of engineering SPLs.
Finally, you'll want to understand how to flash Amon_RA's recovery because it is less prone to problems than clockwork.
If you plan to use CM 6.1, ezterry's CM Forum post contains a port with the new radio.
Required Environment
Engineering SPL (I am using 1.33.2005. Many others are using 1.33.2009. IIRC, there might be issues with 1.33.2010 and CM, so 2009 is probably best.)
fastboot utility installed on your PC
Android SDK on your PC to allow you to use ADB (Perhaps this is technically not required but at this point of getting into your phone you ought to have it installed.)
What I did
The T-Mobile US Froyo OTA with a cyanogen kernel I've been running lately is by far my favorite ROM due to speed and stability. I've mentioned missing some CyanogenMod features, but when it comes to my phone, stability trumps the bleeding edge. So I 1) did a nandroid backup of my current ROM, 2) updated the SPL and radio, 3) restored the backup, 4) flashed the patched kernel, and 5) picked up where I left off with no loss of data on my phone. The actual work involved for me was about 10 minutes because I already had an engineering SPL and Amon_RA. I spent infinitely more time writing about this than I did actually experiencing it.
So far, all seems fine, but I'll need a bit of time to test. Wifi and GPS are working, and the phone does seem snappier. I haven't had a chance to see how battery life is. There are two choices of radio, 2.22.27.08 or 2.22.28.25. The former came with the OTA. The later is a newer radio. Depends on who you ask and where they live, which is better/faster/easier on the battery. For now I am using 2.22.27.08.
Rebooted to recovery and nandroid backup my current ROM.
Followed ezterry's instructions on XDA
Downloaded all necessary files and checked the MD5 sums against what was published.
dream_2708kit.zip which includes 2.22.27.08 radio and 1.33.0013d SPL
Kernel installer for CM Nightly 271
Mounted my SD card, copied the kernel installer to the root of my SD Card, and rechecked the md5 sum.
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
Reboot to recovery and restore ROM.
Flash kernel.
Reboot normally.
Pray (actually I used ddms watch all the boot messages)
Play.
New v Old SPL/Radio
HBOOT Radio Context Type Security SPL Maker Fastboot USB
1.33.0006 2.22.19.26I
Stock
Shipping
On
Google
No
1.33.2005 2.22.19.26I
My choice
Engineering
Off
HTC
Yes
1.33.0013d 2.22.27.08
Froyo OTA
Shipping
On
Google
No*
*fastboot erase allowed
Here are the hboot/radio combinations I've had on my ht-03a, beginning with the Docomo stock configuration. After that I used the same radio with an engineering SPL. This was prior to universal androot with no one-click option for 1.6 Donut; An engineering SPL was required to root. Finally, I'm back to a mostly perfect SPL but with an additional 15 MB of real memory.
What most of you will need to do
NOT follow these steps but use them as A Docomo ht-03a SPECIFIC REFERENCE for ezterry's instructions.
If you are unrooted, root your phone and flash a custom recovery. clockwork is fine to start with.
Download and flash an engineering SPL from recovery (e.g., 1.33.2009, though I have been using 1.33.2005). VERIFY MD5 SUM after download and after copying to SD card.
Reboot to fastboot (power + back).
Download Amon_RA recovery (NOTE: that the code in exterry's guide is specific to a dream ht-03a users need a sapphire recovery tagged "G". "cyan" refers to the color scheme, not cyanogen.) VERIFY MD5 SUM!
Using the terminal, cd to the directory with the img file and fastboot flash recovery recovery-RA-sapphire-v1.7.0G.img which assumes you have added fastboot to your path (Instructions for mac/linux here. Windows users on their own.)
Continue as I did.
Restore your previous ROM and flash the "2708" ported kernel of you choice.
Or follow these directions for CM 6.1 after rebooting to recovery.