[Q] Edit Android .dat files - General Questions and Answers

I wonder if anybody knows what program is needed to edit Android dat and idx files. Ideally I would prefer a Windows program but Android or Linux will also do.
Thanks.

I wish I knew too.
Trying to get older version of My Country when GameCiH wasn't prevented.

necromancy warning...
lug said:
I wonder if anybody knows what program is needed to edit Android dat and idx files. Ideally I would prefer a Windows program but Android or Linux will also do.
Thanks.
Click to expand...
Click to collapse
I was doing the same thing. I have found a rough solution. Hex Editor on Android will open and edit, with root. This is far from ideal. Hopefully someone will see these posts and provide a template or application for these specific file formats .dat and .idx.
I have seen individual apps for Windows that will hack apps, mostly games. I am not keen on downloading or using these. One- I don't do Windows, but can if absolutely necessary. Two- these may very well be virii...
I miss the good ole ResEdit days. I will check ResEdit & Resourcer when I get time and report back. This means getting the archives out. These apps used to have extensive file editing templates, mostly Mac.

Related

Disabling Access To Games

Hi - is there any way on PocketPC 2003 to disable access to Solitaire and Jawbreaker. I'm pretty sure I can't remove them all together as they're in the ROM - but some registry hack to prevent access to them would be sufficient.
Try this...
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
tried & failed...
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Re: tried & failed...
gremlin said:
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Click to expand...
Click to collapse
Why do you want to block them?
Re: Try this...
pneuma said:
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
Click to expand...
Click to collapse
Hey pneuma.
2) Isn't working for me either. I thought gremlin was doing something wrong, but I just tried it myself, and, although my "fake" solitaire.exe (a renamed app) file is there, so is the original solitaire.exe. Tapping on the Solitaire icon under games runs the game as if nothing happened, although just opening the Games folder would tell you that it didn't work (the Solitaire icon is still the cards)
What did you do that we didn't? I'm using a Universal.
Peculiar...
Personally I haven't tried this specific to the games, but there was a nasty spash screen in the new WM5 for my Himalaya that I replaced in the method detailed above. It would appear however that solitaire might be a system program, as the following files:
\windows\solitaire.lnk
\windows\start menu\solitaire.lnk
have the following Target: ":MSSOLITAIRE"
but don't despair!
If you have resco explorer or some similar mobile based explorer replacement, try edit the links to point to the replacement exe, or even delete the links altogether, as well as the Games directory under "\windows\start menu\" (might not work deleting them though).
If the deletion or edits don't work you may well have to do the same trick, replacing these .lnk files with something else.
--Marc
Thanks to pneuma I think I've got a workable solution without having to hack into the ROM!
I've created two programs (using PocketBuilder) called Solitare.exe and Jawbreaker.exe which just pop up a response window saying "This Application Has Been Disabled"
I've also created two .lnk files - solitare.lnk and jawbreaker.lnk which contain:
22#"\Windows\Solitare.exe"
and
23#"\Windows\Jawbreaker.exe"
respectively
In my boot process I copy the executables and .lnk files to the \Windows directory and also copy the .lnk files to the
\Windows\Start Menu\Program\Games\
directory.
I don't think our users (sorry to diss them) are bright enough to figure out they have to remove all of these files to get the games working again.
Thanks for all your help.
Gremlin.
gremlin said:
(sorry to diss them)
Click to expand...
Click to collapse
But you're dissing them all the way by treating them like this.
Why shouldn't they be able to play Solitair or JawBreaker every now and then during a coffee of lunch break. A bit of light releif never did anyone any harm.
I'm glad I don't work with you. (Bah Humbug)
I have no say in how the users are treated - I am merely a developer - I get told what needs to be done and I do it. I can offer my suggestions at design time but ultimately it is not my decision how the users are treated on the shop floor.
If I was in management it would be a different story.
I'm lovely to work with - I make the tea and everything
gremlin said:
If I was in management it would be a different story.
Click to expand...
Click to collapse
Point taken. :wink:
I would argue that it's hardly worth the effort just to piss people off.
I'll have my tea with milk and no sugar.

AOSP lockscreen in sprint builds... ideas

I dabble in some programming, taking it in college now, but have little experience with linux and the like, so I don't know where to go from here. I found the files, I think, to modify so that the AOSP lockscreen will work. Found keyguard xml files in \system\framework\framework-res.apk\res\layout. Pretty sure these are the right files, as the images for the sliders is in this apk as well. And I know from a logcat that keyguard is what it's opening for the lockscreen. Only problem is, can't seem to view or edit these xml's in a readable format... tried three different editors. About to reboot into linux and try it there, maybe I'll have better luck. But thought I would ask here where there are people FAR more knowledgeable than I.
danaff37 said:
I dabble in some programming, taking it in college now, but have little experience with linux and the like, so I don't know where to go from here. I found the files, I think, to modify so that the AOSP lockscreen will work. Found keyguard xml files in \system\framework\framework-res.apk\res\layout. Pretty sure these are the right files, as the images for the sliders is in this apk as well. And I know from a logcat that keyguard is what it's opening for the lockscreen. Only problem is, can't seem to view or edit these xml's in a readable format... tried three different editors. About to reboot into linux and try it there, maybe I'll have better luck. But thought I would ask here where there are people FAR more knowledgeable than I.
Click to expand...
Click to collapse
They are in a binary format. I opened them in dreamweaver, and it still wasn't fully readable/able to be edited. you can use this to decode them to readable format, but I have NO CLUE how to get them back.
http://forum.xda-developers.com/showthread.php?t=514412
regaw_leinad said:
They are in a binary format. I opened them in dreamweaver, and it still wasn't fully readable/able to be edited. you can use this to decode them to readable format, but I have NO CLUE how to get them back.
http://forum.xda-developers.com/showthread.php?t=514412
Click to expand...
Click to collapse
Use the AXMLPrinter2.jar to convert the XML files to a Text Readable format. Unfortunately, to modify the files, you need to use a Hex Editor to do any updates. I havn't seen any utilities that will read/write the binary XMLs, just read.
-Daryel
I haven't had the time to look into this yet, but... Since the lock screen works fine in Darch's AOSP build, could it just be a matter of switching out the xmls?
Just an idea.
thematrixkid17 said:
I haven't had the time to look into this yet, but... Since the lock screen works fine in Darch's AOSP build, could it just be a matter of switching out the xmls?
Just an idea.
Click to expand...
Click to collapse
WOW, if that's all it takes, someone should try it lol
I mean, it couldn't be thaat easy, could it?
Doesn't it work on the Eris leak?
let me see what's there under the eris builds
Well I'm headed to class now, and have to study for a big big test tomorrow later, but I might find time, if someone doesn't beat me to it. Now I'm not all that familiar with the framework, but its just a brainstorm. And if the one in the eris leak works, then that xml probably has an even better chance playing well with the sprint build, I assume.
hey... you can view and edit the xml on the phone with root explorer after you extract them. Then just copy to pc to rezip
also, when rezipping an apk, using 7zip, is there a particular setting? compression level, method, etc.

My Arcsoft MMS extraction tool

