Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
uskr
Old
#1  
uskr's Avatar
Senior Member - OP
Thanks Meter 70
Posts: 111
Join Date: Feb 2011

 
DONATE TO ME
Default Ubuntu partition dump from Stock Atrix

The link below is a dump of the /dev/block/mmcblk0p13 partition.

It is the entire ubuntu "distribution". However, it is not an OS per say. It is just an environment compiled and setup to run on the "android linux". Everything just runs from a second X session started on top of the native Android Arm linux redirected to the HDMI display port.

The partition has about 800MB in size and is mounted under /osh once the system boots.

Something worth to note, is that the webtop X session does not consume any RAM or system resource at all till when the phone enters RM_SM_DOCKED mode. While the phone is on RM_SM_MOBILE mode, that X session is complete shutdown.

http://www.usk.bz/android/ubuntu.img.bz2

If you use a linux or MacOS, just uncompress the file with bzip2 -d , then mount like this:

mount -t ext3 -o loop,ro ubuntu.img /mnt/loop

Of course, make sure the directory /mnt/loop exists.

Also, some directories, like /etc will not be available or will look like bugged/corrupted, it's because they are actually just a "link" to the /etc from the root partition. I can provide a dump for that partition as well, if that will help with any development. Let me know.

Have fun and post us if you find anything special.
The Following 6 Users Say Thank You to uskr For This Useful Post: [ Click to Expand ]
 
labsONE
Old
(Last edited by labsONE; 23rd February 2011 at 04:28 AM.)
#2  
Member
Thanks Meter 3
Posts: 37
Join Date: Jul 2008
A bit further: There's a chroot involved! And the adas account password is randomly set!

... Buuuuuuuuut, Motorola was smart and got rid of telnetd, etc in this production script...

See /usr/local/sbin/webtop-product.sh.

It's the script that makes the "production" webtop - and removes the fun stuff via dpkg in the process.

But here's a hint - if you can run an app within Webtop, get it to run /usr/bin/.lxterminal - they HID the terminal app.

EDIT: Hm. /usr/local/share/motorola/fireboxmake/ has some interesting readmes... on what .sh does what in /usr/local/sbin.

EDIT2: Check out what's in the OSH_tools.tgz. Motorola left a bootloader BIN in there along with some interesting flashing scripts for both Webtop and the Android side... and some interesting config files in nvflash...

Also, can I get the root filesystem for /etc/?
 
xenorabbit
Old
#3  
Junior Member
Thanks Meter 6
Posts: 12
Join Date: Feb 2011
I have not downloaded the archive yet but did a search for RM_SM_DOCKED on google and came up with a hit elsewhere.

I can't post the link to this directly due to it being one of my first posts. It's only one of 3/4 hits on google.

I am guessing it is in the archive you posted.

Code:
#
#
on property:dev.bootcomplete=1
#
    setprop ro.webtop.boot 1
#
    start loadpreinstalls
#
 
#
on property:ro.webtop.boot=1
#
    exec /system/bin/logwrapper /ubuntu.sh
#
 
#
on property:sys.SystemMode=RM_SM_DOCKED
#
    exec /osh/etc/init.d/startX.sh
#
 
perdurabo2
Old
#4  
perdurabo2's Avatar
Senior Member
Thanks Meter 21
Posts: 134
Join Date: Jun 2007
Location: NJ
Quote:
Originally Posted by uskr View Post
The link below is a dump of the /dev/block/mmcblk0p13 partition.

It is the entire ubuntu "distribution". However, it is not an OS per say. It is just an environment compiled and setup to run on the "android linux". Everything just runs from a second X session started on top of the native Android Arm linux redirected to the HDMI display port.

The partition has about 800MB in size and is mounted under /osh once the system boots.

Something worth to note, is that the webtop X session does not consume any RAM or system resource at all till when the phone enters RM_SM_DOCKED mode. While the phone is on RM_SM_MOBILE mode, that X session is complete shutdown.

http://www.usk.bz/android/ubuntu.img.bz2

If you use a linux or MacOS, just uncompress the file with bzip2 -d , then mount like this:

mount -t ext3 -o loop,ro ubuntu.img /mnt/loop

Of course, make sure the directory /mnt/loop exists.

Also, some directories, like /etc will not be available or will look like bugged/corrupted, it's because they are actually just a "link" to the /etc from the root partition. I can provide a dump for that partition as well, if that will help with any development. Let me know.

Have fun and post us if you find anything special.
uskr,

Excellent work & post, have a Thanks.

It's a shame that the webtop will probably flop (and I sure as heck won't buy one for the price they're asking). Here's to hoping a dockless hack comes up.
---
Various CDMA/LTE phones

If you want to get ahold of me about technical matters, PM me. I'm not able to read through everything in the forums anymore.

If my post helped you, please click Thanks, so I know.

I don't speak for or represent my employer.
The Following User Says Thank You to perdurabo2 For This Useful Post: [ Click to Expand ]
 
sexydroid
Old
#5  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Feb 2011
uskr,
Great post, Thanks
 
uskr
Old
#6  
uskr's Avatar
Senior Member - OP
Thanks Meter 70
Posts: 111
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by labsONE View Post

Also, can I get the root filesystem for /etc/?
http://www.usk.bz/android/etc.tar.bz2

You will notice some files are just links to /system/etc. You can find the /system dump on another thread on this forum. If you cant, let me know and I will get a link here.
 
perdurabo2
Old
#7  
perdurabo2's Avatar
Senior Member
Thanks Meter 21
Posts: 134
Join Date: Jun 2007
Location: NJ
Can someone take a good look at the contents of:

/usr/local/share/motorola/fireboxmake/OSH_tools.tgz

There's lots of interesting stuff in there & I am completely unfamiliar with tegra and Motorola cruft.
---
Various CDMA/LTE phones

If you want to get ahold of me about technical matters, PM me. I'm not able to read through everything in the forums anymore.

If my post helped you, please click Thanks, so I know.

I don't speak for or represent my employer.
 
sexydroid
Old
#8  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Feb 2011
Quote:
Originally Posted by uskr View Post
The link below is a dump of the /dev/block/mmcblk0p13 partition.

It is the entire ubuntu "distribution". However, it is not an OS per say. It is just an environment compiled and setup to run on the "android linux". Everything just runs from a second X session started on top of the native Android Arm linux redirected to the HDMI display port.

The partition has about 800MB in size and is mounted under /osh once the system boots.

Something worth to note, is that the webtop X session does not consume any RAM or system resource at all till when the phone enters RM_SM_DOCKED mode. While the phone is on RM_SM_MOBILE mode, that X session is complete shutdown.


If you use a linux or MacOS, just uncompress the file with bzip2 -d , then mount like this:

mount -t ext3 -o loop,ro ubuntu.img /mnt/loop

Of course, make sure the directory /mnt/loop exists.

Also, some directories, like /etc will not be available or will look like bugged/corrupted, it's because they are actually just a "link" to the /etc from the root partition. I can provide a dump for that partition as well, if that will help with any development. Let me know.

Have fun and post us if you find anything special.
uskr, appreciate if you could also get us the root partition dump
 
uskr
Old
#9  
uskr's Avatar
Senior Member - OP
Thanks Meter 70
Posts: 111
Join Date: Feb 2011

 
DONATE TO ME
Actually, sorry for not posting this before. But right after I posted the first dump I noticed that pretty much everything on the root partition is just a link to /osh, like you can see here:

Code:
lrwxrwxrwx root     root                        2011-02-22 23:54 lib -> /osh/lib
lrwxrwxrwx root     root                        2011-02-22 23:54 etc -> /osh/etc
lrwxrwxrwx root     root                        2011-02-22 23:54 thumb2 -> /osh/thumb2
lrwxrwxrwx root     root                        2011-02-22 23:54 srv -> /osh/srv
lrwxrwxrwx root     root                        2011-02-22 23:54 usr -> /osh/usr
lrwxrwxrwx root     root                        2011-02-22 23:54 media -> /osh/media
lrwxrwxrwx root     root                        2011-02-22 23:54 upath.sh -> /osh/upath.sh
lrwxrwxrwx root     root                        2011-02-22 23:54 boot -> /osh/boot
lrwxrwxrwx root     root                        2011-02-22 23:54 sbin -> /osh/sbin
lrwxrwxrwx root     root                        2011-02-22 23:54 var -> /osh/var
lrwxrwxrwx root     root                        2011-02-22 23:54 root -> /osh/root
lrwxrwxrwx root     root                        2011-02-22 23:54 apath.sh -> /osh/apath.sh
lrwxrwxrwx root     root                        2011-02-22 23:54 bin -> /osh/bin
lrwxrwxrwx root     root                        2011-02-22 23:54 opt -> /osh/opt
lrwxrwxrwx root     root                        2011-02-22 23:54 selinux -> /osh/selinux
lrwxrwxrwx root     root                        2011-02-22 23:54 ubuntu.sh -> /osh/ubuntu.sh
lrwxrwxrwx root     root                        2011-02-22 23:54 lost+found -> /osh/lost+found
lrwxrwxrwx root     root                        2011-02-22 23:54 home -> /data/home
dr-x------ root     root                        2011-02-22 23:54 config
drwxrwx--- system   misc                        2011-02-22 23:54 misc
drwxrwx--- system   cache                       2011-02-23 00:58 cache
drwxr-xr-x root     root                        2011-01-30 05:54 pds
lrwxrwxrwx root     root                        2011-02-22 23:54 sdcard-ext -> /mnt/sdcard-ext
lrwxrwxrwx root     root                        2011-02-22 23:54 sdcard -> /mnt/sdcard
drwxr-xr-x root     root                        2011-02-22 23:54 acct
lrwxrwxrwx root     root                        2011-02-22 23:54 tmp -> /data/tmp
drwxr-xr-x root     root                        2010-12-22 17:39 preinstall
drwxr-xr-x root     root                        2011-01-20 21:49 osh
drwxrwxr-x root     system                      2011-02-22 23:54 mnt
lrwxrwxrwx root     root                        2011-02-22 23:54 d -> /sys/kernel/debug
drwxr-xr-x root     root                        2011-02-05 05:07 system
drwxr-xr-x root     root                        1969-12-31 19:00 sys
dr-xr-xr-x root     root                        1969-12-31 19:00 proc
-rwxr-x--- root     root                32498 1969-12-31 19:00 init.rc
-rwxr-x--- root     root                 1954 1969-12-31 19:00 init.goldfish.rc
-rwxr-x--- root     root               118156 1969-12-31 19:00 init
-rw-r--r-- root     root                  153 1969-12-31 19:00 default.prop
drwxrwx--x system   system                      2011-02-22 23:54 data
drwxr-xr-x root     root                        2011-02-22 23:54 dev
But for some reason when I dump the /osh partition, a couple of those folders come corrupted. Let me know if any of the folders you are interested are damaged on the dump and I will post a tar.bz2 like I did with /etc

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more