{"id":22225343,"url":"https://github.com/christinec-dev/adb_jadx_parrot_install","last_synced_at":"2026-02-11T22:50:01.077Z","repository":{"id":165491320,"uuid":"496112720","full_name":"christinec-dev/ADB_JADX_Parrot_Install","owner":"christinec-dev","description":"A short tutorial on how to install ADB and JADX-GUI on Parrot OS.","archived":false,"fork":false,"pushed_at":"2022-05-27T19:42:59.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T07:42:34.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christinec-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-25T06:41:02.000Z","updated_at":"2024-11-18T02:06:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"44dbb96d-9668-43c9-bed9-88af71f4e4bb","html_url":"https://github.com/christinec-dev/ADB_JADX_Parrot_Install","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christinec-dev%2FADB_JADX_Parrot_Install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christinec-dev%2FADB_JADX_Parrot_Install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christinec-dev%2FADB_JADX_Parrot_Install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christinec-dev%2FADB_JADX_Parrot_Install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christinec-dev","download_url":"https://codeload.github.com/christinec-dev/ADB_JADX_Parrot_Install/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245423686,"owners_count":20612838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T00:17:07.997Z","updated_at":"2026-02-11T22:50:01.020Z","avatar_url":"https://github.com/christinec-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Android: How to Install ADB, APK's, and JADX-Gui on Parrot OS\nRecently I have dived into the journey of learning how to hack, or more precisely pen-testing. Since I focused previously on Android Pentesting when  I explained how to install Genymotion and VirtualBox on Parrot OS, I thought, why don't I write another tutorial on how to install [ADB](https://developer.android.com/studio/command-line/adb) and [JADX-GUI](https://github.com/skylot/jadx) (jadx-gui) on Parrot OS as it is related and quite easy to do. This tutorial assumes you have Android Studio and Parrot OS installed. A good Android Studio installation tutorial can be found [here](https://tutorialforlinux.com/2021/04/05/step-by-step-android-studio-parrot-linux-installation/).\n\nIn case you wonder, the version I use of Parrot is the [Security Edition](https://www.parrotsec.org/download/), which comes with most tools installed.🤠\n\nFirst, let's go over ADB and JADX-GUI. Android Debug Bridge (ADB) is a command-line tool that lets us communicate with a device, but more importantly for this tutorial, install APKs onto our emulated device. JADX-GUI is at its core a code decompiler, so we can take our APK that we downloaded and pop it into the decompiler and voila, we can see all the source code that it contains!\n\n## Installing ADB \u0026 APK's\nOnce you have started up your Parrot OS system, open up a terminal using CTRL + ALT + T and run the following command: **sudo apt-get update**.\n![adb](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xiprt2oi6vc5mu3fuh91.png)\n  \nThen we can install adb with the following command **sudo apt-get install android-tools-adb**.\n![ADB Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dws4aamj5melaoft8u52.png)\n \nOnce it has been installed, we can check if it \"worked\" by opening Genymotion and running our installed device. Check my [previous tutorial](https://dev.to/christinecdev/how-to-install-genymotion-virtualbox-on-parrot-os-287p) on how to do this. Once your emulated device is up and running, we can go back to our terminal and type in **adb devices**. We can see that we get a list of devices that are attached, one of which is our emulated device. \n\n![ADB Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7dxvrdwsfrvrqakb5jx0.png)\n\nFrom there on, we need to install an APK to install onto our device. An APK put simply, is a packaged app that we can download and install for testing purposes. Twelve-year-old me would be so shocked to know that that is how my friend copied their GTA San Andreas game onto my phone!😶\n\n\u003cimg src=\"https://c.tenor.com/pz0JWTgmDKQAAAAd/san-andreas-gta.gif\"/\u003e\n\nThe APK that we will download in this tutorial is the Diva APK. You can download the APK [here](https://www.payatu.com/wp-content/uploads/2016/01/diva-beta.tar.gz). Once you have downloaded it, head over to your Downloads folder and extract it by right-clicking and saying extract here.\n\n![ADB Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rwu7wxvkctz7es836ig4.png)\n\nFinally, we can download our apk. Head back into your terminal, making sure you are in the directory of your APK and that you have extracted the DIVA file. Type in the following command: **adb install diva-beta.apk**.\n\n![ADB Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1mw0nhasoo2sgev93zji.png) \n\nGood job! When we head back to our emulated device we can see that our app is now installed onto our device.😄\n![APK Working](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lzcs0piva2xddv9wk0s1.png)\n![APK Working](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rmsgvhlnvutzxk09ojqk.png)\n\n## Installing JADX-GUI\nNow that we have our ADB and APK installed, we can now use this APK in JADX-GUI to decompile the code. ADB allowed us to access the app. JADX-GUI will allow us to access the app's code. \n\n\u003cu\u003e**To install JADX-GUI, we can simply do the following in the terminal:**\u003c/u\u003e\n1. sudo apt-get install jadx\n2. git clone https://github.com/skylot/jadx.git\n3. cd jadx\n4. ./gradlew dist\n\n![JDX-GUI Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p5fxqq5a9zqo3hwf3w1z.png)\n![JDX-GUI Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/29j1a4kjrarxemiehfj0.png)\n![JDX-GUI Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1xk4k9dagynwohhnnuq1.png)\n\nThen, we can go over to where we downloaded it, go into **jadx \u003e build \u003e jadx \u003e bin**, and double click on **JADX-GUI**. Select the option to run it in the terminal.\n\n![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oanilsu8bfzb7shm2ow9.png)\n![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uuvv5slx911cc7ipjfy0.png)\n  \nIt works! Now we can select our Diva APK that we extracted and pop it into the window that just opened. We can see that we can now access most of the source code of the app.\n\n![JDX-GUI Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a7v00v131sg83jfl13e4.png)\n![JDX-GUI Install Parrot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lhs4e7rajy2aja9i2r8w.png)\n\n## BONUS: JADX-GUI Bash Script\nTo have to go to the directory where JADX-GUI is every time we want to open/use it is tedious, and time-wasting. Thus we can create a quick bash script to save on our desktop to quickly run it when needed. In Pluma, type in the following: \n\n```\n#!/bin/bash\n\ncd /home/yourname/Downloads/jadx/build/jadx/bin \u0026\u0026 ./jadx-gui\n```\n\nSave this file as whatever, like **run_jdx_gui**. Save it in the directory of your desktop (or wherever you save your bash scripts), and then you can open up a new terminal and cd into the directory where run_jdx_gui is stored. \n\n![Bash Script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x854uzzy4l7g1yjdlizy.png)\n![Bash Script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/75aghidtkbs8hgr8uqig.png)\n \nRun the following command: **chmod +x run_jdx_gui**. Now when you click on the script it will open up the terminal and run the app!\n\n![Bash Script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5lvo1tmrjwdcwr7w5fdl.png)\n![Bash Script](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fcy35rmyscwbfp6cv0xd.png)\n\nThat's it for now, I hope this made sense. Let me know if you need help. See ya next time!❤️\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristinec-dev%2Fadb_jadx_parrot_install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristinec-dev%2Fadb_jadx_parrot_install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristinec-dev%2Fadb_jadx_parrot_install/lists"}