yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] prscarp:
When using the new 4gb image I get the following errors and it doesn't start.

adas@localhost:/data/home/adas$ /usr/sbin/linux
access control disabled, clients can connect from any host

[mntent]: warning: no final newline at the end of /etc/mtab
mount: wrong fs type, bad option, bad superblock on /dev/block/loop50,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so

[mntent]: warning: no final newline at the end of /etc/mtab
mount: wrong fs type, bad option, bad superblock on /dev/block/loop50,
missing codepage or helper program, or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so

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! (89) Assume 100.
[mntent]: warning: no final newline at the end of /etc/mtab
[mntent]: warning: no final newline at the end of /etc/mtab
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
[Atrix 4G Android Development] dicksteele:
Dude,

that looks familiar. Like my last two days.
[Atrix 4G Android Development] prscarp:
ahaha! Thats the exact errors you get?
[Atrix 4G Android Development] krkeegan:
I could be totally off, but off hand this seems like a limitation of FAT32. My recollection is the maximum file size is 4GB less 1 byte.

Could this be the problem we have with larger disk sizes?
[Atrix 4G Android Development] prscarp:
Thats correct but if it were too large, we wouldn't be able to even get it on the sdcard in the first place.
[Atrix 4G Android Development] joe ferreira:
http://en.wikipedia.org/wiki/File_Allocation_Table

The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 byte or 4 294 967 295 (232−1) bytes.
[Atrix 4G Android Development] joe ferreira:
I have been able to copy iso files of dvd images to a sdcard before that were larger than 4 gig but they were corrupted.
[Atrix 4G Android Development] joe ferreira:
after about 4 hours I got gnome working. most of this was download and install time.

to install

apt-get install gnome-core

to start gnome

gnome-session

after the install on the first boot network services fail to work but after rebooting the phone they came up.

after install with no tweaks it has 23 mb of free space. and a few error messages at console level I will work through when I know that I can build this on a larger image file.

Could someone try building a image that is 3.99gb?
[Atrix 4G Android Development] pederb:
Would xfce4 desktop environment work with Debian?

http://xdaforums.com/showthread.php?t=1012684&page=5 See post 48, looks really good.

Cheers
[Atrix 4G Android Development] joe ferreira:
http://www.cyberciti.biz/faq/howto-install-firefox4-in-debian-linux/

Install Firefox 4

echo 'deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0' >> /etc/apt/sources.list

apt-get install -t squeeze-backports iceweasel

To start it:

/usr/bin/firefox
[Atrix 4G Android Development] krkeegan:
I am at work without my lapdock, so I can't try this.

But theoretically, someone could create a new 3.99GB image using dd and mkfs.ext3 as outlined in the first post on their device and use rsync to copy your current files over to the new image. At least this is how I plan on expanding my drive, I hope it works.
[Atrix 4G Android Development] joe ferreira:
yes I deleted my huge gnome install afterwords and restored my xfce4 install

here is how...

core install (350mb)

apt-get install xfce4

extras(73.2mb)

apt-get install xfce4-goodies

then reboot your phone...
[Atrix 4G Android Development] brunnogama:
How do I start XFCE4 automatically instead of Webtop interface standard, including the xfce-panel and DEBIAN xterm?
[Atrix 4G Android Development] joe ferreira:
don't you still want to be able to answer calls with the apps that moto provided?

with only a chroot environment you will not be able to access the Awn panel with the motorola phone app...
[Atrix 4G Android Development] krkeegan:
You can replace with AWM bottom panel with Xfce without losing the motorola built in functionality.

I have tried to do this mod:

http://xdaforums.com/showpost.php?p=14186815&postcount=159

But have not yet been successful. The tricky part is I have to run our chroot mount script when X is started. I have not successfully accomplished this yet, but I hope to be able to work out the kinks tonight.
[Atrix 4G Android Development] bioert:
I mean no disrespect kind sir. Thanks for answer me the questions. keep the Good work. I ask about ubuntu because I am more familiar to it, as many other user I see. Thanks again!
[Atrix 4G Android Development] dicksteele:
No worries. I may have been a little cranky from battling the ubuntu install for days. :eek:

The install will provide the ubuntu base. It gives you a more "complete" version of linux. It won't give you the desktop interface unless you want to do a lot of work modifying the webtop interface.
[Atrix 4G Android Development] dicksteele:
Yepper. Exactly. Until I did like you and used the good 2GB and copied it into the new image.
[Atrix 4G Android Development] dicksteele:
Good luck to ya. Hope you beat it. I tried a little and ran into library issues with xfce being inside the chroot and webtop not.
[Atrix 4G Android Development] prscarp:
Interesting.. Guess I just thought today's OS's would warn you or something :/ That does give me some ideas tho :)
[Atrix 4G Android Development] devbro:
office app

I really love this, I can now have my apps to go.

BUT

Has anyone tried open office? I used apt-get to install it but every time I open it the windows keep jumping up and down. Every annoying. It has driven me NUTS.

How did you install libre office? It is not in the repository.
[Atrix 4G Android Development] dicksteele:
Mounted the 4GB image OP made. It looks good. The scripts in /etc look right, like the working image.

When I copied over to SDCARD, Windows said it was 3.91 GB. I just built another image with

dd if=/dev/zero of=linuxdisk bs=1MB count=o seek=4096 (This worked for my working image)

Copy says it's 3.81 GB in WIN. Same as my working one. Copying to SDCARD now.

EDIT: It worked. Tar'ing it up now.

EDIT #2 :

It works.. Does come up with an error.

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

mount: according to mtab /mnt/sdcard-ext/WebTopMOD/linuxdisk is already mounted on /osh/opt/WebTopMOD/root as loop

(You only see the error if you run /ust/sbin/linux from lxterminal. It does not appear if you run it from Penguin icon.)

It still opens xterm. And it's 4 GB on /dev/block/loop50 which is mount point.

Download from

http://www.multiupload.com/33QVF8PDP1

Usual disclaimers apply. Use at your own risk. I accept no responsibility if your phone jumps up and rips out your heart like Susie Fuzznuts did in the 7th grade.
[Atrix 4G Android Development] dicksteele:
http://www.libreoffice.org/get-help/installation/linux/
[Atrix 4G Android Development] proalius:
It's works really good on my Atrix but....

...built-it firefox has stoped working....even unistalling.

Anybody know how can i restore Firefox?
[Atrix 4G Android Development] dicksteele:
Interesting. Is this with the image mounted? And not mounted?
[Atrix 4G Android Development] Big-A-Rob:
I used the easy install version 0.25 and everything installed fine, opened up xterm and installed chromium browser. My problem is that everytime I go to open a webpage it fails and I get the "Aw, snap" page. Has anyone else gotten this error? Anyone been successful in using chromium browser?
[Atrix 4G Android Development] starrwulfe:
I think everyone else is having the same issues... I also want chromium to work... Would make it crazy easy with the syncing of bookmarks, webapps, and addons.
[Atrix 4G Android Development] pederb:
Works and look great, but is there a way to put an icon on the desktop so I don't to type in the command that I keep forgetting to start Xfce4?

Cheers
[Atrix 4G Android Development] krkeegan:
OK, I successfully replaced the bottom "awm" dock with Xfce4-panel while keeping the top "aiw" bar and all motorola apps. Sorry, I am too busy to do screenshots until Friday at the earliest.

This is my initial quick and dirty way to accomplish this, I have no doubt that I am repeating some steps unnecessarily. As such, I am only writing the outline of my steps for those who know how to work in Linux. If you are not familiar with Linux I would wait for someone to revise my work.

Steps:

1. Install debian using this Mod (image size doesn't matter)

2. Run aptitude in the chroot (click penguin, run command in resulting xterm window)

3. Install "xfdesktop" and "xfce4-panel" and related dependencies. Something like 200MB or so.

3a. Create a startup script for xfce. (This is the part that is still kind of a poor hack.) To do this I copied the /osh/usr/sbin/linux script and altered it to launch xfce. I did this because I wasn't sure if the chrooted environment was mounted or not as part of fstab. Either way it works for now. I edited the last few lines of the /osh/usr/sbin/linux file.

Original section:

if [ -e /tmp/linuxdiskactive ]; then
if [ -e /tmp/fulllinuxchrootactive ]; then
startxterm
else
checkwhereislinux 0
startfulllinuxchroot
startxterm
fi
else
checkwhereislinux 1
mountlinuxdisk
startfulllinuxchroot
startxterm
fi

Revised code:

function startxfce4 {
sudo chroot $CHROOTDIR /usr/bin/xfce4-panel &
sudo chroot $CHROOTDIR /usr/bin/xfdesktop &
}

if [ -e /tmp/linuxdiskactive ]; then
if [ -e /tmp/fulllinuxchrootactive ]; then
startxfce4
else
checkwhereislinux 0
startfulllinuxchroot
startxfce4
fi
else
checkwhereislinux 1
mountlinuxdisk
startfulllinuxchroot
startxfce4
fi

This file is then saved as /osh/usr/local/bin/xfce4-enable.sh and chmoded 755

4. Use leafpad to edit the Tomoyo policy. (This is back on the un-chrooted webtop)

5. The domain policy is at /osh/etc/tomoyo/domain_policy.conf. You need to edit line 3000 to say: use_profile 2

This should be right below the following line:

<kernel> /osh/usr/local/bin/start-oshwt-2.sh

6. Use leafpad to edit the X startup scripts. (This is still on the un-chrooted webtop)

7. Edit /osh/usr/local/bin/start-oshwt-2.sh

Comment out the following lines:

sfalv -i "awm-autostart"

sfalv -i "webtop-wallpaper"

8. Add a the following line:

/osh/usr/local/bin/xfce-enable.sh

9. Restart the phone and you should be good.

Now I have a chrooted xfce4 panel running on the bottom of my screen. All of the motorola apps still work, but I have no shortcut to the motorola firefox or any other apps. Is there a way to "break chroot" and get back to the real root from within a chrooted application? Otherwise I think I am going to need some sort of launcher executed from the un-chrooted environment to get a shortcut.

Sorry, I know its a mess, but I wanted everyone to know that it is possible.
[Atrix 4G Android Development] joe ferreira:
OMG this would be awesome if SystemR89 added something like this in the next release :D

I would love to be able to go to a terminal and type aiw and get the phone app.

Then we could use any desktop environment we wanted and just create a desktop icon or panel to point to aiw.
[Atrix 4G Android Development] joe ferreira:
are you using gladiatrix like I am?

if you are then you have a button at the top that opens a lx terminal in the upper aiw panel. from their you should be able to exec aiw to open the phone app.
[Atrix 4G Android Development] pederb:
Just installed OpenOffice via Synaptic and it works, but is jumpy, it will not be still on the screen? Is this a Java issue or what?

Cheers
[Atrix 4G Android Development] krkeegan:
I am using gingerblur, but I have the same button for lxterminal. So I can open that and type "firefox" if I need to. The phone app is still running, so that isn't an issue.

I would just like to have some shortcuts to the firefox browser, the Media Center and whatever else Moto has on there. I have looked around and I have a surface level understanding of using chdir and chroot to "break out of the chroot." I have found a perl and python script which will accomplish this for me. In theory I can use one of these scripts to make shortcuts to the Moto apps in the Xfce panel and I am all set.
[Atrix 4G Android Development] joe ferreira:
Could shortcuts be added to the top panel of awn like lxterminal is added?

Wouldn't we really only need the following added to the top?

Mobile View

Dialer

Contacts

Messaging

Entertainment Center
[Atrix 4G Android Development] krkeegan:
Mobile View is always running, so we could probably even get rid of that. But don't forget leafpad.

However, we may want to add other apps, such as a file browser. None of the apps that we spawn in the chroot will have access to the root of the phone, and as a result will not be able to edit/alter/view/create files outside of the chroot. One of the nice features of the lapdock is that it makes an easy development tool for tinkering with the phone.

Unless we can make a drop down list from the top bar, this list might become unwieldy.

I am not familiar with the top panel. Is that a complete Moto creation? or is it a linux app that has been altered by moto? Moto calls it "aiw" i believe. At first glance I do not see any linux apps with that name.
[Atrix 4G Android Development] joe ferreira:
ok I just used xwininfo from the debian terminal and was able to get the window id info for the top panel

xwininfo: Window id: 0x1600004 "webtop-panel"

edit : this "webtop-panel" appears to also run as a service because I killed it with xkill and it reloads :(
[Atrix 4G Android Development] dicksteele:
I could have sworn when I started my xfce4-panel, you click in the lower left corner and the motorola programs are listed under accessories or something like that.

EDIT: it was lxpanel. not xfce4.
[Atrix 4G Android Development] devbro:
install koffice instead. then use kword or kspread.
[Atrix 4G Android Development] joe ferreira:
Koffice is the KDE office suite. it requires kde and that will take up alot of space.

I installed gnome once and had 23 mb free afterwards. kde with the office addons is not going to fit on the 2 gb image.

edit: let me correct myself. koffice does not require the entire kde-desktop but many of the core components. it still won't leave much room.

Why can't you just use google documents?

This is a cloud computing webtop after all...
[Atrix 4G Android Development] naplesbill:
Well, I have been installing and following this development pretty much since it began. I am currently using the 4GB image and I'm using gnome-session over the top of the webtop items. I still have a lot of tweaking to do, and I'll likely be wiping my phone and starting from scratch. So far, the following screen shot is what I have:

I still have some tweaking to do, and I'm getting some errors while it loads gnome-session. I have a little over half a gig of space left, so tweaking is going to be necessary.

Also, I am just using the Gnome Office products for now.
[Atrix 4G Android Development] pederb:
I installed the java version of OpenOffice and it works great.

Thxs
[Atrix 4G Android Development] pederb:
How do you do screen capture like that?

Cheers
[Atrix 4G Android Development] naplesbill:
I used an app called Shutter.
[Atrix 4G Android Development] pederb:
Here is my LapDock

Cheers
[Atrix 4G Android Development] pederb:
Have a quick question, I noticed that there are different sizes of the Debian image, what are difference and should I use 4 gig one instead of the one in the description?

Cheers
[Atrix 4G Android Development] prscarp:
They just allow for more free space to play around with. With the 2gb img, people were running out of space after installing a few programs. The 4gb img is the same thing, just more space :)
[Atrix 4G Android Development] pederb:
Ok, I see, can change image, or do you have to start all over?

Cheers
[Atrix 4G Android Development] naplesbill:
I would suggest using the 4GB image. Otherwise you will run out of space rather quickly.
[Atrix 4G Android Development] prscarp:
It's possible.. but you would have to create a new 4gb img, mount both, and copy over everything from the 2gb img. It would probably just be easier to start clean
[Atrix 4G Android Development] samcripp:
has anyone tried installing the sdk?
[Atrix 4G Android Development] devbro:
Not everyone uses data plan or solid internet connection, such as me. So being able to take some applications such as office on the road is very nice and productive. I am well aware that koffice would eat a lot of space but if I use a 4GB image most of the problem can be considered solved.
[Atrix 4G Android Development] devbro:
May I ask what is the name of the packages that you used? I am very curious to try it myself as I prefer open office to koffice.
[Atrix 4G Android Development] Big-A-Rob:
I tried doing this and it install the 3.6.xx version of Iceweasel. I even imported the key and everything, but when I go to update the sources I get this error:

W: Failed to fetch

http://mozilla.debian.net/dists/squeeze-backports/Release Unable to

find expected entry iceweasel-4.0/binary-armel/Packages in Meta-index

file (malformed Release file?)

Were you able to install v4?
[Atrix 4G Android Development] pederb:
I use Synaptic for all my installs and if you type in openoffice and look for openoffice.org-officebean.

Cheers
[Atrix 4G Android Development] pederb:
Where can I get a good working 4gig image?

Cheers
[Atrix 4G Android Development] samcripp:
Sorry to ask again! but has anyone manage to install the Android SDK on WEBTOP?
[Atrix 4G Android Development] prscarp:
The one that dicksteele posted a few pages back works just fine.

http://xdaforums.com/showpost.php?p=14323151&postcount=278

I have not tried myself but doesn't it need to be made for the ARM architecture? I don't exactly know how Debian is running in the webtop but I'm pretty sure it isn't going to work. Only a guess though
[Atrix 4G Android Development] pederb:
I'm I the only one who has issues with Flash Player in Ice Weasel?

What browser are you guys using?

Cheers
[Atrix 4G Android Development] quejo:
Have done it but synaptic is not opening on xfce
[Atrix 4G Android Development] prscarp:
There aren't many icons that work for me either in xfce, I don't really know why
[Atrix 4G Android Development] proalius:
Hi all, i had deleted the TAR file from my webtop ubuntu (it's a long history...) , please , can anybody copy this file and send it to me?

My email es abiencinto @ hotmail.com and mi skype is abiencinto.

I'll be very grateful !!!
[Atrix 4G Android Development] dicksteele:
It's on first page of this thread....

http://xdaforums.com/showthread.php?t=1093790

I think that's the tar you're talking about. That tar in the multiupload download links has the 2GB linuxdisk image.
[Atrix 4G Android Development] fincan:
Does the uninstaller for v0.2.2 works for uninstalling v0.2.5?

I am going to install this debian mod but I just wanted to be sure before doing that so I can uninstall it if I need to (e.g. for software upgrades)
[Atrix 4G Android Development] prscarp:
I am going to say I'm 80% sure that the 0.2.2 uninstall will work, the updates after that version only fixed problems with the current files. This mod is definitely worth it though, it lets you do SO much more with the webtop! The worst that could happen is you will have to do a SBF restore when an update comes out :P
[Atrix 4G Android Development] fincan:
Hehe which is exactly what I'm trying to avoid but oh well, I cannot resist the urge for Debian!
[Atrix 4G Android Development] techiesam:
I am unable do apt-get update

It stops at 0% connecting to ftp.debian.org

Nothing happens..

unable to install anything..please help
[Atrix 4G Android Development] prscarp:
Did you happen to change to wifi after you clicked the penguin icon?
[Atrix 4G Android Development] techiesam:
yes..i can surf in firefox
[Atrix 4G Android Development] devbro:
Just out of curiosity, has anyone experimented with formatting external SDcard with ext3 and unzip debian there? Will it work? what would be the limitations of this approach?
[Atrix 4G Android Development] prscarp:
If you change from 3G to WIFI after clicking the penguin icon, the internet settings dont work right. You just have to close everything out and click the penguin again to start debian AFTER you have chosen your method of connecting to the internet.
[Atrix 4G Android Development] prscarp:
Will it read the SD card if you did? I would think so but I don't really know. I may try it :) the only limitation that I can think of would be that you couldn't manage your files from a windows pc

EDIT: Nope, it is unrecognized on the phone. Tells me "SD card blank or has unsupported filesystem"

Oh well..
[Atrix 4G Android Development] devbro:
I guess that was simply an idea that wouldnt work. I wonder if it is possible to modify a linux image to use /mnt/sdcard-ext/ instead of / for its root :P
[Atrix 4G Android Development] SolidHelix:
can i copy an ubuntu disk when using the easy method? i just made a 4gb ubuntu disk with rootstock in ubuntu 11. the image came out as 3.81Gb in windows but will not load when i click the penguin after replacing the stock 2gb file that went with this mod
[Atrix 4G Android Development] dicksteele:
Check your resolv.conf. There is probably no nameserver entry.

Add nameserver 8.8.8.8

It's a google DNS server

EDIT: didn't see you can surf. But still check it after starting the debian load.
[Atrix 4G Android Development] dicksteele:
I spend two days trying to get a non-debian image to run. So I made a four gig using the original 2 gig. (search this thread, it's posted in here)

There are scripts inside the working image that I have no had time to see is what necessary to make a non-debian image run.

Open an lxterminal window and type in /usr/sbin/linux.

You will see the errors on what doesn't work.

EDIT: and the answer to your question on the copy is yes.....
[Atrix 4G Android Development] dicksteele:
What about if you format 8 GB fat32 and 8 GB ext3 ?

EDIT: Ext2 Installable File System For Windows

The Ext2 Installable File System For Windows (which supports ext2 and ext3!) can be downloaded from http://www.fs-driver.org/index.html. During the installation you will be asked to assign a drive letter to your Linux partitions (e.g. L:); you don't need to assign a drive letter to your swap partition