Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,027 Members 48,245 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Droid-O-Droid
Old
#1  
Junior Member - OP
Thanks Meter 2
Posts: 22
Join Date: Jun 2013
Location: Sydney
Unhappy [Q] How to actually modify the file hex-address once the particular offset is known?

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.
 
LS.xD
Old
#2  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by Droid-O-Droid View Post
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?
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
 
Droid-O-Droid
Old
#3  
Junior Member - OP
Thanks Meter 2
Posts: 22
Join Date: Jun 2013
Location: Sydney
Quote:
Originally Posted by LS.xD View Post
Using cheats for mobile games ?!?!?!

Which Hex editor do you use to modify the values?
Yes. As I said, Hex-workshop.
 
LS.xD
Old
#4  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by Droid-O-Droid View Post
Yes. As I said, Hex-workshop.
Try HxD. LINK
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
The Following User Says Thank You to LS.xD For This Useful Post: [ Click to Expand ]
 
Droid-O-Droid
Old
#5  
Junior Member - OP
Thanks Meter 2
Posts: 22
Join Date: Jun 2013
Location: Sydney
Quote:
Originally Posted by LS.xD View Post
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.
 
LS.xD
Old
#6  
LS.xD's Avatar
Senior Member
Thanks Meter 585
Posts: 1,854
Join Date: Nov 2013
Location: Lübeck

 
DONATE TO ME
Quote:
Originally Posted by Droid-O-Droid View Post
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 ?!
HTC One S @ PAC-man 4.4.2 [ALPHA1] [12/5/2014] + IceCode Kernel v4.0 // HBoot 2.15 - unlocked BL - S-OFF - NO "tampered & warning text" // TWRP mod 2.7.0.8

Samsung Galaxy W @ ParanoidAndroid 4.3 [BETA3] [6/5/2014] + KhaN Kernel v2.0 // Base: I8150XXLMI // PhilZ CWM 6.01.4

"REVIVED" HTC Wildfire S @ CyanogenMod 11(AWESOME!!!) [6/5/2014] //HBoot 1.09 - unlocked BL // TWRP 2.7.0.0


It won't hurt you to press "thanks" if me or someone other helped you...
 
Droid-O-Droid
Old
#7  
Junior Member - OP
Thanks Meter 2
Posts: 22
Join Date: Jun 2013
Location: Sydney
Quote:
Originally Posted by LS.xD View Post
Press "SEARCH" button ?!
Thanks.
 
Droid-O-Droid
Old
#8  
Junior Member - OP
Thanks Meter 2
Posts: 22
Join Date: Jun 2013
Location: Sydney
Bump. Couldn't still figure it out.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

[OTA Captured] Verizon LG G Pad 8.3 Finally Gets Official KitKat Update

It’s been almost nine months since the LG G Pad … more

Enjoy Wallpaper Overload with PhotoPhase

We don’t usually feature live wallpapers on the XDA Portal unless they are somewhat innovative … more

Monitor What Your Phone’s Camera Sees with Android Wear

Having a smart device strapped to your wrist certainly has its merits. A … more

Mod Lets You Have Stereo Speakers on Your Sony Xperia Z1 (Sort Of)

The stereo speakers onthe Sony Xperia Z2areprobably a relatively large … more