View Full Version : best way and tools to use to edit initflashfiles.dat
llbasha
30-01-2007, 11:18 AM
*********
*********
What is the best way and tools to use to edit initflashfiles.dat
This file is very important and we need step by step clear guide with example
Attached one sample edited by TofClock ... let use this as an example
*********
*********
The_hesham
30-01-2007, 11:46 AM
Just change the extention of it to .txt
edit it and after finish editing
change the extension back to dat
Is this answe ur question?
llbasha
31-01-2007, 04:46 PM
Thanks for quick response. I appreciate it.
Are you sure i do not have to convert from unicode to text and then edit and then back to unicode??
Is it normal text file ... it does not look to me that way!
Did you check the attached file?
The_hesham
02-02-2007, 09:29 PM
I did this several times
Attached your file in .txt after rename it and it will tel u that the file may be damaged, do not care
You must rename the file again to be .dat after making ur changes
But be curfull any mistake in this file will create a big problem do it but be curful
meschle
03-02-2007, 12:43 AM
*********
*********
What is the best way and tools to use to edit initflashfiles.dat
This file is very important and we need step by step clear guide with example
Attached one sample edited by TofClock ... let use this as an example
*********
*********
You can right click on the file - open with - and it should open with notepad. Yes you need to save it as unicode but even then you will find it will not work. You need to use a hexeditor and delete the first ff and fe as these are added when saving with notepad.
The_hesham
03-02-2007, 10:17 PM
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
meschle
04-02-2007, 12:07 AM
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
When you open the file with a hex editor the first 2 values seen are FF and FE just delete these and save.
The_hesham
04-02-2007, 09:21 AM
Thanks man
solomhamada
04-02-2007, 06:16 PM
this is quite helpfull
but .. r u sure if i edit the file with notpad it will fail to run
i think one of my friends edited it with notpad and all gone well
thx for the nice wotk guys .. this is very appritiated
Sincerly
Adam
meschle
04-02-2007, 07:04 PM
this is quite helpfull
but .. r u sure if i edit the file with notpad it will fail to run
i think one of my friends edited it with notpad and all gone well
thx for the nice wotk guys .. this is very appritiated
Sincerly
Adam
I tried it without removing those 2 values and it always hangs the device. If in doubt check the file (before and after editing with notepad) with a hex editor and you will see ff and fe are added.
solomhamada
05-02-2007, 01:42 PM
I tried it without removing those 2 values and it always hangs the device. If in doubt check the file (before and after editing with notepad) with a hex editor and you will see ff and fe are added.
i dunno
i'll ask him
cheers!
ADAM
The_hesham
05-02-2007, 08:59 PM
I'm sure I did change the file without doing the removing of FF & FE and it works normaly
But no prob., next time I will try meschle advise
llbasha
12-02-2007, 05:12 AM
I discovered that the best way to edit any unicode file is by using an old program called editpad (free version copy attached here: ( http://forum.xda-developers.com/showthread.php?p=1130485#post1130485 ) that allows to do, among many other things, to convert unicode to ansi and back to unicode without destroying the file structure. I feel sure many will find this very useful. Also it can be used as direct replacement for notepad by just rename it notepad.exe and over write your window one (or rename it before copying).
swampy395
25-05-2008, 12:35 AM
Hi every body been working on a rom kitchen when i got to the initflashfiles File Editing I put this Tool Together thought i'd share it so here it is
Thanks to every body how share's there work and tools on this site I would like to here what you think of this tool please as your comments will help to improve the tool this is virsion 0.1.0, I think it's completed but let me know your thourght's
Swampy395
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.