Nandroid and Ubuntu 10.10 working off SD

Search This thread

kaxiniao

Senior Member
Nov 11, 2011
267
22
Hello all,

I am anxious to get this Ubuntu running on my HD2 sd card (I currently have Pongster's HyperDroid v12 android running on nand) and HAVE BEEN able to run Debian without a problem whatsoever.

Here is what I get in the Better Terminal Emulator:

Code:
export PATH=/data/local/bin:$PATH:.
 su
cd /sdcard/ubuntu
sh ubuntu.sh
# export PATH=/data/local/bin:$PATH:.
#  su
# cd /sdcard/ubuntu
# sh ubuntu.sh
WARNING: If you have more than 255 apps installed on the SDCard, then mounting !

Apps on the SDCard associate with an encrypted loop device, and there are only .

You have to go to Settings -> Manage Applications -> On SDCard, and move some a.

Please wait while booting ubuntu.img.. This can take some time...


Exiting chroot environment and sync'ing memory to storage..
DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!

#

Then I minimize the Better Terminal emulator and go to AndroidVNC (following all the parameters to the letter in the 1st post) and here is my error:

Code:
vnc connection failed (127.0.0.1:5900) connection refused

I have tried many different passwords and addresses and absolutely nothing works...Once again I am able to run Debian without a problem at all.

Any Ideas?? Any help would be greatly appreciated.

Thanks so much. :)

I had the same erro. Anyone can help?
 

Robbie P

Senior Member
Feb 8, 2011
5,116
4,017
London
I had the same erro. Anyone can help?
Did you get the
"Exiting chroot environment and sync'ing memory to storage..
DO NOT EXIT until finished - doing so may corrupt the ubuntu.img!"
Error message?
If not, after typing the terminal emulator code, press the home button (not the back button) to exit terminal emulator. Then open VNC app.
If so, then I am not sure:)
 

duhhh

Senior Member
Apr 16, 2007
773
215
Plovdiv

Robbie P

Senior Member
Feb 8, 2011
5,116
4,017
London
Did you try the instructions at the start of that thread? I think I used bitzipper, but could have been 7zip as the OP stated.

Sent from my HTC HD2 using XDA

Edit; I tried "copy ubuntu_01.zip + ubuntu_02.zip + ubuntu_03.zip + ubuntu_04.zip ubuntu.zip" on the four files I have and I cant uncompress the resulting ubuntu.zip either. However if you use 7zip and extract the first (01) file, the rest get extracted too. This should also work with the files you have downloaded. Please report back.
Best of luck.
 
Last edited:

duhhh

Senior Member
Apr 16, 2007
773
215
Plovdiv
Did you try the instructions at the start of that thread? I think I used bitzipper, but could have been 7zip as the OP stated.

Sent from my HTC HD2 using XDA

Edit; I tried "copy ubuntu_01.zip + ubuntu_02.zip + ubuntu_03.zip + ubuntu_04.zip ubuntu.zip" on the four files I have and I cant uncompress the resulting ubuntu.zip either. However if you use 7zip and extract the first (01) file, the rest get extracted too. This should also work with the files you have downloaded. Please report back.
Best of luck.

I redownload all zips and again got error
archive is corrupt or damaged
try with 7zip but with no luck
 

Robbie P

Senior Member
Feb 8, 2011
5,116
4,017
London
Last edited:

uzzoo

Senior Member
Oct 12, 2009
57
0
Ulm
Hello

In this version, a FTP server is installed?
If not what can you recommend?

greet uzzoo
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    Original thread (Thanks Martin Rhodes):
    http://xdaforums.com/showthread.php?t=962023 (Join up original file parts with 7zip)

    Instructions

    Here are direct links to complete .img file and .sh file to be placed into ubuntu folder on root of SD card (Thanks Infinimint)

    http://infinimod.com/projects/fire314/ubuntu-for-android/ubuntu.img
    http://infinimod.com/projects/fire314/ubuntu-for-android/ubuntu.sh

    Ingredients
    ubuntu.img + ubuntu.sh (to be placed in a new folder named ubuntu on the root of your SD card)
    Better Terminal Emulator (or other terminal emulator) + AndroidVNC (or other VNC client) from the market

    To automate one click startup process via Better Terminal Emulator:
    Preferences>Initial command:

    Code:
    export PATH=/data/local/bin:$PATH:.
    su
    cd sdcard/ubuntu
    sh ubuntu.sh

    Or type this for each new session in any terminal emulator:

    Code:
    su
    cd sdcard/ubuntu
    sh ubuntu.sh

    It says .img loading for a bit. Seems like its not doing anything...it wont confirm when its loaded (about a minute in reality)...

    Then I left Terminal running in background while it said it was still loading the img (but don't let it close via task killer or otherwise), held down the hardware menu or home button to switch programs for a bit and connected in via VNC (AndroidVNC)...
    address: localhost, port: 5900, and password: ubuntu ... then hit connect (login details will be saved for next time)...
    its working fine software keyboard etc and at good speed. In menu options select 24bit colour, local mouse, 1:1 scaling and Touchpad only to make navigating menus much easier.

    Normal phone and Android functions should be fine.

    Included applications include Firefox, Thunderbird, Openoffice.org suite, GIMP Image Editor, Emacs Text Editor (geared towards programming), C and C++ build-essential, Java JDK, Python, TeXlive and TeXmaker LaTeX editor, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center with all repositories enabled, SSH server, Gnash (GNU flash player for Firefox) among others.

    Short press hardware menu key to get mouse options etc and longpress to bring up software keyboard (using Android VNC).

    Type exit in android terminal emulator to shut down the ubuntu image.

    I am using the Hyperdroid Rom off NAND, overclocked at 1.2ghz and a 16GB class 6 microsd (although it should be independent to all this... worth mentioning)

    9vi784.jpg

    GIMP

    34xjhig.jpg


    Here is Open Office 3.2 on the HD2 using Smart Keyboard Pro from the market.

    Edit 1. I Can use my bluetooth keyboard using this nandroid rom to edit open office etc

    Edit 2. I can make full screen editing on my PC monitor/TV through connecting it via USB.

    2u9kdhg.jpg

    HD2 USB connected to a r3610 hanging behind a 42" HDTV connected through HDMI. Using my desktop keyboard and mouse. The Mouse scroll button and right click work just as they would on desktop!

    Connect via usb to PC and enable usb debugging on your phone, needs android sdk installed on PC, then you run from pc command line

    Code:
    adb forward tcp:5900 tcp:5900

    and you should be able to create a vnc conection from your pc (recommend TightVNC) to:

    Code:
    127.0.0.1:5900   [U]or type[/U]   localhost:5900

    and use password ubuntu displayed on your monitor or TV. Wireless solution.

    In fact, you can use the same method to mirror the Android system using 'Droid VNC' server from the market.

    Edit 3. Can also just connect straight to the device via VNC over WIFI but its slightly slower.
    Type ifconfig into lxde terminal to find WIFI address, use your desktop VNC viewer (recommend TightVNC) and password ubuntu to log in.

    Edit 4. Bluetooth mouse control with cursor now works as well (but its a bit jerky), works much better with 'Remote VNC Pro' from the market selecting use external mouse.

    Edit 5. Can only seem to pair bluetooth mouse and keyboard input simultaneously using BlueInput.

    4hyrgo.jpg


    Edit 6. To fit whole ubuntu display area onto HD2 screen (as above) or to otherwise change screen res via LXDE terminal:
    Code:
    export USER=root
    vncserver -geometry 800x480
    Restart AndroidVNC but connect to port 5901. You can automate this process by adding it to the end of the Better Terminal Emulator Initial Command script i.e
    Code:
    export PATH=/data/local/bin:$PATH:.
    su
    cd sdcard/ubuntu
    sh ubuntu.sh
    export USER=root
    vncserver -geometry 800x480

    Just remember to connect on port 5901 instead of 5900 using VNC subsequently.
    4
    Download Link

    http://d-h.st/Hff
    I would suggest you use a download manager, it is 1.5Gb.
    I will remove at OP's request.
    Enjoy
    3
    Can someone please zip the .img file, downloading 3.5Gb is really killing my connection...

    downloading from martin rhodes thread also have a problem, megaupload really slow... if someone have mediafire, i will be very thankfull...

    thank you very much if some one can help...

    Here you go: http://hotfile.com/dl/92426365/63801e6/hd2-ubuntu_0.3.zip.html
    3
    I redownload all zips and again got error
    archive is corrupt or damaged
    try with 7zip but with no luck
    Ok mate, will upload my ones.
    Edit; here you go. I will remove if OP requests
    http://d-h.st/3Uc
    http://d-h.st/IXs
    http://d-h.st/s82
    http://d-h.st/9XJ
    Don't know why my name is not on upload page, could not have signed in.
    1
    You're talking about the one for android right? I;m talking about adobe flash in ubuntu linux..... not android.... that is, this version of ubuntu linux on the hd2.....

    Try going here: http://www.psychocats.net/ubuntu/flash. It should work. Hope it helps.:)