Hacking android games- on PC [Q] - Android Q&A, Help & Troubleshooting

Hello, basically I am wondering what is the best program to edit .DAT files ( the typ of file that is [mostly] used by android-game dev's to save stored data of the game )
and edit them,
also i was wondering what if I can't find the game/app map when connected to USB?
> I want to do it on the PC because I have the one X and are NOT going to root it.
Regards!

In order to access those files and write on them (edit them), you need root.
Sent from my DROID2 using xda premium

gagdude said:
In order to access those files and write on them (edit them), you need root.
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Please read again, I can access them through my computer easily, in fact I have them open now on HxD editor, but I need a good program to edit these .DAT files with.

Then you need to push those files to the phone, which requires root
Sent from my DROID2 using xda premium

gagdude said:
Then you need to push those files to the phone, which requires root
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Yes, okay but I still am just wondering what is the best program to open these .dat files with.

gagdude said:
Then you need to push those files to the phone, which requires root
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Since when you need root to access a file created by application that doesn't require root?

nikiiv said:
Since when you need root to access a file created by application that doesn't require root?
Click to expand...
Click to collapse
He has no idea what he's talking about.
Sent from my E15i using xda premium

nikiiv said:
Since when you need root to access a file created by application that doesn't require root?
Click to expand...
Click to collapse
The file of an app, say a game is under \data\data and in order to change or replace those files, you need root.
NIMBAH said:
He has no idea what he's talking about.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
I know, right
Sent from my LG-C800 using xda premium

gagdude said:
The file of an app, say a game is under \data\data and in order to change or replace those files, you need root.
Click to expand...
Click to collapse
An app cannot write there under normal circumstances.. For writing there you need root, but games doesn' store their savegames there.
Let me put it differently.. if an app doesn't ask for root, all files it creates can be accessed by adb.

nikiiv said:
An app cannot write there under normal circumstances.. For writing there you need root, but games doesn' store their savegames there.
Let me put it differently.. if an app doesn't ask for root, all files it creates can be accessed by adb.
Click to expand...
Click to collapse
This is why non rooted phones cannot cheat on games, they cannot access the files there.
When you go into app settings and look under each app, there is a section that says data....x MB. And you can clear data. That data is stored under /data/data
Sent from my LG-C800 using xda premium

nikiiv said:
An app cannot write there under normal circumstances.. For writing there you need root, but games doesn' store their savegames there.
Click to expand...
Click to collapse
Check again. All user installed apps have folders there with some associated data. Some games don't have their savegames there, others do.

Theonew said:
Check again. All user installed apps have folders there with some associated data. Some games don't have their savegames there, others do.
Click to expand...
Click to collapse
Indeed, and the games I'm wondering about do have the save game in the folder, simply access-able when I connect my phone (One x) to the PC.
Any how, how could I open these files, with what program?

siemz said:
Indeed, and the games I'm wondering about do have the save game in the folder, simply access-able when I connect my phone (One x) to the PC.
Any how, how could I open these files, with what program?
Click to expand...
Click to collapse
The save games' files are usually XML files. You should be able to simply use notepad (or any other text/word associated software) to edit them.

Theonew said:
The save games' files are usually XML files. You should be able to simply use notepad (or any other text/word associated software) to edit them.
Click to expand...
Click to collapse
Sadly this is a .dat save file, any idea how to edit these?

siemz said:
Sadly this is a .dat save file, any idea how to edit these?
Click to expand...
Click to collapse
Hex editor, and messing around to see what each adress does. Every game dev uses their own liba and stuff, there is no universal program to edit those files.
Its like writting your own secret code inside a book, someone else might open it, but go figure out how to interpret each line.

In-app Android
Is it possible to hack games and get free in-app purchases such as on the iphone for android i've been looking but haven't found anything yet.

Geofbc said:
Is it possible to hack games and get free in-app purchases such as on the iphone for android i've been looking but haven't found anything yet.
Click to expand...
Click to collapse
It sure is. Hell, there even is a forum wide XDA announcement about it: http://forum.xda-developers.com/announcement.php?f=530

You might try enabling USB debugging... Found under developer options. This is in all Android devices enabling varies by release. Try checking out Setting - About Android - build version click that 7 times and it should enable it in main settings. It has already been said you really should root. This is usually the first step to getting root. I know nothing about HTC, but chainfire root has worked for me many times, from Sony, Moto and Samsung. Google your make and model + root +xda dev.
I myself have used Hex Editor, but it looks like garbage to me. Good luck and please give an update if you find a template or app

Interesting. I'm trying to hack my own game. Hope I can, because it obviously is possible...lol.

Hacking HTC devices is hard as hell, i have htc one and i can tell
The root needs clock work mode
And this CWM needs bootloader and the bootloader needs hellava time and experience
I just dont have time to do all that sh1t, isnt there an easier way to root stupid htc's, or at least to hack games on pc
Or hack the games without rooting
And dont tell me to use lucky patcher because its bullsh1t
Thx for reading

Related

How To - Load full desktop websites permanently in Chrome for Android Mobile

Hey guys, I wrote an article over on our site that shows a quick walkthrough on how to display full desktop websites permanently on Chrome for Android Mobile so that you don't have to visit the mobile site, then hit "request desktop site" button any more. Considering Chrome is an awesome browser with full sync, and works very well on Jelly Bean, this might be of use to all of you. I know I was sick of having to constantly click the button.
Article: How To – Permanently Have Desktop Mode on Chrome Mobile for Android
Rooted device Instructions:
Copy the chrome-command-line.txt file attached to the post, then paste it into /data/local/ making sure to set the permissions to 755 and to remove the '.txt' file extension.
Flashable .zip, for the lazy:
You should know how to use this by now. Grab the attached ChromeDE.zip provided by XDA user djmcnz and flash away! (Thanks!) You can also drop him a thanks by visiting a post of his later in this thread.
ADB Instructions (for non-rooted devices):
Place the chrome-command-line.txt file in the root directory of your PC and rename it to 'chrome-command-line', then make sure your device is connected to your computer. When connected, issue this command:
Code:
adb push /chrome-command-line /data/local/chrome-command-line
You can also set the path on your computer where the file is located by replacing the first '/chrome-command-line' with the file location.
Cheers! Hopefully we'll see a better implementation of this in the upcoming 4.2 release.
Very useful. Instructions were clear and precise, Nice one!
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
b3ava said:
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
Click to expand...
Click to collapse
Thanks guys, glad I could help. Wish I knew how to make it more stable! It seems that it runs much better on Jelly Bean, but us ICS users are still stuck with it being really slow and buggy
Sent from my GT-N7000 using XDA Premium HD app
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
bunnybash said:
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
Click to expand...
Click to collapse
I'm using solid explorer off of the market (a free file manager) which allows you to set the permissions of a file. In solid explorer, they are set by ticking the correct boxes, whereas in other applications they are typed in by number..
Sent from my GT-N7000 using XDA Premium HD app
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
rockky said:
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
Click to expand...
Click to collapse
You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app[/QUOTE]
rockky said:
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
Don't think it works that way mate. That one was built into Chrome, just enabled by the file.
Sent from my GT-N7000 using XDA Premium HD app
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
zionwolf said:
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
Click to expand...
Click to collapse
Exactly! Glad I could help!
Sent from my Transformer Prime TF201 using XDA Premium HD app
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
djmcnz said:
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
Click to expand...
Click to collapse
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
omac_ranger said:
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
Click to expand...
Click to collapse
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
djmcnz said:
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
Click to expand...
Click to collapse
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
omac_ranger said:
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
does what is says on the tin
well spotted and thanks for posting
djmcnz said:
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
Click to expand...
Click to collapse
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
tony_man said:
well spotted and thanks for posting
Click to expand...
Click to collapse
No problem. Mind dropping a thanks? Waiting at 99 is a huge pain the arse.
omac_ranger said:
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
Click to expand...
Click to collapse
No worries, I can whip one up in a few minutes when I get home.
In the meantime you can have a look at some here: http://djmcnz.batteryboss.org/GNexus/mods/StockLauncher/v4/
If you want to have a play and look at the script. It will need to be different for you of course, least of all because we'll be mounting /data instead.
I'll send you a PM later on once I'm home (I'm in Europe/CET).
PS - 100

Access to system files?

So I was doing something and I was in a file browser and thought this was weird..
http://db.tt/JaBFFf6l
Just out of curiosity is that normal? On my old phone before I had root, file managers wouldn't even show system files let alone access to them.
Sent from my ADR6410LVW using xda app-developers app
somerandomname1 said:
So I was doing something and I was in a file browser and thought this was weird..
http://db.tt/JaBFFf6l
Just out of curiosity is that normal? On my old phone before I had root, file managers wouldn't even show system files let alone access to them.
Sent from my ADR6410LVW using xda app-developers app
Click to expand...
Click to collapse
I was able to read system on my original Incredible before I had root, and the same with this phone. I can't modify anything, but I can pull files/apps and save them elsewhere.
/data, on the other hand, is a different story. You have to have root to be able to view or modify anything there.

Sync app for games

Hi, i'm trying to build (really don't know if im able to) a sync app for the savedgame files of games
in this case i'm starting from one game, Sword & Sorcery..
But i have 2 questions before starting...
1) Anyone knows where the file is located (is this BLABLABLABLABLA.bin that i've found in /data/user/0/com.capybaragames.sworcery/cache?)
2) is possible to read this file and save it into the same location of another device...WITHOUT ROOT?
I think that there are different locations for every game...
Although, I think that it's possible but you will have to set save location for every game...
Sent from my home using my tablet
pigeonaras said:
I think that there are different locations for every game...
Although, I think that it's possible but you will have to set save location for every game...
Sent from my home using my tablet
Click to expand...
Click to collapse
Yes i know that
But...you think it's possible to overwrite a file into the internal data folder without root permissions?
Nobody can help me? I just want to know if there's a way to overwrite an internal data folder file without root permissions
Sent from my Nexus 4 using xda app-developers app
I think that you might need root permissions to do this...
Sent from my home using my tablet

cant install verizon cloud after flash

Hey, for some reason when I go to download Verizon Cloud to restore some of my data it won't let me download it, it says "this item isn't available on your carrier" even though I have a Verizon phone.
Any help would be appreciated!
Also the ROM that I installed was Tron 2.2, runs super smoothly
diddykonga said:
Hey, for some reason when I go to download Verizon Cloud to restore some of my data it won't let me download it, it says "this item isn't available on your carrier" even though I have a Verizon phone.
Any help would be appreciated!
Also the ROM that I installed was Tron 2.2, runs super smoothly
Click to expand...
Click to collapse
On Tron, and most other AOSP/AOKP ROMs, the phone no longer identifies itself as a "Verizon" phone, so Verizon specific apps don't work... Some of them you can side load and will work, others will not or will only work partially since most of them require other Verizon specific apps and services to be running on the phone and I don't know of any AOSP ROMs that have those services loaded. Check the various APK repositories and try to install, but to be honest it's only a 50/50 chance it will work.
This is the reason that we generally use Ultimate Backup (or Titanium Backup, My Backup, etc) and Nandroid images, and Google cloud based services and do not use Verizon services on custom ROMs.
Alright, fixed the issue, went into my build.prop and changed "ro.carrier" from "unkown" to "verizon" and aloud me to download it.
diddykonga said:
Alright, fixed the issue, went into my build.prop and changed "ro.carrier" from "unkown" to "verizon" and aloud me to download it.
Click to expand...
Click to collapse
Cool... Hope it works for ya.
Sent from my Infected Rezound
Hey I know this was a while ago but could you show me how you did it? Where do I find build.pro?
Sent from my HTC6435LVW using XDA Free mobile app
CHRIST STARZ said:
Hey I know this was a while ago but could you show me how you did it? Where do I find build.pro?
Sent from my HTC6435LVW using XDA Free mobile app
Click to expand...
Click to collapse
Build.prop is in the /system directory of the phone... root access is required to make the change.
Sent from my Samsung Galaxy Note Pro 12.2
I have root access where can I find it
Sent from my HTC6435LVW using XDA Free mobile app
CHRIST STARZ said:
I have root access where can I find it
Sent from my HTC6435LVW using XDA Free mobile app
Click to expand...
Click to collapse
Read please...
acejavelin said:
Build.prop is in the /system directory of the phone... root access is required to make the change.
Sent from my Samsung Galaxy Note Pro 12.2
Click to expand...
Click to collapse
I asking where is the system directory... Please understand....
Sent from my HTC6435LVW using XDA Free mobile app
I gave you the exact path, it is /system/build.prop, the /system directory is directly off the root of device... If you use Root Explorer it should be simple to find.
Sent from my Samsung Galaxy Note Pro 12.2 using Tapatalk
THANK YOU
acejavelin said:
i gave you the exact path, it is /system/build.prop, the /system directory is directly off the root of device... If you use root explorer it should be simple to find.
Sent from my samsung galaxy note pro 12.2 using tapatalk
Click to expand...
Click to collapse
thank you very much your awesome
Trying to make this work for me...
i changes the ro.unkonwn to "Verizon" ...saved. Restarted my phone and still doesnt recongize Verizon Cloud. Any help pls...
What intend to do with Verizon Cloud is to backup my text messages to my computer so i may print them out in a clean subsequent form. If this is the not the correct program for my needs then i need a 3rd party software...ive tried backing up to Dropbox but its messy and has computer jargon Ive tried GMAIL and yes it is legible but in chronological disarray. Does anyone know of a suitable 3rd party software like COOLMUSTER athough i dont want to pay for crap thank you very much for the help!

How Do I Port Apps To Other Phones?

Hey,
Well I have been more active on here lately and I am starting to want to contribute to the community
I have the S5 system and I wanted tot try (practice) porting the apps from that to the Note 2. I do know someone has done a few but I would like to give it a shot myself.
Spunkiest said:
Hey,
Well I have been more active on here lately and I am starting to want to contribute to the community
I have the S5 system and I wanted tot try (practice) porting the apps from that to the Note 2. I do know someone has done a few but I would like to give it a shot myself.
Click to expand...
Click to collapse
A lot of them require 4.4.2... But the basic concept behind porting apps is taking the apk you want..finding if it needs library files and maybe even some bin files as well..and then putting them in your system folder..if it FC's pull a log and see what else is needed
Sent from my SCH-I605 using xda app-developers app
lacoursiere18 said:
A lot of them require 4.4.2... But the basic concept behind porting apps is taking the apk you want..finding if it needs library files and maybe even some bin files as well..and then putting them in your system folder..if it FC's pull a log and see what else is needed
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I tried this with the S5 music app and it wouldn't even install, I am guessing there are more files for it then? Where would I put these files once I have found them?
Spunkiest said:
I tried this with the S5 music app and it wouldn't even install, I am guessing there are more files for it then? Where would I put these files once I have found them?
Click to expand...
Click to collapse
System/app.. You would have to delete your music apk or rename it .bak.. Not sure if they updated the libraries on that app but its possible.. Also changing the SDK version in the mainifest might solve some problems too
Sent from my SCH-I605 using xda app-developers app

Categories

Resources