[Galaxy Note 10.1 (2014 Edition) General] robertchow:
Turning note into a Linux laptop: a step by step guide

The main advantage of the method here is that you can run android app and linux program side by side. Moreover, S-pen can act as mouse

Device: p600

ROM: P600UEUBMK1

(Following method may be applicable if your device is rooted and has other selinux permissive ROM installed)

1	Root and flash selinux permissive kernel

a. for root method, see

http://xdaforums.com/showthread.php?t=2490805

b. Flash selinux permissive kernel, for instructions, see

http://xdaforums.com/showthread.php?t=2590311

Please read the instructions completely.

c. Install SElinuxModeChanger

Install SElinuxModeChanger from Google Play (app is free and without ads) and change selinux mode to permissive.

Reboot note, if SELINUX status is Permissive in the Setting--about device, you can move on to next step.

2	Install Linux distro using Linux Deploy

Install Linux Deploy from Google Play (app is free and without ads), Start Linux Deploy and push the Download Button, and then in the Deploy option, you have the following choices:

a.	Distribution

I have tried Debian and Ubuntu, both have been successful installed.

b.	Distribution suite

For Debian , choose Jessie.

For Ubuntu, choose Trusty.

c.	Architeture

Choose armhf.

d.	Mirror URL

For Debian, http://202.141.160.110/debian

202.141.160.110 is the IP address of debian.ustc.edu.cn (one of the Debian mirrors in China)

You can choose other mirrors from

https://www.debian.org/mirror/list

but remember to convert the web address into IP address

For Ubuntu, http://18.7.29.125/ubuntu-ports/

18.7.29.125 is the IP address of mirrors.mit.edu

The above mirrors are chosen because they are stable and fast for users in China.

e.	Installation type

File(default option)

f.	Installation path

For Debian, /storage/emulated/0/debian.img

For Ubuntu, /storage/emulated/0/ubuntu.img

In fact , You can choose whatever file name you like. I chose the above names, because I actually installed both Debian and Ubuntu on my device.

g.	Image size

Automatic calculation (default option)

h.	File system

Auto (default option)

i.	User name

Android (default option)

j.	DNS server

Automatic detection (default option)

k.	Localization

en_US.UTF-8 (default option)

l.	Desktop environment

Xfce

m. Select components

Just check all components

After the Deploy options have been set, choose Install under Action options.

The installation time taken depends on the mirror chosen and how stable the internet connection is.

When you see “end: Install”

Push the Stop Button, and then Start Button.

If no information about failure of starting SSH and VNC services are shown, then the installation is successful.

3	Configure startup environment using Linux Deploy

Push the Download Button, ensure that both SSH and GUI are checked under STARTUP option.

for Graphic subsystem, choose VNC

for GUI setting, Display is set to 0, Depth 24, DPI 270, Width 2560, Height 1600.

check Custom mounts

For Mount points, add /mnt/extSdCard/ so that you can access external sdcard under linux environment.

or add /mnt/0/ to access internal sdcard.

Back to the main page, push Stop and then Start Button to see if external sdcard and internal sdcard can be mounted.

4	Set up ssh and vnc client

a. Install JuiceSSH from Google Play (app is free and without ads),

Launch JuiceSSH, under Connections, choose New Connection,

In basic settings, Type is set to SSH, Address is set to 127.0.0.1 (IP of local host), and Identity is android.

Back to the main page, connect to 127.0.0.1, when prompting for password, enter changeme. You are now login into Debian or Ubuntu.

b. Install bVNC from Google Play (there are free and pro versions, free version is fine)

In the Connect Type, choose Basic VNC.

In the VNC Connections Settings, Address is set to 127.0.0.1, port 5900, and password changeme.

Push the connect button, You are now login into Debian or Ubuntu desktop.