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

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.

  • 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 Feb 15 '17 at 2:14
  • 1
    eh.. renaming the string (x)ref is not a modification. you need to modify the string itself. – Sigtran Feb 20 '17 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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