yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] blaxtar01:
Maybe i didn't express myself in a correct way,

What I'm trying to say is:

That i know about chromeos, a linux based distro can run the playstore + apps, but this has to be done on a Chromebook with certification, and chromeos it's a system capable of running Linux almost natively trough chroot

That is possible to run a mainly distro linux onto the Android runtime, through two apps: lxsd, and other one, that i don't have the name in this moment.

What I'm looking at this moment is to launch a full linux distro natively on my notebook/desktop, and from there starting the android runtime+Android apps, i don't care about chrome, or remix os, because i need to run debian or centos.

What I'm lacking is the technical knowledge to accomplish this, at the moment, and I'm actually resolving other technical things on my notebook., Yeah, I'm a guindors user.
[Atrix 4G Android Development] crnkoj:
You can take android for x86 and run it in a virtual machine. Or you can run chrome-OS in a virtual machine.
[Atrix 4G Android Development] blaxtar01:
Thanks, and Yeah, but that's not what I want, what i'm triyng to launch is a full linux, plus, and starting from there, the Android runtime. The virtual machines doesn't work as expected as it would be a full x86 Android.

Sorry if my english isn't the most correct, I'm still learning the language.
[Atrix 4G Android Development] runekock:
There are a number of Android emulators out there, just google.

I guess an emulator is not really what you wish for, but it is incredibly hard to make an Android layer that is integrated into a traditional Linux. Remember, Android has its own kernel patches, its own drivers, and its own user interface. Sure, it could be done, but I don't think anyone has found it worthwhile to do all that work.
[Atrix 4G Android Development] blaxtar01:
Well, Google does, haha, they did chromeos, and they did integrate the playstore on their system, problem is that i cant find that chromium has the same support, i guess that i will keep reading.

I guess i will stick to dualbooting, if i find a good chromium fork, by now.
[Atrix 4G Android Development] runekock:
Do you use a Chromebook? Or have you found a way to run Chrome OS on an ordinary PC?
[Atrix 4G Android Development] blaxtar01:
Sorry, i don't have a Chromebook, but I'm looking for a one, just for testing purposes. Idk if is possible for chromeos, to run on common pc, but i been looking more for the chromium os, that seems to run, and seems to have the most features of chromeos.

For now, reading and reading, about what is necessary for chromium to compile and run.
[Atrix 4G Android Development] pederb:
I'm stuck in the terminal editing, this is way over my head.
[Atrix 4G Android Development] XxKILLx3RxX:
If you can run "/usr/bin/sudo -H -u adas bash" without any problem you should be fine. I don't think you have to do anything from the simplified webtop customization guide to get your icons working again. I was just taking a guess because editing line 3 let me use lxterminal again.
[Atrix 4G Android Development] pederb:
No I could not, it was asking for adas password

Well I did run the uninstall using your uninstall.zip and I still have none responsive desktop icons, plus the LX Terminal icon is still on my desktop. So now the Lapdock is pretty useless :(

Any ideas?
[Atrix 4G Android Development] mentalcase:
I'm going through the same problem. I reflashed the zip, but am still being asked for an adas password. Haven't tried to uninstall yet. Any clues?
[Atrix 4G Android Development] jkrohn:
The CWM easy install failed to modify sudoers correctly for me, I had to manually modify it.
[Atrix 4G Android Development] mentalcase:
I looked back at the custom instructions and started with edit sudoers, but how to I add the proper line?
[Atrix 4G Android Development] SystemR89:
v0.2.2 [2011/05/25] [22.00 GMT+2:00]

Debian disk: http://www.multiupload.com/DVF6BJGJR3

easy-signed: http://www.multiupload.com/NKSFL81ODW

EASY:

- removed /mnt/androidroot (doesn't work)

- added /mnt/sdcard and /mnt/sdcard-ext

- code clean

- corrected lxterm policy

- replaced backup script

- corrected sudoers replace

- replaced debian with a more generic linux notation

- added check disk existence

- disk can be in sdcard or sdcard-ext

USE THE NEW DISK, PREVIOUS IS CURRUPTED

You can upgrade from previous versions

easy-signed WITHOUT firmware check: http://www.multiupload.com/3Q2RSDCID1
[Atrix 4G Android Development] mentalcase:
Alright so now with the new disk and the new zip I should be all set to flash in CWM and then run through the use instructions?
[Atrix 4G Android Development] SystemR89:
You should simply unpack the disk in your sdcard and install the zip through CWM. Everything should be right now.

Sorry I'm very busy with university and I'm doing the best I can...
[Atrix 4G Android Development] pederb:
Are you saying that there is more important things then this :D

Cheers
[Atrix 4G Android Development] bobosky520:
I see problem, could be the /mnt/sdcard/ and /sdcard-ext/, at least it happened to me.
[Atrix 4G Android Development] SystemR89:
What?
[Atrix 4G Android Development] mentalcase:
No problem man. We appreciate all the work!

The new simplified method did not work for me. I do have lxterminal in my webtop, but no new icons and my previous icons do not work. I guess i should start from fresh.

Also, the new disk image goes into sdcard/WebTopMOD/linuxdisk? No more need for a debian folder? Should this new folder have the debian image and root folder?
[Atrix 4G Android Development] jkrohn:
No worries man, we appreciate what you're doing.
[Atrix 4G Android Development] SystemR89:
I'am afraid :-(

I hope that a fresh installation can solve your problems...

Yes path is right, root folder was moved away...
[Atrix 4G Android Development] krkeegan:
OK, I have read through all of the posts, and I am not clear on how this works.

This seems to be installing another Virtual Machine. Is that correct? Is this virtual machine run inside the already existing webtop (VM within a VM)? Or is the new VM run under the Android OS?

EDIT: OK, I now realize that this is not a VM. I kinda understand the chroot concept.

So we are still relying on the kernel and to some extent the running processes from the webtop. But for new applications, we are running them under a different root location. This enables us to load the necessary libraries and dependencies without breaking the webtop.

Is that basically correct?

/EDIT

I have used Sogarth's modifications to unlock the webtop in the past, although I have been without it since 1.83.

How does this mod compare to that.

Sorry, I consider myself relatively linux and computer savvy, but I am not able to decipher exactly how this is functioning.
[Atrix 4G Android Development] jkrohn:
This is not a virtual machine.

It is like Sogarth's, in that it is a new install and you run programs out of it. Sogarth's mounted the new image in place of the existing OSH directory. I don't know if that is still possible in 1.83, when I replaced my mountosh, I soft brick.

This mounts that directory in parallel with the original OSH directory and does not modify mountosh.

Essentially what this is doing via chroot is setting up a second "environment", but a passive one so to speak. You can install programs into it and it will use the libraries it contains.
[Atrix 4G Android Development] brunnogama:
So, I just have to do the first (easy) method? Anything else?
[Atrix 4G Android Development] omni_angel7:
Hey there,

I've followed the Easy Install method multiple times now and I'm not seeing any changes in Webtop. I've read every post in the thread through every update but am still unsuccessful in attempting this mod. I'm using the webtop thru HDMI hack on a themed, Gladiatrix'd 1.83 ATT atrix. My lxterminal (from Gladiatrix) still works, but again I see no changes, and commands through lxterminal like "sudo apt-get install synaptic" don't work. Any way you can help me get synaptic package manager up and running? I tried running LD_LIBRARY_PATH=.:/sdcard/DEBIAN/root/usr/lib /sdcard/DEBIAN/root/usr/bin/xterm but it didn't open xterm (ill assume it never installed?).

Thanks for your work,

Omni
[Atrix 4G Android Development] jkrohn:
Try this.

su

/usr/bin/sudo -H -u adas bash

export DISPLAY=:0

/usr/sbin/linux

You should get an xMessage up on your webtop, click ok to that, and it should launch xterm.
[Atrix 4G Android Development] Greg11784:
Your latest update (0.2.2) enabled lxterminal for me. However, I can't tell if it's doing anything different than the original webtop. Doing any apt-get commands still says that I have a bunch of dependency issues.

Also, I noticed that when I walked through your "Use:" section, I always get:

Mount:Stolen Loop /dev/block/loop7

Everyone else doesn't seem to get this in their output. I'm wondering if I'm getting a mounting issue.

Just SBF'd -> GingerBreak -> CWM -> GladiAtrix, then I installed this MOD (if it helps track down possible issue)
[Atrix 4G Android Development] jkrohn:
This could be unrelated, but nothing changes on my launcher.

My %gconf.xml does contain the new entries, but the launcher will not show them for some reason.

Also if I modify it via

export DISPLAY=:0

awn-manager

I can get anything I add to show up, but upon reboot it is all gone again. Not entirely sure what is going on here.
[Atrix 4G Android Development] starrwulfe:
So this is duplicating the environment-- which is why the icons don't work sometimes; we've chrooted into that new environment so the alias path is no longer valid. That means there's a way to create icons somehow with the new path then? Or is it due to simply not entering in that first export X viewport to 0: command?
[Atrix 4G Android Development] omni_angel7:
This did in fact work. I'm not familiar with linux, but apparently I didn't need to type sudo at the beginning, just apt-get install synaptic. It took up 250mb though! its downloading at the moment :D
[Atrix 4G Android Development] jkrohn:
Well you have two environments.

The AWN environment (and thus the launcher) is the base OSH environment. Thus you largely won't be able to just link into apps from there. What you can do though is write a script that either exports the library path necessary or chroots and launches it, then link to that script.
[Atrix 4G Android Development] starrwulfe:
OK.

I'm expecting to get my Atrix any day now (I live in Japan, and ironically there's nothing like it here)

Once I get it, I'm unlocking, rooting, and doing this. I want to be able to install Japanese IME, Open office, GIMP and Chromium in the Webtop environment... should be possible now, right?

Anyway to make the image size more than 2GB--say 6?

Also can you help me write the aforementioned script to automate the environment changes?

Sorry for all the questions... Im just really excited that this is working!
[Atrix 4G Android Development] Greg11784:
Here is my output from /usr/sbin/linux (in the webtop)... (and yes, it does find the image)
[Atrix 4G Android Development] XxKILLx3RxX:
So far I've been able to install and run synaptic and synergy. I installed chromium but I don't know how to launch it. The only problem is that there aren't any icons in the bottom bar. I have to run this "/usr/sbin/linux" to run xterm to be able to do most things.
[Atrix 4G Android Development] Mafisometal:
im having an issue in installing synaptic, no matter how i try it says parameters not met....

EDIT:

actually i was able to access and install synaptic, anything else i need to do?
[Atrix 4G Android Development] shadowjack1:
are there any restrictions of installing programs packages on this Webtopmod?

at sogarths theres no openoffice :(
[Atrix 4G Android Development] Cryofix:
V2.2 easy worked for me, got lxterm in now, but FB and firefox are all still broke, no biggie I think its gingerblur issue or storage issue.

looking at dmesg I am seeing access denied to /osh items, this should have been chroot'ed to something else correct? so I should not see this, apt-get also does not work.

One small typo that scared me a little was when I ran the 2.2 zip it said to make sure the image file was in /sdcard/DEBIAN not /sdcard/WebTopMOD

now that I have a working terminal I will mess with this to see if I can get it to work.
[Atrix 4G Android Development] Cryofix:
another update.

2.2 WebTopMOD

I am in the webtop, I see an lxterm and Linux Penguin, I open lxterm and its not chrooted, everthing is failing, then i see an xterm already on my screen (was excited to see lxterm didnt even realize the xterm open) and its logged in as root.

I am in!! the popped up xterm is correctly chrooted, I then ran apt-get install ssh and get an error saying I could not connect to ftp.debian.org so I modified my /etc/resolv.conf and put my home DNS in and wa la I am installing packages.

Problems I have so far to figure out:

How do I get the chrooted xterm back if I close it? (getting permission denied in lxterm with xterm or xterm not found with sudo xterm) ** Found thanks omni_angel7 for inadvertently answering this question. Answer: /usr/sbin/linux you can also just cd /osh/opt/WebtopMod and then sudo chroot /osh/opt/WebTopMOD/root /bin/bash

firefox is not an available package, what browser are you using? or do I need to add a repo, apt-cache search firefox returns no firefox.

Found chromium, installing now from synaptic =)

was the intention of the software to just give a chrooted xterm or full webtop? answering my own question on assumption, yes chroot'ed xterm only not a desktop replacement.

as soon as I get a browser installed I can post dmesg logs.
[Atrix 4G Android Development] omni_angel7:
Anyone know of a way to set a default desktop environment? I'd like to make xfce4-session open automatically when I go into Webtop instead of having to run "/usr/sbin/linux" with lxterminal to open xterm so I can run "xfce4-session" from there. On this same note, is there a way to hide the stock webtop dock (I think its called ADW... not sure) so it doesn't interfere with xfce4's taskbar?

Thanks much,

Omni
[Atrix 4G Android Development] Cryofix:
awn-manager in non chroot'ed terminal then select hide when not when in use
[Atrix 4G Android Development] Cryofix:
Next project for me to get working http://kuthulu.com/gcm/ I would wet myself.
[Atrix 4G Android Development] Mafisometal:
hey do you have a procedure to adding apps on your webtop toolbar... i wanna put office on it
[Atrix 4G Android Development] brunnogama:
So, it doesnt work yet, right?

I did the easy steps and I haved the lxterminal, but I dont have synaptic, and the interface didnt changed....
[Atrix 4G Android Development] Cryofix:
open up lxterm and type /usr/bin/linux this will open up an xterm as root for you, this will be your chroot'ed environment, or click the penguin!

in this window type apt-get install synaptic, once complete run #synaptic from the command line and synaptic will pop open for you.
[Atrix 4G Android Development] XXtremeAzzKicker:
Webtop

This makes the Laptop Dock SSSSSOOOOOOOOOO much better. Took awhile to figure out how to install and use apps. But now its pretty sweet. I have installed a RDP client and word processor so far.....nice work dude:)
[Atrix 4G Android Development] XxKILLx3RxX:
Has anyone figured out how to get the icons to show up on the bottom?
[Atrix 4G Android Development] omni_angel7:
Making sure this doesn't get lost :P

Thanks,

Omni
[Atrix 4G Android Development] omni_angel7:
I used lxterminal (from GladiAtrix) to do those commands and it worked flawlessly.
[Atrix 4G Android Development] XxKILLx3RxX:
Yea, I was using that to launch xterm and install and run a bunch of things. I almost got minecraft running lol. I was just wondering if anyone figured out why the xterm and debian icons aren't showing on the bottom.
[Atrix 4G Android Development] omni_angel7:
Ah, sorry for the misinterpretation. I have no extra AWN icons either.
[Atrix 4G Android Development] brunnogama:
I did and show the message "no such file or directory".

I have 2 files on this directory: lunyx32 and linux64. I type /usr/bin/linux32 and it opend an xterm, but not root. When I type su: "-sh: su not found".

I use the lapdock, gingerblur and 1.83.
[Atrix 4G Android Development] shadowjack1:
Is there a chance to brick my phone when i install a certain app/package? ...
[Atrix 4G Android Development] SystemR89:
v0.2.3 [2011/05/26] [15.45 GMT+2:00]

Debian disk: unmodified

easy-signed: http://www.multiupload.com/2JAO6F42Z4

EASY:

- corrected typo (remember..) in installation

- make new loop device (avoid conflict)

- renfoced unmount function

- fix permission for linux.desktop (awm launcher)
[Atrix 4G Android Development] Cryofix:
2.3 is not working well so far, webtop comes up but hangs, had to reboot phone. plugged back in and mouse is still not moving.

Update:

Looks like it mounting the wrong image file, if I do mount it shows /mnt/sdcard/DEBIAN dir as the one mounted for loop7.

getting:

execute(do_execve) /osh/bin/mount denied for /osh/usr/bin/lxterminal

read/write(open) permission errors for chroot files.

When Running /usr/sbin/linux with set -x I see the mount for the image is failing, sudo mount -t ext3 -o loop=, this command results in /dev/block/loop50: no such file or directory.
[Atrix 4G Android Development] :
This may be a dumb question but if you do the Debian mod to the webtop do you lose the "phone widget"?
[Atrix 4G Android Development] Cryofix:
No everything is still there.
[Atrix 4G Android Development] Cryofix:
Ok found the problem.

in the /usr/sbin/linux file

if [ -e /tmp/linuxdiskactive ]; then

if [ -e /tmp/fulllinuxchrootactive ]; then

startxterm

else

checkwhereislinux 0

startfulllinuxchroot

startxterm

fi

else

else should include the function loopdevice
[Atrix 4G Android Development] joe ferreira:
I just installed v0.2.3 and I have no AWN icon for debian. how do I launch this debian environment from lxterminal?
[Atrix 4G Android Development] joe ferreira:
ok I figured out I can start it by typing /usr/sbin/linux with the icon missing

it then opens a xterm xmessage window that says

Found image in /sdcard-ext/WebTopMOD/linuxdisk!

I click ok then it fails with the following in the lxterminal window.
[Atrix 4G Android Development] jkrohn:
It's trying to mount on a loop device that doesn't exist (/dev/block/loop50)
[Atrix 4G Android Development] jkrohn:
The update notes for 0.2.3 says it is making this loop device (loop50), but I can't see it actually being made anywhere in the update scripts.

/usr/sbin/linux appears to be trying to make it, but something must not be working correctly.

Until the file is updated, either modify the /usr/sbin/linux script and change

LOOPDEVICE="/dev/block/loop50"

to

LOOPDEVICE="/dev/block/loop7"

Or alternatively you could try creating the node yourself with mknod.
[Atrix 4G Android Development] joe ferreira:
thanks I will try that.

Edit: That worked! Thanks!
[Atrix 4G Android Development] SystemR89:
Ops!

Sorry, I forget to call the loopdevice function!

I think that now everyone should see the icon in awm, I see in GladAtrix a wrong way to set permissions, now with this update icon should appear.

