Well, I was up until 5 am this morning pulling my hair out trying to get Cyanogenmod installed on my phone. I did all the downloading directly to my phone via the browser, and used free apps to get this done without the need for Linux/Windows/Mac and USB cables etc.
If you get this error……..
E: failed to verify whole-file signature
E: signature verification failed
……….I am going to save you a whole heap of time.
I expect you know that you need to be root to flash a Cyanogenmod ROM, but if you didn’t, search the Android Market for Z4Root which will root your phone quickly and painlessly.
Restrictive Recovery Manager
The problem is that the stock Froyo comes with the e3 Recovery Manager, which blocks the installation of unsigned ROMs. The earlier e2 Recovery Manager will let you install unsigned ROMs. So even if you install the recommended ClockwareMod or other ROM Managers to get your ROM installed, it won’t work. And in any case, with my kernel solution you don’t need them anyway.
So how do you get back to the e2 version?
You need to install a different kernel, but don’t panic, there is a free app in the Android Market which will allow you to backup your kernel and flash a new one relatively painlessly.
Meet the SGS Kernel Flasher: (Download it via the Market)
Where to get the Kernel?
After reading a few guides the speedmod kernels came up time and time again, created by Hardcore. So I downloaded and installed this one. There are newer versions, but i stuck with what the guides said as I needed the old e2 Recovery Manager.
So I opened up the SGS Kernel Flasher App, chose backup current kernel, then chose to flash the new downloaded kernel, navigated to it, crossed my fingers and tapped. The new kernel got added, and the phone rebooted. Next up was to see if it had indeed left me with a usable phone and the old e2 version.
Boot into System Recovery:
With your phone running, press Volume up + On/Off Button + Enter simultaneously until the phone shuts down and reboots, let go when you see the white GT i9000 boot screen and if all went well, you will now see a different recovery manager which does have the option to “Install from SDcard”. (this option doesn’t appear on the e3 version)
Now you can go and get the Cyanogenmod and download it from here:
Now (more or less) follow this guide again (but without any Clockwork or Rom App) by holding down the 3 buttons again: http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Full_Update_Guide
Method via Recovery
- Place the CyanogenMod update.zip file on the root of the SD card.
- Boot into Recovery (By holding down the 3 buttons, NOT with a ROM Manager).
- Once the device boots into Recovery, use the side volume buttons to move around, and either the power button or the trackball to select.
- Select the option to data/factory reset.
- Then select the option to cache partition.
- Select Install zip from sdcard.
- Select Choose zip from sdcard.
- Select the CyanogenMod update.zip.
- Once the installation has finished, select +++++Go Back+++++ to get back to the main menu, and select the Reboot system now option. The Samsung Galaxy S should now boot into CyanogenMod.
Finally I realized I didn’t have the App Market, Gmail etc, so after a bit of Googling, downloaded the Gapps zip to my phone and installed it with the 3-button-recovery method, and now have the apps I need: