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

Search This thread

acomiskey

Senior Member
Mar 13, 2008
260
37
Downloaded, extracted with winrar, opened .img with winimage and it shows nothing. 0 files 0 bytes.
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
LOL! I've really written newwworld.. haha :)
Link is okay now.

@acomiskey
Winimage? What do you want to do with winimage? lol
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
Read the instructions on first post. I've written a basic how-to, however, this thing at this moment is useful only for power users, or for anyone that knows how to use a linux terminal and how linux works.
 

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
Read the instructions on first post. I've written a basic how-to, however, this thing at this moment is useful only for power users, or for anyone that knows how to use a linux terminal and how linux works.
Okay... those weren't there when I first tried it. One more thing... in the first script to run... do you mean 'chown root.root ...' rather than 'root:root'? 'root:root' wouldn't work. I also had to cd into /tmp/ before I could copy domain_policy.conf to /etc/tomoyo/.
 
Last edited:

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
I get 'No such user root:root'

My phone is definitely rooted. I have the superuser app and it runs fine. Also, I am running adb shell in su mode. Looking at the syntax of chown on adb it shows (USER)[.GROUP] (FILE1) [FILE2] ...
 
Last edited:

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
Try busybox chown root:root domain_policy.conf

Yup, that seems to have done the trick, thanks! Proceeding with the rest of the install once my RAZR finishes rebooting...

---------- Post added at 01:47 PM ---------- Previous post was at 01:43 PM ----------

Okay so now I'm in Webtop, but how and where do I execute this second script?
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
Open Mobile View, then open a terminal emulator from Android.
I think it's better to save the 2nd script in a file, and then execute it.
 

Golgo

Senior Member
Oct 18, 2008
457
11
So is this only for users with a Webtop compatible dock? Is there a hack yet for enabling Webtop over HDMI?
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
At the moment, it's possible only for people that have got a LapDock/Multimedia Station....

...However, I've asked to _unknown to teach me how to make the Webtop@HDMI hack.
As soon as he'll reply I'll make the hack and publish it!
 
  • Like
Reactions: stevessvt

gehrc

Senior Member
May 15, 2010
96
3
State College, PA
I'm getting tons of errors when trying to run that script. They are:

xhost: not found
sudo: not found
mkmod: /dev/loop94: File exists
mkdir failedfor /tmp/wtm, File exists
Usage: mount [-r] [-w] [-o options] [-t type] device directory
mount: No such file or directory (I get this one for all the mount statements)
chroot: can't execute '/bin/bash': No such file or directory
xterm: not found

Where should I be running this script from?
 

Sssnatcher

New member
Sep 13, 2009
1
0
Hi,
sry for this Question, but i have an Atrix with a Lapdock.
So now my Question, Work this Project on Atrix Germany too?
 

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
This won't work on ATRIX. The binaries in there are compiled with full OMAP4 support and since Tegra2 is missing some things.... it won't work on Tegra2 devices.
 

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