v0.2.4 [2011/05/26] [20.30 GMT+2:00]

Debian disk: unmodified

easy-signed: http://www.multiupload.com/VI4JEFWLI6

EASY:

- corrected calls to loopdevice function (thanks Cryofix)

- check awm folders existence and fully reset permissions

- set different permissions to linux script, xmessage, lxterminal and WebTopMOD folder
[Atrix 4G Android Development] humzat:
this is great..one question i loaded KDE desktop from synaptic..download a bunch of stuff now it says no space left on device...i have dumped alot of stuff from the SD card like my old pics videos etc...but still have the error..do i need to do something to partition more room for debian?

how do i resolve this..
[Atrix 4G Android Development] joe ferreira:
this works great.

one issue. when I open the debian terminal and

cd sdcard-ext

ls

it doesn't show the contents of my sdcard now?

it shows it under lxterminal...
[Atrix 4G Android Development] firefox3:
please fix this thread your confuzing me...
[Atrix 4G Android Development] jkrohn:
Your image only has 2 GB of space. If you need more, create a new image, rsync your files into the new image and mount that instead.
[Atrix 4G Android Development] joe ferreira:
what are you confused about?

this thread lets you run debian inside the ubuntu webtop environment.

install the CWM zip and place the image file on your sdcard-ext like the instructions say.

why would you run debian inside ubuntu? to install applications that previously with sogarth's work we were unable to install.

I am working on building a boch's or qemu image with ubuntu 10.10 inside of it based on this thread

I will share as soon as I get it running.
[Atrix 4G Android Development] firefox3:
he says we can get firefox 4 ... how can we?
[Atrix 4G Android Development] joe ferreira:
Apt-get install firefox4
[Atrix 4G Android Development] SystemR89:
strange, I tried some time but for me works both sdcard and sdcard-ext.. Could you send me "sudo mount" output in lxterminal with xterm opened? If output is too long type "sudo mount > /sdcard/sendback" and send me the file sendback that appear in your internal sdcard :)

Please read first paragrapher in first post of this thread that explain what is this mod and how it works.

You can download Firefox 4 from mozilla website and run it inside Debian chroot; in this case you cannot use apt-get to install it because FF4 is not yet included in Debian stable.

Tomorrow I'll upload a bigger Debian disk and an experimental Ubuntu 11.04 disk.

Could someone confirm me that with 0.2.4 penguin icon appears in AWM?

Good night from Italy!
[Atrix 4G Android Development] jkrohn:
Both icons are appearing in AWN for me whereas in past versions they did not.
[Atrix 4G Android Development] XxKILLx3RxX:
Yes, I'm getting the pengiun icon in AWM. The only thing that doesn't show up is leafpad. It doesn't seem to be in /usr/share/applications/ so I made a leafpad.desktop there and made it run "leafpad."
[Atrix 4G Android Development] Cryofix:
apt-get update

apt-get install iceweasel

iceweasel is a spin on firefox.

or apt-get install chromium-browser (works but web pages crash)
[Atrix 4G Android Development] humzat:
can you help me with details on how to do this? does the stock image only have 2 g? or did i do something
[Atrix 4G Android Development] danielvvieira:
is it still restricted to install and work only with 1.83 firmware!?

i want to try here on a latin atrix

from brasil
[Atrix 4G Android Development] humzat:
enable multiverse and universe

im trying to also install XBMC....almost got it to install but i need to enable multiverse and universe..but since i dont have access to administration or software sources..i cannot enable it by checking simple boxes..when i tried to install and enable through the cli it fails, dependancies etc..so in the next release can you auto enable multiverse and universe, or if you know an easy way to do this let me know...i added the sources manually also but it fails to find and install for some reason...

cheers

having xbmc working is so close..just need to solve this one issue...

KICK ASS WORK!!!
[Atrix 4G Android Development] brunnogama:
+1. Install XBMC would be really great! This is the most important software I want!
[Atrix 4G Android Development] malaeus:
I was wanting to set this up for business use. however some of the people who would use this arent exactly computer savvy. is there a "skin" for this to give them a clean GUI with no console commands? like the "start" menu in ubuntu?
[Atrix 4G Android Development] Cryofix:
apt-get install xfce4

then run xfce4-session from terminal only problem is it dont change awn gui it just overlays XFCE
[Atrix 4G Android Development] Cryofix:
Nothing you did, its the image size. in the original post there is a way to make a 2gig, 4gig, 6 gig partition, the linuximage given is only 2 gigs, so you can either dd a new image then bootstrap it, or hang tight for a larger image possibly with Ubuntu.