Kali Linux (Chroot) on Galaxy S4 i9505/i9500 [Tutorial]

Search This thread

GruberEXN

Member
Jul 14, 2013
28
21
kali-linux.jpg


How to Install:

1. Download Linux Deploy from PlayStore

2. Open it and go to settings

setting1.jpg


3. Selection Distribution: Kali and leave everything else as default, except Disk Image Size, which you should use 7128mb instead of Automatic.

3a. Normally it automatically finds your resolution, but you can change it on this page. (One of the last items.)

4. Then select Install

4a. [IMPORTANT] Be sure to be connected to a Wi-Fi network, otherwise 1.4GB will be downloaded from your Mobile Network.

4b. The downloading time is quite long, and you can't lose connection through that, otherwise the .img will be corrupted.

5. Once you see <<< end: installation on the app, download your favorite VNC client and set-up the following configurations:
IP/Host: localhost or 127.0.0.1
Port: 5900
Password: changeme

6. You will notice that there's no tools avaliable, open LXTerminal (From the dropup icon of Kali) then type:
and
sudo apt-get upgrade
Those are minor commands, to really install the tools see next step

7. Type
sudo apt-get install kali-linux -yq
And wait for the full installation to complete, after it's sucesfully done it's good to go!

Q&A:

Which VNC Client you recommend?
I personally like Touchpad mouse settings and a full-screen view, the best free app that does the work for me is bVNC Free.

PostgreSQL gave me an error on the end of installation, is that supposed to happen?
YES, to fix PostegreSQL on Kali Linux ARM you have to whitelist on your network. You can do that by simply typing:
sudo usermod -a -G aid_inet postgres

IceWeasel (Internet Browser) is not opening! What's wrong?
For some reason when you first install it, the browser is misconfigured. To solve that type:
sudo apt-get install iceweasel

Happy Hacking!

XAiLEUT.png
 
Last edited:

txingu

Senior Member
Aug 29, 2012
78
46
Starland
Thanks so much for this!!!
Kali Linux is one of the best pentesting Linux distro.

But, I've get one error triying to install Kali

When I try to install, in the part that sais "making new disk image" the App fails. I try it changing the directory install... but not working.

Thanks in advance!!!

EDIT:
I think the errors was produced by:
First, because I hadn't 7 GB of free space
Second, the filesystem of my external sdcard (fat32) can't support files bigger tan 4 GB.

Triying again!!!
 
Last edited:

adojames

Member
Nov 29, 2006
28
5
Works brilliantly. For people having problems on install. You need the following.

1. A phone not running android 4.3
2. Root
3. Busybox

Sent from my GT-I9505 using xda app-developers app
 

txingu

Senior Member
Aug 29, 2012
78
46
Starland
In the last attempt, I lost all my data in the external sdcard.

I don't know what happend exactly, probably I change some option without being aware, and that is the result.

Backup your data before install this!!!!
 

simkhovich

Senior Member
Apr 16, 2011
87
1
so with the s 4 hardware what is possible can it go in to mon mode and does it support packet injection
 

GruberEXN

Member
Jul 14, 2013
28
21
whats the use of this ?

It's a pentest distribution, made for security profissionals or hobbyists who wants to have all hackers tools at hand for penetration testing at servers.

so with the s 4 hardware what is possible can it go in to mon mode and does it support packet injection

No, since it's a Chroot installation. It's in a jail, you can't use any connection outside from it apart the internet connection (3g/wifi/2g, etc).

That's all I want to know before I Flash it

__________________________________
Sent from my M919 w/ Dualboot

Sorry, there's no use then.

Wow so you know it already when you first heard of it?

You came also from that point.

Why not help?

Sent from my GT-I9500

Sorry for the delay.
 
  • Like
Reactions: mesaj and aikeru

xda23

Senior Member
Sep 13, 2013
2,327
173
kali-linux.jpg


How to Install:

1. Download Linux Deploy from PlayStore

2. Open it and go to settings

setting1.jpg


3. Selection Distribution: Kali and leave everything else as default, except Disk Image Size, which you should use 7128mb instead of Automatic.

3a. Normally it automatically finds your resolution, but you can change it on this page. (One of the last items.)

4. Then select Install

4a. [IMPORTANT] Be sure to be connected to a Wi-Fi network, otherwise 1.4GB will be downloaded from your Mobile Network.

4b. The downloading time is quite long, and you can't lose connection through that, otherwise the .img will be corrupted.

5. Once you see <<< end: installation on the app, download your favorite VNC client and set-up the following configurations:


6. You will notice that there's no tools avaliable, open LXTerminal (From the dropup icon of Kali) then type:

and
Those are minor commands, to really install the tools see next step

7. Type

And wait for the full installation to complete, after it's sucesfully done it's good to go!

Q&A:

Which VNC Client you recommend?
I personally like Touchpad mouse settings and a full-screen view, the best free app that does the work for me is bVNC Free.

PostgreSQL gave me an error on the end of installation, is that supposed to happen?
YES, to fix PostegreSQL on Kali Linux ARM you have to whitelist on your network. You can do that by simply typing:


IceWeasel (Internet Browser) is not opening! What's wrong?
For some reason when you first install it, the browser is misconfigured. To solve that type:


Happy Hacking!

XAiLEUT.png

I go into settings but I cant find distribution. some help please

Sent from my SGH-M919 using xda app-developers app
 
  • Like
Reactions: irulzero

GruberEXN

Member
Jul 14, 2013
28
21
I go into settings but I cant find distribution. some help please

Sent from my SGH-M919 using xda app-developers app


This should be very simple, but anyway, I uploaded a short video showing how to select it.

It's pretty straightforward, really.

