Dragons ahead. You can brick your phone. WORK IN PROCESS
I have compiled two threads and post them in a clean manner so that we can use bionic webtop.
Bionic Webtop Chromium (Chrome) Browser - http://xdaforums.com/showthread.php?t=1271624
[Mods] WebBuntu Post-Webtop2sd Hacks - http://xdaforums.com/showthread.php?t=1281722
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] - http://xdaforums.com/showthread.php?t=1218217
This is the site for getting osh partition from bionic. http://www.pressbyte.com/5382/unbrick-motorola-droid-bionic-restore-stock-rom-tool/
targa_cdma_targa-user-2.3.4-5.5.1_84_DBN-55-110814-Verizon-US.tar.gz
http://www.multiupload.com/HUMXFD1J6L
Then, after extracting the file, you get grfs.img file and place it to /sdcard-ext directory.
After that you can mount to /tmp/grfs by;
open ADB terminal
# mkdir /tmp/grfs
# mount /sdcard-ext/grfs.img /tmp/grfs
Now we have the osh partition mounted to /tmp/grfs. We will use these file to make fake osh partition.
To create 2 GB fake partition, we need to create ubuntu.disk file on /sdcard-ext directory. Extract attached rsync.deb file to /sdcard-ext directory. Afterwards;
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# /bin/dd if=/dev/zero of=/sdcard-ext/ubuntu.disk bs=1024 count=2097152
root@localhost:/# /sbin/losetup /dev/block/loop7 /sdcard-ext/ubuntu.disk
root@localhost:/# /sbin/mkfs -t ext3 -m 1 -b 2048 /dev/block/loop7
root@localhost:/# mkdir /tmp/osh
root@localhost:/# /bin/mount -t ext3 /dev/block/loop7 /tmp/osh
root@localhost:/# mkdir /tmp/deb
root@localhost:/# /usr/bin/dpkg-deb -x /mnt/sdcard-ext/rsync* /tmp/deb
root@localhost:/# /tmp/deb/usr/bin/rsync -avx /tmp/grfs/ /tmp/osh/
root@localhost:/# exit
# reboot
Now we have original webtop (jaunty) and fake webtop (maverick). The osh directory is mounted on original webtop. Now we mount the original webtop to /tmp/osh_1 directory so that we can use some files if necessary. This remounting is not necessary though.
open ADB terminal
# su
# mkdir /tmp/osh1
# /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh1
# /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
# /system/bin/mount -t ext3 /dev/block/loop7 /osh
Voila. We have mounted fake webtop to /osh mount point. Now we can use apt-get but to use it, we need to change some files in webtop. We shall download this file http://www.megaupload.com/?d=R56GAH8Q and put it into /sdcard-ext directory.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# cd /osh
root@localhost:/# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
root@localhost:/# mount -o remount, rw /
root@localhost:/# mkdir /var/lib/dpkg/updates
we need to update /etc/apt/sources.list file.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# chroot /osh
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick main universe restricted multiverse">/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-updates main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-backports main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-security main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# apt-get update
root@localhost:/# apt-get install chromium-browser
Now we have a working fake webtop (maverick). The next step is to use this webtop instead of atrix webtop (jaunty).
Reboot atrix. After rebooting every thing will be normal. You will have original webtop mounted on /osh directory. Put atrix to laptop dock. Atrix webtop will open and you will see the destop ( jaunty ),
then open lxterminal;
adas@localhost:/data/home/adas$ /usr/bin/sudo -H -u adas bash
adas@localhost:/data/home/adas$# sudo /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh_1
adas@localhost:/data/home/adas$ sudo /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
adas@localhost:/data/home/adas$ sudo /system/bin/mount -t ext3 /dev/block/loop7 /osh
Here, we disconnect /osh mount point from jaunty distro and connect maverick distro to /osh mount point. Actually we are trying to trick atrix webtop.
Now, we can open chromium-browser. Again open lxterminal and run;
adas@localhost:/data/home/adas$ sudo cp /tmp/osh_1/usr/lib/firefox-addons/plugins/libflashplayer.so /osh/usr/lib/chr*/plugins/libflashplayer.so
adas@localhost:/data/home/adas$ sudo chromium-browser
Voila.
POC video:
http://www.youtube.com/watch?v=etb6iCW7qHk
https://help.ubuntu.com/community/RestrictedFormats
sudo apt-get install ubuntu-restricted-extras
https://help.ubuntu.com/community/Java
sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
sudo apt-get update
I have compiled two threads and post them in a clean manner so that we can use bionic webtop.
Bionic Webtop Chromium (Chrome) Browser - http://xdaforums.com/showthread.php?t=1271624
[Mods] WebBuntu Post-Webtop2sd Hacks - http://xdaforums.com/showthread.php?t=1281722
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] - http://xdaforums.com/showthread.php?t=1218217
This is the site for getting osh partition from bionic. http://www.pressbyte.com/5382/unbrick-motorola-droid-bionic-restore-stock-rom-tool/
targa_cdma_targa-user-2.3.4-5.5.1_84_DBN-55-110814-Verizon-US.tar.gz
http://www.multiupload.com/HUMXFD1J6L
Then, after extracting the file, you get grfs.img file and place it to /sdcard-ext directory.
After that you can mount to /tmp/grfs by;
open ADB terminal
# mkdir /tmp/grfs
# mount /sdcard-ext/grfs.img /tmp/grfs
Now we have the osh partition mounted to /tmp/grfs. We will use these file to make fake osh partition.
To create 2 GB fake partition, we need to create ubuntu.disk file on /sdcard-ext directory. Extract attached rsync.deb file to /sdcard-ext directory. Afterwards;
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# /bin/dd if=/dev/zero of=/sdcard-ext/ubuntu.disk bs=1024 count=2097152
root@localhost:/# /sbin/losetup /dev/block/loop7 /sdcard-ext/ubuntu.disk
root@localhost:/# /sbin/mkfs -t ext3 -m 1 -b 2048 /dev/block/loop7
root@localhost:/# mkdir /tmp/osh
root@localhost:/# /bin/mount -t ext3 /dev/block/loop7 /tmp/osh
root@localhost:/# mkdir /tmp/deb
root@localhost:/# /usr/bin/dpkg-deb -x /mnt/sdcard-ext/rsync* /tmp/deb
root@localhost:/# /tmp/deb/usr/bin/rsync -avx /tmp/grfs/ /tmp/osh/
root@localhost:/# exit
# reboot
Now we have original webtop (jaunty) and fake webtop (maverick). The osh directory is mounted on original webtop. Now we mount the original webtop to /tmp/osh_1 directory so that we can use some files if necessary. This remounting is not necessary though.
open ADB terminal
# su
# mkdir /tmp/osh1
# /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh1
# /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
# /system/bin/mount -t ext3 /dev/block/loop7 /osh
Voila. We have mounted fake webtop to /osh mount point. Now we can use apt-get but to use it, we need to change some files in webtop. We shall download this file http://www.megaupload.com/?d=R56GAH8Q and put it into /sdcard-ext directory.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# cd /osh
root@localhost:/# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
root@localhost:/# mount -o remount, rw /
root@localhost:/# mkdir /var/lib/dpkg/updates
we need to update /etc/apt/sources.list file.
open ADB terminal
# su
# /usr/bin/sudo -H -u root bash
root@localhost:/# chroot /osh
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick main universe restricted multiverse">/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-updates main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-backports main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-security main universe restricted multiverse">>/etc/apt/sources.list
root@localhost:/# apt-get update
root@localhost:/# apt-get install chromium-browser
Now we have a working fake webtop (maverick). The next step is to use this webtop instead of atrix webtop (jaunty).
Reboot atrix. After rebooting every thing will be normal. You will have original webtop mounted on /osh directory. Put atrix to laptop dock. Atrix webtop will open and you will see the destop ( jaunty ),
then open lxterminal;
adas@localhost:/data/home/adas$ /usr/bin/sudo -H -u adas bash
adas@localhost:/data/home/adas$# sudo /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh_1
adas@localhost:/data/home/adas$ sudo /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
adas@localhost:/data/home/adas$ sudo /system/bin/mount -t ext3 /dev/block/loop7 /osh
Here, we disconnect /osh mount point from jaunty distro and connect maverick distro to /osh mount point. Actually we are trying to trick atrix webtop.
Now, we can open chromium-browser. Again open lxterminal and run;
adas@localhost:/data/home/adas$ sudo cp /tmp/osh_1/usr/lib/firefox-addons/plugins/libflashplayer.so /osh/usr/lib/chr*/plugins/libflashplayer.so
adas@localhost:/data/home/adas$ sudo chromium-browser
Voila.
POC video:
http://www.youtube.com/watch?v=etb6iCW7qHk
https://help.ubuntu.com/community/RestrictedFormats
sudo apt-get install ubuntu-restricted-extras
https://help.ubuntu.com/community/Java
sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
sudo apt-get update
Attachments
Last edited: