YES yes! Alright you're about 2 commands away from dumping our first rom... Hopefully.
In the terminal you open on the phone type:
This will return a listing of all of the mount points on the device. It shows the device that each filesystem is mounted FROM. The root filesystem will be something like /dev/hda or /dev/sda or /dev/***. I haven't had the pleasure so I don't know what you're gonna have there.
I would suggest dumping them all, but hey... do whatever. For each /dev/*** that you want to dump, issue the following command:
Code:
~ # dd if=/dev/*** of=/sdcard/***.g1.dump
At this point you will have some interesting filesystem dumps.
On a normal linux driven system the output of mount might look like:
Code:
~ # mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
/dev/sdcard on /sdcard type fat (rw,noatime)
If I saw that on my android phone I would then run...
Code:
~ # dd if=/dev/hda3 of=/sdcard/hda3.g1.dump
Now you can transfer this over...
Want to tool around with it a bit prior to uploading it to us?
Fire up any livecd, and transfer the file somewhere into the filesystem... run:
Code:
~ # mkdir /mnt/g1
~ # mount -t [type] /.../hda3.g1.dump /mnt/g1
The [type] will be whatever filesystem type was listed for the g1 when you ran mount on the g1. In my example it was ext3, but I don't know what they're using. The /.../ is where ever you ended up putting the rom.
Ha, and what if they're using a proprietary filesystem? Next we ask you to strip a module from the kernel! Hope that doesn't have to happen.