Jump to content

[GUIDE]Create your own repartitioned core and rofs2 by VGP & Vizhigal


shivam94

Recommended Posts

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

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

All credits to vgp and vizhigal

Here is the guide:

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.

* Do this ,only if you are familiar with phone flashing,firmware unpacking and repacking at least.

Tools required--t0trader NFE O7O6,Nokia Cooker 2.9

Big thanks to vizhigal

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)

  N0w 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 NFEO706.

  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

  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

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

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.5x 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.

              ie, enter the rofs1 maximum size as 00080000.

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

            ( b )  we are giving118.25 MB as rofs2 max space.Open windows calculator in Dec mod.

                      118.25x 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.

                      ie, 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.5x 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.

                        ie, 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

User Reviews:

Success :-bd..i successfully repartitoned RM 588 v 51.6.2 (UK-IRELAND-PORTUGAL) and used it to flash Hawk CFW :P :P..and about the warning on 1st page please dont be afraid..i bricked my phone coz i used v51.9.2 which has some issues..this tutorial is perfect =D>..

oh btw i think this is the first user review for this tutorial :P:)>-

Link to comment
Share on other sites

Using this we can prepare repartitoned rofs2 right??..but for making a C6 or N97 port from OFW of C6 we still need binh24 help na??..or we just extract files from c6 rofs2 and just put it into repartitioned rofs2?? and also how to make OFW in C6 structure??..the repartitioned rofs2 is empty na??..what all files should u put in it??

Link to comment
Share on other sites

Using this we can prepare repartitoned rofs2 right??..but for making a C6 or N97 port from OFW of C6 we still need binh24 help na??..or we just extract files from c6 rofs2 and just put it into repartitioned rofs2??

and also how to make OFW in C6 structure??..the repartitioned rofs2 is empty na??..what all files should u put in it??

no ...no need of binh24's help ..

Download the ofw of 5230 n c6 both ..

Repartition the 5230 partition size as per the tutorial..

Extract the rofs1 from the core of 5230 ..add the contents to the rofs2 ...then extract the contents of rofs3 and add to rofs2 ..repack the rofs2 ...this is ur repartitioned OFW means this is the OFW in C6 structure ...

If u want to port c6 then empty ur ofw repartitioned rofs2 ...extract the rofs1 from c6 core ...then add the contents of c6 rofs1, rofs2 n rofse to ur 5230 repartitioned rofs2 ...now u ported c6 to 5230 :)

and u can also use hex editor to change the partition size ..but u need to identify the partition table in the hex editor ..the core file contains the partition table which starts from the address 127h ..anyway thats a little harder ...so better try totrado's nfe0706 :)

Link to comment
Share on other sites

This was started first here only  in last September 2011.

http://forum.gizmolord.com/index.php?topic=283.0

Now i am working on to expand C drive in CPU 600 Mhz and above phones....

Just completed the files ..will be released after testing.....

great ...!!

Btw can't we overclock the 484Mhz cpu's to 600 and then expand the c drive ?? :P

Link to comment
Share on other sites

This was started first here only  in last September 2011.

http://forum.gizmolord.com/index.php?topic=283.0

Now i am working on to expand C drive in CPU 600 Mhz and above phones....

Just completed the files ..will be released after testing.....

Great vizhigal !  Have you found a way to overclock our 484mhz phones to 600mhz ?  If no, let's do this .  I shall try to provide all the assistance I can provide to you. 
Link to comment
Share on other sites

no ...no need of binh24's help ..

Download the ofw of 5230 n c6 both ..

Repartition the 5230 partition size as per the tutorial..

Extract the rofs1 from the core of 5230 ..add the contents to the rofs2 ...then extract the contents of rofs3 and add to rofs2 ..repack the rofs2 ...this is ur repartitioned OFW means this is the OFW in C6 structure ...

If u want to port c6 then empty ur ofw repartitioned rofs2 ...extract the rofs1 from c6 core ...then add the contents of c6 rofs1, rofs2 n rofse to ur 5230 repartitioned rofs2 ...now u ported c6 to 5230 :)

and u can also use hex editor to change the partition size ..but u need to identify the partition table in the hex editor ..the core file contains the partition table which starts from the address 127h ..anyway thats a little harder ...so better try totrado's nfe0706 :)

thanks a lot..+1 for you:)

Link to comment
Share on other sites

u can also use hex editor to change the partition size ..but u need to identify the partition table in the hex editor ..the core file contains the partition table which starts from the address 127h ..anyway thats a little harder ...so better try totrado's nfe0706 :)

Use NFE0706 to open the core you will get parttab.bin in the folder where you have palced your core file.

It is the partition table of the core.

Where you have to read right to left to get the hex values.

By little practice you can identify and parse the details easily

Link to comment
Share on other sites

Use NFE0706 to open the core you will get parttab.bin in the folder where you have palced your core file.

It is the partition table of the core.

Where you have to read right to left to get the hex values.

By little practice you can identify and parse the details easily

nice info vizhi ..+1 :)
Link to comment
Share on other sites

First plan what you are trying to do. Note down your existing sizes of ROFS1 ,ROFS2 AND ROFS3. Just calculate the revised sizes in Mb first, then ib bytes then in HEX values. Use the below excel sheet as a  model only to calculate your CFW. Caution : If you wrongly change any values which are not known to you  and erased the phone certificates  values by mistakes your phone will have to go NC .

Link to comment
Share on other sites

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