Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

[TUTORIAL] How to install GNU/Linux on Android

r1bnc

Symbianize Spirit
Advanced Member
Messages
1,804
Reaction score
59
Points
113
Power Stone
Reality Stone
Soul Stone
Time Stone
Space Stone
Installing a GNU/Linux OS on Android Smartphone or Android Tablet using Linux Deploy

INTRODUCTION

--------------------------

Linux Deploy

Copyright (C) 2012-2015 Anton Skshidlevsky, GPLv3

This application is open source software for quick and easy installation of the operating system (OS) GNU / Linux on your Android device.

The application creates a disk image on a flash card, mounts it and installs an OS distribution. Applications of the new system are run in a chroot environment and working together with the Android platform. All changes made on the device are reversible, i.e. the application and components can be removed completely. Installation of a distribution is done by downloading files from official mirrors online over the internet. The application requires superuser rights (ROOT).

The program interface supports English and Russian. You can manage the process of installing the OS, and after installation, you can start and stop services of the new system (there is support for running your scripts) through the UI. The installation process is reported as text in the main application window. During the installation, the program will adjust the environment, which includes the base system, SSH server, VNC server and desktop environment. The program interface can also manage SSH and VNC settings.

Installing a new operating system takes about 30 minutes. The recommended minimum size of a disk image is 1024 MB (with LXDE), and without a GUI - 512 MB. When you install Linux on the flash card with the FAT32 file system, the image size should not exceed 4095 MB! After the initial setup the default password for SSH and VNC is changeme. The password can be changed through standard OS tools.
Features:

Supported distributions: Debian, Ubuntu, Kali Linux, Arch Linux, Fedora, Gentoo, openSUSE, Slackware, RootFS (tgz, tbz2, txz)
Installation type: image file, disk partition, RAM, directory
Supported file systems: ext2, ext3, ext4
Supported architectures: ARM, ARM64, x86, x86_64, emulation mode (ARM ~ x86)
Control interface: CLI, SSH, VNC, X, framebuffer
Desktop environment: XTerm, LXDE, Xfce, GNOME, KDE, other (manual configuration)
Supported languages: English, Russian, German, French, Italian, Spanish, Chinese, Vietnamese, Slovak

Install

You can install the app from Google Play: https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy.
Update

After updating the program you must perform: Settings -> Update ENV.
Performance

SD card read / write speed (10 class) on Android (Samsung Galaxy S II) for file systems vfat, ext2, ext4:

vfat: read speed 14.1 MB/s; write speed 12.0 MB/s
ext2: read speed 14.9 MB/s; write speed 3.9 MB/s
ext4: read speed 14.9 MB/s; write speed 16.6 MB/s
ext2 (loop): read speed 17.0 MB/s; write speed 7.4 MB/s
ext4 (loop): read speed 17.2 MB/s; write speed 8.8 MB/s

Installation time and use space on disk (Debian wheezy/armhf on Samsung Galaxy S II):

Without GUI ~ 0:12 / 260 MB
XTerm ~ 0:14 / 290 MB
LXDE ~ 0:19 / 450 MB
XFCE ~ 0:20 / 495 MB
GNOME ~ 0:55 / 1.3 GB
KDE ~ 1:20 / 1.3 GB

Source code

Source code: https://github.com/meefik/linuxdeploy. The source code is written using the Android SDK/NDK and the Eclipse ADT plugin.
Donations

http://meefik.github.io/donate.html

-------------------------------------------------

START HERE

Requirements:
- Fast Internet Connection (DSL/WiFi)
- MicroSD Card Class 10 UHS-1 or faster 16GB+
- Free Space (NOTE: FAT32 Filesystem 4GB max per file size)
- Linux Deploy APK (https://github.com/meefik/linuxdeploy)
- Desktop Computer/Laptop
- Desktop/laptop Installed OS: GNU/Linux (Preferred) or [cough]WINDOWS :yuck: [/cough]
- UTAK, Patience

Steps:
1. Download mo yung APK ni Linux Deploy sa Official Github Website
https://github.com/meefik/linuxdeploy
Punta ka sa Releases tapos hanapin mo yung APK or Zip (source code kung kaya mo icompile)
Download at INSTALL mo muna si BusyBox (di supported yung iba tulad ng kay stericson) bago mo irun si Linux Deploy
Download Link: https://github.com/meefik/busybox
attachment.php


2. Install mo sa Android mo (Ikaw na bahala)
Check mo yung Unknown Sources.

3. Run Linux Deploy

attachment.php


attachment.php

Click mo yung +, Name ng Profile ikaw bahala. Example ko: Debian
Click mo yung Back button ng android mo.
attachment.php


attachment.php


4. Configure mo kung anong Linux distro ang iinstall mo (example Kali Linux)
attachment.php

attachment.php

attachment.php

Distribution: Kali Linux
Distribution Suite: kali (stable) kung kali-rolling (updated latest agad pero unstable)
Architecture: armel (para sa mga lumang android processors , armhf (para sa mga armv7 cortex + CPU), i386 (para sa x86 CPUs tulad ng sa desktop mo or laptop)
MIrror URL: kung saan idodownload ni Linux Deploy ang isntaller files ni Kali (or other Linux distro)
Installation Type: File (sa SD Card nakasave pero ang limit ay 4GB (FAT32 Filesystem only) kung ext2 or ext4 yung sa yo ayos
Di ko pa natry yung partition installation (magcreate ka ng partition sa SD card mo ng Ext2 or ext4) . note di mo mabubuksan yung partition na yun unless na Linux Desktop gamit mo
Image size (MB): kung ano yung size ng IMG file sa SD Card mo for File Installation (ex. 3997 MB)
File System: auto
User name: android (user name ng Kali mo)
Localization: kung gusto mo PH lagay mo or default US

Desktop Environment: Xterm (Command Line lang ), LXDE (para sa mga low end laptop or desktop (Recommended sa Android), Xfce ganun din, GNOME pang heavy android (kung kaya ng specs ng android mo) pati KDE.
Select components: CLick mo Desktop environment, SSH Server at VNC Server. Or check mo yung post sa Kali.org tungkol sa Linux Deploy at Kali Linux.

SSH Allow mo to para ma-access mo remotely yung installtion mo
GUI (graphical user interface) kung newbie ka sa Linux at di sanay sa Command Line Interface (Terminal UI)
Graphic subsystem: VNC

Ayan tapos click mo na Install. Medyo matagal yan depende sa mga pinili mong options at sa internet speed mo.

Pagkatapos ng Install maglogin ka sa Android mo:
Using SSH or VNC.

on LINUX:

Open Terminal: ssh android@<IP ADDRESS NG ANDROID MO>
Type mo yes
Type mo password: changeme
EXAMPLE:
Code:
user@debian:~$ ssh [email protected]
The authenticity of host '10.42.1.2 (10.42.1.2)' can't be established.
ECDSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xxxx:xx:xx:xx:92:x:e0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.42.1.2' (ECDSA) to the list of known hosts.
[email protected]'s password: 
Linux localhost 3.4.5 #1 SMP PREEMPT Wed Mar 26 16:52:27 CST 2014 armv7l
Kali GNU/Linux 1.1.0 (moto) [running on Android via Linux Deploy]
Last login: Fri Nov 13 15:17:25 2015 from localhost
android@localhost:~$


Sa VNC naman
Open mo Vinagre or Remote Desktop Viewer
Type mo IP Address ng Android mo.
Passwod ulit niya ay: changeme
attachment.php


ETO NA YUNG KALI LINUX sa Android ko. XFCE yung Desktop Environment niya

attachment.php


SA WINDOWS NAMAN:

DOwnload mo yung Putty SSH, at TightVNC.
Install mo tapos ganun din. To be updated nalang tinatamad na ko sa WIndows.

AYAN TAPOS NA.
 

Attachments

  • step3.png
    step3.png
    73.6 KB · Views: 2,023
  • step4.png
    step4.png
    25.7 KB · Views: 2,001
  • step6.png
    step6.png
    41.3 KB · Views: 2,009
  • step7.png
    step7.png
    47.8 KB · Views: 1,994
  • Step1.png
    Step1.png
    75.4 KB · Views: 2,021
  • step10.png
    step10.png
    291.9 KB · Views: 2,012
  • sytep9.png
    sytep9.png
    44 KB · Views: 1,993
  • step0.png
    step0.png
    260.3 KB · Views: 2,066
  • step5.png
    step5.png
    20.4 KB · Views: 1,999
  • step11.png
    step11.png
    194.8 KB · Views: 2,027
Last edited by a moderator:
salamat dito ts..nainstall kona, pano kaya to lagyan ng internet connection?
 
salamat dito ts..nainstall kona, pano kaya to lagyan ng internet connection?
pag po connected kayo sa internet connected din po siya unless na me firewall po kayo
 
vpn po gamit ko...ung firewall sa anti virus b un? wala akng anti virus
 
vpn po gamit ko...ung firewall sa anti virus b un? wala akng anti virus
di po ba ma-access internet via Linux Deploy? pero nakapag -install ka po diba using Linux Deploy, try mo din po iconfigure DNS Server sa Linux Deploy. Try mo din pong mag-ping via Terminal Emulator sa Linux or xterm. Pag "Unreachable" wala pong net, posible pong hindi Firewall/Antivirus ang nakaka-apekto. check mo din po kung rooted device mo.
 
rooted phone ko.."failed to execute default browser, input/output error"
 
rooted phone ko.."failed to execute default browser, input/output error"

ano po yung confiuration mo? LXDE desktop? me installed browser po ba e.g. Chromium, Firefox (Iceweasel)?
 
Installing a GNU/Linux OS on Android Smartphone or Android Tablet using Linux Deploy

INTRODUCTION

--------------------------

Linux Deploy

Copyright (C) 2012-2015 Anton Skshidlevsky, GPLv3

This application is open source software for quick and easy installation of the operating system (OS) GNU / Linux on your Android device.

The application creates a disk image on a flash card, mounts it and installs an OS distribution. Applications of the new system are run in a chroot environment and working together with the Android platform. All changes made on the device are reversible, i.e. the application and components can be removed completely. Installation of a distribution is done by downloading files from official mirrors online over the internet. The application requires superuser rights (ROOT).

The program interface supports English and Russian. You can manage the process of installing the OS, and after installation, you can start and stop services of the new system (there is support for running your scripts) through the UI. The installation process is reported as text in the main application window. During the installation, the program will adjust the environment, which includes the base system, SSH server, VNC server and desktop environment. The program interface can also manage SSH and VNC settings.

Installing a new operating system takes about 30 minutes. The recommended minimum size of a disk image is 1024 MB (with LXDE), and without a GUI - 512 MB. When you install Linux on the flash card with the FAT32 file system, the image size should not exceed 4095 MB! After the initial setup the default password for SSH and VNC is changeme. The password can be changed through standard OS tools.
Features:

Supported distributions: Debian, Ubuntu, Kali Linux, Arch Linux, Fedora, Gentoo, openSUSE, Slackware, RootFS (tgz, tbz2, txz)
Installation type: image file, disk partition, RAM, directory
Supported file systems: ext2, ext3, ext4
Supported architectures: ARM, ARM64, x86, x86_64, emulation mode (ARM ~ x86)
Control interface: CLI, SSH, VNC, X, framebuffer
Desktop environment: XTerm, LXDE, Xfce, GNOME, KDE, other (manual configuration)
Supported languages: English, Russian, German, French, Italian, Spanish, Chinese, Vietnamese, Slovak

Install

You can install the app from Google Play: https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy.
Update

After updating the program you must perform: Settings -> Update ENV.
Performance

SD card read / write speed (10 class) on Android (Samsung Galaxy S II) for file systems vfat, ext2, ext4:

vfat: read speed 14.1 MB/s; write speed 12.0 MB/s
ext2: read speed 14.9 MB/s; write speed 3.9 MB/s
ext4: read speed 14.9 MB/s; write speed 16.6 MB/s
ext2 (loop): read speed 17.0 MB/s; write speed 7.4 MB/s
ext4 (loop): read speed 17.2 MB/s; write speed 8.8 MB/s

Installation time and use space on disk (Debian wheezy/armhf on Samsung Galaxy S II):

Without GUI ~ 0:12 / 260 MB
XTerm ~ 0:14 / 290 MB
LXDE ~ 0:19 / 450 MB
XFCE ~ 0:20 / 495 MB
GNOME ~ 0:55 / 1.3 GB
KDE ~ 1:20 / 1.3 GB

Source code

Source code: https://github.com/meefik/linuxdeploy. The source code is written using the Android SDK/NDK and the Eclipse ADT plugin.
Donations

http://meefik.github.io/donate.html

-------------------------------------------------

START HERE

Requirements:
- Fast Internet Connection (DSL/WiFi)
- MicroSD Card Class 10 UHS-1 or faster 16GB+
- Free Space (NOTE: FAT32 Filesystem 4GB max per file size)
- Linux Deploy APK (https://github.com/meefik/linuxdeploy)
- Desktop Computer/Laptop
- Desktop/laptop Installed OS: GNU/Linux (Preferred) or [cough]WINDOWS :yuck: [/cough]
- UTAK, Patience

Steps:
1. Download mo yung APK ni Linux Deploy sa Official Github Website
https://github.com/meefik/linuxdeploy
Punta ka sa Releases tapos hanapin mo yung APK or Zip (source code kung kaya mo icompile)
http://www.symbianize.com/attachment.php?attachmentid=1090065&stc=1&d=1450227621

2. Install mo sa Android mo (Ikaw na bahala)
Check mo yung Unknown Sources.

3. Run Linux Deploy

http://www.symbianize.com/attachment.php?attachmentid=1090068&stc=1&d=1450227823

http://www.symbianize.com/attachment.php?attachmentid=1090061&stc=1&d=1450227621
Click mo yung +, Name ng Profile ikaw bahala. Example ko: Debian
Click mo yung Back button ng android mo.
http://www.symbianize.com/attachment.php?attachmentid=1090062&stc=1&d=1450227621

http://www.symbianize.com/attachment.php?attachmentid=1090069&stc=1&d=1450227958

4. Configure mo kung anong Linux distro ang iinstall mo (example Kali Linux)
http://www.symbianize.com/attachment.php?attachmentid=1090063&stc=1&d=1450227621
http://www.symbianize.com/attachment.php?attachmentid=1090064&stc=1&d=1450227621
http://www.symbianize.com/attachment.php?attachmentid=1090067&stc=1&d=1450227693
Distribution: Kali Linux
Distribution Suite: kali (stable) kung kali-rolling (updated latest agad pero unstable)
Architecture: armel (para sa mga lumang android processors , armhf (para sa mga armv7 cortex + CPU), i386 (para sa x86 CPUs tulad ng sa desktop mo or laptop)
MIrror URL: kung saan idodownload ni Linux Deploy ang isntaller files ni Kali (or other Linux distro)
Installation Type: File (sa SD Card nakasave pero ang limit ay 4GB (FAT32 Filesystem only) kung ext2 or ext4 yung sa yo ayos
Di ko pa natry yung partition installation (magcreate ka ng partition sa SD card mo ng Ext2 or ext4) . note di mo mabubuksan yung partition na yun unless na Linux Desktop gamit mo
Image size (MB): kung ano yung size ng IMG file sa SD Card mo for File Installation (ex. 3997 MB)
File System: auto
User name: android (user name ng Kali mo)
Localization: kung gusto mo PH lagay mo or default US

Desktop Environment: Xterm (Command Line lang ), LXDE (para sa mga low end laptop or desktop (Recommended sa Android), Xfce ganun din, GNOME pang heavy android (kung kaya ng specs ng android mo) pati KDE.
Select components: CLick mo Desktop environment, SSH Server at VNC Server. Or check mo yung post sa Kali.org tungkol sa Linux Deploy at Kali Linux.

SSH Allow mo to para ma-access mo remotely yung installtion mo
GUI (graphical user interface) kung newbie ka sa Linux at di sanay sa Command Line Interface (Terminal UI)
Graphic subsystem: VNC

Ayan tapos click mo na Install. Medyo matagal yan depende sa mga pinili mong options at sa internet speed mo.

Pagkatapos ng Install maglogin ka sa Android mo:
Using SSH or VNC.

on LINUX:

Open Terminal: ssh android@<IP ADDRESS NG ANDROID MO>
Type mo yes
Type mo password: changeme
EXAMPLE:
Code:
user@debian:~$ ssh [email protected]
The authenticity of host '10.42.1.2 (10.42.1.2)' can't be established.
ECDSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xxxx:xx:xx:xx:92:x:e0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.42.1.2' (ECDSA) to the list of known hosts.
[email protected]'s password: 
Linux localhost 3.4.5 #1 SMP PREEMPT Wed Mar 26 16:52:27 CST 2014 armv7l
Kali GNU/Linux 1.1.0 (moto) [running on Android via Linux Deploy]
Last login: Fri Nov 13 15:17:25 2015 from localhost
android@localhost:~$


Sa VNC naman
Open mo Vinagre or Remote Desktop Viewer
Type mo IP Address ng Android mo.
Passwod ulit niya ay: changeme
http://www.symbianize.com/attachment.php?attachmentid=1090070&stc=1&d=1450228862

ETO NA YUNG KALI LINUX sa Android ko. XFCE yung Desktop Environment niya

http://www.symbianize.com/attachment.php?attachmentid=1090066&d=1450227693

SA WINDOWS NAMAN:

DOwnload mo yung Putty SSH, at TightVNC.
Install mo tapos ganun din. To be updated nalang tinatamad na ko sa WIndows.

AYAN TAPOS NA.

Maraming Salamat Po dito Sir:thumbsup::salute::salute::salute:
 
Thanks for the very informative tutorial sir.

Ask ko lang, may nakagamit na ba ng Wine with Linux Deploy? Nasubukan ko na with Kali and Ubuntu kaso always failing e. Thanks!
 
Thanks for the very informative tutorial sir.

Ask ko lang, may nakagamit na ba ng Wine with Linux Deploy? Nasubukan ko na with Kali and Ubuntu kaso always failing e. Thanks!

di ko po tested ang WINE sa Linux Deploy dahil wala po akong x86 based CPU sa gamit ko puro ARM A-7 Cortex CPU ang gamit ko. kelangan po kase ng x86 based processor ang WINE para umandar. kaya sa PC gagana sa Debian/Ubuntu/Kali etc.
 
di ko po tested ang WINE sa Linux Deploy dahil wala po akong x86 based CPU sa gamit ko puro ARM A-7 Cortex CPU ang gamit ko. kelangan po kase ng x86 based processor ang WINE para umandar. kaya sa PC gagana sa Debian/Ubuntu/Kali etc.

Same sir, Using ARM din. Yung tab ko namang x64 (Maia Pad) wala pang rooting. Akala ko may way to work around it hehehe! Thanks for the feedback sir. Will update you all if maroot ko yung x64 tab and if gumana si wine.
 
paano install ung kali linux na downloadable from pc na iso ang format? thanks d2
 
Back
Top Bottom