androidVNC to webtop - Atrix 4G General

I have the idea that Just as the Ubuntu hacks for android work, we could use androidVNC to connect and view the webtop from the phone without HDMI or the dock, using the phones screen.
Another thing is many of us are using SystemR89's ubuntu hack, with Gnome or LXDE so then all we need is to have tightVNCserver installed as well in the Ubuntu eviroment. Do the steps provided in the above site androlinux.com and trigger that Ubuntu Session to start and then connect on loopback should work.
As I recall ubuntu.sh sets up the soft links or Binds. I don't recall what Booubuntu does but it appears to chroot you to the Ubuntu enviroment for install of the rest of the packages.
I don't think we need to mess with those, they have been done by SystemR89's WebtopMOD. We just need to Chroot to the Ubuntu.disk and give the command "export USER=root" and "vncserver -geometry 1024x800" to start the VNC server Then connect via AndroidVNC.
You'll note that our Phone already has a ubuntu.sh on the root directory. Evidence that moto basically copied the work??? IDK.
I'm looking for some ideas or help from someone who knows ubuntu better then me on how to do this.
I'll hack at it a bit and see if I can get anywhere.
I doubt too many people will find this useful, maybe I'm wrong though. If it would be helpful to you let me know, it will add to my drive to figure it out.

Related

Run debian shell on my touch?

I have been reading around the internet that it is possible to install a linux shell on the g1, they installed debian. I was wondering if there was a way to do this using the my touch. I also read some where that someone installed ubuntu on there g1 ext2 app2sd partition.
if anyone finds instructions or comes up with a method please post back.
thanks.
What would be the point? It already runs a linux shell.
to be able to run gnome,kde,ice, or what ever desktop enviornment you would like over it. to be able to use linux programs... ik it can be done on a g1
http://www.saurik.com/id/10
http://www.youtube.com/watch?v=f8yBHbwuKSU&feature=related
i think it would be pretty cool.

[LINUX] - How To: UBUNTU on Dell Streak

