Post Reply

[Guide]Install CM9 or CM7.2

OP ridder215215

15th April 2012, 12:49 PM   |  #1  
ridder215215's Avatar
OP Senior Member
Flag Leiden
Thanks Meter: 217
 
725 posts
Join Date:Joined: Dec 2011
More
Hey there!

I will explain how to install Cyanogenmod 9 OR 7(the FXP ones), found here: http://forum.xda-developers.com/show....php?t=1447542, and here: http://forum.xda-developers.com/show....php?t=1780322
You will need an unlocked bootloader, and the nessecary files to get into fastboot etc. This is not covered in my tutorial. You will have to find someone else's tutorial for that.
I made a step-by-step tutorial.
For CM10, you need a custom recovery beforehand.
If you want to install CM10, you need to flash the kernel last. (Do steps 4 - 7 after 12. Manually reboot in step 8, and instead of pressing reboot during step 12, power off and flash the kernel (step 4 - 7)

1. Make sure you have all the drivers installed, made a nandroid backup (only if you already have a custom kernel installed, if not, you can skip this) and have an usb cable, usb port (preferably no hub) and your phone near you.

2. Download the CM10/CM9/CM7 rom from their respective threads.

3. Open (don't extract!) it with WinRAR or your program of choice. Copy the boot.img to the folder your fastboot.exe is in (for me, this is C:\Program Files\Android\android-sdk\platform-tools). Then, put the zip file on your phones memory card.

3.5 (optional) Also download the Gapps (Google Play etc.) suited for your rom of choice and put the zip file on your memory card. I strongly advise you to install this.

4. Put your phone in fastboot mode (hold the search key while connecting it to your pc using the usb cable. The notification light should light up blue. When it's blue, you can release the search key.

4.5 Read steps 5-7 carefully. I have made a .bat file that will do this for you. If you choose to use it, place it in the same folder as your boot.img, and then launch. This won't work if you have renamed the boot.img. If you don't trust this, you can right-click it and hit edit. This way you'll see it says exactly the same as steps 6 and 7. Feel free to do it manually though. http://www.2shared.com/file/fPzWv4of/Flash_kernel.html

5. I assume you have Windows Vista or 7. If you do, shift-click on a empty place in your fastboot folder and click "open command prompt here" or something similar (my Windows version is Dutch, so I don't know what it's called in English).

6. Flash the kernel using this command: fastboot -i 0xfce flash boot boot.img. Note: it might be 0x0fce

7. Reboot the phone using this command: fastboot -i 0xfce reboot. Same for this one

8. While the phone is rebooting, spam the volume down key. You will now go into a recovery. Use the volume keys to navigate, and the home key to select (unless instructed otherwise on the recovery's thread). (You can now unplug the cable, but it can't hurt to keep it plugged in) If you haven't already, make a backup under "backup and restore".

9. Press wipe data/factory reset (this will of course wipe your data. Don't worry, we made a backup, remember? Note that restoring this backup will also restore your rom. Use Titanium Backup to back up your apps (requires root)). After that, also wipe your cache and Dalvik cache.

10. Select "install zip from sdcard", then "choose zip from sdcard". Navigate to the zip you put on the sdcard during step 3. It will now install the rom.

11. (optional) Also install the Gapps, same way as the rom itself.

12. After you finished installing, press reboot system now, and it will boot Cyanogenmod.


Congratulations, you just installed Cyanogenmod!

If I made any mistakes, please let me know.

I am not responsible for any bricked phones, broken GPU's, force-closes and killed pets.

If this helped you, I would appreciate a "thanks".
Good luck!

Ridder

(If you want others to be able to use this guide, leave a comment. This will bump it up =))
Last edited by ridder215215; 3rd December 2012 at 04:16 PM. Reason: Added CM10
The Following 17 Users Say Thank You to ridder215215 For This Useful Post: [ View ]
15th April 2012, 01:08 PM   |  #2  
savage24x's Avatar
Senior Member
Thanks Meter: 90
 
597 posts
Join Date:Joined: Jul 2011
More
I thought it was 0x0fce? -I 0x0fce is not necessary either.

Sent from my R800x using XDA
15th April 2012, 01:10 PM   |  #3  
ridder215215's Avatar
OP Senior Member
Flag Leiden
Thanks Meter: 217
 
725 posts
Join Date:Joined: Dec 2011
More
Oh well, it works for me so.. I copy-paste it anyway.
The Following User Says Thank You to ridder215215 For This Useful Post: [ View ]
15th April 2012, 03:19 PM   |  #4  
lightningdude's Avatar
Senior Member
Thanks Meter: 277
 
796 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by savage24x

I thought it was 0x0fce? -I 0x0fce is not necessary either.

Sent from my R800x using XDA

You're right about the command correction, but I've been told that on some machines, that command is necessary to communicate with the phone correctly. So it's not that it's not necessary across the board, but it's not necessary for you. Nor is it necessary for me.
15th April 2012, 03:37 PM   |  #5  
Senior Member
Flag Hitchin
Thanks Meter: 43
 
226 posts
Join Date:Joined: Apr 2012
More
um can someone enlighten me why this is posted when there have been multiple other guides if you use the search button? sorry if i miss understood
15th April 2012, 04:00 PM   |  #6  
ridder215215's Avatar
OP Senior Member
Flag Leiden
Thanks Meter: 217
 
725 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by Xperia4life

um can someone enlighten me why this is posted when there have been multiple other guides if you use the search button? sorry if i miss understood

Because the other guides are imo not very clear. Mine says exactly when to press/release buttons, how things work (CWM recovery) etc. That's why I made this.
The Following 2 Users Say Thank You to ridder215215 For This Useful Post: [ View ]
15th April 2012, 09:57 PM   |  #7  
KeiranFTW's Avatar
Recognized Developer
Flag Sunderland
Thanks Meter: 2,728
 
2,639 posts
Join Date:Joined: Nov 2011
Donate to Me
More
0x0fce is the same as 0xfce in hex iirc

Sent from my Dark R800i using Tapatalk 2
The Following User Says Thank You to KeiranFTW For This Useful Post: [ View ]
16th April 2012, 04:14 AM   |  #8  
paxChristos's Avatar
Retired Forum Moderator
Flag Milwaukee
Thanks Meter: 1,491
 
2,036 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Just an FYI, I linked to this thread, because it is the most comprehensive install guide for CM9,

Thanks!
16th April 2012, 07:23 PM   |  #9  
ridder215215's Avatar
OP Senior Member
Flag Leiden
Thanks Meter: 217
 
725 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by paxChristos

Just an FYI, I linked to this thread, because it is the most comprehensive install guide for CM9,

Thanks!

Thank you, I really appreciate it.
16th April 2012, 07:36 PM   |  #10  
cj360's Avatar
Senior Member
Thanks Meter: 692
 
1,307 posts
Join Date:Joined: Oct 2011
Donate to Me
More
You could add instead of booting the phone and then entering cwm just boot in cwm with fastboot and booting the rom. Guess it really doesn't matter now that almost all kernels have included recovery.

Post Reply Subscribe to Thread

Tags
cm9, cyanogenmod, install, ridder, rom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes