[Soot-list] Converting .jimple files back into a .dex file and reassembling the apk!
Steven Arzt
Steven.Arzt at cased.de
Mon Aug 25 05:39:00 EDT 2014
Hi Modhi,
Soot produces a new APK file if the source format is set to APK and the output format is set to DEX. If you write out Jimple files and then re-create the DEX file, you need to manually assemble the APK which should however be simple: Just takethe old APK (which is just a renamed ZIP file) and replace the contained classes.dex file with the newly created one.
Best regards,
Steven
Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Modhi Alsobiehy
Gesendet: Sonntag, 24. August 2014 08:37
An: soot-list at CS.McGill.CA; soot-list at sable.mcgill.ca
Betreff: [Soot-list] Converting .jimple files back into a .dex file and reassembling the apk!
Hi all,
I am trying to automate an instrumentation of an apk but for some reason it is not working as expected!
because of that, I want to do it manually to make sure that the instrumenting statements are correctly placed..
For this to be done, in the ccs2013 tutorial slide #114 , the steps are:
1• Convert APK to .jimple files (-f jimple)
2• “Instrument” .jimple files manually by editing them in your favorite text editor
3• Convert .jimple files back into a .dex file (-src-prec jimple)
4• Reassemble APK
5• Test the generated APK
6• If it works, automate the instrumentation
steps 1,2, and 3 are done smoothly. I got the classes.dex file, however I did not get how to do step 4!
I would really appreciate some guidelines explaining how to reassemble an apk starting from classes.dex file!
Thanx,
Modhi,,
Sent from Windows Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140825/5961567a/attachment-0001.html
More information about the Soot-list
mailing list