FORUMS
Remove All Ads from XDA

[GUIDE] [21/03/2015] How to flash CyanogenMod 12

61 posts
Thanks Meter: 35
 
Post Reply Email Thread
How to flash CyanogenMod 12

Code:
Neither I nor any other member of the forum not responsible for bricked devices and dead SD cards. Whatever you do, you do it at your own risk!

What we need:

1. Last build of CyanogenMod 12
2. Last version of this recovery
3. HTC USB Drivers v4.0.1.001
4. MiniTool Partition Wizard
5. ADB.zip

How to do:

1. First you need to install HTC USB Drivers on your PC.
2. Now install MiniTool Partition Wizard.
Make a backup copy of the files on your SD-card. If you have any partitions on your SD-card you must delete them. Now insert your SD-card in card reader (don't use "Mount USB Storage" in recovery) and format it in file system FAT32 (note: all files will be deleted).
You must create two ext4 partitions on your SD-card.
Launch MiniTool Partition Wizard. You must delete partition on SD-card and create three new.
First partition SD with file system FAT32. Second partition SD-DATA with file system ext4 and size minimum 1Gb. Third partition SD-SYSTEM with file system ext4 and size 1.2Gb. All partitions must be Primary.
Partitions should look like this:



More instructions how to use MiniTool Partition Wizard you can find HERE.

3. Insert your SD-card in phone and boot it in recovery (use power button + volume down). In recovery go to "Wipe" menu [1] then in "Advanced Wipe" and do all wipes except sdcard and SD-Ext [2]. Now reboot your phone in Bootloader --> fastboot mode [3, 4].




Connect your phone to your PC using the cable.
Download ADB.zip and extract it on your PC. Download new recovery and rename it as "recovery.img". Put recovery.img in ADB folder and run recovery.bat from this folder.
After flashing recovery you must see cmd window like this:



4. Reboot your phone in recovery again. You need to convert your partitions from ext4 to f2fs.
Go to "Wipe" menu then in "Advanced Wipe" [1]. Now select "Data" and click on "Repair or Change File System" button [2], then click on "Change File System" button [3], choose "F2FS" [4] and swipe to change.
Go back and do the same with "System" [5].
After converting do all wipes except sdcard [6].




5. Download ROM and copy it on SD-card. Flash ROM. Flashing will take long so just wait.
6. After flashing ROM reboot your phone in Bootloader --> fastboot mode. Connect your phone to your PC using the cable.
Take out boot.img from ROM zip and put it in ADB folder on your PC. Run boot.bat from this folder.
After flashing boot.img you must see cmd window like this:



7. Now you can reboot your phone. After first boot you can back to recovery and flash Gapps if you need it.

Done!

Created 21-03-2015
Last Updated 21-03-2015
The Following 10 Users Say Thank You to BCCCPCEKCAHET For This Useful Post: [ View ] Gift BCCCPCEKCAHET Ad-Free
 
 
21st March 2015, 01:51 PM |#2  
Junior Member
Thanks Meter: 8
 
Donate to Me
More
Battery Full
Quote:
Originally Posted by BCCCPCEKCAHET

How to flash CyanogenMod 12

Code:
Neither I nor any other member of the forum not responsible for bricked devices and dead SD cards. Whatever you do, you do it at your own risk!

What we need:

1. Last build of CyanogenMod 12
2. Last version of this recovery
3. HTC USB Drivers v4.0.1.001
4. MiniTool Partition Wizard
5. Attachment 3220931

How to do:

1. First you need to install HTC USB Drivers on your PC.
2. Now install MiniTool Partition Wizard.
Make a backup copy of the files on your SD-card. If you have any partitions on your SD-card you must delete them. Now insert your SD-card in card reader (don't use "Mount USB Storage" in recovery) and format it in file system FAT32 (note: all files will be deleted).
You must create two ext4 partitions on your SD-card.
Launch MiniTool Partition Wizard. You must delete partition on SD-card and create three new.
First partition SD with file system FAT32. Second partition SD-DATA with file system ext4 and size minimum 1Gb. Third partition SD-SYSTEM with file system ext4 and size 1.2Gb. All partitions must be Primary.
Partitions should look like this:



More instructions how to use MiniTool Partition Wizard you can find HERE.

3. Insert your SD-card in phone and boot it in recovery (use power button + volume down). In recovery go to "Wipe" menu [1] then in "Advanced Wipe" and do all wipes except sdcard and SD-Ext [2]. Now reboot your phone in Bootloader --> fastboot mode [3, 4].




Connect your phone to your PC using the cable.
Download ADB.zip and extract it on your PC. Download new recovery and rename it as "recovery.img". Put recovery.img in ADB folder and run recovery.bat from this folder.
After flashing recovery you must see cmd window like this:



4. Reboot your phone in recovery again. You need to convert your partitions from ext4 to f2fs.
Go to "Wipe" menu then in "Advanced Wipe" [1]. Now select "Data" and click on "Repair or Change File System" button [2], then click on "Change File System" button [3], choose "F2FS" [4] and swipe to change.
Go back and do the same with "System" [5].
After converting do all wipes except sdcard [6].




5. Download ROM and copy it on SD-card. Flash ROM. Flashing will take long so just wait.
6. After flashing ROM reboot your phone in Bootloader --> fastboot mode. Connect your phone to your PC using the cable.
Take out boot.img from ROM zip and put it in ADB folder on your PC. Run boot.bat from this folder.
After flashing boot.img you must see cmd window like this:



7. Now you can reboot your phone. After first boot you can back to recovery and flash Gapps if you need it.

Done!

Created 21-03-2015
Last Updated 21-03-2015

One last question which is best cm12... is it Glade or cm12... performance wise ....

and thanks a lot for the guide......great post.
Doing many things wrong...
already pressed thanks button.
The Following 2 Users Say Thank You to Pr.haddimal For This Useful Post: [ View ] Gift Pr.haddimal Ad-Free
21st March 2015, 02:04 PM |#3  
BCCCPCEKCAHET's Avatar
OP Member
Thanks Meter: 35
 
More
Quote:
Originally Posted by Pr.haddimal

One last question which is best cm12... is it Glade or cm12... performance wise ....

Performance in CM12 and Glade is identical.
1. For best performance you must use class 10 SD-card.
2. After booting ROM you can activate development settings and set up CPU governor as "ONDEMAND". You can find it in Settings --> Performance --> Processor. With this setting ROM working faster.
The Following 3 Users Say Thank You to BCCCPCEKCAHET For This Useful Post: [ View ] Gift BCCCPCEKCAHET Ad-Free
21st March 2015, 02:23 PM |#4  
Junior Member
Thanks Meter: 8
 
Donate to Me
More
Prompt
Quote:
Originally Posted by BCCCPCEKCAHET

Performance in CM12 and Glade is identical.
1. For best performance you must use class 10 SD-card.
2. After booting ROM you can activate development settings and set up CPU governor as "ONDEMAND". You can find it in Settings --> Performance --> Processor. With this setting ROM working faster.

ya hav this sdcard class 10
thanks
for assistance
3rd August 2015, 11:24 PM |#5  
Syed Azlan Ali's Avatar
Junior Member
Flag Karachi
Thanks Meter: 0
 
More
How to take out boot.img from the ROM.zip in bootloader mode

Sent from my HTC Explorer A310e using Tapatalk 2
5th August 2015, 03:29 PM |#6  
MSF Jarvis's Avatar
XDA Feed Mod/RC
Flag Ghaziabad
Thanks Meter: 7,184
 
Donate to Me
More
It is not possible to do so and it is not even required. The Dev means to say that you have to take out the boot.IMG from the zip ON YOUR computer and then use fastboot flash boot boot.img to flash the boot image as told by @kirmaniarslan.
9th August 2015, 02:27 PM |#7  
Junior Member
Thanks Meter: 0
 
More
help
i can't flash Rom, long wait
9th August 2015, 03:57 PM |#8  
MSF Jarvis's Avatar
XDA Feed Mod/RC
Flag Ghaziabad
Thanks Meter: 7,184
 
Donate to Me
More
Same here.

Sent from my HTC Desire 616 dual sim using Tapatalk
10th September 2015, 09:43 AM |#9  
Senior Member
Thanks Meter: 1
 
More
Hi. Where i could find twrp 2.8 version? Link are broken
Regards
12th September 2015, 07:19 AM |#10  
MSF Jarvis's Avatar
XDA Feed Mod/RC
Flag Ghaziabad
Thanks Meter: 7,184
 
Donate to Me
More
Quote:
Originally Posted by jmaa009

Hi. Where i could find twrp 2.8 version? Link are broken
Regards

@Black_Eyes posted a new link in the ROM thread. Look for it

Sent from my Explorer A310e using Tapatalk
24th December 2015, 04:03 PM |#11  
Senior Member
mumbai, andheri east
Thanks Meter: 5
 
More
please help me my sd card has got corrupted how to revert back from f2fs to ext4 again
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes