yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] xdej:
Thank you for you offer. I have chosen sourceforge to distribute the starting kit in .tar.bz2. The first version is already there, although even bash is not working. Please do not use it yet.

What I need now: an access to files in memory (tmpfs, like /dev/shm) and a short /data/data/ld.so/ directory. I will manage without them but it would be nicer with.

I plan to use github to disribute the tbz2 that I needed myself (binary packages used by emerge).

I am not the author of terminal ide.

I do not yet plan to be a google play developper.

No indeed.

I unfortunately wil rely on vnc apps.

I now have

FEATURES=-sandbox emerge -G perl

working, and am now wokring to make

FEATURES=-sandbox emerge screen

.

I want to remain anonymous except in private messages.

I have hard access to xda-developers: firefox app and vanilla browser fails after login on xda:(

---------- Post added at 09:02 PM ---------- Previous post was at 08:53 PM ----------

Even lynx failed.

I am using the UC browser HD app.

I would very much like the author of terminal ide or the author of terminal emulator to make their app working as a widget or a floating app (like the "I'm sleeping" google App).

I would also very much like to know how the author of terminal ide remapped the physical zerty keyboard (: and . exchanged, ...) to also exchange 'control' with '$', 'alt' with '^' and 'shift' with '<'
[Atrix 4G General] supRyze:
I warned that would be a lot of messages, since this script should have being executed already.

The good sign is that this thing reported xdm to be started: "* Setting up xdm ... [ ok ]".

I compared the listing with the one I get from my Atrix, and I conclude the reason of misbehavior is not mounted /preinstall partition.

The first message concerns "/dev/block/mmcblk0p17" which is mounted by this line in the ubuntu.sh:

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

The preinstall partition in gentop is used for "var" directory, as you can see /var is a symlink to /osh/var which is also symlink to /preinstall/var/.

If you would be able to mount it properly with that exact line as in ubuntu.sh I think it will be last hurdle.

Maybe the problem is that you formatted partition in ext2 filesystem. ext2, ext3, ext4 are a little bit different filesystems. Use mkfs.ext3 as was said in the guide instead of mke2fs.

There is a good command "blkid", you can see which partitions you have and what fs they are formatted to, you should have:

If /preinstall is in ext2, you can convert it to ext3 with tune2fs utility. Something like this:

# tune2fs -j /dev/block/mmcblk0p17

Which adds the journal to ext2 effectivly transforming it to ext3.
[Atrix 4G General] BigJeff:
/ # blkid
/dev/block/mmcblk0p3: LABEL="pds" UUID="881ec34f-8e9f-458d-adc7-ea0dac50f6a2" TYPE="ext3"
/dev/block/mmcblk0p12: LABEL="SYSTEM" UUID="7db36a57-560f-46d9-a670-ef4ba7b855c0" SEC_TYPE="ext2" TYPE="ext3"
/dev/block/mmcblk0p13: UUID="64d26596-6b51-4d61-8774-9cb46d87583e" TYPE="ext3"
/dev/block/mmcblk0p14: LABEL="Motorola" TYPE="iso9660"
/dev/block/mmcblk0p15: LABEL="CACHE" UUID="49e64894-1f06-4ec9-ad9b-1e2656d48a89" TYPE="ext3"
/dev/block/mmcblk0p16: LABEL="DATA" UUID="72a13ee7-d022-4f8e-90e8-d6dc60be2827" TYPE="ext3"
/dev/block/mmcblk0p17: UUID="4779221a-885c-4a4f-bc79-eeb70b455929" TYPE="ext2"
/dev/block/mmcblk0p18: LABEL="MOT" UUID="8824-1AF9" TYPE="vfat"
/dev/block/mmcblk1p1: UUID="d98d1c16-3d86-418f-9140-dc16afa83ae4" TYPE="ext3"
/dev/block/mmcblk1p2: UUID="b4dd7ab8-ec6b-4413-b546-a4acd44835a1" TYPE="ext3"
/ #

Is mmcblk1 and p2 my sdcard then? Because those have different formats as well as mmcblk0p17.

I also ran "tune2fs -j /dev/block/mmcblk0p17" like you said and it ran correctly, because "blkid" now recognizes it as ext3 so that is good.

Also in the guide it says "# mke2fs -m 0 -i 2048 -j /dev/block/mmcblk0p17" not "mkfs.ext3" like you said. I ran exactly as the guide said.

HOWEVER I restarted my phone, plugged it into the lapdock and... You were right! It boots to the Welcome screen instead of the F****** RED M!! :)

Thank you soo much my man!
[Atrix 4G General] supRyze:
As for "mkfs.ext3" vs. "mke2fs -j" they are equal because ext3 is an ext2 with a journal, thus have backward compatibility. Looks like it was not your case.

Actually mkfs.ext2/3/4 are usually hard or symbolic links to the same mke2fs.

Using journal on the flash device is a little bit bad, as it can result in premature aging.

Yet I think the device will become obsolete much sooner than it would happen.

Still I'm glad that you have accomplished your quest. Congratulations.
[Atrix 4G General] crnkoj:
Hey, glad you got it working, I was really busy the last few days and didn't come to upload the things for you... Assuming you have it working, do you still need those files?
[Atrix 4G General] BigJeff:
Nope. But thanks for the offer. I was wondering how to enable the app "mobile view" on the root user. I wanted to do this because the account adas isn't capable of internet connection unless midori is launched with sudo, however in root mobile view refuses to launch... thanks for all the help btw guys.
[Atrix 4G General] supRyze:
That's very strange, I guess midori is misconfigured like some proxy-server is enabled.

Try to wipe configuration file in you home directory I mean like "/home/adas/.config/" "/home/adas/.cache/" and so on.

Midori is good but some site can be rendered in Firefox only. Of course Firefox is slow but it can be a solution to your problem. Also there is a text browser Links or Lynx.

Working as a root is a no-go:

1) it's dangerous, like nobody usually works under admin account persistently

2) /root is a symlink to /osh/root therefore it is on the /osh partition, so it is very restricted on the size while /home/adas (/data/home/adas) reside on the /data partition which have about 1-2Gb free.

Launching midori with a sudo command is not that dangerous, maybe when you lauched it with sudo first time it created config/cache files/folders so only root can write there. They should be deleted for a regular midori to be operational.
[Atrix 4G General] crnkoj:
Weird midori works for me under a das, as does mobile view, there's an explanation in the thread how to get mobile view to work.
[Atrix 4G General] BigJeff:
I used 'emerge -G1 comet' or whatever and like i said, mobile view works perfectly fine for adas. However midori refuses to connect. I checked under /data/home/adas and I deleted those configuration files. Any other suggestions? Thanks for the help, I'll check and see if it's application specific or if the terminal has internet permission....
[Atrix 4G General] BigJeff:
BUMP I got the system to recognize midori only by a full reinstallation of gentoo. Also I'm currently attempting to get Enlightenment 17 running because it is visually pleasing and in some cases lighter than lxde4. If anyone has had success replacing their desktop environment you could through me a bone
[Atrix 4G General] crnkoj:
Enlightenment is terribly resource consumable. I found it best to use xfce4. Lxde is bugged on arm (or at least it was at the time I was setting it up). Besides, if I'm right gentoo isn't supporting softfp anymore and only supports hardfp in the newer versions/ebuilds. That's why I've set it up working and have stopped updating it after I had it all working. I have to admit, ubuntu might be a better choice nowadays (if you manage to get a recent version to work), as they still support both hardfp and softfp.
[Atrix 4G General] xdej:
I personnaly use hardfp for my EPREFIX installation.

Work still ongoing: I need to explain to glibc that /etc lives in $EPREFIX/etc.
[Atrix 4G General] crnkoj:
i see, but if i understand you correctly you are basically making a chroot gentoo?

edit:

the point of this gentop is, is that it runs next to android and uses some of the same drivers and (im not sure here) probably some libs, thats why it has to be softfloat, as the android drivers and libs are softfloat, but since they run next to each other, you can fully use the linux portion as if it was a pc, hence the awesomness of the atrix.

Whilst chroot, as youknow runs so to say on top of android and it doesnt have all of the same access as a fully running system and it doesnt rely on the userspace libs/drivers of the "host" system, as it not using them, but uses its own, but due to that fact you cant use native hdmi outputs for instance etc...

if oyujust want a chroot gentoo, you should check into kholks work (for the razr), or just get yourself a severly better specced phone (like the s4), buy an UHS-1 64gb sdcard and make the system on it for chroot, than use vnc + mhl to connect to hdmi and have it working.
[Atrix 4G General] xdej:
I will use the google play "Xserver" app for that.

I use the padfone 2 (because it has an external screen, the padfone station).

Unfortunately, the padfone 2 does not have an internal sdcard slot :(

I will not chroot in that directory, because I want to keep my phone unlocked and unrooted; gentoo EPREFIX is able to fake that chrooting, by adding the prefix to all paths.
[Atrix 4G General] crnkoj:
I see, but it still basically is a chroot method? Or am I misunderstanding things? But yeah without root you can't chroot as you need access to /sys and /proc and more.

I have to check that xserver app from store, as I haven't encountered it yet. In the case you don't want to root, other options like the one from kholk with chrooted gentoo or the other chroot distros become unusable, as well as anything beyond simple browsing, writing documents, etc.
[Atrix 4G General] xdej:
/proc is still accesssible and is used by $EPREFIX/usr/bin/ps

Can you nname an application that you would need ?

I have glibc woring with $EPREFIX. Hence I have now ssh working with -L and, provided $EPREFIX/etc/resolv.conf is correct, with hostnames.

And I just discovered that xda-developers.com works with $EPREFIX/../system/bin/links.
[Atrix 4G General] xdej:
Distributing Gentoo for unrooted unflashed locked Androids (also works when unlocked)

I have uploaded a working version in https://sourceforge.net/projects/gentooandroid/files/

Choose file gentoo_armv6l_unrooted_unlocked_android_v3.tar.gz

Follow then the installation instructions in https://sourceforge.net/p/gentooandroid/wiki/InstallingInstructions/

you can, after that, emerge vim, or any other application present on my sourceforge tree, with:

FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -Gv vim
mv $EPREFIX/etc/portage/._cfg0000_package.accept_keywords $EPREFIX/etc/portage/package.accept_keywords
FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -Gnv vim

emerge without -G is not yet working on android :(

Steps to follow if you want to have a package that is not available to emerge -G:

(1) create a user xdej on any arm-installed rooted linux (Gentoo if possible, I have a raspberry for that),

(2) create /data/data/com.spartacusrex.spartacuside/gentoo_armv6l there also as user xdej

(3) apply and update http://sourceforge.net/projects/gentooandroid/files/packages/packages/usr.portage.patch

(4)

emerge -bv vim

on the

(5) synchronize your two directories /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/portage/packages

(6) use

emerge -G vim

on your unrooted android

Please post here your first impressions and bugs.

To make sshfs work starting from this v3.tar.gz:

(a) emerge -Gv openssh following first instruction of this post,

(b) add /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc/shadow with one line for user xdej and a strong password (copy the password field from a /etc/shadow of a real linux machine),

(c) set "UsePAM no" in /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc/ssh/sshd_config

(d) use

ssh-keygen -t dsa -f /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc/ssh/ssh_host_dsa_key

(IMPORTANT for security)

(e) execute /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/sbin/sshd

(f) from a linux box, use sshfs -p 10098 xdej@your.padfone.address.com:/data/data/com.spartacusrex.spartacuside/ ~/terminaIDEfiles

(g) sorry, the sshfs in the other way will never be possible without rooting (/dev/fuse: permission denied)

After that, you can delete /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/00sshServer whose password was not really protected from local apps.

The new ssh server can be launched by executing /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/sbin/sshd
[Atrix 4G General] USSRxAZ:
will try later today

need better instructions :( , havent such linux knowledge or time to get it atm
[Atrix 4G General] xdej:
Sorry :(

Did you have access to the instructions in 00readme.txt ?

Do you know how to make screenshots ?

I am willing to help you.
[Atrix 4G General] USSRxAZ:
ye, i did install terminal IDE, unpacked tar in right place, read that readme

saw smth about making changes in 2 files and stucked in

lets post readme text here and comment it imo

sry but cant say much more or try again until evening
[Atrix 4G General] xdej:
Please untar http://sourceforge.net/projects/gen..._unrooted_unlocked_android_v3_v4_diff.tar.bz2 in /data/data/com.spartacusrex.spartacuside/.

You will find a rewritten version of 00readme.txt, with updated version of the files I created (the other files were created by Linux Gentoo).
[Atrix 4G General] USSRxAZ:
ok, i ll look it at evening
[Atrix 4G General] chiikko561:
What rom should I use... I mean every one that is stock or blur based are out dated so which one would any of you recommend
[Atrix 4G General] palmbeach05:
From page 52:

"Is there a way to use Gentop2 with atrICS or ICSRom? They seem pretty solid now and a true webtop would be the icing on that ice cream sandwich"

"No. Anyways, I just got my Atrix and Lapdock so I can't wait to try this! It's just too bad there's no more development for this cool project."

Also, HDMI is not supported yet on CM9 and up with new kernel. Searching through this forum would have pointed you to your answer, which is GB based ROMs, and CM7 does not work with this project.
[Atrix 4G General] USSRxAZ:
nano commands from install txt dont work in terminal IDE, how to install it, its simple text editor if i remember right

do i need to "install system" in terminal IDE?
[Atrix 4G General] xdej:
It is because you forgot to "install system".

Yes. But not "install gcc".

For emerge -g, you need an internet connexion to gentooandroid.sourceforge.net

You must also add symlink that I forgot to put in this patch.

What I have: xdej@localhost ~ $ cd /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc/

xdej@localhost /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc $ ls -l passwd shadow resolv.conf

lrwxrwxrwx 1 xdej xdej 17 Jul 5 11:54 passwd -> ../../zetc/passwd

lrwxrwxrwx 1 xdej xdej 22 Jul 5 11:17 resolv.conf -> ../../zetc/resolv.conf

lrwxrwxrwx 1 xdej xdej 17 Jul 5 11:17 shadow -> ../../zetc/shadow

To obtain that:

cd /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/etc/ ; for i in passwd shadow resolv.conf ; do ln -s ../../zetc/$i . ; done
[Atrix 4G General] xdej:
I have now

CONFIG_SHELL=/data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/local/script/sh FEATURES=-sandbox emerge -v gdbm

which is working :victory:

I am now working to make emerge app-admin/eselect-python work also.

EDIT: submitted a patch at https://bugs.gentoo.org/show_bug.cgi?id=476398 that is necessary.

This installs graphics interface:

FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages USE=libkms VIDEO_CARDS="exynos omap freedreno intel nouveau radeon" emerge --autounmask-write -Gv xorg-server x11vnc xterm

... and in parallel, on the raspberry I am doing

QEMU_USER_TARGETS="arm armeb i386 x86_64" USE="iscsi usbredir alsa pulseaudio python python_targets_python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" emerge -bv --autounmask-write --keep-going qemu xrandr fluxbox awesome

.
[Atrix 4G General] chiikko561:
Come back to life please

Sent 4rm My O.G. Atrix on it's Lapdock using Weptop+... Which let me add is so Extra F***ing Beast... Galaxy S4 can't touch this...
[Atrix 4G General] xdej:
Who are you talking to ?

I now need a sample configuration file for awesome and for fluxbox window managers ...
[Atrix 4G General] xdej:
I have now

FEATURES=-sandbox USE="kpathsea detex dvi2tty dvipdfm extra graphics latex3 luatex music pstricks publishers science tex4ht truetype xedex X jpeg apng sqlite png python -berkdb" PYTHON_TARGETS=python2_7 emerge --autounmask-write -bav dev-tex/dvi2ttyapp-arch/cpio media-libs/freetype media-libs/lcms media-libs/tiff app-arch/rpm2targz media-gfx/potrace app-text/dvipsk

which is working ON THE phone :victory: :victory:

I am uploading http://sourceforge.net/projects/gen...unrooted_unlocked_android_v5.tar.bz2/download

Below there are three screenshots, all is running without data connexion.

Use "bVNC Free" from google play, and /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/local/bin/vncX to activate VNC access.

You will need a .Xprofile with at least the word xterm

Try it !

(no need to root or to unlock, instructions are at https://sourceforge.net/p/gentooandroid/wiki/ ; feedback welcome, it is hard do develop with zero feedback as I am doing since three months.)
[Atrix 4G General] xdej:
I just made better instructions, see https://sourceforge.net/p/gentooandroid/wiki/InstallingInstructions/
[Atrix 4G General] USSRxAZ:
great thanks, even if i wont try it in next several days

hope some1 else can test it too
[Atrix 4G General] 2d2d2d:
Hello all/ i buy atrix+lapdock with already installed gentop2/

and i have problem with emergy, sync and other - when i try to do something - i see '"mnt/gentoo/ read-only file system (30)"

i try under root and adas, chmod in terminal and android root explorer. but i can't do nothing with mnt/gentoo/

please help me! how to resolve this?
[Atrix 4G General] xdej:
Please show the output of

cat /proc/mounts
[Atrix 4G General] richterlevania3:
Is there any other WebTop replacements besides this one?
[Atrix 4G General] palmbeach05:
Webtop is dead. It was a good effort by moto, but ended up being a failed effort. Its all about hdmi mirroring now
[Atrix 4G General] gradd:
can i install this alongside ubuntop? i just wanna take a peep. :) --freezing deskhome.apk stops the webtop app. that's a good sign. :D

--or maybe not. thanks anyway. :P
[Atrix 4G General] xdej:
I have compiled xorg-server in gentoo_armv6l_unrooted_unlocked_android_v6_v7_diff.tar.bz2

When xv is started then stopped, the xv window shows briefly on the screen. You may try it on /dev/graphics/fb1 or /dev/graphics/fb0

It is much undocumented hence reserved to the one having already done an "emerge". install version 7 of gentoo_armv6l following http://sourceforge.net/p/gentooandroid/wiki/InstallingInstructions/ with the patch v6_v7 after the patch v5_v6,

Then type:

VIDEO_CARDS="exynos modesetting omap freedreno intel nouveau radeon" PYTHON_TARGETS=python2_7 FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -bgkav xorg-server cfg-update x2x x11vnc

Xvfb is working very nice with an VNC client.
[Atrix 4G General] andresrivas:
Why are you targeting armv6?

Enviado desde mi GT-S5830 usando Tapatalk 2
[Atrix 4G General] xdej:
Because some packages like cmake do not build without /bin/sh, and this one is only available on raspberry which does not support armv7j.

But you are welcome to try, execute http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap.xml from the gentooandroid that I distribute.
[Atrix 4G General] andresrivas:
Ok, and if I understand correctly, this runs a chrooted linux? I mean it bc the vnc part. Or replaces webtop, as the original gentop.

Anywat, I can't test since my atrix is running ics and is on repair now :D

Enviado desde mi GT-S5830 usando Tapatalk 2
[Atrix 4G General] xdej:
It is not chrooted, it does not need a rooted phone. It even works on a locked phone.

f you want to use sshfs (for processes on the phone) or encfs, you will need root rights. Otherwise you don't need root rights.

The adb user will be able to test Xorg, no need of root for that.
[Atrix 4G General] xdej:
I fixed cmake. The command

PYTHON_TARGETS="python2_7" LINGUAS=fr USE="dvi2tty dvipdfm extra graphics png pstricks X detex tex4ht publishers" FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -Gkv --binpkg-respect-use=y cmake make

will fix your cmake (USE may be useless, others variable too, I have no time to check because these variables won't hurt). Now cmake is compiling correctly poppler.

The error message of cmake was: CMake Error at /data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/data/data/com.spartacusrex.spartacuside/gentoo_armv6l/usr/bin/armv6j-hardfloat-linux-gnueabi-gcc" is not able to compile a simple test program.

It would have helped me earlier if the message had been "CMake Error: /bin/sh not found".

EDIT: I also fixed make, shell code starting by "for" in Makefiles generated an error about missing "/bin/sh". Relaunch above code with make instead of cmake.
[Atrix 4G General] MoonFeng:
After Installation Steps

Hey guys, just wanna start by saying thank you for the hard work on this. Your service to the webtop community is priceless :) I would also like to make a request. I am reinstalling Gentop for probably the 3rd or 4th time now after my webtop was broken for months. I can't say that I've gone through all 65 pages of the thread again :angel: but what I do remember are some issues that came up with using the emerge --sync command for the first time, and that certain features may or may not work depending on when you emerge --sync for the first time and the exact command that you use. So:

Could some one post a quick run through of the list of things to do after installation, the proper order to do them in, and a 1 sentence description of what you're doing in that step? And if this list was already posted somewhere in the 65 pages, feel free to slap me in the face and point me to that page haha :D
[Atrix 4G General] mjharris65:
Start with page 22 of this thread.
[Atrix 4G General] chrisinleedsuk:
I just stumbled upon this thread looking for a way to install the webtop 2 system on a Xoom 2 ME (that thinks its a XYBoard 8.2) Running JB 4.1.2. Would this run on it instead?
[Atrix 4G General] BigJeff:
Nope.
[Atrix 4G General] manmadescience:
Hey guys,

can someone please post the correct output of ubuntu.sh? I am getting errors on some lines related to some files or folders not found, also the script fails on starting udevd. Just want to compare my output and see if I'm not missing anything. After the script executed, the mnt/gentoo is successfully mounted, but I'm failing on untaring the portage tarball. At some point an io error occurs and the untarring fails so only reformatting the partition hepls. Tested this with two different micro sd cards, both have a 60 GiB ext3-partition available.
[Atrix 4G General] recurringintensity:
the original?
[Atrix 4G General] manmadescience:
Yes, the output on first script execution would be the neatest :) thanks in advance!
[Atrix 4G General] xdej:
[[[[[[[[[

I just nailed a bug in automake.m4f, automake is now working.

PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -GKav firefox

will bring vanilla firefox that is one year old. See picture https://a.fsdn.com/con/app/proj/gentooandroid/screenshots/firefox_evince_gnucash.png ... If your installation of gentooandroid is older than gentoo_armv6l_unrooted_locked_android_v5_v12_diff.tar.bz2, then you should apply this patch before doing above emerge command.
[Atrix 4G General] mak_v_:
And where i can find downloadable zip?

Can you give a working link or mirror?