Paradise Island editing apk, but game crashes - Android Software/Hacking General [Developers Only]

Hi
i try to manipulate a game for Android, called Paradise Island.
Does it work, when i backup the game apk with Titanium Backup, open the apk with WinRar, edit e.g. achievements.plist (xml style, i edited here some values), save the achievemnts.plist back into the apk with compressionmode normal (still Winrar) and sign the apk with Singapk.jar and transfer it to my mobilephone?
I just did so and the game loads, but after 1 or 2 seconds the game quits without any errors or notifications. I can hear the ingame music for these few seonds.
What did i do wrong? Is there anything that i must pay attention to?
Thx for answers and maybe there is someone else out there trying to hack that game

i guess your achievements are also stored on the server (i think you can visit other players islands, so there must be some data from each of them available) and so they might notice it when you "cheat"

Yeah, but i never had my Internet connection turned on, so there can't be a possibility, that it was checked by the server

imo checksum verification

Shushero said:
imo checksum verification
Click to expand...
Click to collapse
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.

ChEeTaH182 said:
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.
Click to expand...
Click to collapse
I think, while loading game, there is a calculation of checksums of all plists and then just verification of them with constants in source code, without any connection to the internet.

Related

Disabling Access To Games

Hi - is there any way on PocketPC 2003 to disable access to Solitaire and Jawbreaker. I'm pretty sure I can't remove them all together as they're in the ROM - but some registry hack to prevent access to them would be sufficient.
Try this...
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
tried & failed...
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Re: tried & failed...
gremlin said:
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Click to expand...
Click to collapse
Why do you want to block them?
Re: Try this...
pneuma said:
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
Click to expand...
Click to collapse
Hey pneuma.
2) Isn't working for me either. I thought gremlin was doing something wrong, but I just tried it myself, and, although my "fake" solitaire.exe (a renamed app) file is there, so is the original solitaire.exe. Tapping on the Solitaire icon under games runs the game as if nothing happened, although just opening the Games folder would tell you that it didn't work (the Solitaire icon is still the cards)
What did you do that we didn't? I'm using a Universal.
Peculiar...
Personally I haven't tried this specific to the games, but there was a nasty spash screen in the new WM5 for my Himalaya that I replaced in the method detailed above. It would appear however that solitaire might be a system program, as the following files:
\windows\solitaire.lnk
\windows\start menu\solitaire.lnk
have the following Target: ":MSSOLITAIRE"
but don't despair!
If you have resco explorer or some similar mobile based explorer replacement, try edit the links to point to the replacement exe, or even delete the links altogether, as well as the Games directory under "\windows\start menu\" (might not work deleting them though).
If the deletion or edits don't work you may well have to do the same trick, replacing these .lnk files with something else.
--Marc
Thanks to pneuma I think I've got a workable solution without having to hack into the ROM!
I've created two programs (using PocketBuilder) called Solitare.exe and Jawbreaker.exe which just pop up a response window saying "This Application Has Been Disabled"
I've also created two .lnk files - solitare.lnk and jawbreaker.lnk which contain:
22#"\Windows\Solitare.exe"
and
23#"\Windows\Jawbreaker.exe"
respectively
In my boot process I copy the executables and .lnk files to the \Windows directory and also copy the .lnk files to the
\Windows\Start Menu\Program\Games\
directory.
I don't think our users (sorry to diss them) are bright enough to figure out they have to remove all of these files to get the games working again.
Thanks for all your help.
Gremlin.
gremlin said:
(sorry to diss them)
Click to expand...
Click to collapse
But you're dissing them all the way by treating them like this.
Why shouldn't they be able to play Solitair or JawBreaker every now and then during a coffee of lunch break. A bit of light releif never did anyone any harm.
I'm glad I don't work with you. (Bah Humbug)
I have no say in how the users are treated - I am merely a developer - I get told what needs to be done and I do it. I can offer my suggestions at design time but ultimately it is not my decision how the users are treated on the shop floor.
If I was in management it would be a different story.
I'm lovely to work with - I make the tea and everything
gremlin said:
If I was in management it would be a different story.
Click to expand...
Click to collapse
Point taken. :wink:
I would argue that it's hardly worth the effort just to piss people off.
I'll have my tea with milk and no sugar.

Understaing Update.zip Structure

I found this and this is what all of us need to understand.
http://docs.sun.com/source/816-6167-10/jar.htm
Everyone READ and UNDERSTAND... I won't sleep tonight
I'm very interested in this sentance:
"You can use the JAR archive format to package files even if you don't want to sign any of them. In this case, you won't have any signature instruction files or digital signature files."
Lets hope that Google doesn't force signed files.
quedijo said:
I found this and this is what all of us need to understand.
http://docs.sun.com/source/816-6167-10/jar.htm
Everyone READ and UNDERSTAND... I won't sleep tonight
Click to expand...
Click to collapse
Awesome information.... Just wondering about a couple things like how do you make the RSA?
neoobs said:
Awesome information.... Just wondering about a couple things like how do you make the RSA?
Click to expand...
Click to collapse
BEFORE ANTHING! UNDERSTAN HOW PKC (PUBLIC KEY CRYPTOGRAPHY)
Simple Terms (Look at the pictures):
http://java.sun.com/developer/technicalArticles/xml/dig_signatures/
In detail:
http://en.wikipedia.org/wiki/Public-key_cryptography
This is to create the keys:
http://articles.techrepublic.com.com/5100-10878_11-1045749.html
Creating Digital Signature:
http://docs.sun.com/source/816-6167-10/jar.htm#421821
Associating Digital Signature with files:
http://docs.sun.com/source/816-6167-10/jar.htm#421587
First link went over my head... I think it is too late for me to be thinking that much LOL
I think the wiki explained what I already know. You have a private key only you know. And you give the public away with the message. The private key encrypts a file that can only be decrytped with the public key and viceversa. I think that is the easiest way to say it. If I am wrong stop me now.
I kinda get how to create keys but I am so clueless to java... is there an idiots guide or program to make the pair?
The last two links still go over my head. I understand how it works but still not sure how to make the hash's. Even if I get the pair... how do you make a hash? And is there a program that will make it easier? You give it the Private RSA and the folder and it makes the manifest and the Cert files? HAHA I am asking for it to be way too easy.
neoobs said:
I think that is the easiest way to say it. If I am wrong stop me now.
[...]
HAHA I am asking for it to be way too easy.
Click to expand...
Click to collapse
You're right about PKC.
Actually IT IS way too easy. That first link is a description of what the structure is. As long as you have that understanding you could use packagers in java to do all the work.
Hashing is proabably the easiest part. There are numerous programs out there to make SHA1 hash keys. If you have the time listen to this podcast it describes Hashing in a understandable way.
http://media.GRC.com/sn/SN-035.mp3
But "some" work will be required
I'm still looking and will try to make some instructions. Beleave me, I've searched all over the place for hashing and other stuff.
quedijo said:
You're right about PKC.
Actually IT IS way too easy. That first link is a description of what the structure is. As long as you have that understanding you could use packagers in java to do all the work.
Hashing is proabably the easiest part. There are numerous programs out there to make SHA1 hash keys. If you have the time listen to this podcast it describes Hashing in a understandable way.
http://media.GRC.com/sn/SN-035.mp3
But "some" work will be required
I'm still looking and will try to make some instructions. Beleave me, I've searched all over the place for hashing and other stuff.
Click to expand...
Click to collapse
I have two programs. HashCalc and cyohash. I use MD5 hash all the time. I just wonder if we can make something that will hash all the files in a folder/subfolder and put them into a text file like the manifest. And then use our private key to put them in a cert file.
neoobs said:
I have two programs. HashCalc and cyohash. I use MD5 hash all the time. I just wonder if we can make something that will hash all the files in a folder/subfolder and put them into a text file like the manifest. And then use our private key to put them in a cert file.
Click to expand...
Click to collapse
Yes, that is what XML is for or even PHP.
Java has a million of them.

[Q] Website Copier/Downloader/Ripper for Android?

Hi,
Does anyone know of an app that can create a mirror of a website, or download the whole website (with filters for filename or filetype). In particular I need to rip off images from the site.
On a PC this can be done with Httrack Web Copier or offline browsers.
Thanks!!
thedesolatesoul said:
Hi,
Does anyone know of an app that can create a mirror of a website, or download the whole website (with filters for filename or filetype). In particular I need to rip off images from the site.
On a PC this can be done with Httrack Web Copier or offline browsers.
Thanks!!
Click to expand...
Click to collapse
wget is the easiest way, and I think it's included with busybox
Theres also an app called "SD Card Offline HTML Browser".
Thanks guys.
SD Card Offline HTML browser can only view sites stored on the SD that were ripped from wget etc. But that will be handy too.
I'm looking more into wget (I do have it just need to learn how to use it). I guess this is only for root though.
My app WebLiveWallpaper can do this for images as a byproduct. Select 'Dump all images' in 'System Settings'.
You can do a lot of stuff there in the 'Advanced Settings' with regular expressions.
I am also working on extracting and enhancing this functionality (also dump complete websites) into a separate app but this will take some more time ...
_miha_ said:
My app WebLiveWallpaper can do this for images as a byproduct. Select 'Dump all images' in 'System Settings'.
You can do a lot of stuff there in the 'Advanced Settings' with regular expressions.
I am also working on extracting and enhancing this functionality (also dump complete websites) into a separate app but this will take some more time ...
Click to expand...
Click to collapse
man, your app is really cool...it looks like something different but it has a ton of options...if u can develop this further into a complete image/content extraction tool. this would be awesome
ive been playing around with it but havent been able to do what i have wanted yet...will try some more!
Firstly, I am having some problems with wget: it does not resolve hostnames
Even when I give it an IP address, it still picks up another hostname from somewhere that it cant resolve...I think its a known problem, but I dont know how to update my busybox or wget
Secondly, WebLiveWallpaper is a deceptively good program, but I have 2 problems with it. Firstly it is VERY slow (even with WiFi) in downloading and dumping the images. Secondly I had problems in grabbing images from multiple levels above. It works fine if all the images are on the same page. But nevertheless it does the trick.
WebLiveWallpaper app: if you did not already use you should try advanced settings static gallery set to a high number. That will speed up loading after the first picture very, very much. The app needs to explain everything better but I have not enough time ...
Sent from my HTC Magic using XDA App
Website Downloader on Android
play.google.com/store/apps/details?id=com.library.webdownloader&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5saWJyYXJ5LndlYmRvd25sb2FkZXIiXQ..
I have found this one. It is downloading the page with all texts and images. :angel::angel::angel:

help with locker app files

Ok, so my buddy had an app downloaded from the google play store. back when the S4 Mini was newish. He had some kind of photo/file locker app which all i can tell you is it made a folder on the internal storage simply called "Locker" and all the encrypted files that were locked with that app were in there but of course un-readable because that are apparently actually encrypted to some extent. the phone went overboard in the salt water, couldnt be repaired but i managed to get it running enough to pull the "locker" folder with all the locked data off the storage. He doesnt remember the name of the app used and no longer has the google account to look at his download history to find it. but the icon was blue-ish and it created a folder called "locker" on the storage. he entered his passcode on a dialpad looking menu and boom, his locked files showed up. but thats all i know about it. hes trying to get that data readable again, and changing the extension to jpeg or jpg or png didnt work. just wondering if anyone here may have some sugguestions of apps to try to get these files readable again, if i could find the exact program used my plan was to install it on his new phone. set a password and lock a random picture so this way the program would created all the directories or whatever it needed, and i can copy the recovered files from the old phone and copy them into the new phone in the appropriate directory, and hopefully unlock those files. sorry if im jumping around alot. so im trying to find a way to make these files readable again is the end goal. ive tried for days to get them unlocked. and if anyone can help me they are on these forums. Any help ideas would be greatly appreciated.
jaxfljustin said:
Ok, so my buddy had an app downloaded from the google play store. back when the S4 Mini was newish. He had some kind of photo/file locker app which all i can tell you is it made a folder on the internal storage simply called "Locker" and all the encrypted files that were locked with that app were in there but of course un-readable because that are apparently actually encrypted to some extent. the phone went overboard in the salt water, couldnt be repaired but i managed to get it running enough to pull the "locker" folder with all the locked data off the storage. He doesnt remember the name of the app used and no longer has the google account to look at his download history to find it. but the icon was blue-ish and it created a folder called "locker" on the storage. he entered his passcode on a dialpad looking menu and boom, his locked files showed up. but thats all i know about it. hes trying to get that data readable again, and changing the extension to jpeg or jpg or png didnt work. just wondering if anyone here may have some sugguestions of apps to try to get these files readable again, if i could find the exact program used my plan was to install it on his new phone. set a password and lock a random picture so this way the program would created all the directories or whatever it needed, and i can copy the recovered files from the old phone and copy them into the new phone in the appropriate directory, and hopefully unlock those files. sorry if im jumping around alot. so im trying to find a way to make these files readable again is the end goal. ive tried for days to get them unlocked. and if anyone can help me they are on these forums. Any help ideas would be greatly appreciated.
Click to expand...
Click to collapse
Have you tried to open that images on Adobe Photoshop ?
saarav242 said:
Have you tried to open that images on Adobe Photoshop ?
Click to expand...
Click to collapse
I did not. I will definitely try that. ill have to guess which ones are pictures. i know there are videos in there too. Thank you for the suggestion.
jaxfljustin said:
I did not. I will definitely try that. ill have to guess which ones are pictures. i know there are videos in there too. Thank you for the suggestion.
Click to expand...
Click to collapse
Anytime with pleasure mate !! And for video file, You should try Xilisoft Video Editing software and convert video file to another format.
It should be also working fine.
saarav242 said:
Anytime with pleasure mate !! And for video file, You should try Xilisoft Video Editing software and convert video file to another format.
It should be also working fine.
Click to expand...
Click to collapse
I'm not sure which one is the video because there is no file extension or anything. But I will try Photoshop here shortly and see if I can at least open the pictures. I'll post s snapshot of the files
Download
Es file explorer
And press on the picture and choose open as image
And it will work
This screen shot may help you
I have tried both photoshop and es file explorer. no luck with either. i tried every single file as image and even tried video on each. neither worked. any other ideas? i appreciate all the help so far :fingers-crossed:
jaxfljustin said:
I have tried both photoshop and es file explorer. no luck with either. i tried every single file as image and even tried video on each. neither worked. any other ideas? i appreciate all the help so far :fingers-crossed:
Click to expand...
Click to collapse
Okay, try to upload image and video on your Google Account and open. Let see what will you see.
saarav242 said:
Okay, try to upload image and video on your Google Account and open. Let see what will you see.
Click to expand...
Click to collapse
I uploaded one of the smaller files which should be the image and one of the larger ones which should be the video. both just say there are no previews available when i try and open either of them.
If the files were encrypted then no matter which app you use, you won't be able to open them. You need to decrypt them first. To decrypt them you need the password they were encrypted with and the encrypting/decrypting algorithm (provided by the locker app). I would try to find the app (and copy the files to its folder), or try to decrypt it using various decrypting algorithms, provided the app uses a standard well-known one.
jaxfljustin said:
I uploaded one of the smaller files which should be the image and one of the larger ones which should be the video. both just say there are no previews available when i try and open either of them.
Click to expand...
Click to collapse
We will not defeat
Try to fix image and video from below link :
https://online.officerecovery.com/pixrecovery/ and for video : https://online.officerecovery.com/

Game no longer shows save data when I Edit the save files

The Game is "Day R Survival"
I just tried to edit the save file to add some resources but when I run the game after editing the file the game no longer shows my data and starts a new game instead
Fortunately I had backup but I still want to find a way to edit the save file instead of searching for mods for the game
Question
A quick question about that... where did you go in the directory to edit the save file?
I'm curious, because I've tried to do the same twice now to no effect.
mousalam said:
The Game is "Day R Survival"
I just tried to edit the save file to add some resources but when I run the game after editing the file the game no longer shows my data and starts a new game instead
Fortunately I had backup but I still want to find a way to edit the save file instead of searching for mods for the game
Click to expand...
Click to collapse
Maybe the data pertaining to your resources is not saved in the save file, maybe it is actually stored in the game server somewhere and the data in your save merely has markers for your resources, maybe editing your save file creates a conflict between the data on the device and the data in the server, causing a rejection of the save file, resulting in starting a new game.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Maybe the data pertaining to your resources is not saved in the save file, maybe it is actually stored in the game server somewhere and the data in your save merely has markers for your resources, maybe editing your save file creates a conflict between the data on the device and the data in the server, causing a rejection of the save file, resulting in starting a new game.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Day R saves are not server-side, they keep information regarding the inventory, quest, vehicles, caps, all of it in two locations, on your phone (or PC if using an emulator) and the cloud. If they're using the right directory (under data/data) then there are 6 profile files (3 main, 3 backups) to work with. Unfortunately, it seems the Day R devs don't want us modded players tweaking our goods, so each save profile has a checksum the game looks for when loading the file. If they don't math out, it loads the backup. If the backup has the same checksum conflict, it wipes both and forces you to restart. The only modified saves I've seen so far appear to predate the removal of the BelAZ from the in-game market and come in a modified APK of the game.
Onikage056 said:
Day R saves are not server-side, they keep information regarding the inventory, quest, vehicles, caps, all of it in two locations, on your phone (or PC if using an emulator) and the cloud. If they're using the right directory (under data/data) then there are 6 profile files (3 main, 3 backups) to work with. Unfortunately, it seems the Day R devs don't want us modded players tweaking our goods, so each save profile has a checksum the game looks for when loading the file. If they don't math out, it loads the backup. If the backup has the same checksum conflict, it wipes both and forces you to restart. The only modified saves I've seen so far appear to predate the removal of the BelAZ from the in-game market and come in a modified APK of the game.
Click to expand...
Click to collapse
The cloud IS server side, when storing data in the "cloud", it is being stored non-locally on a server somewhere, that is why it is called "cloud".
And the checksum is the "marker" that I was referring to, comparing the save files checksum(marker) to the data in the cloud(server), rejecting the save if it doesn't match the data in the cloud(server) and force starting a new game, is also exactly what I was referring to.
So, basically, you pretty much repeated what I was saying, you were just more "specific" with the terminology.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
The cloud IS server side, when storing data in the "cloud", it is being stored non-locally on a server somewhere, that is why it is called "cloud".
And the checksum is the "marker" that I was referring to, comparing the save files checksum(marker) to the data in the cloud(server), rejecting the save if it doesn't match the data in the cloud(server) and force starting a new game, is also exactly what I was referring to.
So, basically, you pretty much repeated what I was saying, you were just more "specific" with the terminology.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Okay, that's entirely my bad... though, I'm curious how that works with an emulator and a modded APK, since the game doesn't connect to the cloud server in this scenario, yet the checksum still works. (Save data is kept locally.)
Onikage056 said:
Okay, that's entirely my bad... though, I'm curious how that works with an emulator and a modded APK, since the game doesn't connect to the cloud server in this scenario, yet the checksum still works. (Save data is kept locally.)
Click to expand...
Click to collapse
PC or not, your data is still being stored in the cloud, if the data on your system doesn't match the data in the cloud, it's still a no-go.
Sent from my SM-S767VL using Tapatalk

Categories

Resources