WhatsApp Decides to Protect Your Data

When Facebook bought WhatsApp for the absurdly large sum of $19b back in February, they took the tech … more

Bring Back LTE on the Google Nexus 4 Running Lollipop

One of the predecessors of the latest, largest, and greatest Gooogle Nexus 6(theGoogle … more

Google Maps, My Maps, YouTube, Androidify, Slides, Music Updated–Here’s What’s New

In the last few weeks, Google has been … more

SuperSU BETA: Root Android Lollipop on Stock Kernel

Up until now, if you wanted to get root on Android 5.0, you needed to flash a modified … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] How to actually modify the file hex-address once the particular offset is known?

OP Droid-O-Droid

2nd May 2014, 03:39 AM   |  #1  
OP Junior Member
Flag Sydney
Thanks Meter: 2
 
22 posts
Join Date:Joined: Jun 2013
More
Hello XDA,

I am trying to figure this our from a week now. I searched everywhere and got no where and thought should finally post about it. If anybody would help me in this. I would appreciate it so much.

This is about modifying the hex. I found the particular hex-address for "coins" in one of the game. Once that hex address is modified, it would change the value of coins in the game. Therefore, I wanted to modify the apk as whole, so when anybody who downloaded and installed that apk for the first time, they could get the modified value since beginning. Hope you are getting me here.

Therefore, for this, I downloaded the apk, extracted the lib.so with winrar and edited with Hex-workshop. Now I am confused. I know the particular hex-address. It is this: 78373e8, but whenever I paste it and search in entire file, I can't find it. But I can only find till: 78373. How shall I know it is the one and how shall I actually modify its value?

Can someone good at this, please solve the issue?

Thanks in advance.
2nd May 2014, 04:46 AM   |  #2  
LS.xD's Avatar
Senior Member
Lübeck
Thanks Meter: 586
 
1,855 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Question
Quote:
Originally Posted by Droid-O-Droid

Hello XDA,

I am trying to figure this our from a week now. I searched everywhere and got no where and thought should finally post about it. If anybody would help me in this. I would appreciate it so much.

This is about modifying the hex. I found the particular hex-address for "coins" in one of the game. Once that hex address is modified, it would change the value of coins in the game. Therefore, I wanted to modify the apk as whole, so when anybody who downloaded and installed that apk for the first time, they could get the modified value since beginning. Hope you are getting me here.

Therefore, for this, I downloaded the apk, extracted the lib.so with winrar and edited with Hex-workshop. Now I am confused. I know the particular hex-address. It is this: 78373e8, but whenever I paste it and search in entire file, I can't find it. But I can only find till: 78373. How shall I know it is the one and how shall I actually modify its value?

Can someone good at this, please solve the issue?

Thanks in advance.


Using cheats for mobile games ?!?!?!

Which Hex editor do you use to modify the values?
2nd May 2014, 05:45 AM   |  #3  
OP Junior Member
Flag Sydney
Thanks Meter: 2
 
22 posts
Join Date:Joined: Jun 2013
More
Quote:
Originally Posted by LS.xD

Using cheats for mobile games ?!?!?!

Which Hex editor do you use to modify the values?

Yes. As I said, Hex-workshop.
2nd May 2014, 05:52 AM   |  #4  
LS.xD's Avatar
Senior Member
Lübeck
Thanks Meter: 586
 
1,855 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Sign
Quote:
Originally Posted by Droid-O-Droid

Yes. As I said, Hex-workshop.

Try HxD. LINK
The Following User Says Thank You to LS.xD For This Useful Post: [ View ]
2nd May 2014, 06:02 AM   |  #5  
OP Junior Member
Flag Sydney
Thanks Meter: 2
 
22 posts
Join Date:Joined: Jun 2013
More
Quote:
Originally Posted by LS.xD

Try HxD. LINK

Yes, thank you. I had tried that too. I just want to know with these tools, knowing the hex of certain function (like coins) already, how can you actually navigate to that particular (known) hex and modify it.

Hmm.. I hope you are understanding what I am trying to say. I am sorry if I cannot make it clearer enough.
2nd May 2014, 06:06 AM   |  #6  
LS.xD's Avatar
Senior Member
Lübeck
Thanks Meter: 586
 
1,855 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Quote:
Originally Posted by Droid-O-Droid

Yes, thank you. I had tried that too. I just want to know with these tools, knowing the hex of certain function (like coins) already, how can you actually navigate to that particular (known) hex and modify it.

Hmm.. I hope you are understanding what I am trying to say. I am sorry if I cannot make it clearer enough.


Press "SEARCH" button ?!
2nd May 2014, 06:17 AM   |  #7  
OP Junior Member
Flag Sydney
Thanks Meter: 2
 
22 posts
Join Date:Joined: Jun 2013
More
Quote:
Originally Posted by LS.xD

Press "SEARCH" button ?!

Thanks.
3rd May 2014, 10:27 AM   |  #8  
OP Junior Member
Flag Sydney
Thanks Meter: 2
 
22 posts
Join Date:Joined: Jun 2013
More
Bump. Couldn't still figure it out.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes