yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] crnkoj:
thanks man, one thing i see you connected it to the HD dock not the lapdock, or am i mistaken? the good thing is i just ordered a combo of a hd dock + bt mouse and kb for 35e :D and can try that over it than, but as i made a quick glance it seems these lines seem to be responsible for turning the phones screen off:

[30152.058735] lm3532_webtop_brightness_set: lcd-backlight-webtop, 0x0(0), webtop=0
[30152.888055] lm3532_button_brightness_set: button-backlight, 0x0 (0)
[30152.888365] lm3532_brightness_set: lcd-backlight, 0x15(21), webtop=0
[30152.908055] lm3532_brightness_set: lcd-backlight, 0x16(22), webtop=0

will see next week, what can be done

---------- Post added 5th May 2012 at 12:00 AM ---------- Previous post was 4th May 2012 at 11:54 PM ----------

Creating a crosscompile toolchain on a gentoo system is as easy as installing any other program/app/package on it with portage/emerge.

One just needs to emerge crossdev and than do "crossdev -S armv7a-unknown-linux-gnueabi" or any other compiler one wants to do ( -S means stable, since we have an usntable gcc and glib on our atrix, one has to specifically set the versions of it instead of just using -S), its very easy and comprehensive here: http://en.gentoo-wiki.com/wiki/Crossdev (i might try to set it up next week and see how it goes)
[Atrix 4G General] djpa:
I didn't realize Gentoo was so friendly to cross-compilers. Maybe I'll see if I can salvage my old install and set up a toolchain that way. Otherwise, if it means reinstalling it anyway, I still might go the Qemu route. Let me know how yours goes, and I'll keep you updated on my end.

As a side note, what is the legality with distributing branded firefox this way? If we want to post it to the boards, does it have to be as minefield?
[Atrix 4G General] flexpackman:
Well... Yes & No. I have a LapDock and a HD Multimedia Dock. The first dump you have, I made in the LapDock. But it goes in each dock every weekday. LapDock at my work and HD dock at home. I don't use the HD Dock for video, just audio. So I hooked an HDMI monitor and USB Keyboard to it just now and made you another dump. Hopefully you can see a difference...

http://pastebin.com/WZNNXFrD

I noticed when using the HD dock that the screen assumes the Dock Selection on the phone, in this case, the Clock Widget. BUT, the mouse is active and will activate objects on the phone screen as others have reported.

So the HD dock does not follow the action of the LapDock - No mouse active on the phone screen. So I locked the phone so the mouse would likely not interact with anything.

Off-Topic - Many frustrations have came from the LapDock trackpad not having at least a Vertical Scroll function. Some claim that the Demo units in the store did have it, but it never made it to the retail units. No one knows if it's hardware or software. I never noticed to this week that the right side of the trackpad does not move the mouse. I have a friend that has a LapDock and a Stock Atrix. I could use his phone in my dock and he put his phone in my dock and both had no mouse movement on the right side. It's above my "pay grade" in the Linux world right now, but wondered if someone knows how/what this trackpad reports back to the OS what it is. I'm curious if the trackpad has a separately addressable area like some other trackpads have. I would think the entire area is mapped and software drivers determining the scrollable area, but maybe not.

Just thought if you have the talents to determine this. If there is some software or settings or such I can check on the LapDock about this, please let me know.

Enjoy!

P.S. I assume that the dmesg dump just grows and grows. Is there a way to reset it so I can do clean dumps with each dock?
[Atrix 4G General] crnkoj:
Aha, ye thanks for the second dmesg, I'll try looking into it. About your touch pad issue, and normally the "synaptics" driver allows for such functionality, which is already in use in gendols gentop. I wonder why it doesn't work... I can't check right now (since I'm writing from the phone), but I think to remember that there is another such driver that supports this for linux/X. Try googling "gentoo X input", maybe you find something.

To be honest I don't know how to clean dmesg, probably googling "clean dmesg gentoo" would work to find a solution ;)
[Atrix 4G General] Gendol:
Hello guys, quick update here.

I'm really glad you all received this hacking project so enthusiastically. It was really only meant for me to use the phone is a reasonable way.

In the last few days I've been working on getting firefox to build. It actually worked, because faux's kernel _does_ has swap (and zram). So it did build fine and works.

On the other hand, I managed to set up a cross-compiling system for arm on my desktop and am awaiting the first few builds from that system.

I guess you'll be greeted with a binary package repository with "larger builds" soon.

Greetings,

Gendol
[Atrix 4G General] CaelanT:
Great work on this.......AND grats on making XDA front page news the other day! :-)

