The Ultimate tutorial for creating Nokia CFW #1



Preface:
It has been two months since we could mod rofs and I still dont see many CFW out...
Many users are there who know little but they dont want to try things out,
I could have simply made a CFW and finished things for me, get hundreds of thanks,
But that is not what I want, my aim is to improve the S^3 modding scene and keep it alive even though nokia ditched us!
I have added all this info most of which you will not find anywhere else!
This thread is for all CFW makers and newbies, who have the guts to try something new,
Go and make something new and post your CFW in the CFW section!

For all CFW makers and newbies

For newbies special:
Just read all the topics covered in this thread and soon you will come up with your own CFW!

For modders:
Go through this thread before you finalize your CFW, you could have missed something out!

Note: Before reading this is Important:
I may have missed to give you credit,
Because this tutorial is too huge, and the subjects it covers is enormous,
I think all the modders information is included here, So I do not deserve thanks my self other than making this thread,

So If any modder or member feel he has to get credit please PM me so that I can update it in the thread.

I am not greedy for thanks, no, I am not here to take credit of developers and modders for their hard work,
I am not here to fight, just to make the lives of future modders easy Smiley

Tools required:

EDIT:
Important Notice:

New Nokia Cooker 2.2 available now!
You can now use this tool for the calibration process too, and it also has been improved in many other ways.
Lots of new features and supported plugins added, I recommend you to switch to this version for all future purposes Smiley
/edit

Latest Phoenix
Nokia Cooker 1.1
Navifirm 1.5
or
Nokia Data Package Manager Lite 2011.35.2.1 [Download Product Code Firmwares]
See more here:
http://forum.dailymobile.se/index.php?topic=52124.0
Core editor by doctorly NFECore2

Why is there need to hack in the first place?
To install unsigned apps,

what are they & why we need them?

Unsigned apps are apps who haven't been certified by Nokia (cracked apps),
or
Other apps whose certificates have expired (very old softwares),
or
still others who may not have a trusted certificate at all (eg:sklchan mods) are also known to show this installation error.
such apps are usually free of cost,

