FORUMS
Remove All Ads from XDA

[MOD] v0.3.1 Working Full Ubuntu for 1.5.7 and 1.8.3 based on Sogarth's script

464 posts
Thanks Meter: 590
 
By the2dcour, Senior Member on 11th April 2011, 06:59 PM
Thread Closed Email Thread
15th April 2011, 12:28 PM |#31  
Senior Member
Flag Rio de Janeiro
Thanks Meter: 20
 
More
Hi all!!

I´m noob, but I would like to install it when its ok.

I have a doubt: In a near future, I will be able to install XBMC on it?
 
 
17th April 2011, 04:41 AM |#32  
Ririal's Avatar
Retired Recognized Developer
Flag Grayslake
Thanks Meter: 398
 
Donate to Me
More
FYI you can load and execute files for /data/local/tmp
18th April 2011, 07:20 PM |#33  
the2dcour's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 590
 
Donate to Me
More
Quote:
Originally Posted by Ririal

FYI you can load and execute files for /data/local/tmp

Ririal, I PM'd you with the shell script I wrote. If you don't mind giving it a once over for typos and such that'd be great. There's also instructions in the first few lines about where files need to be since I'm not sure how you have to package things for CWM. Hope everything checks out
-Thedd
20th April 2011, 10:36 PM |#34  
the2dcour's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 590
 
Donate to Me
More
Bump, this works now... on my phone.
20th April 2011, 10:59 PM |#35  
Ririal's Avatar
Retired Recognized Developer
Flag Grayslake
Thanks Meter: 398
 
Donate to Me
More
Quote:
Originally Posted by the2dcour

Bump, this works now... on my phone.

Awesome, glad you got it working. Sorry I've been so busy and didn't have much time to help out with the script. I'll test it on my phone when I get home as I'm going to be flashing back to stock in prep for the AT&T beta update coming soon
21st April 2011, 01:14 AM |#36  
mafiaboy01's Avatar
Senior Member
Flag Toronto
Thanks Meter: 37
 
Donate to Me
More
Little confused about the instructions, do I just run the intall.bat or do I have to run it from command prompt?
21st April 2011, 01:16 AM |#37  
the2dcour's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 590
 
Donate to Me
More
you have to run install.bat from your computer (or manually upload the files using adb)

then you have to run adb to get a shell on your phone and run install.sh you do this by typing exactly
Code:
. /data/local/tmp/install.sh
dont forget the "."
21st April 2011, 01:22 AM |#38  
mafiaboy01's Avatar
Senior Member
Flag Toronto
Thanks Meter: 37
 
Donate to Me
More
Edit again, I'm getting some crazy errors

Quote:

C:\Users\xxxx\Desktop\BETA_CWM_fullubuntu-0.1>adb shell
$ su
su
# . /data/local/tmp/install.sh
. /data/local/tmp/install.sh
1
Whew functions defined Lets do this
2
3
4
5
6
mount: wrong fs type, bad option, bad superblock on /dev/block/loop7,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

8
dpkg-deb: failed to read archive `/tmp/wget.deb': No such file or directory
rm: cannot remove '/tmp/wget.deb': No such file or directory
--2011-04-20 20:31:55-- http://ports.ubuntu.com/pool/main/r/rsync/rsync_3.0.5-1
ubuntu2_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 348232 (340K) [application/x-debian-package]
Saving to: `/tmp/rsync.deb'

100%[======================================>] 348,232 72.8K/s in 4.7s

2011-04-20 20:32:01 (72.8 KB/s) - `/tmp/rsync.deb' saved [348232/348232]

refill your coffee and dont panic check /tmp/rsync.out for status
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: write failed on "/tmp/osh/usr/lib/firefox-3.6.13/components/nsMicrosummar
yService.js": No space left on device (28)
rsync: connection unexpectedly closed (28871 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=
3.0.5]
9
10
11
12
--2011-04-20 20:33:47-- http://ports.ubuntu.com/pool/main/c/coreutils/coreutils
_6.10-6ubuntu1_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1948878 (1.9M) [application/x-debian-package]
Saving to: `/tmp/coreutils.deb'

