PDA

View Full Version : Kali Linux on Android Note 3 Guide



bruce303lee
2014-02-10, 05:42
This may have been posted some where in the past but I have been searching for some time and found nothing but others looking for this information. So I though I would document what I did to get everything up and running on my note 3 and share it here.
From a PC
1. Download kali from the LOA website kalilinux.FULL.ext4.20131031 (http://sourceforge.net/projects/linuxonandroid/files/Kali%20Linux/kalilinux.FULL.ext4.20131031.zip/download) (5.8 GB Uncompressed) (2.0GB Download)
2. Once the download is complete extract the contents of the folder so you have a folder named “kali” then an .img and .md5 file in it then copy that to the Note 3 device storage root. I strongly recommend using USB 3.0.

On the Note 3
1. First Download Linux on Android (https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&hl=en) It might be called Complete Linux Installer now
2. Then Download androidVNC (https://play.google.com/store/apps/details?id=android.androidVNC&hl=en) and Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en)
3. Download the modified bootscript.sh (http://forum.xda-developers.com/attachment.php?attachmentid=2570230&d=1392008854) from attchments and extract
4. Copy to /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh
5. Start Linux on Android
6. Swipe from the left of the screen to the right and open the menu
7. Select “Launch”
8. Using the drop down box select “Kali”
9. Press the “Settings” button on the top right
10. Select “Edit”
11. On the line that says “Image” click the “…” button
12. Select the img file you copied to the storage in the kali folder
13. Click the “Save Changes” button
14. Then you are ready to click the “Start Linux” button
15. There will be a question if you want to check the img with the MD5 I would go ahead and type “y” and do this step to verify your download was not messed up.
16. Then it will ask you to create a new password. Type it in. And again. Make it 6 char alpha numeric.
17. If all is good it will ask if you would like to start vnc and ssh servers. Select yes to both.
18. Next it will ask you if you would like to save as default settings. I would select yes.
19. After things finish loading and you have a prompt. We will have to configure ssh
20. Type “ssh-keygen –R localhost”
21. Then you will be able to connect to the linux shell via ssh
22. Type "ssh localhost"
23. It will ask you if you want to add localhost to the list of allowed hosts
24. Type "yes" then press enter
25. Type in your password
26. Once connected to the emulator you will need to setup the VNC password
27. Type "vncpasswd" then press enter
28. Type your password in. And again. I would use the same 6 char password from before
29. Then you are ready to connect to the desktop
30. Open androidVNC from them the main menu leaving the terminal running in the background
31. Create a new connection from the dropbox
32. Name it kalilinux
33. Fill in the password you created
34. Use localhost for the address and the default port
35. Select 24-bit color (4 bpp) for the color format
36. Click connect...

mr-allen
2014-03-29, 14:35
Not working.

snagz
2014-04-19, 12:46
Unfortunately, this isn't working for me on my stock rooted Verizon Note 3. I get a message about a directory missing and another that says it's unable to mount the loop image. Was this tested on the stock image/kernel?

carloss518
2014-07-12, 23:51
It works on Telcel Note 3 with Compulsion Kernel V12 (rooted)... does not work with stock kernel. just follow all the steps now i have kali, everthing is working also usb wireless card using a otg cable without external voltage supply... thanks

phlame64
2014-11-06, 14:41
Working on Galaxy Note 3 (SM-N9005) Android 4.4.2 with Omega ROM v22.1 ZHUENH4 and ROM's own kernel "3.4.0-Omega.Kernel-1.3". Yet to try monitor mode with external OTG wifi card. Will let you know if my Alfa AWUS036H works.

phlame64
2014-11-09, 16:26
Working on Galaxy Note 3 (SM-N9005) Android 4.4.2 with Omega ROM v22.1 ZHUENH4 and ROM's own kernel "3.4.0-Omega.Kernel-1.3". Yet to try monitor mode with external OTG wifi card. Will let you know if my Alfa AWUS036H works.

The Omega kernel provided with the Omega ROM was missing OTG USB drivers for my Alfa card, had to flash a different kernel (CivZ-KK_Xplorer-Rev1.9) which included RTL8187 drivers. Started the chrooted Kali, connected my Alfa card via OTG and airmon-ng recognized it perfectly. Monitor mode is now working flawlessly.

Alpibrine28
2015-02-11, 20:41
It's not working because when I press to Start Linux, bootscript won't run but I started bootscript manually and it's running like a charm but the only problem is, when I attempt to install a program with apt-get install (the program is vega and normally kali should have it but not) it downloads the program but it says "missing directory" and "no space left on device" but I have 4 GB empty space in my Note 3 please help.