Skip to content

Installing Kali Linux Guide

Somebodyhura edited this page May 2, 2017 · 27 revisions

The best way to install Linux is to set a separate partition for it.

1_Insert your ram (atleast 16GB preferred class 10)

2_Install (Aparted) app for Android

3_Follow instructions and set atleast 8GB as ext4 for Linux installation and remain other for your own use (something like this: https://ibb.co/hSHYmQ)

4_then go into the Linux deploy, swipe right and go into settings

5_enable (lock screen), (wake lock), (CLI), (TELNET), (Localhost)

https://ibb.co/i2Ajt5

https://ibb.co/ex6URQ

6_tap REMOVE ENV and UPDATE ENV

7_head back and click on download icon and set options like this:

https://ibb.co/hq1URQ

https://ibb.co/iDMURQ

https://ibb.co/gLww6Q

https://ibb.co/m6Csfk

https://ibb.co/hcuSD5

Contain method: chroot (proot didn't work for me)

Distribution: Kali Linux

Architecture: Armhf

Distribution suite: Kali-rolling (It's better and newer)

Installation type: partition

Installation Path: /dev/block/mmcblk1p2 (if you set like me it's ok...if not and set ext4 in first row at Aparted app then replace p2 with p1, they mean partition number)

File system: ext4

Username: Android

User Password: (needed for vnc only)

Privileged user: root

DNS: Automatic

Localization: POSIX

INIT: (if you know how to work with, enable it...otherwise it's not needed, leave disabled)

MOUNTS: (Just like INIT)

SSH: enable (leave settings unaffected)

GUI: enable

Graphics subsystem: VNC (It's better than others)

GUI settings Depth: 24Bit

DPI: 75

width: 1600 height: 900 (I set them at this numbers because nowdays 16:9 is a good aspect ratio and native with many monitors and also you won't encounter problems with programs that are a bit large, so I recommend changing it from the default value, that resolution is not compatible for some apps they go out of border :/ )

VNC Options: (leave unaffected)

Desktop environment: LXDE (what you desire, but that's my recommendation)

8_now head back and click the three dot menu and tap on install and wait until installation finishes

9_now connect to 127.0.0.1 with your password in vnc viewer app (recommend com.realvnc.viewer.android)


TROUBLESHOOTING:

1_Some packages cannot be retrieved/validated and get error/ignored, and thus Linux installed incomplete.

-check your Internet connection and make sure it is stable and fast

-Some packages are restricted or filtered (503), try this method: Install (Orbot) and go into options and enable (transparent proxy) and start the tor then start the installation

2_Linux fails to stop/unmount some items or Linux is still running after I hit stop button

-Just hit the stop button again after the first stop command finished and try it again until you get (the container is not mounted)

3_applications won't start by normally clicking on their icon

-Some applications require SU permission and some even don't respond if not in SU mode (for example synaptic package manager or Zenmap)

-Open a terminal and write "sudo" and type the application command (for example "synaptic") It should run now.

4_after formatting is done, my SD card is corrupt.

-Try making the "fat32" partition at first.

-eject SD card and inset it again, it should be known as a normal SD card now.

-remember to choose "use as a portable storage" so that the android won't reformat the SD card again back to it's default.

5_the mouse cursor icon is replaced by an (X) mark

-Open the menu (start button at windows) and go to perfences and click on "customize look and feel", it should be fixed.


FAQ

1_Contain method: Proot or chroot?

-proot is same as chroot but without the need of root access, however proot didn't worked for me so if you have root, just use the chroot then.

2_Architecture: wich one should I select?

-go to gsmarena.com and search your phone model and look for its cpu Architecture and select yours.

-ARMEL: for 32Bit devices at Armv4

-ARMHF: for 32Bit devices at Armv7 or higher.

-ARM64: for 64Bit devices with Arm chipset.

-i386: for 32Bit devices with Intel or AMD CPU.

AMD64: for 64Bit devices with Intel or AMD CPU.

3_Distribution suite: wich one should I select?

-If they are numbers, then higher is better and more stable

-If they are names, go to the distribution website and see what's their latest build codename and choose that.

-for example: Kali Linux new build name is "Kali-rolling" and Ubuntu new build name that is available in the app is "yakkety".

Hope this helps Good luck and farewell---

---Somebodyhura

http://your_computer:3142/XXXX where XXXX is one of armdebian, armubuntu, or armkali

Clone this wiki locally