yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] Automatisator:
I have a problem with /osh :(

df -i

Dateisystem Inodes IBenutzt IFrei IUse% Eingehängt auf
tmpfs 104358 332 104026 1% /dev
tmpfs 104358 1 104357 1% /mnt/asec
tmpfs 104358 1 104357 1% /mnt/obb
/dev/block/mmcblk0p12 81984 1824 80160 3% /system
/dev/block/mmcblk0p16 131072 3600 127472 3% /data
/dev/block/mmcblk0p15 40960 13 40947 1% /cache
/dev/block/mmcblk0p3 504 38 466 8% /pds
/dev/block/mmcblk0p13 49152 37780 11372 [B][COLOR="Red"]77% /osh[/COLOR][/B]
/dev/block/mmcblk0p17 176704 26298 150406 15% /preinstall
/dev/block/mmcblk1p2 261632 199254 62378 77% /mnt/gentoo
/dev/block/mmcblk0p17 176704 26298 150406 15% /preinstall/var
rc-svcdir 104358 51 104307 1% /osh/lib/rc/init.d
cgroup_root 104358 6 104352 1% /sys/fs/cgroup
shm 104358 1 104357 1% /dev/shm

df

Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
tmpfs 417432 44 417388 1% /dev
tmpfs 417432 0 417432 0% /mnt/asec
tmpfs 417432 0 417432 0% /mnt/obb
/dev/block/mmcblk0p12 317392 285980 31412 91% /system
/dev/block/mmcblk0p16 2064208 180012 1884196 9% /data
/dev/block/mmcblk0p15 645056 16904 628152 3% /cache
/dev/block/mmcblk0p3 1980 1060 920 54% /pds
/dev/block/mmcblk0p13 [B] 774064 753844[/B] 0 [COLOR="red"][B]100% /osh[/B][/COLOR]
/dev/block/mmcblk0p17 331079 140482 190597 43% /preinstall
/dev/block/mmcblk1p2 4118848 1824264 2085356 47% /mnt/gentoo
/dev/block/mmcblk0p17 331079 140482 190597 43% /preinstall/var
rc-svcdir 1024 60 964 6% /osh/lib/rc/init.d
cgroup_root 10240 0 10240 0% /sys/fs/cgroup
shm 417432 0 417432 0% /dev/shm

??? :(

how can I fix the problem?
[Atrix 4G General] ravilov:
Need to delete some stuff off your webtop partition.
[Atrix 4G General] Automatisator:
I have also been made, it is always at 100%....

see without libreoffice:

/dev/block/mmcblk0p13 [B][COLOR="Red"]756M 729M[/COLOR][/B] 0 100% /osh

?

fsck can not run, I have to unmount the internal memory,,, Linux also does not ....? via adb shell it (fsck) can not find /etc/fstab.... ?

I tried to format through CWM osh (ext3)., .. without success, it remains at 100% is not fully ...?
[Atrix 4G General] ravilov:
OK, that's just weird. Somethings fishy is going on here.

Are you rooted? Have proper (full) busybox/toolbox installed? If so, try running this in adb shell (preferrably by copypasting commands, to avoid possible typos and mistakes).

umount /dev/block/mmcblk0p13 || mount -oremount,ro /dev/block/mmcblk0p13
e2fsck /dev/block/mmcblk0p13
mount -oremount,rw /osh || mount /dev/block/mmcblk0p13 /osh

And then copypaste exactly what it says.
[Atrix 4G General] Automatisator:
yes

ok:

adb shell

cd /osh/

mv etc etcx

reboot

then:

umount /dev/block/mmcblk0p13

e2fsck /dev/block/mmcblk0p13

e2fsck 1.40.8 (13-Mar-2008)
/dev/block/mmcblk0p13 has been mounted 102 times without being checked, check fo
rced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p13: 36530/49152 files (0.2% non-contiguous), 182368/196608 bl
ocks

reboot

no change ... df say 100% :(
[Atrix 4G General] Lokifish Marz:
df command is not accurate, especially in adb, as it rounds up the usage percentage. This rounding up will cause issues once you get to that false 100% and try pushing files via adb. It also tends to hose adb format attempts as well. I ran into this when I started my project for the Atrix and the only easy way I found that worked to format /osh was from CWM. I now build on the Photon, tar.gz /osh, then untar to the Atrix. This is not an ideal solution for most people but in my case, it's the only solution.

My suggestion is format /osh via CWM and start over, avoiding adb when possible.
[Atrix 4G General] crnkoj:
I've posted a few hosts back how to use a partition on the external sdcard for /osh/usr which eliminates all the hassle with storage running out (since most stuff in a gentoo installation is saved undesirable /osh/usr). As to say so it's very simple to set up, once you know the fact that the partition needs to be mounted to /osh/usr through init.rc on bootup. I myself have not seen any performance decrease due to this-some do, but my sdcard is a class 10 with read/write in the 20 do 10mb/storage ranges.
[Atrix 4G General] Automatisator:
:good:

Thanks!

too many icons was the problem ... I have the /usr/share/icons/* moved into /preinstall/icons/

ls -la /preinstall/icons/

drwxr-xr-x 6 root root 1024 23. Sep 04:52 .
drwxr-xr-x 5 portage portage 1024 23. Sep 04:47 ..
drwxr-xr-x 12 root root 1024 23. Sep 03:41 Tango
drwxr-xr-x 10 root root 1024 23. Sep 03:40 gnome
drwxr-xr-x 15 root root 1024 23. Sep 05:03 hicolor
drwxr-xr-x 4 root root 1024 23. Sep 03:40 locolor

ls -la /usr/share/icons

lrwxrwxrwx 1 root root 23 23. Sep 04:51 Tango -> /preinstall/icons/Tango
lrwxrwxrwx 1 root root 23 23. Sep 04:48 gnome -> /preinstall/icons/gnome
lrwxrwxrwx 1 root root 25 23. Sep 04:50 hicolor -> /preinstall/icons/hicolor
lrwxrwxrwx 1 root root 25 23. Sep 04:52 locolor -> /preinstall/icons/locolor
drwxr-xr-x 4 root root 4096 23. Sep 03:40 webtopicons

df -h

Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
tmpfs 408M 44K 408M 1% /dev
tmpfs 408M 0 408M 0% /mnt/asec
tmpfs 408M 0 408M 0% /mnt/obb
/dev/block/mmcblk0p12 310M 280M 31M 91% /system
/dev/block/mmcblk0p16 2,0G 823M 1,2G 41% /data
/dev/block/mmcblk0p15 630M 17M 614M 3% /cache
/dev/block/mmcblk0p3 2,0M 1,1M 920K 54% /pds
/dev/block/mmcblk0p13 [B]756M 672M 46M 94% /osh[/B]
/dev/block/mmcblk0p17 324M 197M 128M 61% /preinstall
/dev/block/mmcblk1p2 4,0G 1,8G 2,0G 47% /mnt/gentoo
/dev/block/mmcblk0p17 324M 197M 128M 61% /preinstall/var
rc-svcdir 1,0M 60K 964K 6% /osh/lib/rc/init.d
cgroup_root 10M 0 10M 0% /sys/fs/cgroup
shm 408M 0 408M 0% /dev/shm
/dev/block/vold/179:33 11G 1,7G 9,2G 16% /mnt/sdcard-ext

:)

how I can update from xfce 4.8 to 4.10?
[Atrix 4G General] dopamine5ht:
XPCOM error with firefox

I did until I remembered my solaris years.

It turns out I looked into the directory and my case libxul.so and libxpcom.so

were sitting there in /usr/lib/firefox and then it hit me. I need LD_LIBRARY_PATH or something.

So I added the following:

echo /usr/lib/firefox > /etc/ld.so.conf.d/06firefox.conf

ldconfig

I was missing one more library libffi and emerged that:

emerge libffi

firefox launched. I am so happy.
[Atrix 4G General] dopamine5ht:
gentop2 dns

not only that, after some detective work. I noticed it has to be setup as chown root.1000 /etc/resolv.conf so the phone system settings can write to the file. Not sure it has to be two lines for sure, but it does work.

-rw-rw-r-- 1 root 1000 35 Oct 1 16:36 resolv.conf

atrix etc # more resolv.conf

nameserver 192.168.2.1

nameserver

system and settings uses user 1000

1000 3901 0.1 3.0 111212 25744 ? Sl 16:31 0:02 com.android.settings
[Atrix 4G General] Frankzor:
I'm still in the process of installing gentop2 20120428 (and not the 20120509 one that takes forever to setup in external sdcard) as instructed above (with the init.rc editing part as well). Sorry if I didn't give any feedback for so long. Since my only linux OS is ubuntop on my atrix (lol), progress is a bit slower than usual. Also, I had too much trouble extracting tarballs for the last 2 weeks until I realised that I got a defective sdcard -_- (which hopefully wasn't the external microSDHC on the phone but the one plugged with a usb card reader)

Now I'm extracting the 2 tarballs with xarchiver (not with command lines) without issue. I have 2 questions though:

1) In /osh/usr and subdirectories, should I deleted ALL the symlinks, or only the broken symlinks (excluding the one that goes to /mnt/gentoo) ?

2) When I'll download the binary packages like firefox/aurora, libreoffice and others for installation, in which file directory and on which partition (in portage or in osh) should I put them before force emerging? (I couldn't find the answer by reading older posts.)
[Atrix 4G General] tamuin:
Trash can / recycle bin

I was wondering what (if anything) you guys are using for a trash can / recycle bin?

I am interested in what others are doing with regards to this and I figured asking in the forums would be a bit easier than trying out all of the different android - linux solutions (there are only so many hours in a day).

I am using systemR89's webtopmod to run debian in chrooted jail (http://xdaforums.com/showthread.php?t=1093790) and use my phone as a phone and as a functional computer on a daily basis; mainly I am using firefox and libre office.

One thing that i think is needed is a trash can / recycle bin and it would be nice if it were worked for both the phone mode and the computer mode. I think libtrash will do this, and I posted some thoughts about libtrash in this thread: http://xdaforums.com/showthread.php?t=1093790

One thing that I was particularly impressed with on the GenTop project was that you were compiling most everything on the phone. I tried to use synaptic to install the appropriate packages on my chroot'd debian, but several key files / libraries seemed to be missing from the repository (probably some mistake on my part).
[Atrix 4G General] crnkoj:
1. Just the broken ones, but replace them with the actual directories

2. I haven't tried this, but i believe it doesn't matter much. Possibly putting it on the internal storage, it will install a bit faster. I'm not using gendols binary packages so I can't tell anything for sure.

I even haven't emerge synced in ages on the atrix and haven't emerged anything new as of late either, since I've seen it up as intended and now I don't wish to break it, the reasons for this are two: 1. Gentoo uses hardfloat as default now and we have softfloat and due to this softfloat isn't being maintained much I believe, especially gcc/glibc are broken on new emerges (at least last I tried they break and one has to manually restore some symlinks I do think remember which exactly though) 2. We are stuck on an old xserver due to the old gfx drivers, so several things don't work (new Firefox, chromium etc) on it.
[Atrix 4G General] xdej:
The

emerge -ua world

was an error, it is reserved to those doing it regularily, at least a few time a year.

emerge -av portage

should have been done first.

You have better to reinstall Gentop, unless you somehow suceed to restore enough libraries to make

emerge -av system

happy.

---------- Post added at 04:26 PM ---------- Previous post was at 04:14 PM ----------

In linux filesystem (ext2, ext3, ext4), 110% (it may be 105%, tune2fs should give you that precision) means really full. 10% are reserved to root, and should not be used to avoid defragmentation of the partition.

But df displays 100% even if the usage is between 101% and 110%.

So you should make extra room, to get below 100% you need to use less than 774064/1.1=703694 blocs, which means less than 756M/1.1=687MB. 729MB is still greater than that.
[Atrix 4G General] lhstes:
Is there a way to use Gentop2 with atrICS or ICSRom? They seem pretty solid now and a true webtop would be the icing on that ice cream sandwich ;)
[Atrix 4G General] BigJeff:
No. Anyways, I just got my Atrix and Lapdock so I can't wait to try this! It's just too bad there's no more development for this cool project.
[Atrix 4G General] BigJeff:
omg why can i not get the tar part to work?! :'(
[Atrix 4G General] xdej:
If this happens, next step would be successful connection of any phone with ice cream sandwich, microUSB and microHDMI ports, to the Webtop.
[Atrix 4G General] Lokifish Marz:
Once I get back from the #bigandroidbbq and if things stay manageable with the campaign, I plan on trying to get the webtop devs together to make this happen. Will try to look into a couple different Linux flavors.

No promises or ETA's though.
[Atrix 4G General] snoer:
i had the same problem but got it working now.

since i couldnt find any solution ill post how i did it:

1. install CWM Recovery

2. enter Recovery and go to "mounts and storage"

3. hit "format /preinstall"

4. follow the installation steps from post #1 but SKIP # mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17

..now everything works as expected :)

have gentop up and running as expected, though i had to reboot my device and

open up webtop serveral times to get correct resolutions with lapdock

nice work!
[Atrix 4G General] BigJeff:
My childhood dreams... just might be realized by you :')
[Atrix 4G General] sublemon:
GenTop2 Wiki for Common Issues

I found a lot of little gotcha's when installing GenTop2. Some of them were self inflicted, others have been around a while. Here is a Wiki I made that covers some of the issues I had and how to fix them without doing a re-install of your ROM or GenTop2 installation.

http://xdaforums.com/wiki/GenTop2_Fixes

floating Motorola logo

unable to login as adas

no login screen

Midori is broken

Aurora(firefox) is broken

enabling swap space

running out of space

Citrix receiver

webtop-panel fix
[Atrix 4G General] sublemon:
webtop-panel is fixed

Attached is a screenshot to show it in action.
[Atrix 4G General] xdej:
Well, the webtop can be used with the samsung galaxy S III ; and the webtop seems to cost $60 or even $40 at http://xdaforums.com/showthread.php?p=34115948#post34115948
[Atrix 4G General] therockk:
Hi, i know this is for the Motorola Atrix. But is their any way to use this but on the new Samsung Galaxy Note 2? When it is docked with the Samsung Smart Dock or another dock when connected to a bigger screen?
[Atrix 4G General] Alaq:
Nope, this is specifically for the Atrix... It uses some "moto-magic" which other phones don't have...
[Atrix 4G General] andresrivas:
you are talking about the LapDock, the accessory, this is webtop, the software that run when you plug atrix on hdmi.

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G General] therockk:
So the LapDock Accessory works with the Samsung Galaxy S3? But when you dock it into the LapDock, dosnt the interface just get mirrored? Or does it turn into this desktop / tablet like interface with the S3?
[Atrix 4G General] andresrivas:
in a very simple way to see it, lapdock combines 3 separated accesories in one: a lcd panel (connected by the hdmi port), an usb keyboard+mouse combo (with an extra free usb port) and a battery charger (both using the usb port).

the usb has an special "something" that, when combined with the hdmi connection detection, on the atrix triggers the webtop (by the way, there is an app called nebtop that simulates the same trigger and allow us to launch webtop with only the hdmi connected.

in simple words, it is only a screen with an usb kbd+mouse combo.

ics, I think, launches tablet mode when you connect your device to an external monitor through hdmi port. gingerbread has mirroring by default. in fact,, we can bypass webtop and enable mirroring via some big hacks

Enviado desde mi MB860 usando Tapatalk 2
[Atrix 4G General] supRyze:
mplayer-omx

Hello everyone.

The standard MPlayer have no use for ATRIX since Xv extension is missing, using X11 vo (which is the only one that worked for me) is not good too.

But there is an option to use OMX libraries/codecs in patched version of MPlayer.

OMX video output has both advantages and drawbacks.

The good point is that it CAN show 480p videos fullscreen, but the problem is that it is always fullscreen.

One can use for example this patch on vanilla mplayer sources:

"perso.telecom-paristech.fr/~husson/AC100/OMX_mplayer.patch"

Though that patch lacks OSD.

The better way is to use files from the repository "gitorious.org/ac100/mplayer-omx/" for which this particular patch was once applied.

So far I use the vanilla MPlayer 1.1 with the patch involved applied, though I copied libvo/vo_omx.c from the git.

Playing some 480p works for me, and I have OSD, ASS/SRT subtitles, but 720p is a no-go, I guess omx-vo driver becomes the bottleneck.

By the way, in the git they have some ways to decode files using OMX codecs, and that would be awesome if hardware acceleration will be used for decoding 720p H264, but I was not able to make it operational.

One other thing: one can compile mplayer-omx for the original webtop, that just requires some chrooted workspace with GCC and libraries from webtop's X-server. And I did it once, but the GenTop2 is so good and stable (thanks to Gendol !), that I switched to it without regrets, the only missing thing was the video player.

Thank you for your time reading this message, I hope it will help.

P.S.: I can't post links thus add http prefix yourself.
[Atrix 4G General] BigJeff:
I'm having success with all the steps to install EXCEPT the tar command?! It keeps saying "no such file or directory" Any help?
[Atrix 4G General] x86demon:
Hi. may you provide more details how to get it on ventilation?

The variant I'm using now is mxplayer in aiw
[Atrix 4G General] supRyze:
busybox

That's a known issue, just install "busybox installer" on the android market and install "busybox" using that android application.

The latest version of busybox did not work for me, but one can select some previous version from the list until it would succeed.
[Atrix 4G General] BigJeff:
which busybox installer, and which version of busybox should i install after downloading the app?
[Atrix 4G General] supRyze:
I used "BusyBox Installer" by "JRummy Apps Inc.", the version of busybox I have now is "v1.19.0".

Be sure to set checked the "Symlink applets" option.
[Atrix 4G General] BigJeff:
I did this and it broke root privelages. What directory did you install this into? This is being such a pain...
[Atrix 4G General] Alaq:
Just follow this guide, not just for webtop2sd, its kinda universal to getting busybox working...
[Atrix 4G General] supRyze:
On my phone busybox is installed to /system/xbin/.

Getting root again can be done rather quickly with the superoneclick. Maybe I had the same issue, but it was so long ago...

What you should finally get is the following picture:

# ls -l /system/xbin/tar
lrwxrwxrwx root root 2012-11-14 01:26 tar -> /system/xbin/busybox

Where should be lots of symlinks pointed at busybox also.
[Atrix 4G General] blttalas:
any flashable zip?
[Atrix 4G General] crnkoj:
That would be too easy for the end user... Somehow if you don't know how to install it yourself it's probably not a good idea to have/use gentop on your phone as it demands quite some knowledge to set it up properly after having it already running.
[Atrix 4G General] x86demon:
Thank you for help with getting mplayer usable in gentop. I have faced with includes problem too, but I just renamed folder in include and got mplayer compiled :victory:
[Atrix 4G General] supRyze:
Thank you for your time. Now maybe you can write a simple report for community about your user experience.

The default non-modified mplayer can be installed by using "emerge -G mplayer" command, and it would be installed in "/usr/bin/"

(the default directory for user compiled application is "/usr/local/bin/").

So you can really compare both versions and select more usable one.

Maybe I missed something and I do everything in a wrong way ;))

(the right way is "-vo xv/vdpau/vaapi", but it does not work)
[Atrix 4G General] x86demon:
I have compiled mplayer with --prefix=/usr. At the moment I have found movie for which screen is black but sound is ok.

Video playback with OMX patch is usable now is full screen.

I had used mplayer before with # mplayer file.avi -vm -fs

options, but in most cases aspect ratio was incorrect :(
[Atrix 4G General] supRyze:
That movie with a black screen is probably XVID encoded, try to use "-vc xvid" command line parameter in such cases.

I don't know why mplayer selects incompatible codec, I should investigate it more thorougly.

The PC version on my linux distro does not have any problem, maybe this occurs due incorrect colorspace which is fixed for OMX.
[Atrix 4G General] Alaq:
Hey guys, can anyone help me get wine/playonlinux working? Thanks...
[Atrix 4G General] BigJeff:
You'd need to emulate an x86 processor on top of Windows binaries. Not possible AFAIK. I still haven't gotten Gentop to install yet... I should have more time to mess around this weekend.
[Atrix 4G General] tdhite:
Photon 4g ?

Did you get an answer? I searched high and low but saw none. Looking to get gentop2 on my photon 4g.
[Atrix 4G General] xdej:
http://wiki.qemu.org/Features names two people coordinating efforts towards qemu on ARM host ; it seems to already compile according to http://stackoverflow.com/questions/10683879/qemu-on-arm-host

And if you cannot wait, you already can use http://bellard.org/jslinux/faq.html (though no networking yet).

If you are willing to pay, you can use windows 8 inside http://www.ok-labs.com/solutions/what-is-mobile-phone-virtualization
[Atrix 4G General] Alaq:
Thanks but still not what I'm looking for, I'll tell you what I want to achieve... I want to run booksmart by blurb, which is windows/mac only. But there is a way to run it natively in java.

Guides, both are like the same:

https://help.ubuntu.com/community/BookSmart

http://www.math.dartmouth.edu/~sarunas/booksmart.html

So can anyone help me do those in steps, thanks!
[Atrix 4G General] xdej:
Booksmart for android

For that, you don't need windows, qemu or wine. You may have some success with following steps:

1) run the guide on linux on any desktop with root access. Just replace "/mnt" by some path which would be accessible and modifiable on android, application terminal.

2) copy the content of /mnt and ~/booksmart/ to android, with tar if you can. No root needed.

3) execute on android, application terminal, the shell script with the line starting by java

NO WARRANTY of course.
[Atrix 4G General] x86demon:
Is it possible to run gentop on Motorola Razzr?
[Atrix 4G General] Hai_Duong:
there is a problem with installing icedtea java..

if someone can fix it or have a workaround would be nice.

#sudo apt-get install openjdk-6-jre icedtea6-plugin normally it works falwless only on this webtop i get error.
[Atrix 4G General] crnkoj:
well this is not debian/ubuntu based, you need to use emerge -v icedtea with the correct use flags set. Emerging icedtea on the phone will take approx 12 hours though and you need to connect an usb hdd on which you will set up /var/tmp/portage and swap, since it needs a ton of ram and disk space to compile it and even so, it will probably fail.

---------- Post added at 11:32 AM ---------- Previous post was at 11:32 AM ----------

search google for "motorola razr gentop kholk"
[Atrix 4G General] Hai_Duong:
i have a other question when i try to use openoffice on my stock webtop /webtop2sd my webtop panel crush/vanish.. can u tell what is the cause of that i googled it but there is no solution. i use stock enviroment with only awn.
[Atrix 4G General] xdej:
Do you have a file like .xsession-errors in your home, or /var/log/Xorg.0.log ?

Can you show last errors in these files ?
[Atrix 4G General] supRyze:
Well, I can only presume that openoffice's memory consumption fires the kernel out-of-memory killer.

Anyway it cannot be known for sure without logs. Yet I am sure that in stock environment logs are somehow disabled to not overrun the root filesystem space.

I would only say that on GenTop2 installing openoffice is tricky too, but it is covered in "http : / / xdaforums.com/wiki/GenTop2_Fixes

wiki" thanks to "sublemon".
[Atrix 4G General] tamuin:
Restore top webtop panel

The following command will restore the webtop panel:

sfalv -i "webtop-panel"

I just added a "launcher" item to awn using awn-manager that runs this. When I am finished running open office (Libre office actually) I click on this in the awn bar and the top web panel comes back up.

Hope this helps.
[Atrix 4G General] USSRxAZ:
is any1 still use gentop?

last time i ve tryed there were too many probs after --sync operation

i ve decide to install anything without syncing (it was like remaining in june2012 at date)

still think its best (and hardest to install) webtop for atrix
[Atrix 4G General] crnkoj:
Ye using it, but not updating. The reason for issues after sync is that gentoo moved to hartfloat, while we have and must use softfloat. Because of that the new compile toolchains fail. I believe it is best not to sync it once you have it set up.