yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Djazin:
Try using "exit" within xterm before you unplug or turnoff the monitor I think I saw that being mentioned somewhere I haven't been messing with this since the op came out with the 2gb images for debain

Edit more to add: Working on downgrading within the image to lazy to install in a vm with a new one thought it might help future functions working off the info here for downgrading though also might play with the sources and recommended packages before doing anything with it
[Atrix 4G Android Development] starrwulfe:
The image is 4294966272 bytes.... What is it supposed to be in order for this to work?

I did do "exit" inside of Xterm before-- and it exited clean. As soon as I shut my monitor on the webtop, it unmounted the SDcard and any apps that live there started erroring out, along with their icons disappearing.

There has to be a way to dismount the image cleanly (or let it stay mounted) when switching back into phone mode--otherwise this is a useless hack for me.

BTW, I'm using a 4GB image of Debian Squeeze, posted a few pages back. I've done the symlinking to keep internet up whenever I drop 3G and use wifi and vice-versa. I only run XFCE-panel, IceWeasel, and OpenOffice (which run like a champ too!

Using my 16GB external SD to host the image.
[Atrix 4G Android Development] dicksteele:
That was the 4GB ubuntu image I created for myself from krkeegan 2GB image. I did it the same way I did when I built the 4GB debian image. so I'm wondering if

Copied my image back to ext sdcard, working fine.
[Atrix 4G Android Development] krkeegan:
So SystemR89 originally suggested unmounting the chroot("Mod-Root") environment prior to unplugging the HDMI. Originally I though this was because of the need to recopy hosts and resolv.conf files every time ("to which I have already suggested a solution").

However, I am now discovering that there are other issues associated with failing to unmount the Mod-Root. First, the sdcard or sdcard-ext cannot be unmounted and shared through the USB connection. Second, sometimes I am simply unable to unmount the Mod-Root evironment for some reason. Presumably some library or file is still loaded that is preventing the umount. Finally, as we are all aware the FAT partition limits us to 4GB.

My conclusion is that storing the linuxdisk on the FAT partition and mounting it through a loop device is simply too problematic and annoying. The solution is creating a new partition. I tried the instructions that I posted in an earlier thread but ran into an issue in that our CM recovery does not have adb shell access. I tried unmounting the sdcard-ext and using parted, but it kept throwing errors that suggested it was not completely unmounted. My one glimmer of hope is Sogarth's webtop2sd apk that he is taunting us with. His program should allow us to partition the sdcard-ext.
[Atrix 4G Android Development] starrwulfe:
I'm seeing the same thing-- it's impossible to have the CHROOT environment working 100% of the time... I had a clean umount about 1 out of 8 times over the last week or so.
[Atrix 4G Android Development] prscarp:
Well it seems like this isn't the case but I'm just gonna take a swing in the dark here, let me know if this makes sense. Does the allocation unit size have an effect here? If you make an image that is exactly 1 byte less then 4 gigabytes and the allocation unit is, say, 8 kilobytes on the sd sard. Won't it need to allocate the full 8 bytes which may put it over the limit of fat32 causing a corrupt file?

I checked my internal and sd card and the internal was using 32 kilobytes as its allocation unit and the sd card was 8 kilobytes. With that, wouldn't you need to make the image at least 32 kilobytes smaller than 4 gigabytes so there is no chance of a corrupted image?

I hope that makes sense, it does in my mind but that never means much :P
[Atrix 4G Android Development] s1mpd1ddy:
hi guys, im a noob at linux, so I'm trying to learn all this stuff on the fly.... I know how to get packages and install them and uninstall them now using apt.. what I'm wondering is..

1) how do you get a list of recently installed packages? I did dpkg -l but that shows every single thing.. is there another way to show recently installed stuf?

2) I installed Pidgin and GIMP.. and that's pretty much all I need... how do I add icons to the desktop? I saw that some of you have icons on your desktops.. if you can help me with that, that would be greatly appreciated.

Thank you in advance
[Atrix 4G Android Development] aver2one:
I can help you with question #2 I assume you are using xfce4 as the desktop? if so... right click the desk top and hit "create luncher".then name it "gimp" for this example then click that browse folder to the right of where it says "command" and choose the executable..in this case choose gimp. then for the icon click where it says "no icon" and choose the one you want then hit "create"

Also I would recommend using synaptic as the package installer since it is a graphical user interface (GUI) it is a lot easier to manage what you have and to search for packages.
[Atrix 4G Android Development] s1mpd1ddy:
i did not have xfce4 but now I'll instal it and try it out. And I'll also get synaptic, thanks for the help! I'll report back if I have any issues..

Linux is brand new to me so i have no idea how anything works lol. But I'm curious and I love tinkering with gadgets so this is a great learning experience for me.

I have the 2GB image.... I'm guessing I'll probably need the 4gb image eh?
[Atrix 4G Android Development] aver2one:
Ok cool, and yeah i would definitely get the 4gb image a few pages back from dicksteele http://xdaforums.com/showpost.php?p=14323151&postcount=278. This hack made me get the lapdock.. it's awesome! Also I can't wait for sogarths new method coming soon.
[Atrix 4G Android Development] krkeegan:
I am not a linux guru, but I did stay at a holiday in express once.

Your question is a good example of why synaptic is nice. If you use synaptic you can access your history under File->History. Not sure if synaptic will show a history prior to its installation.

The other option is your logs. Keeping in mind that the logs rotate and you may need to go look at an older version, but this command should get you what you want:

cat /var/log/dpkg.log | grep "\ install\ "
[Atrix 4G Android Development] pederb:
Have not hear about sogarths new method that is coming, can you send a link? or is it webtop2sd you talk about?

Cheers
[Atrix 4G Android Development] aver2one:
Yes I was talking about webtop2sd
[Atrix 4G Android Development] pederb:
Yea I,m waiting for it too

Cheers
[Atrix 4G Android Development] Viamonte:
I applied the Debian 4GB image, but when I try to install any packages, it says there are unmet dependencies. when I go apt-get -f install, it asks me if i want to go ahead and kill 80MBs, then begins tyring o connect to 10.77.32.150, but always fails, and tries eternally.

HALP!
[Atrix 4G Android Development] Djazin:
Has to do with the sources list and the recommended aps value, I've been trying to install gedit to change this on my end but gedit alone asks the system to add 123 other packages >,> really wishing I knew how to use vi to edit right now >,<
[Atrix 4G Android Development] Viamonte:
Maybe, but i would have no problem making the changes. What is bothering me is how NO download in this hack's terminal is working, they all fail to connect.
[Atrix 4G Android Development] aver2one:
Sounds like your repositories are out of date..Just curious... did all of you guys with these problems run the command:

apt-get update

If you didn't then do it and then try to download something after.. should work
[Atrix 4G Android Development] Djazin:
Im assuming you did "sudo apt-get update" to compile an updated sources list and when doing "sudo apt-get install gedit" would just enter onto the next line? if so... you'll have to replace the image unless someone knows of another method to fix this happened to me twice.

Edit: took me 45 minutes to pull inventory before I could hit enter >,< try what the aver2one said
[Atrix 4G Android Development] pederb:
I never use the sudo command and I have no problems downloading anything except Flash, but I think that is of other reasons.

Cheers
[Atrix 4G Android Development] dicksteele:
Where are you running sudo apt-get update ? I don't think you are in the chroot env.

You should be running apt-get inside the xterm window launched when kicking off the chroot. Which you are already root so you don't need to sudo.

That's where the 4GB image environment resides.
[Atrix 4G Android Development] krkeegan:
For those that are trying to edit files:

Remember, leafpad is installed on the Moto-Root. To edit files that reside in the Mod-Root you need to click the penguin icon and let xterm load. Then in the lxterminal in the Moto-Root you need to run:

sudo leafpad /osh/opt/WebTopMOD/root/etc/apt/sources.list

That should get you what you need.
[Atrix 4G Android Development] Djazin:
answered via prior post
[Atrix 4G Android Development] Viamonte:
When I click on the penguin, all it shows is a small screen on the left lower corner of the lapdock saying "image found (blabla)", then I click on OK and it disappears. Then I open the prompt, but it still looks exactly like before i click on the penguin. Is something missing?

Oh yes, and if i apt-get update, it also fails to connect to 10.77.32.150.
[Atrix 4G Android Development] pederb:
I just click on the penguin and type in xterm:

apt-get update

To edit sources.list.

# cd /etc/apt/

/etc/apt/# nano sources.list

Cheers
[Atrix 4G Android Development] andreitu:
I am having sort of the same problem.

I installed with the 2.2 script as it is the only one I found that doesn't do the assess before installing in CWM.

I got apt-get to work in lxterm by changing the sources.list file but anything I try to install fails because of missing dependencies.

I'm pretty sure I'm not running the chrooted terminal, but when I click on the penguin it gives me the same thing as above (found image blablabla) and that's it...

Is there a way I could play with the 2.5 zip to disable the assess?
[Atrix 4G Android Development] Djazin:
Been having alot of luck with installations after following this small part of config from Sogarths method here

If the file is not their create one works just the same

Doing this kills all the bloat recommended packages when installing worked like a charm on the 4gb debain image that was posted, been running into problems on the 2gb natty gonna retry later

Oh and I've been just launching the penguin to get into the environment just fine and been using exit to get out reboots fine no probs there so far.
[Atrix 4G Android Development] Viamonte:
Maybe i'll just go back to Sogarth's project... it's more noob friendly.

Considering I used the process in the OP to install the 4GB image from mid-thread, how would I go about unninstalling it safely?
[Atrix 4G Android Development] SolidHelix:
Anyone able to tell me how i can start the Linux script and bypass the xmessage to acknowledge the linuxdisk upon docking? Instead of clicking the penguin
[Atrix 4G Android Development] dicksteele:
Ya lost me....

Open what prompt ? LXterminal ?

If after clicking OK in the image found window, another window DOES NOT pop up (xterm window) then something is whorked.

In an LXTERMINAL window type in /usr/sbin/linux. Post results.

Not sure if this really makes a difference, but I don't have a lapdock. I'm using the Webtop via HDMI mod.
[Atrix 4G Android Development] dicksteele:
In an LXTERMINAL window type in /usr/sbin/linux

I think msg still pops up. Don't remember ...
[Atrix 4G Android Development] pederb:
Not sure how it is working for you, but when I dock the motorola webdock desktop starts and then I click on the penguin and the linuxdisk confirmation shows up then xterm opens up and I type "startxfce4 since I have Xfce4 installed and I'm ready to go.

Hope this helps

Cheers
[Atrix 4G Android Development] Viamonte:
Exactly, no other screen appears after i click on "ok", so i just try to install from lxterminal.

When inputing your comand, it says "acces control disabled, clients can connect form any host" and the screen saying he foudn an image appears again. But this time, when I click on "ok", it basicaly says nothign exists, and nothing oculd be found, on a long list of /osh/ stuff...
[Atrix 4G Android Development] SolidHelix:
Yes I know that. I have already modified the Linux script to run xfce4 automatically when I click the penguin. I want the Linux scrippt to run upon docking. Instead of clicking the penguin and clicking ok. I'm not sure you understood my question
[Atrix 4G Android Development] dicksteele:
And the image is named linuxdisk and it is on your external sdcard under a directory named WebTopMOD ?
[Atrix 4G Android Development] dicksteele:
Don't remember where it is, (don't have my hdmi cable to look for it) but there is a script called startwebtop.sh I believe. Since you modded the linux script to start xfce4, you should be able to start the linux script in the startwebtop script.

I know I've seen it in the forums. Search is disabled right now can't look for it.

In your linux script you are going to have to remove the section that pops up the msg also.
[Atrix 4G Android Development] Viamonte:
No, i misunderstood the OP and put the image with its original name on the path WebTopMOD/linuxdisk/(image). What do I need to do to fix that, simply rename and replace to the right spot?

EDIT: I just renamed and relocated the image, result didnt change.
[Atrix 4G Android Development] SolidHelix:
Gotcha. Thanks. Obviously I was too lazy to read the Linux script. Ill see if I can't find that startwebtop.sh
[Atrix 4G Android Development] Viamonte:
Umm... used the original image from the OP and it worked. Seems like the 4GB version is broken. Alas, makes sense, since its 90MB, when the 2GB is 120.

EDIT: And.. why the freck does openoffice screwsup my notification bar on the lapdock?
[Atrix 4G Android Development] dicksteele:
Glad it's working for you, the image. It doesn't make sense though.

The 4GB image is the same as the 2GB except size of course. Not sure where you're getting the 90 MB. When you copy from a windows machine to your sdcard it should be 3.81 GB.
[Atrix 4G Android Development] Viamonte:
I meant the size of the zipped file.

Anyway.. why cant i see my phone storage from VLC? I believe its because it runs chrooted? How do I fix this?
[Atrix 4G Android Development] xandr115:
you have to use the chrooted terminal, and launch "VLC-wrapper" so you can run VLC as root instead. VLC doesn't play audio though.
[Atrix 4G Android Development] Viamonte:
I did that, but when looking for files, all it gives me are folder "home" and a subfolder "adas" which i found on the device but, sent a movie to it and it didnt appear on VLC
[Atrix 4G Android Development] SolidHelix:
If you browse to "filesystem" do you see folders sdcard and sdcard-ext? That's how I access the phone and sdcard
[Atrix 4G Android Development] Viamonte:
umm, for some reason going "up" several times now worked beyond "home" and put me back on the cellphones files. Thanks.

I still got a question regarding openoffice... is it java based? or flash? Because it's screwing with Motorola's notification bar on the top of the webtop, and its animations in-program arent working correctly.

And on VLC, performance is pretty horrid. The same video that plays fine on Mobo Player on the maximized Atrix screen on the lapdock, runs liek crap on maximized VLC. Any thoughts?

Another thing I thought... any way to insert more codecs with the Entertainment Center? Its performance is far greater than anything else, but it doesnt run much.
[Atrix 4G Android Development] dicksteele:
Video support threads ...

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

http://xdaforums.com/showthread.php?t=1073361
[Atrix 4G Android Development] pederb:
You mean that the bar is jumping? if you avoid to run the app in maximized window it works, sometime you have drag the window down from the bar for it to stop jumping. The Java version of Open Office works a lot better but still has problems.

Cheers
[Atrix 4G Android Development] Viamonte:
Yes I mean the bar keeps jumping. And while I do realize there's a way to avoid the office window from jumping too, the bar alone is highly distracting after 1 hour of typing. I did find out, however, that if you open office, pull out your phone from the lapdock then insert it back in, your motorola notifications bar will have disappeared. That not only avoids distractions, but it opens up a bit more space for your office maximized window without using "Full Screen"

About the videos, I'm exploring those threads now and will report back.

EDIT: Fail. While the compression and conversion methods do work to run 720p on the cellphone (which hardly makes a difference, since 480p looks just as swell on a 4" screen), the entertainment center on lapdock still fails to run the movies. Which begs the question of why? I thought they were the same thing? Oh well.
[Atrix 4G Android Development] krkeegan:
Succesfully Partitioned sdcard-ext with a 6GB Ext3 Partition

Great news. I was able to partition my sdcard-ext to have a 6GB ext3 partition and then rsync over my Mod-Root environment.

This has two benefits:

1. More room (I have a 16GB sdcard so I could have made it bigger if necessary)

2. No more issues with unmounting. I can now mount the regular sdcard-ext as a drive through the usb without unmounting the mod-root environment.

How I did it:

It was very simple. I just followed the general instructions that I talked about here. The sdcard-ext is /dev/block/mmcblk1.

When I have some time I will try and post more detailed instructions. When I have a lot more time, I may try modify easy-signed.zip to perform all of the necessary steps (this would take a lot of time and I could probably use some help if anyone is interested.)

Picture below as proof.
[Atrix 4G Android Development] dicksteele:
Dude its a phone, bastardized into becoming a laptop. You can't expect it to run perfectly on everything.

You want something that drives like a BMW. You buy a BMW. Not busting your balls, much, but .... This phone does some cool ****, but you can't expect it to be a duo core PC.
[Atrix 4G Android Development] Viamonte:
You got me wrong, I'm not complaining, I'm asking if someone else found a solution. And my living hope that someone could have is based on the fact all those shortcomings are obviously software-based.

For example, If I can ran full HD games on a Xoom (something that is rendered on real time) with the same hardware, why cant I play 720p movies (something that is pre-rendered) on the Atrix?

It happens that I can, but not on mkv. All I have to do is convert it to mp4 and boom, I can even run 1080p content (which looks pretty crazy with HDMI mirroring on a 23" monitor).

Which demonstrates I can NEARLY certainly run 1080p content on the lapdock, but there is something missing, and if someone know how to put the pieces on the right places, I would certainly like to know.

So my only doubt now is if someone knows of a way to improve video quality on the lapdock. And while those treads tackle the issue on the phone itself, we're talking of parallel processing with linux (and I'm looking for a linux-based answer), so I think this question belongs here rather than there.
[Atrix 4G Android Development] dicksteele:
Gotcha. My apologies.

Unfortunately I think it's too early to expect anything. Most of us are still trying to find out how, what and where Motorola hacked together their interpretation of a workable linux, with the webtop. The chroot has kicked up a notch in just the last 60 days.

Unless one of the folks who hacked it together becomes generous and enlightens all of the structure, or someone dedicates their live to figure out the build. It's going to take a while. We've come along way in a short time. But if it will happen anywhere, it will be here.
[Atrix 4G Android Development] arohrmann:
WebTop Copy

Is there someone, who as got an copy of files of webtop?

I put ubuntu, then debian and did some aptget installs.

Now when I plug HDMI there's no good resolution. With config Icon in menu display I can't select any resolution :-(

Is it the xorg.conf or where is config for webtop?

Is it posible to "reset" webtop?

Or someone has got the latest upgrade image to overwrite the broke one?

Update:

My ATRIX is AT+T System 4.1.83 , Model MB80 , Baseband N_01.77.15P , Build OLYFR_U4_.8.3

WebTop OSHWT_U1_4.257.30

Do someone knows, how WebTop works and which files are for Android and which for WebTop?

Is everything in the directory OSH for WebTop only?

Thanx
[Atrix 4G Android Development] Viamonte:
Both webtop hacks have uninstallation procedures which are best followed to avoid that kind of problem. And they probably shouldnt be used together. But to asnwer your question, I dont know exactly what are the standard webtop files, so I cant help much... but once i destroyd my webtop, all I had to do was Titanium Backup my stuff and start from scratch. The only thing you should lose is your homescreen configuration.
[Atrix 4G Android Development] techiesam:
Netflix

does anybody knows how to watch netflix in Ice-weasel ?

I have installed moonlight-core and moonlight-mozilla pugins..
[Atrix 4G Android Development] joe ferreira:
I have no sound. So I have not played with netflix
[Atrix 4G Android Development] Viamonte:
Haveu tried using a headphone? Or bluetooth, for that matter? Or is it codec related? Because my lapdock continualy refuses to redirect media sound to its loudspeakers, so usually only phones work.
[Atrix 4G Android Development] joe ferreira:
I have sound in motos firefox not in chroot
[Atrix 4G Android Development] rredlin:
I was hoping for a step by step for this mod...

I have root, and CWM recovery and 1.8.3.

any chance on helping a noob?

Ive installed roms and modded all kinds of wm phones, but this droid kinda worries me.

Thanks in advance.

BTW ive read through this thread a dozen times, and I am still concerned ill brick my atrix.

I really, need JAVA JRE to run for my works web page, other then that I love my phone, does all I need and more!
[Atrix 4G Android Development] makr8100:
I found a little more on the broken LXterminal issue - using sudo apt-get from LXterminnal says there's a bunch of dependency issues, run apt-get -f install. I did that, and the server can't be found, it times out. I tried running from xterm which always runs as root and apt-get worked and didn't complain about the same dependency issues. Some software installed properly, and now i have a working synaptic and OpenOffice (wish LIbreOffice was in original Debian repos already). Next thing I did was try to get some KDE apps I can't live without - konversation and kontact - and after install I got dbus errors while trying to run. I also noticed that when i try to run apps from LXterminal after they've been installed from xterm I get "command not found". Where did they go? Are there 2 instances of Linux running or something?
[Atrix 4G Android Development] pederb:
Follow the instructions on page one and you are good, that's what I did and I have never touched a Android phone before.
[Atrix 4G Android Development] pederb:
Do you have the KDE installed? I don't think KDE programs works w/o KDE installed.

Cheers
[Atrix 4G Android Development] Viamonte:
Yes, that's exactly whats going on. Ubuntu 8 locked running by Motorola, and Debian running by script. So no, you wont be able to install or run anything from LXTerminal.