إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


 
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-07-2010, 01:10 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,669
عدد الـنقاط :3341
 تقييم المستوى : 2140

<div>اولا : سلام عليكم جميعا موضوع منقول من موقع اجنبي و بتمنى من مشرفينا الكرام الدعم موضوع انا بحاول انشالله اني جيب برامج لازمة للتعديل


What we will need

Before we start, we will need to download some tools:

1. Codeneos' Rofsviewer utility. This will allow us to edit the firmware

2. Samsung's Symbian Flash Tool 1.50. This allows us to flash out phones with firmware without going through Samsung PC Studio 7.

3. A firmware to edit. There are a large selection to download from Pavel's Thread. At the time of writing I would suggest a JB1 firmware, e.g. XEJB1 SERJB1 Generic Russia.

Extract and place all your files in a folder structure, e.g. in C:\Samsung i8910\

Installing the software

Rofsviewer
Before starting it is wise to update to the latest version of the Rofsviewer tool. This can be done by selecting Updates from the menu. The latest version should automatically be downloaded and replace your current version.

Symbian Rom Flashing tool
Install msxml. This is required before the tool will function (it uses Microsoft's XML API to parse the XML files)

Understanding the Firmware files

Before we can create out own firmware, we need to have an idea of what the extracted firmware contains.
With released firmwares we will see a folder structure as follows:

- Modem_I8910xxxxxx
- PDA_Code_I8910xxxxx
- PDA_CSC_I8910xxxxx

Each folder contains information pertaining to the firmware.

- The Modem folder contains a .bin file which is the firmware's Modem controller code
- The PDA Code folder contains the main firmware file (e.g. JB1)
- The PDA CSC folder contains all the operator / language specific customisations & tweaks.

Generally there are three files that are important to us & editable. An example filename is shown below (the precise names can change depending on firmware):

- PDA_Code_I8910XEJB1\core\I8910XEJB1_XXE.rofs1.img

This is the Main firmware. If you want to modify any of the low-level functions or settings of the firmware, then this is where you need to look

- PDA_CSC_I8910SERJB1\rofs2\I8910SERJB1_UK_Custom.ro fs2.img
- PDA_CSC_I8910SERJB1\rofs3\I8910SERJB1_UK_Custom.ro fs3.img

These are the Custom parts of the firmware, containing the languages and customisations of the operator. If you need to delete operator specific applications, widgets or settings, this is where you need to look

- PDA_CSC_I8910SERJB1\CSC_I8910UKCJB1.xml
- PDA_Code_I8910XEJB1\CODE_I8910XEJB1.xml

These are the XML files that tell the ROM Flashing tool what files to flash, what they called, how big the files, their checksums are and how big all the 'partitions' are in the phone (e.g. the C: drive is a partition in the main firmware where the phone stores programs and settings)

Performing a simple modification to the firmware


Currently, the easiest way to make changes to your firmware is to run up RofsViewer, edit files in place in the tool and then recompile the firmware.

At the moment I would recommend that you copy the three main files (I8910xxxxx_xxx.rofs1.img, I8910xxxxxx_xxxxxx.rofs2.img, I8910xxxxxx_xxxxxx.rofs3.img) into the same folder as Rofsviewer itself (there is a bug in the version of Rofsviewer, as of writing, which can cause problems if you edit files in place)

Below we will change the web cache to be moved from C: to E:. Many such tweaks can be found in the Custom Firmware thread.

To do this we will need to change the file "private\10202BE9\101F8557.txt" so we point to the E: drive rather than the C: drive for the cache folder.

1. Run Rofsviewer
2. File / Open two of these files (the rofs1 and rofs2). The file is present both in the main firmware, and also in the customisations. We had best change both of them!
2. Click on the Rofs1 file
3. In the search box, type 101F8557.txt and hit search
4. Double click on the file to edit it & change the cache folder entries from "c:\\system\\cache" to "e:\\system\\cache"
5. Click on Save in Notepad
6. Rofsviewer will notice the change and prompt for you to update the file in the ROM. Click on 'Yes'
7. Repeat from step 2 for rofs2.

Recompile our ROMs
Now we have made the changes, we need to compile our rofs files.

1. Click on rofs1 and select File / Rebuild Image.
2. Click on ''Output image" & just select the same filename (we will overwrite this for simplicity!)
3. Do the same for rofs2.

We have made the relevant changes to our ROMs, but now we need to update our XML files to reflect the changes!

Update the XML files

We have changed both the rofs1 image (which is the Main firmware file) and the Rofs2 image (which is part of the customisations).

For rofs1 changes we need to update the CODE_I8910xxxxxx.xml file
For rofs2 or rofs3 changes we need to update the CSC_I8910xxxxxxxx.xml file
For major changes, which will affect the size of the partitions we need to update both files, but we won't worry about this at the moment!

Get the XML parameters from Rofsviewer

After the roms have been compiled, the rofsviewer tool can be used to calculate the values we need to enter into the XMl file.
To get these parameters, select Tools / XML Parameters from the menu in Rofsviewer.

Copy your updated files in place

Copy the updated files you have just created over the top of the ones in the original firmware locations.

Update CODE_I8910xxxxxx.xml

Edit this file & find an entry similar to that shown below. Note that there may be some dummy entries in here, so make sure you find the entry with the correct filename:



Copy and paste the entries from Rofsviewer for the rofs1 image into the md5 and size sections of this entry (called MD5 checksum and Byte Size in Rofsviewer) and save it out. Note that Rofsviewer also provides us with an XML size - this is used for partitioning information ... but we won't worry about that yet!

Update CSC_I8910xxxxxx.xml

Edit this file and perform the same operation for the rofs2 image, i.e. find an entry like this:



... and update it. Note that there may be multiple languages in the XML file - make sure you find the entry corresponding with the actual filename of your rofs file!

If you have made changes to rofs3, then your XML parameters for this file also need to be put in the XML.

Reflash your firmware

At this point we have updated our firmware with our change, compiled our new rom images and updated our XML files. We are finished for our simple change!

1. Open up the Symbian Rom flashing tool

2. Point the Code XML file to our updated CODE_I8910xxxxxx.xml file
3. Point the CSC XML file to our updated CSC_I8910xxxxxx.xml file
4. Point the Modem BIN file to our unchanced Modem .bin file
5. Uncheck 'Boot' in download option. This is especially important when flashing with our own custom file, as we don't want to brick it!
6. Once we have backed up all the data from our phones, key in *#7370# to reformat completely (pin: 00000000 - 8 x 0's). This is strictly not required every time, but it's best to start from scratch the first time!
7. Power your device off
8. Power your device on & enter Boot mode by holding down volume up + power + lock key while booting

9. Once the screen has entered Boot mode, plug it into the USB port of your PC
10. Click on 'Download Start' once the Symbian Rom Flashing tool has noticed your device.

Advanced XML Editing

The CODE and CSC XML files can be edited as you see fit. Unnecessary language entries can be removed, the filenames of your custom rofs can be changed & the size of C: drive can be set.

Setting the size of C:
To do this we need to use the XML size from the Rofsviewer application. In both the CODE and CSC XML files we will find entries like (this is from my UK custom firmware - you can see I have personalised it a bit!):
__DEFINE_LIKE_SHARE__
رد مع اقتباس
 

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 04:34 AM


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML