The great thing that this allows you to do, speaking about linux portability, is booting Linux both in your Android and from your Android, by physically plugging the USB cable in your computer and using an app called DriveDroid , but we'll get there later. I have to make a little clarification here. I'll eventually write something about it, though switching between USB and iPhone connection is more complicated and takes more time and you'll have to install your distro with external tools as explained in my Kali Portability guide. But with some struggles, it is possible. Our smartphones are slowly turning into little computers, in terms of speed and processors.
Because of Android being open source, more and more smartphone vendors can use Android as their product's OS. This means that Android can be found in devices that are slowly increasing their capabilities to the star. New Androids can reach 2. And obviously, this opens the gate to Linux when talking about ARM processors. The topic is discussed after Linux Deploy and DriveDroid. Instead, I will be referring to WonderHowTo always updated rooting guide for any phone and tablet.
I also strongly recommend you to read this lifehacker's guide to rooting , it explains quite well a few things and gives even more informations about rooting and where to find help for rooting. A few effective ways are not in the article although being very difficult and risky. If you can't root your device probably most recent ones with the above guide, try looking on XDA developers forum.
I'm not responsible for the damage you make to your Android device by rooting it or attempting to root it. Although usually this is a pretty straight forward and secure process, it's not bug-free. If you'll be using an alternative way to root your Android device, be sure of what you are doing. Although not being the best way, everyone should first give a look to this, just to see if you are happy with that, you can stop here.
The odds of successfully rooting your Android device are higher with older models. Same thing goes for the processes I'll be writing in this guide. I'll try to troubleshoot the problems that I solved while doing this, but I'm not an expert. Just know this: I told you. This can be accomplished in a few ways, I'll be writing them down booting Linux on your Android.
Again, if you don't know what it is, look it up. If you don't get this, you don't need to boot Linux with your Android. I'll talk about it later. Setup done. I hope you got that this is not quite straight forward and you shouldn't do this if you don't need this. Although we are going to install a very minimalistic version of Kali in this example you can go with Ubuntu, Fedora, Arch, Debian and a few others , this is going to create a.
You can install the Linux distro either on your internal memory or your external SD card, we'll go trough it later. Just to be sure, 5GBs should be enough, though we are not going to use them all. This means: I'll be talking about some alternative ways, although the "Linux Deploy" one is the recommended one. I'll be doing a mini-tutorial on how to install metasploit. Again, if you don't need this, do't do it. Chroot means that the entire base system will be installed on your phone and Linux Deploy will only start the system.
Start by downloading "Linux Deploy" form the Play Store, obviously after having rooted your device. The second image is the screen you'll be shown. Here is where you can choose a different distro, if you want. As suggested by Kali developers, make sure you have at least 5 GB of space free.
- download antivirus mobile nokia n73?
- … this isn't the forums?.
- baseball phone cases for iphone 4;
- Convert an Android Device to Linux.
- Other Useful Business Software?
- Convert an Android Device to Linux » Linux Magazine.
UTF-8 instead of ru-'. Here you can also choose what basic tools and Desktop Environment to install below the screenshot I posted , but the default should be fine. Click on "Install" and wait for the installation to complete. It depends on your internet connection how much time it is going to take with a good one, 10 minutes of average. Oh and, for those who don't get it: At the end, I put a troubleshooting section too, if these steps can't help you. Open the application and click "Install".
Be sure you are connected to a Wi-Fi eventually, and wait for the installation to complete. If you are not able to accomplish this step, follow other guides that you trust. Else, leave "Built-in shell" checked. And then try to reinstall it by clicking "Install" once again. If you need more help, ask in the comments.
Kali Linux Compatible Tablets and Smartphones
I told you this is tricky. If there's no error message, we can move on. Make sure port is set to 22 if you can't change it, it is set to When you are asked for credentials, user is "android" if you did not run trough the troubleshooting section or "root" if you changed the user name when I told you. Password is "changeme", you should now be able to run commands on your Kali environment. Same for VNC excpet for the port obviously , but you'll see it is very annoying, developers themselves say most of the people will be SSHing in it.
This way you can access Android files, external sd card or even save files on your Android storage.
If your Android device can, lucky you, you now have someone who publicly hates you, me. Anyway, just figure out with iwconfig which is the wlan0 you will be using, install aircrack-ng like you were sitting in front of your computer and let your imagination fly. For those who are too lazy to read trough the tutorial and are complaining against me because of my terrifying explanation, I linked these other two guides except for the little troubleshooting part I added:. XDA forums and official Kali website. Just to let you know. This error is cause by Linux Deploy trying to find the sh executable in its folders and, for some reason, not finding it.
Learn to install Kali Linux in a virtual machine
This can be easily solved by feeding another sh by symlinking: Open a terminal: I solved randomly tweaking around and checking the box "Use built-in-shell" and "Create symlink". Not sure if this was actually the solution. More troubleshooting here at the github issues: This time you won't need BusyBox or else. The process is definitely easier, although you might encounter troubles during it, mostly in terms of compatibility. One thing at the time. The red ones are only examples of what you might be able to do with this. Before you can access the main page, a wizard setup will pop up.
How To Download and Install Kali Linux on Android Phone
Follow the wizard setup if you didn't, you can always click on the button marked as 1 and under "Usb Settings" you'll find USB Setup Wizard , with these recommendations and considerations:. Your root manager e. SuperSU will tell you that this application is trying to acquire root. I can tell you that absolutely nothing bad should happen, but you never know, so if you don't trust this, don't do it and abandon the guide here. As said in the setup, most of the times the first in the list just works fine, but if you encounter any error, you are free to try and use the other ones.
If this feature comes with your device, you should even without DrvieDroid or rooting, be able to connect your device to your computer as a USB drive, sharing data storage like the SD Card and your internal memory file archive not the internal system obviously.
Kali Linux Mini ISO Install | Kali Linux
However if you don't have UMS support you will be able to choose but even if you chose USB, it will always show up as a non-rewritable device basically, a full CD. Don't worry, we can revert back to MTP in a few seconds later, and this doesn't mean that the computer won't recognize it at all, because during the boot process it will. To add your OS, you have three ways: Choose the OS you'd like to install e.
Kali Linux and choose which image to download.
- samsung galaxy y duos games free download mobile9!
- Kali Mini ISO Install?
- How to Install Linux On Your Android Phone Without Rooting?
- Opinions about Kali Linux!
- where can i download free movies on android phone!
- ishq wala love mobile ringtone free download;
Write a title and the path to your image you can browse there with a root browser, I suggest "Root Browser" in the Play Store. Once done, click on "Done" in the right top corner. If you don't know what you are doing, then simply follow the first or the second way, or just don't do it. This is harmless, but you could end up filling random space on your precious device. Pretty interesting, I guess? Then reboot your computer, plug in the USB cable, enter the boot menu and you should be able to boot in your OS.
If you want some practical examples, take this: So far, I've tried: Kali Linux 1. The process to install it is completely explained in the mentioned link. How to flash Kali Nethunter oneplus and nexus devises most as secondary rom. These two projects are also very useful in terms of chrooted linux in Android, along with some others Debian related. I honestly found a lot of problems with this project, however I don't feel like putting it down, because it seems a very good one. If anyone can get it working, report please! Again, couldn't manage to make it work, but still pretty interesting.
It was aimed to be a fast bootstrap ubuntu and kali installer. If you need it, you can check it out. It is terminal based and offers a very simple interface. Metasploit obviously needs no introduction. You can get the latest version by installing it with apt-get. A long list of tools in this category, which can all be obtained by installing them via apt-get. This is a very large category, is you have any suggestion please post in the comments. Here I posted some of the most interesting and common tools.
Zanti is basically dSploit legacy. Very awesome tool that allows you to capture packets to then analyze with wireshark with 0x0bda and 0x external adapters devices and an OTG cable for example, awush, also known as alfa! Unfortunately, it is only a standalone application, and doesn't actually put your adapter in monitor mode globally, so you still can't use it, for example, with aircrack.
Very cool to check out! More can be found in this infosec institute article. If your phone's wireless adapter can't go in monitor mode, you can always use an external wireless adapter and use the application "pcap capture" to capture packets trough the air. You can the save the files in a place that is mounted in Kali on your Android, install Wireshark and analyze them. As you can see this is a very comprehensive guide full of references and troubleshooting. I think that there isn't much documentation about this topic mostly for troubleshooting , so that's why I like to share the ways I solved the problems that I encountered, so that this is public on the internet and not vague anymore most of the times I solved these problems by looking at the comments section trying out what people did.
And let me repeat this once again: For instance, with a S3 you should be able to enjoy any aforementioned capabilities without any problem. So do it only if you really need it or you are a very troublemaker security enthusiast. As always, I'm very, very sorry about any unclear part or explanation due to lack of english language knowledge. If you have any suggestion to improve this guide, please comment. Also, please share your experiences with this, so that people who come here can make sure this is a safe thing to do and that they can do it on their device.
If any link in the guide is considered spam or illegal, delete this immediately I doubt, but I don't know. Researching about Nethunter right now, forgot about it, I'll add a little paragraph about it probably. It'll surely help when I'll get my android phone back, I never really thought you could do so many things with a phone, it'll but fun to try it out! Thanks for the reference, I'll probably be adding this to the article, now that dsploit developers joint another team Ya sorry for not posting in the appropriate section , anyway i was getting this error a while ago the error mentioned above , but now i bought a new sd card with a bigger capacity for trying again forget about the previous issue.
Because i think it might happen again! I want to ask about the image size limitation because an image size with gb is failing , i was just following this guide in this article:. It depends on how your sd card is partitioned. Set it to , that's what I did, and no error showed. Alright that makes sense so what do you recommend me to do stick with or do something else so i can set install the image with ? S before when i had it set to or maybe automatic the installation went normally.
No it says Creating image size Just pulling that out from a far away memory: Couldn't download packages: Oh thanks for the clarification!! After i finish the installation i should click on reconfigure right?? Two more issues!! Cant do a apt-get update: P Best Regards. For people who is having trouble with metasploit installation E: Unable to fetch some archives , maybe run apt-get update or try with --fix-missing.
Within minutes of installing Kali on my laptop I eyed my Android phone and Galaxy tablet - both are rooted. After days of frustration I stumbled on your extremely well written how-to install and attempted both devices at the same time glutton for punishment. Phone installed without a hitch Thanks!!! The tablet installed and SSH got me to android localhost: Can't su because it wants a password and 'changeme' and others tried won't work.
Thanks to both of you for your responses. A pop-up kept refusing the toor password. I quit that screen and logged in with userid: I've exhausted all passwords I could think of and came to the conclusion that I randomly pressed the keyboard as I snoozed off for a few seconds when the install requested a password - I can't do the all-nighters like I used to! I did the reinstall and got the same results.
Meanwhile the android phone install works perfectly. Again, both are rooted, both downloads installed on ExtSDcard. Of course, you said the same thing in your post above in step 6 but all I saw was "Optional" and ignored your advice - my bad! For my punishment, I spent a lot of time grubbing around in the root of my androids and learned a lot in the process. So, for anyone else frustrated with the Permission Denied after a new installation of Linux Deploy:. Thanks for highlighting it for us.
Should i buy a nexus device and use nethunter Or buy another android tablet thats not nexus and get Drive Droid?? ALSO if i install kali on drive droid on a android device then plug it in a PC will it load up kali persistence so i can save files as well. Nethunter and this are two different things. Linux deploy allows you to run basically a VM of Linux on your smartphone.
Nethunter is a firmware. Drive droid lets you boot an OS from your android phone, like if it was a live CD, so no persistence at least on new devices. But yes, that's what drive droid does. Achieving persistence might be a little more difficult or even impossible with the newest devices. Going to try NetHunter at last! With a quad-core 2.
Nexus 7 — With the Nexus 7 running Kali NetHunter, you have a powerful, portable, and inexpensive penetration testing platform. NetHunter images are available for both the Wi-Fi and LTE versions, giving you a great deal of versatility with a larger screen. The most powerful NetHunter device you can get that will still fit in your pocket. The size of a typical EBook reader, you have a a device that features WiFi and LTE versions with a physical keyboard, allowing for an easier to read screen.
This device has in large part supplanted the Nexus 5 as the preferred phone form factor NetHunter device. Join the ever growing group of highly skilled Offensive Security Certified Professionals. Learn hands-on, real world penetration testing from the makers of Kali Linux. Offensive Security does not provide technical support for NetHunter. Certified Pentesting Wireless Professional.