Post Reply

[Mods] WebBuntu Post-Webtop2sd Hacks

OP tallnerd1985

29th September 2011, 05:04 AM   |  #1  
tallnerd1985's Avatar
OP Senior Member
Flag Vancouver, WA
Thanks Meter: 45
 
321 posts
Join Date:Joined: Dec 2008
Hey there,

Here is a guide for what to do after you have installed Webtop2sd and moved the Webtop to the sdcard. This guide, using [mbm]'s patch, will install gnome-terminal along with a rebuilt DPKG-repo so that way you can run apt-get, synaptic or aptitude to download new software for your Webtop. Along with this guide there is a link to Fenny's HDMI hack for those who don't have the laptop dock or the HD Dock for the Bionic.

Bionic Webtop Over HDMI Hack

Prerequisites:
1) Rooted Bionic
2) Webtop Patch
3) ADB already configured
4) Patience

First things first, go ahead and download [mbm]'s patch for Webtop that enables apt-get, synaptic package manager and gnome-terminal services in Webtop and place that file on the root of your sdcard. Then follow these commands step by step to apply the patch.

Quote:

adb shell
su
/bin/bash
-You will get some kind of error message, just ignore and push past it with the following commands
source /upath.sh
cd /osh
tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
mount -o remount, rw /
mkdir /var/lib/dpkg/updates
reboot

Quote:

After rebooting your phone, run these commands in adb:
su
mount -o remount, rw /

After booting into webtop:
Quote:

Ctrl+Alt+T
sudo apt-get update

**take note that you must run the "mount -o remount, rw /" command anytime you reboot your phone because any programs you get thru apt-get or synaptic will error out during installation

After that is done, go ahead and rename the folder /etc/tomoyo to something else like /etc/toy or whatever you want (Note, webtop2sd already takes care of this part for the user). After that, go ahead and dock your phone to see what happens cause you will be presented with a normal looking Webtop but if you hold down ctrl+alt+t, then it brings up the terminal!

From here, you can run "gksu synaptic" and use the password "test" to start installing various different programs and packages that are normally available on Ubuntu.

Important!
If you mess up your Webtop partition in any kind of way and need to restore it back to stock, please download this custom FXZ and flash thru RSD to bring you back to stock again.

Webtop RSD Restore

Dependencies
Take caution when modding Webtop because there are some dependencies that will break Webtop if they are upgraded such as anything ending in a .mot or anything resembling that.

Credits
Please thank [mbm] for fixing what Motorola took out, without him, none of this would be possible without his patch.

Sogarth for being the pioneer of Webtop hacking and for porting over his Webtop2sd app to give us more storage to play with.

Fenny for bringing over his Webtop over HDMI hack to our phones.
Last edited by tallnerd1985; 13th October 2011 at 04:41 PM.
The Following 11 Users Say Thank You to tallnerd1985 For This Useful Post: [ View ]
29th September 2011, 05:06 AM   |  #2  
tallnerd1985's Avatar
OP Senior Member
Flag Vancouver, WA
Thanks Meter: 45
 
321 posts
Join Date:Joined: Dec 2008
Desktop Enviroment:

If you do not like the default LXDE and AWN setup that comes preloaded on Webtop, you do have the ability to change some settings in the phone to use different Desktop environments such XFCE, Gnome-Panel, FBPanel or etc, etc.

After installing your DE of choice thru apt-get or synaptic, navigate on your phone with Root File Explorer to /osh/usr/local/bin/ and open the file "start-oshwt-2.sh" in the text editor and you will be presented with something that looks like this:

Quote:

#! /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 "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)'

From here, if you comment out the sfalv -i "awn-autostart", then add to the script sfalv -i "xfdesktop" and sfalv -i "xfce4-panel" if you installed xfce4 or whatever Desktop environment you installed. If you followed this, your script should look like this:

Quote:

#! /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 "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)'



Working Programs:
OpenOffice
XFCE4
Xchat
LxTerminal
Transmission
lxpanel
rdesktop
VLC Player (Video is choppy)
Gnome-Panel
Evolution Email
Chrome-Browser
Last edited by tallnerd1985; 13th October 2011 at 12:06 AM.
The Following 2 Users Say Thank You to tallnerd1985 For This Useful Post: [ View ]
29th September 2011, 05:27 AM   |  #3  
Member
Thanks Meter: 12
 
63 posts
Join Date:Joined: Sep 2010
Can we get some more info on this? What programs can I get to work?

Sent from my DROID BIONIC using XDA App
Last edited by BerkleyJ; 29th September 2011 at 05:30 AM.
29th September 2011, 05:20 PM   |  #4  
tallnerd1985's Avatar
OP Senior Member
Flag Vancouver, WA
Thanks Meter: 45
 
321 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by BerkleyJ

Can we get some more info on this? What programs can I get to work?

Sent from my DROID BIONIC using XDA App

You can check out the Atrix forums to see what others have installed but for me, I've install VLC Player and Xchat, both work very well but I am running out of space but that will be fixed with Webtop2sd app.
29th September 2011, 06:15 PM   |  #5  
Junior Member
Thanks Meter: 0
 
26 posts
Join Date:Joined: Sep 2011
OMG! This is awesome!! Good work guys! I will redirect my chromium post to this one instead!
29th September 2011, 09:00 PM   |  #6  
runandhide05's Avatar
Recognized Contributor
Thanks Meter: 2,449
 
2,804 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Awesome guys!

Sent from my DROID BIONIC using XDA Premium App
30th September 2011, 12:19 AM   |  #7  
Senior Member
Oregon
Thanks Meter: 7
 
104 posts
Join Date:Joined: Jun 2008
More
These commands for windows?
after /bin/bash
bash: groups: command not found
bash: lesspipe: command not found
30th September 2011, 12:30 AM   |  #8  
tallnerd1985's Avatar
OP Senior Member
Flag Vancouver, WA
Thanks Meter: 45
 
321 posts
Join Date:Joined: Dec 2008
Quote:
Originally Posted by frenetic

These commands for windows?
after /bin/bash
bash: groups: command not found
bash: lesspipe: command not found

Those are for within ADB shell

Sent from my DROID BIONIC using Tapatalk
30th September 2011, 12:43 AM   |  #9  
Senior Member
Oregon
Thanks Meter: 7
 
104 posts
Join Date:Joined: Jun 2008
More
Quote:
Originally Posted by tallnerd1985

Those are for within ADB shell

Sent from my DROID BIONIC using Tapatalk

Not working correctly
I will probably feel stupid

Click image for larger version

Name:	sushell.jpg
Views:	2000
Size:	41.0 KB
ID:	735522
Last edited by frenetic; 30th September 2011 at 12:49 AM.
30th September 2011, 12:55 AM   |  #10  
runandhide05's Avatar
Recognized Contributor
Thanks Meter: 2,449
 
2,804 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Sent from my DROID BIONIC using XDA Premium App

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes