Installing Android 2.1 onto T-Mobile Pulse
This short guide takes you through the steps needed to install a custom Android 2.1 ROM onto the original T-Mobile Pulse.
The official T-Mobile Android 2.1 ROM was removed from T-Mobiles website because it had a few bugs, the worst of which meant that you’d lose the odd text message. However the latest ‘custom’ ROMS appear to have fixed these problems.
I upgraded my phone using the FLB 1.7 ROM and various guides over at the Modaco forums (www.modaco.com). This is a simple step by step guide of how I upgraded my phone. You might want to also check with the forums for additional information, especially this thread.
First off, some background information.
- As far as I know this guide will only work with the original pulse; the Huawei U8220. Take the battery out to check the model number of your phone.
- The Pulse has a limited amount of memory which is not enough to run Android 2.1 (this was part of the problem with the official t-mobile release). To fix this you need to run a swap partition on your SD memory card.
- A class 6 SD card is recommended, however I have this working with a class 4 card.
- I have an 8GB class 4 card in my phone, but you can get away with using a 1GB card, just make sure its a class 4 or higher for it to be fast enough to run swap.
BIG FAT WARNING
Installing a custom ROM on your phone will almost certainly invalidate your warranty.
It is also possible that you could brick your phone.
The instructions below are simply a blog of what I did to my phone. There are no guarantees that they will work on your phone. So if you follow these instructions and bad things happen to your phone, don’t blame me!
Remember, the risk of making your phone completely useless is yours not mine.
END OF BIG FAT WARNING
The basic stages we’re going to perform for upgrading are:
- Install the official T-Mobile 2.1 ROM. This is needed because this upgrade modifies the phones internal partition sizes. The custom ROM won’t work with the original Android 1.5 sizes.
- Install a custom recovery boot image
- Install the custom Android 2.1 ROM
- Configure the ROM to use SWAP and run apps from the SD card.
Back up anything you need to keep from your phone. e.g. sync your contacts with google etc. Copy anything you need to keep from your SD card to your PC because your card will be wiped during the upgrade.
Note: If you have been running a custom 1.5 ROM with A2SD, it’s best to re-partition your SD card back to a single FAT32 partition before you start the upgrade. The easiest way to do this is to put your SD card into a card reader and use Gparted.
Right, now you’ve backed up everything you need, lets start the upgrade…
Stage1, apply the t-mobile official 2.1 update.
- Unzip the Official 2.1 ROM and copy the DLOAD folder onto the root of your SD card. By root I mean don’t put it in any sub-folder on the SD card.
- With the SD card back in the phone and the phone powered off, hold down the buttons ‘red end call’ + ‘volume up’ + ‘power’ and wait for the preparing update message.
- Confirm that you want to update and then wait for the update to complete. At the end of the update you’ll get a message saying the phone will restart. For me the phone just hung. If this happens simply remove and re-insert the the battery
- Confirm that the 2.1 update has worked, but don’t go mad and install apps etc because you’ll be wiping the phone again in a moment.
Stage 2 – Install recovery boot image.
- Unzip the recovery image onto you PC and navigate to the folder. Make the file install-recovery-linux.sh executable (i.e. chmod +x install-recovery-linux.sh)
- With your phone powered off hold down the buttons ‘red end call’ + ‘volume down’ + ‘power’. The screen should go blue.
- Connect the USB cable to the phone and PC
- On the PC as root run install-recovery-linux.sh (e.g. in ubuntu cd to the folder containing the superboot files and type sudo ./install-recovery-linux.sh). When you get the successful message you can reboot the phone (i.e. remove/re-insert the battery. You’ll probably have to remove the USB cable too).
Stage3 – Install the custom FLB Android 2.1 ROM
- Boot into the recovery menu by holding down the buttons ‘red end call’ + ‘menu’ + ‘power’ and wait until the recovery menu appears (after 10 seconds or so).
- Plug the USB cable into the phone and PC.
- Using the track-ball scroll down to the option ‘USB toggle’ and press the track-ball to select.
- The SD card should now mount on your Linux PC. Copy the custom rom zip file (flbmod_v1.7.zip) to the root of the sd card. Don’t unzip it, just copy the zip file.
- Once the zip file has been copied, press the green button to toggle the USB back to off.
- Use the track-ball and select the ‘Wipe’ option. Choose the First option (Factory reset) and confirm. Once the wipe has completed return to the main menu (with the ‘home’ button).
- ** **Now select ‘Flash ZIP from SD card’. Select the custom rom you wish to flash, confirm and then wait for the installation to complete.
- Return to the main menu and select ‘Partition SD card’.
- Using the ‘volume up/down’ buttons to change the sizes and ‘green’ to confirm set the swap to either 32 or 64mb. I went for 64mb (don’t go any bigger because it will slow the phone down). Then a suitable size for the ext2 partition. The ext2 partition is where the apps will be installed. 512mb is OK, 1024 is better if you have a big enough SD card!
- Return to the main menu end select the ‘reboot’ option.
- Be patient! it takes ages for the phone to start up on the first reboot!
Stage 4 – Configure the ROM to use the SD card for apps.
Although there are apps to SD (a2sd) options in the recovery menu, you should not use them. They are for an older version of a2sd and will cause problems if used on the version included in the Android 2.1 ROM.
- Open the terminal emulator app. When I did this the app crashed with a force close. If this happens to you then you’ll need to install the fixed version you downloaded earlier. Copy the file to the FAT32 (data) partition of your SD card (this can be done from the USB option in the recovery menu or in the usual Android fashion) and navigate to it using es file explorer from the installed apps menu. You can unzip and then navigate to …fixterm/system/app and tap on Term.apk and install it.
- In the terminal emulator app type su - to switch to the root user.
- Now type a2sd check to list all the current settings. If you scroll through the output you should see that swap is running, but the apps and dalvik cache are on the internal storage.
- To move the apps to the SD card type a2sd reinstall. Your phone will then reboot to apply the settings (again, the first boot takes a while)
- To move the dalvik cache to the SD card type a2sd cachesd. Again, your phone will restart to apply the settings. Please note that unless you have a very fast SD card (class 6+) you should leave the cache on the internal memory. If you have the cache on the SD card and need to move it back to the internal storage type a2sd nocache. Warning: There is another setting, a2sd cachepart. DO NOT USE THIS SETTING! it will stop your phone from booting and you’ll have to wipe your phone and start again.
- That’s it. You should now be able to enjoy Android 2.1 on your Pulse. I recommend that you now boot into the recovery menu and make a nandroid backup of your phone before…
After using the above upgrade for a short while I noticed my phone would slow down after about 10-15 minutes of heavy use. This appears to be because pages are being moved to/from swap in high volume. To fix this I reduced the swappiness from the default of 60% down to 20% with the command a2sd swappy20 (as root in terminal emulator app) I also set the memory ‘task killer’ setting to moderate with the command a2sd lowmem-moderate. Then manually restarted the phone.
Tip: to check the current value of swappiness type cat /proc/sys/vm/swappiness