9% [==> ] 176,649 76.5K/s in 2.3s


Cannot write to `/tmp/coreutils.deb' (No space left on device).
mkdir failed for /tmp/osh/usr/share/man/man1, No such file or directory
dpkg: unable to access dpkg status area: No such file or directory
12.5
mkdir failed for /tmp/osh/usr/share/man/man1, No such file or directory
--2011-04-20 20:33:56-- http://ports.ubuntu.com/pool/main/c/cpio/cpio_2.9-15ubu
ntu1_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 113038 (110K) [application/x-debian-package]
Saving to: `/tmp/cpio.deb'

100%[======================================>] 113,038 71.4K/s in 1.5s

2011-04-20 20:34:02 (71.4 KB/s) - `/tmp/cpio.deb' saved [113038/113038]

dpkg: unable to access dpkg status area: No such file or directory
13
--2011-04-20 20:34:02-- http://ports.ubuntu.com/pool/main/d/dbus/dbus_1.2.12-0u
buntu2_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 186450 (182K) [application/x-debian-package]
Saving to: `/tmp/dbus.deb'

92% [==================================> ] 171,883 89.9K/s in 1.9s


Cannot write to `/tmp/dbus.deb' (No space left on device).
chmod: /tmp/osh/usr/sbin/invoke-rc.d: No such file or directory
dpkg: unable to access dpkg status area: No such file or directory
chmod: /tmp/osh/usr/sbin/invoke-rc.d: No such file or directory
13
--2011-04-20 20:34:11-- http://ports.ubuntu.com/pool/main/d/dbus/dbus-x11_1.2.1
2-0ubuntu2_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40200 (39K) [application/x-debian-package]
Saving to: `/tmp/dbus-x11.deb'

9% [==> ] 3,885 --.-K/s in 0.3s


Cannot write to `/tmp/dbus-x11.deb' (No space left on device).
dpkg: unable to access dpkg status area: No such file or directory
14
--2011-04-20 20:34:13-- http://ports.ubuntu.com/pool/main/d/dhcp3/dhcp3-client_
3.1.1-5ubuntu8_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 232032 (227K) [application/x-debian-package]
Saving to: `/tmp/dhcp3-client.deb'

1% [ ] 3,883 --.-K/s in 0.3s


Cannot write to `/tmp/dhcp3-client.deb' (No space left on device).
dpkg: unable to access dpkg status area: No such file or directory
15
--2011-04-20 20:34:17-- http://ports.ubuntu.com/pool/main/f/findutils/findutils
_4.4.0-2ubuntu3_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 387838 (379K) [application/x-debian-package]
Saving to: `/tmp/findutils.deb'

1% [ ] 3,883 --.-K/s in 0.3s


Cannot write to `/tmp/findutils.deb' (No space left on device).
dpkg: unable to access dpkg status area: No such file or directory
16
--2011-04-20 20:34:24-- http://ports.ubuntu.com/pool/main/l/logrotate/logrotate
_3.7.7-3ubuntu1_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40542 (40K) [application/x-debian-package]
Saving to: `/tmp/logrotate.deb'

9% [==> ] 3,885 --.-K/s in 0.3s


Cannot write to `/tmp/logrotate.deb' (No space left on device).
dpkg: unable to access dpkg status area: No such file or directory
17
cp: write error: No space left on device
--2011-04-20 20:34:26-- http://ports.ubuntu.com/pool/main/p/pulseaudio/pulseaud
io_0.9.14-0ubuntu20_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 453146 (443K) [application/x-debian-package]
Saving to: `/tmp/pulseaudio.deb'

0% [ ] 0 --.-K/s in 0s


