1

I edited a ".so" file (which extracted from an APK) with IDA Pro, and now I am trying to save it with the same format. But it seems that I cannot find it.

Could you please explain to me step by step how to save/export .so format with IDA.

Thank you so much!

1 Answer 1

1

Its the same for everything you edit in IDA:

Patch the .so opcodes (assuming its ELF ARM?) via hex view

Once happy with the patches, go to

Edit --> Patch Program --> Apply patches to input file (Select create backup just in case).

Make sure Start EA and End EA are correct.

Click OK

Repack your APK to include the new .so file.

2
  • Thank you for your Answer. The problem is that I am not modifying the Hex. I am trying to modify and rename some paths: ( eg. Java_com_companyname_appname...). I am able to rename them but there are no hex code changes, so when I try to apply patches, I see 0 patches, and no changes to the input file?
    – MListener
    Commented Feb 15, 2017 at 2:14
  • 1
    eh.. renaming the string (x)ref is not a modification. you need to modify the string itself.
    – Sigtran
    Commented Feb 20, 2017 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.