[WEBTOP] GenTop2-20120509 (Beta) - Next Generation Gentoo Webtop Replacement

giuanz

Member
Jun 6, 2008
25
3
0
Wait? Please explain to me exactly what you did to get Webtop+ working on your atrix.
All credits go to Lokifish - I just resized a file.
Here what I did, using a Linux system:

* in Lokifish WebTop+ 1.2b, extract webtop.img
- loopmount it to check that space used inside is less than 800MB (you can skip this step IF USING 1.2b, the newest one you need to check)
* resize2fs WebTop+_v1.2/osh/webtop.img 393216 (because original atrix webtop = 805306368 bytes = 393216 * 2048 bytes)
* now you have a webtop.img which is the correct size = 805306368 bytes
* gzip it again and replace webtop.img.gz it in the original zip file.

Voilà, we have a CWM-flashable Photon WebTop+, now fits Atrix.
Copy to phone, flash it in recovery mode and reboot.
It works but you have only 13 MB free on /osh.
So install and run WebTop2SD to move it to a larger partition on the SD card.
Once done that, follow Lokifish's instructions in zipfile to upgrade it to UbunTop.

Lokifish: sure I'll PM you
 
  • Like
Reactions: Alaq

djpa

Member
May 3, 2012
7
4
0
Gendol, this is incredible! One quick question though: shouldn't it be possible to get a firefox binary through Qemu or a cross-compiler?
 

Ollonk

Member
Aug 1, 2011
44
10
0
I am very much interested in this project, but due to time constraints I am waiting for something flashable or installable.(I don't currently have 2+ hours to invest in getting Webtop to work when I already have one that functions decently.)

I'm really liking what I see though!
 

aaron.a

Senior Member
Dec 24, 2010
646
98
0
so far so good. the terminal emu is currently extracting the tar ball. the only thing i didn't do directly on the phone is extract the nottachtrix rom xD

nottachtrix seems bad ass so far. i'm eagerly awaiting the completion of the tar ball so i can see just how wicked fast this bad boy is.

hot damn that's fast. but no flash is a bummer. has anyone successfully installed a fp for midori? i haven't set up emerge yet, i'll be doing that part later tonight
 
Last edited:
Jan 9, 2011
33
33
0
Gentoo on the Atrix is very cool :)

It should be possible to use distcc to compile everything on
the desktop PC using a cross compiler toolchain like Linaro.
This would speed up compiling and workaround memory limitations.
You actualy emerge like normal but distcc sends all code over WLAN to the
compiler on the desktop and receives the object files ready for linking.

http://www.gentoo.org/doc/en/cross-compiling-distcc.xml?style=printable
 

zomgno1

Member
Oct 18, 2010
23
6
0
hot damn that's fast. but no flash is a bummer. has anyone successfully installed a fp for midori? i haven't set up emerge yet, i'll be doing that part later tonight
Are you sure you are using the updated (20120428) version? There is flash and it can play 720p youtube videos just fine.
 

aaron.a

Senior Member
Dec 24, 2010
646
98
0
hmmm will someone test hulu? it's not working. it will load ads but when it gets to the vid it's blank. check out the avengers trailer =)

the app isn't working on nottachtrix either. it fcs at loading video
 

djpa

Member
May 3, 2012
7
4
0
Better to get it from original Webtop
The original binary gives a bus error, and my C++ isn't good enough to give me an idea of what that is.

It should be possible to use distcc to compile everything on
the desktop PC using a cross compiler toolchain like Linaro.
I might try distcc, but I feel like building a proper toolchain from scratch is going to be more work than just installing in a VM. I've never used Linaro, but my brief run-ins with crosstool all ended in disaster.

hmmm will someone test hulu? it's not working
No Hulu here either...
 

aaron.a

Senior Member
Dec 24, 2010
646
98
0
The boot-up script /osh/ubuntu.sh will mount /dev/block/mmcblk1p2 to /mnt/gentoo. This place is referenced by /usr/portage and /var/tmp and will enable emerge if you install the second GenTop2-portage-20120428.tar.bz2 tarball.
ok, i get that i need to partition my sd and make sure i have an etc3 partition at mmcblk1p2 but what do i do with the portage tarball? any help is much appreciated...
wait ok, i think i answered my newb question. just run the tar command on the new file? conversely, extract using 7 zip then move it onto the phone? =D i'll see if it works anyway


No Hulu here either...
thanks for checking. hopefully i can get the app working on nottachtrix and it won't be an issue
 
Last edited:

aaron.a

Senior Member
Dec 24, 2010
646
98
0
Alaq you should write "app-office/openoffice-bin **" into the file /etc/portage/package.keywords aswell as write "app-office/openoffice-bin" into /etc/portage/package.unmask
ah phew, thanks for that. i had no idea what it was talking about with masked packages and such.

well for anyone who see's this in the future and is a little newbish with a command line like me you gotta run tar differently for bz2. just put the portage tarball at /sdcard and run this stuff via terminal emulator or run it in terminal on gentop

Code:
su
tar -xvjf /sdcard/GenTop2-portage-20120428.tar.bz2
 
Last edited:

tools42

Member
Dec 28, 2007
9
1
0
Hi all,

I am a bit of a noob with adb shell commands and i am having problems running the tar xvzf /sdcard/GenTop2-20120428.tar.gz line.
with a lower case z i get
invalid option -- z
with an upper case Z i get
tar: invalid magic
tar: short read

any help would be appreciated
 

CaelanT

Senior Member
Mar 18, 2011
3,356
741
0
Sheffield
Hi all,

I am a bit of a noob with adb shell commands and i am having problems running the tar xvzf /sdcard/GenTop2-20120428.tar.gz line.
with a lower case z i get
invalid option -- z
with an upper case Z i get
tar: invalid magic
tar: short read

any help would be appreciated
Copy and paste it right from the OP! :)
If you do everything as the OP instructs, it works, so you may be doing something else wrong. Make sure you have spaces where there should be spaces, and no spaces where there shouldn't.
Does everything else work up to that point?
 
Last edited:

djpa

Member
May 3, 2012
7
4
0
Hi all,

I am a bit of a noob with adb shell commands and i am having problems running the tar xvzf /sdcard/GenTop2-20120428.tar.gz line.
with a lower case z i get
invalid option -- z
with an upper case Z i get
tar: invalid magic
tar: short read

any help would be appreciated
Copy and paste it right from the OP! :)
If you do everything as the OP instructs, it works, so you may be doing something else wrong. Make sure you have spaces where there should be spaces, and no spaces where there shouldn't.
Does everything else work up to that point?
Not for me, I had to use gunzip on it first. @tools: if you're on a linux distribution, try:
Code:
gunzip Gentop2-20120428.tar.gz
then, mv the resulting tar file (not tar.gz) to / and do (from adb this time)
Code:
tar xvf Gentop2-20120428.tar
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
crnkoj,

dmesg output @ http://pastebin.com/KFG4gh6h

Hope it helps!
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:
Code:
[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 ----------

The original binary gives a bus error, and my C++ isn't good enough to give me an idea of what that is.



I might try distcc, but I feel like building a proper toolchain from scratch is going to be more work than just installing in a VM. I've never used Linaro, but my brief run-ins with crosstool all ended in disaster.


No Hulu here either...
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)
 
  • Like
Reactions: djpa

djpa

Member
May 3, 2012
7
4
0
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: URL OMITTED (i might try to set it up next week and see how it goes)
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?
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
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:
Code:
[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



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?
 
Last edited:

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
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?
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 ;)