Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,303 Members 42,674 Now Online
XDA Developers Android and Mobile Development Forum

[TABLET Z COMPETITION ENTRY][23/07] LinuxonAndroid Project - Standard/ROM/Native

Tip us?
 
zacthespack
Old
(Last edited by zacthespack; 23rd July 2013 at 08:42 PM.)
#1  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Default [TABLET Z COMPETITION ENTRY][23/07] LinuxonAndroid Project - Standard/ROM/Native


Welcome to the Tablet Z Competition entry thread for the LinuxonAndroid project!

This thread is for three sub projects of the LinuxonAndroid project.

Thanks to winning the tablet we will be working on three different versions of Linux running on Android, each with their own post below.

Standard LinuxonAndroid - optimised for tablet z (and other 10inch tabs)

The first port of call, I shall be testing all our current image files, any issues I find with any of them shall be fixed up to give a smooth and stable 'standard' linuxonandroid experience (As laid out in the first post).

Any small optimisation for the tablet will also be laid out here (extra scripts etc. that do not make it into the normal release) as well as features I will work on using the tablet as a test device. The biggest of these will be using native graphics and the Android frame buffer, because vnc is so 2008

Integrated LinuxonAndroid ROM

An idea the LinuxonAndroid team have played with for some time, but that never happened.. until now!
I shall be building and releasing a custom ROM that shall feature closer integration between Linux and Android but still allow easy access for to both.

This will involve custom Linux installs and Android side work that will allow the two to 'talk' passing notification information between the two among other things

Native Linux boots

For those that want to do away with Android completely! I shall also be working on native Linux installs to allow you to turn your powerful tablet into a fully fledged Linux machine.


All the works will be available on our brand new LinuxonAndroid git, for you to fork and push until your hearts content https://github.com/linuxonandroid

Change log:
23/07/13
*Added github account (https://github.com/linuxonandroid)
*Started working on pushing first alpha of LinuxonAndroid ROM



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

The Following 4 Users Say Thank You to zacthespack For This Useful Post: [ Click to Expand ]
 
zacthespack
Old
(Last edited by zacthespack; 9th July 2013 at 04:09 PM.)
#2  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Standard LinuxonAndroid - optimised for tablet z (and other 10inch tabs)

What is this all about?/Why put this on my device?
This projects aim is to bring a range of linux distros to your android device through a method known as 'chroot', see it has running a linux distro within a virtual machine on your phone (Although its not! its using native ARM ports and the Android kernel) . You can access this virtual machine and run it on your phone without causing any damage to your device, or having to overwrite anything. Why might you want this? well my apps are designed to make the install and set up process as easy as possible while still giving you some flexibility. Once you have the distro up and running then you can pretty much run and install any linux software you like (so long as there is a arm port or it is not architecturally dependent).

Wait this uses VNC why shouldn't I just VNC to a computer?
VNC is used to access the GUI as at the moment I have not yet implemented a native way of viewing the GUI. But the Linux distro itself is running within the phone and can be controlled via the terminal app so if your a seasoned Linux user you may never even want to use the GUI

What is Chroot?/How does this work?
"A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children" - http://en.wikipedia.org/wiki/Chroot

This method of running linux distros with android has been around for some time. I have worked on my scripts to make the process more user friendly and give you far more options from the word go.
The scripts start by mounting the linux image file within the android file system and then mounts the sdcard and if you have it internal memory within the linux file system.
Chroot is then used to change the root directory to that of the mounted linux and a bash shell is then opened to allow you to control linux this is kind of like 'booting' the OS.
The likes of VNC and SSH are then set up when linux is 'booted' to allow you to connect to the GUI if you require it.

Interested?
Ok so you want to get one of the support linux distros on your device, great welcome to the team
But first you will need to find out if your device is compatible with the method before anything else, this method 'should' work with pretty much any device but some ROM's/kernels will not work as they do not have loop device support etc.
HERE is a list of working devices and ROM's/kernels but remember just because its not on the list simply means no one has told me its working, it could still work!

Free Apps/Files
App
The App can be download via google play or the open source version can be download via source forge.



Distro Images
Below are our currently supported distros, click the distro of choice to go to its image download page on our source forge site (including torrent downloads)





Kali Linux


Testing
Below is all testing notes for the range of images, please note if you are running this on the stock ROM and kernel you will need to be about to mount /system as r/w see HERE for a work around (or install a custom ROM).
When using VNC to get the right screen size use 1920x1100 as the screen rez.

Ubuntu
  • Large - Works well, although like al devices Unity is rather slow over VNC so not recommended for every day use
  • Small - The most stable and best distro to use! so far found no issues and is very quick thanks to LXDE
  • Core - Works well with no issues, perfect for anyone that just wants the command line!
Backtrack
All works and includes a wide range of testing tools, plus uses the gnome 2 GUI which personally I really like!
Debian

Fedora

OpenSuse

ArchLinux

Kali Linux
Working well although terminal within VNC does not work, and kali is missing many of its tools (due to not having enough free space to install them all). Other than this it works very well using the XCFE interface.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-07-09-10-18-38.jpg
Views:	893
Size:	20.1 KB
ID:	2103157   Click image for larger version

Name:	Screenshot_2013-07-09-10-36-35.jpg
Views:	790
Size:	24.6 KB
ID:	2103179   Click image for larger version

Name:	Screenshot_2013-07-09-12-59-34.jpg
Views:	700
Size:	22.6 KB
ID:	2103473   Click image for larger version

Name:	Screenshot_2013-07-09-13-37-19.jpg
Views:	629
Size:	14.0 KB
ID:	2103474   Click image for larger version

Name:	Screenshot_2013-07-09-14-21-34.jpg
Views:	666
Size:	26.4 KB
ID:	2103740  




 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

The Following 4 Users Say Thank You to zacthespack For This Useful Post: [ Click to Expand ]
 
zacthespack
Old
(Last edited by zacthespack; 21st June 2013 at 10:06 PM.)
#3  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Integrated LinuxonAndroid ROM

An idea the LinuxonAndroid team have played with for some time, but that never happened.. until now!
I shall be building and releasing a custom ROM that shall feature closer integration between Linux and Android but still allow easy access for to both.

This will involve custom Linux installs and Android side work that will allow the two to 'talk' passing notification information between the two among other things



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

The Following 5 Users Say Thank You to zacthespack For This Useful Post: [ Click to Expand ]
 
zacthespack
Old
(Last edited by zacthespack; 21st June 2013 at 10:07 PM.)
#4  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Native Linux boots

For those that want to do away with Android completely! I shall also be working on native Linux installs to allow you to turn your powerful tablet into a fully fledged Linux machine.



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

The Following 5 Users Say Thank You to zacthespack For This Useful Post: [ Click to Expand ]
 
Ricky D
Old
#5  
Ricky D's Avatar
Senior Member
Thanks Meter 39
Posts: 162
Join Date: Apr 2010
Location: Doncaster + Beijing

 
DONATE TO ME
Awesome!

Q: Will the LinuxonAndroid ROM work like the Ubuntu guys showed early last year? And will you be basing it on stock FW, vanilla or your own flavour?

Very excited by this.
 
zacthespack
Old
#6  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Quote:
Originally Posted by Ricky D View Post
Awesome!

Q: Will the LinuxonAndroid ROM work like the Ubuntu guys showed early last year? And will you be basing it on stock FW, vanilla or your own flavour?

Very excited by this.
Most likely a CM base although still playing with ideas to give the best base. And yes the long run goal will be to have a set up much like the 'Ubuntu on android' demo with things like android notifications showing up in linux , sharing access to memory etc.

Sent from my Nexus 4 using xda premium



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

 
domini99
Old
#7  
domini99's Avatar
Senior Member
Thanks Meter 142
Posts: 4,683
Join Date: Jan 2012
Location: Maasbracht
will a native boot be only for tablet z, or also for other 10" tablets?

Sent from my GT-S5570 using xda app-developers app
░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█
 
zacthespack
Old
#8  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Quote:
Originally Posted by domini99 View Post
will a native boot be only for tablet z, or also for other 10" tablets?

Sent from my GT-S5570 using xda app-developers app
Native boots will need to be custom built for each device, so the native boots here will only be for tablet z, but if all goes well we would like to expand onto other devices.



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}

 
domini99
Old
#9  
domini99's Avatar
Senior Member
Thanks Meter 142
Posts: 4,683
Join Date: Jan 2012
Location: Maasbracht
Quote:
Originally Posted by zacthespack View Post
Native boots will need to be custom built for each device, so the native boots here will only be for tablet z, but if all goes well we would like to expand onto other devices.
Okay, well then i'll never get this, my tablet is not listed on XDA an has almost no development . There are only a few roms:
CM10.1
CM10
CM9
AOKP 4.2.2
ZeniThink Different

My tab is Zenithink c93
░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█
 
zacthespack
Old
#10  
zacthespack's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 1,750
Posts: 2,880
Join Date: Oct 2009
Location: Likes: XDA,Coffee,Android,Beer Dislikes: No Beer

 
DONATE TO ME
Quote:
Originally Posted by domini99 View Post
Okay, well then i'll never get this, my tablet is not listed on XDA an has almost no development . There are only a few roms:
CM10.1
CM10
CM9
AOKP 4.2.2
ZeniThink Different

My tab is Zenithink c93
Its true that you will not get native linux, but you can still use the 'standard' linuxonandroid install, which installs linux within android, all you need is root and you should be good to go, check my sig for the main thread for more info, as this thread will be more specific to the tablet z



 
Code:
question = 2*b || !(2*b)
"The Internet: where men are men, women are men, and children are FBI agents."

Code:
class Luke extends Jedi {
    function checkFather($father) {
        if ($father-]name == 'Darth Vader')
            die('NOOOOO!!');
    }
}


Tags
xda tablet z competition
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes