My problem isnt to know what i should edit, it's more like when i open this file (attached here) i'm getting random text which most likely indicates that it's unreadable.
I tried using notepad at first, then dreamweaver and at last some XML editor from microsoft. All failed. I dont think it's something wrong with the file since it works fine.
Anyone able to get it right? Thanks in advance.
Related
I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.
Anyone know why this is and/or how to fix it?
Gregalous said:
I'm trying to backup .apk files to my sdcard via AppManager and then open up the XML files to see if I can tweak it, however whenever I try to do this, with any .apk file, it's always messed up and no matter what program I use to edit the .xml file it won't display and it comes up with errors.
Anyone know why this is and/or how to fix it?
Click to expand...
Click to collapse
They are a strange mix of binary and hex. It's not a human readable xml.
So is there any way to edit them?
Gregalous said:
So is there any way to edit them?
Click to expand...
Click to collapse
Seems like there is a program that will read and convert them to human readable, but you can't edit them and have the changes saved. I will post back when I find it.
The java program is called AXMLPrinter2 and can be run from a command prompt, which converts to TXT.
I'll refer to Stericson's post here on editing Android XML files
yea so I'm wondering how do you edit a android xml file exactly ?
An xml file is just text and some formatting. You can edit xml files with any text editor, even notepad.
For this kind of thing, I recommend PsPad...it's free and is able to handle the formatting/tabbing of all sorts of files.
now i'm getting there lol but when i open it up its all hex
i would like to learn this as well..thanks
furrelkt said:
i would like to learn this as well..thanks
Click to expand...
Click to collapse
Have you tried PsPad ?
i need help
the_scotsman said:
An xml file is just text and some formatting. You can edit xml files with any text editor, even notepad.
For this kind of thing, I recommend PsPad...it's free and is able to handle the formatting/tabbing of all sorts of files.
Click to expand...
Click to collapse
I have opened some xml, plist etc files before. I came across one recently that will not open no matter the editor. It says error blah blah blah.
i guess it's the encoding thing. please can you help?
I have also attached the file i want to open and the image of the error message received so you can be informed of exactly what I am saying.
Hi.
First of all, let me say that half of time took me to look for the right forum in XDA to post this message, and I'm still not sure I'm in the right place..
I think my Q is about modifying my OS, and this is why I post it here.
If the admin think there's better forum to this issue - I'd love to hear it..
Now, to business:
I have a GPS device, brand is X-GPS Navigation, Model GPS-S450B, that I will like to play with.
The OS is Windows® Embedded CE 6.0.
I just found out that at my GPS device, there is a file that resposible to a certain BMP that shown up at the shutdown process.
The filename is "PowerKey.exe", and it reffer to a file named "Notice_en.bmp".
I want to change that Notice-en.bmp file, to show that message in another langueage. I tried to overwrite the file with a similar bmp file, no luck. The file just re-created.
I've tried to edit the PowerKey.exe with a hex editor, and write a new path, to a file in NandFlash directory instead of the Notice_en that lays in Windows folder.
That also didn't go so well. "PowerKey has been preform illegal action and have to be shout down" or something like that, was the message. I could only put the device to sleep, until I recovered the old PowerKey file.
Any solution how to change the BMP file that resposible for the shutdown message?
(I guess the best idea is to write a registry entry to overwrite the BMP file in \Windows directory with the one in the \NandFlash directory every boot, only problem - I donno how to do it. )
Anyone?
There's no solution to my problem?
Recompile the exe.
Thank you.
Any chance to general guidlines in how is that done?
I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
ckv said:
I am using a couple of really old programs called recmod and reversmod and I am having trouble getting them to work. When I use the recmod tool, I do get a .dll file out of it, but the file is always 1kb and if I open a bunch of them in hex edit, they are nearly identical and each mentions that "this file cannot be run in DOS mode". Other than that, the rest of the file is almost entirely zeroes, so the code is null. Also the reversmode crashes when I try to use it on the .dll files I created, most likely because the files are busted.
In this thread: http://forum.xda-developers.com/showthread.php?t=1251237 OndraSter mentions something about recmod/reversmode using type 5 and 7 instead of just type 3. I don't really know what to make of this and Google leads me only to things that don't pertain to recmod at all.
Does anyone know how to make recmod work nowadays? Thanks in advance for any help provided!
Click to expand...
Click to collapse
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Diablo67 said:
The only thing i could find on it was ... http://forum.xda-developers.com/showthread.php?t=576027 and it hasnt been updated in awhile.
Click to expand...
Click to collapse
Yeah, that's the thread that first got me into the recmod tool. Great thread, just out of date. /:
Thanks for the reply though.
This may help
This may help someone help me a little. When I use recmod through the command line, I get an error saying "Error! ProcessCase0: bit 5 is zero!"
and this is the .dll file that I get out of it:
View attachment a.zip
I renamed the file name to a so it would be shorter to type because I was trying a lot of different command prompt things. It was originally k.senscmdd.dll, not that it really matters. All of the modules I tried came out almost exactly like this.
Hope this is ok to ask, I am hitting a brick wall..
I'll try and include as much detail as possible, so apologies if it's a bit long.
I am trying to convert apk to gpk - two apps in particular; MX Player and ES File Explorer
I have downloaded a tool with instructions from another forum using google translate from Burmese to English, but it's not perfect and still very hard to understand.
The name of the tool is GPKMaker.
From the instructions, I think I need the APK and the Data file folder from the same device that I am trying to install the gpk on. But I don't know how I would get the latter without installing it first..
I tried to use the MX Player Data folder
- com.mxtech.videoplayer.ad From another device to make the gpk.
I have attached a jpeg of instructions that also came with the tool (In Burmese - I can't translate).
From what I can make out, this is what I am required to have to make it work\install correctly:
(Using MX Player as the example)
FOLDER - MXPlayer with a subfolder and .ini file inside it
MXPlayer
game.ini
And inside the subfolder
MXPlayer.gpk
MXPlayer.png (Logo)
MXPlayer.xml
I have done that, and inside the game.ini file I have this written:
[MXPlayer]
package=com.mxtech.videoplayer.ad
version=1.7.40
Click to expand...
Click to collapse
and inside the XML file I have this written:
<?xml version="1.0" ?>
<Files>
<item type="gpp" path="MXPlayer.apk" offset="0" size="9976082"></item>
</Files>
Click to expand...
Click to collapse
I then place the main MXPlayer folder on the device I want to install it on, it appears and begins to install, but then stops and doesn't seem to go any further.
I'm guessing where I'm making the main mistake is the data folder.
But I can't find how or where I may get the correct folder from, would it have to be the same chipset? Or would the same cpu be sufficient?
I have tried the same steps above with the ES File Explorer and get the exact same results.
Hopefully someone can help me.
After searching extensively, I see GPK are also used for cracked/patching game files. But seems that would require the revers of what I am looking for.
As a result, there seems to be mutiple videos/links/programs for converting gpk to apk.
But no good to me, I want to convert into the file format everyone seems to be trying to get away from (typical)
Is this in the wrong subforum, or is nobody able to help?
I am really trying, but unfortunately getting nowhere.
Any reply may be helpful
[SOLVED] only if that's a real gpk file?
This is an easy fix.
That MXPlayer.gpk, is it a real .GPK file, not an .APK rename to a .gpk?
if it is a real .gpk, then you are not telling the device where the file is?
in your xml file you list MXPlayer.apk, but the file name is MXPlayer.gpk.
do that an you will the that it works.
(NOW) please tell me how did you convert an .APK file to a .GPK file, using that windows GPKMaker program?
please step-by-step.
Thanks.
Tomato_Jam said:
Hope this is ok to ask, I am hitting a brick wall..
I'll try and include as much detail as possible, so apologies if it's a bit long.
I am trying to convert apk to gpk - two apps in particular; MX Player and ES File Explorer
I have downloaded a tool with instructions from another forum using google translate from Burmese to English, but it's not perfect and still very hard to understand.
The name of the tool is GPKMaker.
From the instructions, I think I need the APK and the Data file folder from the same device that I am trying to install the gpk on. But I don't know how I would get the latter without installing it first..
I tried to use the MX Player Data folder
- com.mxtech.videoplayer.ad From another device to make the gpk.
I have attached a jpeg of instructions that also came with the tool (In Burmese - I can't translate).
From what I can make out, this is what I am required to have to make it work\install correctly:
(Using MX Player as the example)
FOLDER - MXPlayer with a subfolder and .ini file inside it
MXPlayer
game.ini
And inside the subfolder
MXPlayer.gpk
MXPlayer.png (Logo)
MXPlayer.xml
I have done that, and inside the game.ini file I have this written:
and inside the XML file I have this written:
I then place the main MXPlayer folder on the device I want to install it on, it appears and begins to install, but then stops and doesn't seem to go any further.
I'm guessing where I'm making the main mistake is the data folder.
But I can't find how or where I may get the correct folder from, would it have to be the same chipset? Or would the same cpu be sufficient?
I have tried the same steps above with the ES File Explorer and get the exact same results.
Hopefully someone can help me.
Click to expand...
Click to collapse