Modifying an app(game) - Android Apps and Games

I'm trying to modify files for an app in the data/data directory but the xml files have a hash file right under them. Everytime I make a change in the xml file the game crashes and resets. Please help!

Related

Corrupt File Names

Guys - I am new to this, so please be patient!
I have a problem with a load of corrupt file names in my IE temporary files folder. I have no way to delete them - going through PIE's 'Memory' option does not work, Total Commander cannot delete them, I even tried with a DOS command line utility.
The problem seems to be that the OS is unable to delete the files because the files have invalid characters in their name. I have tried moving / renaming them, but again it dont work!
The files also have peculiar dates (eg 01/03/1601), and appaerently huge sizes (3GB!).
Is there any other way I can delete them?
Any suggestions to fix this would be much appreciated.
Thanks

XML files corrupted after backup

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

Can't Load res/raw Files After Modding

Hello xda-developers!
I'm new to Android hacking, but I have a general background in programming...
I've been modding an application recently, unpacked the .apk file, done my changes and repacked it, signed it and everything works well...But when I run the program, and the program wants to play an mp3 file, which was located in res/raw before packing the .apk file, it gives an error: "Can't load audio file."...What is the possible cause of this problem and how to solve it? Are the IDs of the raw resource files changed everytime I unpack and repack the .apk file or what?
Thanks in advance...
Edit: Issue fixed by unpacking and repacking using Apktool instead of WinZip.

[Q] How to modify any android apk file?

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.

XMLs and Hashes

Hi!,
I'm currently training familiarize myself with app development. An app I'm currently dissecting has a lot of xml files I want to modify but there are hash files for each xml file. Whenever I modify an xml file the app resets everything. Can someone please help me overcome this obstacle..
Tried deleting hash?

Categories

Resources