How to create extacly the same tar.gz? - General Questions and Answers

Hi
I wanna modify my save game a little and I have tar.gz file from Titanium Backup. But even if I don't change anything my own tar.gz created with 7zip and replaced with original one makes every app crash. Is there any way to create working tar.gz or any different way to modify tar.gz? Currently I'm trying to modify subway surfers file.

Related

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

Editing app images

Hello, i want to edit some images (png) of a little game i installed from the market.
Problem is i can't find them on the phone.
Only i see them when i extract the .apk file.
Where are those image files extracted? Which folder?

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

Modifying an app(game)

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!

How to dump files from a game.

Hello, i'm trying to extract some assets from a game called Hatsune Miku: Colorful Stage.
I have tried to get the apk file and put it into an asset extractor but it doesn't contain most of the stuff.
The game installs some files on launch, so i suspected there would be an .obb file, but the game doesn't store any data under the android folder.
Google Play Store also seems to install additional files for the games on install, so that may also contain what i need, but i don't know how to get it.
I have tried to shell into my phone using adb, in an attempt to uncover some files, but since my phone (A32) is not rooted, i couldn't find anything related to the game.
I am fairly new to the "extracting files from a game" kind of thing. I used AssetStudioGUI in order to get my current files. The game uses Unity as it's engine and as far as my application shows, it's version 2019.4.15f1.
Any suggestions is appreciated.
rktfier said:
Hello, i'm trying to extract some assets from a game called Hatsune Miku: Colorful Stage.
I have tried to get the apk file and put it into an asset extractor but it doesn't contain most of the stuff.
The game installs some files on launch, so i suspected there would be an .obb file, but the game doesn't store any data under the android folder.
Google Play Store also seems to install additional files for the games on install, so that may also contain what i need, but i don't know how to get it.
I have tried to shell into my phone using adb, in an attempt to uncover some files, but since my phone (A32) is not rooted, i couldn't find anything related to the game.
I am fairly new to the "extracting files from a game" kind of thing. I used AssetStudioGUI in order to get my current files. The game uses Unity as it's engine and as far as my application shows, it's version 2019.4.15f1.
Any suggestions is appreciated.
Click to expand...
Click to collapse
Install the game from Playstore, let it install the additional files then find and extract those files. The app should be in data/data and your game app data and .obb should be in Android folder. Also, some parts of games are not installed on the device and some parts of game data are not stored on the device, they are in the server for the game, you can't access or modify those parts.
What are you trying to extract from the game?
We do not provide assistance with hacking paid games or paid parts of games, so, if that is your goal, you will not get any answers or help here. The forum rules prohibit such discussion.
Droidriven said:
Install the game from Playstore, let it install the additional files then find and extract those files. The app should be in data/data and your game app data and .obb should be in Android folder. Also, some parts of games are not installed on the device and some parts of game data are not stored on the device, they are in the server for the game, you can't access or modify those parts.
What are you trying to extract from the game?
We do not provide assistance with hacking paid games or paid parts of games, so, if that is your goal, you will not get any answers or help here. The forum rules prohibit such discussion.
Click to expand...
Click to collapse
I want to extract a few asset and sound files. Like i said i couldn't find the .obb files anywhere in the Android file. The game downloads a big content pack by itself on launch. They are stored in the phone, since it would be kind of dumb to download a few gb's of files and then using the server files.
rktfier said:
I want to extract a few asset and sound files. Like i said i couldn't find the .obb files anywhere in the Android file. The game downloads a big content pack by itself on launch. They are stored in the phone, since it would be kind of dumb to download a few gb's of files and then using the server files.
Click to expand...
Click to collapse
You can try using adb to create a adb backup of your user apps and user data/app data, then extract the contents of the backup file that adb creates. It doesn't require root as long as you aren't trying to extract system apps or system data. When you extract the data from the adb backup file, look in the data/data/ partition to find your user apps, your game apk and its installed data should be in there, then look in Android folder to find the app data for that app
Look for a guide on how to do a adb backup, the command to create the backup has specific optional switches to include or ignore the data of your choice. In your case, you want to use the adb backup command with the specific swiches to backup user apps and their app data but ignore everything else.

Categories

Resources