yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Viamonte:
1 - Download what is called "debian disk" on the original post, and unpack it on you phone. You're going to create a folder called "WebTopMOD" inside your SD card, and unpack that download inside it with the name "linuxdisk"

2 - Download the easy-signed stuff also form the original post and throw it as it is on the SD Card.

3 - Go into CWM, Click "Install Recovery", then "ok" on the confirmation screen, then "Reboot into recovery". Remember, CWM will only reboot your phone if it's connected to the wall.

4 - Into Recovery mode, go "install .zip from sd external card", then choose the easy-signed .zip stuff there, then choose to install it. After installed, reboot your phone.

There you go. Next time you open webtop, the three new icons should be up.
[Atrix 4G Android Development] makr8100:
.... now what to do about running everything as root. I'll have to figure out how to add users & make a Debian terminal with less privileges, especially when running IRC apps.

From what I've seen of Linux the window manager itself isn't a prerequisite to the software that comes with it, just the libraries. The error message I got was DBus anyways, and could very easily be DBus KDE extensions considering DBus itself is installed. I would have thought dependencies would have fixed this sort of thing, but you never know for sure. Any clue if the window manager could be changed from webtop to KDE/GNOME/LXDE etc? I'm going to guess not unless it's installed from LXTerminal, which we just established is not likely, if even impossible. Since there is a functional apt-get in LXTerminal with broken repos theoretically someone could fix the repos to work again. I'll dig deeper into this when I get the chance.

And finally I will leave you with some error messages:

from Xterm

root@localhost:/# kontact
<unknown program name>(28088)/: KUniqueApplication: Cannot find the D-Bus session server:
"Failed to connect to socket /tmp/dbus-bqpaqMvUll: Connection refused"
<unknown program name>(28044)/: KUniqueApplication: Pipe closed unexpectedly.
root@localhost:/# konversation
<unknown program name>(28161)/: KUniqueApplication: Cannot find the D-Bus session server:
"Failed to connect to socket /tmp/dbus-eGLjGJ35ea: Connection refused"
<unknown program name>(28155)/: KUniqueApplication: Pipe closed unexpectedly.

from LXTerminal

adas@localhost:/data/home/adas$ sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
(... list of packages ...)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
adas@localhost:/data/home/adas$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
(... list of packages ...)
Need to get 8287kB of archives.
After this operation, 82.6MB disk space will be freed.
Do you want to continue [Y/n]? y
Err http://10.77.32.150 jaunty/main coreutils 6.10-6ubuntu1
Could not connect to 10.77.32.150:80 (10.77.32.150). - connect (110 Connection timed out)
Err http://10.77.32.150 jaunty/main findutils 4.4.0-2ubuntu3
Could not connect to 10.77.32.150:80 (10.77.32.150). - connect (110 Connection timed out)

Theoretically building your own Debian repo and hosting it on your LAN at 10.77.32.150 would be worth a shot... I'm still going to say creating users on XTerm is more likely the safer solution, although creating repos to actually mod the webtop would make this less of a hack and more of a full-out install.

questions/comments/volunteer test dummies? I'll have to make a vm of Debian i386 so I can get more familiar before I go any deeper, I usually stick to openSUSE.
[Atrix 4G Android Development] rredlin:
thanks, ill try this after work tmrw....wish me luck ! lol
[Atrix 4G Android Development] starrwulfe:
There was someone in the thread before that said they added an ext3 partition to their SD card and rsynced the image flle in there... How can I do this? That seems like the best move there-- then I can mount the other mountpoints to that install when I need them; without the wild umount/0 byte file issue. Thanx in advance.
[Atrix 4G Android Development] sporrer:
openOffice

is there a way to install openoffice?

can someone explain me how 2 install this?
[Atrix 4G Android Development] kanemari:
quite simple.

open up a new linux xterm

run 'apt-get update'

then run 'apt-get install openoffice.org'

after it installs, youve got oowriter and oo-other stuff :)
[Atrix 4G Android Development] aver2one:
Looks like you are doing this from LX terminal instead of the root terminal. Try it from the correct terminal. It should say root@localhost instead of adas@localhost

(Click the penguin and make sure your in "xterm" not in "LXTerminal")
[Atrix 4G Android Development] sporrer:
and where can i find the root terminal? i have only the leafpad lxTerminal and the pinguin icon on webtop...

when i click on pinguin the window xmessage opens and the inputfield shows `found image in /sdcard/WebTopMOD/linuxdisk!` when i click okay nothing happen....

sorry i`m newby on linux
[Atrix 4G Android Development] krkeegan:
That was me. Sorry, I have no real instructions, but if you are familiar with linux you should be ok. My prior posts should point you in the right direction to get going. The steps are essentially:

1. Install the easy mod described by the OP on your internal sd card

2. Unmount the external sd card.

3. Use parted to partition mmcblk1, I posted a link to an article that discusses using parted in a prior post. Be sure the fat partition is the first partition.

4. Mount mmcblk1p2 somewhere and bind it to a directory in the chroot environment.

5. Use the chroot environment and apt-get install debootstrap or rsync.

6. Use debootstrap or rsync to either install or copy over an OS structure to the new partition.

7. design a script similar to /osh/usr/sbin/linux to mount and start this new environment.

8. PROFIT!!
[Atrix 4G Android Development] aver2one:
Then after it says found image you hit ok then you hit the penguin again and it should open up an " xterm"
[Atrix 4G Android Development] sporrer:
xterm

it opens a new xmessage window with the same message :-( ...
[Atrix 4G Android Development] joe ferreira:
Is the lxterminal window black or white?

The black lxterminql is webtop ubuntu

The white one is the lxterminal you should see after clicking the penguin.

You have to use apt-get in the white terminal.
[Atrix 4G Android Development] aver2one:
And the window says " xterm" and the command prompt says root@localhost?

Then you use the command:

apt-get update

After that on my webtop I downloaded synaptic using:

apt-get install synaptic

Then I launched synaptic using :

synaptic

Then searched for open office- writer and downloaded that way.. that's just a suggestion try it and see if it helps
[Atrix 4G Android Development] sporrer:
i see only a black LXTerminal. when i click on the pinguin a withe one pop up with the message image found ....

then i click ok, the window is closed end the pinguig glows a few times but I cannot see a xterm window... is my installation bugy? made it like it`s described in the posts.

Screenshot: http://bit.ly/l9NAfa
[Atrix 4G Android Development] aver2one:
After you click okay on the image found and your penguin glows... double click the penguin AGAIN
[Atrix 4G Android Development] sporrer:
i`ve done this allready, with doubleclick two new xmessage windows opens but no xterm window....

i installed debian with the [SIZE=+1]1st - EASY METHOD, could that be the problem?[/SIZE]
[Atrix 4G Android Development] ParrotSquawk:
now what...

I went through figuring out how to get CWM on the phone (the instructions were not really clear but not much different than on my XPERIA except for what buttons to press.)

I copied the files and installed the zip file.

I see the leaf, terminal, and penguin.

Now why did I bother to go through all this effort (other than to be cool and elite?)

What have I gained from this effort?
[Atrix 4G Android Development] pederb:
Now you can install any desktop of your choice, gnome, kde or xfce4, that's what you have gained
[Atrix 4G Android Development] sporrer:
i uninstalled my installation with the 1st method. I unistalled it with the uninstaller zipfile.

now i try to install debian with the 2nd method cause i hope then i can install openoffice and have xterm.

but on the 1st task error...

dd bs=1024 count=1 seek=$((1024*1024*2-1)) if=/dev/zero of=debian

debian: cannot open for write: ReadOnly File System

FOUND THE ERROR, WAS ON / INSTEAD OF /SDCARD

File is created but:

Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 22 mounts or

180 days, whichever comes first. Use tune2fs -c or -i to override.

# mkdir temp

# sudo mount -t ext3 -o loop debian temp

sudo: not found

# /usr/bin/sudo mount -t ext3 -o loop debian temp

[mntent]: warning: no final newline at the end of /etc/mtab

mount: Could not find any loop device. Maybe this kernel does not know

about the loop device? (If so, recompile or `modprobe loop'.)

# /usr/bin/sudo debootstrap --foreign --arch armel stable temp http://ftp.debian.org/debian

sudo: debootstrap: command not found

#

----rwxr-x system sdcard_rw 2147482624 2011-06-22 22:34 debian

d---rwxr-x system sdcard_rw 2011-06-22 22:34 temp

# mount -t ext3 -o loop debian temp

ioctl LOOP_SET_FD failed: Device or resource busy

and why it doesnt work with sudo?

# sudo mount -t ext3 -o loop debian temp

sudo: not found

# /usr/bin/sudo mount -t ext3 -o loop deb

ian temp

[mntent]: warning: no final newline at th

e end of /etc/mtab

mount: Could not find any loop device. Ma

ybe this kernel does not know

about the loop device? (If so, rec

ompile or `modprobe loop'.)

#
[Atrix 4G Android Development] rredlin:
How long should this take to complete installation? will it says its finished?

says installing update... and been like 20 min so far? is it done? do i reboot now? or what?
[Atrix 4G Android Development] sporrer:
~5 minutes, when u see the cwm menu again then its finished.
[Atrix 4G Android Development] rredlin:
its been well over that and nothings changed, what now?

shows this.....

--installing: sdcard:webtopmod/linuxdisk.zip

finding update package...

opening update package...

installing update...

then nothings else has moved or changed.
[Atrix 4G Android Development] rredlin:
should I reboot it? or have i bricked my phone?

I just pulled the bat, its booting up now.....

rebooted just fine, but no linux :(

what am I doing wrong? crap.

maybe I didnt unzip it right? ima totaly lost...

anyone got 2 mins?

thanks
[Atrix 4G Android Development] ParrotSquawk:
New to CWM, the zip file took about 15 seconds to run (it took about 10 mins to copy the distro to my phone, HWR)
[Atrix 4G Android Development] ParrotSquawk:
Where can I get these desktops? How do they install to the webtop?
[Atrix 4G Android Development] rredlin:
root was easy, root after OTU was easy, flash new radio easy aswell, but ima not so sure whats up with CWM...

Im not sure if put both files in the same webtopmob folder or what? and when he says unpack them? unzip to the same folder?
[Atrix 4G Android Development] krkeegan:
It looks like you may have already moved to another method, but for those who get the popup message but never get an xterm window, please try this:

1. Open LXTerminal

2. Type: /osh/usr/sbin/linux

The output should tell you what is going wrong.

You have a few problems going on here. Just briefly what I see

1. What flavor of linux are you running these commands on? This error "mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.)" Suggests that you have a non-standard flavor. You need to be able to mount a loop device if you want to create your own image files.

2. debootstrap: command not found You don't have debootstrap installed. Try apt-get install debootstrap.
[Atrix 4G Android Development] krkeegan:
I am not trying to be snarky or mean, but your question boils down to the basics of linux. If you installed the easy method with Debian, I would suggest checking out some intro to Debian web pages or books.

The quick answer to you question of where to get things and how to install them is any of the following package managers:

apt-get,

aptitude, or

synaptic
[Atrix 4G Android Development] ParrotSquawk:
Thanks for replying in "noflame" mode.

No snark taken. As someone not brought up on *nix, all input is taken as given.

I have used Windows since v2.1 and MS DOS since PC's came out. I did learn to program in ASM, FORTRAN and COBOL but never did any *nix. Since I have evidently committed to Linux (for the short term anyway) I am wondering what I can explore next with the webtop opened up.

What do YOU plan to do with the webtop?

PS I have installed Ubuntu a few times but found no advantage as I needed too many of my existing (expensive) Windows-based apps to do what I needed to do at the time and had to share files with others who had lesser computer skills.
[Atrix 4G Android Development] rredlin:
i really need to have JRE to run on this lapdock, for my work, and open office would be nice.

else I guess ill just sell it, and go back to my netbook.

i dont need much else, other then gps and dish pointer app.

I know im missing something simple, but cant figure it out........
[Atrix 4G Android Development] krkeegan:
What I do and plan to do with a hacked webtop:

- I have installed rdesktop and I use it to remote desktop to my work PC or a windows virtual machine at home for running windows specific tasks or accessing work files. This is really my main reason for hacking, without it the lapdock has much less value as a business device for me.

- I plan on installing libreoffice which is for all intents the next iteration of open office

- I have installed nano to make editing files on my phone a more enjoyable experience for me, I never properly learned vi.

- I would like to get a newer version of firefox running so that I can take advantage of better html5 support

- GIMP is cool, but really is too slow to do a whole lot

- Maybe install pidgin as an IM client, but who really IMs anymore?

- ssh to allow administration of my servers

- I am sure there will be more the more I tinker

As for installing a linux variant to play with. I highly recommend taking an old desktop and at least install a headless version of debian or ubuntu on it. This is how I started and now I have a purpose built linux box that automates almost all of my computer needs in my house.

The nice thing about using linux and and an old computer is you can easily start over if something goes bad.
[Atrix 4G Android Development] rredlin:
ok i got it! whew, now how do i get JRE? <bg>

could not open lock file /var/libb/dpkg/lock

unable to lock the admin dir /var/lib/dpkg are you root?

ok now what did i forget?
[Atrix 4G Android Development] ParrotSquawk:
You have a lot more use for it than I do!

Of all the things you mentioned, IM'ing is one thing I would like to do. I would also like to be able to access the files on my machine at home.

I have a dumb box at home that I should turn into a headless server (it currently sits on my network as a fileserver running XP and I remote desktop to it)

Could you direct me to an online forum for noobs where I can learn this stuff? (this sure ain't the place!)

Thanks
[Atrix 4G Android Development] krkeegan:
Off hand, I don't have any suggestion for a broad linux forum, maybe someone else does. I can suggest an older version of the Ubuntu documentation to get you started:

https://help.ubuntu.com/6.06/ubuntu/desktopguide/C/

Chapter 2 has talks about installing packages which you asked about before.

My general MO is to kinda just wander the webs on whatever topic I am currently working on. For you that may be "installing packages" (for this I would read the above link first) or "desktop environments" (for this you can search for KDE, Gnome, XFCE).

I am sorry I am not much help, I have never been a great teacher. My normal philosophy with computers is to do something until it breaks, then go and figure out why it broke and learn what to do differently next time.

You can also run a lot of linux distributions from a USB stick. So you don't have to reformat that XP box just yet.
[Atrix 4G Android Development] Viamonte:
If it says it found the image, but the white terminal doesnt appear, you put the image on the wrong place

Is your image called "linuxdisk", and is it in a folder called "WebTopMOD" on your sd card?
[Atrix 4G Android Development] sporrer:
the setup is correct....

in the linuxdisk folder there are the following folders:

META-INF

etc

home

opt

usr

webtopmod.sh
[Atrix 4G Android Development] krkeegan:
No that is the contents of Easy-Signed.zip, that particular file is put on your sdcard and used with CWM to add root privileges to the webtop.

Linuxdisk should be a linux image file of about 2GB or 4GB in size depending on which version you selected. The contents of the image file are not "readable" for novice users. It should just look like a gigantic file to you.
[Atrix 4G Android Development] sporrer:
Where can i find this image?

And why is leafpad working when i dont have the right files?
[Atrix 4G Android Development] krkeegan:
Leafpad is installed outside of the chroot environment to make editing easier, it was installed as part of the easy-signed.zip installation through CWM.

To quote the instructions on the first page (my comments in bold):
[Atrix 4G Android Development] sporrer:
I wanna make with the second method cause i need xterm.... is it not this one

http://www.multiupload.com/403F0OQEDA?
[Atrix 4G Android Development] Djazin:
Can someone pls upload a 4gb base ubuntu image been trying to rip out the Debian 4gb and transfer the 2gb image files into it but keep corrupting the image >,< have the 4gb and 2gb up working fine every time I try I find something starting to think it my sd card. Thank you

-DjAzin
[Atrix 4G Android Development] krkeegan:
Sorry, I don't understand your question. You want to use the second manual method for this mod? If so, you create your own image in the second mod.

The link you posted should have xterm.
[Atrix 4G Android Development] sporrer:
works now... openoffice is installing right now in xterm ...

how can i start it after installing?
[Atrix 4G Android Development] Viamonte:
ooffice . . .
[Atrix 4G Android Development] sporrer:
it works ... nice I have office now :-)

now i need VideoPlayer like VLC and Skype..

1. i have installed vlc and tried to launch...

when I try to launch following message alerts:

root@localhost:/#vlc

VLC is not supposed to be run as root. Sorry.

If you need to use real-time priorities and/or privileged TCP ports

you can use vlc-wrapper (make sure it is Set-UID root and cannot be run by non-trusted users first).

I made adduser xxx

start vlc...

but then i have no access to my sdcard ...

it`s vfat mit fmask 0702...

how can I change the permissions for this mount? chmod doesn`t work

if I make an ls on /mnt its emtpy :-/

2. where can i find a working instruction for installing skype
[Atrix 4G Android Development] pederb:
I never got VLC to work either :(

Cheers
[Atrix 4G Android Development] techiesam:
I have installeed VLC, but it doesn't have good picture output and sound wont work.

I tried couple of video players, such as mplayer and vlc both only show video..no audio

you can use synaptic to install vlc and mplayer...
[Atrix 4G Android Development] Viamonte:
The correct command to run VLC on xterm is vlc-wrapper. But this wont do you any good unless the now-unlocked-bootloader means a hefty overclock, otherwise, playback will be crappy at best.

The best way to run videos so far is by maximizing the cellphone screen and running in an Android movie player. Doesnt run half as bad as it sound, but due to the stretching of resolution (from the phone to the lapdock), there will be jagged edges. It WILL run on 24fps tough, so no choppyness.
[Atrix 4G Android Development] rredlin:
what did you have to do to get open office?

And do u have any ideas how to install java jre?

thanks
[Atrix 4G Android Development] pederb:
Use Synaptic, apt-get install synaptic

Cheers
[Atrix 4G Android Development] joe ferreira:
sudo apt-get install synaptic

he forgot sudo first
[Atrix 4G Android Development] krkeegan:
Be sure you are running this in the chroot environment, although from the "root@localhost" line it appears that you are.

You appear to be missing a ton of packages which is very strange, it looks similar to what you get when you try to do apt-get on the motorola webtop.

My guess is, something is either wrong with your install or you have an environment variable that is causing apt to look in the wrong place.
[Atrix 4G Android Development] rredlin:
ok, so maybe i am not luanching this correclty....

I have the 3 new icons in the tool bar, where do i go from there?

I really only need open office and jre to run, not interested in a ton of apps. I need to log on to a dish network tech portal for routing of cust and work orders, but fire fox states i need a jre update that will not install on the lapdock, this is why i went this way and did the mod..

hell id be way to pay for someone to help get those items installed and working on this damn thing !!!

thanks

it took me a few try to get this installed, after some help i was able to follow a step by step and it worked, but ive never worked with Linux and have no clue how to install or run commands on it.

adas@localhost:/data/home/adas$ /osh/usr/sbin/linux

access control disabled, clients can connect from any host

Device exist

/mnt/sdcard-ext/WebTopMOD/linuxdisk: Is a directory

/mnt/sdcard-ext/WebTopMOD/linuxdisk: Is a directory

cp: cannot create '/osh/opt/WebTopMOD/root/etc/hosts': No such file or directory

cp: cannot create '/osh/opt/WebTopMOD/root/etc/fstab': No such file or directory

cp: cannot create '/osh/opt/WebTopMOD/root/etc/resolv.conf': No such file or directory

mount: mount point /osh/opt/WebTopMOD/root/proc does not exist

mount: mount point /osh/opt/WebTopMOD/root/dev does not exist

mount: mount point /osh/opt/WebTopMOD/root/dev/pts does not exist

mount: mount point /osh/opt/WebTopMOD/root/dev/shm does not exist

mount: mount point /osh/opt/WebTopMOD/root/sys does not exist

mount: mount point /osh/opt/WebTopMOD/root/var/run/dbus does not exist

mount: mount point /osh/opt/WebTopMOD/root/sdcard does not exist

mount: mount point /osh/opt/WebTopMOD/root/sdcard-ext does not exist

chroot: cannot execute /usr/bin/xterm: No such file or directory

Unknown HZ value! (146) Assume 100.

umount: /osh/opt/WebTopMOD/root/proc: not found

umount: /osh/opt/WebTopMOD/root/dev/pts: not found

umount: /osh/opt/WebTopMOD/root/dev/shm: not found

umount: /osh/opt/WebTopMOD/root/dev: not found

umount: /osh/opt/WebTopMOD/root/sys: not found

umount: /osh/opt/WebTopMOD/root/var/run/dbus: not found

umount: /osh/opt/WebTopMOD/root/sdcard: not found

umount: /osh/opt/WebTopMOD/root/sdcard-ext: not found

umount: /osh/opt/WebTopMOD/root: not mounted

umount: /dev/block/loop50: not mounted

adas@localhost:/data/home/adas$

so something is not right. WTF. im about to give up
[Atrix 4G Android Development] krkeegan:
Click the penguin -> click ok in the popup -> type apt-get update and then apt-get install __________ in the xterm window that pops up.

Based on root@localhost, I think you had it right before, not real sure why you are getting the errors you are.

As for JRE, I have not installed it, I seem to recall someone else in this thread trying to get it to work, but not having much success yet. I wish I could help, but fixing dependencies or compiling new libraries that may be necessary for JRE is beyond my expertise.