EDIT: I can't post to XDA due to the fact that i just signed up for an account, but look at fards' copy of my post to see how to install Ubuntu on your Dell Streak
Here's Pats Post on modaco;
although it would be nicer to keep development discussion to just one thread, the more constructive input the better
Hello All,
I'm attempting to natively port Ubuntu and/or Debian to the Streak. With it being such a powerful device there really is no reason it SHOULDN'T be running a “desktop” operating system. However, implementing his is quite a difficult task, so if any and everyone's help would be very much appreciated.
In the mean time, this is my first guide on how to get ubuntu running piggyback on the Dell Streak. After quite a while (and numerous different trials), I have found that this is the easiest way to get Ubuntu Mobile up and running fast. All commands can be done through either ADB shell or the terminal emulator on the phone.
This was *NOT* done entirely by me, but is a culmination of the effort of lots of people in the android community. I just modified it so that it would work on the Streak.
**This Installation DOES NOT install Linux natively, and as such is should not be destructive to your Android system, however i take absolutely no responsibility for anything that happens and you do this COMPLETELY at your own risk**
Here is how to do it:
1) Root your phone. There are plenty of guides on how to do it, so find one and get root access on your phone.
**YOUR PHONE MUST BE ROOTED. THIS WILL NOT WORK WITHOUT IT.**
2) Download Ubuntu Mobile Bundle: http://uploading.com/files/bbm6b311/ubuntu.zip/
This contains an image of the filesystem as well as other necessary scripts to get it working.
2) Busybox - Install Titanium Backup from Android Market - if you press the "Problems" button it will install Busybox on your phone for you (Feel free to uninstall Titanium after this is done). This is the fastest and most pain free way to install busybox on the streak that i know of for now (the other ways of doing this ARE NOT fun...)
3) On your SD card's root directory, create a folder called ubuntu and extract all files in the ubuntu mobile bundle there.
4) Replace the bootubuntu executeable file in the ubuntu directory with mine, found here http://www.mediafire.com/?fi011w4fbmymw3y
5) Unmount phone from computer. ADB and Android Terminal will not work if the phone is mounted.
5) Download a terminal from the Android Market - I used Jack Palevich's Android Terminal Emulator (android market search: terminal) but anything similar should work the same
CODE
Code:
su
cd /sdcard/ubuntu
sh ubuntu.sh
6) Ignore any errors thrown up by ubuntu.sh. From this point, all that is needed to boot ubuntu is just to enter this:
CODE
Code:
bootubuntu
To start ubuntu from now on, this is all you need to do.
You should now have ubuntu working on your laptop, and while it DOES connect to your phone's internet sources, it DOES NOT yet have a graphical interface.
Here is how to add one:
1) Update the system with the following commands in ubuntu:
CODE
Code:
apt-get update
apt-get upgrade
The first one updates the package lists, the second one downloads updates to the system itself.
2) Install TightVNC in ubuntu:
CODE
Code:
apt-get install tightvncserver
3) Configure TightVNC:
CODE
Code:
export USER=root
vncserver -geometry 800x480
For security purposes, it is recommended that you assign a password to your VNC server when asked.
4) Download Android VNC Viewer from the market
5) Configure Android VNC Viewer:
Change the port to 5901 and type in your password that you entered before.
Other Problems
There appears to be a bug with the X window server sometimes refusing to connect to VNC. DO NOT change any settings on Android VNC Viewer, instead open a terminal and run the folloring command:
CODE
Code:
rm -R /tmp/.X11-unix
What Does Not Work – Will Try To Fix
Keyboard from Android VNC Viewer
Shutdown – Does Nothing
Reboot
Log Out
Native Install
I hope you guys enjoy this, and I can't wait to get your feedback.
- Pat
Click to expand...
Click to collapse
there was a thread about this but it wasnt work on me. now i am downloading and i will inform you again
what is the address for vnc ?
OMG! Could that be any slower on the download?
EDIT:
That sounded totally ungrateful - sorry!
Thank you very much for this
yeah works fine without problems.
it is better from g1 but not as well as a netbook. so only experimental use i think
I connected to the loopback 127.0.0.1 on 5901 and it worked - haven't seen how to connect to it remotely though
Edit:
Reading is fundamental - I can connect to it form another machine
now to fix the keyboard issue
in terminal emulator there is a note : localhost:1 vnc could work properly so i connect with only port and password.
is it possible to install jolicloud since its an ubuntu based system?
Newbie questions, sorry....
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
No your missing the point here, this isn't an OS separate to android. Think of this as an app it runs on top of the android system. Also this is very experimental most features would be limited and no ubuntu can't be used as an smartphone os -No phone...
beginner said:
Before to try this port, just some maybe stupid questions for you:
- Still working the phone function?
- Is it easy to go back to standard or Steve Streaks Roms?
- Are there lack of drivers for bluetooth, gps, audio, wifi, etc?
Thanks.
Click to expand...
Click to collapse
1) Ubuntu does not replace android, and the UI only runs in a VNC server, so you can switch back and forth between ubuntu and the phone app (or angry birds?)
2) I installed mine on top of DJ Steve's 1.8.1 rom... It's not native, so it only runs on top of android instead of replacing it
3) Haven't tried audio yet, but it should work (let me know how it goes)... internet connectivity works and provided you have an internet connection enabled in android you can use tools like APT or Firefox in ubuntu... only problem is keyboard is a bit wonky...
For those who had trouble figuring out how to set up the VNC, here is a picture of my VNC configuration on my phone. If you find out the phone's IP address you should even be able to VNC into it from your computer (if your on the same wifi network)
Also, openoffice.org
- pat
Is anyone actively attempting to get Ubuntu running native?
audio not working
keyboard not working
also lots of lags.
ear0wax said:
Is anyone actively attempting to get Ubuntu running native?
Click to expand...
Click to collapse
Yes, i'm looking into it, but it's quite an uphill battle in order to get it working. I'll let everyone know when we make some progress.
www.cepdukkani.net said:
audio not working
keyboard not working
also lots of lags.
Click to expand...
Click to collapse
cause you are running 2 operating systems at the same time
But seriously, if ubuntu can run native (no android in the background) then the lag would be gone, and (if set up right) audio and keyboard would work.
- pat
could i recieve phone and uses sms?
Getting error
Hi all after passing command for booting ubuntu I get a error chroot can't find /bin/bash folder or directory missing
Sent from my Dell Streak using XDA Premium App
www.cepdukkani.net said:
audio not working
Click to expand...
Click to collapse
Im wondering if I install a rdp server instead of vnc if I can get remote audio working.
Ill post with whatever results i get once I'm done waiting 2 hours for the ubuntu image to download.
As for lag. I had a n900 running @600mhz and was doing a chroot into ubuntu and it ran fine, but it used xpyher not vnc. Is there any embedded X servers for android yet? (I highly doubt it)
data requirement for updating GUI pkg of Ubuntu
Can any body tell me size of the data required to update to gui ......as i m not using wi -fi i hv to stick on gsm data usage which is limited in my plan
Very cool!
I had lots of trouble rooting my 2.2.2, but finally got it done by running Gingerbreak twice in a row on a cleanly re-started Streak.
Thanks for a fun gig!

[Q] Ubuntu an A500

Hello!
I just came here to say that I cannot get mount my A500 on ubuntu ! Is it the same for you? How can I fix the issue?
(by the way, congratulations for rooting the tablet !!)
Thanks!
Same here, I found the windows USB drivers on Acer's site but linux drivers were MIA...
The Iconia A500 uses MTP not mass storage (in fact I believe this is a function of honeycomb as the same applies for the Xoom). There are drivers for Windows and OSX to allow access but on Linux it is a lot harder.
I did find a site detailing how to get things working on a Xoom and used this information (modified for the A500) to get access once but since then I have not been able to get it to work at all (this is on Ubuntu 11.04 when the instructions detailed how to get it to work in 10.10).
Also Banshee is supposed to support MTP but again I have not been able to get the A500 to work with this (I have yet to really look into this though).
sux i also use linux. using ftp or actually putting a sd card in every time, its very annoying
They really should leave an option to enable "mass storage" as a method of exporting the internal flash memory. Not everyone wants what these companies think is best.
still no solution?
I tried to adapt the method for the Xoom but it didn't work either !! :'(
jibweb said:
still no solution?
I tried to adapt the method for the Xoom but it didn't work either !! :'(
Click to expand...
Click to collapse
Apparently not. They stand on FOSS' shoulders, then crap on our with the added height.
I use adb to move stuff to my sdcard. Its quicker for me to use command line than a gui.
I already have adb installed and working for my phone so it just made sense for me.
doesn't you need driver to get the Acer A500 work properly?
I've already download the Android SDK but the only driver available is made for Windows
As folks have pointed out, the A500 does not have USB mounting support (yet) but does seem to have support for MTP. I found details on how to mount the Xoom onto Ubuntu Linux here. I have to assume these are the instructions that everyone is talking about above.
I am running 64 bit Ubuntu 10.10 (I unfortunately heard far too many dangerous things about 11.04 and it has become the only Ubuntu release I've not upgraded to). This instructions, modified for the Iconia A500, have worked for me. I've mounted and unmounted the device several times now.
I made some changes to the instructions. First my file is called /etc/udev/rules.d/51-honeycomb.rules. The entire file for me is:
ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3341", ENV{ID_GPHOTO2}="1", ENV{GPHOTO2_DRIVER}="proprietary", ENV{ID_MEDIA_PLAYER}="1", ENV{ID_MTP_DEVICE}="1", MODE="0664", GROUP="audio"
I've made my mount point /media/iconia.
At this point I've not put the structure in fstab, but am mounting and unmounting manually with the commands:
mtpfs /media/xoom -o allow_other
and
fusermount -u /media/iconia
but, again, this is working for me.
My only question would be this: this gives me access to /mnt/sdcard on the Iconia tablet. How might I get access to /mnt/external_sd ?
-----
Doc Kinne
Somerville, MA
Well congratulations then !! I'il try with your config file, should be way better than mine
But i'm on 11.04 (and i have to say that i had problems at the beginning but i booted on a live cd and i was able to upgrade from 11.04 to 11.04 (wtf?!?) and it solves everything )
Hi all,
Thanks for the instructions. I followed them and now am able to see my A500 under Ubuntu 11.04 (64bit). However while I can see the directories on the tablet I can not see the files.
If I plug the tablet in and copy a file to the tablet from my PC the file is visible. If I then unmount and remove the tablet and reconnect it, the files do not show in Nautilus (Ubuntu default file manager).
However if I look at the files with a file manager on the A500 the files are there.
Any ideas?
I've tried playing around with the UDEV rules but no matter what I do I am unable to get past this.
I have also tried this on a 32bit 11.04 Ubuntu machine and obtained identical results.
In short, is anyone able to offer any suggestions that will allow me to view my files on the A500 in Ubuntu's Nautilus browser consistently?
Thanks for making this forum a great place to learn about the tablet!
jk
When i transfer mp3 file to /music, all album folders end up empty except for album-arts. All mp3 files is located in /music.
And if i transfer a *.avi file to /video all looks good, but when transfer is complete there is no file stored on the A500.
Why this, anyone?
A500 mounted as mtpfs.
Can you mount an external microsd as mass storage and have Ubuntu pick it up? If you can, theroretically couldn't you just symlink the internal memory to a "folder" on the microsd? That's what I've done on the Mytouch 4G to get internal storage access,
Nick
Thank you so much kinnerc! Now i can sync my music with Banshee. YAY!

[TOOL]Heimdall v1.4 RC1

Hi Folks
heimdall.7z - 334.63 KB
I thought I'd continue in the same vein as my previous post and add to the Pi's arsenal of android related tools , So here is the Open Source Samsung Flashing utility Heimdall.
There's nothing special about this build, I just cloned the git sources and compiled them on Rapbian. Easy as, well , Pi I suppose
you'll have to install either libusb-1.0-0 or libusb-1.0-0-dev using apt-get.
[ EDIT: ] Do It yourself!
Just for completeness here's the steps if you want to build it yourself using Raspbian
Open a terminal window
Code:
sudo apt-get install git-core libusb-1.0-0-dev
cd ~/
git clone git://github.com/Benjamin-Dobell/Heimdall.git
cd Heimdall/libpit
./configure
make
cd ../heimdall
./configure
make
sudo make install
cd ~/
rm -rf Heimdall
The configure -> make -> make install workflow is used by a large number of linux tools this make compiling most things for the Pi on the Pi as simple as the steps above. Sometimes finding where the official source code is for a package is the hardest step.
trevd said:
Hi Folks
[ heimdall.7z ]
I thought I'd continue in the same vein as my previous post and add to the Pi's arsenal of android related tools , So here is the Open Source Samsung Flashing utility Heimdall.
There's nothing special about this build, I just cloned the git sources and compiled them on Rapbian. Easy as, well , Pi I suppose
you'll have to install either libusb-1.0-0 or libusb-1.0-0-dev using apt-get.
I've not got a samsung device to hand at the minute but I'm going to give it a test later on
Click to expand...
Click to collapse
Awesome work! Having both ADB and now Heimdall working definitely opens up some really interesting possibilities for the RPi.
Sent from my SCH-I535 using xda premium
I love you trevd!
Sent from my GT-S5830 using Tapatalk 2
did you try it on any phones?
Hi,
I'm glad to see someone else considering using a Pi for this. Did you try using it on any phones?
I don't have a linux or windows machine handy, just a mac (which has some problems with heimdall), so I thought I'd try the Pi for rooting an old Epic 4G (a Galaxy S phone), in order to upgrade to CM10. Unfortunately I ran into two problems:
1) When I plug the phone in (not just the USB cable), the Pi would sometimes completely restart. This didn't happen every time. I think this may be due to power issues (perhaps it was trying to charge, and the Pi couldn't produce the right current), I didn't try a powered hub (I don't have one). But it also could be a software bug crashing the system. Debugging crashes like this is a little beyond my expertise, though if I get some time and can reproduce it I might try some more.
2) I was only able to get heimdall to detect the phone once. Other times it said "no device detected". When it was detected, I flashed clockwork recovery mod (or at least I typed the commands to do so), and it seemed to work (as far as I could tell), but when I started in recovery mode it was a stock recovery. Perhaps it didn't finish? I'm not sure what happened, since heimdall treated it as a success and the phone restarted.
Anyway, I thought I'd give my experience in case anyone else saw either of these problems too (or knew the answers). And I'd be interested to hear if someone had no problems.
Steve
sdeneefe said:
Hi,
I'm glad to see someone else considering using a Pi for this. Did you try using it on any phones?
I don't have a linux or windows machine handy, just a mac (which has some problems with heimdall), so I thought I'd try the Pi for rooting an old Epic 4G (a Galaxy S phone), in order to upgrade to CM10. Unfortunately I ran into two problems:
1) When I plug the phone in (not just the USB cable), the Pi would sometimes completely restart. This didn't happen every time. I think this may be due to power issues (perhaps it was trying to charge, and the Pi couldn't produce the right current), I didn't try a powered hub (I don't have one). But it also could be a software bug crashing the system. Debugging crashes like this is a little beyond my expertise, though if I get some time and can reproduce it I might try some more.
2) I was only able to get heimdall to detect the phone once. Other times it said "no device detected". When it was detected, I flashed clockwork recovery mod (or at least I typed the commands to do so), and it seemed to work (as far as I could tell), but when I started in recovery mode it was a stock recovery. Perhaps it didn't finish? I'm not sure what happened, since heimdall treated it as a success and the phone restarted.
Anyway, I thought I'd give my experience in case anyone else saw either of these problems too (or knew the answers). And I'd be interested to hear if someone had no problems.
Steve
Click to expand...
Click to collapse
I haven't tried this tool at all as I use my pi as a htpc, but i can tell you from experience setting that up that power can be a major issue. I didn't have reboots, but rather all my usb devices would quit working, even powered ones(and the only thing drawing power was a keyboard dongle) and my power supply is supposed to be rated for 2A.
I picked up a 20$ 7 port hub that works almost flawlessly (the 7th port doesn't agree with it). I would recommend picking one up.
Just my 2 cents
Also you don't mention what os you are running but try checking /var/log if it happens again. This is where logs generally get generated
Sent from my DROID3 using xda premium
sdeneefe said:
I'm glad to see someone else considering using a Pi for this. Did you try using it on any phones?
I don't have a linux or windows machine handy, just a mac (which has some problems with heimdall), so I thought I'd try the Pi for rooting an old Epic 4G (a Galaxy S phone), in order to upgrade to CM10. Unfortunately I ran into two problems:
Click to expand...
Click to collapse
Hi sdeneefe,
I never did get round to have a go myself .....but it's top of my new years resolutions list I've got a galaxy S lying around the place to have a go with so I'll let you know my results.
sdeneefe said:
1) When I plug the phone in (not just the USB cable), the Pi would sometimes completely restart. This didn't happen every time. I think this may be due to power issues (perhaps it was trying to charge, and the Pi couldn't produce the right current), I didn't try a powered hub (I don't have one). But it also could be a software bug crashing the system. Debugging crashes like this is a little beyond my expertise, though if I get some time and can reproduce it I might try some more.
2) I was only able to get heimdall to detect the phone once. Other times it said "no device detected". When it was detected, I flashed clockwork recovery mod (or at least I typed the commands to do so), and it seemed to work (as far as I could tell), but when I started in recovery mode it was a stock recovery. Perhaps it didn't finish? I'm not sure what happened, since heimdall treated it as a success and the phone restarted.
Anyway, I thought I'd give my experience in case anyone else saw either of these problems too (or knew the answers). And I'd be interested to hear if someone had no problems.
Click to expand...
Click to collapse
Endoroid said:
I haven't tried this tool at all as I use my pi as a htpc, but i can tell you from experience setting that up that power can be a major issue. I didn't have reboots, but rather all my usb devices would quit working, even powered ones(and the only thing drawing power was a keyboard dongle) and my power supply is supposed to be rated for 2A.
Click to expand...
Click to collapse
Thanks for sharing sdeneefe, I'm no electronics expert, but a educated stab in the dark and given the fun I had myself finding a stable setup combination I'd be tempted to agree with Endoroid, power does seem to be in the hands of the gods. Personally I could not find a charging plug the would supply enough power to keep the HDMI output stable on my monitor.....every other display I've tried works fine apart from the intended main one, partly to do with the monitor I think because it also has trouble with MHL connections. I eventually solved my power woe's by using my computer's USB as the power source.
EDIT: Initial Tests seems OK although I had to run with sudo because I've not configured udev but device is detected and I've pulled and printed the pit. This is both through a powered hub and jacked straight into the device I'll try flash a rom in a bit...... because doesn't everyone spend NYE flashing roms and posting on xda,
wanted to drop this Linux 64 Heimdall 1.4 RC1 built from today's source debian package somewhere
http://d-h.st/2Vj
trevd said:
Hi Folks
heimdall.7z - 334.63 KB
I thought I'd continue in the same vein as my previous post and add to the Pi's arsenal of android related tools , So here is the Open Source Samsung Flashing utility Heimdall.
There's nothing special about this build, I just cloned the git sources and compiled them on Rapbian. Easy as, well , Pi I suppose
you'll have to install either libusb-1.0-0 or libusb-1.0-0-dev using apt-get.
[ EDIT: ] Do It yourself!
Just for completeness here's the steps if you want to build it yourself using Raspbian
Open a terminal window
Code:
sudo apt-get install git-core libusb-1.0-0-dev
cd ~/
git clone git://github.com/Benjamin-Dobell/Heimdall.git
cd Heimdall/libpit
./configure
make
cd ../heimdall
./configure
make
sudo make install
cd ~/
rm -rf Heimdall
The configure -> make -> make install workflow is used by a large number of linux tools this make compiling most things for the Pi on the Pi as simple as the steps above. Sometimes finding where the official source code is for a package is the hardest step.
Click to expand...
Click to collapse
packaged in deb format.... Please let me know if this works.. i had to guess the arch code.
If this doesn't work, it's the arch, and I can repackage properly. I'm working on getting CASUAL support up on the Raspi.
AdamOutler said:
packaged in deb format.... Please let me know if this works.. i had to guess the arch code.
If this doesn't work, it's the arch, and I can repackage properly. I'm working on getting CASUAL support up on the Raspi.
Click to expand...
Click to collapse
No Dice on the arch, My Real Pi was doing not playing nice... but the emulators fails with this
Code:
package architecture (armv6l) does not match system (armhf)
trevd said:
No Dice on the arch, My Real Pi was doing not playing nice... but the emulators fails with this
Code:
package architecture (armv6l) does not match system (armhf)
Click to expand...
Click to collapse
I kinda figured... do this:
Code:
dpkg -i --force-architecture /path/to/heimdal.deb
I will fix the arch later tonight.
AdamOutler said:
I kinda figured... do this:
Code:
dpkg -i --force-architecture /path/to/heimdal.deb
I will fix the arch later tonight.
Click to expand...
Click to collapse
Code:
heimdall depends on libc6 (>= 2.4).
heimdall depends on libgcc1 (>= 1:4.1.1).
heimdall depends on libstdc++6 (>= 4.1.1).
heimdall depends on libusb-1.0-0 (>= 2:1.0.8).
Got some dependency version issues, Is that something you want to/can deal with automatically? or just tell the user to upgrade! I'm not overly familiar with what debs and dpkg etc are fully capable of.... I tend to let apt and aptitude do all the heavy lifting
Could always build a static one I suppose. :good:
I just placed this version of Heimdall into my CASUAL repository. Here is a proper arch Heimdall deb file packaged with the binary from the OP.
https://android-casual.googlecode.com/svn/trunk/GUI/src/CASUAL/resources/heimdall/heimdall_armv6.deb
Code:
dpkg -i heimdall_armv6.deb
This will always be up-to-date with CASUAL's capabilities because this is my source repository, so it's a good link. Let me know if there's any problems.
Hello, this stopped being usable time ago i think. I'm also having big problems compiling heimdall on current 3.12.35+/3.18.3+|4+ kernel Raspbian on rasPi B+, seems to be a libc dependancy problem. Could you please provide a new link instead of android-casual googlecode site? Thank you very much
anyone succeeded in flashing a Pi4 with "Heimdall", the flashing-software ?

