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

BCCCPCEKCAHET

Senior Member
Jun 29, 2014
61
34
0
www.mediafire.com
How to flash CyanogenMod 12

Code:
[CENTER]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![/CENTER]

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. View attachment 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
 

Pr.haddimal

Member
Mar 18, 2015
17
8
0
www.paypal.com
How to flash CyanogenMod 12

Code:
[CENTER]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![/CENTER]

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. View 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.
 

BCCCPCEKCAHET

Senior Member
Jun 29, 2014
61
34
0
www.mediafire.com
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.
 
Last edited:

MSF Jarvis

XDA Feed Mod/RC
Mar 31, 2015
3,820
7,470
263
Ghaziabad
msfjarvis.dev
After you enter parted, type print. You'll see a list of partitions present. Just keep typing rm followed by the partition numbers like : rm 1 && rm 2

Do this till print returns no partitions. Then you can use the rest of the guide from that point onwards with required modifications for your specific use case. Be sure to thank @thewisenerd over there as well.

Sent from my HTC Desire 616 dual sim customised for Puchki using Tapatalk
 

djmacpro

Senior Member
Jun 15, 2013
101
5
0
mumbai, andheri east
After you enter parted, type print. You'll see a list of partitions present. Just keep typing rm followed by the partition numbers like : rm 1 && rm 2

Do this till print returns no partitions. Then you can use the rest of the guide from that point onwards with required modifications for your specific use case. Be sure to thank @thewisenerd over there as well.

Sent from my HTC Desire 616 dual sim customised for Puchki using Tapatalk
i tried this thing still it didnt work, even after several rm 1 its showsing all the partition when typed print.
i think the sd card is gone and of no use as it not branded of any company
 
Last edited: