yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Android Development] Rayan:
Hello all!

I've been running this mod for a while with great results, I've managed to install GIMP, OpenOffice, Filezilla, and many other apps, tweaks and such!

THANK YOU EVERYONE INVOLVED FOR SUCH GREAT EFFORTS!!!

However, now I have a question for you guys, I've seen other people running their Webtops with other hacks like the webtop2sd which looks good too. But I wonder which method is best for running as close to a full linux experience on our Atrixes.

I ask because I noticed that through Webtop2sd you don't have to have and launch a Linux image (just need an Ext partition just as huge) but what I found nice is that they can boot up directly to the modded webtop by modifying the Start file to whatever they like (I love FXCE), thus they don't have to launch the Penguin (Linux image)

before

being able to run desktops, launchers and apps like OpenOffice and such.

So, without sounding too harsh, I have to ask which one of the two methods is the best approach.

I know many will say that I should try them both and chose one myself, but honestly I'd hate to start over from scratch since I flashed a modded webtop and it's more a curiosity since I really don't mind launching the Penguin at every reboot if I have to.

THANKS AGAIN!!!
[Atrix 4G Android Development] 9100_it:
If you want a full linux experience I think the best method is webtop2sd.

but i like this mod! is simple and run!
[Atrix 4G Android Development] krkeegan:
@Rayan

Wt2SD:

Cons:

- Jaunty is old, no longer supported, and most of the apps available in Jaunty are old versions.

- You are limited to Ubuntu.

- You are limited to 1 OS

- Installing packages (new software) can be a pain due to the unique motorola libraries that cannot be altered.

Pros:

- Easier for people to install

- Less memory waste

- Easier to work with for non-linux people, you don't have to remember to spawn the chroot environment.

Chroot Mods

Cons:

- Some memory waste occurs when loading the same library twice

- Not as intuitive as wt2sd

- Installation is not automatic

- Some applications, such as chrome, still don't work

Pros:

- You can run any type of linux variety (debian, ubuntu)

- You can run a current and supported variant of an OS such a Ubuntu Maverick, this enables you to install current versions of software

- You can create multiple different chroot environments. (I have one that I use solely for debootstraping new chroot environments)

I am sure there are more differences that others have already pointed out in these threads. I highly recommend trying both, as it is the only way to figure out what works for you.

Personally, I have Frankenstein-ed the mod in this post and the wt2sd mod together. I have successfully been able to create a 6GB ext3 partition on my external sd-card, that is mounted when the webtop is loaded. I have an installation of Ubuntu Maverick on the ext3 partition. I then have a few shortcuts in my awn bar that automatically chroot to the partition spawn the appropriate apps.
[Atrix 4G Android Development] Rayan:
Thank you both for your responses!

Very interesting facts!

I will order my 32GB memory so I can remove my current space restrictions and hack away!

Thanks all!

Rayan
[Atrix 4G Android Development] 65coupei6:
Stop bragging and share your work. :)
[Atrix 4G Android Development] derechbennoach:
This is great. I have debian installed and added lxde.

I have copied and rewritten the linux script to run startlxde and removing the shell test at the end. /opt/usr/local/bin/lxde-start.sh

I have tried to add a call to this script to the start-oshwt-2.sh. It says it not permitted.

I created an awn shortcut and it lanches manually just fine.

I did leave the domain_policy stock.

Can I stick this lxde-start.sh script somewhere to auto start?

Thanks

--john
[Atrix 4G Android Development] krkeegan:
That is happening because Tomoyo is still running on the webtop. You can research tomoyo on google, but essentially it has a list of applications and permissions for each application. start-oshwt-2.sh has permissions to do a lot of stuff, but it lacks permissions to run your start-lxde.sh script.

I completely disabled tomoyo by moving the directory /etc/tomoyo to /etc/tomoyo.bak and then restarted my phone. I am not really concerned about the complete lack of security, but others are and have modified rather than disabled tomoyo. Look around the forums for suggestions.
[Atrix 4G Android Development] derechbennoach:
Thanks.

I'll try your way while researching.

--john
[Atrix 4G Android Development] derechbennoach:
That did the trick. But as everything I do I gained one thing and lost one.

I was still running avn-autostart.

It did not run.

I put the taks bar at the top and let awn run on the bottom.

--john
[Atrix 4G Android Development] derechbennoach:
I have searched all over and can't find an answer.

I installed lxde desktop

I have a script that mounts and starts lxde. But I have to manually run it from an awn link on the awn panel.

The LXDE panel is on the top and awnpanel is not started, wettop panel on the bottom.

If I call the lxde script from the bottom of start-oshwt-2.sh it will run and kill the webtop panel.

If I use sfalv -i "lxpanel" and lxsession they start but no lxde session apps or panel. No icon to start it manually.

I like the lxsession and lxpanel and would consider using them.

How do I get the chroot Debian system mounted and access from lxpanel to the lxde programs?

--john
[Atrix 4G Android Development] Rayan:
+1

I would also love to know this! :)
[Atrix 4G Android Development] MattHouston:
WebTop Audio Problems

Hello,

Hope I've posted this noobie question in the right section...

I've installed Kdenlive (Advanced Video Editing Software) on the WebtopMod. It works almost 100% except that it doesn't play any sound!

It comes up with the error message "SDL failed to open audio: No available audio device".

Is there a fix for this?

Thanks for the great work free-ing up the WebTop.

Matt...
[Atrix 4G Android Development] borguesian:
+

10 char
[Atrix 4G Android Development] Stephen Who:
How do I go about uninstalling the current version?

It removed many of my things webtop2sd had installed. I only have lxterminal and no awn manager or anything anymore.
[Atrix 4G Android Development] REAVER117:
@exwannabe

I'm very interested in what you've done.

If you could make your walkthrough a little more linux noob friendly I'd really appreciate it. Could you make a zip with the scripts in the proper file structure?
[Atrix 4G Android Development] exwannabe:
Reaver, I will in a few days, right now it really is not noob friendly. Also I have found a crash mode when I closed/open the top several times so that may take some work to fix.

Also, I want to redo what I did starting from SystemR's setup to make it easier to do (I did mine by hand in order to learn what systemR was doing).
[Atrix 4G Android Development] 9100_it:
is possible to write a list of debian appication run in webtop?
[Atrix 4G Android Development] 9100_it:
i dont find this /etc/X11/WebtopSession/10Webtop
[Atrix 4G Android Development] darebear802:
It's actually WebtopSession.d I believe. I haven't quite gotten this working yet either, mostly due to a lack of time and willingness to experiment on my lapdock since I need it for some day-to-day tasks. I was kind of waiting for some further development on this before diving in too deep.
[Atrix 4G Android Development] Nikoloz17:
is there any way i can uninstall latest version?

Uninstaller returns with error and it has deleted all 3 icons.

also, i tried wiping (fastboot and recovery wipe).
[Atrix 4G Android Development] morrislee:
How do i add shortcut on to awm dock for my debian apps?
[Atrix 4G Android Development] Rayan:
You can add or remove icons by using AWN Manager (icon to the left of the penguin) on the Launchers section. Just select one of the included icons and hit EDIT to examine how it's done.

Cheers!

Rayan
[Atrix 4G Android Development] wolfpack10:
Has anyone tried loading Steam on to this device? It has a pretty decent amount of RAM and a good GPU. It should be able to run CS 1.6 at a minimum or CS:S on moderate settings.
[Atrix 4G Android Development] Sinful Animosity:
Wouldn't you need wine to run that? Not sure if wine is compatible or not.
[Atrix 4G Android Development] Filipeknot:
how can i reduce the debian disk?
[Atrix 4G Android Development] livlogik:
EDIT* nevermind i tried the Uninstaller for version <= 0.2.2 and it worked thanks :)

hey guys does anyone know how to remove the lastest version i need to get rid of it asap

Thanks,

zach
[Atrix 4G Android Development] paravorheim:
It's not, just in case you were wondering. Wine's code is not compatible with ARM yet. And probably won't be for a very long time.
[Atrix 4G Android Development] Notorious544d:
Hi guys, got a little problem.

I extracted the linuxdisk onto my internal SD card in a folder called 'WebtopMOD' as instructed. However, when I try to flash the easy.zip file, it can't recognise it. It says something like 'save linuxdisk onto sdcard(ext)/WebTopMOD!'

But I have...

Can anybody help?
[Atrix 4G Android Development] omni_angel7:
Like the prompt says, you need an external SD.
[Atrix 4G Android Development] Notorious544d:
I do, but it doesn't have enough space to store the linuxdisk.

So I store it on my Internal SD.
[Atrix 4G Android Development] omni_angel7:
The linuxdisk needs to be on an external SD. This mod does not offer internal SD support. There is no way around this.

-omni
[Atrix 4G Android Development] razorseal:
ok got it running... I see the penguin, leafpad and xterm

now what? I want to install Gnome on this... I remember back in the day I used Gnome and KDE. I think Gnome will work fine

I went into LXTerminal and typed in sudo apt-get install synaptic

that didn't work, it read the packages, but got a bunch of other misc stuff saying how it's not going to be installed
[Atrix 4G Android Development] omni_angel7:
Well first things first... make sure you're not on CM7 :P

Then, just retry everything:

I recommend formatting /osh from recovery then re-flashing Webtop (V1 from this thread: http://xdaforums.com/showthread.php?t=1169457).

The linuxdisk is available for download right below in the same thread.

It is downloaded as a .7z, which needs to be EXTRACTED.

After that, just confirm the correct file paths. It should be /sd-ext/WebTopMOD/linuxdisk (the linuxdisk should be what gets extracted from the .7z, and should have no extension). Let us know how your luck turns out.

-omni
[Atrix 4G Android Development] razorseal:
hey, I edited it out... i thought it was an error, apparently it's saying it finished... I re wrote my post, so check it out...

i'm stuck at the terminal trying to figure out how to put on synaptic... it's not as easy as sudo apt-get install synaptic apparently

I also can't launch firefox now. i read something about using sudo vi to do something, but I'm lost....
[Atrix 4G Android Development] Nikoloz17:
To fix firefox type this into LXTerminal:

sudo vi /osh/etc/tomoyo/domain_policy.conf

ENTER

:%s/firefox-3.6.16/firefox-4.0.1/g

ENTER

:wq!

ENTER. Done Firefox fixed.

Also apt-get does not work in LXTerminal. Just click on penguin, than OK, press ENTER, than go to Shell--> Bash and type anything you want.
[Atrix 4G Android Development] razorseal:
Thanks for step by step, but it didn't work. I went through all the steps, and it seemed to look like I typed everything right, but when I click on firefox nothing happens still. let me try again

now that I'm trying it the second time, it says pattern not found for firefox-3.6.16 so I guess it did do what it was supposed to do, but still nothing :(

is there something I can install via linux to use for browser? apparently chrome doesn't work as I read onhere, how about a linux version of firefox? (I remember reading it's called iceweasel or something)
[Atrix 4G Android Development] omni_angel7:
Quote for later use. Thanks.
[Atrix 4G Android Development] omni_angel7:
Iceweasel works. Apt-get install iceweasel. I haven't tried the Firefox fix, but I've been using iceweasel for months.
[Atrix 4G Android Development] razorseal:
I installed gnome and then when I unplugged the phone from the dock and tried to use it normally, it was going crazy. screen wouldn't respond, or it would stay black or in landscape mode

for now I'm gonna have to hold off on it. I really wanted it to work before I went on my 10 hour flight and be gone for a week, but it's not happening...

guess I'll mess with it when I get back :(
[Atrix 4G Android Development] Nikoloz17:
Have you tried to restart it after?
[Atrix 4G Android Development] razorseal:
Yes I have, several times actually. then the phone started acting up as well, screen would stay black, stuck in landscape mode, non responsive screen...

I just rewiped for now, I gotta get on a plane in a couple hours and need a working phone, I'll have to mess with this when I come back :)
[Atrix 4G Android Development] Notorious544d:
Help!

OK, this is very annoying now.

I SPECIFICALLY bought a new 8gb SD card so it can store the linuxdisk. Whenever I install easy_v0.2.6.zip-signed.zip, it keeps saying,

"Copy a linuxdisk in /sdcard(-ext)/WebTopMOD!"

But I have!! What's going on?!?!? :mad:
[Atrix 4G Android Development] robrj:
I would try searching in the file on "firefox-" (use /firefox- [enter] in VI). Then verify that it actually says "firefox-4.0.1".

If you replaced it with something wrong, you won't get a response for "firefox-3.6.16" since you replaced it.

I made an error and just replaced "firefox-3.6" with "firefox-4.0.1" so in the conf file it was "firefox-4.0.1.16". After I replaced it and rebooted, it came up fine.
[Atrix 4G Android Development] :
I have been going through search and reading it all as well, can't seem to find a way to add shortcut to all the programs/applications I installed in Debian on the webtop task bar/bottom bar.

---------- Post added at 10:18 AM ---------- Previous post was at 09:57 AM ----------

I ran Terminal and got prompt:

adas@localhost:/data/home/adas$

wrote

adas@localhost:/data/home/adas$ /osh/usr/bin/awn-manager

That opened the awn manager.

Went to Launchers and clicked on Add.

Entered name and Desc.

Under Command, entered this:

chroot /osh/opt/WebTopMOD/root /usr/bin/pidgin

Saved it and closed it.

Click on the icon and nothing happens.

Can someone please tell me how to create my icons for apps I installed?

Thank you!!

Edit:

Nevermind, this worked:

sudo chroot /osh/opt/WebTopMOD/root /usr/bin/pidgin

Key was to add sudo before chroot.

Thanks guys.
[Atrix 4G Android Development] Rayan:
The easiest way for me was to use XfCE Panel, that way I can have as many shortcuts I want on the bottom task bar and even very handy and functional widgets for weather, resources, etc.
[Atrix 4G Android Development] :
Is this what you are talking about?

http://www.xfce.org/projects/xfce4-panel

I tried installing gnome panel but it messed up so many things on phone and on webtop that I had to remove it and do everything all over again.

I'd like to customize the webtop look and feel but it's been forever since I touched linux so it's very hard.

Can you please give some details as to what all you did to make another panel work?

Thank you.
[Atrix 4G Android Development] Rayan:
Yes, that's the one!

Well, all I did was install XFCE4-Panel directly from Synaptic Package Installer (inside webtop of course), but obviously you need to run the "Fixing apt-get dependencies on Webtop" scripts before in order to have a functional Synaptic Package Manager (sorry, don't have the link handy, but you can search the Dev forum), otherwise you will break your Webtop environment.

I have tried this with both, [MOD] Full Linux (Debian) inside WebTop! v0.2.6 and Webtop2SD Mods.

Cheers!

Rayan
[Atrix 4G Android Development] :
It's all good, thanks for the help on this.

I think I am going to try installing Ubuntu on the webtop since I have been running into a few issues.

Can't get openconnect (vpn) to work, gives error about tun/tap drivers.

No flash/sound in iceweasel.

A lot of other apps give error that they are not compatible with armel. They come in either i386 or amd64 packages but no support for us.

My main reasons for hacking webtop is to be able to not carry laptop on me always and use my phone/webtop to log on to server if I get emails on server errors. Be able to remote into servers and do whatever needs to be done.

I worked on Linux probably 10 years ago last and don't remember jack. Sorry to hijack this thread but I was hoping someone would have done similar stuff that I am trying to do and maybe point me in the right direction.

Browser/IM Client/Office and stuff installed on webtop doesn't do me much good as without being able to remote in servers or be able to connect to vpn, it doesn't meet my needs :(
[Atrix 4G Android Development] :
Oh and I thought fixing dependencies thread:

http://xdaforums.com/showthread.php?t=1192488

was only for people doing webtop2sd?

You have to run that script no matter what kind of environment you are in?

webtop2sd is just to move webtop to sd and nothing else?

So, if I use Debian from that forum and run all the scripts to fix firefox and all, I still have to use apt-get scripts to fix it?

Is there an order we have to install it all?

Like

1. http://xdaforums.com/showthread.php?t=1119555 Webtop2sd

2. Debian and run easysigned using CWM Manager.

3. Script to fix firefox in webtop

4. Script to fix apt-get http://xdaforums.com/showthread.php?t=1192488

5. ?

I am sure all noobs like me are totally lost :(

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

What if you have Firefox 6 in WebTop 2.3.5?

I think today is not my day, everything I tried didn't work.

I should go home and get some rest.

Thanks in advance.
[Atrix 4G Android Development] 95rr900:
To fix firefox, type what is says in that post, but change firefox-4.0.1 to firefox-6.0.2

reboot phone

That is the firefox version in 2.3.5
[Atrix 4G Android Development] :
Thank you sir, I went a different route and not running Debian inside webtop but used scripts to fix webtop and using it as main webtop :)
[Atrix 4G Android Development] Nikoloz17:
95rr900

Hi, how have you managed to install side panel and desktop in Debian mod?

also, is there any way to launch programs directly from lxterminal and not penguin> okay> > > xterm ?
[Atrix 4G Android Development] 65coupei6:
What script did you use to fix Firefox?
[Atrix 4G Android Development] Random Canadian:
Would it be possible to use a small distro like damn small instead of a full debian?
[Atrix 4G Android Development] CaelanT:
Would like to know also. Finally managed to get WebtopMOD on my phone and working.

<edit> NM...........got it here > http://xdaforums.com/showpost.php?p=16054098&postcount=673. Firefox working.
[Atrix 4G Android Development] 65coupei6:
Thank you. Worked great!
[Atrix 4G Android Development] Jonous:
Please can anyone tell me what exactly is the shortcut i have to type in awn-manager for gimp in order to run it from a desktop shortcut? Aslo what do i write exactly in terminal to download and install ooffice? (install ...what?)

Many thanx!
[Atrix 4G Android Development] 65coupei6:
Just install Synaptic Package Manager to help you install almost anything.

sudo apt-get install synaptic

https://help.ubuntu.com/community/SynapticHowto
[Atrix 4G Android Development] anangphatak:
Oh, this is exactly what I was looking for. Downloading as we speak.

Is there a way to use the phone's 4g connection without calling it the tethering plan? Technically I am using the connection on the phone...just need a way to figure out how to proxy it to chrooted Ubuntu/Debian

On an aside, since the LapDock price fell, I am hoping many devs got the lapdock for 50$. I hope now there will be an impetus to get the webtop on CM7
[Atrix 4G Android Development] Alcapone263:
guys, i've been searching and trying new things for three days now, and i give up. i install webtopMOD and it works perfectly, then i try to use the webtop scripts to fix apt-get dependencies, and it seems to work at first. i then install synaptic, and it boots up for the first time, but after i close out of it (or try to install anything with it) i get errors saying that i have no space left on my device, when i know there's no way i used it all up. am i doing something wrong here? any help would be appreciated, if anyone needs any more information just let me know. i'm a total noob when it comes to webtop stuff, i just want to get openoffice and gimp installed, maybe a few games.
[Atrix 4G Android Development] exwannabe:
Works fine for me. I added ",tether,entitle" to the APN Type for the ATT-HSPDA entry and deleted "entitle" from the ATT-TEATHER entry.

You need to use sqllite to do this and there is a long thread on that.

FWIW, I tried to do the "entitle-check" mod and this failed on my 2.3.5, completely broke the phone, I could no longer come out of airplane mode.
[Atrix 4G Android Development] V DidDy 210:
Can anyone tell me where files are saved on the device? I've been messing around but I can't seem to find the DEBIAN folder on either of my sd cards (WebtopMOD is on internal)

I downloaded iceweasel and synaptic and downloaded a file off of iceweasel and I want to see where they were dumped but have no clue how!

other than that PDmenu works great! Do I have to run bash commands everytime I want to run an app? I mean it's not a huge deal, but I like everyone else would much rather just have dock icons to what I wanna do.
[Atrix 4G Android Development] V DidDy 210:
to add to that, I have the firefox problem. I saw the vi script, but once I run the initial command to launch vi, where to I input the change command? there isn't another command line for me to work with.

and to compound my location issues, I can't add a shortcut because it says that /osh/opt/WebTopMOD/root does not exist.

true to form I can't find it in my file manager
[Atrix 4G Android Development] speedmax:
In vi, when you do the : at the begining, it start to input the text.

If you are on 2.3.5 webtop firefox version is 6.0.2.

Good luck.
[Atrix 4G Android Development] V DidDy 210:
you sir are a genius. and I am a bonehead (you'd think I'd know that after years of DOS prompts)

any insights onto my storage issues though?

---------- Post added at 08:10 PM ---------- Previous post was at 07:53 PM ----------

Ok so I've seem to locate that all of the commands for the debian disk are being run within the "linux disk" that is in the WebTopMOD folder of my internal SD,

is there a way to browse that disk? that would really solve all of my problems, or atleast a way for WebTop or access the innards of that disk (debian seems to know how to operate it fine, except that I can't access any of my downloads, I plan on changing my downloads location in iceweasel to continue to test this)
[Atrix 4G Android Development] mamoranto:
Since I have webtop 2.3.5, in order for me to fix the firefox issue, i edited the install zip file and replaced the firefox-3.1.16 (not exactly sure) and just replaced it with firefox-6.0.2 so I will never have to worry about using vi to edit the file anymore once installed. It will install the correct conf file I edited upon installation.
[Atrix 4G Android Development] speedmax:
You have to field the folowing with webtop 2.3.5. For info, in vi (text editor), the : start to field text.

sudo vi /osh/etc/tomoyo/domain_policy.conf

:%s/firefox-3.6.16/firefox-6.0.2/g

:wq!

Good luck!
[Atrix 4G Android Development] mamoranto:
I used to do it that way using vi but it became a hassle. I prefer to edit the conf before installation so I don't have to use vi. It will work right out if the box after installation.
[Atrix 4G Android Development] V DidDy 210:
I guess that could work, but it's literally three commands how big of a hassle could it be?
[Atrix 4G Android Development] mamoranto:
I have been flashing the zip file quite a bit especially when I break the webtop. It's just 1 thing I don't have to worry about.
[Atrix 4G Android Development] Filipeknot:
I've installed Synaptic and Rythmbox!

Rythmbox stops to install and the terminal says: No space left on device

How can i solve this?