Jump to content

Recommended Posts

Posted

Everyday atleast one member in this forum is asking about how to make his own CFW, how to add mods, how to add apps, themes and many more questions about modding and making a CFW. So I decided to compile a tutorial which will contain almost everything about firmware modding. This tutorial will help the newbies as well as the CFW makers( :P). Newbies, just cover this whole thread and soon you will come up with your own cfw. And CFW makers, just go through this thread before finalizing your CFW, you could have missed something out. Or I may have missed something so u can tell me the missing parts to be added. :)

Credits:

Before making the ultimate tutorial I just want to say that I may have combined many threads by many members of this forum to this thread. So credits to Die2mrw007, Nikship, Prayaas Aggarwal, shaswat, Xtreme.Infinity, Aryacooldude, RAZR, debsin, Shivam94, Pavan061994,Nihar, LRajesh555 and many more present in this forum.

And also credits goes to them who are totally responsible for the symbian modding. Without them symbian modding couldn't have reached to this stage. Some of the great modders are:

Il.socio: For rompatcher+, Navifirm, Nokia Cooker and many more firmware modding tools and mods.

CODeRUS: Father of symbian modding. Without him symbian modding scene could never be realized. 10202be9 file description. Installserver/S^3 rompatcher/and many more important mods which we use. He is still helping with Symbian^3 modding.

Doctorly: For the Core Editor. Without him we couldn't have created a CFW.

PNHT (Szakalit, Adonix & Steven25): Contributed hugely to the s60 modding scene. Ported C6 firmware to 5800 & other devices. Developed NFE to edit the rofs files and many more things.

newcooler: For the nokia firmware cleaner.

binh24: For the repartitioned C6/N97 Firmware files and many more mods.

And many other great modders like Die2mrw007, upakul, 008rohit, sklchan, liliatungary, Chrish marsh, Draculaboy, lamerfall, devilyazdan and many members from this forum, DM, PNHT etc.

Sorry if i forgot to mention some modders' names. I can't remind all of them this instant. I'll continue adding their names when come to my mind. :P

and finally to LRajesh555 (me) for writing this tutorial without losing patience. :D:P

Ok now we will need to know some terminologies.

FW: Firmware

OFW: Original Firmware

CFW: Customized/Cooked Firmware

MCU: Its the core part of the fw. Most of the stuffs are included in it if the fw files are not repartitioned. But most of the CFWs r repartitioned. Repartitioning gives us more free space to put our stuffs in the section we can modify more easily.

PPM: The rofs files. These can be modified without causing much damage to the phone.

APE: The UDA file of the fw. It is the C: drive (phone memory) of our phone. So it will be better to leave it untouched if u want to get more free space in your C: drive.

Cooking: Customizing.

Mods: Modifications. Any readymade file in the fw which is modified to bear much impact in the phone. For example a speed mod will increase the speed of the phone. Actually modders have already modified some files and provided them to us which are known as mods. We only need to add them to our rofs. Mods will replace the unmodified files & will tweak the performance in phone in a better way.

Firmware Tools :

Before going to create your CFW you need to have all these tools.

1. Navifirm: Needed to download the OFW

2. Nokia Cooker: To edit the fw files like core, rofs2, rofs3 etc.

3. Nokia Firmware Editor: Used to edit or customize rofs2.

4. Nokia FW Cleaner: Used to delete the built in apps in rofs2.

5. Sis Contents: To extract sis files.

6. RSCEditor: To edit resource (.rsc) files.

7. SISXplorer: SISXplorer allows you to Inspect and Extract all the files contained inside the 3rd Edition installation packages. Using SISXplorer you can extract all the images from 3rd Edition Themes, deeply Inspect the content of each file using the Integrated Hexadecimal Viewer. And Much More.

8. Petran GUI: Used to edit and compress .dll and .exe files so that we can get more free space in the rofs2 to put more stuffs.

9. MBM Converter

10. SVGB to SVG Converter

11. SVG to SVGT Converter

12. MIF maker: Amobile application used to convert .jpg, .jpeg, .png, .gif images to .mif

13. Mediabar Editor: Used to edit the mediabar.

14. Nokia qwerty keyboard editor

15. Hex Editor: used to edit binaries

16. Theme Icon Switcher: Used to switch the icons between two themes.

17. SIS Ware

18. ResEdit: Used to edit the resource (.rsc) files.

19. SymbianRSC: Used to edit the strings present in .rsc files.

20. JAF: The most important tool. This is needed to flash your phone. U may need to flash your phone minimum 100 times to test your CFW in every step.

You can also get all these tools from HERE. Thanks to rushi1607 for posting all the tools in one place :)

Some Basics You May Need To Keep In Your Mind:

You need to know some basics before going to make your CFW.

I have just quoted the post of Prayaas Aggarwal from HERE to save my time. Becoz many things are yet to write. 

Basics

First of all, modifying the Core file is extremely dangerous. The core undergoes a hash check which will fail if we modify it. Ofcourse there are new tools to modify core too, but I prefer modifying ROFS. Safest way. Now, ROFS is of two types. ROFS2 and ROFS3. The core file contains another type - the ROFS1. In some older phones, you might find ROFX too.

When we deal with CFWs, we mostly prefer repartitioned ones. The reason was explained above. In repartitioned CFWs, there exists no ROFS3. Instead, the ROFS3 is put into Core. To repartition, we needed to modify core. Then hash check would fail, so we added an unmodified ROFS3 which has a valid hash, into Core. The ROFS1 in the repartitioned files in in ROFS2 itself.

So, we'll we talking basically about editing ROFS2, and UDA.

Whatever we edit in the ROFS2 goes to drive Z: of your phone. This is a hidden drive that is Read-Only. You can't change it from the phone itself. To modify it, you have to modify the files in ROFS2 and then reflash your phone.

Changes in UDA go to C: (Phone Memory). Hard resetting might wipe away all your C: files. But, if you want that they shouldn't, add all the files you don't want to be wiped off to 100059c9/exludelist.txt in the UDA.

The ROFS2 of the OFW has a maximum size of ~ 33 MB. The repartitioned one has a maximum size (partition size of Z: ) of ~110 MB. But then, even it's contents are more. By default you have some 10 MB free on the repartitioned ROFS2. The size if exceeds the partition size, will brick your phone. Thus we have tools like Nokia Firmware Cleaner to remove off the junk.

All the files in the .C00 (core) are first flashed to Z: drive. Don’t try to edit it. You may end up bricking your phone. Then ROFS2 is also flashed to Z: drive but no files except for some bookmarks and some other txt files are overwritten. If anything is overwritten, it results in a brick. So, we do not add mods to Core so that our files do not clash. ROFS3 does the same but is not used in repartitioned files (including C6 and N97 ports). The reason has been explained above. The default theme in OFW is in ROFS3. Since, it has become a part of core, it can not be removed, though hidden.

I personally use Nokia Firmware Editor (NFE 0.3) for editing ROFS2. So I’ll be explaining how to use it in this tutorial.

Having a base for your CFW

A stable codebase is extremely important. So I recommend that you decide whether you want your CFW to be based on OFW, C6, or N97. Each has its advantages and disadvantages. The OFW has the best RAM management. C6 has widgetized homescreen with new features like smart dialer and many more. N97 has widgetized homescreen. Some say it's better than C6 in RAM management. Not my opinion, though.

If you want it to be based on C6 or N97 port, download your files from here first. If you want to base it on OFW, then download the OFW files from NaviFirm. At some places, repartitioned OFW files are also available. It's recommended to use those.

So better to take the repartitioned fw files as ur base fw for creating ur CFW.

U can get the repartitioned C6/N97 base ports from binh24's blog

Symbian S60v5 Directory Structure:

Data: Contains all applications data related files such as maps for GPS applications.

Images: When u edit any picture or take any picture using camera, the pictures will be saved to this directory and the sub-directories like backgrounds, camera, pictures, presence etc present in this directory. Files under the Camera sub-directory will be sorted in sub-directories acording to the date and time the pictures were taken.

Music: Just like the Image directory, this directory contains all the music related files.

Others: This directory contains mostly private data like contacts.

Private: This directory is the one for which we all came in for. This actually contains all the configuration files in XML and TXT formats (Although as INI formats) to control and change any preferance u'll ever need or think of.

Resource: This directory contains all the graphics related stuffs. Means it contain all the images/icons/rsc files that the phone theme consists of.If u ever want to add any theme or to change any graphics related issue, this is the place to look for.

Sys: This directory is also the most important one. This directory contains all the OS binaries. That means all executive (exe) & dll files are located under this directory. The sub-directories under the Sys directory are bin (which actually contains the binary OS files) and the Install ,Uninstall directories. The Install/Uninstall directories are like registry mechanism. The install and uninstall informations are in these directories respectively.

System: This directory contains the sub-directories like Apps, data, dmgr, temp. The Apps directory holds applications related data. The data directory contain OS related data such as BlueTooth/headset/speakers parameters. The dmgr stands for data manager which handle downloads. And the Temp sub-directory holds temporary OS files.

Videos: Contains user made camera videos.

Posted

How to download your OFW files using Navifirm:

1. Open Navifirm+ and in the 1st column (Products) select your device. (e.g Nokia 5230|RM-588)

Posted Image

2. From the 2nd column (Releases) select your fw version. Remember to download your current fw version files or hegher version files. Don't try to downgrade. Downgrading may kill your phone. To know your fw version, open dialler in ur phone n type *#0000#

[img width=669 height=420] NZ90Ja.png

3. From the 3rd column (variants) select the one with your product code or your region. To know the product code, put out the battery and see on the back of ur phone under the battery..u'll find the product code and RM type.

[img width=700 height=420] tO0m1YG.png

4. Now download all your fw files from the 4th column.

How to flash your phone:

1.With OFW files:

1. Download your OFW files using navifirm and place them in C:\Program Files\Nokia\Phoenix\Products\RM-XXX folder. XXX stands for ur RM-type. In my case its RM-588.

[img width=525 height=420] E84ld6Vw.png

2. Install JAF. Remember to disable your antivirus. After Installing JAF, open the JAF P-key emulator. And click 'Go'.

[img width=328 height=420] 7xkOmcd3205.png

If ur JAF gets stuck after clicking GO, u may need to check the compatibility mode and change it to windows xp service pack 3.

(windows 7 or vista users may need to change the compatibility mode)

[img width=306 height=420] rtnbAKNM.png

3. U may get an error like box driver not installed. Just ignore it. Press yes and go ahead.

Posted Image

4. Now u'll see a window. Click on bb5 tab. Then tick manual flash, dead usb, normal mode and untick crt 308.

[img width=445 height=420] ' alt='' class='ipsImage' >

5. Tick 'use ini'. A pop-up window ll open. Select ur product from the list and click 'ok'.

[img width=448 height=420] tRSIsJdn.png

If ur device isn't listed there, download the Latest JAF Ini and extract its content to C:\Program Files\ODEON\JAF .

6. U can see the window exactly like below

[img width=451 height=420] qFh2DJ.png

7. Connect ur phone to pc through usb. Now switch off ur phone. Close nokia suite completely (Also from the system tray).

And click FLASH button in JAF. U'll get an warning message like below. Just click YES.

Posted Image

JAF will search for ur phone. Press ur phone's power button for 1-2 seconds when JAF asks to connect ur phone.

At the end u'll get a message like Done in JAF.

Congo !! U successfully flashed ur phone. :)

2.With CFW files:

CFW files mainly contain 3 files like core (.C00), rofs2 & uda. Change the name of the core from xxxx.C00 to xxxx.C0r and place all the three files in one folder.

[img width=524 height=420] ZowfGV2qzE.png

1. Open JAF. Press Go. Click on bb5 tab. Tick manual flash, dead usb, normal mode and untick crt 308.

[img width=445 height=420] ' alt='' class='ipsImage' >

2. Click 'mcu'. Wait for some seconds. A pop-up window ll appear. Select the core (.C0r) file.

[img width=596 height=420] 2IGZMaYrsxl4.png

3. Click 'ppm' and select rofs2 file.

[img width=594 height=420] 5qatUBmX6.png

4. click 'ape variant' and select the uda file.

[img width=590 height=420] NOjqtnM8.png

5. Now follow 'how to flash with OFW files' above from step-6 and go ahead.

Happy Flashing :)

How To Edit/Customize The Rofs2:

To edit the rofs2 u need to extract it 1st. Use NFE to extract the rofs2.

Download NFE and put all the files of NFE in one folder like below.

[img width=582 height=420] JCet6h7.png

Now go through the steps below to know how to use NFE to extract and repack ur rofs2.

1. Open NFE. U'll see a window like below.

[img width=682 height=420] YSgl8RM.png

2. Click 'Open file' and select the rofs2 file u wanna customize. Then Click 'Extract' button.

U'll see the process of extracting the rofs2 like below.

[img width=670 height=420] 5JN36W.png

3. Now ur rofs2 is extracted.

[img width=675 height=420] YH3BwKdMa.png

4. Close NFE and Go to the folder where ur NFEstd is present. U'll find a new folder created in it with ur rofs2 name. In my case the name of the folder is like 'RM-588_51.6.002_PRD.ROFS2'. Just see the below image to be cleared.

[img width=584 height=420] G0ud7fap9.png

5. U'll find 'rofs2' & 'temp' like two folders inside this folder 'RM-588_51.6.002_PRD.ROFS2'. Open the 'rofs2' folder. Here u can see ur extracted rofs2.

[img width=583 height=420] HLCezTtf.png

6. Customize it as u want. Add ur mods, apps or themes whatever.

7. Now open NFE again and click 'Reload from HDD'.

Posted Image

8. Now click on 'Repack/Rebuild' button.

[img width=675 height=420] DaxLQEz4iZ.png

9. Ur editted rofs2 will be repacked.

[img width=675 height=420] PIRnBh4.png

U can see the status as 'firmware repacked' in the NFE window.

Posted Image

10. Congrats u customized or cooked ur rofs2. Now go to the folder from where u selected the rofs2 in NFE to customize. U can see a

new file created there with an extension as '_rebuilt' appended.

Posted Image

Just rename it by removing the '_rebuilt'.

Done...!!

Now u can flash ur phone with this rofs2 (customized by u) :)

Posted

U may be willing to add some apps into ur cfw to make them inbuilt so that they ll directly work from Z:\ .

And also u may be willing to remove the present themes from the fw and add ur desired theme into ur cfw and make ur desired theme as default.

But to add ur desired apps, themes or mods u may need to have more free space in the rofs2 so that u can add more apps, themes, mods or many more stuffs.

So at 1st we ll learn how to get more free space in the rofs2.

Here I m quoting a post from Die2mrw007 to make u know which files r unwanted and need to be removed from the rofs2 to get more free space so that u can integrate ur stuffs.

For CFW ROFS2 - Unwanted items

1. Search resource/apps/ for promo_ .

you will get 8 mif files all are useless. you can delete.

2.private folder 2000f8aa: 1.46 mb - you can delete

3.resource /skins: Use a light weight theme. you need simple theme for booting.

4.data/sounds/: it can be reduced by keeping sms ,email ,beep.rng ,nokia default .

5. 200159c0/install: remove accuweather , ndtv ,sinonews,apnews, book my show,reuters like these came from original c6.

6.200159c0/install: you can remove 27 files of 01 .

7.If you have deleted the unwanted applications first and added N8 or anna icons mif later check for deleted applications mif in resource/apps and remove.

8.sys/bin if you got vodbnolatin.dll which is for viet language of 2.498 mb can be removed.

U can delete some inbuilt apps (which u may not need) like Drawing, File browser, Quick Office, Adobe reader, Welcome, My Nokia,About, Phone Switch, Image Print, Help, Voice Commands, Active Notes, OVI Contacts, Ovi sync, Here and Now, SW Update,

WIFI\WLAN =For Those Who Dont Have WIFI in Their Phones,

Video Sharing,

Video Call = For Those Who Dont Have Front Camera in Their Phones,

Internet Phone, Chat, Search, Podcasting, Bounce, Boingo, Joiku Spot, Vlingo, QIK, Shazam

How To Delete Inbuilt Apps In rofs2 Using Nokia FW Cleaner:

1. Place ur Nokia FW cleaner files in one folder like below.

Posted Image

2. Open Nokia FW cleaner. A window will pop up which will ask to choose ur rofs2 file.

Posted Image

3. Select the path to the extracted rofs2 folder.

Posted Image

4. A window will appear in which u'll see some apps checked with tick marks. Those are the apps inbuilt in ur rofs2.

Posted Image

5. Now uncheck all and tick only them which u want to remove from ur rofs2.

Posted Image

6. Now Click on green plus (+) sign on the left. Ur apps to b removed will be selected. U can see the 'list ready' in the right column.

Posted Image

7. Now click the red cross (X) sign.

Posted Image

After a few second u ll get a confirm msg like 'Done'.

Posted Image

Ur apps are removed. Now u can repack ur rofs2 and flash ur phone with it to b sure that the apps r removed or not.

We can also backup/recover the apps in rofs2 using nokia FW cleaner.

Backup: Put checkmark in the desired apps and click back up.

Return: Put checkmark in the desired apps and click on return.

NOTE:

Nokia FW cleaner can't remove the 'HELP' completely from the rofs2.

So Drakulaboy has compiled a Help Item Remover tool using which we can remove the HELP application from the entire rofs2.

Posted Image

No need to unpack ur rofs2. Just select the packed rofs2 and click start.

How To Get Even More Free Space Using Petran GUI:

There is another way by which u can get even more free space in the rofs2. The way is by compressing the binary files i.e the executive (exe) and dll files present in the rofs2. A tool named Petran GUI (by newcooler) is used to compress the exe & dll files. By compressing these files we may get 15-20 mb more free space in the rofs2 so that we can put more stuff in our CFW.

To be confirmed, 1st check the properties of the folder rofs2\sys\bin (we r checking this because as from the 1st post we all know that all the binary files are present in sys\bin folder) and note down the size of this folder.

Posted Image

Now lets go ahead. See the steps below.

1. Open Petran GUI.

iLHs5zt.png

2. Click 'Open'. A window ll pop-up. Select all the files present in ur rofs2\sys\bin.

[img width=602 height=420] 3YlNZr.png

U'll see the files selected as in the below picture:

FBVbZO.png

3. Now click 'Options' and set the options as below and close the option window.

rO2TE6zaL.png

(U can also select 'bite pair' but 'deflate' compresses the files more)

4. Now click 'unpack'. The process of unpacking ll start. It'll take 1-2 minutes. And after 1 or 2 minute u'll see a confirmation msg window poping up.

KVsXqFY3zCmx.png

5. Now click 'Packed' and wait for 1-2 minutes. When u see the confirmation msg then u may close Petran GUI.

vgSmZ3Jzd.png

Done ...! :)

Now u can put more stuffs in ur rofs2 :)

U can check the bin folder again to be confirmed :)

In my case the size decreased from 63 mb to 53 mb. Wow 10 mb more free space ..!!  :yahoo:

[img width=319 height=420] cqfzGH.png

Warning: Compressing the executive files will cause in decrease of free ram by 20 mb. Deflate compression significantly impacts system performance and ram.  So it is best to stick with byte repair compression.

Now come to the topic i.e how to integrate ur apps into ur CFW so that they ll work directly from Z:\

How to Integrate Your Apps Into Your CFW Using SIS Content:

1. Open SIS Content (extsis.exe).

[img width=512 height=420] izCm86qW.png

2. Click on the 'Open' icon (the yellow folder icon).

LzHJcMq.png

3. A window ll appear. Just select the sis file of the application you want to integrate into ur CFW.

[img width=509 height=420] t0bjDFT3i.png

4. Click on the extract button (left to sign)

l8u5b6y.png

The contents from the sis package of the application are extracted now to a local folder named Sis contents as u see in the below picture

[img width=588 height=420] Dn584TC.png

5. Now copy the contents of these folders (Private, resource, sys) and paste in the respective directories in ur extracted rofs2 folder.

Ur application is integrated now. :)

NOTE

Actually its not as simple as adding apps into the cfw. Some applications may not work from Z:\ becoz they don't satisfy all the capabilities. U need to sign those aps with a 20 cap cert & key (which only nokia can provide :D ) to make them work from Z:\.

And some applications may give system error after flashing. just becoz they may have been referenced from C. We need change the reference to Z. So u need to open the registry files of english language(.rsc and .r01 files) and edit them and rename all the dependancies in C to Z meaning files which were referenced from C will now being referenced from Z:\ .

U need to check the apps urself whether they r working from Z or not. I can't do each & everything for u :P:D

Adding/Removing A Language Into/From The Rofs2:

Before going to start this job, we need to know the language codes.

Given below is the language code list:

1 = British English
2 = French
3 = German
4 = Spanish
5 = Italian
6 = Swedish
7 = Danish
8 = Norwegian
9 = Finnish
10 = American English
11 = Swiss French
12 = Swiss German
13 = Portuguese
14 = Turkish
15 = Icelandic
16 = Russian
17 = Hungarian
18 = Dutch
19 = Belgian-style Flemish
20 = Australia, English
21 = Belgian-style French
22 = Austrian German
23 = Island of New Zealand English
24 = French International
25 = Czech
26 = Slovak
27 = Polish
28 = Slovenian
29 = Tawain
30 = Traditional Hong Kong
31 = Simplified Chinese
32 = Japanese
33 = Thai
34 = boolean phrase
35 = Albanian
36 = Amhara language
37 = Arabic
38 = Armenian
He added 39 = Paul Language
40 = Belarusian
41 = Bengali
42 = Bulgarian
43 = Burmese
44 = Catalan
45 = Croatian
46 = Canadian English
47 = International English
48 = South African English
49 = Estonian
50 = Persian
51 = Canadian-style French
52 = Gaelic
53 = Georgian
54 = Greek
55 = Cyprus, Greek-style
56 = Gujitela language
57 = Hebrew
58 = Hindi
59 = Indonesian
60 = Irish
61 = Swiss Italian
62 = Kannada 
63 = Kazakh
64 = Comoros Language
65 = Korean
66 = Lao
67 = Latvian
68 = Lithuanian
69 = Macedonian
70 = Malay
71 = Dela Wei language
72 = Maratha language
73 = Moldovan
74 = Mongolian
75 = New Norwegian
76 = bar-style Portuguese
77 = Punjabi
78 = Romanian
79 = Serbian
80 = Sinhala
81 = Somali
82 = International Spanish
83 = American Spanish
84 = Swahili
85 = Finnish Swedish
86 = reserved (reserved for future use)
87 = Tamil
88 = Telugu
89 = Tibetan language
90 = Tigrinya
91 = Cyprus, Turkish-style
92 = Turkmen
93 = Ukrainian
94 = Urdu
95 = reserved 2 (reserved for future use)
96 = Vietnamese
97 = Welsh
98 = Zulu
99 = other (opposition)
100 = English manufacturer
101 = South Africa Sesotho
102 = Basque
103 = Galicia language
129 = English Asia
157 = Desktop English
158 = Hong Kong English
159 = Chinglish
160 = Japanese English
161 = Thai English
326 = Pacific Malay

For more information see here: Language Code Tables

Now lets start.

A. Adding Language:

Adding ur desired language to ur CFW is a tricky job. The easiest way to do it is by downloading a fw from navifirm which has ur language. Then export the language files from the rofs2 and import to ur cfw (i.e rofs2).

And remember that all the language files are present in rofs2.

Now go through the below steps to know how to export/import language from/to the rofs2 using NFE.

1. Download the rofs2 (which contains the language u want to export from) and extract it using NFE.

2. In NFE, go to tools -> Language Manager -> Import/Export Language and under the Export Language section select the language to be exported and click export.

M3u6qFxrhSo.png

The language file (*.lang) will be saved in the same directory in which the NFEstd present.

3. Now extract the rofs2 (in which u want to add ur language). Go to tools -> Language Manager -> Import/Export Language and under the Import Language Section, click Import & select the language file (*.lang) u exported from the rofs2 in 2nd step.

4. Then repack. Done ..!!

Here is another important link for u:

Adding Supported Languages

If u r unable to find ur language files then just request here & we'll try to provide ur language files. :)

B. Removing Unneeded Languages:

Suppose ur rofs2 contains two languages with codes 01 (British English) & 96 (Vietnamese) and u want to remove the Vietnamese language from ur cfw.

Note: Don't include 01 (English) in removing list because it can't be removed.

1. Search for all files ending with .r96 in ur rofs2 and delete all those files. Those are the language files for Vietnamese.

[img width=582 height=420] 86eJEmGH0ML.png

2. Edit languages.txt in Resource\Bootdata and remove the language codes which u want to delete.

3. Go to private\101F4CD2\Content\, resource\xhtml\, resource\applicationhelps\. Inside these folders, there are sub-folders named with numbers corresponding to each language. Delete those language folders u want to. Don't delete 01.

4. Go deeply into private\10207254\themes\ and find the homescreen files there within folders named '1.0'. The files usually end with *.o00NN. Again the two last digits NN stand for a language. Delete the unneeded ones.

5. Find files called T9*.dll in rofs2\sys\bin\. Don't delete the files T9English.dll & T9rel.dll. Other languages can be deleted.

6. Go to resource\qwerty\. Don't delete the file PtiQwertyEnglish.rsc. Others may be deleted.

7. Go to resource\multitap\. Don't delete PtiEnglish.rsc. Others may be deleted.

[Thanx to Don MC for these info]

There is another tool available using which u can add/remove language into/from ur rofs2.

Rofs2 Language Tool by Gonizah

Credits to Gonizah for this tool.

tXqi4FCT.png

Till now we have learnt the basics only. How to add or delete files to/from the rofs2.  :P:D

The hectic jobs will start now.

So take a long breath before going to read the next parts of this thread. Or u may take a sleep too. :troll:

Posted

Modding Starter Files

What are starter files and what they do:

The 4 files named as Starter_Arm.rsc, starter_non_critical_1.rsc, starter_background_apps.rsc & starter_ui_seq.rsc are referred as starter files. U can fild them in rofs2\resource\.

These files are responsible for initializing the apps at start up.

Why we need to edit these starter files:

By modding the starter files we can get more ram at start up. We can also add the apps (which have auto-start funtionality) to the start up in our CFW by editing the starter files. For example, to add rompatcher to auto we need to add RPPAuto.exe to the starter_non_critical_1.rsc . I'll explain it later.

How to edit these files:

We will use RSC_Editor or ResEdit to edit these files.

Open RedEdit. Click Open File and select a starter file from the resource folder of the extracted rofs2. U'll see many processes there.

Posted Image

If u want to disable any process (say ***.exe) then just rename the ***.exe as ***.ex$ and the process will be disabled at start up. u can follow this method to disable unwanted processes in starter_non_critical & starter_background_apps. But u can't do like this for starter_arm. See the below note.

Note about editing Starter_Arm.rsc:

The starter_arm.rsc is quite different from other starter files. If u disable any process in this file by renaming the .exe to .ex$ method then it'll result in continuous rebooting of the phone.

So if u want to disable any unwanted process in starter_arm.rsc then u need to rename the ******.exe as apsexe.exe (******.exe is any unwanted process u want to disable).

This info was given by Aeronliru. So credits to him.

Some special info about starter_arm.rsc by shivam94:

In starter_arm.rsc, there are 3 processes put under reserve which are fbserv.exe,hwrmserver.exe and  ailaunch.exe. All these 3 apps are non-terminable.The ailaunch.exe is your homescreen process. That means you cannot terminate your homescreen. So , If you want to load any other hs like spbshell as your default hs, then put your spbshell .exe which is ShellMenu_20028b16.exe instead of ailaunch.exe . But on doing this, please note that you will not get your phone network.  So it is must to include ailaunch.exe in either starter_arm.rsc or starter_non_critical_1.rsc

Note:

What I mean by non-terminable is that if you try to terminate ailaunch.exe, then it automatically restarts again.

Processes under Starter_Arm.rsc:

accserver - Server enhancements. Provides the HDMI, TV-out, USB, BT, Audio accessories. After disabling the phone will not turn on or reboot.

akncapserver - Application Server. Maybe kind of applications. After switching off there "bunch of bugs" (the menu does not run on the desktop can not run anything, the buttons do not work ...)  .Don't disable

apsexe - Phone freezes 

bsengine - Responsible for setting the focus for the applications described in the private \ 2000F83E \ bs_config.xml. No serious bug after disabling will not. Sometimes it's even better without it. Therefore, disable it.

calensvr - Linked to the work calendar. Starts clock when the phone is turned off. Duplicated in starter_non_critical_1.rsc. If you disable both "starters", the alarm will not operate when the phone is turned off and will not charge the phone when it is turned off.

cntsrv - work-related contacts. After disconnecting the phone will not turn on or reboot.

CFServer - Responsible for the work rules in the folder \ private \ 10282BC4. Duplicated in starter_non_critical_1.rsc. Do not disable it.

DbRecovery-Responsible for the restoration of databases. The consequences of disabling is not known.

fbserv - Responsible for the fonts and bitmaps. Do not disable it.

hwrmserver - Hardware Resource Manager Plug-ins. This provides control of vibration, lights and power. Works with files from private \ 101f7a02 \, which exhibited the priorities of different processes. Do not disable.

ailaunch - Responsible for the desktop. You can turn off if you, for example, using the SPB Shell(but terminating not possible as it is under reserve process.  More info above)

locod - Local connection. Duplicated in starter_non_critical_1.rsc. Not working USB, WiFi, GPRS. Don't disable

mediatorserver - do not disable.

matrixmenu - Responsible for the menu. If you do not need it - unplug.

clknitzmdls - disabling consequences are not known.

phoneui - Responsible for the interface "dialer." Do not disable.

ProfileSettingsMonitor - Monitoring configuration profiles. The consequences of disabling is not known.

randsvr - disabling consequences are not known.

eshell - Designed to run applications from the command line, and somewhat resembles DOS. File not found, and thus can be disabled.

SPLASHSCREEN - Responsible for startup screen on boot. Do not disable.

startup - Starts the animation and sound enable \ disable the greeting (if enabled). Settings are taken from the file cenrep 101F8763. Do not disable.

sysagt2svr - Agent System. As far as I understand, allows programs to access and access to global variables, and notifications, determining, for example, battery status and network. The consequences of disabling is not known.

sysap - Responsible for lot of essential things.do not disconnect.

touchscreencalib - Calibration screen. Performs automatic calibration of the screen when running on the phone .This application has no Practical application in the startup. If your screen calibration is disturbed, you can easily re-calibrate by hand - by going to "Settings-Phone-Touch Input-caliber. Touch. Screen." You can disable it.

tzserver - setting of time zones. After you turn off the start.

UsbWatcher - Linked to the work of USB. Repeated in starter_non_critical_1.rsc After disabling will not work USB connection.

ewsrv - Text shell window server do not disable it.

cseschedulerserver - Video-in scheduler. Scans the folder for the presence of video files, scheduling of video sharing, video bilioteki. When you start sharing a video player, and you can manually update the list. Repeated in starter_background_apps.rsc. You can disable it.

welcome2.exe - Welcome at the first start of the phone(eg after flashing). You can disable it.

Processes under starter_non_critical_1.rsc:

islocalizerapp - is responsible for service  Here and Now. if you don't use it  disable it.

AlwaysOnlineStarter - online email, i disable it

autolock - autolock. if it's disabled then the phone will not lock automatically.

calensvr - Linked to the work calendar. Starts clock when the phone is turned off. Duplicated in starter_Arm.rsc. If you disable both "starters", the alarm will not operate when the phone is turned off and will not charge the phone when it is turned off.  Don't disable it

CbsServer - this is responsible for the messages from your operator.

CFServer - responsible for rules from folder \private\10282BC4.Duplicated in starter_Arm.rsc. do not disable.

DataConnectionLogger - control the conection (GPRS, WLAN, and other.) if disabled will not show the connect icon on internet connection and other internet stuff.Don't disable it.

contentharvester - controls the widgets from homescreen , contacts widget will not work correctly if it will be disabled

dmutilserver - device manager (most likely technology OMA Device Management). Phone will not turn on or reboot.  Don't disable

gsserver - responsable for phone menu "Setup" or parameters .  do not disable will not work tv out and the phone will reboot

mdswatchdog - some monitoring of apps, did not find what it's affects. The consequences of disabling is not known

HotSpotServer - quick connect to  WiFi.  on 5230 or who doesnt have wi fi disable it.

ippushman - disabling consequences are not known.

locod -  will not work  USB, WiFi, GPRS. Duplicated in starter_Arm.rsc . On disabling, Not working USB, WiFi, GPRS . Don't disable.

ncnlist - will not show missed calls and sms

pocstarter - Responsible for the work of the service Push to talk over Cellular(more info here. If you don't use it ,disable it.

provisioningsc -  OMA Client Provisioning technology .If you don't use, then disable it

rsfwbootmounter - Support for remote drives.The remote disks will not work. If there is no support - you can disable it.

RLock - Allows you to lock your phone and memory card. If this function is not necessary - you can disable it.

SatServer - SIM Application Toolkit(more info here  . Don't disable it.

schexe - Start Task Scheduler  The consequences of disabling is not known.

sipprofilesrv    - if you don't use SIP technmology ,disable it

epos_omasupllistener - responsible for location,  A-GPS.  - if you wish disable it

UsbWatcher - will not work USB

vcommandmanager -Responsible for the operation of voice commands when you disable voice commands will not work.If you wish, disable it

watcher - you will not receive SMS, don't disable

xnthemeserver - responsible for themes . 

for C6 fw the file is missing - you can disable it.

for other s60v5 fw, After disabling error pops up and the process restarts.-don't disable it

CfmBtCfgServer - Linked to the work of BT. Incorrect operation of Bluetooth, Bluetooth configuration failure devices. Disabling it is not recommended

SystemAMS - Manager application management (most likely only java applications). After disabling the java application will not work

locationconfigurationcontroller - Responsible for the correct operation of GPS. If you turn off will not automatically adjust the current location. When you run the cards and applications, "Location", and will adjust automatically launch (5530/5800). If this function is not necessary - you can disable it.

If you deleted maps from cfw then disable it

startupsettings - if enabled, defines operator settings automatically(Thanks to ichigomady for this)  - disabling not recommended

CfmBtCfgServer - responsible for Bluetooth, do not disable

xmppstarter - OVI contacts, if disabled will be free memory and the OVI contacts will not be loaded.  Disable it.

securewidgetpreinstaller - Makes available previously installed applications on a flash drive, for example, after resetting the phone to the factory. When you first start the phone installs the application from the folder \ data \ securewidgetpreinstall.  If this function is not necessary - you can disable it.

emailservermonitor - Linked to the work of the standard mail client. If you do not use it - turn it off

cctautosync - disabling consequences are not known

mediabar - Responsible for the work Mediabar. run by pressing the XM. If this function is not necessary - you can disable it.

popupclock - responsable for  Swipe to Unlock (or Tap to Unlock), if you don't use disable it

spwatchdog - disabling consequences are not known

Disabling apps in starter_background_apps.rsc:

clockapp - clock, if you want disable it, the clock will work but it will not run in background

iaupdatebg - check for updates, if you want disable it

logs - Logs.  if you want disable it  .

mce - Messages .  if you want disable it

phonebook2 - Contacts .    if you want disable it.

cseschedulerserver - Video-in scheduler. Scans the folder for the presence of video files, scheduling of video sharing. When you start sharing a video player, and you can manually update the list. Repeated in Starter_Arm.rsc. If this application is not needed in background, then turn off.

welcome2.exe - welcome note from nokia, disable it

DRMHelperServer - DRM.security disable it

FavouritesSrv -  if you don't use standart web browser disable it 

FeedsServer - if you don't use standart web browser disable it

locationmanagerserver -place location.  if you don't use it turn off

mpxcollectionserver -  if you don't use original music player disable it, if you will disable and will start the music player the phone will reboot

mpxharvesterserver -  if you don't use original music player disable it, if you will disable and will start the music player the phone will reboot

mpxplaybackserver - if you don't use original music player disable it, if you will disable and will start the music player the phone will reboot

WimServer - disable it 

wlmserverexe - wlan or wi fi .    if you want disable it, on phones that don't have wi fi.

wndrmpkserver - Windows Media DRM security  if you want disable it.

wndrmserver - Windows Media DRM security  if you want disable it.

Credits (For these explanations): shivam94, newcooler, aeronliru, drakulaboy, lamerfall and other modders i don't know.

For more info about editing starters see here:

Editing starter files of s60v5 fw-detailed

How To Add Rompatcher in Start Up:

Integrate Rompatcher 3.1 into ur cfw. Then to add rp+ to start up (so that the patches can auto start), u need to edit the starter_non_critical_1.rsc. Do like below.

Replace z:\sys\bin\provisioningsc.exe with z:\sys\bin\RPPAuto.exe in starter_non_critical_1.rsc .

How To Add Apps With Auto Start To The Start Up:

I have explained the easiest method. Go through the steps below.

1. Just extract the application using sis content. Go to C_Private\101f875a\import\ . U'll find a .rsc file in it

(For example u want to add belle topbar application to start up. Just see the picture below to be specific to know which is the process responsible for auto start)

Posted Image

2. Open this .rsc file with resedit and u'll see a string in it which gives u info about the process responsible for auto starting the app.

(As u can see in the picture below. Here Belle_Topbar_Auto.exe is the process which is responsible for auto start of the app)

Posted Image

3. Now edit the starter_non_critical_1.rsc. Edit any unwanted process with this one as u did for Rompatcher.

U r done. :)

Posted

Modding The Files In 10202be9 Folder (Cenrep Mods):

The Private\10202be9 is the directory into which all the s60v5 developers and modders are looking for. This directory contains all the cenrep files (setting files) crucial for a smooth operation of the OS. Almost 80% above mods available in s60v5 forums are cenrep mods. All the files present in this directory are in .txt format. About 400+ files are present in this directory. We can edit these .txt files by changing some values in them. For example the kinetic scrolling mods available in forums are just done by modding the 20021192.txt file (present in private\10202be9 directory) with different values.

Each text file represent one application.

See the code below to know which text files represents which application.

accessoryserver_1020505A.txt
accesspoints_10008D3A.txt
accesspoints_10008D3B.txt
accountcreationplugin_2001e321.txt
actionpriorities_2001FE0E.txt
activeidle_10207467.txt
activeidle2_10275102.txt
airfsplugin_2000F86E.txt
aknfep_101F876D.txt
aknphysics_20021192.txt
aknskins_101F876F.txt
aknskins_10282CB2.txt
akntouchgesturefw_2002676F.txt
alwaysonline_102071F2.txt
ape_suplpsy_20026FB7.txt
application_management_1020781C.txt
audioequalizerutility_10203833.txt
autolock_102824ae.txt
avkon_101F876E.txt
avkon_102858F2.txt
BookmarkItems.gcfml
browserui_10008D39.txt
browserui_101F861B.txt
bteng_10204DA9.txt
bteng_10204DAA.txt
bteng_10204DAB.txt
bteng_10204DAC.txt

Download the complete list from here.

This was given by Vizhigal in the thread: Cen Rep- 10202be9 files - with application name details .

Visit the thread i mentioned above to get more info about 10202be9 file description.

Download the complete 10202be9 files description (by CODeRUS) from here.

Another most important site for the 10202be9 directory. This is the BE9 folder encyclopedia. Here u can get 100s of txt files with description of values too.

Another code for u for more clear information about BE9 files. This is found from opda forum. Posted by rolelili.

101f8770.txt Now Playing  
                    This changed does not, or even counter-productive. Take a look. We are interested in themselves to try to find out.

1020744e.txt Animated screensavers  
                    0x2 int 90 seconds, saving time for the duration of protection  
                    0x3 backlight time for the animated screensavers.

101f876e.txt set the font size   
                   0x6, 0 is in a small, 2 large.

101f877c.txt screen backlight timeout 
                   0xb, 0 to the time you want.
                   0x8, power saver time

101f874d.txt alarm clock 
                    0x2 set the alarm snooze time, the default is 5 minutes.

10281c7d.txt voice recognition sensitivity 
                    0x2 set the volume
                    0x3, 5 to 10 for the highest sensitivity.

101f877a.txt keyboard autolock time 
                    0x5, 60 to the time you want.

10282df0.txt navi wheel 
                    0x1 in the 0 off, 1 to open.
                    0x5 for the light efficiency, 1 and 0 is off.

101f87a3.txt recording quality 
                    0x0 int 1 open call recording, "1" means open, "0" means off
                    0x1 int 0 "0", said AMR format (compatible with MMS), "1" WAV format (in), "2" indicates MP4 format (high)
                    0x2 int 1 1 "said the loud speaker," 0 "handset
                    0x3 int 2 4 "stored in the memory card, said," 2 "means stored in phone memory
                    0x4 int 4 value 0-10 handset
                    0x5 int 4 value of putting recording 0-10
                    0x6 int 0 0 "said AMR format," 1 "WAV format," 2 "indicates MP4
                    0x7 int 60 maximum recording time unit is the minute.
                    0x14 int 60
                    And consistent 0x7

101f8831.txt Call Report 
                    0x1 in the 0 to 1 to open.

101f874e.txt Show call duration 
                    0x9 in the 0 to 1 to open.

101f87eb.txt information menu font size 
                    0x8 in -1 as the default, 1 is small, 2 large, 0 is normal.
                    0x1 set the number of information storage.
                    0x2 set to save sent messages, one for storage, 2 does not exist

10207e2.txt message editor font size
                  0x1, 1 small, 2 large, 0 is normal, 3 is the default.

101f87ef.txt character encoding
                   0x8, 1 to support the simplified characters, 0 for the support of all the characters.

100058db.txt MMS settings
                     0x4, 1 is to receive ads, 0 are not accepted.
                     0x6, 1 is to allow anonymous information, 0 is not allowed.
                     0x7, which is set to receive the report, 129 was not, was sent to 128 cases.
                     0x8, 128 is allowed to send the report, 129 are not allowed.
                     0x9, set the MMS period, 1 for 1 hour, 2 for the longest time, 24 to 24 hours
                     6 for 6 hours, 3 days is 72 hours, instead of 72 is set 3 days to 168 the same way that week.

1000102c.txt SMS settings 
                    0x00000003 effective time in the settings, the default is 10080, which is one week,
                    The difference is that with the MMS, MMS is calculated by the hour, while the message is calculated by the minute
                    And to 2 for the longest time, the other we all calculations.
                    0x00000010 to set the preferred connection, 3 GSM, 2 for the packet data.
                    0x00000007, 2 for fax, 0 for text.
                    Detestable is to receive the report I can not find, hey. We look for, if not it will use CP.

101ffc03.txt player settings
                   0x1 int 40 MPX volume range :0-100 
                   0x2, 0 to shuffle off, 1 to open.
                   0x3, 0 to repeat play off, 1 for the repeat song, repeat all 2.
                   0x4 string "0x101FFCA9" MPX view the default view of the type of tool UID (default is the music player's subjective)
                   0x5 int 1 0 MPX pre-initialize the playback engine is enabled   
                   0x6 int 15 MPX maximum data size, unit MB
                   0x102072C3 string "0x101FFCA9; 0x101FFCA1; 0x101FFCA0" MPX default view history

10201afd.txt 3D ring setting
                    0x1, 0 is off, 1 is open.
                    0x2, set the audio track,
                    0 off, 1 for the circular, 2 over the type, whom sub-type 3 and 4 for the winding-shaped, 5 to Random.
                    0x6, set the Doppler effect, Doppler effect 1 is open, 0 for no.
                    0x5, 0 relations for the Doppler effect, 1 is on, (Oh, to be distinguished above yourself and try it)   

101f880a.txt realplayer settings
                    0x3, 0 to repeat play off, 1 to open.
                    0x5, 0 for the full-screen playback, one for Windows playback.

102750e2.txt Video Center
                    0x4, 0 for the scaling relations, one to open.

101f8751.txt network settings  
                    0x6, set the cell information, 0 is off, 1 is open.
                    0x3, this is not OK, it should be the network choice. 0, for the automatic, 1 manual.

101f877e.txt Call
                    0x1 in, any key answer, 0 for off, 1 to open.
                    0x2, automatic redial, 0 is off, 1 is open.
                    0x3, the speed dial, 0 is off, 1 is open.
                    0x6, 0 is the default short messages (over'll call you), 1 for their own editing.
                    0x7, through the information refused to call a default "yes", 0 "no."

101f8801.txt USB connection mode
                    0x1, connect, asked, 1 is yes, 0 no.
                    0x2, the connections, 113 connections for the pc suite, mass storage 114, 115 Image Transfer

Sorry I couldn't include all the descriptions in this code coz no. of characters limits to 20000 in one post and the descriptions is really a big list. But don't worry. I have included the whole list in a text file :)

Click here to download the complete list of 10202be9 clear desc. from OPDA

Some Important Cenrep files:

101F876F: Default theme settings

10207342: Default homescreen settings

101F8798: Profile settings and Alarm snooze & sound settings

10283344: UI Acceleration settings

101F877A: Automating Keyguard time

10207B87: Radio predefined channel settings

10008D39: Browser

101F874B: Calender

101F8763: Start up & shut down configuration

101f8794: Phonebook sorting

101F87A3: Voice recorder

101F87EA: Predefined mailbox settings

101F87EB: Message UI

101F87EF: SMS settings

101F8831: Call summary settings

101FFA86: Camera

101FD67E: WLAN scanning interval

10200C8C: Light sensor settings

102072C4: FOTAserver configuration

102072C6: FOTA disk storage configuration

1020730B: TV-Out settings

10207A84: Sterio widening presets

102818E8: Theme specific settings

1028281E: Audio message settings

10282EDC: Image & Video quality settings

10282F0F: Screen Orientation parameters

2000CFD9: 3rd party application orientation

200159ED: core application orientation

10008D5E: Default font size

101F8769: Charger notifying settings

Note regarding CREs:

Sometimes u may get the mods in .cre format. U need to put them in BE9\persists folder. These r the compiled form of the be9 mods and the problem is that they will only work from C:\. If we put them directly in Z:\ (i.e the rofs2) then they will create conflicts and u may get error after flashing. So they will work only if we put them in UDA. But when u format ur phone, these mods will be gone.

Not to worry. There is a method by which we can put the cre mods in Z:\ but they will work from C:\ and they will not be deleted after formatting also. We need to mod the scriptinit.txt file to achieve this. I'll explain the scriptinit modding later in this thread.

Its better to go for .txt mods rather than .cre mods.

Modding BE9 Files With Easy Examples:

1. Messaging menu mod:

Cenrep file -> 101f87eb.txt

cenrep
version 1
[owner]
0x100058CD
[defaultmeta]
 16777216
[platsec]
 cap_rd=alwayspass cap_wr=WriteDeviceData
[Main]
0x1 int 20 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x2 int 1 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x3 int 2 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x4 int 2 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x7 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x8 int -1 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x9 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xA int 64 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xB int 1 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xC int 5 0 cap_rd=alwayspass cap_wr=alwaysfail
0xD int 4098 0 cap_rd=alwayspass cap_wr=alwaysfail
0xE int 7 0 cap_rd=alwayspass cap_wr=alwaysfail
0xF int 4101 0 cap_rd=alwayspass cap_wr=alwaysfail
0x10 int 4100 0 cap_rd=alwayspass cap_wr=alwaysfail
0x11 int 4099 0 cap_rd=alwayspass cap_wr=alwaysfail
0x12 int 6 0 cap_rd=alwayspass cap_wr=alwaysfail
0x13 int 4104 0 cap_rd=alwayspass cap_wr=alwaysfail
0x14 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x15 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x16 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x17 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x18 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x19 int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x1A int -1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x1B int -1 0 cap_rd=alwayspass cap_wr=alwaysfail

The int values present in lines from 0xC to 0x1B are responsible for the entries in mesaging menu.

The values of different entries are as below:

New Message = 5

Inbox = 4098

Mailbox = 7

Sent = 4101

Draft = 4100

Outbox = 4099

Delivary Reports = 6

My Folders = 4104

Extra item (Conversations) = 8

not in use = -1

Suppose you want to place "my folders" in 1st row instead of "New message" you need to enter the value 4104 in the 0xC line.

i.e change

0xC int 5 0 cap_rd=alwayspass cap_wr=alwaysfail

to

0xC int 4104 0 cap_rd=alwayspass cap_wr=alwaysfail

And to hide any content just replace the int value with "-1" (without quote).

Suppose you want to hide the "mailbox" from messaging menu, search which line has int value "7" and replace the value with "-1".

i.e change

0xE int 7 0 cap_rd=alwayspass cap_wr=alwaysfail

to

0xE int -1 0 cap_rd=alwayspass cap_wr=alwaysfail

I just read the description of 101f87eb.txt file from HERE and modded this file.

Here u can get more clear info about the messaging menu mod.

2. Default Homescreen mod (Only For OFW or CFWs based on OFW):

Cenrep file -> 10207342.txt

U need to change the value in this line.

0x102750f0 int 536988645 16777216 cap_rd=ReadDeviceData cap_wr=WriteDeviceData

The values for different homescreen themes are as below.

Basic = 271068379

Contacts Bar = 536988645

Shortcuts Bar = 271068379

Suppose u want to make Basic as ur default homescreen theme. U have to do like below.

Change

0x102750f0 int 536988645 16777216 cap_rd=ReadDeviceData cap_wr=WriteDeviceData

to

0x102750f0 int 271068379 16777216 cap_rd=ReadDeviceData cap_wr=WriteDeviceData

Original Post Here

3. Make your desired theme as default:

Cenrep file -> 101F876F.txt

cenrep
version 1
[owner]
0x10207114
[defaultmeta]
0
[platsec]
cap_rd=alwayspass cap_wr=alwayspass
[Main]
0x1 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x2 string "537014056" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x3 string "0" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x4 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x5 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x6 string "" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x7 string "0" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x8 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x9 string "" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xA int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xB string "" 0 cap_rd=alwayspass cap_wr=alwaysfail
0xC string "0" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xD string "0" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xE int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0xF string "0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x10 int 1 0 cap_rd=alwayspass cap_wr=alwaysfail
0x11 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x12 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData
0x14 string "20022F28" 0 cap_rd=alwayspass cap_wr=alwaysfail

We need to change the values in the two lines starting from 0x2 & 0x14

The value in 0x14 is the theme UID. Change the present UID value to the UID of the theme u want to make default.

i.e change

0x14 string "20022F28" 0 cap_rd=alwayspass cap_wr=alwaysfail

to

0x14 string "2003DF53" 0 cap_rd=alwayspass cap_wr=alwaysfail

The value in 0x2 is the decimal value of the UID of the theme. Find the decimal value of the UID of the theme u want to make default and change accordingly.

Change

0x2 string "537014056" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

to

0x2 string "537124691" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

Here u can get more info about how to add ur theme and make it default.

4. Default Profile Name mod:

Cenrep file -> 101F8798.txt

This is the file which stores all profiles configuration values.

For example check this file in LinsPirate CFW. As u can see 'LinsPirate' is the default profile name.

cenrep

version 1

[owner]

0x100058F8

[defaultmeta]

16777216

0x1E000000 0x31000000 16777216

[platsec]

cap_rd=alwayspass cap_wr=WriteDeviceData

0x1E000000 0x31000000 cap_rd=alwayspass cap_wr=WriteDeviceData

[Main]

0x0 binary 00FEB1EF 0 cap_rd=alwayspass cap_wr=alwaysfail

0x1 binary 0078B1EF 0 cap_rd=alwayspass cap_wr=alwaysfail

0x2 string "LinsPirat" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x3 binary 0000 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x4 string "Z:\\Data\\Sounds\\Digital\\LinsPirat.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x5 string "Z:\\Data\\Sounds\\Digital\\LinsPirat_LTS.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x6 string "Z:\\Data\\Sounds\\Digital\\Message 1.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x7 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

Read the 101f8798.txt file description from here and change as u want.

Say I want to keep my default profile name as lrajesh555.

cenrep

version 1

[owner]

0x100058F8

[defaultmeta]

16777216

0x1E000000 0x31000000 16777216

[platsec]

cap_rd=alwayspass cap_wr=WriteDeviceData

0x1E000000 0x31000000 cap_rd=alwayspass cap_wr=WriteDeviceData

[Main]

0x0 binary 00FEB1EF 0 cap_rd=alwayspass cap_wr=alwaysfail

0x1 binary 00FEB1EF 0 cap_rd=alwayspass cap_wr=alwaysfail

0x2 string "lrajesh555" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x3 binary 0000 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x4 string "Z:\\Data\\Sounds\\Digital\\Nokia tune.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x5 string "Z:\\Data\\Sounds\\Digital\\Nokia tune.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x6 string "Z:\\Data\\Sounds\\Digital\\Message.aac" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x7 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

And now my general profile name is changed to lrajesh555. And i changed the default ringing tone and sms tone. U can configure all the profiles as u want. Just read the description n go ahead.

Posted

5. Start up & Shut down mod:

Cenrep file -> 101F8763.txt

cenrep

version 1

[owner]

0x100058F4

[defaultmeta]

0

[platsec]

cap_rd=alwayspass cap_wr=WriteDeviceData

[Main]

0x2 int 7 0 cap_rd=alwayspass cap_wr=alwaysfail

0x3 string "z:\\data\\startup.mp3" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x4 string "" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x5 string "WelcomE" 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x6 int 0 16777216 cap_rd=alwayspass cap_wr=WriteDeviceData

0x7 string "" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x8 string "" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x9 string "" 0 cap_rd=alwayspass cap_wr=alwaysfail

0xA int 1 0 cap_rd=alwayspass cap_wr=alwaysfail

0xD string "z:\\resource\\apps\\startup.mbm" 0 cap_rd=alwayspass cap_wr=alwaysfail

0xE int 100000 0 cap_rd=alwayspass cap_wr=alwaysfail

0xF string "" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x10 int 100000 0 cap_rd=alwayspass cap_wr=alwaysfail

0x11 int 4 0 cap_rd=alwayspass cap_wr=alwaysfail

0x12 string "z:\\resource\\apps\\shutdown.mbm" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x13 int 100000 0 cap_rd=alwayspass cap_wr=alwaysfail

0x14 string "z:\\data\\startup.mp3" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x15 int 4 0 cap_rd=alwayspass cap_wr=alwaysfail

0x16 string "20110615:090000" 0 cap_rd=alwayspass cap_wr=alwaysfail

0x17 int 0 0 cap_rd=alwayspass cap_wr=alwaysfail

0x18 int 0 0 cap_rd=alwayspass cap_wr=alwaysfail

0x19 int 0 0 cap_rd=alwayspass cap_wr=alwaysfail

I have pointed out the strings responsible for startup tone, startup image, shutdown tone & shutdown image. the paths to the tones or images are to be mentioned in those strings. U have to change them accordingly.

U can also change the start up note WelcomE as u want...say Operating System Not Found  :rofl:=))

And finally the last 20110615:090000 is the time setting after flash.

Here the default date after flash: 15.06.2011

and the default time: 09:00 AM

But there is a glitch i.e when you enter the above date, u'll actually get 16.07.2011 instead of 15.06.2011

So if you need the date to appear as 15.06.2011, you need to enter 20110514 in that place.

This is because the date is offset by one 20100000=01.01.2010

Full description

6. Chenge the browser open in long press "0":

Cenrep file -> 102828B2.txt

The value in 0x3 line is to be changed.

0x3 int 268471609 0 cap_rd=alwayspass cap_wr=alwaysfail

In place of 268471609 (Decimal value of the UID of browser) we can put 0xEAFE014C (UID of Kill Me) or its decimal value.

102828B2.txt description here

7. Mod to edit the system persistent apps:

Cenrep file -> 102858f2.txt

cenrep
version 1
[owner]
0x10207218
[defaultmeta]
 0
[platsec]
 cap_rd=alwayspass cap_wr=WriteDeviceData
[Main]
0x1 int 268458181 0 cap_rd=alwayspass cap_wr=alwaysfail
0x2 int 270486741 0 cap_rd=alwayspass cap_wr=alwaysfail
0x3 int 268458241 0 cap_rd=alwayspass cap_wr=alwaysfail
0x4 int 268458243 0 cap_rd=alwayspass cap_wr=alwaysfail
0x5 int 270486734 0 cap_rd=alwayspass cap_wr=alwaysfail

                        Decimal No.      0x(Hex No.)

