Ubuntu.sh - Atrix 4G Android Development

located at /osh/ubuntu.sh
Code:
#!/bin/sh
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
chmod 666 /system/usr/keychars/*
rm -f /tmp/tab*
mkdir -p /home/adas/Desktop
chmod 755 /home/adas/Desktop
chown -R adas.adas /home/adas/Desktop
[ -x /usr/bin/firefox-install-profile ] && /usr/bin/firefox-install-profile
/etc/init.d/rc S
chmod 666 /dev/socket/dbus
chmod 666 /dev/null
/etc/init.d/rc 2
cp /sdcard/*.lic /data/
chmod 666 /data/*.lic
I'm still an amateur, but I'm trying to find stuff

Yeah I found that last night too.. The OSH folder seems to be the Ubuntu filesystem pretty much. I am messing around in it as we speak. Loading up Linux right now and gonna test a few things. If i find something, ill post it back on here

So forgive me for asking, but to make sure: does this mean the Atrix Webtop OS is a customized version of Ubuntu? If so, that's pretty awesome; let's hope dpkg is on it!

From what I am seeing so far, it is pretty much a customized version of Ubuntu and if all goes well. We will be able to install what we want on it. Just gonna take some time to completely figure the entire thing out..
Just a bit of good news.. Its not looking very difficult to make it allow you to run the webtop OS by plugging in the USB cable to a computer.. Won't know if it works until I get home tonight and give it a try.. Steps closer.....

if you load up firefox from a webtop dock or laptop dock and go to "About" it says Firefox for Ubuntu. So that's at least telling us something.

So now really what we need is replace firefox with chrome

AstainHellbring said:
So now really what we need is replace firefox with chrome
Click to expand...
Click to collapse
Correct me if I'm wrong, but that's impossible. While the phone may be running Ubuntu, it's still running it from an ARM processor which means that one would need Chrome compiled for ARM.

Is there a way to get a dump of the entire /osh/ folder? I'd like to see what I can do with it.

note that apt/sources.list in the osh partition includes a mirror of the stock ubuntu jaunty for arm port, as well as a custom webtop mirror. Both point to an internal 10.x url (doh), but this looks like a stock ubuntu with some webtop additions. Should be nice!
Anyone able to launch the webtop environment with a HDMI cable/bluetooth keyboard/mouse?

/osh/var/lib/dpkg
There's a folder with various files in it.. So I assume if we get the arm port of dpkg we could simply add it to /osh/bin..
What's the best way to get a dump?

so I am curious if the /osh only exists in webtop mode, could anyone own a Atrix check and get a dump of that dir or all things in / dir?

Ubuntu DUMP
Thanks to USKR posting this dump in another thread. We can all DIG IN!
http://www.usk.bz/android/ubuntu.img.bz2

sexydroid said:
so I am curious if the /osh only exists in webtop mode, could anyone own a Atrix check and get a dump of that dir or all things in / dir?
Click to expand...
Click to collapse
/OSH exists at all times. It exists on my phone and I don't own a dock

Related

Cannot install Debian on JF 1.5 US? Help?

Hey, Im following
http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=2248
For how to set debian up. However chmod 4755 * fails for me saying operation not permitted when I am cd /sdcard/debian I read through a couple other posts on google and the site above where it says people can on versions pre 1.5 but once on 1.5 US it breaks the su whitelist some?
Anyways, Anyone have some ideas for me, as the google trail went cold for me as the people who had this issue was already at the end of the threads with no resolve or joy. Thanks. =)
too much in 'yo chmod!
hey i have set up mine. you just gotta forget about the chmod and just skip it and do the rest of the steps then type exit. then once it reboots, just type
su
cd /sdcard/debian
sh bootdeb
then it should be running
Yea I thought so too on the chmod step, so I tried going to the next, the installer.sh and said not allowed or something.
I tried running boot debian and so, and it came up with the load screen, then it had a chmod issue and then the G1 restarted. So what am I missing here? =/
hmm, im not entirely sure. when i installed it i simply
su
cd sdcard/debian
chmod 4755 *
su sh ./installer.sh
exit
su
cd sdcard/debian
sh bootdeb
Well I was reading other posts, Could it be a issue that Im already running apps off the EXT2 part of my SD card? I have the debian files on the FAT32 area. I saw some people saying that might be a cause of the issue?
if your debian dir is on fat32, you need to delete the first line of installer.sh script
Ok did that and the installer.sh ran did alot of not found errors then when I tried to bootdeb it looked like it was trying to load, then it rebooted the G1. =/
Any other ideas? Also if I wanna try to uninstall the work it did, what does it create to delete?
Mysticales said:
Ok did that and the installer.sh ran did alot of not found errors then when I tried to bootdeb it looked like it was trying to load, then it rebooted the G1. =/
Any other ideas? Also if I wanna try to uninstall the work it did, what does it create to delete?
Click to expand...
Click to collapse
Which image are you using? There's one for fat32 and one for ext2. Try this: download fat32 version http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21
you may need to remount when entering the following commands in the terminal
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
place zip file on sdcard. go to terminal and enter:
su
unzip "whatever_your_debian_file_is_named".zip (not sure what its called)
cd "whatever_your_debian_file_is_named"
cp installer.sh /sdcard/gscript
then go to Gscript and load installer.sh, before you save, delete the line that says "./fsrw"
then save this edited script as installer1.sh
go back to terminal
cp /sdcard/gscript/installer1.sh /sdcard/debian
cd /sdcard/debian
su
sh ./installer1.sh
sh ./bootdeb
if that doesnt work out try rebooting and doing these commands
cd /sdcard/debian
sh ./bootdeb
to delete, go to debian directory then
rm -r debian
afaik, all the data from debian is self-contained in debian.img
Ill try that, btw yea I have that file you linked to. But before I do this, the stuff your mentioning, wont affect the fact that I have my apps installed to the SD right? Mounting and unmounting things.
Mysticales said:
Ill try that, btw yea I have that file you linked to. But before I do this, the stuff your mentioning, wont affect the fact that I have my apps installed to the SD right? Mounting and unmounting things.
Click to expand...
Click to collapse
No, your apps should be safe. If you're using the link I posted, you need to put debian on /sdcard which is fat32
you're apps2sd should be mounted at /system/sd and should be unaffected by your debian installation/uninstallation.
I'm not sure if remounting /system is required, but i think it allows you permissions so you can use the utilities in /system/bin. I would remount just to save myself time.
Btw, I could not chmod my debian directory, but debian runs fine for me.
jonnybueno said:
to delete, go to debian directory then
rm -r debian
afaik, all the data from debian is self-contained in debian.img
Click to expand...
Click to collapse
Oops, my bad. Should be:
cd /sdcard or cd /system/sd depending on where you put your debian directory
the you can
rm -r debian
Jonny your great. =) The remounting thing worked! Then ran the installer, got alot of not found, but after that all, I booted into Debian, and did the onetime.sh to set the unix pw.
(Which for the record to anyone in the future doing a search on this once your in debian, do cd scripts and enter that folder and type sh onetime.sh )
Now onto the next step and adding a GUI Which gonna attempt that all now.
Edit: And Grr... not gonna try to do the rest of the repos on EDGE connection.. Gotta wait till I get home. =( (Wifi rules for linux starts lol)
I think the image we installed is only 750MB so from what I've read, it is advisable to resize your debian img. Thats another world of brain hurt for me... but there is this guy with this thread who is offering to upload his custom image.
http://forum.xda-developers.com/showthread.php?t=528262
5 more votes by the end of the day and maybe he'll upload it.
Well... I already did the resize heh. Got a 2.3GB image on right now, which fits on my 4GB, since I have a 1GB EXT2 Partition and rest is fat32.
I used ubuntu to make a image and mount both images and copied the data from one into the other, then did the tasks after I booted debian again to get everything smooth again. =) But I wont stop him from uploading his image if it has a GUI already installed, which is what im after atm. =)
Update, So far having a lil issue getting the desktop to show up on VNC, however I did get other tasks done and stable running. Also came across this post which is vital as the default install seems to want to give you a repo that 404s too much so before you start your tasks, after you install debian and get into it, do this stuff.
ZilverZurfarn said:
For those (like me) who get errors when apt-get'ing thightvncserver and/or lxde:
(from the thread at androidfanatic.com)
instructions
cd /etc/apt
nano sources.list
now add
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
after the first one
then hold down the trackball and hit o
then hit return (to save the new sources.list)
then hold the trackball and hit x (to exit nano)
then type
apt-get update
apt-get install tightvncserver
apt-get install lxde
That did the trick for me at least.
/Mats
Click to expand...
Click to collapse
yeahhh
now my problem is that debian is restarted all time
error
chroot: can't change root directory to /data/local/mnt: No such file or director
y
Well While mine worked, sorta, I just went with the 1 click debian install thread, made life a lil easier. Heh.

[Dev Only] Lets Get a Fully working version of Jaunty Starting With apt-get

OK now that the first hard part is over (getting Webtop running with out dock) now its time to push this to the limits ... I am Currently working on getting apt-get installed and running on Jaunty ... I would love to get some help with all this, obviousy this wont replace my laptop or Desktop, but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket... so lets keep up the good work and push forward, CHARGE !!!
FIRST try and fail... prayed it would be as easy as pushing apt-get to /system/bin and executing ... it was not ... well not with this try anyhow getting a apt-get: cannot execute binary file error
Open a second adb shell and monitor dmesg | grep TOMOYO to see if the MAC is preventing you from executing files not listed in the policy. I had to muck around with it earlier today to get it to run lxterminal.
agentdr8 said:
Open a second adb shell and monitor dmesg | grep TOMOYO to see if the MAC is preventing you from executing files not listed in the policy. I had to muck around with it earlier today to get it to run lxterminal.
Click to expand...
Click to collapse
will do !! first thing im doing right now is installing a virtual machine jaunty on my machine to compare and test with figure that will be the most helpful !!
Anyone working on this, be very careful, as the default adbd location is in /sbin, which symlinks to /osh/sbin.
Its possible to use adb to interact with the webtop, its probably easier for these initial command line stages too.
t0dbld said:
FIRST try and fail... prayed it would be as easy as pushing apt-get to /system/bin and executing ... it was not ... well not with this try anyhow getting a apt-get: cannot execute binary file error
Click to expand...
Click to collapse
Why did you have to push apt-get to the box? apt and dpkg are already there.
I had this earlier, but reverted due to problems (I tried to uninstall rootfs). The first thing that needs to be taken care of is missing package dependencies, and file collisions. The package rootfs provides the functionality of the packages that are missing, but apt doesn't know that.
Also, consider moving /usr to the /data partition to save space. /osh is pretty cramped as is, and resolving the dependencies will fill it up pretty quickly.
droidbird said:
Why did you have to push apt-get to the box? apt and dpkg are already there.
Click to expand...
Click to collapse
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
t0dbld said:
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
Click to expand...
Click to collapse
it's already there:
Code:
[email protected]:/osh/usr/bin# ./apt-get moo
./apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
but /osh/etc/apt/sources.list has garbage mirrors listed... They point to 10.77.32.150, which is obviously not a real IP. You could try commenting out what's in there and add in a working jaunty repo.
If you're going to use dpkg to install .debs manually, remember that they'll need to be compiled for arm processors.
Unfortunately my PC monitor doesn't do HDMI, so I can't run webtop right now. I'll play around more tomorrow when I can hook up my atrix to the TV
t0dbld said:
I saw a dpkg something cant rmember but wasnt the same thing i see no apt-get either. Also even when running in root apt-get did not exist i used echo $PATH Folowed it and did not see any apt files. If i am wrong and you kniw of there existence and how to make them execute please inform us all as if we have a working apt-get well its all but over
Click to expand...
Click to collapse
Apt and dpkg have been verified in this forum to be there for a week, search gets us that as well as some of the dependency issues.
Think about what you are suggesting
Be mindful that when pointing people down the road of running apt and dpkg that the very first thing they should have is a way to recover to stock. It is quite possible and likely that running apt-get or dpkg that you may twiddle some bits on your /osh partition that make webtop fail or unusable.
Have a backout method
At minimum, I would grab a dd of your /osh partition or one from here in the forums and keep it around. In addition, I would suggest you have a way to execute dd (if that is the route you choose to go for backup) outside of the /osh partion in the event you screw /osh up and need to dd back the old working /osh. Is the dd in /bin statically linked? If so, then the plan can be as easy as copying dd to some other partition where it can be executed from. If it is not static, you need one that is or a runtime environment where it can execute.
Have a plan
Why are we trying to get apt working? Is there some goal besides filling up /osh's remaining 77MB of space?
I'll start with a couple of options:
We want a working apt so we can install a less heavy browser than firefox.
We want to be able to replace the awn launcher with something snappier and that does not require compositing, again lowering memory usage and increasing performance.
A working dependency resolving package manager is "the right thing(tm)" to do as opposed to running around with zip files. Zip file are no way to keep a working system.
Exploring and discovering is cool and very fun, but either heading that direction or suggesting others do without a plan is to invite disaster.
If you change sources.lst, please make sure you use ARM repos and not x86 repos. X86 software will break the Webtop if you load it.
For anyone that wants to try, here is the correct repo to use:
Code:
deb http://ports.ubuntu.com/ jaunty main security universe multiverse restricted
Always make sure /osh can mount on boot, and that /osh/sbin/adbd remains intact. Without it, you have no way of recovering
perkz said:
it's already there:
Code:
[email protected]:/osh/usr/bin# ./apt-get moo
./apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
but /osh/etc/apt/sources.list has garbage mirrors listed... They point to 10.77.32.150, which is obviously not a real IP. You could try commenting out what's in there and add in a working jaunty repo.
If you're going to use dpkg to install .debs manually, remember that they'll need to be compiled for arm processors.
Unfortunately my PC monitor doesn't do HDMI, so I can't run webtop right now. I'll play around more tomorrow when I can hook up my atrix to the TV
Click to expand...
Click to collapse
well i stand corrected, thank you sir.... although mine doesn't execute, still the same error:
./apt-get: cannot execute binary file
Are you sure you were in /usr/bin when you ran ./apt-get since you were specifiying that it execute from the current directory? Failing that, were you root and/or you might need to adjust your TOMOYO settings, but mine executes just fine as root as long as it is in the path and my /osh is fairly stock outside of the TOMOYO settings I have mucked with and a couple of other changes like adding a password for adas. If you still have problems, can you reload your /osh and start fresh?
i was in right dir , i am reboot it all now and will start over
Suggestion to anyone working this, take a dd copy of /dev/block/mmcblk0p13, and use losetup to mount it on /osh when experimenting.
Edit: the kernel lacks a loop device, working on that now.
t0dbld said:
OK now that the first hard part is over (getting Webtop running with out dock) now its time to push this to the limits ... I am Currently working on getting apt-get installed and running on Jaunty ... I would love to get some help with all this, obviousy this wont replace my laptop or Desktop, but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket... so lets keep up the good work and push forward, CHARGE !!!
Click to expand...
Click to collapse
When you say " but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket" do you mean being able to run Jaunty on just the phone itself, not hooked up to a dock? Or do you mean hooked up to a dock, just Jaunty replacing Webtop?
BravoMotorola said:
When you say " but it would be nice to know that anywhere i am i have a fully function linux machine in my pocket" do you mean being able to run Jaunty on just the phone itself, not hooked up to a dock? Or do you mean hooked up to a dock, just Jaunty replacing Webtop?
Click to expand...
Click to collapse
well i dont own a dock but i do not plan on running jaunty on a 4" screen
t0dbld said:
well i dont own a dock but i do not plan on running jaunty on a 4" screen
Click to expand...
Click to collapse
Yea thats what I thought. That would be sweet though. People think I'm crazy when I run Win95 on my phone, I think it's awesome though. So Jaunty or just Webtop IMO would be REALLY awesome to run on the little 4 inch screen! But most people just think it's a stupid, and pointless idea
shawnbuck said:
Suggestion to anyone working this, take a dd copy of /dev/block/mmcblk0p13, and use losetup to mount it on /osh when experimenting.
Edit: the kernel lacks a loop device, working on that now.
Click to expand...
Click to collapse
The loop devices are in /dev/block/loop[X].

[DEV-ADDON]DS7Ubuntu v1.0 --- Text Based Ubuntu 11.04 running on Dell Streak 7!

First of all, I need to give my thanks to great DevGhostofNet for his excellent work on getting Ubuntu 11.01 running on Xoom. I borrowed his template on this instruction page as I really don't have my template and using this way to show my appreciation to his work.
Second, I figured though I am not big dev by any means, hopefully any time I spent on such things can add some value to owners of either DS7 or Xoom, especially DS7, which really needs any effort on it in addition to testing help.
So I would throw in my two-cent hours/efforts to get this started. I see huge potential in it, though now it is quite WIP, because the non-graphical version is running well but not Gnome sessions.
1.What is working?
Shell Ubuntu 11.04
I modified the installation scripts to mount DS7 partitions correctly and copy some modified script into original image.
2. What is not working?
Gnome Session
I can install necessary components up to a point where the wall paper is loaded, sidebar is loaded but the guest system did not take/register input properly yet.
3. Why we care?
It has huge potential in it. It uses a part of your sdcard to run a guest system, and you can literally install all those great Ubuntu apps in it in future when more dev effort makes this happen.
4. What is the impact to my existing Android OS?
Minimal. The impacts are:
1. there will be ubuntu scripts in /system/bin/
2. Loop7 device will be borrowed while ubuntu is mounted.
3. under /sdcard, there is a folder ubuntu which pretty much contains everything
4. in LOST.DIR of your /sdcard, there may be lots of temp files if you experimented a lot of install/uninstall of this guest system.
If you still want to take a crack now.........
DISCLAIMER: I will not responsible for any bricked device. Please although this experiment won't affect your other files at all, but **** happens all the time, please do backup and understand what you are trying to do before proceed.
[Before Installation:]
1. You should know what you are doing at this step.
2. You have rooted your device already
3. You configured adb and have a terminal apps in your DS7. (Terminal apps can be found in market. Android Terminal seems to work fine)
4. You have a VNC client. (Android-vnc in market seems fine)
[Installation:]
1. Download the DS7Ubuntu files From my post at http://www.OpinionatedFool.com
2. Extract it into /sdcard/ubuntu folder
3. Open a terminal
Code:
su
cd /sdcard/ubuntu
sh ubuntu install
Just click yes when you are asked some questions. This process takes about 5 mins
reboot after installation
NOW after rebooting, you officially are running a text based Ubuntu 11.04
4. Open you terminal
Code:
su
ubuntu start
ubuntu shell
If you are interested to go further, I really encourage to because we need better devs to bring us further. I am willing to try more but it will take longer time as I have been away from Linux for a good 6 years.
5. After you are in Ubuntu Shell environment. you can do
Code:
vi /sbin/installubuntu
6. Inside installubuntu, the following are present:
Code:
#!/bin/sh
/usr/bin/apt-get -y -q update
/usr/bin/apt-get -y -q upgrade
/usr/bin/apt-get -y -q install python-software-properties
#/usr/bin/add-apt-repository ppa:unity-2d-team/unity-2d-daily
/usr/bin/apt-get -y -q update
/usr/bin/apt-get -y -q install tightvncserver xrdp
/usr/bin/apt-get -y -q install ca-certificates desktop-file-utils doc-base eog g
conf-editor gedit ghostscript-x gnome-about gnome-applets gnome-control-center g
nome-media gnome-menus gnome-nettool gnome-panel gnome-session gnome-session-can
berra gnome-system-monitor gnome-system-tools gnome-terminal gnome-themes-select
ed gnome-themes-ubuntu gnome-utils gtk2-engines gtk2-engines-pixbuf gucharmap hu
manity-icon-theme indicator-applet-session inputattach language-selector launchp
ad-integration lftp libgd2-xpm libgnome2-perl libpam-ck-connector libsasl2-modul
es libxp6 nautilus nautilus-sendto notify-osd rarian-compat screen smbclient sof
tware-center synaptic software-properties-gtk ttf-dejavu-core ttf-freefont ubunt
u-artwork ubuntu-extras-keyring ubuntu-sounds unzip update-manager update-notifi
er x-ttcidfont-conf xterm yelp zenity zip maximus
/usr/bin/dpkg-divert --local --rename --add /sbin/initctl
/bin/ln -s /bin/true /sbin/initctl
I am good up to completion of this step in the script above
Code:
/usr/bin/apt-get -y -q install tightvncserver xrdp
Then the following bulk apt-get process will cause issues. The main course is on gconf2 as far as I know.
I tried to install them separately after install gconf2, but it is not stably working.
i.e. sometimes I did install them all correctly, but sometimes I am getting segmentation error, which is annoying and requires wipe ubuntu folder and reinstall ubuntu.
I am too rusty on Linux now that better devs may figure it out easily.
[How to Uninstall it?]
In case you want to get rid of it. Here is how:
Through ADB or Terminal Simulator in your DS7
Code:
adb shell
su
mount -o remount,rw /dev/block/mmcblk3p3 /system
rm /system/bin/ubuntu*
mount -o remount,ro /dev/block/mmcblk3p3 /system
[Next Step]
Install and configure a working copy of Gnome-session on this successfully. Hopefully there will be Kernel Dev to have a Ubuntu kernel specifically for DS7? That will be the best.
We can then
1. Run Apache server and you will access your files through Dell Streak 7 as long as you are tethering in its own LAN. (or a lot more)
2. Run browsers in graphical version of Ubuntu on your DS7 so that you can do whatever with hulu or netflix or anything. Basically you are carrying a freaking DS7 laptop with you. with touch screen and huge mobility
[Notes]
1. pts need to mounted
2. use Unity-2d seems to be better than Unity
3. mtab need to be replace manually with the mtab I included in the zip file
4. kernel is not configured to have shared memory management ...
I'll definitely be following this thread with interest!
native ubuntu would be nicer rather than the crap of chrooted ones, they are just pointless IMHO as the device has to try and manage 2 oses at once, the 7 doesnt realy have the ram to manage that
Any updates on this project ?
Guess not :-(
Quick question to the op
Does wifi work so you can update / install packages?
If so, does it see the wifi cards chipset? I'm looking into getting aircrack-ng set up to tinker with. ( saves me from dragging out my laptop to test security on networks with my job )
Currently I'm using my Mac with kismac which does the job nicely , however, if I can use the ds7 under Ubuntu its one less reason to drag it along.
Can you copy the device information for me or does it act like a LAN card ?
Thanks !!
what is the latest development?
In a few weeks, i will tell my team to look at the cm7.1 things. I hope you will help us? I will send you a pm but remember me
ubuntu
is this still being worked on or attempted? or is there a ubuntu rom out already?
Is this anything like Ubuntu installer...
http://forum.xda-developers.com/showthread.php?t=1390351

[WIP] Bionic (maverick) webtop port to Atrix with chromium-browser with flash player

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://forum.xda-developers.com/showthread.php?t=1271624
[Mods] WebBuntu Post-Webtop2sd Hacks - http://forum.xda-developers.com/showthread.php?t=1281722
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] - http://forum.xda-developers.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
[email protected]:/# /bin/dd if=/dev/zero of=/sdcard-ext/ubuntu.disk bs=1024 count=2097152
[email protected]:/# /sbin/losetup /dev/block/loop7 /sdcard-ext/ubuntu.disk
[email protected]:/# /sbin/mkfs -t ext3 -m 1 -b 2048 /dev/block/loop7
[email protected]:/# mkdir /tmp/osh
[email protected]:/# /bin/mount -t ext3 /dev/block/loop7 /tmp/osh
[email protected]:/# mkdir /tmp/deb
[email protected]:/# /usr/bin/dpkg-deb -x /mnt/sdcard-ext/rsync* /tmp/deb
[email protected]:/# /tmp/deb/usr/bin/rsync -avx /tmp/grfs/ /tmp/osh/
[email protected]:/# 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
[email protected]:/# cd /osh
[email protected]:/# tar jxvf /mnt/sdcard-ext/mbm.tar.bz2
[email protected]:/# mount -o remount, rw /
[email protected]:/# 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
[email protected]:/# chroot /osh
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick main universe restricted multiverse">/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-updates main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-backports main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# echo "deb http://91.189.92.175/ubuntu-ports maverick-security main universe restricted multiverse">>/etc/apt/sources.list
[email protected]:/# apt-get update
[email protected]:/# 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;
[email protected]:/data/home/adas$ /usr/bin/sudo -H -u adas bash
[email protected]:/data/home/adas$# sudo /system/bin/mount -t ext3 /dev/block/mmcblk0p13 /tmp/osh_1
[email protected]:/data/home/adas$ sudo /sbin/losetup /dev/block/loop7 /mnt/sdcard-ext/ubuntu.disk
[email protected]:/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;
[email protected]:/data/home/adas$ sudo cp /tmp/osh_1/usr/lib/firefox-addons/plugins/libflashplayer.so /osh/usr/lib/chr*/plugins/libflashplayer.so
[email protected]:/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
Thank you alot for your hard work
But i have few questions: Is everything working fine? Is it faster or slower? Do all bionic patches and hacks work?
This does basically replace my old webtop right? Is there anyway to revert back to atrix webtop after following your guide? In case of Brick, can i fix it?
Again THANKS
Nikoloz17 said:
Thank you alot for your hard work
But i have few questions: Is everything working fine? Is it faster or slower? Do all bionic patches and hacks work?
This does basically replace my old webtop right? Is there anyway to revert back to atrix webtop after following your guide? In case of Brick, can i fix it?
Again THANKS
Click to expand...
Click to collapse
Hi,
This is not complete. But in this mod, we donot touch original webtop. After reboot, it reverts back to original.
saltinbas said:
I have compiled two threads and post them in a clean manner so that we can use bionic webtop.
Click to expand...
Click to collapse
I love you.
I can get dirty with the cli but this is a little beyond my comfort zone. Will parts of this process be automated eventually?
Sent from my MB860 using xda premium
dragon_76 said:
I love you.
I can get dirty with the cli but this is a little beyond my comfort zone. Will parts of this process be automated eventually?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Hi,
It can be automated. But now what we need is to display webtop desktop on laptop dock.
Can the chrome browser be installed on our webtop with out having to do all the bionic stuff? If so thats all I need. Thanx.
xxgmon3yxx said:
Can the chrome browser be installed on our webtop with out having to do all the bionic stuff? If so thats all I need. Thanx.
Click to expand...
Click to collapse
hi,
the problem with chromeium browser is about jaunty ubuntu distro. afaik you can not run on jaunty properly. although there is armel arch in jaunty ubuntu distro, it is very old. Maverick is the ubuntu distro which supports chromium browser properly.
Sent from my MB860 using XDA App
Hope, you will succeed making it work with lapdock.
I too only need Chrome.
saltinbas said:
Hi,
It can be automated. But now what we need is to display webtop desktop on laptop dock.
Click to expand...
Click to collapse
So does Android handle that or Ubuntu?
Sent from my MB860 using xda premium
dragon_76 said:
So does Android handle that or Ubuntu?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
this can be automated with bash script. Ubuntu and android use same linux kernel.
Sent from my MB860 using XDA App
Bionic Break Development (WIP)
Hey,
Nice set of threads, I like your version currently do to I barley have time to go back and fourth between phones one use one dev Atrix but here's what I have on this end : Bionic Webtop [Port Breaking Ground]
I'm stuck at the moment getting a backup of the current webtop within the same flash able and in the correct format. I have the commands working while within adb though timing it in with the install zip is a pita.
so here's the installer its a permanent flash so you can use it continuously, as for the docks they don't work due to launchers not having the correct environment variables for android haven't gone further than ripping both sets apart. As for the webtop.sh script its backup section doesn't work atm so I haven't released it rewrote it a few times with no luck, the installer works fine. Really its a simple switch with joe's webtop mod with the osh.img, the point of the flash able zip was to have what ever was their backed up compressed and ready to swap.
The codes for backing up and prepping via recovery are:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
reboot recovery (<this is optional if your already in recovery XP)
BTW as for a GUI I recommend using:
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta]
Have a look if you like.
Do note the backup on this dose not work!!!!! though the installer dose is pre-loaded with the bionic webtop. Also note this is for Further Development only been sitting on this for awhile being I rather have easier reverts to my Webtop's then to have peps stuck.
BACKUP YOUR CURRENT WEBTOP THIS WILL DESTROY IT
Bionic Break (WIP)
Will add the flash able I have as soon as I get home so 2hrs, for now here is a zip with the modified webtop.sh scripts for a few of my attempts at it.
Djazin said:
Hey,
Nice set of threads, I like your version currently do to I barley have time to go back and fourth between phones one use one dev Atrix but here's what I have on this end : Bionic Webtop [Port Breaking Ground]
I'm stuck at the moment getting a backup of the current webtop within the same flash able and in the correct format. I have the commands working while within adb though timing it in with the install zip is a pita.
so here's the installer its a permanent flash so you can use it continuously, as for the docks they don't work due to launchers not having the correct environment variables for android haven't gone further than ripping both sets apart. As for the webtop.sh script its backup section doesn't work atm so I haven't released it rewrote it a few times with no luck, the installer works fine. Really its a simple switch with joe's webtop mod with the osh.img, the point of the flash able zip was to have what ever was their backed up compressed and ready to swap.
The codes for backing up and prepping via recovery are:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p13 of=/sdcard/webtop.img.gz bs 131072
reboot recovery (<this is optional if your already in recovery XP)
BTW as for a GUI I recommend using:
[How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta]
Have a look if you like.
Do note the backup on this dose not work!!!!! though the installer dose is pre-loaded with the bionic webtop. Also note this is for Further Development only been sitting on this for awhile being I rather have easier reverts to my Webtop's then to have peps stuck.
BACKUP YOUR CURRENT WEBTOP THIS WILL DESTROY IT
Bionic Break (WIP) Uploaded wrong one >,< fixing
Will add the flash able I have as soon as I get home so 2hrs, for now here is a zip with the modified webtop.sh scripts for a few of my attempts at it.
Click to expand...
Click to collapse
I am very happy that a developper is helping. I have looked at your codes. There is webtop.img.gz file in sdcard. if this file is grfs.img than you can not dd or copy to mmcblk0p13 since atrix mmcblk0p13 is 750 mb and grfs.img is 1.3 GB. if it is different than grfs.img, where can i find ?
Sent from my MB860 using XDA App
saltinbas said:
I am very happy that a developper is helping. I have looked at your codes. There is webtop.img.gz file in sdcard. if this file is grfs.img than you can not dd or copy to mmcblk0p13 since atrix mmcblk0p13 is 750 mb and grfs.img is 1.3 GB. if it is different than grfs.img, where can i find ?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Its not meant to dd its actually meant as joe ferra's mod uses to literally drop in the /osh directory of the webtop mod zip though I edited the adb commands to use osh so the image it creates is renamed accurately.
And grfs.img? Erm... where and how did you get to that .img 1.3 GB is pretty big for a base webtop, though saw I forgot a = sign in my post up there try it again if you didn't add it. Might have inadvertently created a new .img.gz file marked for 1.3GB (most likely)
Just an example:
Code:
C:\AtrixGinger>adb shell
# mount -o rw,remount -t fat /dev/block/mmcblk0p18 /sdcard
# dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
(soon to be updated amt here)+0 records in
(soon to be updated amt here)+0 records out
(soon to be updated amt here) bytes transferred in (soon to be updated amt here [ or substitute a ungodly long amount of time here]) secs ((soon to be updated amt here) bytes/sec)
then rename the osh.img.gz to webtop.img.gz
Djazin said:
Its not meant to dd its actually meant as joe ferra's mod uses to literally drop in the /osh directory of the webtop mod zip though I edited the adb commands to use osh so the image it creates is renamed accurately.
And grfs.img? Erm... where and how did you get to that .img 1.3 GB is pretty big for a base webtop, though saw I forgot a = sign in my post up there try it again if you didn't add it. Might have inadvertently created a new .img.gz file marked for 1.3GB (most likely)
Just an example:
Code:
C:\AtrixGinger>adb shell
# mount -o rw,remount -t fat /dev/block/mmcblk0p18 /sdcard
# dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072
dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072
6144+0 records in
6144+0 records out
805306368 bytes transferred in 250.009 secs (3221109 bytes/sec)
then rename the osh.img.gz to webtop.img.gz
Click to expand...
Click to collapse
The file is 1.3 GB since afaik bionic has osh partion of size 1.3 GB. When you mount grfs.img, you can see that it has 650 MB free space. So it has 650 MB size of webtop files. I got this file from a web site which I had mentioned. Then extracted this image.
In this code "dd if=/dev/block/mmcblk0p13 of=/sdcard/osh.img.gz bs=131072" you are creating a image file size of mmcblk0p13 only as you mentioned. Where do you get maverick webtop ? I am asking since I do not have bionic but only atrix. I think you have bionic at hand and creating a copy of mmcblk0p13 webtop (maverick).
By the way, [How to] VNC server in a pinch + Webtop w/o HDMI [Moved to Beta] topic is interesting. I am following the steps you mentioned. I have added this topic to the frist page.
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Djazin said:
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
Click to expand...
Click to collapse
Thanks for bionic-break zip file. I will check ASAP.
Djazin said:
About to update the again though, as for the osh.img it was dumped back when they were gathering stock files for the Bionic. I myself have only 2 captivates and 2 Atrix's + the 2 other Atrix's I've modded for my family XD dont own a Bionic though, Ill post the original link to the thread here when I find that again. It was uploaded by Bezerker7 in the bionic thread here on xda the linking osh.img he posted is this from his website. I used joe's webtop mod pulled out the webtop.img.gz file from it then swapped out the osh.img in there with the bionic repacked them all and it worked didn't upload till I had a A/B switch type zip finalized but its been stuck solid for a week. The Flashable Bionic is here: Bionic Break Safe to flash and will keep Bionic Webtop on the Atrix though is not able to complete the backup like I intended.
As for the updates:
Wow, so I apparently opened up a older Lab folder for this project so it works but doesn't work right, my new position at my job killing me. So I just checked out the posts and seems I was off on the DD commands. Heh gotta love development wish notepad++ was as organize-able as one-note was.
Correct one is:
dd if=/dev/block/mmcblk0p13 bs=131072 | gzip > /sdcard/osh.img.gz
otherwise it'll miss format the archive and fubar the internal img
Ill try adding it to the current webtop.sh and see how that goes, if someone can take a look at my folder of various webtop.sh files and see where a possible problem is. Personally I think its timing the commands and having one finish before the other one starts. Updated the posts above respective to this update on the backup usage with dd.
See look no hands XP!! lol or in this case no Bionic
Click to expand...
Click to collapse
Hi, I have extracted osh.img and mounted to /osh. After running this command;
[email protected]:/# apt-get -v
apt-get -v
apt 0.7.20.2ubuntu6 for armel compiled on Apr 17 2009 05:17:49
If you look at apt-get version, this is ubuntu jaunty distro but not maverick. So that osh.img is not from bionic but from atrix webtop.
Bionic Break Development (WIP)
Opps uploaded a shell installer >,<
Sorry grabbed a shell installer basically was the core webtop mod with the work being done on the backup and updater zip fixed tested then reconfirmed and will be available here:
Double checked and its the right one this time see edited and highlighted the bionic download link for the osh.img above, third times the trick XP my files were a mess across both my Atrix's due to work stuff en ways its on its way up should be within the hour ITS UP, even tested this on my main phone for kicks its deffenatly the Bionic Webtop Now XD
Notes: do know that you still have to do the mods the Bionic users are doing to their webtop to make use of apt-get and what not, basic commands still function as you can see in the pics
Heads up:
Anyone that downloaded before this post, you might wanna re download I cleaned out my files on my end and on multiupload, so everything is where it should be in this part of this development. The installer dose work, though the backup part and function of the installer dose not, but will push through regardless of a fail/successful backup as of yet the flash able has not been able to create the backup. For backing up your webtop in the correct format use the code part posted earlier. Those using webtop to sd will need to re install the backup of the base webtop as they see fit.
-DjAzin
Right now this only works over HDMI but not lapdock, is that correct?
Sent from my MB860 using xda premium

[GUIDE]BackTrack 5 Chroot (Backtop2)

[Project dormant unless someone else picks it up]
NOTE: This is a chroot for the Webtop, not the Android+VNC chroot method.
Hi everyone, this is my first guide (I'm not sure I can call it that yet, or if this is in the right section) so bear with me.
I tried the Debian chroot guide (http://forum.xda-developers.com/showthread.php?t=1093790), and I really liked the idea, but I had too many apt-get issues and it often crashed my Webtop, so I tried building my own Ubuntu Lucid chroot using rootstock, but internet didn't work.
I later saw this: http://forum.xda-developers.com/showthread.php?t=1184161, but the links were dead and the scripts it referenced were out of date. I'll sort of combine the two guides here since Backtrack actually works surprisingly well.
Just on a side note though, I haven't fully tested the Backtrack tools, but the only thing I haven't found to work are the wireless tools.
Let's start!
Required:
-Rooted Atrix (with Blur based ROM)
-LXTerminal installed on Webtop
-Enough free space (around 4 GB just for room)
-7-Zip
-Some Linux/Unix distro native or in a VM
1. Install the easy-signed.zip from the Debian chroot guide:
http://forum.xda-developers.com/showthread.php?t=1093790
but the other files aren't needed.
Make a folder called WebTopMOD (case-sensitive) on either external or internal memory for later.
2. Look here for reference: http://forum.xda-developers.com/showthread.php?t=1184161, but the links are dead. Active links are here:
Part 1: http://www.mediafire.com/?x9cgxzdx84vc6uj
Part 2: http://www.mediafire.com/?xaoidipkg1o7vgo
Part 3: http://www.mediafire.com/?po3nznbxgvdipur
Use 7-Zip to uncompress the three files (called bt.7z.001,002,003) and you'll get a bt.img.
Full bt.img in a zip:
DL from Mega or from Google Drive
3. The image isn't usable in this state yet, since the image is formatted with ext2, and we need ext3.
Copy the image over to your Linux VM or computer on a easy-to-find directory, and open up a Terminal window (usually CTRL+ALT+T).
In Terminal, type this in:
Code:
cd <directory where you put bt.img>
mkdir tmp tmpbt
sudo mount -o loop bt.img tmpbt
dd if=/dev/zero of=linuxdisk count=0 bs=1MB seek=4096 (This is the size of the chroot image you want, in MB)
mkfs.ext3 linuxdisk (just type y when it asks)
sudo mount -o loop linuxdisk tmp
sudo cp -rf tmpbt/* tmp
sudo umount tmp
sudo umount tmpbt
[Sorry, made a mistake twice] Copy the newly made linuxdisk file to a directory named WebTopMOD on your internal memory or sdcard-ext (folder and file names are case-sensitive).
4. Start Webtop, then open LXTerminal, then start the chroot by typing in:
Code:
/usr/sbin/linux
and after it loads for a bit, you'll get an xterm window with the shell for Backtrack!
If you want to quit the Gnome session, closing xterm doesn't work, since by issuing the commands to kill the webtop processes, it also kills the webtop window manager, and if you do close it there's some kind of weird glitch with a small popup window constantly disappearing and reappearing. (It'll be a WIP for now I guess, the only full solution is to reboot your Atrix). It seems to have to do with the way the linux command mounts the chroot disk under loop50, I'll try and make something to fix this later.
-----------------Extras moved below-----------------------
Pictures:
Chromium Running
BT Desktop (Gnome)
BT Desktop with AIW
THANKS TO:
k.taylor89 for the original Backtop Method
SystemR89 for the Debian chroot and scripts to make this work
The original developers of the Backtop chroot image
And any others I may have forgotten!
Extras:
If you want a GUI (Gnome):
k.taylor89 said:
You first need to kill off all the webtop crap do this by typing the following in xterm.
"ps ax|grep awn|awk '{print $1}'|xargs kill"
"ps ax|grep panel|awk '{print $1}'|xargs kill"
Then start gnome by typing "gnome-session" in xterm.
Click to expand...
Click to collapse
If you want to take it step further and start Gnome after bootup, this isn't a full solution yet but you could edit your start-oshwt-1.sh and 2 scripts so that the chroot automatically starts on bootup without anything else in Webtop, and from there start gnome-session. I'm testing that now.
Installing Apps:
Since this is based off of Ubuntu Lucid, you can install anything from the Lucid repos, you just have to fix the sources list since the Backtrack sources don't seem to work.
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old (Backup just in case)
sudo nano -w /etc/apt/sources.list
Comment out (#) any line with the backtrack servers, and uncomment any line with the Ubuntu repos.
Press Control+X, Y, then Enter, then run apt-get update to update the repos.
Apps like Chromium install and run without a hassle (just run apt-get install chromium-browser), but I actually get the error "Bus error" for some reason when Chromium remains idle, it seems to be an unsolved bug in the version of Chromium for armel devices in the Lucid repos, if anyone else has a fix, please do tell.
First.
I think its only for lapdock ..........
3n3rg1c said:
First.
I think its only for lapdock ..........
Click to expand...
Click to collapse
Oh sorry yeah I forgot to mention that. I mean I guess if you have the mod that lets you use Webtop anywhere, that'll work too.
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
sintoo said:
Hi,
The "Part 3: http://www.mediafire.com/?po3nznbxgvdipu" doesn't work.
Could you fix it.
Thank you.
Click to expand...
Click to collapse
Oh sorry I copied the link incorrectly, updated in OP.
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
etruj said:
i've gotten it running on my ubuntop model, when i ran it from the terminal it would not give me any issues when closing it back up. is there a way to only launch the gnome panel? running: gnome-panel in the terminal didn't work
Click to expand...
Click to collapse
I'm not sure if there is a way to start just gnome panel because of the way the chroot is implemented, since to run gnome-panel, an X session must already be running within the chroot and I need to figure that out.
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
etruj said:
My first two times i lUnched the session the wallpaper would flicker and then just the panels would come up. Now i get hit with the errors and loop pop ups. Maybe there is a way to launch the session then kill everything but the panel?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
The workaround I found worked so far was to modify the start-oshwt-2 script so that it would run a very slightly modified version of the script that automatically starts gnome-session (gnome-panel alone is really stubborn, still haven't figured that out) and doesn't start whatever window manager in WebTop to avoid flickering errors and panel only errors (but of course you don't have access to anything from the actual WebTop, but you could also have start-oshwt open a Terminal window from WebTop too).
Can you attach the script?
Sent from my MB860 using xda app-developers app
etruj said:
Can you attach the script?
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
Just rename it to linux, and copy it to wherever you like on your Atrix. You can also copy it to a directory within your terminal path.
This isn't my script, it's from the Debian chroot, just modified to automatically start gnome-session (credit to SystemR89)
You might need to chmod +x the file.
Also, if you want to start it automatically from start-oshwt-2.sh, make sure you copy the file to a directory within the terminal path, and add the line
Code:
sfalv -i "linux"
and comment out any other line that starts a different X window manager.
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
etruj said:
running "sudo gnome-panel" gives me the panel while staying inside the original ubuntop. i think i can just swap out that one line in your script to get it working. thanks! also noticed my chrome crashes after a few minutes, ill post the error code and screen grabs soon but was wondering if you ever experienced anything like it?
Click to expand...
Click to collapse
Yes, in fact. It's a bus error, and I tried to fix it, but the fix doesn't work (and it only seems to affect Chromium).
Sorry for bumping such an old thread, but I was wondering if anyone wanted to take this project over, since I don't have an Atrix anymore and don't have anything to work with.
Thanks.

Categories

Resources