<edit> http://www.xda-developers.com/android/gentop2-looks-to-replace-webtop-permanently-for-atrix-4g/

BTW, I asked Swift a few days ago about a Webtop forum. He is trying to get one for us.
[Atrix 4G General] tools42:
Thanks for the advice.

the tar command now works but after everything is finished and the phone rebooted i put the phone on my lapdock but nothing happends. i just get the motorola symbol moving arround as a screen saver.

I will try again in a few days.
[Atrix 4G General] aaron.a:
Hey,

Can anyone recommend a fast lightweight documents viewer that builds properly? Gnumeric and abiword compile and launch fast but that takes up nearly all the space you have.

Just to be clear, the gentoo partition is specifically for building tmp files, but the program does install at osh right? This thing is screaming fast compared to webtop and my old webtop2sd configuration :-)

A few more tools by default would be nice. Might I suggest leafpad and xarchiver? =D
[Atrix 4G General] crnkoj:
Great news, ye i forgot to post up that faux's kernel supports swap (namely i tried compiling a new one and used the config from his kernel and saw its already enabled ^ ^), sry :)

about the cross-compiling system, i assume you use crossdev? did you just follow any of the tutorials from gentoo or anything else? i already once tried to make it but somehow got confused as to how to set up the bin packaging and where to set the directory for its output. Would you you mind dropping a few suggestions in regards to this? thanks, that way i could set up one of my pcs to constantly build packages for use :)
[Atrix 4G General] djpa:
You could try Ted; I've never used it, but it seems to be close to what you're looking for. Unfortunately, I can't link to it (not enough posts), but if you search "Ted word processor" I'm sure you'll find it.

Otherwise, there are alternatives at Archwiki: Common Applications under Office Suites.
[Atrix 4G General] aaron.a:
i've been browsing this handy directory http://gentoo-portage.com/Browse

but i can't find anything that's lightweight and acts as a viewer only for things like docx, ppt, etc
[Atrix 4G General] nalorite:
Anyone having the problem where the motorola logo floats over your desktop instead of behind it? I tried increasing my overlay number to 1000, then restarting X. No change. The logo still shows in front.

Edit: nevermind fixed it. Apparently it's what happens when you just plug in hdmi cable (with hdmi hack) and don't actually select webtop on the phone. Once you select webtop the problem goes away.
[Atrix 4G General] Bluemotion:
Hoping to use gentop2 for some light Java coding...

Which jdk/jre should I use?

I've never come across icedtea, should I try that?

Can't wait for the pre compiled binaries :-)

Thanks again gendol
[Atrix 4G General] crnkoj:
The oracle Java isn't arm compiled afaik. Icedtea-bin isn't either on gentoo and compiling it takes about 45min and 8GB of tmp files on my sandy quad pc, so i think the only reasonable way is to crosscompile it. It is an opensource java version, that works well. For instance i'm using it for compiling android buids on my pc.
[Atrix 4G General] USSRxAZ:
is it possible to make cwm installation?

i ve installed it succesfully once

yesterday was tryin to reinstall , but tar works terrible now

update, finally installed it
[Atrix 4G General] crnkoj:
Hey guys, maybe for those that have issues with the tar command, here is a nice read: http://www.gnu.org/software/tar/manual/tar.html :P kinda long but it should be easy to just find what one needs.

As well as here for rsync, i find it amazing to use too: http://everythinglinux.org/rsync/ and http://rsync.samba.org/ftp/rsync/rsync.html
[Atrix 4G General] TSever:
Hi all. will there be compatible with CM7 and 9 in some days?
[Atrix 4G General] Bluemotion:
Nope.

Gendols gentop2 runs within Motorola's web top.

If the rom can use web top, then it can use gentop2.

Motorola has not released the source code for webtop, its very unlikely it will be ported to cm.

When higher resolutions work, combined with tabletui and chroot linux, would present a very good alternative for cm9/7.
[Atrix 4G General] giuanz:
Hi Gendol,

if you have time, you could consider releasing a minimal cross-compiling system in form of a VM image.

So we could all contribute binary packages...

Thanks a lot for great work

giuanz
[Atrix 4G General] Vazay:
If it's going to be a binary distro, may we use other package base, like Arch or Slackware.

Arch got great PKGBUILD system, and rolling release can make updates easier.
[Atrix 4G General] djluis48:
After i end the process, and reboot the phone, i connect it to my lapdock, and all i get is the Motorola logo flying around the screen, like a screensaver, any ideas why?

