[APP] Linux Deploy

PunkUnity

Senior Member
Dec 1, 2012
1,123
1,228
0
Camarillo
Hello have you tried using changeme as password?
Ya
I've tried everything. This App has never really worked. IOM is a million times better Method to get a chroot Linux environment on an Android phone I found out. It doesn't have an app, but the dev has a couple threads here on XDA. It's called Install-or-mount aka IOM.
 

DarkOne27

New member
May 19, 2014
3
0
0
Linux Deploy

Hello, can anyone explain to me ho do I create cluster 9.1 main manualy.
And if there is any way to keep th image of linux environment that I pull from sourceforge on linux deploy.
sorry for my inglish.
 

larpoux

Senior Member
Mar 17, 2014
125
50
0
Paris
Installation under Kikat

I was able to install linuxdeploy on my Galaxy Note 3 and my Galaxy Tab Pro running Kitkat 4.4
This is easy :

-1- Install Busybox somewhere (/system/xbin is fine)

-2- Change ENV Directory (in linuxdeploy/settings) from /data/local/linux to
/data/data/ru.meefik.linuxdeploy/linux
and hit Update ENV

-3- In a terminal :
$ su -
# cd /data/data/ru.meefik.linuxdeploy/linux/bin
# rm sh chroot
# ln -s /system/bin/mksh sh
# ln -s /system/xbin/busybox chroot

-4- Install your linux. It should work. And start the vserver

-5- In a terminal
$ su -
# . /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy shell

You are now in your vserver logged as root. You can change your password and add your user "android" in /etc/sudoers
 
Last edited:

shardsx

Senior Member
Apr 23, 2013
77
18
28
I was able to install linuxdeploy on my Galaxy Note 3 and my Galaxy Tab Pro running Kitkat 4.4
This is easy :

-1- Install Busybox somewhere (/system/xbin is fine)

-2- Change ENV Directory (in linuxdeploy/settings) from /data/local/linux to
/data/data/ru.meefik.linuxdeploy/linux
and hit Update ENV

-3- In a terminal :
$ su -
# cd /data/data/ru.meefik.linuxdeploy/linux/bin
# rm sh chroot
# ln -s /system/bin/mksh sh
# ln -s /system/xbin/busybox chroot

-4- Install your linux. It should work. And start the vserver

-5- In a terminal
$ su -
# . /data/data/ru.meefik.linuxdeploy/linux/bin/linuxdeploy shell

You are now in your vserver logged as root. You can change your password and add your user "android" in /etc/sudoers
Hi larpoux,

Just wanted to clarify your post here. Were you able to do this on your Tab Pro Kit Kat 4.4 with a SELinux Enforcing kernel, or did you get your hands on a Permissive kernel?

Thanks.
 

fastguy

Senior Member
Feb 22, 2006
635
137
0
Hi larpoux,

Just wanted to clarify your post here. Were you able to do this on your Tab Pro Kit Kat 4.4 with a SELinux Enforcing kernel, or did you get your hands on a Permissive kernel?

Thanks.
You always have to have a permissive kernel and if possible, a samsung kernel which does not block SETUID. (nearly all samsung kernels do!). this seems to be necessary to be able to use sudo inside linux.

I'm using this on a Note 10.1 2014, with permissive kernel. Pretty good.
 

retroben

Senior Member
May 19, 2014
510
60
0
Fultondale
Looking to try this for a better refresh rate and possibly,better performance.
Can somebody help me with a "for dummies" guide so I can ensure I do it right?

Which distro in the list is the fastest with decent compatibility levels?
I noticed two odd ones called Gentoo and RootFS.
I am currently using LOA with the SMALL ubuntu on vnc,and want a buttery smooth refresh rate like somebody else got with framebuffer.

Does the non-vnc methods have much better quality for obvious reasons?
I get a crappy compressed DOT jpeg quality issue with bVNC on 1080P resolution.
 

moorkai

Senior Member
Aug 7, 2012
90
18
0
Roughly three months later ... maybe someone else will find my ramblings useful too?
So far, letting chrooted Linux to write directly to the framebuffer was the smoothest option for me (there are other options like the X server inside Android, but I doubt it could be more fluid than pure FB output), just make sure you have framebuffer access (eventually HW acceleration provided by a proprietary driver for your SoC/GPU) and a functional input method (OTG mouse, keyboard, or some X driver compatible with your TS).
Also, Ubuntu worked the best out of the box for me (Arch, Gentoo etc. users, feel free to disagree, this is only my opinion).
 

debernardis

Senior Member
Jun 30, 2011
532
149
73
Acireale, Sicily
www.debernardis.it
I was able to install linuxdeploy on my Galaxy Note 3 and my Galaxy Tab Pro running Kitkat 4.4
This is easy :
...
Your recipe worked wonders for my Linux deploy-based ubuntu 14.04 chroot which I transferred from my previous Note 2 with android 4.1.2 to my present Note 4 with 4.4.4.

Could you please explain why it was necessary to use shell from firmware and chroot from installed busybox? Thanks
 

arrogantS3

Senior Member
Jul 29, 2012
94
10
0
Richmond, VA
Your recipe worked wonders for my Linux deploy-based ubuntu 14.04 chroot which I transferred from my previous Note 2 with android 4.1.2 to my present Note 4 with 4.4.4.
Are you running a custom kernel on your note 4, to allow this or stock? And is it tmobile variant by chance? Thanks

Sent from my SM-N910T using XDA
 

debernardis

Senior Member
Jun 30, 2011
532
149
73
Acireale, Sicily
www.debernardis.it
Are you running a custom kernel on your note 4, to allow this or stock? And is it tmobile variant by chance? Thanks

Sent from my SM-N910T using XDA
Stock kernel, European SM-N910F. Not subsidized.

Edit: now I see the problem. I can't sudo su.

$ sudo su
sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied

Edit2: as long as I can still get to root as described above, well I am good to go
 
Last edited:

genxcoders

New member
Sep 5, 2015
4
0
0
anyone has idea for linux deploy on Sm-T531 tab 4 from samsung. i make all the sertings but then when i start the download, it gives an error checking mount points fail n install stops... what should i do?
 

franzli

Senior Member
Mar 15, 2010
286
60
0
anyone has idea for linux deploy on Sm-T531 tab 4 from samsung. i make all the sertings but then when i start the download, it gives an error checking mount points fail n install stops... what should i do?
Which method are you using (installation to image file or partition?) and are you running a stock ROM or something custom? I have no experience with the tab 4, but on other Samsung machines I briefly tried running linux deploy via touchwiz and got some error, maybe yours as well. Since I prefer CyanogenMod anyway (where it works just fine) I have to admit I didn't try really hard, I could imagine that it's got to do with the permission issues in kitkat, but I admit I've got no further idea for that. To close with some low-tech advice, sometimes it also helps to just reboot and then try again.

Btw, notice that this thread is actually for the S3 phone, so maybe opening a post in the forum for the tab4 or writing the linux deploy dev would be more helpful.
 

Satsana

Member
Nov 24, 2015
23
1
0
You did write at first no GUI but then why does it offer so many possible choices for window managers (LXDE gnome kde etc..)

If GUI's really are supported, how can i start it on mine ?
My env is kali linux | armhf | sana | lxde

Any help would be greatly appreciated!
 

ulrich_Phantom

New member
Aug 15, 2016
1
0
0
Please help

I installed the kali distro and it works amazingly! The only question i have is in regards to the toolbar at the top (the one with the keyboard, mouse, etc...) because it's there i cannot ex out of apps (i have to right click the app icon at the bottom and exit). Also because of the toolbar, i cannot minimize a page which is really obnoxious! Does anyone know how to either move the toolbar or how to click underneath the toolbar so i can make the page smaller??
 

TNote

New member
Aug 28, 2016
1
0
0
Linux Deploy does not work

Hello guys,

I have a Galaxy Note 10.1 2014 Version and I had been using Linux Deploy on my old tablet (Note 8.0 N5110) and my Smartphone (Note 4) some months ago. I didn't use Linux Deploy for some moths and therefore I had uninstalled it. Now I installed it again, but it won't work.
If I click the install button nothing happens. This is the only message I get:

>>> deploy
<<< deploy

My Galaxy Note 10.1 tablet is running TouchWiz Lollipop, I have rootet it and I have installed a custom XPosed version by wanam.