[General Questions and Answers] middaylantern:
i have a boot.img with a size of 13mb, when i unpack it , it produce two files the boot.im-kernel and boot.img-ramdisk.cpio.gz,and it became much less in size, together they where 5.3mb and when i repack it using mkbootimg and flash it it wont flash. .

what i do to repack is , on the folder containing the ramdisk and kernel and the mkbootimg ' i typed mkbootimg --kernel "the kernel" --ramdisk "the disk" -o boot.img . .then i got an output boot.img

now when i flash it using fastboot

i type fastboot device.. then it shows my device.. and then i typed fastboot boot 'the boot.img i repack after i unpack'

then its says it been copied and rebooting. .but the device is still in downloading mode. .so i try again typed fastboot boot 'the boot.img' and now it says fastboot waiting for device. .so i think it was disconnected

now again i repack the kernel and ramdisk but with different command

i typed mkbootimg --kernel 'kerne' --ramdisk 'ramdisk' and i include other commands like --base --cmdline then -o boot.img

then i get the results boot.img again the flash it using fastboot

but this time it vibrates and turn off but didnt light up and in computer it mounts different partitions like sd mode

now they say there is a specific procedure of compiling a boot.img base on different boot.img

they also say that when i unpack it the command just discarded the garbage or other files

now my question is if theres any how would i know and where would i find the specific procedure of repacking my boo.imgs

and the missing files i think they were neccessary if there any missing file. how would i get it and how would i know what it is

my devices is running ics , cpu msm825, kernel 3.0..

this is my partition table and i dont understand any of it or which is which

i use abootimg and in boot.cfg this is whats written might be helpful

bootsize = 0xd42000

pagesize = 0x1000

kerneladdr = 0x208000

ramdiskaddr = 0x1508000

secondaddr = 0x1100000

tagsaddr = 0x200100

name =

cmdline = androidboot.hardware=qcom loglevel=1

in adb shell i ran

shell@android:/ $ su

root@android:/ # cat /proc/partitions

major minor #blocks name

179 0 3817472 mmcblk0

179 1 20 mmcblk0p1

179 2 150 mmcblk0p2

179 3 40960 mmcblk0p3

179 4 1 mmcblk0p4

179 5 1000 mmcblk0p5

179 6 2048 mmcblk0p6

179 7 2000 mmcblk0p7

179 8 13576 mmcblk0p8

179 9 3072 mmcblk0p9

179 10 3072 mmcblk0p10

179 11 3072 mmcblk0p11

179 12 466666 mmcblk0p12

179 13 1970176 mmcblk0p13

179 14 10240 mmcblk0p14

179 15 102400 mmcblk0p15

179 16 13576 mmcblk0p16

179 17 20 mmcblk0p17

179 18 1048576 mmcblk0p18

179 19 1000 mmcblk0p19

179 20 111441 mmcblk0p20

179 32 1927168 mmcblk1

179 33 1926144 mmcblk1p1

root@android:/ # mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,nosuid,noatime,nodiratime,mode=755 0 0

devpts /dev/pts devpts rw,relatime,mode=600 0 0

proc /proc proc rw,noatime,nodiratime 0 0

sysfs /sys sysfs rw,noatime,nodiratime 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

debugfs /mnt/debugfs debugfs rw,relatime 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mmcblk0p12 /system ext4 rw,noatime,nodiratime,user_xattr,barrier=0,data=ordered,noauto_da_alloc 0 0

/dev/block/mmcblk0p13 /data ext4 rw,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=0,data=ordered,noauto_da_alloc 0 0

/dev/block/mmcblk0p14 /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0

/dev/block/mmcblk0p15 /cache ext4 ro,nosuid,nodev,noatime,nodiratime,user_xattr,barrier=0,data=ordered,noauto_da_alloc 0 0

/dev/block/vold/179:18 /mnt/emmc vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1023,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=continue 0 0

/dev/block/vold/179:33 /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=continue 0 0

/dev/block/vold/179:33 /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=continue 0 0

tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0

root@android:/ # df

Filesystem Size Used Free Blksize

/dev 170.7M 64.0K 170.7M 4096

/mnt/asec 170.7M 0.0K 170.7M 4096

/mnt/obb 170.7M 0.0K 170.7M 4096

/system 448.5M 375.4M 73.1M 4096

/data 1.8G 181.5M 1.7G 4096

/persist 9.8M 4.0M 5.8M 4096

/cache 98.4M 4.0M 94.4M 4096

/mnt/emmc 1013.6M 658.5M 355.1M 4096

/mnt/sdcard 1.8G 1.8G 9.1M 4096

/mnt/secure/asec 1.8G 1.8G 9.1M 4096

root@android:/ # ls -la

drwxr-xr-x root root 2013-12-23 18:04 acct

drwxrwx--x system cache 1970-01-01 08:00 cache

-rwxr-x--- root root 190772 1970-01-01 08:00 charger

dr-x------ root root 2013-12-23 18:04 config

lrwxrwxrwx root root 2013-12-23 18:04 d -> /sys/kernel/debug

drwxrwxr-x system system 2013-12-23 18:04 data

-rw-r--r-- root root 151 1970-01-01 08:00 default.prop

drwxr-xr-x root root 2013-12-23 18:08 dev

lrwxrwxrwx root root 2013-12-23 18:04 emmc -> /mnt/emmc

lrwxrwxrwx root root 2013-12-23 18:04 etc -> /system/etc

-rwxr-x--- root root 182020 1970-01-01 08:00 init

-rwxr-x--- root root 2344 1970-01-01 08:00 init.goldfish.rc

-rwxr-x--- root root 8772 1970-01-01 08:00 init.qcom.class_core.sh

-rwxr-x--- root root 4529 1970-01-01 08:00 init.qcom.class_main.sh

-rwxr-x--- root root 16886 1970-01-01 08:00 init.qcom.rc

-rwxr-x--- root root 4570 1970-01-01 08:00 init.qcom.sh

-rwxr-x--- root root 27316 1970-01-01 08:00 init.qcom.usb.rc

-rwxr-x--- root root 5512 1970-01-01 08:00 init.qcom.usb.sh

-rwxr-x--- root root 24437 1970-01-01 08:00 init.rc

-rwxr-x--- root root 2680 1970-01-01 08:00 init.target.rc

drwxrwxr-x root system 2013-12-23 18:04 mnt

-rwxr-x--- root root 67104 1970-01-01 08:00 nv_set

drwxrwx--x system system 1970-01-01 08:00 persist

dr-xr-xr-x root root 1970-01-01 08:00 proc

drwxr-xr-x root root 1970-01-01 08:00 res

-rwxr-x--- root root 63472 1970-01-01 08:00 rmt_storage_recovery

drwx------ root root 2013-01-22 10:18 root

drwxr-x--- root root 1970-01-01 08:00 sbin

lrwxrwxrwx root root 2013-12-23 18:04 sdcard -> /mnt/sdcard

drwxr-xr-x root root 2013-12-23 18:04 sys

drwxrwxr-x root root 2013-12-22 06:15 system

-rw-r--r-- root root 272 1970-01-01 08:00 ueventd.goldfish.rc

-rw-r--r-- root root 9232 1970-01-01 08:00 ueventd.rc

lrwxrwxrwx root root 2013-12-23 18:04 vendor -> /system/vendor

can anyone help me with this?