Messaging        268458181      0x100058C5   

Log                  270486741      0x101F4CD5

Calendar          268458241      0x10005901

Clock              268458243      0x10005903

Contacts          270486734      0x101F4CCE

If u don't want any of these apps to run in background then just remove them.

Suppose u don't want the clock & contact apps to run in backgroung then just remove them as below

cenrep

version 1

[owner]

0x10207218

[defaultmeta]

0

[platsec]

cap_rd=alwayspass cap_wr=WriteDeviceData

[Main]

0x1 int 268458181 0 cap_rd=alwayspass cap_wr=alwaysfail

0x2 int 270486741 0 cap_rd=alwayspass cap_wr=alwaysfail

0x3 int 270486734 0 cap_rd=alwayspass cap_wr=alwaysfail

Or,

cenrep

version 1

[owner]

0x10207218

[defaultmeta]

0

[platsec]

cap_rd=alwayspass cap_wr=WriteDeviceData

[Main]

0x1 int 0x100058C5 0 cap_rd=alwayspass cap_wr=alwaysfail

0x2 int 0x101F4CD5 0 cap_rd=alwayspass cap_wr=alwaysfail

0x3 int 0x101F4CCE 0 cap_rd=alwayspass cap_wr=alwaysfail

8. Gallery Mod:

Cenrep file -> 102828AC.txt and 200009FE.txt

Add excluded folders path to 0×2 in 10282AC.txt

and 0x1xxxx in 200009FE.txt.

Gallery won't read the exluded folders.

9. Music player folders mod:

cenrep file -> 101FFCD2.txt

Set the paths to the folders, where u want the music player to look into, in 0x1.

10. Music Player Heap Size 30Mb:

cenrep -> 101FFC03.txt

set 0x6 int value to 30

11. Browser's Cache mod:

cenrep -> 101F8557.txt

Change the drive in 0×3, 0×4, 0×8 to “E:\..”

Set 0×2, 0×5, 0×9 to 0, to have INFINITE cache

12. Missed call or new msg notification remove mod:

cenrep -> 102824a0.txt

change "0x1 int 63" to "0x1 int 60"

13. Media Player volume set to 100%:

cenrep -> 101F880A.txt

set 0x2 string to '10

14. Video Player Volume set to 100%:

cenrep -> 102750E2.txt

change the value of 0x6 string to '10'

15. Change Right soft key  to your own app:

cenrep -> 10275102.txt

Paste your desired app UID in 0x102C string in quotes, for example "localapp: 0x101F4CD2"

16. Autorotate off by default:

cenrep -> 10282DF0.txt

change the value of 0x3 string to '11'

1 = only silencing calls

11 = both silencing calls n snoozing alaram

111 = silencing, snoozing n autorotate

10 = only alarm

100 = only autorotate

110 = alarm n autorotate

101 = silencing n autorotate

17. Received calls, Messages, Dialled calls, Sent messages show device time (not operator time):

cenrep -> 101F87EF.txt

change value of 0x19 string to '0'

Modding other files than the BE9 cenrep files:

1. The 10282BC4 Folder:

the 10282bc4 folder under private is also an important folder. It contains the rules. The rules r responsible for the light settings, key settings, vibration settings etc. They can be modded by using any resource editor or hex editor.

The light mods by mara r some examples of modding rules from this folder.

The tactile feedback in calls is also a rule mod.

Another rule mod os no vibration with unlock key.

2. Modding the Scriptinit.txt File:

What is scriptinit.txt ?: This is a text file present in rofs2\private\100059c9.

What does it do ?: This file is used to automatically create folders in desired drives after flashing the phone or formatting the phone.

The scriptinit will create folders and copy certain files as and when required to their respective places.

For example u integrated rompatcher in ur CFW. But now rompatcher requires the patches to be in either C:\Patches or E:\Patches. Someone from you may say that he will place the patches in UDA and will flash with UDA and so the matter is finished. But the problem is that after u give a hard reset to ur phone, the patches will also be deleted. To avoid this problem u need to write some commands in the scriptinit.txt file so that the patches folder will be automatically created in C:\ or E:\ as per ur command.

The default scriptini.txt looks like below:

PLUGINS
CD C:\
MD xmppui\
CD C:\Private\
MD 2001A94D\
CP Z:\Private\2001A94D\* C:\Private\2001A94D\
CP Z:\Private\2001A928\* C:\Private\2001A928\
CD C:\Private\
MD 200009F3\
CD 200009F3\
CP Z:\Private\200009F3\schema.mde
CP Z:\Private\200009F3\defaultimportfile.mde
CP Z:\Private\200009F3\backup_registration.xml
CD C:\Private\	
MD 10281E17\
CD 10281E17\
CP Z:\Private\10281E17\backup_registration.xml
CD C:\Private\
MD 200009F5\
CD 200009F5\
CP Z:\Private\200009F5\backup_registration.xml
CP Z:\Private\200009F5\mappings.db
CD C:\Data\Others\
CP Z:\Private\200009FD\MdEExampleImportMetadata.mde
CP Z:\Private\200009FD\test_schema.mde
CD C:\Private\
CP Z:\System\Data\Cubes.jpg      C:\Data\Images\Backgrounds\Cubes.jpg
CP Z:\System\Data\Dot_matrix.jpg C:\Data\Images\Backgrounds\Dot_matrix.jpg
CP Z:\System\Data\Hexagon.jpg    C:\Data\Images\Backgrounds\Hexagon.jpg
CP Z:\System\Data\Soundwaves.jpg C:\Data\Images\Backgrounds\Soundwaves.jpg
CP Z:\System\Data\Wavelength.jpg C:\Data\Images\Backgrounds\Wavelength.jpg
CD C:\System\
MD WidgetLibs\
CD WidgetLibs\
CP Z:\System\WidgetLibs\platformservices.js

List of Commands:

CD <path>
Changes the default path.
A full path including a drive letter must be given and there MUST be a "\" in the end of the path.
Note that the source file parameter in CP command has to contain a full path always.
----------------------------------------------------------------------------------------------------------------------------------
DEL <filename>
Deletes the file(s). 
File name has to contain full path.
Can't delete a directory with this. 
Wildcards can be used in the filename.
----------------------------------------------------------------------------------------------------------------------------------
RD <directoryname>
Removes the directory and the whole directory structure under it, recursively.
All files in directories are deleted, too.
Directory name has to contain full path.
NOTE: There MUST be a "\" in the end of the path.
----------------------------------------------------------------------------------------------------------------------------------
MD <directoryname>
Creates the directory structure given as a parameter.
Directory name has to contain full path and there MUST be a "\" in the end of the path.
----------------------------------------------------------------------------------------------------------------------------------
CP <source_filename> [destination_filename]
Copies the source file to the destination file.
Source file name has to contain full path.
Destination file name, if given, can be relative to the default path given with CD command.
This command creates the target directory if it doesn't exist and it can be used to copy whole directory structures recursively.
Wildcards can be used.
If the destination file name is not given, the same file name as in source file(s) will be used, but the destination drive is changed to C: (useful when copying from Z: )
----------------------------------------------------------------------------------------------------------------------------------
SD <uid> [setting_name1] [setting_name2] [setting_name3]
Restores the setting(s) stored in Series60 shared data files to the original values that are stored in ROM.
UID of the shared data file has to consist exatly from 8 hex numbers.
If the setting_name parameters are given, only those settings are restored, otherwise the whole shared data file is restored.
-----------------------------------------------------------------------------------------------------------------------------------
PLUGINS [plugin1] [plugin2] [plugin3] ...

-----------------------------------------------------------------------------------------------------------------------------------
FORMAT <drive>
Formats the whole drive erasing all contents.
Drive definition must be exactly the drive letter followed by a colon.
-----------------------------------------------------------------------------------------------------------------------------------

Example script: (all commands are in the correct format)

CD C:\system\data\
// changes the default directory, notice the trailing '\'

DEL myfile.ini
// deletes a file relative to default path
// (target is C:\system\data\myfile.ini)

DEL C:\system\data\apps\myapp\settings.dat
// deletes a file

DEL "C:\system\data\apps\myapp\other setting with long file name.dat"
// deletes a file

DEL C:\system\data\apps\myapp\*
// deletes recursively everything under directory C:\system\data\apps\myapp\

RD C:\system\data\apps\myapp\
// removes directory and its contents

MD C:\system\testdata\
// creates directory, notice the trailing '\'

CP Z:\system\backup\mysetting.dat C:\system\data\mysetting.dat
// copies a file to the specified target location

CP Z:\system\backup\mydir\* C:\system\data\mydir\
// copies recursively everything under Z:\system\backup\mydir\
// to C:\system\data\mydir\

CP Z:\system\data\mysetting.dat
// copies Z:\system\data\mysetting.dat to C:\system\data\mysetting.dat

CP Z:\system\data\mydir\*
// copies recursively everything under Z:\system\data\mydir\
// to C:\system\data\mydir\

SD 100059a4
// Restores the whole shared data file which has the uid 0x100059a4.
// this is done by deleting the possible shared data file in C: after which
// the default file in Z: will be automatically used by shared data server.

SD 100059a4 VmbxNumber
// Restores the setting "VmbxNumber" in a shared data file 100059a4.ini.
// Default value is taken from a default shared data file in ROM.

FORMAT C:
// formats the drive C: erasing all contents
Credits to Szakalit for the scriptinit.txt description.

Example (how to mod this file to copy the patches to E:\Patches after flash):

1st create a folder containing the Patches folder. The Patches folder contains the rp patches.

Lets say I made the Patches folder in a folder by the name "lrajesh555" in rofs2. So patches are in rofs2\lrajesh555\Patches

Now I'll add these two lines to the scriptinit.txe to create the E:\Patches folder and copy the patches from rofs2\lrajesh555\Patches to E:\Patches

MD E:\Patches\

CP Z:\lrajesh555\Patches\* E:\Patches\

So the final txt should look like below:

PLUGINS
MD E:\Patches\
CP Z:\lrajesh555\Patches\* E:\Patches\

CD C:\
MD xmppui\
CD C:\Private\
MD 2001A94D\
CP Z:\Private\2001A94D\* C:\Private\2001A94D\
CP Z:\Private\2001A928\* C:\Private\2001A928\
CD C:\Private\
MD 200009F3\
CD 200009F3\
CP Z:\Private\200009F3\schema.mde
CP Z:\Private\200009F3\defaultimportfile.mde
CP Z:\Private\200009F3\backup_registration.xml
CD C:\Private\	
MD 10281E17\
CD 10281E17\
CP Z:\Private\10281E17\backup_registration.xml
CD C:\Private\
MD 200009F5\
CD 200009F5\
CP Z:\Private\200009F5\backup_registration.xml
CP Z:\Private\200009F5\mappings.db
CD C:\Data\Others\
CP Z:\Private\200009FD\MdEExampleImportMetadata.mde
CP Z:\Private\200009FD\test_schema.mde
CD C:\Private\
CP Z:\System\Data\Cubes.jpg      C:\Data\Images\Backgrounds\Cubes.jpg
CP Z:\System\Data\Dot_matrix.jpg C:\Data\Images\Backgrounds\Dot_matrix.jpg
CP Z:\System\Data\Hexagon.jpg    C:\Data\Images\Backgrounds\Hexagon.jpg
CP Z:\System\Data\Soundwaves.jpg C:\Data\Images\Backgrounds\Soundwaves.jpg
CP Z:\System\Data\Wavelength.jpg C:\Data\Images\Backgrounds\Wavelength.jpg
CD C:\System\
MD WidgetLibs\
CD WidgetLibs\
CP Z:\System\WidgetLibs\platformservices.js

This way u can put some of ur favourite wallpaers in ur rofs2 and copy them to a folder say E:\My_CFW after flash.

3. Remove the "message:" from writing message ui :

We want to remove the "Message:" from the message writing menu.

Posted Image

Posted Image

The file to be modded is MsgEditorAppUi.rNN (NN - your language code). U can find it in rofs2\resource.

Another tool named SymbianRSC is required to mod this file to remove the "Message:"

1. Start SymbianRSC.

2. Open your MsgEditorAppUi.rNN file

3. Go to the last point & do as shown in the figure.

[img width=586 height=420] oswu8xi.png

Credits to draculaboy for this mod.

4. Editing the notification widget words:

File to be modded is resource\apps\notifierharvesterstrings.rNN (NN - your code language). Open it using RSCEditor and edit the 1st string as u want.

Posted Image

5. MatrixMenu mod:

The easiest way is to do ur arrangement of menu as u wish in ur phone. Then go to C:\Private\200113dd\content\matrixmenudata.xml. Then copy the matrixmenudata.xml to ur pc and put into the respective folder in the rofs2 i.e put in rofs2\Private\200113dd\content\ . Replace the existing one with this modded one.

By the way another tool named as Symbian Menu Editor is also available using which u can edit the matrixmenudata.xml file in ur pc.

[img width=238 height=420] Z7nmLilKsxzo.png

6. How to persist the homescreen after flash:

Edit rofs2\private\200159c0\install\view\hsps\00\viewconfiguration.xml .

THe UID of the widgets:

Profile Widget- 0x2001cb7c

Music Player- 0x10207c18

Calendar- 0x2001f481

EMail Widget- 0x2001E2CA

Empty field- 0x2001f47f

Notifications- 0x200255b4

Shortcuts-0x20026f4f

(under shortcuts you can add four attribute, choose uids of apps you want)

Favorite contacts-0x20022EBA

Here u can get UIDs for a lots of apps. Plz visit this thread.

U can also use AppUIDViewer to know the UIDs of several apps.

7. Add ur desired font:

Download the font u want to use in ur CFW.

Then make 4 copies of it & rename them as:

s60snr.ttf

s60ssb.ttf

s60tsb.ttf

S60ZDIGI.ttf

Put all these 4 files in rofs2\resource\fonts

Here is the fonts collection for s60v5 by GizmoLord

8. Profile Widget after swype mod:

File: \private\200159c0\install\profile\hsps\00\widgetconfiguration.xml

Change the value as

true = profile widget will disappear after swype

false = won't disappear

Posted

Some useful threads for the the CFW makers:

All mods for CFW | All s60v5 devices

How to make ur own splashscreen

Nokia QWERTY Keyboard editor

Media bar editor

Importing language in C6/N97 Ported CFWs

Start up and shut down gif file collections

Many theme effects and icon packs can be found here

C6/N97 cores (Mediafire links)

How to add ur configured apps into ur CFW:

Suppose u installed an application into ur phone (in C:\ or E:\). And u want to put it in ur CFW such that the configurations in the app won't change after flashing. Then just do one thing... Copy their private folders and save them in ur pc. The private folders of the applications are names as the UID of the apps.

Say u configured the kill me app and want to integrate this kill me confired by u so that after flashing the options will remains same as u changed before flashing. So just copy the folder C:\Private\EAFE014C or E:\Private\EAFE014C (EAFE014C is the UID of kill me) (C:\ or E:\ is the directory in which u installed kill me). Now integrate kill me to ur CFW and after integrating copy that private folder u saved to the corresponding location in rofs2.

In this way u can save ur games' data after flashing also so that after flashing u won't cry about losing ur high scores. :troll:

Final Tips For CFW Makers:

* Try to have a good practice of making separate folders for all ur extracted apps. Make another folder for the confirmed working mods u want to put in ur CFW. If u don't do like this then it would be very difficult to find which mod or which file is causing the bug (if u get any).

* Once u have cleaned ur rofs2, keep a back up of it. So that if anything goes wrong in the midway then u wouldn't need to start everything from the scratch again.

* Keep the original extracted rofs2 in a separate folder. At least the original BE9 files. Here by original i mean the files untouched or unmodified by u,,Not the OFW base. Whether it may be OFW,C6 or N97. I mean to say that keep the original files of ur base fw in a separate folder.

* Before u release it in public, check it thoroughly for bugs. U may also give the files to some beta testers to be tested.

Bug removal tips:

Bugs are the most irritating things after making ur CFW. There are 90% chances of getting bugs if u have just put the mods found in forums into ur CFW without testing them. Try to solve them by urself or ask in forums about the bugs u r facing and get them solved before finalizing ur CFW.

Mostly u can find few clues from the bugs. Say u r getting error with camera application. Then U r sure that there is something wrong with the files related to camera app. So try to remove the camera files n replace them with the original camera files and keep replacing camera files until u get no error with the camera app. In this way u can solve the bugs.

If u find some major bugs then just feel free to ask here or in other forums.

And the most irritating thing is that u need to flash ur phone more than 200 or 300 times if u r making a cfw completely from scratch (means clean c6/n97/ofw base ports)

Finally hope ur CFW contans no bugs and others enjoy ur CFW. :)

Thanx for ur patience for reading this whole thread.

Hope in few days i can see hundreds of new CFWs in CFW release thread. :P:D

Let me know if I left anything so that I'll try to add them.

Thanx

LRajesh555

Posted

Go Here For The Original Post.

Credits: vgp and vizhigal

This guide is prepared by a symbian s60v5 modder , VGP, with help of vizhigal, which helps you to prepare your own repartitioned rofs2.  So binh24,good bye !  :P

This is a short guide by the help of which anyone can prepare his own repartitioned core ,rofs2 and rofs3 for a Nokia 5233 CFW.

This is based on v51.1.002 firmware of nokia 5233 (RM -625) for which the total rofs space is 119.25 MB.(see below for details)

NOTE: The partition sample values given is for RM-625 only.For other phones it is different.So other phone users if want to do this,use this only for comparison.

Tools Required: NFE 0706 by t0trader and Nokia Cooker 2.9 (or later)

STEP-1 :

Put all your original firmware files in a folder

1) Open your original firmware(OFW) core(.C00 file) with nokia cooker. Delete all files. (now you deleted the  rofs1 files)

    Now click 'unlock rofs'. Change the values from 2B to 2C.

    Click 'extend ROFS1'. Now click 'save firmware'.

2) Open your ofw rofs2 with nokia cooker. Remove all the files. Save the firmware.

3) Open your ofw rofs3 with nokia cooker. Remove all the files. Save the firmware.

4) Open your ofw uda file with nokia cooker. Remove all the files. Save the firmware.

    (this is not important.Do this to get a blank uda so that to get max space in phone C drive)

STEP-2 :

Run t0trader NFE0706. Change its language to english (click the button at right top corner for that)

1) Open the previously saved core with NFE0706.

    Double click on the area in between 'open file' button and 'unpack' button. This will open the 'adjust partition info' window.

   

    Posted Image

    Here is where we are going to adjust our partiton values. Dont worry it is easy to do.

    First understand the values displayed.

    Posted Image

a) You can see rofs1 max partition size as 045C0000.

    What this means ?

    Open windows calculator in scientific view (programmer view if win7). Select Hex mod.

    Enter the value 045C0000. You may end up with as shown in the image.

    Now change to Dec mod. You can see the value as 73138176.

    Divide this number by 1024. Once again divide it by 1024. You get the value as 69.75.

    This means max size given for rofs1 in OFW is 69.75 MB.

    Posted Image

B) You can see rofs2 max partition size as 02480000.

    Open windows calculator in scientific mod. Select Hex mod.

    Enter the value 02480000. You may end up with as shown in the image.

    Now change to Dec mod. You can see the value as 38273024.

    Divide this number by 1024. Once again divide it by 1024. You get the value as 36.5.

    This means max size given for rofs2 in OFW is 36.5 MB.

    Posted Image

c) You can see rofs3 max partition size as 00D00000.

    Open windows calculator in scientific mod. Select Hex mod.

    Enter the value 00D00000. Now change to Dec mod. You can see the value as 13631488.

    Divide this number by 1024. Once again divide it by 1024. You get the value as 13.

    This means max size given for rofs3  in OFW is 13 MB.

    The total rofs space that we can use in RM-625 is 69.75+36.5+13 = 119.25 mb

(NOTE:  If you open  binh24 core for RM-625 V51.1.2 with NFE0706 and check the partition info as above, you can see rofs1=7.375 MB (useless i think), rofs2=110.875 MB, rofs3=1 MB. Total=7.375+110.875+1 = 119.25 MB. We got the same value as when added above in ofw. So the total rofs space needs to be a constant.)

2) Now we are going to enter our own repartition values in the above prepared ofw core file.

    I would suggest to give a minimum safe value to rofs1 (0.5mb) and rofs3 (0.5 MB) and give the remaining space to rofs2.

    what will be the rofs2 space now ?

    Easy.

    119.25-(0.5+0.5) = 119.25-1 = 118.25 MB

    WOW !! Our rofs2 size is 8mb more in size than binh24 rofs2 !!

    Posted Image

a) We are giving 0.5 MB as rofs1 max space. Open windows calculator in Dec mod.

    0.5 x 1024 x 1024 = 524288

    Change to hex mod. You can see 80000.

    Since we need to enter 8 digits, add required number of zeros before the number.

    i.e, enter the rofs1 maximum size as 00080000.

    Click ' Adjust ' button which is present right side to it.

B) We are giving 118.25 MB as rofs2 max space. Open windows calculator in Dec mod.

    118.25 x 1024 x 1024 = 123994112

    Change to hex mod. You can see 7640000

    Since we need to enter 8 digits, add required number of zeros before the number.

    i.e, enter the rofs2 maximum size as 07640000

    Click Adjust. Select the rofs2 that prepared in stage 1.

c) We are giving 0.5 MB as rofs3 max space. Open windows calculator in Dec mod.

    0.5 x 1024 x 1024 = 524288

    Change to hex mod. You can see 80000.

    Since we need to enter 8 digits, add required number of zeros before the number.

    i.e, enter the rofs3 maximum size as 00080000

    Click Adjust. Select the rofs3 that prepared in stage 1.

    Now click OK. Close NFE0706.

STEP-3 :

Now again open the pepared core with nokia cooker. Press save firmware to repack.

Now again open the pepared rofs2 with nokia cooker. Press save firmware to repack.

Now again open the pepared rofs3 with nokia cooker. Press save firmware to repack.

(The above steps are needed)

You are almost done. But do not flash with the prepared files now, because they are empty.

Extract any c6 or n97 based cfw with nokia cooker. Copy all the files in it somewhere in your PC.

Now open our prepared rofs2 with nokia cooker. Add the saved n97 or c6 cfw files to this rofs2.

Repack and flash the rofs2 with the newly prepared core. Done.

(You can avoid the rofs3)

Congrats !! You have just flashed with your own repartitioned firmware. :)

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

Download link for t0trader NFE [made by t0trader from OPDA, all credits to him for the awesome tool], this version was shared by vizhigal

http://www.mediafire.com/?ootbs59dd11in2d

Download Nokia cooker (credits to Marco for the great tool)

http://www.symbian-toys.com/nokiacooker.aspx

Download Nokia 5233 RM-625 firmware repartitioned as per the guide.

http://www.mediafire.com/?cijgwwg2ma10j4x

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

WARNING : If you wrongly change any values which are not known to you  and erased the phone certificates  values by mistake your phone will have to go Nokia Care . The author of this tutorial and gizmolord are not responsible in any manner for the damages you have done .Make sure you follow the tutorial to the point or you may end with a  permanently bricked  phone

Posted

Go Here For Original Post

Adding Belle Symbols Support To Your Font

ALL U NEED:

1. Font Creator (Professional Edition)

2. A Font modified with Belle Navibar

3. Font u want to modify with Belle Navibar

STEPS:

1. Open the belle modified font (s60snr.ttf) with Font Creator.

Posted Image

2. Right click anywhere inside font creator and select Captions and then select Windows Mapping. Doing this, the names of the characters will be shown as windows codings as u see in the picture. ($00CE for the 'Right Arrow')

Posted Image

3. Now open the font u want to modify with belle navibar.

[img width=770 height=420] ugH5Ot7.jpg

4. Go to the 1st font (belle modified) and look for the belle symbols. For example the 1st belle symbol u can see is the Left Arrow. Note down the windows coding of this character. Here $00C0 for this Left Arrow belle symbol.

Posted Image

5. Now go to the font u want to modify.

Press Ctrl+F and find for $00C0.

[img width=614 height=420] zDvcaj.jpg

6. Now all u need to do is copy the Left Arrow symbol from 1st font (i.e belle modified) and paste in the place of $00C0 in 2nd font (i.e the font u want to mod).

7. Repeat these steps for all the belle symbols.

8. Finally your font (s60snr.ttf) is modified with belle symbols.

[img width=578 height=420] JQ8cgH.jpg

9. Do these for s60ssb.ttf and s60tsb.ttf too.

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

Adding 6 Page Symbols To Your Font

All U Need:

1. Font Creator (Professional Edition)

2. A Font already having 6 Page Symbols

3. Font in which u want to add 6 Page Symbols

Steps:

1. Open the font (s60snr.ttf) having 6 page symbols in Font Creator.

[img width=569 height=420] vbmKdtYz.jpg

2. Open the font (s60snr.ttf) in which you want to add 6 Page symbols in another window of Font Creator.

Note: Don't open both the fonts in the same window of font creator. If u do this then you will face problem while copy pasting the characters.

[img width=568 height=420] BOGQe93L.jpg

3. Now go to the 1st font window (i.e the 6 page symbols supported) and select the symbols. You can select multiple symbols at a time by just holding the Ctrl button and clicking on the symbols. There are almost 400 symbols. You can select all the symbols at a time or you can select some of the symbols at a time and rest in the next attempt. (e.g: I have selected 98 symbols or glyphs in the 1st attempt)

[img width=701 height=420] t0Pq9pmi.jpg

4. After selecting the glyphs, right click on any of the selected symbols and selet Copy.

[img width=741 height=420] 02al91SV.jpg

5. Now go to the 2nd font window (i.e the font in which you want to add 6 page symbols). Left click on the last glyph so that it'll be selected and u can see it in blue. Now just click on the white space next to the last selected glyph so that the last glyph will appear as in blue border.

Now click on Insert and select Glyphs...

[img width=397 height=420] nGIeik.jpg

6. In the Insert Glyphs pop-up window, enter the no. to that of you selected in the 1st font window. And select the After last glyph option. And click Ok. As you can see the no. of new glyphs inserted. (for me 98 glyphs are inserted now)

[img width=476 height=420] FbmNP6GWk.jpg

7. Now click Edit and select Paste Special.

[img width=423 height=420] jOUVGZWN.jpg

8. In the Paste Special pop-up window mark the settings exactly lick the picture below. And press Ok.

Posted Image

9. Do these steps for rest of symbols you didn't select at the 1st time.

And finally all the 6 pages of symbols will be added in your font.

Save your font.

[img width=595 height=420] QzqF4gJ.jpg

10. Repeat these for s60ssb.ttf and s60tsb.ttf .

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

Fix Smiley Size (Increase Smiley Size)

Credits: nakazaki & n0tr3v3

1. Normal Smiley:

[img width=236 height=420] WpJyF8ROC.jpg          [img width=236 height=420] 7TJ24zkGiZQt.jpg

2. Increasing smiley size a bit:

[img width=770 height=356] wyiXkf.png

[img width=770 height=373] 81nWL9XSH.png

[img width=236 height=420] Atye3gSDj.jpg          [img width=236 height=420] phv0OD.jpg

3. Increasing a little more:

[img width=770 height=376] zf4Nc9MEVHx2.png

[img width=236 height=420] GqxBViW.jpg          [img width=236 height=420] brzoiCx.jpg

Keep this much size.

Done.

Posted

This is really awesome :-bd Irajesh555, you really deserve =50 and 500 credits for this post! Really great with perfect explanation and systematic approach. I will write a blog post for this!

Posted

This is really awesome :-bd

Irajesh555, you really deserve =50 and 500 credits for this post! Really great with perfect explanation and systematic approach.

I will write a blog post for this!

Thanx Die. :)

And make this topic sticky please. It'll be good for newbies. :)

Posted

i would say..an awesome post..but i guess its very hard fro newbies to learn it....and also..now symbian 5th is nearly dying , not a good time to make such a tuto..should have been done months ago..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...