From Guides
Hex editing is very similar to seem editing, but a tad different. In fact, seem editing IS hex editing, but for us Mac users we have to do it in a separate program as Moto4Lin will only open seems, and not other files. The reason we would do regular hex editing is for files like the gain_table.bin which increases or decreases the volume of your phone, and the plmn_table file which allows you to edit the carrier text on your home screen.
For this tutorial you will need two things:
1) You should have 0xED installed on your Mac.
2) You should have already downloaded your gain_table.bin file from your phone by using Moto4Lin. If you are not sure how to do that, there is a guide here on file transferring in OS X. The gain_table.bin is located in /a/ on your phone.
Lets get started.
I'm assuming you've already followed the Get Connected guide and have got Moto4Lin recognizing your phone.
Open 0xED.
0xED by default doesn't open a window when you pop it up, so all you will see is the file menu at the top.
You should have already downloaded your gain_table.bin, so lets open it up now in 0xED.
You'll see a mess of numbers now, this is the hex view of your gain_table.bin file.
Now we need to know the specific edit to make, which you can find here for the Razr or e398. For this tutorial I am editing my Slvr's gain_table.bin, so I will use this info:
From that information, since I am trying to change the volume of the external speaker phone so when people call my speakerphone is louder, I can see I need to edit offset 31. So type 31 in the Go To Offset box and hir return.
0xED will highlight the correct offset, but only the first digit. Not to worry.
Good. Before we go further, make sure you have set 0xED to Overwrite the information, and not Insert a new offset. Props to MotoMoses for reminding me on that. ;)
Now, making sure that offset (two digit number) is still highlighted (again, just the first digit--don't worry!), simply type the new value, and 0xED will overwrite the previous value to what you type. I am changing the value from 0 to 1 for this example.
Now hit Save to save your edits.
And quit 0xED!
You're almost done, all you have to do now is upload the newly edited file back to your phone using Moto4Lin, the same way you downloaded the file to begin with! If you're unsure of how to do that, check out this guide!
Congratulations!
You have just made your first hex edit on your Motorola phone using Mac OS X!