(help) kali linux on galaxy s5 sm-g900f

Search This thread

fray37310

New member
Aug 2, 2014
2
0
hello guys sorry for my english, but at the time is possibile to have kali linux on android 4.4.2 of galaxy s5??? i try a lot of guide but nothing, thanks
 
Last edited:

la2o

Senior Member
Mar 27, 2014
134
102
Yes there is a way. I am running Kali Linux on my Galaxy s5 now!!

Download linux deploy and install Kali linux from there.

GL!
 

mascondante

Senior Member
Nov 25, 2012
201
32
Western NC
I tried Linux on Android but it gives invalid argument mounting the loop device. Linux Deploy has an option to not use a loop device and install to a folder I think. Not positive. Try Advanced Linux Installer. That might work. It costs but it's way better than the free version. Try Standard Linux Installer first if you like.
 

zavorrax

Senior Member
Feb 19, 2012
119
45
Could you please add some note on how you managed to install?

I am trying with several options, but always get stuck on a "dd: permission denied" creating the volume

Z
 

mascondante

Senior Member
Nov 25, 2012
201
32
Western NC
I'll try to provide that info. What you're seeing likely means where it's trying to write isn't allowed. Try changing the install location to somewhere safe like /data/kali or something. Also I just found out the S5 won't do ext2 so if you're trying to do a loop device use ext4 if possible. Sorry I don't have more info at the moment.
 

Blinktq

New member
Nov 27, 2014
2
0
I am having the same issue. What SU app are you using? I am using SuperSU, I read that SuperSU might be the problem but I do not know the conditions on how to switch SU apps. Hopefully we can find a solution.
 

DipSprayArc

Member
Jun 17, 2013
8
1
wellington
Just got running.

use a terminal emulator as root
cd /data/data/ru.meefik.linuxdeploy/linux/bin
rm sh chroot
ln -s /system/bin/mksh sh
ln -s /system/xbin/busybox chroot

make sure your file location is on your sd card
change image size to appropriate size.
also change to ext4 file system
 

AnonAgent

New member
Feb 4, 2015
2
0
Just got running.

use a terminal emulator as root
cd /data/data/ru.meefik.linuxdeploy/linux/bin
rm sh chroot
ln -s /system/bin/mksh sh
ln -s /system/xbin/busybox chroot

make sure your file location is on your sd card
change image size to appropriate size.
also change to ext4 file system

Can you explain this deeper? I typed that in an emulater but no luck
 

AnonAgent

New member
Feb 4, 2015
2
0
Just got running.

use a terminal emulator as root
cd /data/data/ru.meefik.linuxdeploy/linux/bin
rm sh chroot
ln -s /system/bin/mksh sh
ln -s /system/xbin/busybox chroot

make sure your file location is on your sd card
change image size to appropriate size.
also change to ext4 file system

Also here are screen shots of my errors, settings, and anything else I figured might be useful to you. Thanks for help in advance.
 

Attachments

  • Screenshot_2015-02-03-20-22-42.png
    Screenshot_2015-02-03-20-22-42.png
    207.6 KB · Views: 2,652
  • Screenshot_2015-02-03-20-22-57.png
    Screenshot_2015-02-03-20-22-57.png
    201.1 KB · Views: 2,580
  • Screenshot_2015-02-03-20-25-36.jpg
    Screenshot_2015-02-03-20-25-36.jpg
    219.7 KB · Views: 2,520
  • Screenshot_2015-02-03-20-25-46.jpg
    Screenshot_2015-02-03-20-25-46.jpg
    208.8 KB · Views: 2,187

mascondante

Senior Member
Nov 25, 2012
201
32
Western NC
I think it's long overdue for a Galaxy S4/5 guide. I know tinkering must be done and there are several issues to negotiate. I've found scattered info here and there but nothing definitive. Complete Linux Installer or Linux Deploy. Either/or. The only way I've ever got Linux to work is by installing to a directory and doing a chroot into it and doing a debootstrap.

Please&ty.
 

jaredroid

Member
Jan 14, 2012
37
10
Is the stock WiFi radio compatible with packet injection or monitor mode on the S5 that you know of? I never put much effort into the install after I had such as hard time initially, attempting to install it to my extSdCard.
 

maty25

Member
Feb 21, 2013
18
2
Solution

Hi there, I tried to install the kali distro in a s5 (g900f) with de Linux Deploy v 1.5.5 and I couldnt, i downloaded the 1.4 and neither but with de v 1.3 I could make it!

So if you are having any troubles with the installation, just download a previous version from the project's github (here)

Hope it helps!
 

jakustar007

Member
Dec 12, 2014
7
0
su error

android@localhost:~$ su
Password:
su: Authentication failure
android@localhost:~$ sudo -i
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
android@localhost:~$

And now ?
plz help bro