[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-515460-105":59,"doc-detail-515460-en":130,"doc-similar-515460":166},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","reverse-engineering-android-disassembly-code-injection","Reverse Engineering Android - Disassembly & Code Injection","","Reverse Engineering Android: Disassembly & Code Injection outlines an approach for analyzing an Android APK by breaking it down into its internal components and then modifying behavior through byte-code injection. It covers the APK structure (AndroidManifest.xml, classes.dex, resources, native libraries, and metadata), required tooling such as Android SDK, apktool/baksmali, jarsigner, and keytool, and a step-by-step workflow: unzip and disassemble classes.dex, perform static analysis, inject byte-code, then reassemble classes.dex and repackage and sign the APK. Practical disassembling commands and directory artifacts are included.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/reverse-engineering-android-disassembly-code-injection/515460/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/reverse-engineering-android-disassembly-code-injection/515460.png","ImageObject",300,407,{"name":92,"@type":93},"Muffet","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-10","2026-10-06",true,{"@type":102,"interactionType":103,"userInteractionCount":46},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What are the key parts of an Android APK mentioned in this document?","Question",{"text":112,"@type":113},"It highlights AndroidManifest.xml, classes.dex, res/, lib/ (sometimes), and META-INF as the main parts to consider during analysis and modification.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which tools are required for the disassembly and injection process?",{"text":117,"@type":113},"The document lists Android SDK, apktool (with Smali/Baksmali), jarsigner, and keytool as needed tools.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the overall workflow for code injection described here?",{"text":121,"@type":113},"Unzip and disassemble classes.dex, run static analysis, inject byte-code, then reassemble classes.dex and repackage/sign the APK.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},515460,1791394879,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":46,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":24,"preview_urls":146},962090768927,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","Reverse Engineering Android: Disassembly & Code Injection  \nThanasis Petsas  \n[petsas@ics.forth.g](petsas@ics.forth.gr)[r](petsas@ics.forth.gr)  \n [petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu) 1   \nRoad map   \n• The APK Structure  \n• The Tools  \n• Hacking Approach  \n• Disassembly & App Analysis  \n• Code Injection  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu) 2   \nThe APK Structure   \nAndroidManifest .xml  \nclasses .dex  \nres/  \nlib/ ( sometimes)  \nMETA-INF  \n [petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu) 3   \nThe Tools  \n• You’ll need…  \n􀂃 Android SDK  \n􀂃 apktool (based on Smali/Bak smali)  \n􀂃 jarsigner  \n􀂃 keytool  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nHacking Approach  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nHacking Approach   \n1 . Unzip APK & disassemble classes.dex  \nDisassemble (1)  \n(apktool/baksmali)  \n .smali  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nHacking Approach   \n1 . Unzip APK & disassemble classes.dex  \n2. Perform static analysis on the app  \nStatic analysis (2)  \nDisassemble (1)  \n(apktool/baksmali)  \n.smali  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nHacking Approach   \n1 . Unzip APK & disassemble classes.dex  \n2. Perform static analysis on the app  \n3 . Inject byte-code into the app  \nStatic analysis (2)  \nDisassemble (1)  \n(apktool/baksmali)  \n.smali  \nCode injection (3)  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nHacking Approach   \n1 . Unzip APK & disassemble classes.dex  \n2. Perform static analysis on the app  \n3 . Inject byte-code into the app  \n4. Reassemble classes.dex & zip/sign APK  \nStatic analysis (2)  \nDisassemble (1)  \n(apktool/baksmali)  \nReassemble (4)  \n(apktool/smali)  \n.smali  \nCode injection (3)  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)  \nDisassembling APK   \n$ apktool d –r MyApp.apk Myapp  \ndecode  \n$ cd MyApp  \nExclude  \nresources  \nout directory  \n$ ls  \n$ AndroidManifest .xml apktool .yml assets res smali  \n[petsas@ics.forth.gr - www.syssec-project.eu](petsas@ics.forth.gr - www.syssec-project.eu)","cbCaia7FVFPNmBBY","https://ap.wps.com/l/cbCaia7FVFPNmBBY","pdf",2771588,44,"English","# Road map\n## The APK Structure\n## The Tools\n## Hacking Approach\n## Disassembly & App Analysis\n## Code Injection\n# The APK Structure\n## AndroidManifest.xml\n## classes.dex\n## res/\n## lib/ (sometimes)\n## META-INF\n# The Tools\n# Hacking Approach\n## Unzip APK & disassemble classes.dex\n## Perform static analysis on the app\n## Inject byte-code into the app\n## Reassemble classes.dex & zip/sign APK\n# Disassembling APK\n## apktool d command\n## Excluded resources and output directories","[{\"question\":\"What are the key parts of an Android APK mentioned in this document?\",\"answer\":\"It highlights AndroidManifest.xml, classes.dex, res/, lib/ (sometimes), and META-INF as the main parts to consider during analysis and modification.\"},{\"question\":\"Which tools are required for the disassembly and injection process?\",\"answer\":\"The document lists Android SDK, apktool (with Smali/Baksmali), jarsigner, and keytool as needed tools.\"},{\"question\":\"What is the overall workflow for code injection described here?\",\"answer\":\"Unzip and disassemble classes.dex, run static analysis, inject byte-code, then reassemble classes.dex and repackage/sign the APK.\"}]","Reverse Engineering Android - Disassembly & Code Injection | PDF",1791315290,111,[147,151,155,159,163],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3eba55e3f31eec34d5bf956f0e2e7d1d.webp",983,759,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3112630bb9e53f2dd09b58acda7ec483.webp",982,758,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a0f50cfbc1bf00bb4f62f4550946ccae.webp",981,757,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/31e1dc5a43078761ac51787f51d17de4.webp",980,756,{"page_no":24,"url":164,"width":165,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/4b149cee6345dd9098f4bac1fa0935f8.webp",979,{"list":167,"token":66},[168,174,180,186,192,198,204,210,217,223],{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":14,"category_name":30,"create_tm":173},760103,"Android Studio Flamingo Essentials - Java Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495597/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=5Cm6Bq5Nq2DmgBS91iLlBlkoNUo%3D","android-studio-flamingo-essentials-java-edition",1795898554,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":39,"category_name":30,"create_tm":179},673090,"Installing the SDK - Android SDK Installation Instructions - Troubleshooting and Setup Steps","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990323736/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=8BdG8Zch7INahmLPN8fHUzyELoU%3D","installing-the-sdk-android-sdk-installation-instructions-troubleshooting-and-setup-steps",1793619933,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":81,"category_name":30,"create_tm":185},692983,"SC20 APK Adding&Deleting User Guide - Rev. SC20_APK_Adding&Deleting_User_Guide_V1 0.0 - Released 2016-09-26","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005035715/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=F3uzWMNr8zW3h4XVWqPSn%2Bk4j9E%3D","sc20-apk-addingdeleting-user-guide-rev-sc20_apk_addingdeleting_user_guide_v1-00-released-2016-09-26",1794244636,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":44,"category_name":30,"create_tm":191},677141,"D40D & D400D Articulated Dump Trucks - Remove & Install Front Hoist Control Valve","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229993493864/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=pJjPmjjk%2FJIHW89WYr8yXBr5FS0%3D","d40d-d400d-articulated-dump-trucks-remove-install-front-hoist-control-valve",1793777688,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":29,"category_name":30,"create_tm":197},673087,"Base Integration Guide - Workspace ONE for Android","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990323518/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=O3uENSE23gQleendZiXTR3MboFs%3D","base-integration-guide-workspace-one-for-android",1793619924,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":81,"category_name":30,"create_tm":203},733198,"PureID VR5 Installation Guide - How to set up profiles and passwordless login","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031786308/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=7D%2FMw2WTis%2Fymo4787maPpTZZ8k%3D","pureid-vr5-installation-guide-how-to-set-up-profiles-and-passwordless-login",1795384189,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":81,"category_name":30,"create_tm":209},692980,"AVAY UUPTWA Installation Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005035667/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=5FjRrygXvx%2Btn3dix3PYMI0skOQ%3D","avay-uuptwa-installation-guide",1794244628,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":30,"create_tm":216},647863,"Powered Performa™ Winch 50.2 STP E/HY - Installation and Maintenance Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972118186/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=UW9Sy3NyDY8dR6A9RKwvpov%2Fh0g%3D","powered-performa-winch-502-stp-ehy-installation-and-maintenance-manual",17,1792790739,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":44,"category_name":30,"create_tm":222},642048,"KUBOTA Workshop Manual 03 - Series Diesel Engine - TO THE READER","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970753216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=z00UPTwI2bdACXA8HD%2BBy%2F8%2Fra4%3D","kubota-workshop-manual-03-series-diesel-engine-to-the-reader",1792721055,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":30,"create_tm":229},681823,"Qualcomm TensorFlow Lite SDK Tools Quick Start Guide - Revision AB","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998394971/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=HsfbHz3GdX1WzUdZmlnD4R%2FsN9E%3D","qualcomm-tensorflow-lite-sdk-tools-quick-start-guide-revision-ab",11,1793954880]