best way and tools to use to edit initflashfiles.dat - MDA II, XDA II, 2060 Windows Mobile 2005 Upgrading

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

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?

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?

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

llbasha said:
*********
*********
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
*********
*********
Click to expand...
Click to collapse
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.

Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks

The_hesham said:
Would u please explain more, how to find this FF & FE?
I know how to nba files only
Thanks
Click to expand...
Click to collapse
When you open the file with a hex editor the first 2 values seen are FF and FE just delete these and save.

Thanks man

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

solomhamada said:
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
Click to expand...
Click to collapse
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.

meschle said:
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.
Click to expand...
Click to collapse
i dunno
i'll ask him
cheers!
ADAM

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

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

initflashfiles Editor
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

The_hesham said:
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
Click to expand...
Click to collapse
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.

Related

Cooking Question

I'd like to know how to remove a short cut from the Programs folder VIA the dump..theres a folder in there i cant remove for some reason so I went to look in the dump folder to manual delete it but i cant find it
also it would be nice to change the About OS version information
and the ROM version n data
thanks for any info
ANTC said:
I'd like to know how to remove a short cut from the Programs folder VIA the dump..theres a folder in there i cant remove for some reason so I went to look in the dump folder to manual delete it but i cant find it
also it would be nice to change the About OS version information
and the ROM version n data
thanks for any info
Click to expand...
Click to collapse
The programs structure is built by the initflashfiles.dat. You might check there for that folder. Open it with notepad and remember to just click "save" not "save as". And then open it with winhex or any other hex editor and remove the first 2bytes "FFFE"
The "About" version you could change in the default.hv, but convert it to default.rgu before that and don't forget to add "REGEDIT4" without quotes in the first line and leave the last line empty. Then convert it back to .hv
didn't I answer that for you on aim?
it was after i posted it...
you're welcome anyway...
anichillus said:
you're welcome anyway...
Click to expand...
Click to collapse
Sorry I was sidetracked and didn't even bother finshing that to my rom
Thanks
How would I convert that file??
And I guess I'll change the About in my next release if there is one because i cant install anymore crap on this
No need to make a new thread I got a request for the BT stero in my roms how would I add that is there an OEM packages i gotta look for or something else
ANTC said:
How would I convert that file??
And I guess I'll change the About in my next release if there is one because i cant install anymore crap on this
Click to expand...
Click to collapse
any one can help me convert this..can i just rename it or what
also no need for a nother thread can any one help me make splash screens

How do I sign a .DLL file???

Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
ryncppr said:
Ok , I am trying to resign my phcanBmp.dll file to have my own images. I have used ResHack in order to change the file and make a new one but I know you need to sign the file in order for it to work...
So I have downloaded the latest BuildOS+Package 4.2b3 and it has a signapp.exe.... Problem is I cant find any information on how to use it??? I have searched google and located a sign and timestamp dll files but I am not sure if this will work with mobile applications.
Please help
Click to expand...
Click to collapse
ResHack will cause a dll or exe locked to sign if u edit it heavily.
Use Heaventools Resource Editor or PE Explorer instead
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
NEVER MIND GOOGLE IS MY FRIEND
ryncppr said:
I bought Resource Editor and there is no way to sign the file....It shows when I edit only 6 bitmap files it says the file is no longer signed or trusted...is there a way around this
Click to expand...
Click to collapse
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
you can also use sign tool from Microsoft SDK 2008
i tought he cannot sign the file after edit it. silly me there is also multisign tool floating in this forum based on SDK but with easy GUI.
skatdawg said:
i attached the program i used to sign the htchome.dll file I patched. Do the following:
1) Put the file in the same folder as the program.
2) Go into command prompt and navigate to the folder which contains the the file (in my case C:\Documents and Settings\ScottE\Desktop\Programs\ATT Tilt\Programs\SignCode\SignCode)
3) Type "sign filename" which in my case was: sign htchome.dll
Then it should give you a message that the file was signed.
I just added a screenshot
Click to expand...
Click to collapse
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
ryncppr said:
Thats what I used..!!!! Thank you so much for the response...The 2008 SDK signs files but not really, you actually have to buy digital signatures...this way its free and works....
Just copied my phncanbmp test file to my phone and it works like a charm!!
Click to expand...
Click to collapse
Glad to help you man
a lot of thanks dear scotchua very useful

Voip Problem!

Hi guyz,
please help.i read the voip solved thread.but still have a problem.i create the _setup.xml file but it is a txt file so i dont know how to convert to a real xml file and make te cab file at last move to my htc s710.i wish someone could take a capture of this hole work and posted to this forum,could be more easy for everyone have problem to install voip..(sory for my bad english)thanks..
i dont know about the rst but to convert the text file to xml u can just rename the file to ***.xml
bestmodel03 said:
Hi guyz,
please help.i read the voip solved thread.but still have a problem.i create the _setup.xml file but it is a txt file so i dont know how to convert to a real xml file and make te cab file at last move to my htc s710.i wish someone could take a capture of this hole work and posted to this forum,could be more easy for everyone have problem to install voip..(sory for my bad english)thanks..
Click to expand...
Click to collapse
i rename it but its still txt file!
It might be xml but the default program to view it must be set to notepad,if it is not so,use resco explorer for smartphone and rename it,i do that and it works for sure
bestmodel03 said:
i rename it but its still txt file!
Click to expand...
Click to collapse
- Open the file with notepad.
- Click save as
- Click Save as Type and Select All Types/Files (The Default is .txt)
- Name it _setup.xml
- Click save
i finally converted,but i cant make voip call..i have to edit my ipdialplan.xml..how can i do this?what is need to be change?i live in danmark and use voipraider..need help please..

Cant figure out how to change Sprint banner

I dont know how to use CDMA workshop or Hex edit, but I really want to change my Sprint banner. Is there a way to do this using terminal emulator?
No, but a hex editor is pretty self explanatory imo.
If only I had your level of skill and intelligence. I could not even get past step 1. I download the file. The instructions say to remove the .txt extension, but when I download it, it is already in .xml but it is a .txt document, and I cant figure out how to change it.
http://forum.xda-developers.com/showthread.php?t=801537
fmedina2 said:
If only I had your level of skill and intelligence. I could not even get past step 1. I download the file. The instructions say to remove the .txt extension, but when I download it, it is already in .xml but it is a .txt document, and I cant figure out how to change it.
http://forum.xda-developers.com/showthread.php?t=801537
Click to expand...
Click to collapse
goto your folder options in windows and uncheck "hide extensions for known file types".. then you can see the .txt extension in windows
http://www.wikihow.com/Disable-Hidden-File-Extensions-in-Windows-XP Same instructions for XP, Vista, 7
Otherwise CDMA workshop is on isohunt.com if you search for it. Get the cracked version. It will report a false positive with most anti-virus.. no virus though.
Editing now. Never tried to use adb, lets see if I can conquer that...
After I put in the modified version of the .xml how do I 'close the file', or put the framework-res folders contents back into the .apk since I unzipped it. Or do I just push the .apk and leave the extracted folder alone?
Nvm, got it.
fmedina2 said:
Nvm, got it.
Click to expand...
Click to collapse
Assuming this means you got it working? Best bet, for future reference, for help with a specific mod, is to try and post in that particular thread. I know the guy who did the hex edit approach, and he's pretty willing to help .

Help with .APK File

Hi Developpers !!
I'm in an urgent need of help !!!
The thing is i have this app .APK that i want to modify,
I open it with winrar, navigate to the file i want to modify (Bitmap image in my case) then i copy it into the Desktop, modify it,
and then put it back in the rar archive without modifying the name or anything.
Then when i try to install (on Agent bluestacks) it it dosen't work !!
There's an Eroor
INSTALL PARSE FAILED INCONSISTENT CERTIFICATES
I watched some turorial on How to Edit image resources inside an android APK file and i did a new signature and it's allways the same error
I really need your help on replacing the file...
PS I uploaded the file .APK and the image i want to replace
Boom_vic said:
and then put it back in the rar archive without modifying the name or anything.
Click to expand...
Click to collapse
That's the problem, you need to sign it first. - http://forum.xda-developers.com/showthread.php?t=2069287
Thanks so much !! I will try this now
Hi
I followed your Topic, i was able to decompile it...but i can't recompile it
can you please do it for me ? cuz i'm in a hurry i need it by Wednesday..
You just have to replace the train480x320.png
in \res\drawable with the same image that i have uploaded with the rar file and sign it..
That would be perfect
thanks in advance

Categories

Resources