View Full Version : best way and tools to use to edit initflashfiles.dat
llbasha
30th January 2007, 10: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
30th January 2007, 10: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
31st January 2007, 03: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
2nd February 2007, 08: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
2nd February 2007, 11:43 PM
*********
*********
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
3rd February 2007, 09:17 PM
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
meschle
3rd February 2007, 11:07 PM
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
4th February 2007, 08:21 AM
Thanks man
solomhamada
4th February 2007, 05: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
4th February 2007, 06: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
5th February 2007, 12: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
5th February 2007, 07: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
12th February 2007, 04: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
24th May 2008, 11:35 PM
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
md1981
25th February 2010, 02:02 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
OK, when I cut the new initflashfile und paste it in the windows folder what will happen with the existing initflashfile.dat? Will the newer one replace the older one or will be two files in the folder after doing this? Thanks for help.
I have a Acer Tempo DX900 if it is neccesary to know that.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.