yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] crnkoj:
@Gendol, thanks for looking into the xorg.conf thing, i simply havent had more than 5 minutes at a time to look into it... will test it out soon. ye i agree with you on the sdcard, for the system the emmc is needed due to speed reasons, but for /var/tmp the external sdcard is the way to go for mobility, but at home one could use an usb hdd for /var/tmp and for swap (that way even chromium could get compiled), if the kernel (im using faux 1ghz) supports swap, otherwise might need to pull his latest kernel sources and config swap support into it, than compile and test :)

Well for openoffice, if its the -bin version, its done within a few minutes, the question however reimains if its arm compiled or not (probably its not), one way to get openoffice is just to get the package from ubuntu (thats arm softfloat without neon compiled) or crosscompile it.

Talking about which i have a crosscompiling chain set up on my gentoo pc, which makes it rather fast, but for now i dont know exactly how to use it for anything but kernels :D (well i know some part, but i need to config all the things properly xmerge-crossdev, the "out" directory and so on) and i was looking into the make.conf you have, you are using an armv7-a-unknown-gnueabi compiler with softfloat than in the CFLAGS (have to learn how to set t hsoe CFLAGS while crosscompiling), the other way would be i could use my pandaboard (which is running gentoo aswell) and with distcc compile stuff on it and the atrix ( got hardfloat with neon on the panda though, so this might be an issue... and i guess crosscompiling on the pc woudl go faster), than we set up a binhost or such.

@Vazay

1) You get errors because your cpu overheats, do you use an OC kernel? When i was compiling stuff on gentoo with the atrix, i even had "-j3" ("-jX" means how many jobs to be started when compiling, i always use cores+1) and it never gave out errors, otherwise you might be out of luck

2) try with an external hdd over usb, with a swap partiton on it, and swapon on it, than try to emerge chromium, it might work (as above, assuming that swap is supported in the kernel), than it woudl be possible, but the thing is midori is very leightweight and works way better on "embedded" devices

4) two isssues might arise: 1. if the sdcard gets initialized later than the gentop system, the gentop system will not boot up properly. 2. it will be way slower

Edit: just remembered that maybe sabayon would have precompiled arm packages (have to check though)

http://wiki.sabayon.org/index.php?title=Hitchhikers_Guide_to_the_BeagleBone_(and_ARMv7a)

http://wiki.sabayon.org/index.php?title=Hitchhikers_Guide_to_the_PandaBoard

similar armv7a boards, just with neon support (dont have time to read through it now, but if anyone is interested). It seems sabayon is using hardfloat and not softfloat, so using their packages is impossible for now
[Atrix 4G General] Gendol:
@crnkoj

Yes, I guess I'll have to set up a portage overlay (which is currently in /root/gentoo-x86) and a binary package repository. That one wouldn't have to meddle with upgrade tarballs and people could choose which application they want installed without compiling the huge ones.

However, the real problem is the that /osh would run out of space and most people dont want to deal with moving files off /osh.

Swap is not included in faux's default kernel. And I'm afraid compiling a kernel is currently beyond me. You could help with that.

Another thing I tried earlier on is hardfloat. I did a full hardfloat compile, and also a speed test using cryptography functions. I found not advantage to using hardfloat: when compiled with the current CFLAGS the binaries were approximately the same size and also showed the same speed test results.

Hardfloat however came at the disadvantage that the motorola binaries in /usr/local couldnt be run. So hardfloat is out of the question for now.

@Vazay

Most questions are answered.

1) I never got random reboots during compiling.

2) Maybe. Once we get it working.

3) I thought it wouldnt start twice? Weird.

4) Nope.

X) No need.

Gendol.
[Atrix 4G General] Vazay:
@crnkoj , @Gendol

1) Ok, maybe the reboots are from OC kernel

3) aiw does start twice

4) what about to start minimal system at osh and then start chrooted system from sdcard

Another mad idea - "atrix tested" portage tree with binary repository
[Atrix 4G General] CaelanT:
Would Clemsyns kernels have what you want?

> http://xdaforums.com/showthread.php?t=1354502

Based on Faux kernel, but I do not know all that he changed.
[Atrix 4G General] crnkoj:
Gendol i agree with you totally about those. Ye android is softfloat so we cant mix it with hardfloat and as it seems sabayon has a hardfloat system base aswell, so we cannot use their packages.

About the kernel, ill try to pull faux's sources for the 1ghz kernel (any oc will overheat for sure), edit the config so that swap is in it and recompile it, thats "shouldnt" be such a hassle, im just not sure ill be able to do it within the next 3 days.

CaelanT i cant check it now, but if you are running it can you zcat /proc/config.gz > config, and than grep it for "CONFIG_SWAP" or just attach the file to here?
[Atrix 4G General] CaelanT:
Why is the Motorola webtop screensaver running behind the desktop?
[Atrix 4G General] crnkoj:
Did you install all the help tarballs and did they give any errors? Your /usr/include/python is missing, so portage can't work ;) go to /osh/usr check where the include/python symlink links and fix it.
[Atrix 4G General] alex3594:
Hi all!

I have just installed mplayer and it works fine!:)

Both sound and video are working!!!

I have a question about free space: what can I safely delete/move from /osh? I'm interested because of 42M free in my /osh directory.
[Atrix 4G General] Filipeknot:
How can i do it?

I'm noob on Linux...
[Atrix 4G General] crnkoj:
follow the instructions on the first post form gendol...
[Atrix 4G General] x86demon:
First of all - Thank you for gentoo on atrix. It's amazing!

Wondering how to get video playback workable? Video from android apps is not displayed. mplayer does not show video in full screen. vlc seems to slow.

Got video in aiw in fullscreen. In android I have installed MX video player and used SW decoder to play video. Also I have disable AIGLX in xorg.conf

Does anyone know how to use xv video output? XVideo extension was loaded
[Atrix 4G General] mpowereduser:
I moved /usr/share off to a partition and freed up enough space to allow me to install libreoffice, vlc, rdesktop, awn/awn-extras and pidgin without impacting performance significantly. I had to install a few dependencies along the way as well but now it looks good and it's pretty snappy.

---------- Post added at 06:58 PM ---------- Previous post was at 06:46 PM ----------

I had that happening at first too. Open a terminal and type aiw. It'll give you more than just running it from the menu. Interestingly enough, I have installed a couple of themes that when enabled kill aiw. I didn't care enough to dig into that so I just chose a different theme.
[Atrix 4G General] crnkoj:
ye i got that fixed already with "emerge -v orbit" eversince it works
[Atrix 4G General] bonshob:
This looks like a very interesting mod. I was wondering if this could be used in my current situation. I have an atrix that I am retiring and I also have a lapdock. The phone portion is a memory hog and I would like to have a way to replace the atrix rom with this gentop you are developing.

Thanks

Ken
[Atrix 4G General] crnkoj:
as i wrote in your other thread already, this might be possible, if you modify the boot.img for the phone with a custom ramdisk (or maybe even not so much with a ramdisk) and a custom init.rc (which wouldnt start up android, but would only start up gentop). I believe the whole thing would actually be pretty simple and straight forward.

Probably creating a ramdisk with genkernel (actually you would need cross genkernel - if something like that even exists) on your linux pc, might even work, if you would edit it with the proper mountpoints for the system (i guess first you would need to make it boot from a system on the external sdcard, than after its booted from it, you would have to copy/rsync or just untar a stage3 tarball to the internal storage - i guess you could convert the "internal sd" from fat32 to ext4 and have the system on there, than edit the ramdisk and its init.rc to boot from the internal memory and the right partition and so you would have a basic working gentoo on the phone). All of this might be hard to get to work without proper output (i think hdmi only works through the x server and not through shell) and for ssh you would need an internet connection, which probably wouldnt work straight on)). You might just want to take gendols gentop tarball and use that one as the "stage3" which might get you output to hdmi straight on. but all in all, its so much hassle for minor improvement =/
[Atrix 4G General] abbots:
now you tell me, after I'm half way through....

I'm glad you didn't put the warning near the top, rather, semi-concealed near the bottom.... otherwise, I might have given up before starting...

many thanks, Gendol, for doing this, and, providing blow-by-blow that simpletons can follow!!

part 1 accomplished, desktop comes up on lapdock!

I'll go an read past 1st post before I start asking stupid questions

and, after, I'll start asking stupid questions anyway.

thanks, Gendol, thanks all contributors
[Atrix 4G General] youliang:
curious if i'd replace this over my webtop, would I still get the entertainment center?
[Atrix 4G General] aaron.a:
I was able to launch entertainment center inside gentop2
[Atrix 4G General] aaron.a:
I just noticed we have AbiWord and Gnumeric binaries and wanted to say thanks =)

Inkscape binary would be awesome if its not already in there. Ill check later
[Atrix 4G General] abbots:
I only installed GenTop2 few hours ago, ahem, how do I start entertainment center, or, for that matter, any of the Atrix stuff...?

ooops, entertainment center, found it.....
[Atrix 4G General] thantos:
Hi, I've been trying to go through the posts but haven't found a good solution from the posts to get the proper resolution on my monitor using my HD Dock. I currently have made an extra script to run xrandr --auto prior to startxfce4 but that doesn't seem to help.

What I would like is full resolution on my screen (1680x1050) or something higher than 1366x768 without a reduced gentop screen and a moto logo moving around in the background.

Any info would be awesome!

Thanks!
[Atrix 4G General] crnkoj:
did you try to write

# xrandr
and
xrandr -s 1680x1050

from a root terminal inside gentop? First try xrandr and see if it finds the 1680x1050 resolution (it might be it wont find it, i have a 1680x1050 monitor that parses the EDID over HDMI wrongly, so i cant get it to work on the native res at all with the atrix + hd dock), if so xrand -s 1680x1050 should fix this. If not you need to add a modeline either to your xorg.conf or manually through xrandr (each time, so i suggest the xorg.conf way), as well as selecting 1680x1050 as the screen and virtual screen (dig some through xorg.conf , i myself dont have the best xorg.conf knowledge either). One warning though, if you will mess with xorg.conf and you will do something "wrong" so that X cant read it properly, gentop wont start, therefore make a backup of the original xorg.conf before messing around, so that you can than copy it over with the phone-android os if this happens. Another way for it is to set CustomEDID in the xorg.conf but than you need an edid .bin (need to either extract one from a monitor, get one off the internet or create one manually...) file on the phone (i tried that but kinda didnt get it to work).

Oh and if you manage to get it working, plz tell how you did it, because i have a similar issue with the atrix on certain tvs, that i have to do manually xrandr -s desiredXres . Btw you need to run xrandr after xfce starts, so you might wanna change the script to run xrandr --auto after startxfce4 and not before - i think to remember that in order to do taht you need to edit the xdm config file in /etc/conf.d or the config file for the xfce desktop manager (not sure how its named, but its referenced in the xdm config file).
[Atrix 4G General] Filipeknot:
My Atrix freeze the auto rotate when i logout gentoo and undock.

Is someone experiencing the same?
[Atrix 4G General] aaron.a:
occasionally i get this. it's annoying, but you can plug it back in, launch mobile view, then rotate the mobile view and disconnect to fix it ;)
[Atrix 4G General] Filipeknot:
The Atrix will freeze on portrait, but freeze yet...

Sorry for English...
[Atrix 4G General] aaron.a:
Just try rotating "mobile view" once, then remove the phone and check fixed. It always works for me
[Atrix 4G General] thantos:
So I wasn't able to find an automated way to detect the non-EDID resolutions while adding the modelines, so I just ended up doing it manually...

For those that might be wondering how to do this, I first used terminal to identify the modeline for my monitor at 1680x1050 for 60Hz:

# gtf 1680 1050 59.9

Then I opened up xorg.conf and added the modeline provided by the gtf into the xorg.conf under HDMI

# sudo leafpad /osh/X11/xorg.conf

I tried to add xrandr -s 1680x1050 (after startxcfe4) to startup following:

however when webtop boots up the resolution is still messed up despite it automatically selecting the proper resolution. I normally have to go into display and change it to some other resolution and then back to 1680x1050 for it to work properly. Very odd bug.
[Atrix 4G General] mart247:
@crnkoj

thanks, got ntfs working fine needed to install ntfs-3g

@alex3594, or anybody, good video play back

wondering about mplayer, i installed smplayer & vlc but they didn't work very well, did you adjust any settings?

Any way to make room in /osh? have 11M available

anybody else get this? (Total Memory)

atrix / # cat /proc/meminfo
MemTotal: 834868 kB
MemFree: 46380 kB
Buffers: 22424 kB
[Atrix 4G General] USSRxAZ:
Mart247, I found an easy way to make symlinks with root explorer, for example move the abiword folder from use/share to preinstall/[urfolder], than long tap on it -> link to this folder, go back to usr/share and tap create link

I have a prob with libreoffice atm..

It installs without errors, but says what it can't find shared library libicuuc.so.49 at start (as root too)

Wondering this, coz it worked well before

Any suggestions?
[Atrix 4G General] youliang:
hows the battery life on the gentoo mode? :D I usually get around 5hours on the normal webtop2sd ubuntu mode..
[Atrix 4G General] quepaso:
I got to the ADVANCED part very easily, but the guide literally throws you to the wolves right when you get to the partitioning. Its incredibly low detailed, doesnt tell you what is required and what happens after what. I had to SSH into gentoo via windows pc just to run the fdisk command without getting an error, and i made the mistake of not making a partition 1, and now i get error 16 every single time i try to make a new partiton for fat32 to use up the new space.

Edit - Using the Panasonic SD Card Formatting tool, i now have the card back on fat32. I'd like to finish it up and partition it properly, can anyone do a nice step by step on all major steps for just the partioning of the SD Card portion?? I can handle FDisk no problem now after using it 100's of times tonight, but what is the exact order to make the partitions, do i delete the fat32 partition first, do i format the mmcblk1p1 to fat32 in the gentoo setup since it doesnt show up as anything in windows? Thanks, im at the home stretch and just need that last part and i can button this up and be on my way. From what i played around with so far, it runs absolutely amazing and im so excited to get things finished.
[Atrix 4G General] USSRxAZ:
quepaso

about partitioning

take a look on webtop2sd if u know how to fix forceclose error

i think its most easy way
[Atrix 4G General] mart247:
@USSRxAZ

don't root explorer

tried to copy directory

atrix share # cp -r abiword-2.8 preinstall/abiword
cp: cannot create directory `preinstall/abiword': No space left on device

was going to try

7.7. ln - make symbolic links

A symbolic link is a "file" pointing to another file.

To make a symbolic link :

ln /original/file /new/link

This makes /original/file and /new/link the same file - edit one and the other will change. The file will not be gone until both /original/file and /new/link are deleted.

You can only do this with files. For folders, you must make a "soft" link.

To make a soft symbolic link :

ln -s /original/file /new/link

Example:

ln -s /usr/src/linux-2.4.20 /usr/src/linux

Note that -s makes an "empty" file pointing to the original file/folder. So if you delete the folder a symlink points to, you will be stuck with a dead symlink (just rm it).

have you tried this?

---------- Post added at 04:24 PM ---------- Previous post was at 04:19 PM ----------

@youliang

yeah around the same not 100% sure

defo 3hr+

will keep an eye on it
[Atrix 4G General] USSRxAZ:
Hmm, i had usually cut and paste folder in thunar (as root) and made symlink from rootexplorer after, got np with abiword for sure
[Atrix 4G General] crnkoj:
you have to revdep-rebuild or just emerge --sync and emerge -pv icu (it will say an update is needed to icu-49), than remove p and do emerge -v icu, that should fix it

---------- Post added at 10:59 PM ---------- Previous post was at 10:51 PM ----------

i still think the best way to do it is to mount certain partitions (i prefer of the external sdcard) at boot time to certain directories (for instance i modified my boot.img init.rc so that it mounts the whole /osh/usr to /dev/block/mmcblk1p3 at boot). That way most of the "action" happens on the external sdcard, which spares the internal nand a bit as well and shouldnt be any slower if the card is a decent class 10 card, and i have as much space as i need now. One can do the same but with preinstall and cache actually :) certain symlinks dont work so well with gentop (ive experienced myself) and the mount really has to happen on boot through init.rc , if one is to use the ubuntu.sh file, things dont work.

---------- Post added at 11:00 PM ---------- Previous post was at 10:59 PM ----------

I would suggest all the partinioning to happen on a pc running linux, that way all works.
[Atrix 4G General] quepaso:
Im going to put linux on a flash drive right now and boot using a live iso, and do it in there. Seems to be the best way to go about this.

Edit -

Ive installed Ubuntu onto a flash drive, used gparted and got everything working flawlessly. Popped it into the Atrix, booted Gentop2 and installing the portage now flawlessly.

After i finish this, i should do: emerge --sync, right? That should get me up to date im assuming.
[Atrix 4G General] USSRxAZ:
i have class 4 card, thats why prefer to use /preinstall and /data maybe (my programs usually taking few space on it) :D

about icu update, did it before saw this post, but didnt any -p or -pv keys

prob is what midori using version 48 and dont start now

that sync brought many probs :D

i think i ll format osh and preinstall and re try these with ur way

coz i ve broken --depclean, its asks newer libs

*update*

did it as said, libreoffice working like in prev try

midori claims icu 48, pity ocz its fastest browser ..
[Atrix 4G General] crnkoj:
Ah, you can still do revdep-rebuild . That is the tool of choice to fix this kind of issues. It might take some time depending on the packages it needs to rebuild :) btw when doing this i would suggest attaching a hdd to the dock and mounting /var/tmp/portage onto one of its partitions (should be ext4 or ext3 formatted) and do swapon on a second partition that you mkswapped before.
[Atrix 4G General] giuanz:
FYI posting a link on how to format SD card for ext4 (if you're on fauxs or any other kernel that supports ext4):

http://blogofterje.wordpress.com/2012/01/14/optimizing-fs-on-sd-card/

The reading is useful but you do not need to do the testing - generally assuming an erase block size of 8MB is correct for most SD cards.

This is also valid for ext3 (but pls do not remove journal on ext3 because chance of corruption in ext3 is much higher)

Also because SD cards have such a big erase block size, write amplification is huge - this is why I think that a regular "emerge --sync", over time, is going to wear out the flash memory, no matter where you put your portage.
[Atrix 4G General] aaron.a:
So, is it possible to build other linux distros for arm, then sync them to osh?

I guess what im really asking is, is there any special magic in here other than the ubuntu.sh? could I build any distro and expect it to work?

This is a little beyond my skill lvl but im curious if its worth trying
[Atrix 4G General] kifaba:
Thanks for sharing the info. Very Useful.
[Atrix 4G General] mpowereduser:
Has anyone had any luck emerging Evolution?

I had a quick look and it looks like I'm going to have to mask a lot of packages to get it to work but before I head down that road I'm just curious if anyone else has manage to build it.

I've got OpenVPN working and can access my corp mail via OWA but it'd be nice to have an actual client as well.

[EDIT]

Yep. There are a few issues:

!!! Multiple package instances within a single package slot have been pulled

!!! into the dependency graph, resulting in a slot conflict:

net-libs/libsoup:2.4

(net-libs/libsoup-2.36.1-r1::gentoo, installed) pulled in by

~net-libs/libsoup-2.36.1 required by (net-libs/libsoup-gnome-2.36.1::gentoo, installed)

(net-libs/libsoup-2.38.1::gentoo, ebuild scheduled for merge) pulled in by

>=net-libs/libsoup-2.37.91:2.4[introspection?] required by (dev-libs/libgdata-0.12.0::gentoo, ebuild scheduled for merge)

dev-libs/glib:2

(dev-libs/glib-2.32.3::gentoo, ebuild scheduled for merge) pulled in by

>=dev-libs/glib-2.31.7:2 required by (net-libs/libsoup-2.38.1::gentoo, ebuild scheduled for merge)

(dev-libs/glib-2.30.3::gentoo, installed) pulled in by

(no parents that aren't satisfied by other packages in this slot)

It may be possible to solve this problem by using package.mask to

prevent one of those packages from being selected. However, it is also

possible that conflicting dependencies exist such that they are

impossible to satisfy simultaneously. If such a conflict exists in

the dependencies of two different packages, then those packages can

not be installed simultaneously.

I have to head to work shortly but maybe I can have a look later on...
[Atrix 4G General] Gizmo306:
I saw some package is updated in overlay server (see OP), then I made an emerge --update. but I found there are 2 Mozilla package (Firefox 13 & Thunderbird 13) can not running after installed successfully. they have similar message,

XPCOMGlueLoad error for file /mnt/gentoo/osh/usr/lib/firefox/libxpcom.so:

libxul.so: cannot open shared object file: No such file or directory

Couldn't load XPCOM.

I search for this issue and got lots hit over different build of firefox or OS. but I got no solid answer for my case. then I re-install Gentop2 but no luck again. only working method is roll back to version 12 for both package.

anyone have same issue?
[Atrix 4G General] crnkoj:
Maybe try claws email client, that one is supposed to be less resource hungry.
[Atrix 4G General] crnkoj:
You seem to be missing xpcomm, find out which package installs it and reinstall it, or just run revdep-rebuild after installing ff13.
[Atrix 4G General] Gizmo306:
it is similar bad/none icu installation issue for libreoffice that you been mention earlier. but in this case, I try to emerge xulrunner but compiling failed. and revdep-rebuild did not help in this problem.

I still have no clue to ff13/tb13 problem here, what I can sure is ff12/tb12 did working fine in GenTop2.
[Atrix 4G General] Filipeknot:
I works, but the phone freeze in portrait mode!

Any fix for this?
[Atrix 4G General] mpowereduser:
I had a quick look but I don't believe that claws mail supports M$ Exchange connectivity