Turning note into a Linux laptop: a step by step guide

Turning note into a Linux laptop: a step by step guide
The main advantage of the method here is that you can run android app and linux program side by side. Moreover, S-pen can act as mouse
Device: p600
ROM: P600UEUBMK1
(Following method may be applicable if your device is rooted and has other selinux permissive ROM installed)
1 Root and flash selinux permissive kernel
a. for root method, see
http://forum.xda-developers.com/showthread.php?t=2490805
b. Flash selinux permissive kernel, for instructions, see
http://forum.xda-developers.com/showthread.php?t=2590311
Please read the instructions completely.
c. Install SElinuxModeChanger
Install SElinuxModeChanger from Google Play (app is free and without ads) and change selinux mode to permissive.
Reboot note, if SELINUX status is Permissive in the Setting--about device, you can move on to next step.
2 Install Linux distro using Linux Deploy
Install Linux Deploy from Google Play (app is free and without ads), Start Linux Deploy and push the Download Button, and then in the Deploy option, you have the following choices:
a. Distribution
I have tried Debian and Ubuntu, both have been successful installed.
b. Distribution suite
For Debian , choose Jessie.
For Ubuntu, choose Trusty.
c. Architeture
Choose armhf.
d. Mirror URL
For Debian, http://202.141.160.110/debian
202.141.160.110 is the IP address of debian.ustc.edu.cn (one of the Debian mirrors in China)
You can choose other mirrors from
https://www.debian.org/mirror/list
but remember to convert the web address into IP address
For Ubuntu, http://18.7.29.125/ubuntu-ports/
18.7.29.125 is the IP address of mirrors.mit.edu
The above mirrors are chosen because they are stable and fast for users in China.
e. Installation type
File(default option)
f. Installation path
For Debian, /storage/emulated/0/debian.img
For Ubuntu, /storage/emulated/0/ubuntu.img
In fact , You can choose whatever file name you like. I chose the above names, because I actually installed both Debian and Ubuntu on my device.
g. Image size
Automatic calculation (default option)
h. File system
Auto (default option)
i. User name
Android (default option)
j. DNS server
Automatic detection (default option)
k. Localization
en_US.UTF-8 (default option)
l. Desktop environment
Xfce
m. Select components
Just check all components
After the Deploy options have been set, choose Install under Action options.
The installation time taken depends on the mirror chosen and how stable the internet connection is.
When you see “end: Install”
Push the Stop Button, and then Start Button.
If no information about failure of starting SSH and VNC services are shown, then the installation is successful.
3 Configure startup environment using Linux Deploy
Push the Download Button, ensure that both SSH and GUI are checked under STARTUP option.
for Graphic subsystem, choose VNC
for GUI setting, Display is set to 0, Depth 24, DPI 270, Width 2560, Height 1600.
check Custom mounts
For Mount points, add /mnt/extSdCard/ so that you can access external sdcard under linux environment.
or add /mnt/0/ to access internal sdcard.
Back to the main page, push Stop and then Start Button to see if external sdcard and internal sdcard can be mounted.
4 Set up ssh and vnc client
a. Install JuiceSSH from Google Play (app is free and without ads),
Launch JuiceSSH, under Connections, choose New Connection,
In basic settings, Type is set to SSH, Address is set to 127.0.0.1 (IP of local host), and Identity is android.
Back to the main page, connect to 127.0.0.1, when prompting for password, enter changeme. You are now login into Debian or Ubuntu.
b. Install bVNC from Google Play (there are free and pro versions, free version is fine)
In the Connect Type, choose Basic VNC.
In the VNC Connections Settings, Address is set to 127.0.0.1, port 5900, and password changeme.
Push the connect button, You are now login into Debian or Ubuntu desktop.
Can you please upload a video of Linux running on your note, if you can please. Never thought Linux would run on note. It would really transform this tablet into a powerful productivity tool.
excalibar001 said:
Can you please upload a video of Linux running on your note, if you can please. Never thought Linux would run on note. It would really transform this tablet into a powerful productivity tool.
Click to expand...
Click to collapse
I have no experience of making and uploading video .
some screenshots are attached
Does this guide is for P600 only ? :silly:
It's impractical at best. I mean I appreciate the time it took for you to write this, but linux through chroot is not very useful, it cannot be. It's like trying to run linux on a p3 machine, which is painful to see especially since our machines have the raw power of a fast core 2 duo (if cross platform benchs are to be believed).
What we need is a custom bootloader which would enable dual boot of Linux and android and then a proper linux kernel including driver support for all our tablets main components. Native linux. I've always dreamt of an ultra portable do-it-all machine and my note is almost that, with *almost* being the imperative word.
Note 2012 has it, raspberry f....ING pi has it even though it includes 1/10th of the firepower of our note, we don't, and I miss it oh so much for certain apps. The pen via hovering can act like a proper ultra portable mouse (tapping -> left click, pressing the key + tapping -> right click) + a floating keyboard (like Sammy 's official one) and we're golden. Alas without a proper kernel and a proper bootloader we're nothing.
Appreciate the effort, I really do, but linux deploy is mostly a toy :/
I'll await for the day that native linux comes.
does it work with framebuffer option (instead of vnc)?
Stevethegreat said:
It's impractical at best. I mean I appreciate the time it took for you to write this, but linux through chroot is not very useful, it cannot be. It's like trying to run linux on a p3 machine, which is painful to see especially since our machines have the raw power of a fast core 2 duo (if cross platform benchs are to be believed).
What we need is a custom bootloader which would enable dual boot of Linux and android and then a proper linux kernel including driver support for all our tablets main components. Native linux. I've always dreamt of an ultra portable do-it-all machine and my note is almost that, with *almost* being the imperative word.
Note 2012 has it, raspberry f....ING pi has it even though it includes 1/10th of the firepower of our note, we don't, and I miss it oh so much for certain apps. The pen via hovering can act like a proper ultra portable mouse (tapping -> left click, pressing the key + tapping -> right click) + a floating keyboard (like Sammy 's official one) and we're golden. Alas without a proper kernel and a proper bootloader we're nothing.
Appreciate the effort, I really do, but linux deploy is mostly a toy :/
I'll await for the day that native linux comes.
Click to expand...
Click to collapse
Linux through chroot is sufficient for the following purposes:
1 have a taste of different linux distro
2 learning programming in R, python, and octave.
3 editing and compiling no so large latex files
4 learning and practicing the universal editor emacs ( I use it with R,python and octave) if equipped with a physical keyboard.
In sum, note 10.1 with linux through ssh and vnc is perfect for educational purpose.
For developer, at least, they can learn how their linux program looks like in a 10 inch screen with 2560*1600 resolution.
ziotom2 said:
does it work with framebuffer option (instead of vnc)?
Click to expand...
Click to collapse
I have the same question for op or anyone in the know. Can you start gui without vnc?
I have tried framebuffer on several devices, including note , without success.
Are there any prerequisite to use it?
Thank you for the guide. I am stuck in point 4th setup ssh and vnc when I try to connect I think it doesnt rcognize address 127.0.0.1 as I recive this msj: failled to connect to /127.0.0.1 port 22 connect failed ECONREFUSED. Any idea why?
Thank you
What I can do on Linux?
Sent from my Galaxy Note 2
Why install Linux?
Stevethegreat said:
It's impractical at best. I mean I appreciate the time it took for you to write this, but linux through chroot is not very useful, it cannot be. It's like trying to run linux on a p3 machine, which is painful to see especially since our machines have the raw power of a fast core 2 duo (if cross platform benchs are to be believed).
Click to expand...
Click to collapse
Actually there are several Linux applications I would like to run, which require very little processing power and I believe would run just fine.
WikidPad and FreeMind are the obvious ones for me; but I also have a proprietary simulation package that would probably benefit from running slower
Their value to me would because they are always available so using them would lack the friction I currently endure- I have to be at home to use them.

Categories

Resources