yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] markinhosmrk:
For the mount command, I jusr removed the -t option:

mount /dev/block/mmcblk0p17 /preinstall

Also, I had to move back the file on the first step to its original filename, or else /preinstall would not be mounted after reboot.

Even so, when I plug the phone on the multimedia dock I get only the Motorola screensaver, even after selecting WebTop on the phone screen.
[Atrix 4G General] aaron.a:
Same thing here. I read the mount stuff and -t specifies filesystem type so ext3.. no idea why that's invalid. Mayne were missing an argument? I tried fixing the boot script too and running it with -w and same thing. Only my phone crashed on connection
[Atrix 4G General] eurosport360:
How exactly would you clean install the new update gendol posted?

I assume you would just follow the main instructions again. It should wipe everything and install it new again I would think....right?
[Atrix 4G General] aaron.a:
Dudes,

When I do full wipe flash of nottachtrix it doesn't restore stock webtop. If I format osh it doesn't work either. Do I have to fastboot erase webtop? well, i tried it. i needed to get adb going anyway so next time i can type the commands with a keyboard

---------- Post added at 10:44 PM ---------- Previous post was at 10:35 PM ----------

it looks like we're all having some issues with the commands. i'd wait till tomorrow before following the steps. i think gendol may have left something out by mistake
[Atrix 4G General] aaron.a:
Hmm fastboot erase webtop didn't work. I think the thing is when I first installed nottachtrix the untouched stock webtop that I never used was still there
[Atrix 4G General] eurosport360:
I've been thinking that you do not even have to wipe the webtop with any commands, but just follow the original installation instructions. Those instructions seem to do all the necessary deleting in the first place (it deleted my origional webtop, so I would assume it would delete this one too), and installs the new tarball after all the partitions and directory's are set.

Or do you mean the original instructions do not work?
[Atrix 4G General] flexpackman:
Well I'm like CaelanT and I got to go to bed here on the east coast.

I didn't get to play around tonight, but seen the posts on not getting original webtop back. I had done this a week ago as posted back a couple of pages. I just did it again to make sure it still worked on my phone.

Don't know if I'm just holding my mouth right, but I did these steps in order and got original 2.3.6 webtop back..

1. Did not re-flash NottachTrix 1.31 first (may or may not be an issue).

2. Boot into CWR.

3. Choose Mounts & Storage.

4. Format the \osh partition.

5. Flashed Sam's fruitcake for 2.3.6 webtop. My filename is 236weptop.zip and has a 12/28/2011 date on it. It comes up with his ASCII art and noobe check. It takes about 4-5 minutes with no status during flash. Then the CWR menus return

6. Reboot. It's plain jane Motorola Webtop in the LapDock....

I put the 236 zip I'm using in my DropBox here :http://dl.dropbox.com/u/37103569/236webtop.zip

Of course YMMV.... Good Luck!

Nite. Nite.
[Atrix 4G General] aaron.a:
Thanks, that's probably what ill do to get back to square one. I was trying to remember where id found cwm flashable webtops in the past. Did you have success mounting preinstall?
[Atrix 4G General] zomgno1:
are you using faux kernel?

try

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

This worked for me.

EDIT: You will need to edit ubuntu.sh too.
[Atrix 4G General] Gendol:
Okay, let's see. Lots of open ends:

- Nice that some sd-cards are really fast. Mine isnt :( But it may also be faux's kernel, which I am not using atm due to stability issues.

You can definately change the mounting methods and use the external card for everything.

- Problems with /preinstall: I knew this would be difficult, which is why I avoided it at first. I use the base kernel with a "relocked" phone as it is most stable and has long life as well.

So apparently faux's kernel only has ext4, which is fine, just change ext3 to ext4. The mkfs formatting should be the same however.

- However, mkfs using CWM is not an option because the -i parameter is very important and gives you a higher "number of files" that can be stored. This is because /var contain lots and lots of 100 byte files.

atrix ~ # df -i /preinstall/
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/block/mmcblk0p17 176704 24060 152644 14% /preinstall

- For those who cant' umount /preinstall, please check that your partition table matches mine:

atrix ~ # fdisk -l /dev/block/mmcblk0

Disk /dev/block/mmcblk0: 16.0 GB, 16044785664 bytes
1 heads, 16 sectors/track, 1958592 cylinders, total 31337472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1024 8191 3584 83 Linux
(... lots of lines enumerating mmcblk0p?)
/dev/block/mmcblk0p12 57344 712703 327680 83 Linux
/dev/block/mmcblk0p13 712704 2285567 786432 83 Linux
/dev/block/mmcblk0p14 2285568 2326527 20480 83 Linux
/dev/block/mmcblk0p15 2326528 3637247 655360 83 Linux
/dev/block/mmcblk0p16 3637248 7831551 2097152 83 Linux
/dev/block/mmcblk0p17 7831552 8538111 353280 83 Linux
/dev/block/mmcblk0p18 8538112 31005695 11233792 83 Linux

Last ones are important: mmcblk0p17 is /preinstall. Check that it is there.
[Atrix 4G General] zomgno1:
With the latest version, aiw doesn't seem to work as "libORBit-2.so.0: cannot open shared object file".

Does it work for any of you guys? I did a clean reinstall.
[Atrix 4G General] Gendol:
Bad bad, sorry I seem to have been too aggressive moving around files and lost those in the process.

Fixup by reinstalling orbit:

# emerge -G1 orbit

I also silently updated the tarball.

Gendol
[Atrix 4G General] CaelanT:
To clarify what I was doing when wiping and restoring, I was restoring my backup of Nottachtrix, then flashing the 2.3.6 fixed webtop fruitcake in order to get my phone fully functional again. I was also doing this so that I was in my original beginning state completely before installing Gentop2 again. As far as wiping, I always wipe everything, even before restoring from nandroid. Just makes sure I have a clean base. This includes boot, system, userdata, cache, preinstall, and webtop.

Gendol, I am using A Faux kernel, so I will try this again when I get to work this morning replacing ext3 with ext4.

<edit> nm, this won't work anyway as I cannot get this far because of umount /preinstall error. When I do fdisk -l /dev/block/mmcblk0 my filesystem looks like yours. Partitions 1-4 say does not end in cylinder boundary.

When I do this > df -i /preinstall/ the file system shows as rootfs, not as /dev/block/mmcblk0p17 which you show.
[Atrix 4G General] USSRxAZ:
try to format preinstall and osh in cwm before making shell commands

it worked for me with ext4 mount way
[Atrix 4G General] Gendol:
The

umount /preinstall

is only to unmount the partition before mkfs.

If it is not mounted, you can try to format it using mkfs.

If that succeeds, then there is no problem.

Gendol
[Atrix 4G General] aaron.a:
edit: disregard i got it. i'd edited the ubuntu.sh in / instead of the one in /osh =D thanks for the update gendol!

can anyone see what's i've done wrong? ok, i followed the steps and at umount i got the invalid error, but i moved to the formatting and that ran fine. cool, so i kept going without any more errors. i used ext4 on preinstall and modified ubuntu.sh to ext4 but preinstall doesn't mount on boot, so i manually mounted it, and check the partitions, but i still get the moto logo screensaver on dock =(

also, at mv load_pia it threw file system is read only, so i manually renamed it in root explorer

C:\Users\Aaron>adb shell
/ # su
su
/ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 417432 44 417388 0% /dev
tmpfs 417432 0 417432 0% /mnt/asec
tmpfs 417432 0 417432 0% /mnt/obb
/dev/block/mmcblk0p12
317335 245836 55115 82% /system
/dev/block/mmcblk0p16
2064208 328184 1631168 17% /data
/dev/block/mmcblk0p15
645056 16948 595340 3% /cache
/dev/block/mmcblk0p3 1980 1134 846 57% /pds
/dev/block/mmcblk0p13
773896 627324 146572 81% /osh
/dev/block/mmcblk1p2 5233888 1855888 3112176 37% /mnt/gentoo
rc-svcdir 1024 48 976 5% /osh/lib/rc/init.d
cgroup_root 10240 0 10240 0% /sys/fs/cgroup
shm 417432 0 417432 0% /dev/shm
/dev/block/vold/179:33
6131988 1419064 4712924 23% /mnt/sdcard-ext
/dev/block/vold/179:18
11231008 7124512 4106496 63% /mnt/sdcard
/dev/block/vold/179:18
11231008 7124512 4106496 63% /mnt/secure/asec
/ # mount -t ext4 /dev/block/mmcblk0p17 /preinstall
mount -t ext4 /dev/block/mmcblk0p17 /preinstall
/ # df
df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 417432 44 417388 0% /dev
tmpfs 417432 0 417432 0% /mnt/asec
tmpfs 417432 0 417432 0% /mnt/obb
/dev/block/mmcblk0p12
317335 245836 55115 82% /system
/dev/block/mmcblk0p16
2064208 328184 1631168 17% /data
/dev/block/mmcblk0p15
645056 16948 595340 3% /cache
/dev/block/mmcblk0p3 1980 1134 846 57% /pds
/dev/block/mmcblk0p13
773896 627324 146572 81% /osh
/dev/block/mmcblk1p2 5233888 1855888 3112176 37% /mnt/gentoo
rc-svcdir 1024 48 976 5% /osh/lib/rc/init.d
cgroup_root 10240 0 10240 0% /sys/fs/cgroup
shm 417432 0 417432 0% /dev/shm
/dev/block/vold/179:33
6131988 1419064 4712924 23% /mnt/sdcard-ext
/dev/block/vold/179:18
11231008 7124512 4106496 63% /mnt/sdcard
/dev/block/vold/179:18
11231008 7124512 4106496 63% /mnt/secure/asec
/dev/block/mmcblk0p17
331079 121480 209599 37% /preinstall
/ #
C:\Users\Aaron>
[Atrix 4G General] CaelanT:
I am up and running, but I do not see Firefox, Libreoffice, etc.

Either I have done something wrong, or I do not understand how they have been added and/or how to use them.
[Atrix 4G General] noRetail:
Greater Job

Hi Gendol, greater job, congratulations.

Question One: The Mobile View of original WebTop work fine in Gentop2, we can acess Messages, Calls, Contacts, etc from XFCE Desktop?

Question Two: The PostGreSql work fine in GenTop2, in my Atrix don't work on WebTopMod (Access Denied in Start procedure)?

Question Tree: I use The Dark Side Rom from Nottach, it's good to install Gentop2?

Sorry my bad Enghish. :D

noRetail (Aderbal from Brazil). ;)
[Atrix 4G General] aaron.a:
oof,

before i did anything i did emerge -G1 orbit and after it finished midori throws this proxy error and won't load pages? so, i formatted osh, then reinstalled the tar with the silent updates and midori still gives the proxy error

hmmm, when i did reinstall i skipped the preinstall bit, rather i just let it error, then sync reboot. so, when i did emerge -G1 orbit did it break something in preinstall? or is this just midori acting dumb? please help
[Atrix 4G General] CaelanT:
Did same for me. Mine started working again, but I didn't reboot or anything. May have been an emerge rsync or something that fixed it cos' I am playing around a lot right now. Anyhoo, I had already installed Firefox prior to that, and it didn't break after emerge -G1 orbit. I have since uninstalled Midori (emerge -C midori).

<edit> I am playing with themes............or trying to. everytime I try to install one I receive a message telling me I must --autounmask-write. Any help with this appreciated.
[Atrix 4G General] aaron.a:
yeah i emerged firefox and it's good =) never solved the midori issue tho. for autounmask you do

emerge x11-engine/gtk-engines-murrine --autounmask-write

then it will remind you to run

etc-update

when you do it lists options, use

-3

edit: last i tried murrine broke mobile view. not sure how, not sure why but i'm trying it again now. that's just an example. it works the same way with anything that is masked

=)

edit: k yeah, murrine themes don't play nice with the mobile view window. the second you apply one the window crashes. if you switch back to an xfce theme you can launch it again. weird

---------- Post added at 05:06 PM ---------- Previous post was at 04:48 PM ----------

lookin' damn good, and stupid fast =D
[Atrix 4G General] metk@:
Is there any method to unpack portage not using particulary teh phones resources?

Cos every time my phone shut off or reboot during tar command... it's little bit annoying, I've tried it several times yesterday and few more today. Or mayby it is possible to skip files that are already unpacked and just copy the rest?
[Atrix 4G General] CaelanT:
Can't for the life of me get Libreoffice or Openoffice installed.
[Atrix 4G General] aaron.a:
me either i tried to emerge app-office/libreoffice-bin and now firefox isn't working xD midori hasn't mysteriously fixed itself either. not entirely sure what's going on here, but i'm going to try unmerge to see if i can fix them
[Atrix 4G General] crnkoj:
You could just write the packages that need to be unmasked into /etc/portage/package.mask

@Gendol

Hey I had a question about your crosscompile setup:

I emerged it with crossdev - the specific gcc, binutils, headers, glibc that I have on the phone and changed the root directory for cross emerge so that the emerged things don't overwrite the cross-toolchain. I copied the package.* files and edited the cross make.conf with the specific use flags from the atrix, so that I have the same versions of the xorg packages. But now if I try to cross emerge for instance firefox or chromium, or any other package that relies on X I get an error that I need to unmask the packages that are in the package.mask from the atrix, but if I do it on a the phone, I don't get this error. My question now, how did you manage to circumvent this issue?

And a second minor one, did you get crossdistcc to work?

Thanks for the great work!
[Atrix 4G General] CaelanT:
Would if I could, but I don't know how. Learning a lot fast here, but still on a steep uphill! :-)
[Atrix 4G General] flexpackman:
I think I need to open up a remote ADB shell session to my phone and let you guys have at it. All help would have great "beer" donations involved!

Didn't get to play at all today "at work" :rolleyes:

Glad to see some headway and extreme thanks for all the tips being posted and of course to Gendol.

After dinner is PLAYTIME! :D
[Atrix 4G General] crnkoj:
nano -w package.mask and copy paste the packages that are after the emerge, mentioned as needed to be unmasked ;) than ctrl+o and ctrl+x and it's done. Obviously you need to do this as root.
[Atrix 4G General] CaelanT:
I just tried gimp, and it eventually threw an error after about 45 mins just like libreoffice and openoffice.

Guess I will eventually figure it all out.

---------- Post added at 07:07 PM ---------- Previous post was at 06:32 PM ----------

This isn't working. I get the message that the lines are written, but I still have a missing keyword mask the same as before.
[Atrix 4G General] eurosport360:
Just to summarize everything so far:

-This method allows a person who has the old gentop2 version to update to the latest main tarball (?)

-This new tarball also allows ext4 kernals now?

And regarding the new portage tarball:

-The new portage update doesn't seem to include the package listed in changelog?

2 Questions:

1) What do you change in ubuntu.sh to make it ext4?

2) I have a grade 10 sdcard, so I would assume its speeds are up to par with the internal flash's speed. Do you think its worth changing over to sd card?
[Atrix 4G General] aaron.a:
Does any one know why midori and Firefox can't connect to network? I tried disabling proxy, and I searched the web but couldn't find much info
[Atrix 4G General] zomgno1:
Check your resolv.conf

I believe its empty. Whenever this happens to me I copy a working backup and replace it. Switching from data to wifi or vice versa seems to empty resolv.conf again when this happens.
[Atrix 4G General] aaron.a:
I think I read about that. It is indeed empty. Ill try and search around and find what should be there
[Atrix 4G General] aaron.a:
If you open it you'll see a line that looks exactly like the mount -t ext3 line in the install commands. It close to the top. Just change that line from 3 to 4 and you're good

---------- Post added at 11:41 PM ---------- Previous post was at 11:15 PM ----------

you are the man, bro.

i googled it and used the info here to fix the file

http://theos.in/desktop-linux/resolve-conf-linux-example/
[Atrix 4G General] giozera:
Invalid a rgument error

I get this error when I extract tar

tar: can't open 'preinstall/var/lib/xdm/authdir/authfiles/A:0-5hkIPP': Invalid a
rgument

any help?
[Atrix 4G General] CaelanT:
Answers in bold.
[Atrix 4G General] crnkoj:
Aha, I thought I read you have autounmask issues ;) well for keywords you need to put those lines into /etc/portage/package.keywords
[Atrix 4G General] CaelanT:
I tried this, but I could not save the modified file after adding the keywords. I will try again after I have set Gentop2 up again. I am starting over fresh.

The autounmask issues were my not understanding how to use --autounmask-write. I think I understand this correctly now.

Thanks for the help!
[Atrix 4G General] Gendol:
Okay. Let's see

I'm going to update the first post with ext4 stuff.

Thank's for testing that out.

@CaelanT:

Firefox and libreoffice are not included in the tarball. They must be installed later. (See first post: "Installable packages")

That is as simple as emerge -Ga firefox.

Though it's renamed to Aurora.

Don't try to install the -bin packages. They are something completely different.

Install firefox, thunderbird, libreoffice, etc.

I'll compile gimp for you tonight.

@noRetail:

Question One: The Mobile View of original WebTop work fine in Gentop2, we can acess Messages, Calls, Contacts, etc from XFCE Desktop?

Yes Mobile View works. As far as I know, Messages, Calls etc are just links that pop up things in mobile view. Am I correct? These links are also somewhere in the menu and you can add shortcuts on the desktop.

Question Two: The PostGreSql work fine in GenTop2, in my Atrix don't work on WebTopMod (Access Denied in Start procedure)?

Postgresql is an SQL server, you want to run it on the phone? Install it as usual.

Question Tree: I use The Dark Side Rom from Nottach, it's good to install Gentop2?

Can't tell. Dont know it. Except for CM7, all blur roms should work.

@Everyone with Midori problems

You only need to emerge -G1 orbit if you get an error along the lines of

"libORBit" missing.

I have no midori problem. I guess you should check network related things:

cat /etc/resolv.conf

and see if there is a nameserver entry.

Then do

ping google.com

and see if your network works.

I cant tell where a proxy error should come from.

@metk@:

Your phone is pretty unstable as it seems. I use the stock install (rooted, but not unlocked) and never get any reboot weirdnesses.

You can even install roms on the stock install by manipulating /system.

@crnkoj:

I actually don't crosscompile. I followed these instructions:

http://cqlug.linux.org.au/node/19

and now got a chroot containing only arm binaries that are emulated-on-the-fly via qemu on my Intel desktop.

The chroot itself is just the GenTop tarball unpacked on my desktop. So it's actually emulating an arm cpu, which isnt particularly fast, but works well.

@eurosport360

Yes ext4 doesnt matter, except for telling mount what the filesystem is.

My sdcard-ext also says class 10 but sucks. Dont trust marketing specs, trust speed tests.

@giozera:

Unpacking error, you can ignore that. No idea, I may have gotten it too, but overlooked it. Files in /var/lib/xdm/... are usualy temporary anyway.

Gendol
[Atrix 4G General] CaelanT:
Been up all night working, and started completely fresh with this while I was working. Thanks again Gendol. The info you gave above has me with a nice webtop which I just have to configure now. All the main apps I want are now installed OK.

Cheers!
[Atrix 4G General] mitch_55:
An other question : How enter the passwords (for X11 login) without keyboard?
[Atrix 4G General] zomgno1:
Not possible but a bluetooth keyboard will work.

Anyway, I've managed to successfully "emerge =media-gfx/gimp-2.8.0" since gimp-9999 seems to error out. :)
[Atrix 4G General] miray79:
Is there a remote desktop client for gentoo?
[Atrix 4G General] Gendol:
To Gentoo/phone: use ssh or even vnc (which is already installed)

From Gentoo/elsewhere: depends on elsewhere, use rdesktop or similar.

Gendol
[Atrix 4G General] crnkoj:
Hey gendol, great stuff, thanks for the info about qemu ( i tried that earlier, but never got it to work properly...), ill check into your guide you gave the link to.

I have one more question:

did anyone manage to get distcc to work, i followed the gentoo tutorial for distcc and was able to start it on my pc with rc-update add distccd default and with /etc/init.d/distccd start , but on teh atrix i did all the same and get an error when i try to start it (its a nonspecified error, like totally nonspecified, it just says "error" and nothing else), now i was wondering if anyone managed to get it to work? becaseu as much as i udnerstand it the distccd (daemon) needs to run on all machines that are part of the distcc (the "host" aswell), or am i mistaken there? That would actually make it way better for me.
[Atrix 4G General] noRetail:
Mobile View in GenTop2

Hi Gendol,

I installed GenTop2 in my Atrix, you make very nice work.

In original webtop, we have a window for Mobile View in lapdock, in GenTop2 i don't start this window, in menu appear the option "Mobile View", but when i click there the pop up window don't appear, you have a lapdock?, this window appear ok to you?

Thank's men.

noRetail (Aderbal from Brazil).
[Atrix 4G General] CaelanT:
You have to do an "emerge -G1 orbit" for it to work in latest version.

Also, on Applications menu go down to bottom so 'Other' expands. Use the Mobile View there. For some reason it appears in 2 places in menus, but only one works. Was same on original Gentop2. Also doesn't work from a shortcut on desktop panels.
[Atrix 4G General] noRetail:
Gentop2

Thank's men. Greater Help...
[Atrix 4G General] aaron.a:
edit: ok i definitely broke something. the symptoms are a huge moto logo screensaver floating around, and the phone is apparently responding to mouse clicks. i'm guessing when i used nautilus to copy usr onto mmcblk1p3 it broke some things. i also emptied osh/usr so that when it mounts there is nothing there. i'm not sure what i broke lol

edit: actually i think i got it. rsync -a threw errors (using ubuntu virtual machine) so i just copied in nautilus to the partition on the sdcard and the symlinks appeared to be preserved. so, at that point i just added the bit you gave me in the other post to my ubuntu.sh then replaced usr with a new empty usr folder using root explorer!

i'm using 0509 so i pretty much just copied usr from the tar. i couldn't find data/usr. so far so good. it logs in and my apps are missing. so i'm formating osh and preinstall now to start fresh with my new usr folder and see how it goes

ok i'm finally going to give this a serious shot. if you have a moment can you answer just a couple questions? i don't want to waste you time so i'm trying to be as concise as possible

1: when you say combined osh/usr and osh/data/usr do you mean just cut osh/data/usr and paste it into osh/usr?

2: can you give me the command that mounts usr to mmcblk1p3? (i'm assuming 3 because gentoo is mounted at 1p2)

3: when it's done do you tar the directory? like, just tar the root folder you're working at?

4: wait, do i also need to replace osh/usr and osh/data/usr with symlinks to the new partition? or does the ubuntu.sh edit take care of that? this is all very very new to me
[Atrix 4G General] djluis48:
Guys, my external SD card only have 4GB, would a 2GB partition work for portage? Or it needs to be 4GB?
[Atrix 4G General] CaelanT:
I did it with 2GB the first time OK. Have 32GB sdcard now so that's not an issue, but it works with a 2GB partition for portage.
[Atrix 4G General] djluis48:
Thanks a lot man! Im going to give this a shot again! :)
[Atrix 4G General] noRetail:
PostgreSql

Hi gays,

I have installed GenTop2 in Atrix e work fine.

I have installed postgresql-server and no errors in installation.

But start fail (Permission Denied), any idea to solve this.

Thank's

noRetail (Aderbal from Brazil).