In order to install them, we need to get them signed with a developers certificate for your phone
Because developers are known to understand the risks of installing unsigned software (actually there ain't any) for testing their own developed software which may be unsigned

But now this method does not work Sad

WHY
Because nokia changed the system, and because of that you cant install your favorite apps by just signing them anymore,
The only way is to hack your phone Read more here

How to just hack it:

EDIT:
Now its possible to hack your device without any sort of flashing
See these threads by CODeRUS:
http://forum.dailymobile.se/index.php?topic=54910.0
http://forum.dailymobile.se/index.php?topic=54349.0
http://forum.dailymobile.se/index.php?topic=46024.0
/edit

This will be IL.socios thread;
http://forum.dailymobile.se/index.php?topic=51083.0

F33nix's thread:
http://forum.dailymobile.se/index.php?topic=41316.0
Dont read further if you would not experiment with your phone!

Withcers thread(one which I've posted below it includes instructions to mod rofs too):
http://forum.dailymobile.se/index.php?topic=51902.0

IMPORTANT NOTE ABOUT NOKIA COOKER UPTO Version 1.1:
Nokia Cooker Is Too Old Fix:

EDIT:
Please note that is issue is only for previous versions of nokia cooker till v1.1
You can solve this issue by upgrading to the newest version available HERE
/edit

As it is I have seen many of the users trying to edit rofs and other files using nokia cooker v1.1,
Because it is very simple to use...

But many of you getting this error,

"This version is too much old,
Please download the new version from official website symbian toys.."

Of course there is this simple fix:
Change the date to anything before august 2011,
and everything works well and good,

But this will help you to fix it permanently



How to fix this:

1.Download the attached program for your operating system,
Run as date 1.10 x86 (for 32bit windows).zip
Run as date 1.10 x64 (for 64bit windows).zip

2.Open the program and select the options like below:





3.Click on create shortcut...

DONE,

Now use shortcut to use nokia cooker...without changing the date Smiley

-----------------------------------------------------------------------------------------------------------------------------------------------------------
About Nokia Cooker and NFEcore2
Many of you do not know how to extract the files from firmware using these tools,
Below I will explain how this can be achieved:

How to extract the files from firmware using Nokia Cooker:
1.Open the firmware in Nokia Cooker and go to the folder which contains Nokia Cooker.exe or in other words go to the folder where you have installed Nokia Cooker
2.There you will find a folder called "files"....that is it Smiley
it has all the extracted files, you can extract rofs2/3, UDA, and 16G MMC file using Nokia Cooker

How to extract the files from firmware using Nokia Cooker:
One problem with Nokia Cooker is that it cant be used for CORE,
For that you need NFEcore2

1.First open the file in NFEcore2 and then click on UNPACK
2.Go to the folder which contains NFEcore2.exe or in other words go to the folder where you have installed NFEcore2
3.There you will find a folder called "Rofs"....that is it Smiley
it has all the extracted files, you can extract rofs2/3 files using NFEsore2

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

This is only for the N8 (I tested it)
How to downgrade your N8 to PR1.2 if you flashed it with the leaked Anna(by lagoskon) or leaked Belle
Download this from navifirm and flash:

Now you will have PR11.5.
Now you can upgrade to PR 1.2 of your choice!
So flash Anna/Belle without thinking again Smiley
(you can take it to nokia priority if needed I mean youd still be on PR1.2 and so you can show to those dummies that your phone is still stock)

Here is my thread on how to dowgrade, just in case you face any difficulties...make post there

Our member witcher3 made this amazing tutorial for flashing your devices.
Its so simple, But mind you ask all questions related to flashing there in his thread, please dont spam here!

How to flash with modded rofs files:

Gud evening people, i don't see too many cfw in the S^3 fw section, and S^3 handsets don't succesfully flash using the method known for S^1, so i thought of making a short tutorial for modding and flashing S^3 phones using Nokia N8 as reference

First of all the tools needed for cfw are :

1. NaviFirm+ by Il.Socio - DOWNLOAD
2. Nokia Cooker by Il.Socio - DOWNLOAD
3. NFE Core 2 (English) by doctorly - DOWNLOAD
4. Phoenix (2011.14.004.45945) - DOWNLOAD

WARNING : FIRMWARE MODDING AND FLASHING IS NOT COVERED BY WARRANTY AND IS VERY RISKY, SO PLEASE PROCEED AT YOUR OWN RISK
I'VE TRIED MY BEST TO MAKE THIS GUIDE AS SIMPLE AND ACCURATE AS POSSIBLE, BUT IF ANY MISTAKE IS FOUND PLEASE CORRECT ME
ANY SUGGESTIONS ARE MORE THAN WELCOME
Smiley

FIRST STEP

Download the firmware files using NaviFirm+

Open NaviFirm+

#1 Make sure that "Nokia Care Suite" has been selected as the "Server"
#2 Select the "Product"
#3 Select the "Release"
#4 Select the "Variant"
#5 Make sure "Parse VPL" has been ticked and then verify that all necessary fw files are selected for download
#6 Select the "Files". The needed files are : core, rofs2, rofs3, uda, dcp, vpl, bin (uda must be ticked manually). You may also download the "Memory card Content" if you want the preloaded content.
#7 Then click on "Download from FiRe" to download directly or copy the URLs and download them manually



After download is complete, make a backup of all the downloaded files in a safe place should anything go wrong with modding and flashing. Later on these original files can be used to re-flash the phone if needed.



SECOND STEP

Edit the fw files using Nokia Cooker (The backup files should not be used for editing)

Open Nokia Cooker

#1 Open the required file by clicking on "Open Firmware" (Only rofs2, rofs3 and uda can be edited using Nokia Cooker)
Alternatively you can just drag the required file to the left pane named "Custom Firmwares"
#2 A couple of seconds later the right pane will display the firmware file contents. Now drag and drop the mods u need in this pane
#3 When finished adding mods and making changes click on the "Save Firmware" button
#4 The bottom pane will display the log since the opening of the file



The firmware will be repacked in the original folder and the original files will now have a suffix "_BACKUP_" in it
Repeat the steps for the other files if needed (i used the rofs2, so if needed changes can be made to rofs3 and uda in the same manner)




THIRD STEP

Calibrate the core using NFE Core 2 (Many many thanks to nicesoni_ash, without him i would've been stuck with a dead phone after flash with modded rofs files)

Open NFE Core 2

#1 Click on the "Open" button and select the core file to be calibrated
#2 After the file is initialized click on the "ROFS calibration" button
#3 A popup window appears, change all values to "2C"
#4 Click on "Apply"
#5 Click on "Exit"



Nothing else needs to be done in the core file




FOURTH STEP

Flashing the phone with the modded files using Phoenix (Thanks to nicesoni_ash again, this procedure is entirely based on his method as he posted as a document)


IMPORTANT
#1 BEFORE FLASHING, EVERY IMPORTANT DATA FROM THE PHONE SHOULD BE BACKED UP
#2 THE MASS STORAGE CONTENT SHOULD BE BACKED UP TOO, AND IT SHOULD BE FORMATTED
#3 IF NOT FORMATTED DELETE THE SYSTEM FOLDERS FROM MASS STORAGE
#4 THE PHONE SHOULD BE SWITCHED OFF BEFORE STARTING FLASH
#5 PHONE SHOULD NOT BE CONNECTED TO COMPUTER UNLESS INSTRUCTED BY THE FLASHING SOFTWARE



Open Phoenix

Now follow the pictorial instructions



Now bring all the original downloaded firmware files into the above mentioned folder
To do this, create a folder named "RM-xxx" inside the above mentioned folder, where xxx is the device's number, and paste the files inside this folder
According to the example the files should be in this folder now - "C:\Program Files\Nokia\Phoenix\RM-xxx\"
Now follow the rest of the guide...


























This guide is finished

I would like thank all the members here who have helped me in many ways, starting from when i started learning these things in S^1
I would also like to be really thankful to the greatest people in the Symbian scene, thank you CODeRUS, Il.Socio, Doctorly, PNHT
Thank you all the hard working people here on the forum
Thank you Upakul, nicesoni_ash, and everyone here who has helped me in one way or the other

I hope this guide helps everyone Smiley
-----------------------------------------------witcher---------------------------------------------------------
First