This week I finally got around to backing up my text messages and clearing the text message cache on my HTC Touch Pro 2 (Verizon). (my God, it had become slow) I'm running WM 6.1 and it seems that the MMS text messages are stored separately in proprietary ".dat" files in the "MMS UA" folder in My Documents. I searched around xda-dev and couldn't find any way to extract the files contained within. From what I understand, they are referred to as "Arcsoft MMS".
Anyway, the file format is somewhat obfuscated so a true extractor wasn't possible but I was able to produce a tool that could extract all the files out of my .dat files. It is a total hack-job, but there don't seem to be any options. Like I said, I searched around for a few minutes and couldn't find anything else so I am now posting to ask the following:
Does anyone want the tool?
If there is no other extractor out there, I will post it to this thread. Also, anyone who has some Arcsoft MMS files handy that don't contain any private information could help by sending me a copy if the tool can't handle them. With some input, it could possibly become a valuable tool for the community.
Lend me your input.
Thanks
Sounds awesome, please post the tool!
Yes, would appreciate this as well - so many devices and MMS are cluttered among all of them.
Cool. Well here it is guys.
Remember that I couldn't completely discover the proprietary format, and although it works on all of my attachments, it may not work on all of yours. It is easy to update the tool, though, so just message me.
metalliqaz said:
this week i finally got around to backing up my text messages and clearing the text message cache on my htc touch pro 2 (verizon). (my god, it had become slow) i'm running wm 6.1 and it seems that the mms text messages are stored separately in proprietary ".dat" files in the "mms ua" folder in my documents. I searched around xda-dev and couldn't find any way to extract the files contained within. From what i understand, they are referred to as "arcsoft mms".
Anyway, the file format is somewhat obfuscated so a true extractor wasn't possible but i was able to produce a tool that could extract all the files out of my .dat files. It is a total hack-job, but there don't seem to be any options. Like i said, i searched around for a few minutes and couldn't find anything else so i am now posting to ask the following:
Does anyone want the tool?
If there is no other extractor out there, i will post it to this thread. Also, anyone who has some arcsoft mms files handy that don't contain any private information could help by sending me a copy if the tool can't handle them. With some input, it could possibly become a valuable tool for the community.
Lend me your input.
Thanks
Click to expand...
Click to collapse
thanks for this mate...s
Thanks, works - not on all, though. Will check further if there is a common cause for the failing ones.
Improvement proposal:
1.) touch the extracted files with the timestamp of the .dat file
2.) check the content of the smil file in the body section if there are elements supposed to be present. afaik, the .smil is a tag-language which can deliver the MMS content with an appropriate viewer
Thanks for the quick feedback.
Improvement #3... GUI
As for the .smil file, you are absolutely correct. However, the issue is not knowing that there are files present, but finding the boundaries of the data. Arcsoft's binary packed format uses header bytes to describe how data is stored. Unfortunately, even though I was able to determine many of the header fields, without documentation I have no idea what they mean or what others may be used in a given archive. It does seem to depend on what kind of phone sent the MMS. Still, I think you may have a good idea going. I could perform a second pass after extracting the .smil, which is just XML, using file names and a lazy search.
One thing I didn't have on my phone was an MMS containing a movie file. I should try that out...
This is a great tool!
It works under desktop Windows.
How about a tool that can be used in WM itself? Anyone thought of that?

running custom executable from zip files on wp7

I am trying to run a custom executable on my schubert. I can send the file to my email as a zip and then open it. Wp7 gives a warning saying 'do you want to run the executable' I click 'yes' but nothing really happens.
can we convert a silverlight xap file which is actually a zip file into an exeutable and run it?
Also is it possible to depoly an app from within the phone?
There are efforts underway to either run native apps (EXEs) or to install apps (from XAP files) on the phone itself. Currently, I don't think either is possible. Feel free to lend a hand, though. A little searching on the forum will turn up the relevant threads, but I know that a lot of work has been discussed in the DllImport Project thread on this sub-forum.
People have been able to make native apps, but they are DLL's, not EXE's. TouchExplorer/TouchXperience/a few registry editors, File Explorers are all Native. Although there a problem with native Apps & the Multitasking Registry Hack. Once one Native app is loaded, no other will start up unless you restart.

[Q] Music Library 2.5

I have some old software Music Library 2.5 developed by William McCain quite some time ago. I have used it to control my Sony CDP-CX450 CD changer for many years.
A recent computer rebuild means I have lost the use of it. I have the entire directory containing the .jar files and database, I also have the pass code but cant get the program to run. I thought the best way would be to find the original installation files but I no longer have these.
I have tried contacting Mr McCain but his website no longer works and he has so far not answered my email.
If anyone has the installation files or can help me get the .jar file to run I would appreciate it.
Regards
Alan
Music library 2.5
Do you still use Music library v2.5 ?
If yes please forward your email address to [email protected]
aam54 said:
I have some old software Music Library 2.5 developed by William McCain quite some time ago. I have used it to control my Sony CDP-CX450 CD changer for many years.
A recent computer rebuild means I have lost the use of it. I have the entire directory containing the .jar files and database, I also have the pass code but cant get the program to run. I thought the best way would be to find the original installation files but I no longer have these.
I have tried contacting Mr McCain but his website no longer works and he has so far not answered my email.
If anyone has the installation files or can help me get the .jar file to run I would appreciate it.
Regards
Alan
Click to expand...
Click to collapse

Categories

Resources