Ubuntu on NST - Nook Touch Themes and Apps

Hi!
I have tryed following manual http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-rooted-transformer-prime/
There is also one paid app and one for free on the Market. I have not tried paid one, but the one for free didnt work (Linux installer)
Which lets you run Ubuntu on NST and it look that it works properly in the shell.
*However when one starts vncserver for gnome x11 it has some problems. One gets only blank desktop with only cursor on it.
-If someone with experience managed to install some really simple X11 on this Ubuntu image, I think that it could also run quite ok!
-Since vnc for android supports "DPAD to mouse cursor" one could also get support for USB - mouse and of course keyboard!
btw. I got Win95 running quite OK using http://forum.xda-developers.com/showthread.php?t=692682 However i dont see much of a use for it and it does not support DPAD - Mouse. There is another thead that says that you can run Win95 much faster if you use Bos Box Turbo - paid app
UPDATE 06.04.12: I am RUNNING UBUNTU, LXDE X11 + USB MOUSE, USB KEYBOARD on NOOK SIMPLE TOUCH
* you can find everything needed on
http://forum.xda-developers.com/showthread.php?p=24517053
just down. and unpack files into sdcard/ubuntu/ and run from ConnectBot "sh sdcard/ubuntu/ubuntu.sh" some extra settings is needed to set up good VNC server.
* current issues:
- graphical iterface is very lagy - slow. It should be possible to install Ratpoison or Awesome desktop. Since Nook is only black/white VNC conneciton should be simplified. And there is no need for so much icons/pictures in the interface. Also much lighter distros ARM ports are comming up - Puppy linux and so on.
- USB mouse to DPAD which does android VNC need settings for inverting and sensitivity.
UPDATE 26.4.12.:
There is this app that runs X11 natively on the android!!!! I expect much better performance for linux on android soon. https://play.google.com/store/apps/details?id=au.com.darkside.XServer

brendan10211 said:
pic
Click to expand...
Click to collapse
hehe.
However, Google Play says my nook isnt compatible w/ all Installer apps

you can install it manually - find in the cited thread

and the battery time?
how many hours it can live?

dont know. you can try. complicated X are too slow. one should use ratpoisoin with some really simple x. some research is needed.

check out new update
(x11 app for android https://play.google.com/store/apps/details?id=au.com.darkside.XServer)

Related

Andriod version of "My Mobiler"

Is anyone going to made a "My Mobiler" type of application for the G1?
It was very nice to have it with my Wing.
i loved it on my Wing too. i miss it!
Please report this thread to Koush
As he already have Screenshot Application Relaying it to any IP Socket can make a Video Streaming of Onscreen on G1 then only Catching Mouse and Keyboard Events from PC to G1 is require and mapped and channels to Device can be done to Make such Applications
Bump!
Did anyone ever find an app that does anything remotely like this? I'd love to have this capability, since I'm near a desktop pretty much all day and could benefit greatly by responding to messages through a PC based console.
hetaldp said:
Please report this thread to Koush
As he already have Screenshot Application Relaying it to any IP Socket can make a Video Streaming of Onscreen on G1 then only Catching Mouse and Keyboard Events from PC to G1 is require and mapped and channels to Device can be done to Make such Applications
Click to expand...
Click to collapse
That sounds cool. Where can I find it?
Robb_in_hou said:
Is anyone going to make a "My Mobiler" type of application for the G1?
Click to expand...
Click to collapse
Someone, please do it! I used MyMobiler constantly on my previous WinMo phone (T-Mobile MDA). I would pay to have its equivalent for the Android T-Mobile G1. I haven't rooted my G1 (yet) but would absolutely do it if it was required for running a MyMobiler-like app.
Just think of it:
- Type text messages using your keyboard.
- View your mobile screen on your desktop.
- Control your mobile by using desktop keyboard and mouse.
- Copy/Cut/Paste text between mobile and desktop.
- Capture mobile screen.
- Drag and drop files to your mobile.
Reference: MyMobiler
i looked in to this a little for a project i am working on (Droid Explorer). I found that /dev/input/event1 is the touch events, /dev/input/event2 is the trackball events, /dev/input/event3 is the keyboard and buttons, i cant figure out what /dev/input/event0 and /dev/input/event4 are for.
I tried writing to the file with events that were "recorded" but was unable to write to it. That is as far as I got when I was looking in to it, I put it on the back burner for now.
This would definitely be awesome to get going
Hmm, im not a dev or anything but wouldn't it be somewhat easy to redirect the emulator in the SDK to use the phone instead of the files in the SDK?
camalot said:
i looked in to this a little for a project i am working on (Droid Explorer). I found that /dev/input/event1 is the touch events, /dev/input/event2 is the trackball events, /dev/input/event3 is the keyboard and buttons, i cant figure out what /dev/input/event0 and /dev/input/event4 are for.
I tried writing to the file with events that were "recorded" but was unable to write to it. That is as far as I got when I was looking in to it, I put it on the back burner for now.
Click to expand...
Click to collapse
i dont know if this can help u.
here is a VNC Server for android.
http://code.google.com/p/android-vnc-server/
it works realy slow so its not for daily use (and after a time of use, the android turns into a reboot), but i think in the sorcecode you can find something that can help u
Hey guys there is one now!
[Tool] Android Screencast (open-source)
http://forum.xda-developers.com/showthread.php?t=557717
Go search for mymobiler at code.google.com and vote for it.
I want something like this too and I can't root my phone...
Does the VNC Viewer work over USB? (On Windows Mobile it make a RNDIS connection over USB so I could use TCP/IP programs like Web/FTP/VNC Servers...)
MyMobiler for Android is good solution
For those who have used MyMobiler on WM, I just read on there website that MyMobiler now supports Android! I tested it and it works on my Inspire
http://mymobiler.com/ it is also listed in this froum http://forum.xda-developers.com/showthread.php?t=1230349
Direct Link http://mymobiler.com/?p=42

Mac OS X v10.5.6 complete [Updated 19/01]

PLEASE READ POST #2 FOR UPDATES. POST #1 IS STRICTLY INSTRUCTIONS ONLY. UPDATES ARE IN POST 2. THANKS!
Okay! Time to breathe some new life into the Shift. That's right folks. OS X now runs flawlessly on the HTC Shift and graphics are running without a hitch thanks to modified GMA 950 kexts. It's nice to play around with other devices. TBH the HD2 is too plain for me atm and I'm waiting for a Desire HD build of Android for it. In the mean time, here is some darwin goodness for the worlds favourite UMPC. First of all, to answer a few questions I encountered in the other threads, OS X will run perfectly fine on the Shift. Some people are blindly saying that the 950 has issues with OS X. Guys please do some research before posting misleading information. The 950's were the original on-boards for the MacBooks. It's impossible for it not to be supported. Better, with HW Acceleration! Okay so what works and what doesn't?
Working
- GMA 950 w HW Acc.
- Camera
-Trackpad
- Keyboard
- Speakers
- 3.5mm
- Internal drive
- Ethernet/USB Expansion Hub
- Battery/Charging recognition
- Display (although I tried forcing 1024x600 it will only create a scaled view and it's not useable)
- SD Card slot
Not Working
- WiFi
- Bluetooth
- Fingerprint Scanner (I'm not surprise, OS X doesn't have support for it anyway)
So almost everything works! Which is good news. I'm not sure if WiFi and bluetooth will work. Theoretically WiFi should work because the iPhone 2G and 3G use the exact same card that the Shift uses. However I need to find a way to extract the kexts from a firmware file which is proving to be difficult as Apple is now ridiculously locking down access to the images. Once I find this kext, WiFi should be a go. Bluetooth, I'm not sure about. I don't even know what stack it is so I can't look for a driver. Fingerprint scanner I'm not worried about as it proves useless most of the time anyway.
Okay so how do you get this working. Well I went through the trouble (and a majority of my download quota) to find which builds work best so you don't have to. Now don't come asking me for download links to these builds because I will NOT give them to you. Try google. Below is a rundown of the tested builds.
iAtkos 5i - Boots into verbose mode and kernel panics.
iPC - Does not boot at all. Installed netkas PCEFI - no change
XXX_10.5.6 - Boots into installer, won't run after installation
Leo4Allv3 - Boots into verbose mode and kernel panics.
Leopard 10.5.6 Pendrive - Boots perfectly to blue screen, loginwindows.app hangs
So the above builds were pretty helpless. The only ones that worked to some degree were iAtkos, XXX, and Pendrive, pendrive having the most success. Loginwindow.app was the only thing stopping boot. So I tried a number of things. First thing that comes to mind is replacing the app file. This didn't work and continued to crash. Then something else got my attention. the blue screen after the Apple logo turns black and then back to blue again. The only explanation to this would do this is that the graphics drivers were trying to load but failing. So this was a problem with the 950 kexts. The iAtkos disk came with excellent modified 950 drivers. Installing these onto the pendrive bulid solved this and it booted to the desktop. Below is the complete set of instructions to getting everything working including dual boot.
If you want dual boot working properly, I strongly recommend installing Windows first. That is, if you want to avoid a lot of hassle. Now as you may know, OS X is an HFS OS and Windows is an MBR. If you go about installing Windows on a drive with no other system on it, it is going to convert the entire partition table. This can be solved by creating two partitions under GPT. If OS X is on one partition, Windows will create a hybrid partition table. (MBR/GPT)
1) First you are going to need to find a copy of the leopard pendrive build and restore it to an external drive or usb. You are going to need access to a working hackintosh or Mac to be able to do this.
2) Once the restore is complete you need to go ahead and install the GMA950a.pkg and the GMA950b.pkg from inside the iAtkos disk. If you aren't able to find these I will attach these below.
3) Once these are installed, we are going to need a bootloader for the machine to see the drives. There is a great bootloader credits to netkas here.
http://www.mediafire.com/?zybzmmm5uyz
4) Plug in the external drive that you restored and installed these to and fire up your shift. Boot into the external drive bask in the glory of OS X. But we're not done yet.
5) Go and download IOATAFamily_ICH10 that's attached below and install it onto the boot drive. Reboot.
6) You need to head over to /Applications/Utilities/Disk Utility.app. Now we are going to partition the internal drive and it WILL ERASE THE WINDOWS INSTALLATION. It should come up on the top left as a grey hard disk. Now you need to select the one at the very top. i.e. the parent directory. You should now have a tab labeled "Partition." Click on that an you will get a box that has your hard drive name in it. Select "Volume Scheme" -> 2 Partitions and click on the first box. On the right, name this to whatever you like. I had Macintosh HD and select the size. Make sure the Format is set to Mac OS Extended (Journaled).
7) Now select the second partition and name it to something. I had Windows. Adjust the size and set it to MS-DOS (FAT). Now click options. and there will be three partition tables to choose from. Select GUID Partition Table (GPT). Click apply and this will erase the internal disk and replace it with two partitions.
8) Close disk utility and boot into your Windows disk. Install Windows onto THE WINDOWS PARTITION YOU CREATED. Not the Mac one.
9) After the install is complete, reboot into the external drive that you originally booted OS X off and open Disk Utility.
10) Now click on the Mac partition that you created in step 6 and click the restore tab. There will be two entry fields here, one called source, the other destination. Now depending on what the external drive is, it will either be an orange disk or a white disk. What you are going to do is drag the orange/white disk that you booted off into the source, and the Mac partition you created into destination. Tick the erase destination box and click restore. This will take roughly about 20 minutes.
11) When restore is complete, we have two more things left to do. We need to install the bootloader and set the partition as active. Now remember the bootloader we installed onto the external drive? All you need to do is install the same thing, but to the internal this time.
12) Almost there! Just need to mark the partition as active. I will post a screenshot incase this step is confusing. You need to go to /Applications/Utilities/Terminal.app. If you are familiar with Linux, this is a piece of cake. Just type the commands below.
diskutil list
Now there should be all the attached drives listed. Take not of your internal drives now. You should see on the left, /dev/diskX (where X is a positive integer) and under that will be a hash followed by a series of sequential numbers. select the appropriate number for your internal Mac partition. Mine was disk0s2. In most circumstances, it should be disk0 that you are after as it is the main drive. Next type the command below.
sudo frisk -e /dev/rdisk0 (or whatever the 0 is meant to be in your circumstance)
Ignore the error "fdisk: could not open MBR file ..."
next type:
f X (where X is the number that was next to the partition. In my case 2, in disk0s'2'. "
then:
write (hit enter key)
y (hit enter)
exit (to quit)
I FORGOT TO ADD THIS STEP! Before rebooting, run the bootloader from http://www.mediafire.com/?zybzmmm5uyz on the newly imaged internal drive. If you do not do this, the machine will boot up to a flashing underscore. You need to do this as the boot files are not copied from the first time you do it.
Now restart the machine, pull out the external drive and boot into the internal drive. There should now be a countdown timer. Press any key to interrupt this and you will get a list of your partitions. Mac OS X and Windows. if you want to go into Windows, just select it and hit enter. Similarly for Mac.
Hope this wasn't too confusing. Running OS X on alien hardware is not an easy task and if you succeeded, consider it a great accomplishment! Any questions, just ask below. I am on school holiday at the moment so I'll have a lot more time to answer! I will post up developments on WiFi so stay tuned!
Update 21/09/10
- Bluetooth operational with generic bluetooth kext
- 1024x600 mode. I've posted again after the server overload
- Ethernet works on the external hub. Only just tried it.
- For those who are experiencing problems with apps such as iTunes not syncing with iPhones or the store, there is a fix. Open the SystemVersion.plist in /System/Library/Core Services/ and change the system version 10.5.6 to 10.5.8. This will not update the system to 10.5.8 but it will trick software update into thinking you have it so you can update the software without dramas. There isn't much difference between the two except for a few bug fixes and core frameworks. Just remember not to do the security updates or the combo update.
Great work!
Seems like a great guide. I'll surely try this as soon as I get my hands on a crapple device.
Thanks
thaihugo said:
Seems like a great guide. I'll surely try this as soon as I get my hands on a crapple device.
Thanks
Click to expand...
Click to collapse
Haha! yeah i got tired of waiting around for a os x tablet. the shift is a beast.
I'm curious, why didn't you try Snow Leopard? Also, with something as non-generic as the Shift, I would have used Chameleon and went with a vanilla install so I can load each individual kext
EGOvoruhk said:
I'm curious, why didn't you try Snow Leopard? Also, with something as non-generic as the Shift, I would have used Chameleon and went with a vanilla install so I can load each individual kext
Click to expand...
Click to collapse
Good questions and thankfully I have answers for you. First of all note that 10.6 is a very lean version of 10.5. The install goes down from roughly 8GB to 5.5GB. How did they do this? They removed a truckload of obsolete drivers, most of which are needed to run the shift's older hardware. Snow Leopard also requires SSE3 to boot, which the A110 doesn't support. Also, the only practical and surefire way to patch 10.6 is using NBI (netbook installer). Don't get me wrong I did try but if NBI doesn't make SL bootable, nothing will. Anyway, Snow Leopard has a 1GHz cap which is quite hard to bypass without causing stability problems. Even running Leopard on my 667 Powerbook lagged like a b**ch (excuse the language). As for chameleon. The bootloader is a pcefi/chameleon hybrid. The reason for this is that GUI chameleon caused incredible graphics issues. The drive images on boot would be multi-colored and stretched. So GUI was a no go. Vanilla worked but it didn't WORK. The whole point of vanilla is for system updates and stability increases. Unmodified kexts did nothing of the sort for the shift. For example unmodified 950 drivers caused severe disproportionality and VGA out didn't work. In fact, the modified system kexts increased stability and boot time on an ssd is roughly 25 seconds to desktop.
Did you get touch screen working ?
I have also installed 10.5.8 version I used version fromn ASUS eee 701
as you sad there is no bluetooth wifi touchscreen working...
About wifi 8686 iPhone use ARM version the driver must be rewriten to be used on our devices...
-=xXx=- said:
Did you get touch screen working ?
I have also installed 10.5.8 version I used version fromn ASUS eee 701
as you sad there is no bluetooth wifi touchscreen working...
About wifi 8686 iPhone use ARM version the driver must be rewriten to be used on our devices...
Click to expand...
Click to collapse
Bluetooth DOES work. Touchscreen as you said doesn't work. ARM/Intel won't matter as the kexts for peripherals are OS level not architecture level. Hence the reason a PPC kext will work on an Intel based Mac.
Do you know what kind of touch screen is used in shift ?
There are some drivers from usb touck screen maybe we can use them but I didn't find any information about shift touch screen need to see linux drivers...
-=xXx=- said:
Do you know what kind of touch screen is used in shift ?
There are some drivers from usb touck screen maybe we can use them but I didn't find any information about shift touch screen need to see linux drivers...
Click to expand...
Click to collapse
I'm begging to have the same question answered. I've exhausted all resistive touch drivers for OS X and none of them are working. I'm beginning to think its a prop. touch display instead. Anyway, Linux drivers wouldn't work. Darwin has almost nothing in common. The closest thing is bsd as far as OS X applications are concerned, but again, this is just a bsd flavouring and no drivers designed for bsd will work. Sure they can be ported, but it's a much quicker route if it was to be rewritten from scratch.
Do you know what interface is used for touck screen comunication ?
Maybe it can be used for tracing output data and accomodation existing driver to our needs...
And about wifi did you get any progress ?
-=xXx=- said:
Do you know what interface is used for touck screen comunication ?
Maybe it can be used for tracing output data and accomodation existing driver to our needs...
And about wifi did you get any progress ?
Click to expand...
Click to collapse
Touch is definitely USB based (device manager->usb hid device). WiFi is looking slim at the moment. I've gone through a few iPhone firmware files to find a suitable kext with no luck. So it is looking to be a complete rewrite of the driver which will be quite difficult as there is no support for Marvell as far as WiFi goes. Apple only ethernet by Marvell/Yukon, thus ruling out the possibility of common driver properties between other kexts.
Just in reply to a post before the server crashed. None of the touchscreen drivers worked and the panel didn't get recognised. Also the download for the resolution enabler is back up in post 2 again. And it looks like we made it on engadget. AGAIN.
Featured article on egadget congrats.
Sent from my htc hd2 using XDA App
roflcoptrbbq said:
Featured article on egadget congrats.
Sent from my htc hd2 using XDA App
Click to expand...
Click to collapse
Hahaha thanks. Its actually on a lot more now. Its almost a virus! hahaha
could you get the drivers from 10.5 and shove them into 10.6, also see if you can use the axitotron modbook drivers
http://www.axiotron.com/index.php?id=home
i will try all of this next week, as i was about to sell my shift....
it's on marketplace here.
ayilm1 you are awesome.
shad0wfire said:
could you get the drivers from 10.5 and shove them into 10.6, also see if you can use the axitotron modbook drivers
http://www.axiotron.com/index.php?id=home
Click to expand...
Click to collapse
Yeah mate. that did cross my mind until i realised axiotron hasn't done anything to do with Synergy touch yet, meaning no finger touch at all. It's all wacom based. Synergy will incorporate resistive with this, or maybe even capacitive, but no guarantees on it working with the shift. I have started to build a kext for it but it's really difficult when you don't even know the manufacturer of the panel you are writing the driver for! Thanks Seb, just trying to help out the xda community!
Wifi
If it uses the same wifi card as the iPhone 3G, the firmware is decryptable. Head onto the idroidproject.org forums. I spent time on there putting android onto my 3G and the wifi binary files were needed as they were copyrighted material.
If you like get back to me and I can get the binaries for you? If not it's pretty simple just requires some simple linux command line skills, which I'm
Sure you have since you undertook this project.
Anyway good luck, hope this helps with getting wifi to work!!

Remote Apps on TP

Hi All,
I wanted to share with you something that I think could develop into something quite useful (and cool ). I have successfully managed to launch remote applications from my Linux server onto my TP (similar to Citrix). For those that might be somewhat skeptical I've attached a screenshot below. And yes, your eyes do not deceive you – it most certainly is Word 2007 running! But before everyone starts jumping up and down with excitement, it's not an TP application that I've developed – more proof of concept.
If people are interested in trying this out themselves please let me know and I'll put up some instructions. Just a wording of warning though, this is a little fiddly and requires the user to use CLI via Executah and also a Linux PC (not sure how to achieve this with a Windows PC).
Also, if there are any Xterm/XServer/WebOS Developer experts for the TP here that can help me, please come forward as I would like to push this to be more GUI based so I could really use some help.
Thank you.
How does this compare to splashtop remote?
Wow very neat!
Don't run Linux so not for me but i'd find this useful if someone knew a way to do this via windows?
idealz said:
How does this compare to splashtop remote?
Click to expand...
Click to collapse
it's not as advance as splashtop. It's merely just a remote application running on a linux server. The example I posted was of word running via wine on my ubuntu server. However, I've managed to get rdesktop installed on the touchpad which means there is a possibility of running a windows application. I will try this out and see if it works.
I will report back as soon as I have some info. I post a screenshot of a windows app running, asumming I can get one to run.

[Guide] Ubuntu chroot on rooted TPT

Hey ThinkPadders,
So I found myself needing to do some programming on the road this weekend but dont have access to a laptop. So I'm plugging in a bunch of peripherals to my TPT and hoping to work off it. (UPDATE: It worked great! Just ran out of space in my pre-allocated image, see update #2 below) Forgive me if the outcome is a bit rough or this exists elsewhere, I'm in a bit of a rush but thought I'd throw this quickly out to anyone who may find it usefull (or is nice enough to complete it).
There's just a small modification from the Ubuntu on android instructions on AndroLinux. Sorry I cant post links as a crappy member X_x, but I think you know what to do with this:
www.androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Change the mount calls in each of the scripts from:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
to:
mount -o remount,rw -t yaffs2 /dev/block/mmcblk0p3 /system
That's about it. I've installed build essentials just with apt-get and got simple STL c++ to compile, so things seem good so far.
Here are pics of the TPT running vnc and ssh to localhost. I attached modified scripts if you dont want to do it yourself. All credit should go to Max Lee at AndroLinux and Charan Singh.
(And a hurrah for getting our kernel source!!)
UPDATE #1 (2-27-2012):
Terminal/ssh usages are great, but experiences with the stock ubuntu GUI are a little slow (probably due to the lack of tegra drivers on tested distributions). You can improve this GREATLY by using a lighter weight windows manager (lxde, xfce, unity 2d, etc).
UPDATE #2 (2-28-2012):
Also, you can skip using an image entirely. Since then I've partitioned a 32GB sdcard into 10GB fat32 + 22GB ext2 partitions and just directly copied a preinstalled/debootstrap'ed ubuntu and mounted it. This way you don't have to pre-allocate space with an image and can use both partitions for general storage (the fat32 is just for windows specific access). You could probably use space on the internal sdcard if you like. But I have a 16GB model so I went straight for an external solution.
I can extend this guide or create a one-click windows script to handle the entire setup/installation if there's interest.
This is really cool, thanks for sharing this info with the rest of us.
Thanks! I run Ubuntu on all my computers, now I can run it on my TPT!
Cool stuff anapmac.
I too have an ubuntu chroot on my thinkpad (actually just copied the loop file from my droid x and didn't even have to change any settings)
Just a tip: I highly recommend swapping out the default window manager for lxde.
lxde is much more lightwight and will run a lot faster.
Also, you may want to try pointing apt at the debian repositories, debian seems to have more complete ARM repositories than ubuntu does.
How about libre office. Could it run in an usable speed on ubuntu on android, or would it do it if ubuntu only could get installed?
Hey,
could anyone help me...i managed to do all and it finally worked.
but i don't think it is quite useable, so what d0 I have to do to make all steps undone?
thanks for your help.
dan
thanks for posting the changes required to get this working. I got it working with the ubuntu.img from the guide at androlinux.com
I've used the instructions there also to build an image of from ubuntu 11.10. I simply replaced the ubuntu.img with my own and all is working ok. I'm currently installing unity to see how slow it will be. or if it works at all.
hidd3n_bit said:
Cool stuff anapmac.
I too have an ubuntu chroot on my thinkpad (actually just copied the loop file from my droid x and didn't even have to change any settings)
Just a tip: I highly recommend swapping out the default window manager for lxde.
lxde is much more lightwight and will run a lot faster.
Also, you may want to try pointing apt at the debian repositories, debian seems to have more complete ARM repositories than ubuntu does.
Click to expand...
Click to collapse
Thanks for the tip. I did find loading firefox somewhat slow when I took the screenshots. This past weekend though I was only accessing the distribution through a terminal emulator (just ran the bootubuntu script to setup the chroot). After working with it, I'm very satisfied with this setup I'm planning to buy an external SD to use host a large ubuntu image (or anything else that's ARM compatible?). Maybe I'll look into the GUI if I get a chance.
There's also a native ubuntu setup on some android devices. That would be interesting to see how well the GUI performs when android isn't running next to it. Luckily for me, the terminal is perfect since I use vim
danjac said:
Hey,
could anyone help me...i managed to do all and it finally worked.
but i don't think it is quite useable, so what d0 I have to do to make all steps undone?
thanks for your help.
dan
Click to expand...
Click to collapse
Hey danjac,
when you exit out of the shell that bootubuntu launches, it unmounts the required loopback and folders for you. The setup script, ubuntu.sh, simply copies a few files into known locations (deleting any existing files from previous runs). These files are:
/system/bin/fsrw
/system/bin/bootubuntu
/system/bin/unionfs
/system/bin/mountonly
You can just delete these by hand. Otherwise, I've attached a shortened version of the setup script (now only contains the clean-up and not the file copies) that does just this. Besides those files you just need to delete your ubuntu image file. Also, I dont believe the mounts (calls to losetup and mount) persist through reboots. Someone please correct me on that if I'm wrong. But if true, you wont have anything ubuntu related running if you've done a simple reboot lately. It is probably best to reboot before running this script. FYI, the script is run from the TPT's terminal (either using a terminal app or adb).
baser5nature said:
thanks for posting the changes required to get this working. I got it working with the ubuntu.img from the guide at androlinux.com
I've used the instructions there also to build an image of from ubuntu 11.10. I simply replaced the ubuntu.img with my own and all is working ok. I'm currently installing unity to see how slow it will be. or if it works at all.
Click to expand...
Click to collapse
Cool. Let me know how it goes. I'm curious how well we can get an ubuntu GUI to run under chroot. I really like the integration it gives. Though we're probably running on software rendering no matter what UI we use. Nvidia released linux tegra drivers for hardware acceleration:
(H)ttp://developer.nvidia.com/linux-tegra
(curse you linking!!! still too forum newb for this)
hopefully I (or anyone ) can get time to mess around with this.
Hey danjac,
when you exit out of the shell that bootubuntu launches, it unmounts the required loopback and folders for you. The setup script, ubuntu.sh, simply copies a few files into known locations (deleting any existing files from previous runs). These files are:
/system/bin/fsrw
/system/bin/bootubuntu
/system/bin/unionfs
/system/bin/mountonly
You can just delete these by hand. Otherwise, I've attached a shortened version of the setup script (now only contains the clean-up and not the file copies) that does just this. Besides those files you just need to delete your ubuntu image file. Also, I dont believe the mounts (calls to losetup and mount) persist through reboots. Someone please correct me on that if I'm wrong. But if true, you wont have anything ubuntu related running if you've done a simple reboot lately. It is probably best to reboot before running this script. FYI, the script is run from the TPT's terminal (either using a terminal app or adb).
Click to expand...
Click to collapse
Hey Anapmac,
thank you very much for the information/script.
You are right, it does not survive a reboot.
Once again, thanks for your help.
I'm going to give this a go, looks really cool.
Canonical have just announced Ubuntu for Android which looks pretty amazing.
Oh, yes.
http://www.pcworld.com/businesscent...tu_android_addon_designed_to_replace_pcs.html
Cant wait until having really time to try it......
Yea, my dreams are coming true! I hope they're not picky about using the dock though. I'd still rather just open up a local terminal and work from there (for those of you who keep line widths in code, the character width can perfectly be 80 in portrait mode using android terminal emulator ). Should work anyway though, seems like a chroot solution with dock integration. Either way, that makes for an AWESOME thin client to access any workstations. Add that to having a mobile data plan, who needs to be in the office! Love being able to fiddle with these devices so much.
I wasn't able to get unity to work, I'm really not that strong in linux though. Based on things I've read around other linux forums, it's not likely to get it to work, but luckily canonical is taking care of that for us.
I tried gnome-classic and it worked ok, I wouldn't call it unusable, tried ubuntu-2d and 3d and they just don't work, finally settled with xfce after installing xubuntu-desktop via apt-get and then messing with the xstartup in /root/.vnc to start xfce with vnc.
vncserver -geometry 1280x752 fits perfectly in the screen space available without hiding the honeycomb status bar.
Although android vnc works quite well for free. I grabbed Jump Desktop back when it was on sale, and the mouse integration feels more like a native install.
I've been using Terminal Emulator in android to edit files and things with my folio keyboard, but there are a few annoying things with that. the vol-dwn button as Ctrl only works with onscreen keyboards, so I have to take the thinkpad out of the folio keyboard for certain keystrokes in apps like vi and nano. Funny enough the enter key on my onscreen keyboards, isn't accepted when saving a file with nano. I have to return to the folio keyboard to hit enter... wierd.
Anapmac said:
Cool. Let me know how it goes. I'm curious how well we can get an ubuntu GUI to run under chroot. I really like the integration it gives. Though we're probably running on software rendering no matter what UI we use. Nvidia released linux tegra drivers for hardware acceleration:
(H)ttp://developer.nvidia.com/linux-tegra
(curse you linking!!! still too forum newb for this)
hopefully I (or anyone ) can get time to mess around with this.
Click to expand...
Click to collapse
Sent from my ThinkPad Tablet using Tapatalk
Thanks for checking on that baser.
I've been plugging in a full keyboard whenever I wanted to code, so I'm not sure what issues come from using the folio. I did experience some funky keyboard (hardware) mappings when I was using the GUI though. I'd have to do some remappings of the keyboard keys to get it 100% working, I figure we could probably do the same for the folio. For instance, my caps lock key is normally mapped to ctrl. If the folio has one it may be a good solution (I've never really seen one and I'm assuming it doesnt have a ctrl or alt from your experiences).
As for the GUI responsiveness, I tried using a ubuntu image which was compiled with the nvidia tegra drivers (see Linux for Tegra for details, but dont try their test image). It FELT more responsive to me, but I didnt get a chance to run solid benchmarks on my different distributions though. My experience using the ubuntu GUI on the TPT is pretty slim, so I could be completely wrong on that visible speedup.
I got a hold of a nice big 32GB sd card over the weekend, so I plan to put a large ubuntu/debian distribution on it this weekend. I'll try to get some updates on the keyboard issues and tegra drivers around then.
Check it out, there are tegra drivers in the next ubuntu arm release
https://launchpad.net/ubuntu/precise/armel/nvidia-tegra
It's to be released in april. I'm sure this has to do with canonical's android announcement. Sweet! I'm curious, so I may look into setting up a 12.04 distro this weekend to see if there's a noticeable speed up.
So, I definitely understand the desktop usage awesomeness. But I'm still not sure what android (mobile) gains from getting an ubuntu GUI. It seems all the added benefit comes from the command line tools, where android apps can cover any graphical needs. Thoughts?
One-click?
UPDATE #2 (2-28-2012):
Also, you can skip using an image entirely. Since then I've partitioned a 32GB sdcard into 10GB fat32 + 22GB ext2 partitions and just directly copied a preinstalled/debootstrap'ed ubuntu and mounted it. This way you don't have to pre-allocate space with an image and can use both partitions for general storage (the fat32 is just for windows specific access). You could probably use space on the internal sdcard if you like. But I have a 16GB model so I went straight for an external solution.
I can extend this guide or create a one-click windows script to handle the entire setup/installation if there's interest.
Click to expand...
Click to collapse
A one-click script would be awesome! I know there's others who would appreciate it as well, I'm just gona take one for the n00b team and ask for it. No rush, if you have time it'd be great but either way thanks for your work!
tutorial
can anyone please guid me to a tutorial for this? if it's possible do with android terminal emulator.....l'm a noob ,just don't know how to do it
Hey guys!
Since the ubuntu touch preview came out yesterday, I thought I'll give this thread a bump. What do you guys think about it? Can we port this to our good old TPT? I just stumbled over the Porting howto: https://wiki.ubuntu.com/Touch/Porting
I mean, thanks to Koshu, we have CM10 running, so porting should work? But I have to admit that I don't have a lot of experience with this kind of stuff
ChiefOHara said:
Hey guys!
Since the ubuntu touch preview came out yesterday, I thought I'll give this thread a bump. What do you guys think about it? Can we port this to our good old TPT? I just stumbled over the Porting howto:
I mean, thanks to Koshu, we have CM10 running, so porting should work? But I have to admit that I don't have a lot of experience with this kind of stuff
Click to expand...
Click to collapse
This would realy be very cool.

Ubuntu for Vivid

Saw a thread a while back asking about the super-cool Ubuntu for Android on the Vivid. Unfortunately, we'll probably never see this for the Vivid, but we do have a comparable alternative...
Using the images from the Linux on Android Project we can run a virtual instance of Ubuntu and VNC into it.
This will probably work on any ROM, so long as you're rooted with busybox.
Before we start, install android-vnc-viewer and Android Terminal Emulator. Other VNC / Terminal apps will probably work, but the following instructions will be for these apps, specifically.
Okay, now...
Make an "ubuntu" directory on your SD card (internal/external, doesn't matter. You'll need at least 3 gigs of space though). For the purpose of these instructions, I'll refer to it as /sdcard/ubuntu.
Grab this script and unzip it as /sdcard/ubuntu/ubuntu.sh
Then download either (or both, whatever) the full-sized, Gnome-based image, or the smaller, LXDE image. Unzip as /sdcard/ubuntu/ubuntu.img
Open up Terminal Emulator, type "su" and hit enter. A superuser prompt will pop up (or that SuperSU thing, whatever you use). Accept/Agree/Whatever to allow root.
Now you're at a root shell. Go to your ubuntu directory by typing "cd /sdcard/ubuntu" (/sdcard/ext_sd/ubuntu for external card) and pressing enter.
Type "sh ubuntu.sh" and hit enter. This will start the launch script.
When it asks for a screen resolution, type "960x540" (the resolution of the Vivid).
A bunch of stuff will fill the terminal. When you see "[email protected]:/#", celebrate! You have Ubuntu running!
Now, unless you want CLI only... hit your home button (leave terminal running in the background) and launch android-vnc-viewer.
Enter whatever for the nickname, and the following settings:
Password: ubuntu
Address: localhost
Port: 5900
Color Format: 24-bit color (4 bpp)​
Now click "Connect" in the top-left corner. Hopefully you'll see Ubuntu! Now add a bluetooth keyboard/mouse and an MHL, and proceed to rubbing it in your Apple-fanboy-friends faces.
When you're done, head back into Android Terminal Emulator and type "exit".
NOTES:
I don't take credit for any of this. This is 100% Zachary Powell et al @ the Linux on Android Project.
I really don't see how anyone could screw a phone up with this, but standard disclaimer applies. I'm not responsible for anything, anywhere, ever.
This post is kind of long, but this is really super easy. Good luck!
The problem is this need this loop support in the kernel and none of the kernel people in this thread responded to my request for it.
Kernel stuff was not my cup of tea so never could get this running
Works perfect on Virtuous, which uses the Faux kernel. I don't know of any kernels that DON'T support loopback, which is why I said it should work on just about any ROM. Haven't tested on any others though.
Did this aeons ago. It works flawlessly, but the GUI is mad slow. Works fine for command-line business, though.
Cool story. It's been out for less than six months, but I guess that could be aeons. This is for people who haven't seen it.
Also, the GUI is extremely fast. With an MHL it's totally usable as a full computer. Did you try with LXDE?
kxhawkins said:
Cool story. It's been out for less than six months, but I guess that could be aeons. This is for people who haven't seen it.
Also, the GUI is extremely fast. With an MHL it's totally usable as a full computer. Did you try with LXDE?
Click to expand...
Click to collapse
I just realized that we are not talking about the exact same thing.
This has existed for aeons (Feb 1 2011). Same theory and application, but based on Karmic 9.10 and very slow indeed.
Hmm, might have to give this one a try.
Yea, ran that on my old X10. Bad hardware + bad implementation. This is 10.10, and they have a working beta for 12.10.
The LOA project really got it right. Especially running LXDE. Gnome is obviously slower.
IMO it's a good replacement for the official Ubuntu project.
It would be nice to install a custom arch linux or a debian netinstall with only the necessary things to work, fluxbox, xfce, lxde or some lightwheight desktop manager and see what happens. With the micro usb 2 hdmi cable and attached to a big screen it would be a real killer.
With some time I can prepare a custom debian or arch linux image to our devices.
Sent from my HTC PH39100 using Tapatalk 2
Archector said:
It would be nice to install a custom arch linux or a debian netinstall with only the necessary things to work, fluxbox, xfce, lxde or some lightwheight desktop manager and see what happens. With the micro usb 2 hdmi cable and attached to a big screen it would be a real killer.
With some time I can prepare a custom debian or arch linux image to our devices.
Click to expand...
Click to collapse
The micro usb to hdmi is an MHL adapter. And yes, it makes it awesome.
LOA has a working debian image (http://sourceforge.net/projects/linuxonandroid/files/Debian/Image/) and are working on Arch.
A bare bones Arch installation with LXDE would be amazing, but alas, I have no spare time for side-projects anymore =(. I'm sure I wouldn't be the only one very appreciative if you could put it together.
I'm personally thinking about doing a portable HDD installation of a completely barebones Ubuntu from CLI, and just dropping pure XFCE on it. I think I've just found my testing platform.
I just made the switch from Mint Debian Edition to Arch. I love it, but I just can't get used to XFCE. Gnome 3 is just too awesome.
However, if I had Arch with LXDE / XFCE on the Vivid, I would probably replace a few computers with Monitor+Keyboard+Mouse+MHL terminals.
kxhawkins said:
I just made the switch from Mint Debian Edition to Arch. I love it, but I just can't get used to XFCE. Gnome 3 is just too awesome.
Click to expand...
Click to collapse
I like Gnome 2 and 3. LXDE has a few issues with the way it runs hardware (primarily its ability to manage laptop touchpads) as tested on Lubuntu 11.10, and that's when I made the switch to using XFCE instead. I'm not really a fan of Unity.
Anybody know why I get this error when running the scripy?
No, that's strange. Have you tried with the Terminal Emulator from OP?
And I know it shouldn't matter, but try cd'ing into /sdcard/ubuntu and then trying to execute the sh.
kxhawkins said:
No, that's strange. Have you tried with the Terminal Emulator from OP?
And I know it shouldn't matter, but try cd'ing into /sdcard/ubuntu and then trying to execute the sh.
Click to expand...
Click to collapse
Same result with terminal/cding, .
Try better terminal emulator app that worked for me.
Sent from my HTC PH39100 using xda premium
Mjones307 said:
Try better terminal emulator app that worked for me.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
Same result. 'qt' isn't even in the script so I don't know what's up. I can run other other scripts np.

Categories

Resources