i want to upgrade my HTC Magic Android Mobile form Android 1.6 to Android 2.3, before that i was curious to know what are the steps to be done for this, i downloaded Terminal Emulator in My Mobile and executed su root, it throws me permission denied, then i findout how to root a device,it gives me a warning,I want to know whether these steps are need to upgrade OS in my device, if not pls tell me steps what i have to do to upgrade the OS
First generation devices are not seeing much support any more.
The best thing you can do is root your phone and install CyanogenMod on it. However, Cyanogenmod support for the Magic stopped at CM6, which is Android 2.2. You will not be able to get CM7/Android 2.3 on the device this way. There may be some way to get 2.3 on your phone, but you would have to see if there is anything about it on XDA forums.
YOU WILL VOID YOUR WARRANTY BY ROOTING YOUR PHONE. MAKE SURE YOU FULLY UNDERSTAND WHAT YOU ARE DOING. DRAGONS BE HERE.
There's some speculative chatter on the internet to suggest you'll have a hard time running 2.3-Gingerbread on first generation Android devices (such as the HTC Dream and the HTC Magic). It looks like some folks on XDA are working to port the OS but you're definitely looking at CyanogenMod in that case. Which means that ...
Yes: you will have to root your phone to upgrade your OS.
It also means that you might consider doing something a little less drastic, like upgrading to a somewhat more stable ROM. (Especially if the idea of rooting your phone is giving you the willies!) @matthew_read tipped me off to the ROM Bible which is a great place to identify ROMs that other HTC Magic users have successfully installed. The ROMs there will still require you to root your phone, tho.
Check out the HTC Site to see if they have any supported updates though -- it looks like HTC India does offer at least one ROM upgrade for the Magic.
Not sure which network you're on or which of the two Magic versions you've got, but there is an official 2.2 release that many networks have pushed OTA to their phones already, I know that a friend of mine who's still on a Magic got 2.2 pushed to him by Vodafone UK in December.
If you've got one of the ones that HTC update, rather than your network updating OTA, then you may be able to download the update if you go to http://www.htc.com/ and pick your country, then the Support section, then go through the Downloads available for your phone.
Of course you can upgrade HTC Magic to Android 2.3, you just need to do some research and do some simple technical stuff. More info in this question:
Ginger Yoshi XDA thread: