Greetings Transformers!
Now that I've rooted and have bash installed I am yearning for more, but I want to keep the Transformer usable in it's day to day role as an Android tablet so a Linux chroot would be very handy for mostly server tools: php, apache, maybe some light VNC desktop.
I've noticed a couple of threads about native Linux on the Transformer, but I'm more interested in a chroot simliar to the one on the Xoom. Has anyone tried any of the several Debian or Ubuntu chroot's on the Transformer and how did it work out?
Here is the link / process I'm considering following: http://forum.xda-developers.com/showthread.php?t=1028464
Sent from my Transformer TF101 using Tapatalk
droidbird said:
Greetings Transformers!
Now that I've rooted and have bash installed I am yearning for more, but I want to keep the Transformer usable in it's day to day role as an Android tablet so a Linux chroot would be very handy for mostly server tools: php, apache, maybe some light VNC desktop.
I've noticed a couple of threads about native Linux on the Transformer, but I'm more interested in a chroot simliar to the one on the Xoom. Has anyone tried any of the several Debian or Ubuntu chroot's on the Transformer and how did it work out?
Here is the link / process I'm considering following: http://forum.xda-developers.com/showthread.php?t=1028464
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
this sould be easy , just change the sripts to te corrects mounts and pahts , i dint look into this as i only care about native . also i dont know how current modded kernels are build but kernel with loop devices support is a must!!
I was considering only native too... I would like to use my transformer for Ruby On Rails development, so I need linux ( now I take with me everyday my transformer and my netbook, it would be cool if I would be able to take only my transformer)...
But I was thinking recently that maybe even the chroot method can do for rails development, I will have the shell, the browser, and maybe I can install something like cloud9 ide so I can edit my code directly in the browser....
debian or ubuntu? both would be fine, but maybe I would prefear ubuntu because I am more acustomed to it
regards
Gnagnone
Your goals are similar to mine, I want a lightweight dev environment along with the tools to do meaningful command line work.
I was hoping someone had already been down this road, but it doesn't seem all that daunting of a task to change a few paths in the scripts...if I can find the time.
Running Debian w/o chroot
You should contact the OP of this thread:
http://forum.xda-developers.com/showthread.php?t=1138661
e.mote said:
You should contact the OP of this thread:
http://forum.xda-developers.com/showthread.php?t=1138661
Click to expand...
Click to collapse
Actually for the transformer the situation is a bit different, as reported here: http://forum.xda-developers.com/showthread.php?t=1116471 they are still working on making it boot linux natively
@droidbird, are you developing in rails too? maybe we should start a new thread to find all rails developers that would be interested in developing on their android tablet?
e.mote said:
You should contact the OP of this thread:
http://forum.xda-developers.com/showthread.php?t=1138661
Click to expand...
Click to collapse
From my point of view the native Linux is a step backwards. I still want all the convenience of my Android tablet, but with additional capabilities which is what leads me to the chroot.
droidbird said:
From my point of view the native Linux is a step backwards. I still want all the convenience of my Android tablet, but with additional capabilities which is what leads me to the chroot.
Click to expand...
Click to collapse
Did you identify any alternative as code editor?
here is a list of some: http://www.smashingapps.com/2010/12...itors-to-code-directly-from-your-browser.html
there is even this one which looks very promising: https://mozillalabs.com/blog/2009/02/introducing-bespin/
maybe this one is the best: https://github.com/ajaxorg/cloud9
gnagnone said:
Did you identify any alternative as code editor?
here is a list of some: http://www.smashingapps.com/2010/12...itors-to-code-directly-from-your-browser.html
there is even this one which looks very promising: https://mozillalabs.com/blog/2009/02/introducing-bespin/
maybe this one is the best: https://github.com/ajaxorg/cloud9
Click to expand...
Click to collapse
You mean there are other ways to edit code than vi or vim?
droidbird said:
You mean there are other ways to edit code than vi or vim?
Click to expand...
Click to collapse
sorry, I don't understand if you want to say that for you vim is enough or you're really surprised of the alternatives I proposed.
If really vim is enough for you then chroot and a ssh client would be enough... I was just thinking about providing a set of tools easy to use for everyone
Ubuntu-on-a-stick
There are many solutions for the VNC route. Here is one in apk form, from a cursory search:
http://liliputing.com/2011/06/ubunt...y-to-run-android-and-ubuntu-side-by-side.html
The Streak 7 is also a Teg2 device.
Related
Hi,
i wonder if it's possible to code right ON an android device, such as the upcomming tablets?
plz correct me if i'm wrong, but i'm dreaming of coding and compiling direct on the tablet. (on my old wm6 device i did so by using basic4ppc, but it would be great to do so without using fring.)
Is this realistic or am i simply dreaming?
thanks for any reply to my silly noob question
your's
pedro
P.S.: by the way,do you gurus think there will be things like video-editing (similar functionality to pinnacle studio/vegas) and vst support for android?
No reply at all??
PLZ boys....can JDK and eclipse be run on an android device????
The only thing I'm aware of at the moment is the project (formerly) known as "Android Scripting Environment"
http://code.google.com/p/android-scripting
Among other things, it gives you Perl
Sent from my SPH-D700 using XDA App
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Much more realistic would be simply a syntax-highlighting text editor, which would let you write (but not compile, of course) on the go. I looked around for one of those a while ago but couldn't find one. I started writing one, but then decided that my urge to program on my phone wasn't strong enough for the amount of effort it would take to write such a program...
NEWS
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
infantilo said:
i've read today good news..... basic4android (basic4ppc) announced a basic4android version (early beta) and "maybe" an on-device-programming version
Click to expand...
Click to collapse
Hello,
it will probably be no version to program with B4A on the device. The IDE runs in conjunction with windows. Net.
Cu
Amalkotey
Basic4Android-Betatester
Steven__ said:
Well, Eclipse is a Java application, so in theory it should be port-able onto an Android device. However, I imagine there would be so many things to fix/work-around that it just wouldn't be worth it. For example, I don't think Android has the Swing/AWT components, which Eclipse probably uses, so you'd have to rewrite all the UI display classes to use the Android libraries.
Click to expand...
Click to collapse
These issues are not the only issue i see...
What about javacc wouldn't this need to be ported as a java application as well?
Which i dont see how you can develop a java compiler in java if you can i'll be amazed.
we'd have to wait for the native library imports to do that from my current knowledge
Please someone correct me if im wrong
I know this thread is old, but if anyone come across this thread search for Aide in the play store.
i think AIDE is the best way to coding ON the tablet/phone!
Try AIDE It's free on Google Play.
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
pedja1 said:
AIDE is a good choose if you can buy premium key. I personally did and I'm satisfied. I use aide when I'm away of my PC and get an idea
Free version allows only projects with 5 or less java files. Excluding R.java and BuildConfig.java that's 3. I doubt that anyone can write anything serious with 3 java files.
Sent from my Evo 3D GSM using Tapatalk 2
Click to expand...
Click to collapse
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Sybregunne said:
+1 for AIDE you can't go wrong with premium especially if your projects are big (lots of files)
AIDE also supports ssh git and dropbox sync last I checked. It also features an auto complete kinda like in eclipse.
Although I always begin my projects on a computer especially for the ui design (I'm a noob this way)
as for C there is C4droid although I'm not sure if its possible to link it with android java code.
But c4droid beats having to set up the proper toolchains if your creating a pure native application.
Click to expand...
Click to collapse
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
DoR2 said:
+1 for AIDE
I has AIDE+PasGUI+C4Droid on my device and I quite satisfied with it, though it's difficult to manage with interface
Click to expand...
Click to collapse
pasGUI - will try that now. Thanks
So as we all know soon we will have the files to access nvflash. This for one will hopefully allow us to install any OS we want.
Here is a guide to flashing ubuntu through nvflash onto a tegra 2 device:
http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now
Now lets hope once the nvflash tools get released in the coming days we will be able to do this.
You're my hero men !!!!
I love you
very nice, ubuntu with unity desktop would be great on tf
xufuchang said:
very nice, ubuntu with unity desktop would be great on tf
Click to expand...
Click to collapse
Definitely
Asus would dominate the tablet market with this due to the dock that makes it into a possible real pc now. Did asus give any indication on releasing tools for nvflash?
Will dual-boot be possible, too?
Otherwise that would be nothing for me, cause for multimedia Android is much better and I have a netbook.
cowballz69 said:
Asus would dominate the tablet market with this due to the dock that makes it into a possible real pc now. Did asus give any indication on releasing tools for nvflash?
Click to expand...
Click to collapse
RayMan and bumblebee already got tools set up, and they're releasing soon.
Will dual-boot be possible, too?
Otherwise that would be nothing for me, cause for multimedia Android is much better and I have a netbook.
Click to expand...
Click to collapse
It's been done on other Android devices so I don't see why not.
Ubuntu on this.....I am salvatating already....ooooooohhhhhh yea....this would definely rock my world
seshmaru said:
It's been done on other Android devices so I don't see why not.
Click to expand...
Click to collapse
That would be amazing and probably with the dock one of the best devices ever!
When you really think about it.....Android IS a variant of linux.
Digiguest said:
When you really think about it.....Android IS a variant of linux.
Click to expand...
Click to collapse
That's the same as saying OSX is a variant of Unix.
Android borrows the Linux kernel, but aside from that the user interface and feature set is completely different from the typical desktop environments like Gnome and KDE in other Linux distributions. If Android was actually able to provide anywhere close to the same capabilities as a desktop Linux distribution, people wouldn't be asking for a way to install Ubuntu instead.
earlyberd said:
That's the same as saying OSX is a variant of Unix.
Android borrows the Linux kernel, but aside from that the user interface and feature set is completely different from the typical desktop environments like Gnome and KDE in other Linux distributions. If Android was actually able to provide anywhere close to the same capabilities as a desktop Linux distribution, people wouldn't be asking for a way to install Ubuntu instead.
Click to expand...
Click to collapse
"Linux" is the kernel, while Ubuntu, Android, Fedora is the distribution in full. But those are all powered by Linux... and btw OSX is Unix, since XNU (the kernel, funny enough it's open source) is certified as such.
Clearly if you cripple the potential of the platform with an interface and toolset suited for mobile use like Android or iOS, you lose some features and gain usability. A tradeoff most are happy with
Sent from my GT-P1000 using Tapatalk
AlexTheStampede said:
"Linux" is the kernel, while Ubuntu, Android, Fedora is the distribution in full. But those are all powered by Linux... and btw OSX is Unix, since XNU (the kernel, funny enough it's open source) is certified as such.
Clearly if you cripple the potential of the platform with an interface and toolset suited for mobile use like Android or iOS, you lose some features and gain usability. A tradeoff most are happy with
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries, and has tons of other Android-specific additions and architecture changes for the sake of security and interoperability with certain mobile device standards. You can't just throw together the Android-ified Linux kernel with any desktop environment of your choosing like you can with the actual Linux kernel that ships with Ubuntu and Fedora. Furthermore, the changes that Google does make to the kernel do not get included into the mainstream kernel, and that fork has existed for quite some time. That is why Android is Linux-based, and not actually a Linux distribution.
ive had that page bookmarked since the week before i got my tab xD
Linux is just the kernel. Ubuntu, fedora etc are distributions with everything else needed to make the OS work.
earlyberd said:
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries, and has tons of other Android-specific additions and architecture changes for the sake of security and interoperability with certain mobile device standards. You can't just throw together the Android-ified Linux kernel with any desktop environment of your choosing like you can with the actual Linux kernel that ships with Ubuntu and Fedora. Furthermore, the changes that Google does make to the kernel do not get included into the mainstream kernel, and that fork has existed for quite some time. That is why Android is Linux-based, and not actually a Linux distribution.
Click to expand...
Click to collapse
<pedantic>
Pretty sure the Linux kernel proper does not come with X-Windows or GNU libraries (although it does rely heavily on the GNU toolkit, hence GNU's insistence that it be called GNU/Linux - http://www.gnu.org/gnu/gnu-linux-faq.html)
</pedantic>
Sent from my Transformer TF101 using XDA Premium App
jhanford said:
<pedantic>
Pretty sure the Linux kernel proper does not come with X-Windows or GNU libraries (although it does rely heavily on the GNU toolkit, hence GNU's insistence that it be called GNU/Linux - http://www.gnu.org/gnu/gnu-linux-faq.html)
</pedantic>
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
Was that really necessary?
The point of this discussion is that Android is not Linux, does not include the vast majority of libraries found in standard Linux distributions, is thus incompatible with the vast majority of Linux applications, and is otherwise missing large portions of functionality. The fact that Android has some basis in Linux does not solve the problem of there being thousands of users out there that need to be able to do more than just basic word processing and web browsing on their mobile devices, but also want hardware that won't soon be neglected by developers.
Some people need VLC, Eclipse, GIMP, or various Oracle applications to get their work done. Telling people that Android has some similarity to Linux doesn't make those applications any easier to port, and would be pointless anyway if the same hardware can run Linux distros natively.
you made it to he news
earlyberd said:
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries...
Click to expand...
Click to collapse
......
Your kernel has the GNU libraries in it? and X Windows? Must be pretty large...
earlyberd said:
Was that really necessary?
The point of this discussion is that Android is not Linux
Click to expand...
Click to collapse
Actually, it is.
Linux == The Kernel. Everything else is just the distribution. Honeycomb is basically a Linux distribution, just like Ubuntu, RedHat, and Gentoo are. It is just highly specialized. And if you think that because it doesn't have the GNU libraries makes it somehow not Linux, you are DEAD wrong. There are a plethora of devices and distributions that do not use the GNU libraries or toolchain.
Aside from this, the fact that you seem to continuously confuse the kernel with the distirbution indicates to me you aren't really qualified to discuss this topic, so I would stop arguing it.
earlyberd said:
Was that really necessary?
The point of this discussion is that Android is not Linux, does not include the vast majority of libraries found in standard Linux distributions, is thus incompatible with the vast majority of Linux applications, and is otherwise missing large portions of functionality. The fact that Android has some basis in Linux does not solve the problem of there being thousands of users out there that need to be able to do more than just basic word processing and web browsing on their mobile devices, but also want hardware that won't soon be neglected by developers.
Some people need VLC, Eclipse, GIMP, or various Oracle applications to get their work done. Telling people that Android has some similarity to Linux doesn't make those applications any easier to port, and would be pointless anyway if the same hardware can run Linux distros natively.
Click to expand...
Click to collapse
Did you even go to the gnu link? Linux is the kernel. Android uses the Linux kernel. It's the tools on top of it that are missing (hence busybody)
Sent from my Transformer TF101 using XDA Premium App
Hey guys,
as some of you may know, it shall be possible to run Ubuntu on the EeePad Transformer (for those who don't know, look here for instruction). Even though, it doesn't boot natively (yet), it should be a full Ubuntu.
Does anyone of you made some (performance)tests with that? Here are some things, I would really like to know:
- How is performance/ usability in general?
- How "usable" are programs like OpenOffice, internet browsing or maybe IDEs like Eclipse?
- Is the keyboard dock fully supported?
- Is it possible to use an USB-Mouse in Ubuntu?
- Is it possible to "switch" between Android / Ubuntu?
- Is it possible to use Ubuntu 11.04 - with all of the touchscreen features?
If some of you would make some tests (maybe with a video), it would be realy awesome!
I think I'm not the only one who is really interested in these things.
Since I'm going "back" to college, I need a device (cause I can't afford 2 ), that can handle all of those basic things you need in college.
Thanks a lot guys!
Apparently I was wrong before. It should be possible to boot in ubuntu. See here and here for instruction. In genereal it deals with ubuntu on tegra 2 platform.
But before dual-boot is possible, I'd rather choose the VM.
Doesn't anyone tried ubuntu on the Transformer?
Are you sure you linked the right article?
You're right, I forgot to post the second article. I edited my post, those instructions are more general for tegra 2 devices. Don't know why I mixed these things up.
Well, I couldn't resist Just ordered one. I'll keep you guys updated on the ubuntu thing, gonna make some tests when I got mine.
The El said:
Well, I couldn't resist Just ordered one. I'll keep you guys updated on the ubuntu thing, gonna make some tests when I got mine.
Click to expand...
Click to collapse
Thanks...anyone know if running Ubuntu will mean we can play mkv's??
adam18488 said:
Thanks...anyone know if running Ubuntu will mean we can play mkv's??
Click to expand...
Click to collapse
It could be done but Tegra2 is not in to movies
The El said:
Well, I couldn't resist Just ordered one. I'll keep you guys updated on the ubuntu thing, gonna make some tests when I got mine.
Click to expand...
Click to collapse
Well? How is it going with ubuntu? I'm searching some benchmarks or at least users feelings about ubuntu performance on transformer.
BTW which one do you have? Tf201 maybe? I'm going to buy one. I would wait for tf700t but do not know if I can wait that long...
Why do you do chroot when here is native Ubuntu > http://forum.xda-developers.com/showthread.php?t=1191141 ?
I have considered building another Linux Developers Edition but possibly using Ubuntu for the base distro. What would you like for the base distro? How about apps for making your development more productive? Just remember, afa apps, the iso will increase with added apps so it needs to be something you absolutely can't live with out. Also, I began to make my own dev distro after having to re-install all my stuff for compiling or customizing roms after changing pcs a couple of times and now think it would benefit most.
Treken said:
I have considered building another Linux Developers Edition but possibly using Ubuntu for the base distro. What would you like for the base distro? How about apps for making your development more productive? Just remember, afa apps, the iso will increase with added apps so it needs to be something you absolutely can't live with out. Also, I began to make my own dev distro after having to re-install all my stuff for compiling or customizing roms after changing pcs a couple of times and now think it would benefit most.
Click to expand...
Click to collapse
Debian base, xfce desktop environment(lightweight), include java6 jdk, eclipse, android SDK, and all prerequisites from aosp site. Gimp for theming.
Sent from my ADR6300 using XDA App
I'll consider it. Currently I have Linux Mint gnome desktop with everything you mentioned to include and it works nicely.
tcberg2010 said:
Debian base, xfce desktop environment(lightweight), include java6 jdk, eclipse, android SDK, and all prerequisites from aosp site. Gimp for theming.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I like the above suggestions
Sent from my ADR6300 using Tapatalk
I'm looking at linux mint xfce which is debian based and of course xfce ui.
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
tcberg2010 said:
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
Click to expand...
Click to collapse
I think I can manage that
currently running Debian gnome is xfce really that much better???
mr.marcus said:
currently running Debian gnome is xfce really that much better???
Click to expand...
Click to collapse
It's a lot less resource hungry. It uses far less ram which lends to more ram for your apps to run on. I'm trying to get linux mint xfce to work. So far I managed to install everything needed to compile and dev, but remastersys isn't fulling installing. I use remastersys to create a live cd image but since it won't install I may be trying another rout.
Ok, almost done with the new dev kit. It's Debian base with XFCE as the desktop. It was a real tuffy trying to get all the tools installed, but I did. Debian Squeeze and XFCE4 combo was a challenge. I built it, for the most part, from scratch. Just finishing up on customization.
CAN'T WAIT!!! (said like Bart Scott) lol
Sent from my ADR6300 using XDA App
tcberg2010 said:
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
Click to expand...
Click to collapse
This is for adb, right?
Yea, it allows adb to recognize your phone. it's only for the Droid Incredible though. I think you could find a rules file for all phones on rootzwiki. Permissions need to be set chmod a+x.
Sent from my ADR6300 using XDA App
I have something better. It recognizes all phones. It works great.
Have some good news and bad news. Good news is that I finished the iso. Bad news is that it's actually larger in file size than the gnome dev kit. Hmmm...scratching my head on this one. I need to make it small enough to fit on a cd/pen drive. Don't give up just yet. Possibly considering lxde ontop of Debian.
Treken said:
Have some good news and bad news. Good news is that I finished the iso. Bad news is that it's actually larger in file size than the gnome dev kit. Hmmm...scratching my head on this one. I need to make it small enough to fit on a cd/pen drive. Don't give up just yet. Possibly considering lxde ontop of Debian.
Click to expand...
Click to collapse
I have a buddy who just tackled a similar project. He didn't do a devkit but just wanted his desktop and software pre-installed. He decided instead of rolling his own distro he would use the Debian installer and rebuild the iso. You can get his script and info here....
"http:"//schlutech.com/2011/07/the-debian-install-process
I have under 8 posts so in order to get the url above I added some quotes around the http:.
See if any of his stuff can help you with your project.
Hope this helps you.
z
Thanks! I think I finally got it. It's under 1 gig now but I neg to trim off some more fat to get it small enough to fit on a cd/pen drive
Hrmm...
You're looking for out of box specifically? You could try modifying Gentoo's CDs to fit your bill. I'm still working on getting Gentoo into a successful install though.
Wanted to use dsl but no 64 bit distro
I created a debian-based xfce-desktop distro with dev tools (devkit v1.3) from scratch. I will make a formal tread when I can. Here is the un-official link:
====> http://dev-host.org/r5ziempnn0nq/grpdevkit_1.3.iso <===
Enjoy!
Hi everyone,
I consider buying a this nice little tablet I just wonder if anyone managed to install a complete Linux distribution on it like ArchLinux ARM natively (not emulation/virtualization not even chroot) with everything working. I guess that even if it's not done up to now it will be quite easy to do as everything is open source.
Thanks
So as a few months passed since the Nexus 7 is available and I just bought one yesterday, I thought that I could do a little up...
Hope mods won't think it is offensive to make alive an old thread with some kind of what I think is a good reason.
If no one can help me, I will probably work on a native ArchLinux ARM on my nice new tablet in the next days. But first I have to make sure I can get it back fully stock from a fully rooted/unlocked/repartitioned state. If I have no choice I will dd my entire N7's internal memory to a slightly bigger USB stick to recreate exactly the partition table. But I am not sure I can have a complete access to the internal flash memory (all of the partitions with the boot loader, recovery etc). If someone can confirm if I have only one memory drive or more to backup or if there is no chance that I cannot recrate then entire Android stock system from a corrupted partition table for example... I would appreciate it right!
Thanks in advance!
Sorry if this is already answered I have to confess that I didn't search for the last part, I don't have time this morning.
Sent from my Nexus 7
Yeah installing Linux on the N7 has been done. I think the Ubuntu Distro is the one that was used for the successful install.
I did a little searching and found it for you:
http://forum.xda-developers.com/showthread.php?t=1585009
Hope that helps
Wilks3y said:
Yeah installing Linux on the N7 has been done. I think the Ubuntu Distro is the one that was used for the successful install.
I did a little searching and found it for you:
http://forum.xda-developers.com/showthread.php?t=1585009
Hope that helps
Click to expand...
Click to collapse
Thanks for your answer but I was looking for a native installation, not a chroot if possible that I can use hardware
acceleration (maybe that I still could with virtualGL though).
It is already a good point that it has been done in chroot, wich I am not surprised.
Sent from my Nexus 7
johnride said:
Thanks for your answer but I was looking for a native installation, not a chroot if possible that I can use hardware
acceleration (maybe that I still could with virtualGL though).
It is already a good point that it has been done in chroot, wich I am not surprised.
Sent from my Nexus 7
Click to expand...
Click to collapse
To be honest mate, I'm not into it all that deep, couldn't even tell ya the difference between chroot and a native client, perhaps you could explain for me?
the chrooted version is the android kernel with the ubuntu "programs" running. you can access the ubuntu desktop only via a vnc client, as there is no "real" x server running. think of it as ubuntu running as a service in the background which you then access via local network from your android.
would be interested in a native version as well.
kendong2 said:
the chrooted version is the android kernel with the ubuntu "programs" running. you can access the ubuntu desktop only via a vnc client, as there is no "real" x server running. think of it as ubuntu running as a service in the background which you then access via local network from your android.
would be interested in a native version as well.
Click to expand...
Click to collapse
That explains it, so basically on chroot the Ubuntu is a virtual machine in essence?
johnride said:
Hi everyone,
I consider buying a this nice little tablet I just wonder if anyone managed to install a complete Linux distribution on it like ArchLinux ARM natively (not emulation/virtualization not even chroot) with everything working. I guess that even if it's not done up to now it will be quite easy to do as everything is open source.
Thanks
Click to expand...
Click to collapse
Has not been released yet, but definitely check out this: http://www.ubuntu.com/devices/android
Nooo there is a big difference between chroot and virtualization. On a chroot you still use the same kernel which allows to have the same speed or almost as a native client for what does not require hardware acceleration. the point in getting and Native Client working is that we could get advantage of the GPU after some more or less hard work. I bought this tablet to replace my sold laptop the best I could so that's why I'm interested in this.
When you do virtualization, CPU instructions are converted from a type to another and this is very heavy on the CPU and this way you cannot have good performances.
Think of a road: in chroot you only have to make the instructions take a turn without slowing down while in virtualization you have to stop the "convertible" instructions "remove the roof" and then you can continue. That's why virtualization is much slower than chroot.
Edit:
Chroot says what it does: it changes the root. This means that programs that run in the chroot environment will think that the / is another folder than what it is really. For example if you do chroot /sdcard/ and you have a file named derp.txt on your sdcard than type rm /derp.txt it will work since your / is now /sdcard/. The most come in case of uses of EC truth is when you have a Linux machine not booting anymore so you have to repair the boot loader, you will boot on a Live CD of the same distro (Ubuntu for example), mount the drive with the broken installation, chroot to this installation regular root and perform the same reparation as if this install would be booted, still using the kernel and binaries from your live CD (unless you specify that you want to use those from the chrooted environment).
Hope this is clear.
Sent from my Nexus 7
Stevenator21 said:
Has not been released yet, but definitely check out this: http://www.ubuntu.com/devices/android
Click to expand...
Click to collapse
Yeah that's a very nice project but I want the desktop on my tablet, no docks and all. This is also in chroot I believe. Probably that I will install ArchLinux in chroot and try to make VirtualGL work but it's not really what I want.
Sent from my Nexus 7
johnride said:
When you do virtualization, CPU instructions are converted from a type to another and this is very heavy on the CPU and this way you cannot have good performances.
Click to expand...
Click to collapse
Small clarification. You're describing emulation here. Emulation is one processor pretending to be another. The Android SDK provides an android emulator that pretends to be an ARM device while running on your x86 PC.
Virtualization is a special feature of some processor architectures that allows multiple, virtual memory spaces to be created that are isolated from each other at a very low-level. I seriously doubt (but don't know for sure) that the ARM architecture has much support for virtualization. VMWare and its ilk use virtualization.
Anyway, virtualization runs at full processor speed. However, access to everything but main RAM and the CPU may be emulated in most implementations. Particularly, it's very tricky to get proper access to the GPU via virtualization, so it is often emulated.
Trivia-time: The presence of a primitive form of virtualization in the 386 is what allowed Linux to be written back in the day. The 286 didn't support switching between normal and escalated privilege modes (aka kernel vs user process space) on the fly. Oh crap. Now I'm starting to show my age. Um, get off my lawn!?!
The more you know...
Thanks for the clarification old chap!
I knew about material virtualization with some CPU's but did not realize that there was no emulation for the biggest part of the instructions. Will sleep less dumb.
Sent from my Nexus 7
kendong2 said:
would be interested in a native version as well.
Click to expand...
Click to collapse
Mhmmm as we are probably not alone to be interested in this, I think I will open a topic in original development section to see how many would be interested and what direction I should take. If anyone supports that idea I will create the thread. I think it would be easier to put together all the good ideas in the dev section.
Ah you beat me to it!
Well we (the linuxonandroid team) have been running a device fund which has just finished.
One of the devices i will be getting from this is a nexus 7 which is being bought for two goals.
A) fixing tegra chip bugs with our chroot builds (after all chroot for many is a good way forward as it leaves android intact)
B) building native linux distro installs. Starting with ubuntu but expanding to as many distros that support ARM as possible (debian, backtrack, archlinux, fedora etc etc).
So prehaps you would like to PM me and maybe we can team up for this
Sent from my GT-N7000 using xda premium
zacthespack said:
Ah you beat me to it!
Well we (the linuxonandroid team) have been running a device fund which has just finished.
One of the devices i will be getting from this is a nexus 7 which is being bought for two goals.
A) fixing tegra chip bugs with our chroot builds (after all chroot for many is a good way forward as it leaves android intact)
B) building native linux distro installs. Starting with ubuntu but expanding to as many distros that support ARM as possible (debian, backtrack, archlinux, fedora etc etc).
So prehaps you would like to PM me and maybe we can team up for this
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I am currently working on developing on booting ubuntu on the nexus 7. Check this thread out - > http://forum.xda-developers.com/showthread.php?t=1842915