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

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
bit more instructions plz
i am not pro linux guy :)

what u mean with emerge world
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
 
  • Like
Reactions: aaron.a and USSRxAZ

aaron.a

Senior Member
Dec 24, 2010
646
98
0
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
Hey I can do that! =D thanks for the tip. Does it effect performance much?

Sent from my MB860 using XDA
 

aaron.a

Senior Member
Dec 24, 2010
646
98
0
@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?
 

crnkoj

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

mitch_55

Senior Member
May 27, 2009
294
75
28
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 ----------

How do i erase webtop using Fastboot? :eek:

Sent from my MB860 using XDA
With this command

Code:
fastboot erase webtop
In fastboot mode of course.
:)
 

Iamlord_Daniel

New member
May 9, 2012
2
0
0
Yorba Linda
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
 
Last edited:

Gendol

Member
Apr 22, 2012
16
82
0
[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
 

USSRxAZ

Senior Member
Dec 1, 2011
52
8
0
Novorossiysk
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?
 
Last edited:

giuanz

Member
Jun 6, 2008
25
3
0
Hi Gendol, first of all thanks a lot for the FANTASTIC work.

One way to go would be to require webtop2sd, however, GenTop2 does not support webtop2sd because the read/write speed of the internal sdcard is much faster than on the external sdcard.

(...)
[1] http://kristallsturm.de/GenTop2/docs/atrix-bonnie.html
I would disagree here, for my case.
Samsung 32 Class 10 Micro SD, fauxs 1.3GHz kernel, NottachTrix 1.3.1 (from original 2.3.6 webtop):

Code:
[email protected]:/mnt/sdcard-ext$ sudo bonnie++ -f -n0 -u root
Using uid:0, gid:0.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...
Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost        2G            9969   7  6432   7           16810   8 517.7   6
localhost,2G,,,9969,7,6432,7,,,16810,8,517.7,6,,,,,,,,,,,,,
So the speed of my external SD compares to the internal one.
Also, if I wear out the internal NAND flash because of too many writes, I have to replace the whole phone, while if I wear out the SD card, I can just replace that one.

Hence I'd like to run all of GenTop2 from external SD - maybe I'd have the whole root FS in a big file, loopmounted. So users can periodically backup their whole GenTop2 setup by copying the file on their pc.

I'll do some work on this idea tomorrow, now it's really time to sleep :) if I succeed, I'll make it CWM-flashable, and in a way that it allows for quick restore of the original webtop (without reflash).

g
 
Last edited:

CaelanT

Senior Member
Mar 18, 2011
3,356
741
0
Sheffield
I get an error on this:

# umount /preinstall
umount: can't umount /preinstall: Invalid argument

and if I ignore this and keep going I get an error on this:

# mount -t ext3 /dev/block/mmcblk0p17 /preinstall
mount: mounting /dev/block/mmcblk0p17 on /preinstall failed: Invalid argument

Have tried twice and get same errors both times.

---------- Post added at 09:11 PM ---------- Previous post was at 09:08 PM ----------

Im getting an error when im trying to unmount /preinstall:

Code:
Sh: unmount: not found
Sent from my MB860 using XDA
I believe the adb command is "umount" as it says in the OP's instructions, not "unmount". Did some reading to double check this myself.
 

djluis48

Senior Member
Nov 16, 2009
1,773
232
0
Santo Domingo
I get an error on this:

# umount /preinstall
umount: can't umount /preinstall: Invalid argument

and if I ignore this and keep going I get an error on this:

# mount -t ext3 /dev/block/mmcblk0p17 /preinstall
mount: mounting /dev/block/mmcblk0p17 on /preinstall failed: Invalid argument

Have tried twice and get same errors both times.

---------- Post added at 09:11 PM ---------- Previous post was at 09:08 PM ----------



I believe the adb command is "umount" as it says in the OP's instructions, not "unmount". Did some reading to double check this myself.
You were right, but i still get invalid argument whenever i try that command. If i keep going, i get the same error that you are getting with:

mount -t ext3 /dev/block/mmcblk0p17 /preinstall

"Invalid argument"

Any ideas?

Sent from my MB860 using XDA
 
  • Like
Reactions: m2maynard