+ Reply to Thread
Page 1 of 15 12311 ... LastLast
Results 1 to 10 of 148
  1. #1
    Senior Member potoc is on a distinguished road
    Join Date
    Jun 2010
    Location
    Bucsu, Hungary
    Posts
    230

    Default Ubuntu on Cyanogenmod [HOWTO]

    Ubuntu on Cyanogenmod!

    This method can be dangerous. I am not responsible if you transform your spica into a brick.


    GUI Installallation is now complete, works on CyanogenMod 8.2!
    Special thanks to yuberion and the hungarian community
    The desktop environment is LXDE.

    Download the archive from here Multiupload.com - upload your files to multiple file hosting sites!. The archive contains the ubuntu.img and bootubuntu.sh file. Copy them to your SDcard's FAT32 partition's root. Open a terminal emulator and
    execute this:
    Code:
    su
    sh /sdcard/bootubuntu.sh
    You must have android-vnc-viewer to see the GUI.

    Settings for vnc viewer:
    nickname: root;
    password: 123456;
    address: localhost;
    port: 5901;
    username: root;
    vnc.png device.png

    PS: Always use the "exit" command to shutdown Ubuntu! Or next time you will experience problems. If this occurs, you will have to edit the bootubuntu.sh file. So, search for "export loopdev=/dev/block/loop3" line and replace loop3 with loop4. Save and exit. The problem will be probably solved.


    Original post+home-made method

    Hey guys! There was a request that you want to use Ubuntu on Cyanogenmod. I will show you how to install and use it.
    I posted here Запуск Debian Lenny на Samsung GT-I5700 Spica how to use ubuntu in Eclair. But at the moment apps2sd is not working, so this method is not good for us. I have read in saurik's homepage how to create ext2 formatted img file so it was a big help for me. The original method was posted here: Debian & Android Together on G1 - Jay Freeman (saurik)

    So, let's rock

    First, if you want to use only the console, download my uploaded tarball here: MEGAUPLOAD - The leading online storage and file delivery service, or Multiupload.com - upload your files to multiple file hosting sites!
    extract, and copy the ubuntu.img file to your sdcard's root. Then download the bootubuntu.sh attachment and copy it to sdcard's root, too. Then execute these commands in terminal or in ADB:
    Code:
    su
    sh /sdcard/bootubuntu.sh
    And that's it
    When you first start Ubuntu, please execute this (thanks to cygnus)
    Code:
      echo deb Index of / jaunty multiverse >> /etc/apt/sources.list
      echo deb Index of / jaunty universe >> /etc/apt/sources.list
      apt-get update
    PS: this img file has about 50MB of free space.

    Second method: You want to use GUI.

    It is a bit complicated, you must have linux to do this method. (I suggest Ubuntu)
    First, download this tarball here: http://paolo.sammiche.li/android/ubuntu.tar.gz
    Then copy it to your home directory.
    After it:
    Code:
    cd ~
    Login as root:
    sudo su
    tar -zxvf ubuntu.tar.gz
    chown -hR yourusername $HOME/ubuntu
    mkdir mountdir
    dd if=/dev/zero of=ubuntu.img seek=749999999 bs=1 count=1 # this will create a 750MB img file.  
    mke2fs -F ubuntu.img 
    mount -o loop ubuntu.img mountdir
    cp -r $HOME/ubuntu/* $HOME/mountdir
    umount mountdir
    You must have 750MB of free space in your sdcard. Attach your phone to your PC, enable USB mass storage mode. Copy the created ubuntu.img file to your sdcard's root. Download the attached bootubuntu.sh to your sdcard's root, too.
    Execute:
    Code:
    su
    sh /sdcard/bootubuntu.sh
    in this method you will have a lot of free space in the img file, you can install GUI, posted here how: Re:Gnome, KDE, IceWM or LXDE Desktop on your Android! - AndroidFanatic Community Forums

    Attached Files

  2. #2
    Senior Member darshan is on a distinguished road
    Join Date
    Mar 2010
    Location
    India
    Posts
    491

    Default

    Can we do this on alpha 6.5 mod..?

  3. #3
    Senior Member potoc is on a distinguished road
    Join Date
    Jun 2010
    Location
    Bucsu, Hungary
    Posts
    230

    Default

    Yes, I am on 6.5

  4. #4
    Senior Member darshan is on a distinguished road
    Join Date
    Mar 2010
    Location
    India
    Posts
    491

    Default

    Quote Originally Posted by potoc View Post
    Yes, I am on 6.5
    you mean by this mod we ll really have entire ubuntu on our spica..wow..!

  5. #5
    Senior Member potoc is on a distinguished road
    Join Date
    Jun 2010
    Location
    Bucsu, Hungary
    Posts
    230

    Default

    Quote Originally Posted by darshan View Post
    you mean by this mod we ll really have entire ubuntu on our spica..wow..!
    I am as happy as you

  6. #6
    Senior Member darshan is on a distinguished road
    Join Date
    Mar 2010
    Location
    India
    Posts
    491

    Default

    Quote Originally Posted by potoc View Post
    I am as happy as you
    am gonna try in right now.. am downloading the image file...

    ---------- Post added at 04:00 PM ---------- Previous post was at 03:57 PM ----------

    is it just extracting the image n bootubuntu n use that commands... is the console method better or the GUI

  7. #7
    Senior Member potoc is on a distinguished road
    Join Date
    Jun 2010
    Location
    Bucsu, Hungary
    Posts
    230

    Default

    Quote Originally Posted by darshan View Post
    am gonna try in right now.. am downloading the image file...
    Please, give a feedback if you find any error or working properly

  8. #8
    Senior Member darshan is on a distinguished road
    Join Date
    Mar 2010
    Location
    India
    Posts
    491

    Default

    The file you are trying to access is temporarily unavailable. am getting this error on megaupload

  9. #9
    Senior Member potoc is on a distinguished road
    Join Date
    Jun 2010
    Location
    Bucsu, Hungary
    Posts
    230

    Default

    Quote Originally Posted by darshan View Post
    The file you are trying to access is temporarily unavailable. am getting this error on megaupload
    Same to me, I will upload it to multiupload. Sorry

  10. #10
    Senior Member darshan is on a distinguished road
    Join Date
    Mar 2010
    Location
    India
    Posts
    491

    Default

    Quote Originally Posted by potoc View Post
    Same to me, I will download it to multiupload. Sorry
    Yeah will wait for you to upload.. is the console method better or the GUI ?


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts