yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] ravilov:
According to this, this should be fixable quite easily with the -msoft-float flag somewhere. I'm not using gentop (or any other kind of webtop for that matter) so I don't know exactly where, but it should be doable.
[Atrix 4G General] /b/-TarD:
hey guys, anyone can assist a noob here on trying to install gentop2? i followed the instruction but as when i came to this

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

it says invalid parameters or something, i bypass it by changing the ext3 to ext2 and it mounted nicely, however, after finished everything, i tried to boot into gentop but it just stuck at the red moto logo
[Atrix 4G General] crnkoj:
Did you format the partition with ext3/4?
[Atrix 4G General] /b/-TarD:
Sorry but how does one do that? The mmcblk0p17 partition is it related to sd card? I do have a ext3 partition there:D
[Atrix 4G General] ravilov:
Search before you post.

http://xdaforums.com/showthread.php?p=35779145#post35779145

p17 has nothing to do with any SD card.
[Atrix 4G General] USSRxAZ:
well, i think it depends of kernel

i am using ext4 commands with faux kernel all time.

try mount -t ext4 /dev/block/mmcblk0p17 /preinstall if u are using non stock kernel

also there is command had to be done after tar unpacking

for those who mounted it as ext4

sed -i s/ext3/ext4/ /osh/ubuntu.sh

i did guide for russian atrix community months ago

i ll past short version there

once after rom install or wipe:

$ su

# cd /

# mount -o remount,rw /dev/block/mmcblk0p12 /system

# mv /system/bin/load_pia.sh /system/bin/load_pia.sh.disabled

mv can't rename means its already ok

# umount /preinstall // if u meet error it means its not mounted already , its ok :)

# mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17

# mount -t ext4 /dev/block/mmcblk0p17 /preinstall // or replace ext4 with ext3 for a stock kernel

# df // osh should be 2% and preinstall 0%

# cd /

# tar xvzf /sdcard/GenTop2-20120509.tar.gz // busybox tar for stock rom if tar dont work

# sync

// additionally if u used ext4 mount before :

# sed -i s/ext3/ext4/ /osh/ubuntu.sh

# sync

# reboot

// - means comments xD
[Atrix 4G General] /b/-TarD:
hmm, thank you, i will retry again. i am using the ramfix kernel previously and now changed to mrom kernel, so which one should i use? ext 3 or 4?
[Atrix 4G General] USSRxAZ:
ext4. most non stock should support it
[Atrix 4G General] elijacob:
Help please

Hi,

Can GenTop2 be the solution to my Atrix 4G

I tried to enable webtop according to http://xdaforums.com/showthread.php?t=980193 since I want to use full linix webtop with any HDMI (not only on my dock)

But the result was my phone completely disabled webtop, even with the dock. This may be related to the version of my phone : 4.5.2A GB 2.3.4

Can I GenTop2 this version and get the GenTop2 on any HDMI? or I may brick the phone?

Do any of you recommend me a diferent action to recover HDMI acces first?

Please help and thanks
[Atrix 4G General] basayew:
It is a good job. Thank you.
[Atrix 4G General] cholzberger:
Updating to recent gentoo version

Hey,

just installed Gentop2 and i really like it.

iam just done emerge --sync and now emerge tells me something about the profile is outdated.

now i wonder how i get from install to a recent version of gentoo?

can you provide some hints on how to get from that dated system to a more recent one?
[Atrix 4G General] xdej:
eselect profile list

then

eselect profile set default/linux/arm/10.0/armv6j/server

(pickup one from above list, pick up the one that was in your error message if possible.
[Atrix 4G General] etruj:
i followed the posts from page 33 on how to format your sd card. i then followed the instructions to cd / and untar the second tarball but my phone freezes and crashes before finishing every time i try. i've been trying to do it on adb but it doesn't recognize the commands (i do have busy box) so i've been running it on a terminal installed on the phone directly. Im doing this for a presentation in my mobile course so it'd be great if i could get it running in the next two or three days, ANY HELP would be appreciated. i have a basic linux understanding but this stage of the install has been a real headache
[Atrix 4G General] AdrianTry:
NVM I need to reinstal portage.
[Atrix 4G General] AdrianTry:
After I rebooted the phone i cant run a gentop. Whenever I put phone in lapdock I can only see floating motorola logo. Anyone can help?

Also I find this solution:

No Log In Screen

This was my first issue and somehow happened to be the hardest. The reason it was so difficult is because it requires attention to detail and the ability to follow instructions exactly. The instructions posted in the first post are everything you need. Notice the highlighted su commands.

The issue here is because of the part AFTER you disable the WebTop. I automatically entered into an escalated shell because that's what I was accustomed to. Once I reissued the commands EXACTLY like the post stated I was able to get the log in screen.

But when I look on the first post of this thread I don't know where should I see the answer.

Solved: taking off sd card and putting it back fixed the problem o.O
[Atrix 4G General] AdrianTry:
Sorry for not editing my second post but I wanted to bump the thread. I've installed libreoffce and used revdep-rebuild command but still office is not starting. it just flashes the Libreoffice logo for 2 seconds and then it disappear. Anyone can help? Here's the screen how it looks like
[Atrix 4G General] xavwanted:
Great job man ! I trying your gentop and it's realy impressive.

is that this distribution is optimized hardfp? And the integration of nvidia drivers is it possible?

http://developer.download.nvidia.co...ventana_nv-tegra_base_R15-Beta.1.0_armhf.tbz2
[Atrix 4G General] xdej:
gentoo, hardfload, no need to root

I have built gentoo for non-rooted phones, with hardfloat, for my padfone2.

It lives in directory /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/ of application "terminal IDE" with the EPREFIX option of Gentoo.

I now want to start sharing that gentoo installation.

This means 142 Mo of files (.tbz2 by quickpkg) that I want to host somewhere.

Do you know a place to host these files ? Maybe a place in xda ?
[Atrix 4G General] BigJeff:
Thank you for your work, I suggest google drive perhaps. If that doesn't work you could drive some alternative hosting site.

Thanks.
[Atrix 4G General] xdej:
http://wiki.gentoo.org/wiki/Binary_package_guide says that I need public ftp, ftps, http, https or ssh access to a folder with subfolders and free filenames. Google Drive doesn't seem to do that :(
[Atrix 4G General] USSRxAZ:
if u have own IP, use ur pc for beginnnig?

very interesting btw
[Atrix 4G General] Gendol:
@CaelanT

The display resolution can be changed using the corresponding Xfce setting tool. I can be challenging to hit the controls but afterwards it's fine.

Gendol
[Atrix 4G General] zomgno1:
Awesome. Youtube 720p works without lag.

oh and btw, faux kernel has swap. (as seen in http://xdaforums.com/showpost.php?p=20747656&postcount=2880)

EDIT: I just found out that if I logged in as root, aiw fails, but with adas, it works.

EDIT2: Seems like logging in as adas solves everything. Loving it! :)
[Atrix 4G General] Gendol:
@CaelanT

Why is there a Motorola "screensaver" behind the desktop when the resolution doesnt fit?

Apparently the tegra chip supports something called "overlays", which probably are just multiple overlapping video layers.

The screensaver seems to be always running at a very low stacking layer.

The usual X11 desktops is probably at layer 255, which one can see in the xorg.conf (I didnt much there).

When the multimedia application is started, it uses a higher layer than the desktop. That's why you can switch to multimedia app and back again.

Gendol
[Atrix 4G General] crnkoj:
Did a quick test with the new tarball, it seems the rest is fine on my tv at the login screen, couldn't test further, I because of no kb at that point. Great job on once again. Probably in can try building a kernel with swap tonight or tomorrow.
[Atrix 4G General] sxg75:
*How* do I *install* that second tarball? Or is it simply Ok to place that second file on the ext3-partition?
[Atrix 4G General] Alaq:
No. First partition your external sd to look like this:

/dev/block/mmcblk1p1 (remainder)
/dev/block/mmcblk1p2 (4.0 GB, formatted ext3)

Then in adb shell run:

tar xvjf /sdcard/GenTop2-portage-20120428.tar.bz2
[Atrix 4G General] CaelanT:
Might add that name of 2nd tarball should match the one you download. In this example the name does not match the latest which has a date of 20120428.
[Atrix 4G General] sxg75:
Tried it from running Gentoo environment/terminal, but whole system freezed after some time.

Does that work from adb somehow also? (installing that 2nd tarball?)
[Atrix 4G General] CaelanT:
Use adb just like the main tarball.

---------- Post added at 03:18 PM ---------- Previous post was at 03:17 PM ----------

Any way to change the time displayed in the desktop clock? It's 6 hours fast for me.
[Atrix 4G General] Alaq:
Isn't it under xfce settings?
[Atrix 4G General] CaelanT:
Can't find anything for changing the time.

<edit> Figured out how to change local timezone here > http://www.gentoo.org/doc/en/guide-localization.xml
[Atrix 4G General] Alaq:
Thanks for your answer, but could you help me with this, I really don't know what I'm looking for, sorry lol.

I also read that gentoo is dropping openoffice, so should I Edit

"app-office/libreoffice-bin **"

into the file /etc/portage/package.keywords aswell as write

"app-office/libreoffice-bin"

into /etc/portage/package.unmask

And then run this?

emerge app-office/libreoffice-bin

Or just try it with openoffice?
[Atrix 4G General] sxg75:
Installing 2nd tarball from adb ended with "tar:short read" after decompressing for a while, stopping at mnt/gentoo/portage/dev-perl/...
[Atrix 4G General] CaelanT:
If you did this it should have gone ok. Takes a long time though. Maybe setup sdcard again, re-download, and give it another go.

<edit> After getting shell I also did "# su" first. Dunno if that made difference.
[Atrix 4G General] crnkoj:
try libreoffice-bin if they have it armv7-a softfloat compiled, but just compiling libreoffice probably wont work, and if it will it will compile it like at least a day (takes around 40 mins on my 2600k at 4.2ghz and the panda i have is approx 22 times slower than the pc at compiling stuff, so id say the atrix is about 25-30 times slower)

Btw we could use LXDE instead of XFCE, its basically based on it but even more leightweight.
[Atrix 4G General] Alaq:
I just read on the gentoo archives, it's only for 64 and 86, could you help me get the one from Ubuntu please?
[Atrix 4G General] eurosport360:
Could someone tell me the similarities and differences between webtop2sd and this (Gentop2)?

I am somewhat a n00b when it comes to linux disks. So webtop2sd is ubuntu while this is Gentoo if I am correct.

Isn't Gentoo a lot older than ubuntu, and takes much longer to install/compile programs? OpenOffice for example?
[Atrix 4G General] Alaq:
Well this is designed for Arm units unlike the webtop that Motorola gave us, so it's much much faster... But yes installing programs is hell on gentoo...
[Atrix 4G General] NickLatech:
This was probably my problem. I'm in the process of re-installing to validate. These details are very important and need to be move to the install post.
[Atrix 4G General] eurosport360:
Thanks so much for this, after so much work trying to get a desktop on atrix, it finally works.

Just a couple of n00b questions:

1) How do you change the time on the top right?

2) How do you properly quit out of webtop? When you click logout, it asks if you want to shut down, logout, hibernate, etc. Which one do chose to safely close it?

3) Is installing resources such as flash and java the same as installing applications? i.e. using Portage?

4) What is a good source to learn all about gentoo? I am going to guess that the gentoo handbook is the best bet, specifically the arm-architect version....

http://www.gentoo.org/doc/en/handbook/handbook-arm.xml

right?

5) What are some beginner apps to start installing?

6) Does any version of openoffice work for this? I thought I saw that openoffice was only for x86 and x64....
[Atrix 4G General] xdej:
Sorry, you will have to wait more: there are still binaries depending on /lib ...

I chose sourceforge.
[Atrix 4G General] crnkoj:
Nice to know, I'd be eager to try it and help once you have the uploading sorted.

I know your app terminal ide and like it much. I take it you don't have X working within gentoo in it, or have you tried with vnc and such? I myself tried those things some time ago but it was buggy and slow... Another question, armv6l for compatibility reasons and does it have a fully working portage/compile system so we could recompile it for armv7 with hardfloat and neon (out of my experience that makes it much faster). Thanks

As others suggested Google drive should be Ok for first testing purposes
[Atrix 4G General] dennis789:
any flashable zip?
[Atrix 4G General] palmbeach05:
so basically you don't want to do anything via adb? guess what, sometimes you gotta do what you don't want to do.

Btw, thanks for all the spamming you did earlier and bashing a project that has been in the works for 6+ months. Its an alpha stage kernel on its initial release. expect issues, be quiet, and deal with it. if you can't, go back to GB.
[Atrix 4G General] BigJeff:
So I got through the installation of the base Gentop2, no errors, but when I put my Atrix on the lapdock, the red Moto logo just bouces around... Any ideas??? Thanks.
[Atrix 4G General] crnkoj:
You did something wrong, perhaps sdcard isn't being initialized properly, or you have overwritten something. It happened to me several times when I moved almost everything to the sdcard. I fixed it with trial and error. In my case I used an /osh/usr simlink to /sdcard/usr which has to be mounted at boot of the phone and not with the script "ubuntu.sh", so if you are trying to achieve something like this, you need to edit the ramdisk of your boot.img, etc
[Atrix 4G General] BigJeff:
No I'm not trying anything like that, to advanced for me at this point. Here is what I'm doing.

1. Boot into CWM and select mounts and storage.

Select format /osh and format preinstall.

Then I wipe data/cache factory reset and wipe dalvik cache.

Install originial Nottachtrix 1.3.1 ROM and choose the ATT kernel. (ATT phone)

2. It boots up and then I reboot into CWM, I mount all of the partitions in CWM, and from there I follow the commands in root ADB shell

root@jeff-Aspire-M5630:/home/jeff/Android/sdk/platform-tools# ./adb shell
~ # su
/sbin/sh: su: not found
~ # cd /osh
/osh # mv etc etcx
mv: can't rename 'etc': No such file or directory
/osh # reboot
root@jeff-Aspire-M5630:/home/jeff/Android/sdk/platform-tools#

Reboot into CWM and again mount all the partitions using CWM.

root@jeff-Aspire-M5630:/home/jeff/Android/sdk/platform-tools# ./adb shell
~ # cd /
~ # ls bin
ls: bin: No such file or directory
~ # rm -r osh/*
~ # ls osh
~ # mount -o remount,rw /dev/block/mmcblk0p12 /system
~ # mv /system/bin/load_pia.sh /system/bin/load_pia.sh.disabled
~ # umount /preinstall
~ # mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
176704 inodes, 353280 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
44 block groups
8192 blocks per group, 8192 fragments per group
4016 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
~ # mount -t ext3 /dev/block/mmcblk0p17 /preinstall
~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 418632 32 418600 0% /dev
/dev/block/mmcblk0p15
645056 16900 595388 3% /cache
/dev/block/mmcblk0p16
2064208 176412 1782940 9% /data
/dev/block/mmcblk0p13
774064 17164 717580 2% /osh
/dev/block/mmcblk0p3 1980 1144 836 58% /pds
/dev/block/mmcblk0p12
317335 264091 36860 88% /system
/dev/block/mmcblk0p18
11211876 3497432 7714444 31% /emmc
/dev/block/mmcblk1p2 3522592 72604 3271044 2% /sd-ext
/dev/block/mmcblk0p17
331079 10287 320792 3% /preinstall
~ # cd /
tar xvzf /emmc/GenTop2-20120509.tar.gz
(It runs through a billion lines of stuff that seems to extract correctly?)
(NOTE had to change from /sdcard to /emmc in order for it to recognize it as a valid directory)
~ # sync
~ # sed -i s/ext3/ /osh/ubuntu.sh
sed: unmatched '/' (tried just ext3 since it wasn't faux but that didn't work.)
~ # sed -i s/ext3/ext4/ /osh/ubuntu.sh
~ # sync
~ # reboot

It still doesn't work either!!!?!?! Just does the stupid bouncing M and then says no hdmi and crap.
[Atrix 4G General] crnkoj:
You should do the steps while the rom is booted and not in recovery. And use faux kernel, not stock.
[Atrix 4G General] BigJeff:
So while the phone is booted just like I'd be using it, and have debugging enable? Ok I'll give that a try.

EDIT: I tried it with Android running, using faux kernel and the exact same commands, except I used ext4 instead of ext3, and i still just bounces around the stupid red M!!!
[Atrix 4G General] USSRxAZ:
look at my short instruction, only necessary steps included

i would also recommend to reboot twice after gentop done or use awesome rom (with ext4 faux kernel addition) instead notachtrix
[Atrix 4G General] crnkoj:
Ye like that. I'm not sure what is going wrong there. The symptoms you describe look like it's not finding the files/partition needed...
[Atrix 4G General] BigJeff:
Here's what I'm going to try. I'll format /osh and /preinstal. Then I'll flash the 2.3.6 Webtop and ROM fruitcakes. Then I'll flash Nottachtrix 1.3.1 and try it from there. I have wanted to try this for EVER and it's driving me mad.
[Atrix 4G General] crnkoj:
That seems like a good plan. Don't forget to flash faux kernel onto nottachtrix, or else you will be stuck with ext3. And I would certainly recommend ext4.
[Atrix 4G General] BigJeff:
Yeah in the Aroma installer should I select A) Faux kernel @ 1000mhz or B) Faux kernel [MENTION=322487]1000[/MENTION]mhz ext4? Before I chose A) and adb shell didn't complain so... BTW regular webtop is working right now so I'm at like a stock installation. I will see what I can do from here....

EDIT: I wasn't able to complete the process because after untaring the file, adb stopped recognizing the device... WTF is going on?

EDIT2: So I rebooted my device and computer. killed adb server and restarted it registered it again... Hopefully it fully extracted the tar so I dont have to go through this again!

FU** it, more bounces M bullcrap. I think I need a break....

Edit: Ok, so I formatted /preinstall and /osh.

Then I wiped data ect and then flashed the webtop fruitcake and rom fruitcake. Booted and regular webtop worked fine.

Flashed nottachtrix with the ext4 kernel and webtop was still running fine.

went through the gentop installation guide and substituted ext3's for ext4's and rebooted.

NOPE JUST MORE BOUCING M's!!! Dammit.
[Atrix 4G General] crnkoj:
the adb not working issue is kind of known to me ( i thought its because i moved things to the sdcard), as this was like a year ago or so, i dont really remember how i fixed it, or managed not to brake it. i do however know that once it was broken, i had to reflash nottachtrix to make it work again... (even if i changed the setting in /data/data/something it wouldnt work), it might be even that once you get it to work adb drops and you have to do the last few steps through terminal emulator on the phone itself (might use a keyboard and hdmi to tv, so its easier)

edit:

i remember now, i couldnt get the "new version" (the one using osh and preinstall) to work myself, so i used the older version (not sure its up here - ill upload to my gdrive so you can get it), than i first installed the old version, got it to work, and installed the diff file, than i manually edited the ubuntu.sh, and faux kernel so it would bind mount the sdcard to /osh/usr, copied /usr to my sdcard (did all of this on my pc), than flashed kernel, copied over ubuntu.sh, inserted sdcard and it worked. if you want i can later grab the kernel and the modded ubuntu.sh from the phone and upload it
[Atrix 4G General] supRyze:
Actually you can use non-ext4 version of faux kernel.

I use GB-24 version over NottachTrix 1.3.1 with gentop.

Maybe something wrong with the file placement or permissions.

What you can do is see the logs in the "/data/var/log/" directory.

Also check if X-server is running. I.e.

# ps ax|grep X

You should see something like "/usr/bin/X :0 -nolisten"

Also check if binaries in /osh/bin/ /osh/sbin/ /osh/usr/bin/ /osh/usr/sbin can be executed.

If you execute in the adb shell

# /osh/bin/ps axf

You should see nice tree of processes.

By the way, I found a funny thing: if I kill xdm (so would die all his children including X), I could connect lapdock as "Mirror phone on display". And it is sometimes usefull to watch films in the MXPlayer, though resolution is not native, but some 720p which can be rendered with "hw+" decoder looks good.
[Atrix 4G General] BigJeff:
/ # ps ax|grep x
547 root 0:00 [tegra_hsuart_rx]
549 root 0:00 [tegra_hsuart_rx]
551 root 0:00 [tegra_hsuart_rx]
553 root 0:00 [tegra_hsuart_rx]
748 root 0:00 [kxtf9_wq]
1293 root 0:00 [ext4-dio-unwrit]
1302 root 0:00 [ext4-dio-unwrit]
1306 root 0:00 [ext4-dio-unwrit]
3046 root 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -reuse
3249 10065 0:00 {equicksearchbox} com.google.android.googlequicksearchbox
4001 1010 0:00 /system/bin/wpa_supplicant -D wext -i eth0 -c/data/misc/wifi/wpa_supplicant.conf
5615 root 0:00 ps ax
5616 root 0:00 grep x

All the /osh/xxx/ directories in root explorer are marked as executable for owner, group, and others so that's good.

/ # # /osh/bin/ps axf
/ #

Is all I get, no processes...

Also crnkoj if you could do that it would be great. Thanks for trying to help me out guys.
[Atrix 4G General] supRyze:
I should just remark that linux is generally case-sensitive, though busybox's ps-applet looks not.

Yet as "ps ax|grep x" does not show "/usr/bin/xdm" nor "/usr/bin/X" running thus it is obvious that you could not see anything except red M logo on the lapdock.

Also the empty output of "/osh/bin/ps axf" shows that something is fundamentaly broken.

Can you provide a detailed listing like an output of "ls -la /osh/bin/"?

You should also check that in the /osh/usr/bin/ directory the important files like Xorg and xdm are present and have non-zero size.

By the way, this is how should look the root directory:

In the end, you can try to start webtop services manually from adb shell:

/ # ./ubuntu.sh

there will be alot of error messages in case system has done it already.

Or you can launch only xdm:

/ # /sbin/rc -s xdm start

* Setting up xdm ... [ ok ]

I don't expect it to work for you, but it is likely to provide feedback.
[Atrix 4G General] supRyze:
Having seen the /osh/bin/ps output is definetrly an improvement.

As for lack of Xorg it should be there, upper-case letters have more priority, so they should be more close to the begining of the listing.

Anyway looks like the binaries are in the right places.

Try to launch "ubuntu.sh" in the / directory.

Also log-files in the "/data/var/log/" folder can give an insight what's gone wrong.