Wednesday, June 1, 2011

Complete Core Re-Packing + Partitioning Guide For Symbian DEC 2012


Complete Core Re-Packing  + Partitioning Guide For Symbian

This is a short guide by the help of which anyone can prepare his own repartitioned core ,rofs2 and rofs3 for a 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.However you can easily findout the values for your phone if you understand the method.For any doubts in this regard, you can ask in the thread. * Do this ,only if you are familiar with phone flashing,firmware unpacking and repacking at least.
 WARNING:This guide is safe to follow if you understand and do it properly,as tested by me and also by some other members here in Dailymobile forum.However like all otherfirmware editing processes ,do it at your own risk !.The author of this guide or the moders/tool creators mentioned in this guide are not responsible in any manner for
the damages you have done.
the damages you have done.


Tools required--t0trader NFE O7O6 (credits : t0trader from OPDA),                                 Nokia Cooker 2.9 (credits: Marco),                                 Hex2Dec converter(credits: aneeshd16).
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.

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

  You can see rofs1 max partition size as 045C0000.What this means?  Open the Hex2Dec tool by aneeshd16 (attached).Enter the value 045C0000 in hex field.Hit enter.You can see the value in MB as 69.5
     
  This means max size given for rofs1 in OFW is 69.75 MB.


 You can see rofs2 max partition size as 02480000.Enter the value 02480000 in hex field of Hex2Dec tool.Hit enter.You can see the value in MB as 36.5
   
  This means max size given for rofs2 in OFW is 36.5 MB.


 You can see rofs3 max partition size as 00D00000.Enter the value 00D00000 in hex field of Hex2Dec tool.Hit enter.You can see the value in MB 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 !!


            ( a ) we are giving 0.5 MB as rofs1 max space.How to enter this value ? Easy.Just enter 0.5 in the 'Megabytes' field of Hex2Dec tool.Hit enter.You can see the 
hex value as 80000.                  
             Since we need to enter 8 digits in t0trader NFE,add required number of zeros before the number.               ie, enter the rofs1 maximum size as 00080000.(refer to the screenshot)
              After entering this value as rofs1 max size,Click ' Adjust ' button which is present right side to it.

             ( b )  we are giving118.25 MB as rofs2 max space.Just enter 118.25 in the 'Megabytes' field of Hex2Dec tool.Hit enter..You can see  the hex value as 7640000                           
                        Since we need to enter 8 digits in NFE,add required number of zeros before the number.                       ie, enter the rofs2 maximum size as 07640000(see the screenshot below)                        After entering the numbers,click 'Adjust' button.Select the rofs2 that prepared in stage 1.

                ( c )   we are giving 0.5 MB as rofs3 max space.enter 0.5 in the 'Megabytes' field of Hex2Dec tool.Hit enter.You can see the hex value as 80000.                       Since we need to enter 8 digits,add required number of zeros before the number.                        ie, enter the rofs3 maximum size as 00080000(see the screenshot below)                          Click Adjust and 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.

------------------------------------------------------------------------------Note:adjusting the partition areas other than explained in the guide is not recommended.--------------------------------------------------------------------------------





Latest Download Links

Download link for t0trader NFE 


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


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


OLD LINKS









3 comments:

  1. please port language from chinese to english ,

    ReplyDelete
  2. Please update the partition function inside,not only for max. romsitze,olso for reducing the size to get more ram free

    ReplyDelete