{"id":24211,"date":"2024-01-31T14:06:37","date_gmt":"2024-01-31T14:06:37","guid":{"rendered":"https:\/\/linuxways.net\/?p=24211"},"modified":"2024-01-31T14:06:37","modified_gmt":"2024-01-31T14:06:37","slug":"install-kali-linux-android-termux-without-root","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/kali-linux\/install-kali-linux-android-termux-without-root\/","title":{"rendered":"How to Install Kali Linux on Android in Termux without Root"},"content":{"rendered":"<p>Have you ever imagined running an operating system on your Android phone? Well, that is possible in case you want to use <strong>Kali Linux <\/strong>on your phone. <strong>Kali Linux <\/strong>is a robust operating system people use for ethical hacking and can become your travel companion if you manage to install it on your phone.<\/p>\n<p>Installing <strong>Kali Linux <\/strong>on an Android phone is risky if you root your device because it can void your phone warranty and can damage the operating system. However, with <strong>Termux<\/strong>, you can do that easily without root. <strong>Termux <\/strong>is an emulator application for an Android phone that doesn\u2019t interfere with your operating system. It is lightweight that helps you install the <strong>Kali Linux <\/strong>operating system on Android.<\/p>\n<p>In this guide, you will learn:<\/p>\n<ul>\n<li><a href=\"#post-24211-_2vrtcr78zx90\"><strong>Prerequisites for Installing Kali Linux on Android in Termux without Root<\/strong><\/a><\/li>\n<li><a href=\"#post-24211-_1l7s6sphgqx3\"><strong>How to Install Kali Linux on Android in Termux Without Root<\/strong><\/a><\/li>\n<li><a href=\"#post-24211-_uyvut1gj4jzd\"><strong>How to Access Kali Linux Desktop on Android with Termux<\/strong><\/a><\/li>\n<li><a href=\"#post-24211-_pid9ps8xgcfx\"><strong>How to Keep Kali Linux Session Running on Android with Termux<\/strong><\/a><\/li>\n<li><a href=\"#post-24211-_nnq0ukx8ri6o\"><strong>How to Fix Repository Update Problem in Kali Linux on Android<\/strong><\/a><\/li>\n<li><a href=\"#post-24211-_g1k0lrgl6rlo\"><strong>Conclusion<\/strong><\/a><\/li>\n<\/ul>\n<h2><a id=\"post-24211-1j6cg4l422dk\"><\/a><a id=\"post-24211-_2vrtcr78zx90\"><\/a><strong>Prerequisites for Installing Kali Linux on Android in Termux without Root<\/strong><\/h2>\n<p>To install <strong>Kali Linux<\/strong> on Android in <strong>Termux<\/strong> without Root, you will require:<\/p>\n<ul>\n<li>Termux Emulator<\/li>\n<li>LADB Connect<\/li>\n<li>VNC Client (Optional if you want to access Kali Linux Desktop)<\/li>\n<\/ul>\n<h2><a id=\"post-24211-g1poh0cxahf7\"><\/a><a id=\"post-24211-_1l7s6sphgqx3\"><\/a><strong>How to Install Kali Linux on Android in Termux Without Root<\/strong><\/h2>\n<p>You can install <strong>Kali Linux<\/strong> in <strong>Termux <\/strong>without root by using the following steps:<\/p>\n<p><strong>Step 1: Install Termux on Android<\/strong><\/p>\n<p>First, you have to install <strong>Termux emulator <\/strong>on your Android phone and there are multiple ways to install the emulator on Android. Either you can install the <strong>Fdroid <\/strong>application on Android and install <strong>Termux<\/strong> through it, or you can simply download the following <strong>apk <\/strong>file on your Android and install it.<\/p>\n<p>The <strong>apk<\/strong> file for <strong>Termux<\/strong> can be downloaded directly from the <a href=\"https:\/\/github.com\/termux\/termux-app\"><strong>GitHub website<\/strong><\/a>.<\/p>\n<p><strong>Step 2: Open Termux on Android<\/strong><\/p>\n<p>After installing <strong>Termux<\/strong> on Android, you can launch it from the Application menu launcher.<\/p>\n<p><strong>Step 3: Allow Termux to Access Android Storage<\/strong><\/p>\n<p>You should allow<strong> Termux <\/strong>to access your Android phone storage, this can be done by running the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">termux-setup-storage<\/div><\/div>\n<p>When you execute the above command, an onscreen prompt will appear, simply use the <strong>Allow <\/strong>button to give <strong>Termux<\/strong> the authority to access your Android storage:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1160\" height=\"476\" class=\"wp-image-24264\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-1.png 1160w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-1-300x123.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-1-1024x420.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-1-768x315.png 768w\" sizes=\"auto, (max-width: 1160px) 100vw, 1160px\" \/><\/p>\n<p><strong>Step 4: Update Packages for Termux<\/strong><\/p>\n<p>Now, you must update the packages for <strong>Termux<\/strong> by running the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">pkg update <span class=\"sy0\">&amp;&amp;<\/span> pkg upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1183\" height=\"454\" class=\"wp-image-24278\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-2.png 1183w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-2-300x115.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-2-1024x393.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-2-768x295.png 768w\" sizes=\"auto, (max-width: 1183px) 100vw, 1183px\" \/><\/p>\n<p><strong>Step 5: Install wget Command Line Utility <\/strong><\/p>\n<p>You should also install<strong> wget<\/strong> command line utility using the below-given command, since you will need it later on:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">pkg <span class=\"kw2\">install<\/span> <span class=\"kw2\">wget<\/span><\/div><\/div>\n<p><strong>Step 6: Download the Kali Linux Script<\/strong><\/p>\n<p>Now, download the <strong>Kali Linux<\/strong> script from the GitHub website on <strong>Termux <\/strong>using the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">wget<\/span> https:<span class=\"sy0\">\/\/<\/span>gitlab.com<span class=\"sy0\">\/<\/span>kalilinux<span class=\"sy0\">\/<\/span>nethunter<span class=\"sy0\">\/<\/span>build-scripts<span class=\"sy0\">\/<\/span>kali-nethunter-project<span class=\"sy0\">\/<\/span>raw<span class=\"sy0\">\/<\/span>master<span class=\"sy0\">\/<\/span>nethunter-rootless<span class=\"sy0\">\/<\/span>install-nethunter-termux<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1370\" height=\"448\" class=\"wp-image-24300\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-3.png 1370w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-3-300x98.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-3-1024x335.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-3-768x251.png 768w\" sizes=\"auto, (max-width: 1370px) 100vw, 1370px\" \/><\/p>\n<p><strong>Step 7: Allow Permission to Execute the Script<\/strong><\/p>\n<p>The script your downloaded require execute permission, which you can do using the following steps:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">chmod<\/span> +x install-nethunter-termux<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"140\" class=\"wp-image-24308\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-4.png 1012w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-4-300x42.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-4-768x106.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/p>\n<p><strong>Step 8: Run the Kali Linux Script<\/strong><\/p>\n<p>After giving execute permission, you can run the<strong> Kali Linux <\/strong>script using the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">.<span class=\"sy0\">\/<\/span>install-nethunter-termux<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1399\" height=\"482\" class=\"wp-image-24326\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-5.png 1399w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-5-300x103.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-5-1024x353.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-5-768x265.png 768w\" sizes=\"auto, (max-width: 1399px) 100vw, 1399px\" \/><\/p>\n<p>During the installation, you will be asked for some approvals whether to stick with the current packages, you can simply reply with the default option <strong>N<\/strong>. Further, the setup process may ask for approval whether to delete the downloaded <strong>rootfs <\/strong>file, reply with<strong> y<\/strong> to keep the file.<\/p>\n<p><strong>Step 8: Select Kali Linux Version<\/strong><\/p>\n<p>During the execution of the script, you will be provided with three <strong>Kali Linux<\/strong> versions, and you have to choose one to begin the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1376\" height=\"501\" class=\"wp-image-24351\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-6.png 1376w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-6-300x109.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-6-1024x373.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-6-768x280.png 768w\" sizes=\"auto, (max-width: 1376px) 100vw, 1376px\" \/><\/p>\n<p><strong>Nethunter ARM64 (full): <\/strong>It contains a complete Kali Linux distribution for 64-Bit AMD architecture. It is ideal for users who want to utilize full functionality of the <strong>Kali Linux<\/strong> system on Android.<\/p>\n<p><strong>Nethunter ARM64 (minimal): <\/strong>It includes smaller sections of ethical hacking tools, ideal for resource-constrained users.<\/p>\n<p><strong>Nethunter ARM64 (nano): <\/strong>It is pretty lightweight and includes limited tools, mainly forced on tasks like wireless attacks.<\/p>\n<p>Here, I am going with installing the full version of <strong>Kali Linux<\/strong> with all packages and applications installed, this can be done by entering the number associated with the version.<\/p>\n<p>Once you are done with these options, the process will complete the installation of <strong>Kali Linux<\/strong> on your Android phone.<\/p>\n<p><strong>Step 9: Run Kali Linux on Termux<\/strong><\/p>\n<p>To run <strong>Kali Linux<\/strong> on <strong>Termux<\/strong>, you can simply use the<strong> nethunter <\/strong>command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">nethunter<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1397\" height=\"496\" class=\"wp-image-24373\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-7.png 1397w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-7-300x107.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-7-1024x364.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-7-768x273.png 768w\" sizes=\"auto, (max-width: 1397px) 100vw, 1397px\" \/><\/p>\n<p>This will enter into the <strong>Kali Linux<\/strong> system, and you can confirm the version by running the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">cat<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>os-release<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1057\" height=\"462\" class=\"wp-image-24388\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-8.png 1057w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-8-300x131.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-8-1024x448.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-8-768x336.png 768w\" sizes=\"auto, (max-width: 1057px) 100vw, 1057px\" \/><\/p>\n<h2><a id=\"post-24211-yephs0j9n6mw\"><\/a><a id=\"post-24211-_uyvut1gj4jzd\"><\/a><strong>How to Access Kali Linux Desktop on Android with Termux<\/strong><\/h2>\n<p>To access <strong>Kali Linux<\/strong> desktop on Android with <strong>Termux<\/strong>, use the following steps:<\/p>\n<p><strong>Step 1: Install Kex VNC Client on Android<\/strong><\/p>\n<p>First, you must require installing a <strong>Kex VNC client <\/strong>on your Android, either you can install <a href=\"https:\/\/store.nethunter.com\/en\/packages\/com.iiordanov.bVNC\/\"><strong>bVNC Pro<\/strong><\/a> or go with installing <a href=\"https:\/\/store.nethunter.com\/en\/packages\/com.offsec.nethunter.kex\/\"><strong>NetHunter Keyx<\/strong><\/a>. Both applications will allow you to access <strong>Kali Linux<\/strong> desktop with<strong> kex <\/strong>command.<\/p>\n<p><strong>Note: <\/strong>Here, I have installed <strong>bVNC Pro<\/strong> on Android.<\/p>\n<p><strong>Step 2: Create a Kali Linux Session<\/strong><\/p>\n<p>Now, on <strong>Termux<\/strong>, enter the <strong>kex <\/strong>command to create <strong>Kali Linux <\/strong>session:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">kex<\/div><\/div>\n<p>Initially, you have to set a password for <strong>Kali Linux<\/strong> session and once it is done, the<strong> NetHunte<\/strong>r Kex will create a server session for your <strong>Kali Linux<\/strong> system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1165\" height=\"390\" class=\"wp-image-24393\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-9.png 1165w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-9-300x100.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-9-1024x343.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-9-768x257.png 768w\" sizes=\"auto, (max-width: 1165px) 100vw, 1165px\" \/><\/p>\n<p><strong>Step 3: Start Kali Linux Session<\/strong><\/p>\n<p>After, you have created the <strong>Kali Linux <\/strong>session on <strong>Termux<\/strong>, you can start it from the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">kex start<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1209\" height=\"260\" class=\"wp-image-24398\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-10.png 1209w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-10-300x65.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-10-1024x220.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-10-768x165.png 768w\" sizes=\"auto, (max-width: 1209px) 100vw, 1209px\" \/><\/p>\n<p>Now, open your preferred <strong>NetHunter Kex <\/strong>VNC Client on Android and set the:<\/p>\n<ul>\n<li><strong>Connection type<\/strong> as <strong>Basic VNC<\/strong><\/li>\n<li><strong>Connection Name <\/strong>according to your choice<\/li>\n<li><strong>VNC Server <\/strong>as local host<\/li>\n<li><strong>VNC username<\/strong> leave it as empty<\/li>\n<li><strong>VNC Password <\/strong>you set previously<\/li>\n<li><strong>Port Number <\/strong>as 5901<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1386\" height=\"554\" class=\"wp-image-24405\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-11.png 1386w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-11-300x120.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-11-1024x409.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-11-768x307.png 768w\" sizes=\"auto, (max-width: 1386px) 100vw, 1386px\" \/><\/p>\n<p>Once done, save your information using the <strong>Save<\/strong> button, then tap on the created session to access <strong>Kali Linux <\/strong>desktop on Android:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1449\" height=\"620\" class=\"wp-image-24425\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-12.png 1449w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-12-300x128.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-12-1024x438.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-12-768x329.png 768w\" sizes=\"auto, (max-width: 1449px) 100vw, 1449px\" \/><\/p>\n<h2><a id=\"post-24211-gg3fjlttlkkq\"><\/a><a id=\"post-24211-_pid9ps8xgcfx\"><\/a><strong>How to Keep Kali Linux Session Running on Android with Termux<\/strong><\/h2>\n<p>Your <strong>Kali Linux <\/strong>session may close after a few seconds, which is frustrating. To keep your <strong>Kali Linux<\/strong> session up and running for longer time with <strong>Termux<\/strong>, you can use the following steps:<\/p>\n<p><strong>Step 1: Install LADB Connect on Android<\/strong><\/p>\n<p>First, you must install an application called <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=app.ladb.connect&amp;pli=1\"><strong>LADB Connect<\/strong><\/a> on Android from the Play Store.<\/p>\n<p><strong>Step 2: Enable Developer Mode on Android<\/strong><\/p>\n<p>Then enable the <strong>Developer mode<\/strong> on Android, in most Android phones, you can find this option in the <strong>About <\/strong>section. In some Android phones, you can go to <strong>My Phone <\/strong>and then tap on the Build number 7 times for enabling the <strong>Developer mode<\/strong>. Then go to <strong>System<\/strong> option to see the <strong>Developer<\/strong> options.<\/p>\n<p>If you still can\u2019t find the option, check the manual guide based on your phone model to enable developer mode on your Android phone.<\/p>\n<p><strong>Step 3: Run LADB Connect on Android<\/strong><\/p>\n<p>After enabling the <strong>Developer mode<\/strong>, run <strong>LADB Connect<\/strong> on your Android phone:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1168\" height=\"611\" class=\"wp-image-24430\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-13.png 1168w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-13-300x157.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-13-1024x536.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-13-768x402.png 768w\" sizes=\"auto, (max-width: 1168px) 100vw, 1168px\" \/><\/p>\n<p>There, you have to enable<strong> Connection<\/strong> options like Floating Window, USB debugging, and Wi-Fi Debugging. The first two options can be enabled directly, while after enabling the Wi-Fi debugging, you have to enter the settings to check for the pairing code and port number associated with that code. You can find your pair code and port number inside the<strong> Pair device with pairing code <\/strong>option. This information needs to be entered to pair the device with the<strong> LDB Connect<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"292\" height=\"408\" class=\"wp-image-24434\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-14.png 292w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-14-215x300.png 215w\" sizes=\"auto, (max-width: 292px) 100vw, 292px\" \/><\/p>\n<p>After entering the information, select the \u201c<strong>Connect<\/strong>\u201d button to establish connection of Android phone with <strong>LADB Connect<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1130\" height=\"610\" class=\"wp-image-24437\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-15.png 1130w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-15-300x162.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-15-1024x553.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-15-768x415.png 768w\" sizes=\"auto, (max-width: 1130px) 100vw, 1130px\" \/><\/p>\n<p>Once the connection is established, run the below-given command in the<strong> LADB<\/strong> shell to complete the process:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"sy0\">\/<\/span>system<span class=\"sy0\">\/<\/span>bin<span class=\"sy0\">\/<\/span>device_config put activity_manager max_phantom_processes <span class=\"nu0\">2147483647<\/span><\/div><\/div>\n<p><strong>Step 4: Run the Kali Linux Session<\/strong><\/p>\n<p>Once you are done with the above steps, you can start the <strong>Kali Linux<\/strong> session again by using <strong>keyx start <\/strong>command. This will enable the <strong>Kali Linux <\/strong>session to run for a longer time without sudden stoppage.<\/p>\n<h2><a id=\"post-24211-v5orz0usolof\"><\/a><a id=\"post-24211-_nnq0ukx8ri6o\"><\/a><strong>How to Fix Repository Update Problem in Kali Linux<\/strong><\/h2>\n<p>By default, you will not be able to run apt commands on <strong>Kali Linux<\/strong> terminal, and if you do it, you will encounter the <strong>Temporary failure resolving..<\/strong> Error.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1377\" height=\"384\" class=\"wp-image-24439\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-16.png 1377w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-16-300x84.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-16-1024x286.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-16-768x214.png 768w\" sizes=\"auto, (max-width: 1377px) 100vw, 1377px\" \/><\/p>\n<p>You can fix this error and start updating and installing applications with the apt command using the below-given steps:<\/p>\n<p><strong>Step 1:<\/strong> First enter the <strong>Kali Linux <\/strong>terminal as a root user by running the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"re5\">-i<\/span><\/div><\/div>\n<p><strong>Step 2: <\/strong>After that, remove the <strong>resolv.conf <\/strong>file in the<strong> \/etc <\/strong>directory from the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">rm<\/span> <span class=\"re5\">-rf<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>resolv.conf<\/div><\/div>\n<p><strong>Step 3: <\/strong>Then add the server information inside the <strong>resolv.conf<\/strong> file from the below-given command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">echo<\/span> <span class=\"st0\">&quot;nameserver 8.8.8.8&quot;<\/span> <span class=\"sy0\">&gt;<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>resolv.conf<\/div><\/div>\n<p><strong>Step 4: <\/strong>Then save the <strong>resolv.conf<\/strong> file using <strong>CTRL+X<\/strong>, then add<strong> Y<\/strong> for approving the changes and press<strong> Enter<\/strong> for closing the file.<\/p>\n<p>Once you are done with the steps, you will then be able to update the <strong>Kali Linux<\/strong> repository and install applications on your system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1136\" height=\"662\" class=\"wp-image-24446\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-17.png 1136w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-17-300x175.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-17-1024x597.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-24211-17-768x448.png 768w\" sizes=\"auto, (max-width: 1136px) 100vw, 1136px\" \/><\/p>\n<h2><a id=\"post-24211-kf2p02lpt9gt\"><\/a><a id=\"post-24211-_g1k0lrgl6rlo\"><\/a><strong>Conclusion<\/strong><\/h2>\n<p>Installing <strong>Kali Linux<\/strong> on Android with root can damage your operating system. But, with <strong>Termux<\/strong>, you can install it effortlessly without root. This blog has provided a step-by-step guide to install <strong>Kali Linux <\/strong>on <strong>Android<\/strong> in <strong>Termux<\/strong> without root. After that, you will also find a guide on how to access the <strong>Kali Linux <\/strong>desktop on VNC client. Apart from that, you will learn how to keep the <strong>Kali Linux<\/strong> session up and running on VNC client and the method to fix the repository issue. It will help you install the applications and seamlessly use the operating system on your Android phone.<\/p>","protected":false},"excerpt":{"rendered":"<p>Termux is an Android emulator that allows you to install Kali Linux on Android without a Root. Read this guide for more details.<\/p>","protected":false},"author":116,"featured_media":24462,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1054],"tags":[],"class_list":["post-24211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kali-linux"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/24211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/116"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=24211"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/24211\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/24462"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=24211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=24211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=24211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}