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
Related
The file I'm trying to copy is ezinput.dll. Specifically, the version from my new Sprint Diamond Touch Pro.
I never had any problems copying files from ROM, but this one resists.
I tried using 1) Explorer via Activesync, 2) Resco Explorer (error: Cannot copy, Invalid parameter), 3) Total Commander (Cannot copy), 4) zipping the file (result is a 0 byte file), and stopping all the related services but results are the same.
Thinking that the dll is locked because it is loaded, I renamed all references of this file in the registry, reset, no joy.
Using Memmaid, I see that Services spawns many threads, and some of the et9 related dlls are started by it. Is this why I can't copy the file? If so, how do I keep Services from starting the .dlls?
The big questions are 1) Why can't I copy? and 2) How do I copy a file that resists copying?
Thanks.
question here is why do you want to copy the file, well i would like to know why lol
Have you got a rom update for the diamond rom you could extract the file from that, maybe it is protected ,which is why it cant be copied. Have you tried clicking copy in resco then just paste a copy back into the windows directory it will just rename it copy of ezinput.dll ,then maybe you will be able to copy that copy of the file?
Yes, I can extract the ROM (no update as far as I know) if I needed to, but I'm trying to avoid that.
I want to copy that file because the Touch Pro has slightly variations in its soft keybard that I would like to use.
I asked one of my developers, and he explains that the file is opened as "exclusive". I need to find a way to keep that file from running on startup. It's not running as a service, it's not in the startup, it's a registered .dll that is being called by another process.
Does WM6.x have a .dll cache?
There must be a way to copy this file... Help?
use total commander; works for me
zeezee said:
use total commander; works for me
Click to expand...
Click to collapse
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
snovvman said:
As I indicated in the original post, TC did not work. If you have a Diamond/Touch Pro/WM6.x w/ HTC's soft-keyboard, I would like you to try to use TC to copy windows/ezinput.dll to another location. My guess is that it will NOT work.
Click to expand...
Click to collapse
ohh...i didnt read carefully enough, sorry.
Might be a way to see content of the flashdisk on the PC while in the erm...tricolor screen (i cant believe i dont remember the term at the moment x.x) - but then again, probably not.
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
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?
AndroidSuite 2012
Coded & Tested by:
Tom Dolan (Scriptr)
Joel Duncan (Slethen)
AndroidSuite 2012 what it does
Decodes and encodes Dex files
Decodes and encodes APK files(Previously bugged in APKManager)
Gives a console output
Whats to be added?
Experimental features (currently in testing)
Thread piority
Config editor
Help file
System requirements:
Windows (XP/Vista/7)
1024x768 monitor resolution
512MB free system memory
Java (JRE/JDK 6 prefered)
Android Suite 2012 by Team Scripthen
APKs:
Place the APKs in the directory \apk\
refresh the list,
select from the first list box which one you want to decode then hit
"decode selected" you can then edit the source in "decoded-apks".
to re-encode, refresh the list again, the select from the second list which directory
you'd like to encode hit "encode selected" once the progress bar has stopped you can
then safetly remove the APK from "encoded-apks" directory.
Dex:
place your .dex file in the directory "\repo\Dex" go to the main window and then hit
"Decode Dex", then you can click "Open OUT Directory" to view the source code.
Once finished with the source code you can then hit "Encode Dex" to reencode it to
"classes.dex" which will appear in programs root.
Experimental:
Version 99 they do not work.
However, when they do work, this shall be updated but you are to be careful and
take note it is not our fault if anything goes wrong, as these are critical these
will be throughly tested to ensure the correct configuration is used.
Experimental features added:
Apply update.zip;
Applies an update.zip to the device,
please note:
To apply the update, the archive needs to be in %PROGRAMROOT%\repo\
Reboot;
Send reboot signal to the phone
Boot to fast mode;
Reboot the phone to fast mode
boot.img;
This has NOT been fully tested!!!
To apply the new boot image put it in %PROGRAMROOT%\repo\
It would be extremely helpful if you were to post bugs/errors on this topic so we can find them easier.
http://node2.scriptr.co.uk/Dev/AndroidSuite/
thanks,
Scriptr|Slethen=Scripthen
first of all, thank you for this, it looks great! However, I am unable to encode anything. I get a sound effect as soon as i click encode decoded directory and the progress bar moves at an incredibly slow pace. is it doing what it's supposed to do? I let it sit for 15 minutes and nothing ever happened.
How big is the apk? And whats your cpu speed?
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Does the Console output give you any errors? or could you paste what the error is instead of clogging the chat.
What it sounds is that you dont have java recognised as a program. I will fix that when I log on Windows again.
please use pastie (google I cant use links yet) with the error so we can look into it.
-Tom.
pokedroid said:
the app size is 5mb and my cpu is an i5 clocked at 2.3ghz. the odd thing to me is that it doesn't seem to try to encode the apk at all. when the decode finishes, a chime goes off. that same chime sounds within half a second of my trying to encode the same app. The decode works perfectly though!
Click to expand...
Click to collapse
Updated, your problem might be fixed.
Might be an idea to state in the title or under system requirements whether this is for Linux or Winblows.
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
unzip it with Winzip, winrar cant extract it.
dancer_69 said:
Hey, I just downloaded android suite, but seems that the zip is damaged.
The folders from the zip created, but no files and I get errors from winrar like this:
Unknown method in bin\apktool.jar
No files to extract.
I' ll try to download it again, but can you please check it?
EDIT:
Redownload it 5 times, same errors. Archive is damaged, shows that is 36,3MB, but need less than a second to complete download(which is wrong for sure).
Click to expand...
Click to collapse
I'll get right on it.
Must of been the compression method, also try with 7-zip.
Right, re-uploaded with 0 compression, the archive shouldnt cause trouble now.
I'm actually unable to even get the download to start. I get an error when I click the link from google saying they can't find the requested link. I've tried 5 times.
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Scribblezzz said:
Somehow the link had been replaced by "*****"
Here's the direct URL:
http://node2.scriptr.co.uk/Dev/AndroidSuite/AndroidSuite-b112.zip
I will add a downloader soon so hopefully it will be more efficient.
I will integrate that in next release,
sorry for all the trouble so far.
Click to expand...
Click to collapse
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
cornelha said:
What exactly is in the archive that requires us to download 113mb? To decompile and recompile and apk all you need is:
Java - Already on my system
aapt.exe - Already on my system
apktool.jar - Already on my system
Command Prompt - Well duh, part of windows.
Could you provide screenshots of the application?
Click to expand...
Click to collapse
It's got the Java binaries in the directory.
as some people dont have the "java.exe" patj, it fails to load it.
I will add some screenshots later, and I shall update it later, I just need to do more testing on Java findings...
personally I'm good to go. A simple scan with an anti-virus is all I need to ensure it's legit. I have a backup so I'll take the OP's word for it. Also, no need to apologize for "problems" IMO, I have no idea how to decompile/recompile or sign an apk so even if there are bugs, you're still doing me (and a lot of others) a favor. Thanks for all of the work you've put in so far!
Screenshot of AndroidSuite2012
so, every time I try to close the .exe, a web browser opens that takes me to ad.fly.... not sure what that's about. I don't know what the link was for, so I closed it and didn't click anything. Also, the utility still doesn't seem to be able to recode the apk. the error message I received is in a .txt file attached to the link below. I didn't want to post this whole thing inline.
http://www.box.com/s/yoaxly1na5mjqhjralca
sorry, double post
I see the problem..
I will start to work on the fix later today...
Also I will test better java detection reducing the archive about 70 or so megabytes...
Sorry for the bulk archive it was just a temporary solution...
Thank you again for posting error log.
-Scribblezzz.
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
To edit any apk is necessary Apktool. Look this guide and try edit:
http://www.xda-developers.com/decompile-edit-and-recompile-in-one-tool-with-apk-studio/
gamer22881 said:
I use Bluestacks 0.9.11.4119 . I Install android applications and games, from root folder (i.e. device/android/data/data) i copy all the folders to windows directory (i.e. publicfolder/pictures), now many of the apps or games have two type of similar files and i need to see what's inside of the files,
1st.- .so files and database files
2nd.- some of the files have no extension so if i open it on notepad then it comes in Alphanumeric symbolic format,i think its encrypted so i am not able to see even i have tried many language decrypter but failed
3rd.- how to dissemble the apk file and how to modify it.
4th.- how to read XML file of android apps, when i open it on notepad or Microsoft XML it shows error.
I want to learn something so please help me with these issues, and thank you for previous help
Click to expand...
Click to collapse
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
ИΘΘK¡€ said:
In addition to apktool (thanks, @kaiodduarte), you're also going to need a good text editor (I use Notepad++), an archive manager (like 7zip or WinRAR), and the ZipSigner app for your device.
Click to expand...
Click to collapse
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
gamer22881 said:
thank you for the advice but i have 1 worries
if the text file or a file is encrypted the how is notepad++ is going to help me..??
Click to expand...
Click to collapse
It will help you with actually being able to make edits to text files without screwing up all of the line endings and encoding.