Cannot write to `/tmp/pulseaudio.deb' (No space left on device).
chmod: /tmp/osh/usr/sbin/invoke-rc.d: No such file or directory
dpkg: unable to access dpkg status area: No such file or directory
chmod: /tmp/osh/usr/sbin/invoke-rc.d: No such file or directory
18
19
cp: write error: No space left on device
--2011-04-20 20:34:27-- http://ports.ubuntu.com/pool/main/x/xorg-server/xserver
-xorg-core_1.6.0-0ubuntu14_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2210460 (2.1M) [application/x-debian-package]
Saving to: `/tmp/xserver-xorg-core.deb'

0% [ ] 0 --.-K/s in 0s


Cannot write to `/tmp/xserver-xorg-core.deb' (No space left on device).
dpkg: unable to access dpkg status area: No such file or directory
20
--2011-04-20 20:34:29-- http://ports.ubuntu.com/pool/main/g/gnupg/gpgv_1.4.9-3u
buntu1_armel.deb
Resolving ports.ubuntu.com... 91.189.92.175
Connecting to ports.ubuntu.com|91.189.92.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 156866 (153K) [application/x-debian-package]
Saving to: `/tmp/gpgv.deb'

100%[======================================>] 156,866 82.1K/s in 1.9s

2011-04-20 20:34:32 (82.1 KB/s) - `/tmp/gpgv.deb' saved [156866/156866]

dpkg: unable to access dpkg status area: No such file or directory
21
22
23
24
E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or di
rectory)
E: Unable to lock the list directory
E: Opening configuration file /usr/share/aptitude/aptitude-defaults - ifstream::
ifstream (2 No such file or directory)
E: Opening configuration file /usr/share/aptitude/section-descriptions - ifstrea
m::ifstream (2 No such file or directory)
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
E: Opening configuration file /usr/share/aptitude/aptitude-defaults - ifstream::
ifstream (2 No such file or directory)
E: Opening configuration file /usr/share/aptitude/section-descriptions - ifstrea
m::ifstream (2 No such file or directory)
E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directo
ry)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Reading package lists...
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
E: Opening configuration file /usr/share/aptitude/aptitude-defaults - ifstream::
ifstream (2 No such file or directory)
E: Opening configuration file /usr/share/aptitude/section-descriptions - ifstrea
m::ifstream (2 No such file or directory)
E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directo
ry)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Reading package lists...
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
E: Opening configuration file /usr/share/aptitude/aptitude-defaults - ifstream::
ifstream (2 No such file or directory)
E: Opening configuration file /usr/share/aptitude/section-descriptions - ifstrea
m::ifstream (2 No such file or directory)
E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directo
ry)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Reading package lists...
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
E: Opening configuration file /usr/share/aptitude/aptitude-defaults - ifstream::
ifstream (2 No such file or directory)
E: Opening configuration file /usr/share/aptitude/section-descriptions - ifstrea
m::ifstream (2 No such file or directory)
E: Could not open lock file /var/lib/dpkg/lock - open (2 No such file or directo
ry)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Reading package lists...
E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)

E: The package lists or status file could not be parsed or opened.
25
26
27
29
umount: /tmp/osh: not mounted
32
Rebooting, if you get blinkenlights then you must power off your device and all
shall be peachy keen and clean

21st April 2011, 02:17 AM |#39  
the2dcour's Avatar
OP Senior Member
Flag Boston
Thanks Meter: 590
 
Donate to Me
More
it looks to me like you don't have the ~1gb free space needed. also, when you rant install.bat did all of the files upload successfully? I'm not sure why it can't find wget.deb if so. can you PM me the output ofrunning
df
and
dmesg | tail
from adb shell?
21st April 2011, 03:32 AM |#40  
Senior Member
Thanks Meter: 5
 
More
Woorkked!! Now let's get moonlight running on this thing!
21st April 2011, 04:06 AM |#41  
Member
Thanks Meter: 11
 
More
Worked perfectly for me.

I had to manually chmod the script, but otherwise worked great.
Thread Closed Subscribe to Thread

Tags
android atrix ubuntu mod
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes