[GSM/CDMA]EternityProject WebTop Mod -- Full Ubuntu Natty Narwhal on RAZR --

Search This thread

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
Welcome to the EternityProject's WebTop Modifications Thread for Motorola RAZR

What do we have here?
Ubuntu Natty. Ubuntu Natty. Ubuntu Natty. Is it enough? :)

What do we need?
1. A brain
2. A RAZR
3. .....Anything you want

Download:
WebTopMOD v0.2a (Natty) for Motorola RAZR: HERE
domain_policy.conf: HERE
sudoers: HERE

Easy INSTALL & STARTUP Scripts: HERE

Instructions:
1. UnBz2/UnTar the archive
2. Copy the IMG file on the root of your external sdcard
3. Install the Easy Scripts with bootstrap/safestrap recovery
4. Enjoy!

WebTopMOD Changelog:
Code:
v0.2a:
Image file now is 3.5GB, FAT32 friendly!
v0.2:
Updated to Natty Narwhal
Prelinked all libraries for faster execution
Added EternityProject branding
Installed base dev tools
The Gimp included
Fixed some errors in APT
Regenerated all the locales and fixed locale errors
....and many many other fixes :)
v0.1:
- First release.

EPRJWTScripts Changelog:
Code:
v0.1:
- First time setup included
- Added scripts for WebTopMOD easy boot

MANUAL First Time Setup:
Code:
adb push domain_policy.conf /tmp/
adh push sudoers /tmp/
adb shell
su
cp domain_policy.conf /etc/tomoyo/
cp sudoers /etc/
chown root:root /etc/tomoyo/domain_policy.conf
chown root:root /etc/sudoers
chmod 440 /etc/sudoers
reboot

Then start WebTop and execute this:
Code:
*********PRELIMINARY VERSION SCRIPT*********

su
/usr/bin/sudo -H -u adas bash
export DISPLAY=:0
xhost +
sudo -i
mknod -m640 /dev/loop94 b 7 94
mkdir /tmp/wtm
mount -o loop /sdcard-ext/eternitywtm.img /tmp/wtm
mount -o bind /proc /tmp/wtm/proc
mount -o bind /dev /tmp/wtm/dev
mount -o bind /dev/pts /tmp/wtm/dev/pts
mount -o bind /dev/shm /tmp/wtm/dev/shm
mount -o bind /proc/bus/usb /tmp/wtm/proc/bus/usb
mount -o bind /sys /tmp/wtm/sys
mount -o bind /tmp /tmp/wtm/tmp
mount -o bind /var/tmp /tmp/wtm/var/tmp
mount -o bind /var/run/dbus/ /tmp/wtm/var/run/dbus
mount -o bind /var/lib/dbus/ /tmp/wtm/var/lib/dbus
mount -o bind /sdcard /tmp/wtm/sdcard
mount -o bind /sdcard-ext /tmp/wtm/sdcard-ext
chroot /tmp/wtm /bin/bash
export DISPLAY=:0
xterm
The xterm window is acting on the new Maverick system.

Replacing WebTop UI with Lightweight GNOME (only panels and metacity) in v0.2:
Code:
eprj_lightgnome

Replacing WebTop with Full GNOME in v0.2:
Code:
eprj_fullgnome

Replacing WebTop UI with Lightweight GNOME (only panels and metacity) in v0.1:
Code:
kill $(ps -ef | grep 5000 | grep webtop-panel | cut -c10-15)
kill $(ps -ef | grep 5000 | grep apptray | cut -c10-15)
kill $(ps -ef | grep 5000 | grep metacity | cut -c10-15)
kill $(ps -ef | grep 5000 | grep xscreensaver | cut -c10-15)
sleep 3
gnome-panel &
metacity -c &

Replacing WebTop with Full GNOME in v0.1:
Code:
kill $(ps -ef | grep 5000 | grep webtop-panel | cut -c10-15)
kill $(ps -ef | grep 5000 | grep apptray | cut -c10-15)
kill $(ps -ef | grep 5000 | grep metacity | cut -c10-15)
kill $(ps -ef | grep 5000 | grep webtop-wallpaper | cut -c10-15)
kill $(ps -ef | grep 5000 | grep xscreensaver | cut -c10-15)
sleep 3
gnome-session &

Status:
The WebTop MOD FileSystem is ready.
Note that it is an alpha version so, not everything will work flawlessly and easily. If APT doesn't work, check /etc/resolv.conf.

Oldies:
WebTopMOD v0.1 (Maverick) for Motorola RAZR: HERE

Heheh!
So, I wanna do some questions to the community for making this to be better.

1. What do you expect from this release?
2. What are the programs you want to find on it?
3. What do you want to be able to do?


Thanks for your replies, guys!



The EternityProject Developer,
-kholk
 
Last edited by a moderator:

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
Installed:
Full GNOME Environment
XTerm
OpenOffice.org Writer



Preview:
Click!
 

Attachments

  • IMG_20111202_190038.jpg
    IMG_20111202_190038.jpg
    87.2 KB · Views: 8,736
Last edited:

pajn

Senior Member
Aug 13, 2009
225
109
Great work!

1. What do you expect from this release?
A perfectly functional Ubuntu Maverick. Support for sudo, apt-get and such tings. I have never used webtop so I don't know what to expect. But a working Ubuntu as close as possible to the desktop edition would be a dream.

2. What are the programs you want to find on it?
Except from the default (maybe remove some unnecessary if space is needed, for example evolution (I think most android users use gmail) and gimp if it was still included in 10.10) I just want programs needed for correct function.

3. What do you want to be able to do?
Everything ;)

Just a thought. Was 10.10 released for ARM?
Wondering if there are repositories available...

And why 10.10 and not 11.10? Is webtop using the same kernel as Android so we can't compile a newer one?
 

stevessvt

Senior Member
Nov 6, 2010
2,037
553
Lake Worth
Im not exactly sure what I expect, I had a Bionic for 2 weeks prior to the RAZR, and its webtop mod basically made the Bionic a mouse and HDMI out to a tv a computer. Thats all I want, Santa.
 

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
You, good sir, have made my day!

1. What do you expect from this release?
I'd love the webtop be to much quicker. I think if you could introduce swap space, the speed could be increased greatly. I know there was a patch for that on the Bionic, so it would be excellent to see that on here to ensure it performs well.

2. What are the programs you want to find on it?
Is Mobile View possible? Also, I'd like to be able to compile code... can you maybe get Eclipse or Netbeans? Additionally, OpenOffice would be nice.

3. What do you want to be able to do?
I'm using my webtop primarily for taking notes in class, but I would absolutely love to have the ability to compile code so I can work on assignments on-the-go.

THANK YOU!!!
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
I'm installing Evolution and OpenOffice. I'll possibly install GIMP, too, but Eclipse and Netbeans are really big, so if anyone needs it, apt-get will work so you'll be able to install it on your own.

Anyway, please don't request big things, it should be a base system. Its size now (with Evolution) is 2GB. I expect it to grow to 2.5GB with OpenOffice.
 

stevessvt

Senior Member
Nov 6, 2010
2,037
553
Lake Worth
This must be something different than what was out for the Bionic. That was just a couple megs and basically allowed webtop over HDMI without any adapters.
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
What you're referring to was a modification to Motorola's APKs for allowing WebTop over HDMI. This is a chroot into full Ubuntu Maverick through WebTop.
 
  • Like
Reactions: death369

stevessvt

Senior Member
Nov 6, 2010
2,037
553
Lake Worth
What you're referring to was a modification to Motorola's APKs for allowing WebTop over HDMI. This is a chroot into full Ubuntu Maverick through WebTop.

Cool!



Soooooo....and talk to me as if Im an idiot, because, well, I am,..lol.....what is this then? And what are the advantages of this over Moto's webtop? And can I still use this over HDMI? Also if something goes horrifically wrong, will a nadroid back up made previously suffice in getting everything right again?
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
Every modification made to this system won't be reflected to the Motorola WebTop partition, so, if you totally screw up my Ubuntu Maverick installation, your device won't be screwed up: you just need to recopy the original WebTopMOD partition and... start over without problems!

Motorola WebTop is a modified Ubuntu system, with some Moto proprietary libraries and APT screwed up / disabled, so you cannot install anything over it.
WebTopMOD has got full APT so you can install everything you want or, well, everything available on Ubuntu repositories.


It's like having a "normal" (barely normal) PC Ubuntu Maverick installation.
 

pajn

Senior Member
Aug 13, 2009
225
109
Ubuntu is a operating system like windows or OSX. Maverick is a version like Vista or Lion

See ubuntu.com or wikipedia

Sent from my awsome Motorola RAZR
 

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
Someone has test it? i guess root is required, right?
I'm pretty sure you need root. However, I downloaded the file twice now, and WinRAR wouldn't open with it. 7zip seems to work, but I'm a bit concerned that it might be corrupt. I'll post again if it works for me.

EDIT: File is corrupt. I can't open the img file. I've tried downloading and extracting on two different computers.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Welcome to the EternityProject's WebTop Modifications Thread for Motorola RAZR

    What do we have here?
    Ubuntu Natty. Ubuntu Natty. Ubuntu Natty. Is it enough? :)

    What do we need?
    1. A brain
    2. A RAZR
    3. .....Anything you want

    Download:
    WebTopMOD v0.2a (Natty) for Motorola RAZR: HERE
    domain_policy.conf: HERE
    sudoers: HERE

    Easy INSTALL & STARTUP Scripts: HERE

    Instructions:
    1. UnBz2/UnTar the archive
    2. Copy the IMG file on the root of your external sdcard
    3. Install the Easy Scripts with bootstrap/safestrap recovery
    4. Enjoy!

    WebTopMOD Changelog:
    Code:
    v0.2a:
    Image file now is 3.5GB, FAT32 friendly!
    v0.2:
    Updated to Natty Narwhal
    Prelinked all libraries for faster execution
    Added EternityProject branding
    Installed base dev tools
    The Gimp included
    Fixed some errors in APT
    Regenerated all the locales and fixed locale errors
    ....and many many other fixes :)
    v0.1:
    - First release.

    EPRJWTScripts Changelog:
    Code:
    v0.1:
    - First time setup included
    - Added scripts for WebTopMOD easy boot

    MANUAL First Time Setup:
    Code:
    adb push domain_policy.conf /tmp/
    adh push sudoers /tmp/
    adb shell
    su
    cp domain_policy.conf /etc/tomoyo/
    cp sudoers /etc/
    chown root:root /etc/tomoyo/domain_policy.conf
    chown root:root /etc/sudoers
    chmod 440 /etc/sudoers
    reboot

    Then start WebTop and execute this:
    Code:
    *********PRELIMINARY VERSION SCRIPT*********
    
    su
    /usr/bin/sudo -H -u adas bash
    export DISPLAY=:0
    xhost +
    sudo -i
    mknod -m640 /dev/loop94 b 7 94
    mkdir /tmp/wtm
    mount -o loop /sdcard-ext/eternitywtm.img /tmp/wtm
    mount -o bind /proc /tmp/wtm/proc
    mount -o bind /dev /tmp/wtm/dev
    mount -o bind /dev/pts /tmp/wtm/dev/pts
    mount -o bind /dev/shm /tmp/wtm/dev/shm
    mount -o bind /proc/bus/usb /tmp/wtm/proc/bus/usb
    mount -o bind /sys /tmp/wtm/sys
    mount -o bind /tmp /tmp/wtm/tmp
    mount -o bind /var/tmp /tmp/wtm/var/tmp
    mount -o bind /var/run/dbus/ /tmp/wtm/var/run/dbus
    mount -o bind /var/lib/dbus/ /tmp/wtm/var/lib/dbus
    mount -o bind /sdcard /tmp/wtm/sdcard
    mount -o bind /sdcard-ext /tmp/wtm/sdcard-ext
    chroot /tmp/wtm /bin/bash
    export DISPLAY=:0
    xterm
    The xterm window is acting on the new Maverick system.

    Replacing WebTop UI with Lightweight GNOME (only panels and metacity) in v0.2:
    Code:
    eprj_lightgnome

    Replacing WebTop with Full GNOME in v0.2:
    Code:
    eprj_fullgnome

    Replacing WebTop UI with Lightweight GNOME (only panels and metacity) in v0.1:
    Code:
    kill $(ps -ef | grep 5000 | grep webtop-panel | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep apptray | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep metacity | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep xscreensaver | cut -c10-15)
    sleep 3
    gnome-panel &
    metacity -c &

    Replacing WebTop with Full GNOME in v0.1:
    Code:
    kill $(ps -ef | grep 5000 | grep webtop-panel | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep apptray | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep metacity | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep webtop-wallpaper | cut -c10-15)
    kill $(ps -ef | grep 5000 | grep xscreensaver | cut -c10-15)
    sleep 3
    gnome-session &

    Status:
    The WebTop MOD FileSystem is ready.
    Note that it is an alpha version so, not everything will work flawlessly and easily. If APT doesn't work, check /etc/resolv.conf.

    Oldies:
    WebTopMOD v0.1 (Maverick) for Motorola RAZR: HERE

    Heheh!
    So, I wanna do some questions to the community for making this to be better.

    1. What do you expect from this release?
    2. What are the programs you want to find on it?
    3. What do you want to be able to do?


    Thanks for your replies, guys!



    The EternityProject Developer,
    -kholk
    4
    Guys, it isn't THAT easy to do!

    ICS has got a whole different thing, but anyway, yeah, I'll try, don't worry.



    The EternityProject Team Manager & Main Developer,
    --kholk
    3
    Installed:
    Full GNOME Environment
    XTerm
    OpenOffice.org Writer



    Preview:
    Click!
    3
    I'm installing Evolution and OpenOffice. I'll possibly install GIMP, too, but Eclipse and Netbeans are really big, so if anyone needs it, apt-get will work so you'll be able to install it on your own.

    Anyway, please don't request big things, it should be a base system. Its size now (with Evolution) is 2GB. I expect it to grow to 2.5GB with OpenOffice.
    3
    My idea with how to make the script work was to specify shell in the script itself and make the script runable. But that didn't work. Firstly permissions on fat32 doesn't work so it would have to be copied to /system or something like that. Secound #!/bin/bash didn't work :p

    so I did some test on my computer and found out that launching thre script with sh should work so I changed that and it actually worked!

    The problem is that they ended up very much like gehrc. So much that it feels a little embaressed to post them ;)
    The only big difference is that he uses bash on one place where I uses sh.

    One other difference that didn't help it work but is important is that I have the imagefile on the internal memory. If you don't you have to change
    Code:
    mount -o loop /sdcard/eternitywtm.img /tmp/wtm
    in mount.sh to
    Code:
    mount -o loop /sdcard-ext/eternitywtm.img /tmp/wtm

    Also the folder webtopMOD must be placed on the internal memory and must not be renamed. If you would like to change that aswell you have to change the path in init.sh (and keep in mind that the path must be from /tmp/wtm)

    I tested the script after a complete reboot to make shure there wasn't any previous command that made it work.

    To start ubuntu just type
    Code:
    su
    cd /sdcard/webtopMOD
    sh startubuntu.sh