Ubuntu for Vivid - HTC Vivid, Raider, Velocity

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.

Related

full linux install on g1? (not the port with android)

Has anyone have a confirmed full install of ubuntu/debian/gentoo (arm verisons of course) on the dream? not the terminal emulator boot img but a full over right of android and install of linux. Or is it no ones done it because theres not enough support for it driver wise? what is not supported for it? Can someone leave me with some answers not more questions? (i think thats impossible now that i think about it)
bumpssssss
The reason no one has answered is because no one has had a fully working debian system with a gui like kde or gnome. Question would yo really want a desktop gui on your tiny little sdreen that your fingers would be too big to have any functionly
Can it be done?
Most definitely. Easy. It would require some customization (i.e. drivers), but this is relatively minor.
Has anyone done it?
Maybe, not to many as this is something for which there would be little demand.
Why not?
Because it does not make sense. As mentioned above, the physical form is the first problem you'll run into. The second problem is that your phone will cease to work *as a phone*. You also couldn't run any 'droid apps on it at all.
Why would you want to?
(note: this question is for YOU to answer.)
lbcoder said:
Can it be done?
Most definitely. Easy. It would require some customization (i.e. drivers), but this is relatively minor.
Has anyone done it?
Maybe, not to many as this is something for which there would be little demand.
Why not?
Because it does not make sense. As mentioned above, the physical form is the first problem you'll run into. The second problem is that your phone will cease to work *as a phone*. You also couldn't run any 'droid apps on it at all.
Why would you want to?
(note: this question is for YOU to answer.)
Click to expand...
Click to collapse
well, mainly a proof of concept and if you've checked my track record you'll notice i don't even have my g1 to use as a phone. i've been trying to make it into a pretty well rounded mid. But my question is how would i do it? flash all internet memory, then push the new linux kernel, filesystem etc onto the device and cross my fingers and hope for the best? or could you trick the system into thinking its a android update and have it install that way? And down the road could you use a regular bootloader like LILO or grub to duel boot or would you have to ghetto rig something?
(p.s: a terminal based is what i was thinking of in the first place i always got ssh for the heavy lifting )
technically the g1 is a tri-boot
1.) standard os that we use as normal
2) recovery patition. where we flash our update.zips
3) bootloader. where it fastboots or flash.nbh to overwrite entire system
so for what you would like to do is build a moddified boot.img to load up the nessciary files to boot your linux distrom maybe you could even set up switchrom to doit so when you need to use android you still have the option. there is a thread on how to run debian through the terminal maybe you could moddify that to work for you but getting the drivers for the files needed to be able to do anything would be the main issue. give me a sec and i will edit this posts with the links to that threadand how to make a boot.img
here is boot.img
http://forum.xda-developers.com/archive/index.php/t-443994.html
here is installing debian on g1, newest info is towards the end, i didn't read through it but last time i looked someone was close to what you want
http://forum.xda-developers.com/showthread.php?t=444419
johnnytablet said:
well, mainly a proof of concept and if you've checked my track record you'll notice i don't even have my g1 to use as a phone. i've been trying to make it into a pretty well rounded mid. But my question is how would i do it? flash all internet memory, then push the new linux kernel, filesystem etc onto the device and cross my fingers and hope for the best? or could you trick the system into thinking its a android update and have it install that way? And down the road could you use a regular bootloader like LILO or grub to duel boot or would you have to ghetto rig something?
(p.s: a terminal based is what i was thinking of in the first place i always got ssh for the heavy lifting )
Click to expand...
Click to collapse
Why on earth don't you just get a $200 netbook that WILL run a fully functional linux install? Its cheaper, faster and has better hardware...
Diceman4 said:
Why on earth don't you just get a $200 netbook that WILL run a fully functional linux install? Its cheaper, faster and has better hardware...
Click to expand...
Click to collapse
weres the fun in that? and how many can say they have a FULL debain pocket device? none thats right and if the wifi would work it would be a fun machine for text based things.
HOLY SH- New plan after a full debian install lets see if i can get some dos running who doesn't want monkey island and fallout 1?
johnnytablet said:
weres the fun in that? and how many can say they have a FULL debain pocket device? none thats right and if the wifi would work it would be a fun machine for text based things.
HOLY SH- New plan after a full debian install lets see if i can get some dos running who doesn't want monkey island and fallout 1?
Click to expand...
Click to collapse
There's a scumm emulator if you're that desperate for Monley Island >.>
I agree with the others, it's like wanting to run Android on some pimp-ass quad core rig, it seems like a good idea....if you happen to be intoxicated. Running a full blown window manager on a 3.2" screen is just insane...
AdrianK said:
There's a scumm emulator if you're that desperate for Monley Island >.>
I agree with the others, it's like wanting to run Android on some pimp-ass quad core rig, it seems like a good idea....if you happen to be intoxicated. Running a full blown window manager on a 3.2" screen is just insane...
Click to expand...
Click to collapse
so your telling me you would not have fun with a tiny desktop in your pocket?
Here's a suggestion. Put a modified kernel/init stuff on the recovery partition, install your system onto sdcard. Regular boot = 'droid, recovery boot = 'deb.
Note: you WILL have to use a kernel that is built with the appropriate drivers for the dream hardware.
Note2: you will probably have some driver problems re getting Xorg running on the dream hardware. I don't think its vesa compatible, so you'll most likely have to hack together an xorg driver.
well, actually it has been done already, check the thread on the regular android-chroot-debian... "FukTheRegister" has posted a fastboot boot.img that runs the ubuntu net install right on the g1, however you will have to use usb0 networking to install it...

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!!

ubuntu problems

Hi everyone
Sorry in advance if double posted or such. I just got a windows on my VM and would like to know how yo edit/add/write script that would associate data between VM and my Ubuntu on startup. Second thing is another script to start and open my terminal window on startup. Another thing is that I got xfce GUI and would like to use this one over gnome but every time I boot my PC it always go to gnome. Should I just generally remove gnome or there is other way to do so. Last is that I would like to setup server between my Ubuntu and any other distro on VM. How to do it? I would like to state that I am n00b in Linux and Ubuntu, got it for about a week. Where I can as well find a tutorial on how to start with shell scripts.
Thank you everyone in advance for any help/links/tutorials/general directions where to find answers.
Regards
hm
seems not to be the right forum for questions regarding ubuntu...
I though so as well but on Ubuntu forums I still don't have reply so I just tried here. Nothing to loose.
Sent from my HTC Desire using Tapatalk
youll love me for this later , format ur drive and install win7
If you want speed and infinite customization options, stay with ubuntu. If you want slow performance but lots of software support, go with windows. My .02....

[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 on NST

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)

Categories

Resources