Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] How to find boot partition to save boot.img file?

$
0
0
Hello,

I picked up a Meizu MX2 while I was in Hong Kong last week. I've succesfully rooted the device, but now I'm trying to compile CWM for it and need to save a boot.img file.

Unfortunately, I can't seem to find the boot partition at all. Any ideas would be appreciated.

Code:

1|root@android:/ # cat /proc/partitions                                       
major minor  #blocks  name

  7        0      34335 loop0
  7        1      13545 loop1
  7        2      34335 loop2
  7        3      9387 loop3
 179        0  31162368 mmcblk0
 179        1  27951104 mmcblk0p1
 179        2    778240 mmcblk0p2
 179        3    2097152 mmcblk0p3
 179        4    204800 mmcblk0p4
 254        0      34335 dm-0
 254        1      13545 dm-1
 254        2      34335 dm-2
 254        3      9387 dm-3

Code:

127|root@android:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p2 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p3 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p4 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
/dev/block/dm-0 /mnt/asec/com.ea.games.nfs13_row-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.touchtype.swiftkey-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-2 /mnt/asec/com.vectorunit.green-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-3 /mnt/asec/com.wordsmobile.musichero-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0

Code:

root@android:/ # df
Filesystem            Size  Used  Free  Blksize
/dev                  929M    32K  929M  4096
/mnt/asec              929M    0K  929M  4096
/mnt/obb              929M    0K  929M  4096
/system                748M  289M  458M  4096
/data                    1G  629M    1G  4096
/cache                196M    10M  186M  4096
/mnt/asec/com.ea.games.nfs13_row-1    32M    31M    1M  4096
/mnt/asec/com.touchtype.swiftkey-1    13M    10M    2M  4096
/mnt/asec/com.vectorunit.green-1    32M    31M    1M  4096
/mnt/sdcard            26G    2G    24G  16384
/mnt/secure/asec        26G    2G    24G  16384
/mnt/asec/com.wordsmobile.musichero-1    9M    7M    1M  4096

Code:

root@android:/ # ls -la
drwxr-xr-x root    root              2013-01-07 18:28 acct
drwxrwx--- system  cache            2013-01-07 06:16 cache
dr-x------ root    root              2013-01-07 18:28 config
lrwxrwxrwx root    root              2013-01-07 18:28 d -> /sys/kernel/debug
drwxrwx--x system  system            2012-12-29 08:14 data
-rw-r--r-- root    root          125 1970-01-01 07:00 default.prop
drwxr-xr-x root    root              2013-01-07 18:28 dev
lrwxrwxrwx root    root              2013-01-07 18:28 etc -> /system/etc
-rwxr-x--- root    root      105152 1970-01-01 07:00 init
-rwxr-x--- root    root        2344 1970-01-01 07:00 init.goldfish.rc
-rwxr-x--- root    root        7139 1970-01-01 07:00 init.mx2.rc
-rwxr-x--- root    root        2145 1970-01-01 07:00 init.mx2.usb.rc
-rwxr-x--- root    root        19772 1970-01-01 07:00 init.rc
-rwxr-x--- root    root        1637 1970-01-01 07:00 init.trace.rc
-rwxr-x--- root    root        3915 1970-01-01 07:00 init.usb.rc
drwxrwxr-x root    system            2013-01-07 18:28 mnt
dr-xr-xr-x root    root              1970-01-01 07:00 proc
drwx------ root    root              2012-12-19 16:28 root
drwxr-x--- root    root              1970-01-01 07:00 sbin
lrwxrwxrwx root    root              2013-01-07 18:28 sdcard -> /mnt/sdcard
drwxr-xr-x root    root              2013-01-07 18:28 sys
drwxr-xr-x root    root              2012-12-30 23:01 system
-rw-r--r-- root    root          272 1970-01-01 07:00 ueventd.goldfish.rc
-rw-r--r-- root    root        1703 1970-01-01 07:00 ueventd.mx2.rc
-rw-r--r-- root    root        3879 1970-01-01 07:00 ueventd.rc
lrwxrwxrwx root    root              2013-01-07 18:28 vendor -> /system/vendor


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>