Im doing these steps in order, but i can't get them to work for me. :/

# cd /
# ls -l bin
bin: No such file or directory
# rm -r osh/*
# ls -l /osh/
# df
# gunzip /sdcard/Gentop2-20120428.tar.gz
# tar xvf /sdcard/GenTop2-20120428.tar (starts to build /osh)
# sync
# reboot
[Atrix 4G General] aaron.a:
why you should be using GenTop2 =D it's fast and pretty. murrine gtk engine compiles fine and quickly. it's not arm but i really haven't noticed much of a performance hit. not as much as the compositing ;)

(edit: when i say "it's not arm" that's just me not knowing what i'm talking about. you can ignore that and install murrine so you can use popular themes based on it)

---------- Post added at 02:09 AM ---------- Previous post was at 02:05 AM ----------

after you ran rm -r osh/* did you make sure it was fully removed?

why did you use the gunzip command? i ran the commands exactly as listed on the OP using terminal emulator on android and it worked without any issues.

---------- Post added at 02:47 AM ---------- Previous post was at 02:09 AM ----------

do any of you guys know how to use the dropbox daemon? is compiled fine and installed fine but i don't know how to use the damn thing, and there really isn't a lot of information at the portage site or the dropbox site regarding usage. i was hopping it would sync up my dropbox with a directory but i don't know how to run or configure it =/

http://gentoo-portage.com/net-misc/dropbox
[Atrix 4G General] terrywong:
Can GenTop2 support chinese input? or I can install it like ubuntu?

*me < linux idiot....@@

Thanks!!
[Atrix 4G General] djluis48:
Thanks for your help. somehow i got it to work using instructions in OP. :P
[Atrix 4G General] crnkoj:
Hey man how did you get such a nice look? Mind sharing tips/config files to get it look like that? :)

about dropbox, i didnt try it yet even on my pcs, wil try them on my pcs and see than if i can help you somehow.
[Atrix 4G General] qaplus:
Can GenTop2 support Citrix? It's probably not a popular use of webtop, but I found it's very convenient to be able to VPN into my company with the Citrix receiver in the original Webtop.

How much faster is GenTop2? Can someone post a introduction video? :)
[Atrix 4G General] Bluemotion:
OOOoo how'd you manage that?:eek:

it looks goood,

please share emerge details and instructions.

what window manager are you using?

---------- Post added at 03:30 PM ---------- Previous post was at 03:08 PM ----------

also does anyone know how to correctly set the webtop resolution upon startup?

its set by default to 1366x768 but it has a qhd 'viewbox'

is there a script or something i should change?

---------- Post added at 03:35 PM ---------- Previous post was at 03:30 PM ----------

Id say its comparable to a low/mid performance netbook.

maybe this would help:

http://forums.gentoo.org/viewtopic-t-423507-start-0.html

make a nandroid inc. /osh and give it a go.
[Atrix 4G General] djpa:
Edit /osh/etc/X11/Sessions/Xfce4 and execute a script before the line 'startxfce4'. It should look something like this:

$HOME/.xinitrc
startxfce4

Then, edit the script to include the lines:

xrandr -s 1280x720
xrandr -s 1366x768

and make it executable. It's a little hacky, but it works (only on login, the xdm is still a little wonky). As a bonus, you can add programs to start on login, or you can change the window manager from xfce to whatever you like. Just make sure to add an '&' to the end of every line that should run in the background.
[Atrix 4G General] edgeball:
How can I check that the portage installation was sucessful?

My phone rebooted during the

process
[Atrix 4G General] aaron.a:
well the only catch is you need to emerge the murrine gtk engine. it's not arm but it seems ok to me. not really hurting performance.

here's the directory.

http://gentoo-portage.com/x11-themes/gtk-engines-murrine

once you've done that it's just a matter of installing themes as usual and applying them. and tweaking the panel and window manager via xfce settings menu. i'm using

GTK - http://browse.deviantart.com/custom...l/desktopenv/xfce/?order=9&offset=48#/d4jho5v

xfwm4 - http://browse.deviantart.com/custom...l/desktopenv/xfce/?order=9&offset=24#/d4swd1f

icons - http://browse.deviantart.com/customization/?q=faenza#/d2v6x24

oh yeah i'm using Droid Sans on everything =)
[Atrix 4G General] Bluemotion:
cheers for this :) its much appreciated.

btw. what do you mean when you say the gtk-engine isnt arm... i was under the impression that emerge downloads sourcecode, then compiles according to the system (arm)
[Atrix 4G General] aaron.a:
i thought it was dependent on the source whether it will compile for arm. like, on the murrine page at the gentoo-portage site it is listed as x86 x64 so i assume it's compiled as x86? not my area of expertise, so there is a chance that i have no idea what i'm talking about xD but, its my understanding that it's compatible, just not optimal?
[Atrix 4G General] USSRxAZ:
i ve fixed that by editing /etc/x11/xorg.conf

u need SubSection "Display", closer to end of file

take a look on "Modes"

1366 768 is commented by default

and 800 600 active

Uncomment 1366 , comment others and it ll be ok

Also, its possible to add default lang switcher by editing this file

works well if u dont want to install xkb-plugin
[Atrix 4G General] crnkoj:
No, that just means they tested it for x86/64, source code is the same for all, the compile options and the compiler than define for which architecture it will be compiled, except if the source code has specific architecture dependant functions hardcoded, than you can only compile and use it on that architecture.
[Atrix 4G General] aaron.a:
ohhh, nice to know =)

so the portage tree is really just a collection of apps that will compile in the gentoo environment? why doesn't it use pre built packages? like i was reading earlier in this thread that debs are pre built.. eh just curious. i'm not trying to waste your time with noobish questions (i've got plenty)
[Atrix 4G General] djpa:
Thanks for all your work, this is really what the lapdock should have been in the first place.

Quick question: what version of gcc and binutils are you using in your toolchain? When I'm building firefox, it seems that gcc and ld are having trouble finding libraries, and my only guess as to why is that gcc 4.6.2 is still masked in regular builds.

EDIT: Wait, I think I misread your post. Did you compile firefox by adding more swap space to the phone instead of cross-compiling?

If you compile everything from source, you can customize things to a much greater extent than just downloading binary packages. Sytems like debian are great for ease-of-use and speed, but you're stuck with the options that the Debian developers chose.
[Atrix 4G General] djluis48:
So, if i want Webtop back, how i get it? When i try to flash 2.3.6 Webtop over this, i get an error. :p
[Atrix 4G General] aaron.a:
hmmm,

just a quick heads up, i think the murrine engine breaks AIW/mobile view. not really sure why, but i re started from a fresh install to test, and after installing only the murrine engine mobile view fails to launch. can anyone shed some light on this phenomenon?
[Atrix 4G General] flexpackman:
I went back to Webtop a couple of days ago to test something and had to format the \osh partition through CWM first.

It's under "Mounts & Storage" near the end of the list using CWM v5.8.1.8

Hope that helps!
[Atrix 4G General] USSRxAZ:
been tryin to get normal video playback for hours (xine)

seems like its unpossible until we can get more space avalaible

atm it provides 15 mb :D

my program list:

scrot

gedit

xarchive

thunar-archive-plugin

xfce4-xkb-plugin

abiword
[Atrix 4G General] djluis48:
Thanks, just tries this, but i still cant install Webtop, i get some errors and then the install aborts. Im flashing 2.3.6 Webtop, i found it on the Nottachtrix forum, any ideas? :/
[Atrix 4G General] CaelanT:
Flash 2.3.6 fixed webtop from fruitcake backup thread. Fastboot erase webtop first.
[Atrix 4G General] crnkoj:
Uhm i got me more space by moving the entire /usr directory to a partition on the external sdcard and than put into the ubuntu.sh script to mount it to /usr . It's doing an emerge world as I write this - for over a day now, haha. I'm however getting near to having a fully working crosscompile setup to test it out :D
[Atrix 4G General] USSRxAZ:
bit more instructions plz

i am not pro linux guy :)

what u mean with emerge world
[Atrix 4G General] crnkoj:
well i took the gentop tarred package from Gendol, extracted it on my pc in a work directory and combined the usr directories from the osh and data/osh , than i used rsync -a usr/* to a partition (i used /dev/sdX3 where X is the device name of your sdcard in a sdcard reader in your pc) on the card that i had mounted on my pc. After that jsut edint the ubuntu.sh script on your phone, so that it mounts that sdcard partition on the phone under /osh/usr
[Atrix 4G General] aaron.a:
Hey I can do that! =D thanks for the tip. Does it effect performance much?
[Atrix 4G General] aaron.a:
@crnkoj

so say i manually copy my current usr data from the two directories onto the new partition using thunar, will that work?

and, can you show me what your boot script looks like? or at least the part that you added in order to mount at the new partition?
[Atrix 4G General] crnkoj:
Hey, i would really suggest to manually do it on your pc and than use "rsync -a", that way all the symlinks and permissions/owners stay as they are supposed to (i dont know if thuner preserves symlinks or ownership/permissions, which might leave you with a noworking gentop, from the sdcard).

As for the ubuntu.sh script, i just added this line "/bin/mount /dev/block/mmcblk1p3 /osh/usr" into it as you can see from it on the link http://dl.dropbox.com/u/24268926/ubuntu.sh

As far as it goes for mounting an external hdd as /var/tmp/portage and swap, i do it than manually whenever i connect the hdd (when i have the intention to compile/upgrade things)

If you like i can tar up my /usr partition from the sdcard, but the thing is i just did an upgrade of gcc and glibc and other packages, so it probably is of no use for you or anyone else (since im using a few custom use flags aswell).

Maybe if i were you i would rsync -a the two /usr directories in gentop to an external hdd, than fiddle on it to get the linking correct (for me when i used gendols tarball, i just had to fix the /usr/lib/perl5 and a few other symlinks - actually delete them in the /osh/usr dir and than just rsync all to the /data/osh/usr dir, that way the symlinks wouldnt overwrite the files that were in /data/osh/usr and since the symlinks were to /data/osh/usr after rsyncing the /osh/usr to /data/osh/usr the resulting /usr dir was "complete")

Oh an about the performance, i havent tried it much, but i do not think to see any real performance issue, or noticably slower than with it on the internal (i do have a class 10 patriot card that has around 20mb/s read and around 10-15mb/s write - at least if i remember correctly :) )
[Atrix 4G General] djluis48:
How do i erase webtop using Fastboot? :o
[Atrix 4G General] mitch_55:
Hi,

A question from a noob I am ;)

Is it possible to used this webtop with HDMI hacked, so without dock HD neither keyboard.

In fact, I can't enter the password...

Thanks for your help.

---------- Post added at 03:38 PM ---------- Previous post was at 03:37 PM ----------

With this command

fastboot erase webtop

In fastboot mode of course.

:)
[Atrix 4G General] Iamlord_Daniel:
Im a noob so be gentle/ I have gentop2 Installed but I isn't find aiw (android in-a-window) and I dnt think its working, the next part is I don't understand how to search for packages to install on emerge I read the original post but the lightbulb isn't turning on any pointers. Thanks in advance

Hope is an indulgence I don't have time for
[Atrix 4G General] djluis48:
Whats the difference between erasing webtop via fastboot or via recovery (format /osh)?
[Atrix 4G General] Gendol:
[SIZE="+1"]Update: GenTop2-20120509[/SIZE]

Major update with lots of new features like:

- binary package repository with firefox, libreoffice and much more.

- more complex install method, but uses space on /preinstall and does not fill up /data anymore.

- various fixups of problems like resolution, flash, etc.

- nicer black theme for urxvt

- "un"-install: method to overwrite with original webtop.

Some notes for older GenTop2 users:

- I moved around many files to fit lots of stuff on /osh and /preinstall.

- I also replaced many files in /etc/portage to create links to the new atrix-overlay.

- Sorry, I cannot provide a direct upgrade method without destroying your individual changes.

- However, the tarballs don't touch your /home directory.

Best bet:

- backup your /etc/portage files and /etc/make.conf and /var/lib/portage/world

- Install the new GenTop

- Delete files /data/osh/ (they are unused)

- Restore the portage files without removing the atrix-overlay.

- Restore world file and emerge world to reinstall all your custom programs.

Gendol
[Atrix 4G General] flexpackman:
Gendol,

You still need to provide us a "donation" location!!! Great Work!

For this round, I'll think I'll take the "easy" path and just blow everything away and start from a fresh install ;-)
[Atrix 4G General] Bluemotion:
I think I'll do the same.:rolleyes:

I mainly use gentop for web browsing so firefox is an awesome upgrade!

and using ssh and x11 forwarding..... thanks again gendol!
[Atrix 4G General] djluis48:
How do you use SSH? I cant find how to use it...
[Atrix 4G General] USSRxAZ:
umount /preinstall fails for me

it says invalid argument (/preinstall)

:(

preinstall works if i format it by cwm to defalut FS

once mk2fs made it cant be mounted, what kernel u using Gendol?
[Atrix 4G General] Bluemotion:
from the command line,

eg:
[Atrix 4G General] aaron.a:
yup =D
[Atrix 4G General] Iamlord_Daniel:
Ok so can some one walk me through install the new version of gentop2 with emerge + sdcard partitions

Hope is an indulgence I don't have time for
[Atrix 4G General] djluis48:
Im getting an error when im trying to unmount /preinstall:

Sh: unmount: not found