[Android Q&A, Help & Troubleshooting] ramiabouzahra:
Welcome to the Android comuntiy!

I will try to guide you step by step on how to get your phone rocking cyanogenmod 11 (cm11 is kitkat but it is the same procedure for any other ROM, just replace the cm11 file cm12)

What you'll need;

The CyanogenMod ROM

A custom recovery, otherwise you'll get the signiture verification error

ROOT!

Adb and fastboot

adb drivers

Google Apps

-------------------------

We are going to use The custom recovery I provided in this post and not the one provided in the description of the video. The steps below is assuming that you have succesfully rooted your device and have enabled usb debugging and authorized your pc.

-------------------------

1. Connect your phone to your pc, wait for the drivers to install and once they have installed continue on.

2. Click start and open devices and printers, you should see your device, right-click it and hit properties and then you should see different "devices", choose the one who has a type from SAMSUNG and then up next to the corners you should see 2 options, general and one more, hit the second one and hit properties at the bottom right.

3. It should open a new window, in that window there is and option to change setting, click it then select drivers at the top and hit update.

4. Click choose an update already availible on the computer, then click let me pick and wait.

5. Then there is an option to choose compatible drivers or something like that and make sure it is not ticked! Find a driver from ClockworkMod and to the right you should see android adb interface, click it and hit install after that is complete you should have the adb drivers.

6. Open minimal adb and fastboot that you downloaded and type "adb devices" and wait, it should show your device and you might get a popup window on your phone saying to authorize the pc, hit always trust and hit allow and your device should be seen in adb and it should say device next to the serial number.

7 Turn off your phone.

8. Boot into recovery by pressing power + volume up + home button.

9. Click advanced

10. Click adb sideload and make sure that when you type adb devices in minimal adb and fastboot you should see your device and it should say sideload next to the serial number. If you don't, repeat the steps for installing the drivers just this time do it in adb sideload mode.

11. Once you got the driver working in adb sideload you should press the home button and click wipe, then select advanced wipe and select, dalvik, system, data, internal storage, cache and preload. This will wipe your data!

12. Once that is done go to adb sideload and connect your phone to the pc.

13. Move the downloaded ROM to the minimal adb and fastboot folder adn then in the command line type adb sideload <filename>. DON'T REBOOT!!!

14. Once flash is done it is time to move the google apps to the minimal adb and fastboot, remember, DON'T REBOOT!!

15. Type adb sideload <googelappsfilename>. Wait till it is done and now you can finally reboot.

--------------------

It should boot perfectly, remember, the first time boot might take a lot of time and the device might overheat but just leave it there for a couple of mnutes until it boots.

All credits to the cyangenmod development team and that guy from youtube!

If I helped you, hit thanks! ;)

If you encounter any problems (ROM Not booting or device won't show up in adb), please post them here!