And please, don't quote the whole main post. (and edit this, please.)
 
Last edited:
  • Like
Reactions: irulzero

tidu12

Member
Jul 31, 2013
18
0
Toronto
Hi. i have completed the installation everything is done and ready to start, but when I click the start button, it show done for the directories and other stuff, but when it comes down to SSH :22 and VNC :5900 it fails. I cannot connect it to the vnc or ssh.
 

junji77

New member
Nov 20, 2013
1
0
Mount usb?

Sorry for my english.
I have installed kali successfully, but I need to mount a Tp-link WN722N or similar and I do not know how. Is this possible?
I would be very happy.
 
I'm having the same problem as tidu12 I've downloaded the distro successfully and I've downloaded the bvnc free, I enter in all the info given (127.0.0.1) port: 5900, and the password "changeme" it gives me this error "connection failed, connection to VNC server failed with reason:failed to connect to /127.0.0.1 (port 5900): connection failed: ECONNREFUSED (Connection refused)" I've also tried to enter in "localhost" for the host instead of the IP address and it gives me the same error.

Thanks in advance!!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    kali-linux.jpg


    How to Install:

    1. Download Linux Deploy from PlayStore

    2. Open it and go to settings

    setting1.jpg


    3. Selection Distribution: Kali and leave everything else as default, except Disk Image Size, which you should use 7128mb instead of Automatic.

    3a. Normally it automatically finds your resolution, but you can change it on this page. (One of the last items.)

    4. Then select Install

    4a. [IMPORTANT] Be sure to be connected to a Wi-Fi network, otherwise 1.4GB will be downloaded from your Mobile Network.

    4b. The downloading time is quite long, and you can't lose connection through that, otherwise the .img will be corrupted.

    5. Once you see <<< end: installation on the app, download your favorite VNC client and set-up the following configurations:
    IP/Host: localhost or 127.0.0.1
    Port: 5900
    Password: changeme

    6. You will notice that there's no tools avaliable, open LXTerminal (From the dropup icon of Kali) then type:
    and
    sudo apt-get upgrade
    Those are minor commands, to really install the tools see next step

    7. Type
    sudo apt-get install kali-linux -yq
    And wait for the full installation to complete, after it's sucesfully done it's good to go!

    Q&A:

    Which VNC Client you recommend?
    I personally like Touchpad mouse settings and a full-screen view, the best free app that does the work for me is bVNC Free.

    PostgreSQL gave me an error on the end of installation, is that supposed to happen?
    YES, to fix PostegreSQL on Kali Linux ARM you have to whitelist on your network. You can do that by simply typing:
    sudo usermod -a -G aid_inet postgres

    IceWeasel (Internet Browser) is not opening! What's wrong?
    For some reason when you first install it, the browser is misconfigured. To solve that type:
    sudo apt-get install iceweasel

    Happy Hacking!

    XAiLEUT.png
    3
    Thanks so much for this!!!
    Kali Linux is one of the best pentesting Linux distro.

    But, I've get one error triying to install Kali

    When I try to install, in the part that sais "making new disk image" the App fails. I try it changing the directory install... but not working.

    Thanks in advance!!!

    EDIT:
    I think the errors was produced by:
    First, because I hadn't 7 GB of free space
    Second, the filesystem of my external sdcard (fat32) can't support files bigger tan 4 GB.

    Triying again!!!
    2
    whats the use of this ?

    It's a pentest distribution, made for security profissionals or hobbyists who wants to have all hackers tools at hand for penetration testing at servers.

    so with the s 4 hardware what is possible can it go in to mon mode and does it support packet injection

    No, since it's a Chroot installation. It's in a jail, you can't use any connection outside from it apart the internet connection (3g/wifi/2g, etc).

    That's all I want to know before I Flash it

    __________________________________
    Sent from my M919 w/ Dualboot

    Sorry, there's no use then.

    Wow so you know it already when you first heard of it?

    You came also from that point.

    Why not help?

    Sent from my GT-I9500

    Sorry for the delay.
    1
    i got the same issue on my Galaxy S4 let me know if u ever find a fix
    1
    kali-linux.jpg


    How to Install:

    1. Download Linux Deploy from PlayStore

    2. Open it and go to settings

    setting1.jpg


    3. Selection Distribution: Kali and leave everything else as default, except Disk Image Size, which you should use 7128mb instead of Automatic.

    3a. Normally it automatically finds your resolution, but you can change it on this page. (One of the last items.)

    4. Then select Install

    4a. [IMPORTANT] Be sure to be connected to a Wi-Fi network, otherwise 1.4GB will be downloaded from your Mobile Network.

    4b. The downloading time is quite long, and you can't lose connection through that, otherwise the .img will be corrupted.

    5. Once you see <<< end: installation on the app, download your favorite VNC client and set-up the following configurations:


    6. You will notice that there's no tools avaliable, open LXTerminal (From the dropup icon of Kali) then type:

    and
    Those are minor commands, to really install the tools see next step

    7. Type

    And wait for the full installation to complete, after it's sucesfully done it's good to go!

    Q&A:

    Which VNC Client you recommend?
    I personally like Touchpad mouse settings and a full-screen view, the best free app that does the work for me is bVNC Free.

    PostgreSQL gave me an error on the end of installation, is that supposed to happen?
    YES, to fix PostegreSQL on Kali Linux ARM you have to whitelist on your network. You can do that by simply typing:


    IceWeasel (Internet Browser) is not opening! What's wrong?
    For some reason when you first install it, the browser is misconfigured. To solve that type:


    Happy Hacking!

    XAiLEUT.png

    I go into settings but I cant find distribution. some help please

    Sent from my SGH-M919 using xda app-developers app