yashsingh1/xdaforums huggingface dataset:
[Motorola Droid Bionic] Natronics:
I figured I'd share some of the code to launch activities from webtop to the phone... if you want to launch things like Uber Music, for example:

/usr/local/bin/androidlauncher --action "android.intent.action.MAIN" --cmp com.uberdroidstudio.ubermusic/.Music

Here's one for Google Music:

/usr/local/bin/androidlauncher --action "android.intent.action.MAIN" --cmp com.google.android.music/com.android.music.activitymanagement.TopLevelActivity

You can look at Log cat and check for entries for ActivityManager. That should be the application launching on the phone.

Fixed the usr path, thanks bang. I typed that in manually instead of copying and pasting. LOL.
[Motorola Droid Bionic] Jstylen:
So I switched over to the gnome desktop because I really did not like xfce. Ubuntu-desktop I think it was? My problem now is that I can not seem to get any icons on my desktop. It's like it is not running at all. Any help?
[Motorola Droid Bionic] Banggugyangu:
the directory should be "/usr/" instead of "/user/"
[Motorola Droid Bionic] Natronics:
fixed. Thanks bang
[Motorola Droid Bionic] mmarcuse:
I'll look for that see if it works better.

See what happens when instead of starting webtop-panel in start-oshwt2.sh you start it in a terminal. Lots of messages showing what is being sent back and forth to the panel. Here's another way to look at some of that: open a browser and point it to localhost:8086/personalportal/webtopstatus

Someone with the right coding expertise should be able to make a webtop panel alternative without much difficulty. This doesn't look particularly hard to reverse-engineer.
[Motorola Droid Bionic] bnred777:
Openoffice problems

To fix the artifact problem you are having with openoffice do the following...

Open the openoffice word processor

Once loaded hold alt and press t "this will open the tools menu

Now press o and it will open the options window

On the left side of the window click on the top most artifact, which is actuall text, and then using the arrowkeys press down until you see a screen with a bunch of colors (a colorpicker)...

Press down one more time and you will be on the page that you need to be...

At the top you will see a checkbox... leave it unchecked

Towards the bottom you have a dropdown a checkbox and a dropdown...

Click the bottom most dropdown and scrool up till it stops... click where the text would normally be... This dropdown is the reason you can't see anything... it is the text size select box.

Once you have selected the uppermost value in that boc click the button just below it... bottom left-most button is the ok button...

Now you should be able to see everything
[Motorola Droid Bionic] dB Zac:
it didn't work for me but if you go to Applications/Settings/Xfce 4 Setting manager/Session and Startup and create an auto start entry and point it to /usr/bin/Thunar some people say that fixes there error message
[Motorola Droid Bionic] Banggugyangu:
I'll see what I can come up with on the start-oshwt-2.sh script.
[Motorola Droid Bionic] Jstylen:
Is there an easy way to make a full backup of Linux? Can I just make a copy of the ex3 partition on my SD card?
[Motorola Droid Bionic] Banggugyangu:
It's a little cumbersome, but I know it'll work:

Remove SD Card and mount onto a traditional computer

Make a ghost image of the EXT3 partition (Norton Ghost, Acronis Disk Director, Etc...)

At any time, you can revert to exactly where that image was by restoring it to the SD card w/ the software that made the image. I'm positive it'll work, though I haven't tried it. As far as just copying the contents of the partition, I'm not sure.
[Motorola Droid Bionic] Jstylen:
Ok I figured that would do the trick. Just wanted to be sure that everything was stored on the SD card and none of it stayed behind on the internal flash. Thanks for the help!
[Motorola Droid Bionic] Jstylen:
Sorry got another question. When we pull our phones from the dock is linux still running in the background? It seems like my battery does not last as long after I have started Webtop.
[Motorola Droid Bionic] Banggugyangu:
Yes. It is. I'm not sure of a means of sleeping it where it doesn't drain the battery.
[Motorola Droid Bionic] Jstylen:
Ok that's what I thought. Any normal means of logging out or shutting down do not seem to work. I have just been restarting my phone any time I go somewhere to shut it down. Hopefully somebody comes up with a way to fix this issue. It's really just an inconvenience though not really a problem.
[Motorola Droid Bionic] Banggugyangu:
I get about a full day still with a full charge while webtop is running. It's not an issue for me. I also have a charger with me everywhere I go. (Habit from my Blackberry days.)
[Motorola Droid Bionic] xaero252:
So I'm kind of stuck now. I played around a lot with configurations and stuff with the webtop linux build and eventually decided it would be better to just start over with some of the issues I was having, so I uninstalled webtop2sd, and restored stock OSH and re-ran the terminal & synaptic exploit. Afterwards I got no video, so I did another OSH restore to stock OSH - still no video. So I did a full factory restore of the phone and a restore of OSH... Still, no video. I don't even get video for Mirror on Display.

Is my phone somehow internally broken?

Edit: I'm pretty sure somehow my HDMI port is broken. I even get the webtop resume feature telling me that it opened the motorola homepage... No video at all from the HDMI port. No idea how that could have happened at all... Bleargh, I wish I didn't have to get a new phone to fix this. Still going to try a few other avenues before assuming its the hdmi port. Assuming it is the HDMI port isn't that like a warranty issue? Not an insurance issue? I would rather not spend $100 to fix something that shouldn't break within 1 month of use.

Thinking again, it doesn't even make sense that its the HDMI port since it detects that something is plugged in and prompts me asking what I would like to launch...
[Motorola Droid Bionic] Jstylen:
Have you tried plugging the phone into anything else? Meaning, if you use the Lapdock have you tried a TV, and vice versa.
[Motorola Droid Bionic] xaero252:
No matter what device I plug it into I don't get the M logo (or the splash screen) Nor do selecting any of the options (Webtop, HDMI Mirror Mode, Gallery, etc) Display any output. I've used both the HD Dock and just a straight HDMI cable, and I've tried 3 seperate cables on two different displays :( It looks to be the HDMI port... Webtop DOES start, because the webtop resume thing shows up saying I had web pages if I wanted to continue browsing. Not to mention the on screen controls for webtop appear if I don't have an input device connected. Oh, and also interestingly it no longer detects the HD Dock as an HD Dock. It just detects it as an HDMI Cable (even though its plugged into the wall, and the phone starts charging when connected)

Which, being its a hardware issue it should be covered via warranty IMO.
[Motorola Droid Bionic] Jstylen:
I would have to agree with you. Just make sure you clear out any rooted things and whatnot and restore to stock if you have a custom rom on there before you send it in or take it to a Verizon store.
[Motorola Droid Bionic] Banggugyangu:
Before returning your phone, revert completely back to stock. You're gonna want to revert anyway, so no harm in trying webtop at 100% stock (stock rom, no root, etc...).
[Motorola Droid Bionic] xaero252:
I formatted all partitions and flashed the FULL FXZ, forcing the phone to act as if I had just pulled it out of the packaging (unpacking android animation with progress bar -> Touch To begin screen) Still no output from the HDMI port. Blegh.
[Motorola Droid Bionic] Banggugyangu:
Did you also do the webtop FXZ?
[Motorola Droid Bionic] xaero252:
Yes. I'm inclined to think its a hardware issue, since it doesn't just affect webtop but ALL hdmi output modes...
[Motorola Droid Bionic] azwildfire:
Xaero252,

I doubt it is a hardware issue. I have been able to reproduce something similar on 3 different devices.

FXZ never repairs it, and I am in the process of making a list of all the files that are not replaced via FXZ using root explorer to check time stamps.

.893 also did not fix the issue... it makes me sad panda!
[Motorola Droid Bionic] pauljohnson75:
Okay I have this all setup and it works but I have a few questions. I want to run pure gnome I have downloaded it using synaptic but my question is what do I need to put in the "start-oshwt-2.sh" file for it to run right. This is what I have now

#! /bin/sh

### BEGIN INIT INFO

# Provides: start_lxde2.sh

# Required-Start:

# Required-Stop:

# Default-Start:

# Default-Stop:

# Short-Description: started by adas user at login

### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

. /lib/lsb/init-functions

export `fbcp_dsba

`

log_action_msg "Will now start OSHWT 2 scripts"

sfalv -i "/usr/lib/gvfs/gvfs-gdu-volume-monitor"

# start OSHWT 2 scripts

#sfalv -i "awn-autostart"

#sfalv -i "webtop-panel"

sfalv -i "gnome-panel"

#sfalv -i "xfdesktop"

#sfalv -i "xfce4-panel"

#sfalv -i "webtop-wallpaper"

#sfalv -i "evbridge"

webtop-wallpaper &

evbridge &

sfalv -i "window_switcher"

system-config-printer-applet >/dev/null 2>/dev/null &

sr-test avahi_start &

# IKXWEBTOP-5690 workaround.

# xkb is broken in 10.10 in that each time a keyboard is connected

# the layout of all other keyboards become the layout of

# the last connected keyboard.

# There is an xorg.conf.d rule that forces all keyboards to

# layout 'us(android)' but for some reason it is not working for

# evfwd. Here we force xkb to work with 'us(android)' so evfwd

# is assigned the right layout.

setxkbmap 'us(android)'

This works fine but the background is the same as stock webtop as in when I right click the only option I have is to change the wallpaper and I can not create files or folders on desktop.

Also when I connect my Bluetooth mouse all is fine but when I connect a Bluetooth keyboard everything freezes and the phone reboots.

Any ideas or suggestions are greatly appreciated, thanks in advance.
[Motorola Droid Bionic] mr_wrong_0:
Hey man I've been reading this forum and playing with some these mods but I'm still not able to get chromium browser to install. I know that You have it installed so I'm curious what command specifically you used to install it. I have tried sudo apt-get install chromium-browser but it always just says packae chromium-browser not found.
[Motorola Droid Bionic] Jstylen:
@ mr_wrong_0

I could not get chromium installed with apt either. Just open up synaptic and search for chromium with the drop down filter set to name and it will come up and install. But, as mentioned, it will not be very happy about being on your phone. Parts of it don't work, like trying to open the options menu. Also I have not seen anybody get flash player working in it.

@ pauljohnson75

You can add sfalv -i "gnome-panel" to get the taskbars going. HOwever I have been having trouble getting the actual desktop to go. It is my understanding that the desktop is controlled by the nautilus package however I can not get this to run. Opening it via terminal results in an error relating to nautilus_share I believe along with a lib file. I believe it is a problem relating to the samba services not functioning correctly.

Also be careful if you enable

#sfalv -i "webtop-panel

You are missing a quote mark on the end, should be

#sfalv -i "webtop-panel"
[Motorola Droid Bionic] mr_wrong_0:
Thanks for getting back to me. The only chromium that synaptic shows is a space shooting game. Maybe I'm ot filtering correctly.
[Motorola Droid Bionic] pauljohnson75:
Already have gnome-panel in there and the quote mark is there just my copy paste skills suck its on next line in post but right on phone. I disabled webtop-panel on purpose it was messing with open office. If you do manage to get the actual desktop going let me know. Thank you for all your help.
[Motorola Droid Bionic] xaero252:
Okay so I started investigating my issue a little more with the no HDMI output.

I ran ADB Logcat and plugged in the HDMI cable:

Pastebin

This is the logcat from the time I plugged in the HDMI cable to the time I disconnected it, in between I selected Mirror mode, waited a few seconds, used the pull down HDMI manager to select mirror mode again, waited a few more seconds and then disconnected the HDMI cable.

This CONFIRMS that the HDMI port is FUNCTIONAL. It detects 11 possible display modes, which would require more than just the ground loop of the HDMI port to be intact. I'm not sure what in the logcat is an error as far as the HDMI stuff goes but I am willing to bet the lines referring to the DockExperience not found are whats pertinent...
[Motorola Droid Bionic] cellzealot:
I had to resetup webtop after running the .893 update.zip and I had some similar issues to xaero where the patched apks functioned and webtop initialized with logo but went to a completely black screen on phone and monitor and no video at all.

I was on IRC with [mbm] and he suggested that it sounded like /etc/tomoyo was still there and that I should nuke it as per the instructions. They actually say to do that after first running apt-get update and so I hadn't done that part yet the second time.

As soon as I renamed /etc/tomoyo everything worked properly. The update had created a new /etc/tomoyo directory and my old renamed one was still there.

Short answer: Make sure to nuke /etc/tomoyo or nothing works. :D
[Motorola Droid Bionic] stoffelck:
i would like to try
[Motorola Droid Bionic] stoffelck:
ok. I am having this issue. I renamed /etc/tomoyo and then connected hdmi. same issue.

What am I supposed to do after I rename? Re-run webtopmod-bionic?

---------- Post added at 08:35 AM ---------- Previous post was at 08:31 AM ----------

never mind that rename and reboot fixed it! Thank you for this.... a lot
[Motorola Droid Bionic] hastaply:
Has anyone tried flashing the full Ubuntu zip that they did for the Atrix? I would love to have just a 100% Ubuntu setup.
[Motorola Droid Bionic] xaero252:
I never flashed the .893 update before it stopped working, I've re-renamed Tomoyo (as flashing stock restored it as well) and reinstalled webtop2sd and I still have the same problem. The phone displays the webtop splash image, however NO graphics are displayed on the intended display over HDMI ever. regardless of any options I choose. Not sure what else to try... I've been freezing webtop for daily use now so that its not wasting battery/memory since I can't utilize it anyways.
[Motorola Droid Bionic] hastaply:
Ok, so here's what I've got so far.

I've been able to load up Ubuntu 10.10 along with GNOME-panel. So far, im able to install almost everything from synaptic without issue however when I attempt to updated to Ubunru 11.04 via Ubuntu update it tells me that there isn't enough disk space in /. I am in re mode. In addition, Disk Usage Analyzer trys to load but can't do to 'no mount points'.

Any ideas?
[Motorola Droid Bionic] cellzealot:
It appears that the 5.6.893 MR-1 update breaks the PortalApp.apk and needs to be repatched. The 5.7.893 MR-11 update also is broken in the same way.

The DockService.apk works and gives you the choice to open Webtop but the PortalApp.apk does not open the Webtop and the GUI on phone remains unchanged. My monitor displays HDMI 1 as 1080p HD 16:9 and the phone shows the HDMI connection notification in the dropdown, so I know its working, but the splash screen never initializes and all you get is the red M screen saver on the monitor if display on phone is open. When screen on phone goes black the monitor displays no signal for HDMI 1.

My theory is that if the device ID check is removed from the new PortalApp.apk and its deodexed, then it should work...hopefully! ;)
[Motorola Droid Bionic] xaero252:
interesting; CZ, if you manage to get your webtop in working condition a gain would you be willing to shoot me a full CWM dump of your phone? or another type of full dump; I'm at a loss as to what could possibly be missing, I never flashed .893 and my webtop stopped functioning, and not even a full system restore fixes it...
[Motorola Droid Bionic] cellzealot:
If i figure it out, I certainly will be willing to share whatever is required for a portable solution.

I am not the best one to be doing this though, and intend to rely heavily on others more adept with the coding! All help and informed commentary appreciated. :)
[Motorola Droid Bionic] Jstylen:
Just a thought I'd like to through out there. What would happen if we just dropped the files from a live disc/ISO into our EXT3 partition and tried to boot that? Would we a get a full proper Ubuntu? Or would it just flop hard because its not setup to run in this odd environment?
[Motorola Droid Bionic] tallnerd1985:
It would flop harder than Motorola's commitment to unlocked bootloaders. All kidding aside, it wouldnt work cause Webtop is cross compiled with Android during the build process.
[Motorola Droid Bionic] stoffelck:
call it blasphemy if you like but...

After all the work to get my phone running a usable version of linux. swap desktop ect I finally figured out what I really wanted all along.

I dont want my phone to do all the work I want my laptop to do all the work while integrating with my phone the way webtop does. I want that same great Mobile view i get in webtop, want to be able to controll it easily from my couch like I do my laptop running Ubuntu(or what ever distro I happen to be running) I want it to let me make calls, answer text, install apps, play music, drag latitude from mobile view(phone) to desktop window. Stuff like that. from my desktop TO my phone.

Not like a VNC session or remote desktop. But fully intergrated much like Webtop. But they other way around?

Can someone whip that up for me please?:D!
[Motorola Droid Bionic] tallnerd1985:
Haha, will do boss. Actually, it would be a nifty concept for someone to develop a server type app for the phones that collects data from the phone and can be accessed thru a desktop client either thru Bluetooth or wifi. Its almost a similar concept with the Webtop-Panel at the top on a stock Webtop screen where there is a server app on the phone collecting notifications, reception, battery and 3g/4g coverage then the Webtop-Panel interfaces with it thru a localhost client built into the panel.

The only really painful part, besides the programming, is that this concept would probably only work on a CM rom since the structure is universal between all phones so it would require less adapting for each brand of phone's special UI and way of compiling.
[Motorola Droid Bionic] Jstylen:
Figured as much. Seemed to simple to be overlooked by everybody.
[Motorola Droid Bionic] nstallion:
A noob question: How do I actually get the resolution to change properly? My monitor is 1680x1050. I change the resolution with xrandr and the size and proportions are right, but the monitor is still receiving 1280x1024. It's essentially scaling the pixels and this makes everything look terrible. I have tried creating an xorg.conf file and entering modes and virtual lines, makes no difference. I'm running xfce4 as the de.
[Motorola Droid Bionic] xaero252:
Assuming the version of X compiled for the Bionic supports xdamage No Machine NX (FreeNX) with audio piping enabled should be able to do exactly what you want for remote controlling your phone, there will probably be a slight delay over 3g and 4g, but over wifi it should be flawless.... I currently have no webtop access or anything to do any development or testing anymore.... kinda irritating too...
[Motorola Droid Bionic] cellzealot:
Hi xaero, just wanted to bring your attention to the fix that has been found for restoring webtop function after losing it during the firmware update cycle. I know your case presented itself somewhat differently, but the way most others have been able to fix it, myself included, is to update incrementally with each of the leaked files in sequence and then revert back to 5.5.886 and running the full 54.4mb update from 5.5.886 to 5.7.893. This allows all of the pieces that were apparently missing in the incremental updates that originally broke webtop to be properly restored and updated along with all of the signed components like the radio and boot image updates.

This is the only way that has been found to make sure all of the pieces are there and avoid the assert errors for the signed components.

You may also have to use moto-fastboot to restore your webtop partition to stock again in order to complete the updates successfully in stock recovery.

If you had done the hacks previously for any HDMI etc. then you will almost certainly have to use moto-fastboot, as I did to fix mine.

Just an FYI.
[Motorola Droid Bionic] xaero252:
Yeah I saw that... and tried it still nothing from my HDMI port and now.my headphone Jack is also not functioning... gonna fxz to stock and get a replacement probably... its not like I throw this thing these issues presented themselves with normal use the harshest experience my phone has had was my pocket and multiple flashes...
[Motorola Droid Bionic] ted1735:
Thank You

Got it working following all directions to the T! Thanks devs for all your hard work!
[Motorola Droid Bionic] squeeks:
I found this post about the OpenOffice menu text issue. Fixed the menubars, icons are still a little screwey.

I guess i cant post links yet.... So replace the " slash " with "/"

http: slash slash user.services.openoffice.org slash en slash forum slash viewtopic.php?t=10183#p56631
[Motorola Droid Bionic] MrKazman:
Trying to get swap, webtop2sd, and gnome on this 893 build but it breaks every time. I swear its the same thing I did before the switch. I've done it twice before, but both times were on the original 886.

There's got to be a way to streamline this process. Something like custom roms for webtop. Also I was checking out a RAZR today and saw the webtop was updated and ran a bit smoother than the original one for bionic. I wonder if it will port over....

Bionic x2 (theoryIceBlur, Stock)

tbolt (thunderstick)

DroidX (liberty)

Xoomx2 (4G, wifi only)
[Motorola Droid Bionic] bnred777:
I'm getting some errors when trying to do an apt-get update command... looks like the server is down... anyone else?

root@localhost:/# apt-get update

Err http://ca25-webtop-mirror.am.mot.com maverick Release.gpg

Could not resolve 'ca25-webtop-mirror.am.mot.com'

Err http://ca25-webtop-mirror.am.mot.com/mirror/maverick.ports.ubuntu.com/ubuntu-ports/ maverick/main Translation-en

Could not resolve 'ca25-webtop-mirror.am.mot.com'

Err http://ca25-webtop-mirror.am.mot.com/mirror/maverick.ports.ubuntu.com/ubuntu-ports/ maverick/multiverse Translation-en

Could not resolve 'ca25-webtop-mirror.am.mot.com'

Err http://ca25-webtop-mirror.am.mot.com/mirror/maverick.ports.ubuntu.com/ubuntu-ports/ maverick/restricted Translation-en

Could not resolve 'ca25-webtop-mirror.am.mot.com'

Err http://ca25-webtop-mirror.am.mot.com/mirror/maverick.ports.ubuntu.com/ubuntu-ports/ maverick/universe Translation-en

Could not resolve 'ca25-webtop-mirror.am.mot.com'

Reading package lists... Done

W: Failed to fetch http://ca25-webtop-mirror.am.mot.co...u.com/ubuntu-ports/dists/maverick/Release.gpg Could not resolve 'ca25-webtop-mirror.am.mot.com'

W: Failed to fetch http://ca25-webtop-mirror.am.mot.co...s/dists/maverick/main/i18n/Translation-en.bz2 Could not resolve 'ca25-webtop-mirror.am.mot.com'

W: Failed to fetch http://ca25-webtop-mirror.am.mot.co...s/maverick/multiverse/i18n/Translation-en.bz2 Could not resolve 'ca25-webtop-mirror.am.mot.com'

W: Failed to fetch http://ca25-webtop-mirror.am.mot.co...s/maverick/restricted/i18n/Translation-en.bz2 Could not resolve 'ca25-webtop-mirror.am.mot.com'

W: Failed to fetch http://ca25-webtop-mirror.am.mot.co...sts/maverick/universe/i18n/Translation-en.bz2 Could not resolve 'ca25-webtop-mirror.am.mot.com'

W: Some index files failed to download, they have been ignored, or old ones used instead.

root@localhost:/#
[Motorola Droid Bionic] bnred777:
Did a reflash of the webtop image and everything is fine...