+ Reply to Thread
Results 1 to 10 of 148
- 10-24-2010 02:12 PM #1
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;
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:
And that's itCode:su sh /sdcard/bootubuntu.sh

When you first start Ubuntu, please execute this (thanks to cygnus)
PS: this img file has about 50MB of free space.Code:echo deb Index of / jaunty multiverse >> /etc/apt/sources.list echo deb Index of / jaunty universe >> /etc/apt/sources.list apt-get update
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:
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.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
Execute:
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 ForumsCode:su sh /sdcard/bootubuntu.sh
Last edited by potoc; 04-10-2011 at 01:30 PM.
Contact me on MSN or on facebook: Facebook: Péter Benczek
http://potoclinux.blogspot.com
http://potoclinux-eng.blogspot.com
http://www.facebook.com/pages/Linux-...08586635890006
-
- 10-24-2010 02:15 PM #2Senior Member
- Join Date
- Mar 2010
- Location
- India
- Posts
- 491
Can we do this on alpha 6.5 mod..?
- 10-24-2010 02:16 PM #3
Yes, I am on 6.5
Contact me on MSN or on facebook: Facebook: Péter Benczek
http://potoclinux.blogspot.com
http://potoclinux-eng.blogspot.com
http://www.facebook.com/pages/Linux-...08586635890006
-
- 10-24-2010 02:24 PM #4Senior Member
- Join Date
- Mar 2010
- Location
- India
- Posts
- 491
- 10-24-2010 02:26 PM #5Contact me on MSN or on facebook: Facebook: Péter Benczek
http://potoclinux.blogspot.com
http://potoclinux-eng.blogspot.com
http://www.facebook.com/pages/Linux-...08586635890006
- 10-24-2010 02:30 PM #6Senior Member
- Join Date
- Mar 2010
- Location
- India
- Posts
- 491
- 10-24-2010 02:30 PM #7Contact me on MSN or on facebook: Facebook: Péter Benczek
http://potoclinux.blogspot.com
http://potoclinux-eng.blogspot.com
http://www.facebook.com/pages/Linux-...08586635890006
- 10-24-2010 02:31 PM #8Senior Member
- Join Date
- Mar 2010
- Location
- India
- Posts
- 491
The file you are trying to access is temporarily unavailable. am getting this error on megaupload
- 10-24-2010 02:32 PM #9
Last edited by potoc; 09-25-2011 at 05:41 PM.
Contact me on MSN or on facebook: Facebook: Péter Benczek
http://potoclinux.blogspot.com
http://potoclinux-eng.blogspot.com
http://www.facebook.com/pages/Linux-...08586635890006
- 10-24-2010 02:33 PM #10Senior Member
- Join Date
- Mar 2010
- Location
- India
- Posts
- 491
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


LinkBack URL
About LinkBacks


Reply With Quote


Bookmarks