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.

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