Related
I recently got myself an ATT Tilt (Kaiser), which I plan on taking with me to a conference in Europe next month, and I'm not planning on taking a laptop so I can travel lightly afterwards. The phone currently has WM6 on there (I'm not going to play with flashing the ROM until after my trip).
To the point: I want a C/C++ compiler on my phone that I can use for potentially testing a few things over there (assuming the application I have in mind will work, but that's another story). I'm assuming that if I get the compiler working, it will have access to the standard C libs, including network stack.
I've tried PocketGCC, but I can't get it to work. The cabs from pocketgcc.sourceforge.net install fine, but the CMD Prompt won't open (I click on the icon and nothing happens).
Searching these boards, the only reference I've found was to http://www.mobilitysite.com/boards/business-development/135816-pocket-c.html#post1187340, but the links it points to for getting the various files no longer work.
Any suggestions or alternate links on how to get a working compiler on my smartphone?
As a backup, is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux? Or if not, under win32 cygwin? Ideally, I'd love to have a cygwin-equivalent on the phone...but I guess that'll be deprecated with Android later on.
Thanks,
- David
Hi David,
I'm also looking for this and the best aproach was a DOS emulator (I think it is called Pocket DOS and there is another one that is free but don't remember the name) and Turbo C. I used it just to test very basic software that was just displayed in the DOS windows. But it was a really really little software (a couple of FORs and couple of variable incrementing), it was not fast to copile/run.
Hope this helps a little.
there is a cool project here, it's C#, not C++ but it might be of interest.
This one is supposed to be C++, but it is old and you may have problems with it. From what I recall, the command shell isn't compatible with wm6, but if you look around you may be able to find one to replace it that works.
Here is a command shell that's supposed to work with WM5/6
Good luck and let us know if you find anything else.
Also, the link to Mamaich's Version on that page you referenced works
Digicrat said:
I
is CeGCC the best option for pre-compiling for the phone? Anyone know if it runs under 64-bit linux?
Click to expand...
Click to collapse
mingw32ce (cegcc) is used to compile haret and roadmap (afaik vlc too).
It runs on amd64 very well. Have not tried it on my old DEC alpha.
Thanks for the quick responses.
edgar: PocketDOS looks interesting, but where can I find versions of Turbo C/C++ compatible with the pocketPC?
The program I'll be testing is actually a simple command-line C application, but it does use networking, UDP to be precise.
The link to Mamiach's link works on that page, but not the links on there for PocketConsole, PocketCMD, or the .bat files, though the bat files can be taken from the rar file itself.
I tried the PocketConsole and PocketCMD versions from the pocketgcc.sourceforge.net site again, and managed to get them (mostly) working after changing the reg key value.
I tried the PocketGCC cab file from gforge. It kind of works, but the test program won't compile. I still had to manually set the path for this, and for some reason it doesn't include gcc but calls the various other parts of it.
I'll try uninstalling the PocketGCC Cab and extracting Mamiach's version again and see if I have better luck with that later in the week and see how that goes.
Looks like I got it working for the most part.
Compilation is slow, but I don't want to waste space on the internal memory extracting all those .rar libs, unless I can get it installed/moved to the SD card later and adjust the paths accordingly (using spaces in file paths is always annoying).
I'm using Mamiach's version of GCC from the link above (extracted to /pgcc), plus PocketConsole and PocketCMD cabs from the pocketgcc.sourceforge.net distribution.
The only lingering (and annoying) issue is that it does not save the PATH setting after closing the cmd prompt.
Correction, I just noticed another more important issue. After switching programs, the CMD prompt seems to disappear. If I open another application, and then close that program, it will take me back to the CMD prompt. However, if I return to the "Today" screen, that prompt is still open but I can't get it back. It does not appear in that little task-switcher icon, nor in the detailed 'Task Manager'.
Any ideas?
Thanks
Update:
I just installed Dotfred's Task Manager. It looks like the problem is that the CMD prompt is being seen as a Process and not as an application. Now the question is can I change that...
Hi all,
I have a Qtek s100 reported to be the same as the magician
I tried booting Linux angstrom using Haret following the instructions from the wiki.
I also tried openmoko and QTOPIA following instructions there : http://linuxtogo.org/~htcpxa/htcmagician/
All tries ended the same way : Haret starts, displays a few lines, says "jumping to kernel", the screen becomes white, and nothing else happens. After a while , the screen is not illuminated anymore, and touching the touchscreen doesn't light it up, whereas the keys do.
I tried changing the runlevel, changing the root= to see if it was due to a bad support of the card reader, nothing changed.
Has anyone already had this problem and solved it ?
Thanks a lot,
Thomas
Hi
I have the same problem.
Try image from http://linuxtogo.org/~ph5/tmp/ - it's work great for me .
You can also boot other images like from http://excogitation.de/lastik/ which are the newest but you have to extract kernel and modules from http://linuxtogo.org/~ph5/tmp/Angst...-2008.1-test-20080216-magician.rootfs.tar.bz2 image and replace them in the image You want to use. Do not forget to copy also http://linuxtogo.org/~ph5/tmp/zImage-2.6.21-hh20-r13-magician.bin to use with haret.
Greets
PS
Sorry for my english
Thanks, I found a working kernel...
GPE works well, but it's not really easy without a stylus... But I like gomunicator, and I can recompile it with my smscenter...
I tried OM 2007.12, but "read sms" crashes, and upgrade crashes my install
OM 2008 doesn't start X...
Which distro did you find most functional ?
Thomas
i'm testing now Angstrom-x11-gpe from http://excogitation.de/lastik/ ( fast but it don't have apps for dialing and sms ). I tried image with opie (but it didn't worked for me) and with Angstrom-openmoko from http://www.linuxtogo.org/~ph5/tmp/ which is for me to slow to use (high memory usage) but the most functional.
Are you able to update packages?? I have some problems with this - i can connect to Magician over ssh, but i can't connect from it to the internet - coul you explain how are you connecting your magician to the computer?? are you using linux box?? what commands are you using.
Thanks
help with my magician ....the touchscreen doesn't work with angstromn x11 gpe... solution?? sorry for my bad english
newbie on PDA, seasoned on Liux
Hi,
I come from a lot of Linux background (since 2003)...
As the matter of fact I'm all the time on Linux, expect when I play a game from time to time (COD,MOH...)
So,
I did join this forum (great one!) and read posts a bit...
Found the OM and OPIE2 (QTOPIA?) images and only got booting with the MO2008 one
So i tweaked the SD ext2 partition a bit:
If (when) i used the 2.6.21 hh20 kernel it booted both the QT and the GTK based images
(one replaces the zImage in both the VFAT partition and in the /boot folder IMO?)
But...
The OPIE2 (Qtopia?) is a by far more pleasant experience:
1. back is always obvious
2. Input method is nice
3. the GUI is more polished
4. more themes per default
A. I missed a terminal
B. I missed a GUI for ipkg
C. I missed hardware support (hal,alsa,sound,sgm,gprs)
D. I missed bluetooth (stack?)
E. I missed networking (USB?)
F. no standard GNU suite: pico,mc,bpe
Then the OpenMoko didn't brill either:
1. It apparently had SGM support
2. It had decent input options
3. It worked acceptably well and almost fast
4. Terminal app (a whole lot more LINUX)
The cons:
A. It wasn't always clear where one is
B. It wasn't always clear where the 'bailout' button is
C. the hardware keys seemed not to work
D. far less apps onboard the image
E. Didn't stay long enough to see it all (must try again)...
F. no standard GNU suite: pico,mc,bpe
so, can we make one decent one?
I try to help?
cest73 said:
Hi,
I come from a lot of Linux background (since 2003)...
As the matter of fact I'm all the time on Linux, expect when I play a game from time to time (COD,MOH...)
So,
I did join this forum (great one!) and read posts a bit...
Found the OM and OPIE2 (QTOPIA?) images and only got booting with the MO2008 one
So i tweaked the SD ext2 partition a bit:
If (when) i used the 2.6.21 hh20 kernel it booted both the QT and the GTK based images
(one replaces the zImage in both the VFAT partition and in the /boot folder IMO?)
But...
The OPIE2 (Qtopia?) is a by far more pleasant experience:
1. back is always obvious
2. Input method is nice
3. the GUI is more polished
4. more themes per default
A. I missed a terminal
B. I missed a GUI for ipkg
C. I missed hardware support (hal,alsa,sound,sgm,gprs)
D. I missed bluetooth (stack?)
E. I missed networking (USB?)
F. no standard GNU suite: pico,mc,bpe
Then the OpenMoko didn't brill either:
1. It apparently had SGM support
2. It had decent input options
3. It worked acceptably well and almost fast
4. Terminal app (a whole lot more LINUX)
The cons:
A. It wasn't always clear where one is
B. It wasn't always clear where the 'bailout' button is
C. the hardware keys seemed not to work
D. far less apps onboard the image
E. Didn't stay long enough to see it all (must try again)...
F. no standard GNU suite: pico,mc,bpe
so, can we make one decent one?
I try to help?
Click to expand...
Click to collapse
I just stumbled upon your post by accident - and it seems there isn't much interest in Magician in general
anymore - so in short there won't be full linux support for Magician (unless pH5 - or someone else (you?) finishes it).
Well actually the hardware is almost 100% supported (apart from IrDA, sound recording and camera)
(see here - but afaik the userspace stuff is missing so it doesn't work with the mentioned images.
Usbnet is working (to get you started look here or here)
If know/are interested to expedite userspace you probably don't need any help setting up a build environmend
(but you can always ask me).
The info on the wiki could also be useful.
The Camera is an OV9650 that's also used in
Motorola A780 (driver available for an earlier kernel)
HTC Alpine, HTC Sable, HTC Universal, HTC Wizard
Also I will reassemble a Magician I have lying around in parts if you need a tester
(or provide a nice image with good support).
Don't know if you had that OM image ... but there is one with Phone working.
(if you update it to the current state (well some months ago) through ipkg
the phone breaks (of course - new dialer), but sound (alsa) sarts working).
excogitation said:
Also I will reassemble a Magician I have lying around in parts if you need a tester
(or provide a nice image with good support).
Don't know if you had that OM image ... but there is one with Phone working.
(if you update it to the current state (well some months ago) through ipkg
the phone breaks (of course - new dialer), but sound (alsa) sarts working).
Click to expand...
Click to collapse
If you're interested take a look here:
http://forum.xda-developers.com/showthread.php?t=408069
That's the main thread about this subject.
The Camera is an OV9650 that's also used in
Click to expand...
Click to collapse
Camera is OV9640. Also used in FS720.
It seems Magician revisions have two different cameras, but I don't know differences...
Since I have the parts lying around I just took a look and it's definitely an OV9650 - and I'm fairly certain there aren't 2 different cameras - if you definitely have an ov9640 - then there are 2 different ones.
There are 2 different LCD's though - but that has already been taken care of by pH5 (that's why on some Magicians the hh17 and earlier kernels won't boot - again if I remember correctly).
I just took a look and found some stuff related ... I'll attach it here so maybe it can save you some time. (notes in the files may be German)
Since xda-devs doesn't want my file ... I put it here: ov9650 stuff
Also check here especially the driver and m560x ov9650.
wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!
iRiKi said:
wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!
Click to expand...
Click to collapse
Well I highly doubt that's going to happen any time soon - but Android "runs" on Apache so that should get someone interested started.
iRiKi said:
wow amazing!
If we can get enough ppl working, an Android port could be a viable project in the future.
If you need a tester, I once managed to boot linux in the past, and i have a spare SD card for testings.
Thank you guys!
Click to expand...
Click to collapse
linux yes
android ?????
after some emails with people involve with linux there seems to be issues in porting the android kernel
if you wanna help with the linux port head there
http://forum.xda-developers.com/showthread.php?t=408069&page=7
Just a bump to a thread
maybe this should be make sticky, for who knows when the last Magician with Linux user is going to break down?
They might want to slump together a linux build mean while?
So work is happening to accomplish replacing the webtop with a gentoo base img.
My proposition is to create a very slim gentoo so you guys can add as you please
So im making this post to hear from you guys what you would like to see in the Gentop.
So far my idea would be very basic.
Openbox + terminal + conky
and of course a browser.
So tell me, if this was your gentop. what would be there!?
In addition to your suggested items for a "gentop", I'd like to see more file viewers that take advantage of the lapdock screen resolution, like PDF, (Open)Office docs, even EPUBs.
I would add in some sort of rdp, vnc and ssh clients.. I could really use those. Thanks for all the hard work you do
Sent from my MB860 using XDA App
Could you guys prepare a version with synaptic and lxde? Im sure there are people interested in the fastest webtop experience possible, but have 0 skill in linux encoding. With that, we can customize as we please with easy visual reference.
About ssh clients -- it should be mentioned that there is already an "rsync" backup for android freely available in the Android market. It installs rsync and dropbear ssh clients. So with a terminal app, your webtop will have access to cli versions of rsync and ssh. Then just do a symlink from the installed apk into /system/xbin/ and presto instant ssh and rsync.
Would we still have a phone view within gentoo like we have in webtop?
If not, would the phone screen remain accessible while docked?
How would this handle incoming phone calls?
If you don't understand what ssh or vnc is, please don't attempt this.
I am able to run Kali Linux armhf on the 13.3.1 by following this guide. It can run other distros too.
I can confirm it is working 100% and runs very smooth. Here is a link to the Linux Deploy app. You need a vnc app or a ssh app to interface with it. I recommend Real VNC Viewer. Instead of connecting to your private ip, just connect using your loopback 127.0.0.1 It is faster.
I hope this could be of some use towards cracking the bootloader. Comments, questions, discussion wanted.
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Spec-Chum said:
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Faznx92 said:
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Click to expand...
Click to collapse
Nice, I'm sold
Repurpose a device
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
GreatEmerald said:
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
Click to expand...
Click to collapse
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Mr_Ada said:
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
Click to expand...
Click to collapse
Try it out on the loopback address 127.0.0.1 It is blazing fast with ui like lxde or xfce. Fastest I ever seen on a tablet/android.
Faznx92 said:
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Click to expand...
Click to collapse
Yea, thanks. I'll read a bit more on Linux Deploy to see how it works. And I'm very familiar with Gentoo (have three Gentoo devices here), so setting it up shouldn't be a problem. I also asked on their IRC, and they said Plasma Active should theoretically compile on Gentoo ARM, but nobody ever tested it. Sounds like a good opportunity to do just that!
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
GreatEmerald said:
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
Click to expand...
Click to collapse
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Android Terminal Emulator
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
chroot <linux-mnt-pt> /bin/bash -i
or
chroot <linux-mnt-pt> /bin/su <user>
or
chroot <linux-mnt-pt> /bin/login <user>
The last option requires typing a password, but since it's a login, it sets up your environment correctly. The other two inherit your Android PATH (among other things), so you have to set PATH by hand or use an rc file which sets it from scratch.
Personally, I find even LXDE much too slow for regular use over vnc. Most of my interest revolves around emacs and gcc, which both work great in Android Terminal Emulator.
-Pie
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
Ah, thanks for pointing that out. His issue list is in English, and that's exactly what I need!
I talked to people over at #systemd to see if it would be possible to have systemd launching things in a chroot, and unfortunately it seems to be impossible for the Kindle Fire HDX 7, because its kernel is not compiled with PID namespaces that systemd requires to function, and we don't have any means to compile custom kernels as far as I know. It's too bad, but I guess I can cope with OpenRC for now.
EatingPie said:
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
Click to expand...
Click to collapse
Interesting, although I do prefer an app (it's really quite convenient). Also, as far as ssh goes, I do prefer having that running over typing things into the terminal using the touchscreen.
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Ubuntu os
Maybe sometime we would be able to get Ubuntu os on our tabs.
zhable said:
Maybe sometime we would be able to get Ubuntu os on our tabs.
Click to expand...
Click to collapse
You already can, although it's limited to the desktop version (which isn't any good when it comes to touchscreens). Not sure if Ubuntu Touch will be available at some point. But eventually Ubuntu will ship Unity 8, which will be more touch-friendly.
This is all great news!
GreatEmerald said:
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Click to expand...
Click to collapse
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Spec-Chum said:
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Click to expand...
Click to collapse
Nope, -march=native sets -march to armv7-a, which is close enough. The point in using it is that as soon as GCC gets better optimisations, -march=native will use the more optimised choice, without manual intervention.
too slow download
very slow retrieving of files from server i have a 2 mb/s line
any idea how should i retrive it offline
---------- Post added at 06:24 PM ---------- Previous post was at 06:00 PM ----------
suit urself and paste any one link in mirror url in linux depoly settings for kali and other deployments
http://http.kali.org/README.mirrorlist
remove the readme when adding the url ... press thanks nd make me feel aprreciated
Hi all--
As the posting suggests I am going to write a tutorial on how to install Linux on your OPO
I scoured the internet and (albeit my scouring sucks) could find very little in regards to installing Linux on the OPO (though multirom may have support for it some day, it currently does not). I got this from reading several how to linux pages which didn't work for me until I fiddled around with it.
I am taking a networking class for my CCNA and needed a cisco emulator, but there are none available for android, and I stubbornly refuse to buy a new laptop because I think a phone with a 2.8Ghz quadcore hooked up to my keyboard and miracast should suffice for ALL computing needs.
Benefits of linux/ubuntu:
have many more resources available (most software has a Windows/Mac/Linux build but not always an android desktop environment (or even an app for some software).
some things that I use it for:
GIMP
GNS3 (a cisco router emulator)
Requirements:
Internet, ~4GB+ of space, ROOT!
Apps:
Linux Deploy
androidVNC
Steps:
1.
Install apps
2.
open Linux Deploy
DO NOT CLICK START YET
open the settings (either the funny download button, or by opening menu to settings)
choose your distro (I used debian wheezy, and also ubuntu trusty successfully)
I don't change any of the default directories here (I had trouble when I did, though installing various .img files worked ok)
scroll down to the startup section and about midway down is "GUI settings"
Open it and change anything you want: I swap the width and height, because I use my phone in landscape mode on my external monitor/miracast
DPI-- if you set it to 480 (stock) the font is good, but everything else is too small for some reason (like windows scroll down further than the bottom of the screen), so I usually leave it around 200-
also near the bottom of the startup section is "custom mounts" this is really useful if you want to edit things on your phone's storage (like in gimp). Clicking this will make a mount "0" [default] available inside the gui which [by default] is your sdcard. (open file explorer: /mnt/0)
When you're finished with your settings, go back to the top and click install
this should make supersu ask for permission; click yes, of course!
now it goes through a big spiel of creating an img and install Linux which can take a while depending on your internet speed, my not so good internet took about 10 minutes.
Next click Start, then yes I really meant start...
Now, you should see the last few lines here and look for VNC: ####
Usually, it's 5900-- remember this number
Look in the top left of your screen for an IP address.
It usually reads 192.168.###.###
remember that number as well
Sometimes it helps to write it down ^_^
3.
now go to androidVNC
click never bother me again
fill out the form [brackets are suggestions] "quotes are exact!"
nickname: [whatever you want]
password: "changeme"
address: [the "192.168.###.###" from linuxdeploy]
port: [the "####" from linux deploy... I don't know if I changed it on accident and didn't notice but I feel like androidVNC changes this sometimes, should be 5900]
then click connect and you should be officially in the linux gui! The graphics suck, but no one uses linux for games anyway!
if you just realized what I meant by "use in landscape mode" or just want to change some settings:
close androidVNC
go back to linuxdeploy
press stop
go to settings, gui settings as before and change whatever you want
scroll back up and click reconfigure (not reinstall, because that would take forever)
it does some stuff
you get bored waiting a little
you click start again
reconnect
if you disconnected from your network, you may have to change your IP address (displayed top left of linuxdeploy)
4.
Installing something in linux
I'm a newb, and so I didn't know this: (in the linux environment inside androidVNC)
open start (bottom left)
accessories
lxterminal
this brings a command prompt into view
the magic command is:
"sudo apt-get install [the thing you want]"
everything else is magic >_>
example:
"sudo apt-get install gimp"
would install gimp for you
once it is done (which may take forever depending on your caffeine level), you can open it up and do all kinds of stuff
Hope this helps someone. If it does, consider clicking thanks (I'm not sure what it does yet either).
for 1337 linux users and grammarians: this guide is for us newbs who care more about getting to what we want than grammar correctness or being smart (because unfortunately, not every gets to be). ^_^ so please don't correct my grammar, I'll just ignore you (because).
Great guide, I might give it a go sometime to put Linux Mint on my phone. Just a suggestion, maybe provide links for Linux Deploy and AndroidVNC to make it easier for people to get them.
Transmitted via Bacon
VNCing into a Linux chroot doesn't count and is generally an awful experience.
There's really no point to do it anymore when the Freedreno driver will give you native graphic acceleration.
what freedreno? I'll check it out >_>
Freedreno is a GPU driver for running Linux on Adreno type GPUs.
Using that for graphic output could be a bit troublesome though if you need to use Android and the Linux desktop distro at the same time.