Updated 2012-06-29, Latest at:
http://www.beautyorange.com/2011/10/script-for-unpack-mtks-bootrecovery-image/
http://www.beautyorange.com/2011/10/script-for-pack-mtks-bootrecovery-image/
1. Get boot.img via dump_image or native’s
dump_image boot /sdcard/boot.img
2. cut header
dd if=boot.img of=boot_no_header bs=2048 skip=1
3. find the begin-addr of ramdisk firstly, gzip’s magic number 1f 8b 08
od -A d -t x1 boot_no_header | grep "1f 8b 08 00"
4. if the begin-addr of ramdisk is 2388480, ROM Version A60_S155_110830. Kernel is here
dd if=boot_no_header of=kernel bs=2388480 count=1
5. ramdisk is here
dd if=boot_no_header of=ramdisk.gz bs=2388480 skip=1
6. extract ramdisk
mkdir ramdisk cd ramdisk gunzip -c ../ramdisk.gz | cpio -i
7. Do anything you want
8. Pack boot.img, updated 2011-10-27 Wrong for mtk’s
mkbootfs ./ramdisk | gzip > new_ramdisk.gz mkbootimg --kernel kernel --ramdisk new_ramdisk.gz -o new_boot.img
What is this?
Hey leo,
how to re-pack boot.img ??? please help !!! If the given method to unpack is wrong,then what is the correct method ??
Hey leo,
how to re-pack boot.img ??? please help !!! If the given method to ‘RE-PACK’ is wrong,then what is the correct method ??
Please click http://www.beautyorange.com/2011/10/script-for-unpack-mtks-bootrecovery-image/
and this http://www.beautyorange.com/2011/10/script-for-pack-mtks-bootrecovery-image/
Hello leo !
thanks for the reply !! But i’m a starter in this topic. So help me !!
I have few doubts:
1. Should I type them in my linux pc’s terminal
(or)
2.Are those files ‘pack.sh’, ‘unpack.sh’ and cksum.py’ available to download so that i can use it ??
(or)
3.Should i copy and paste those commands in a .txt file and rename it to .sh and use it ??
Please help !!
Thanks in advance !!
Copy and paste those in a shell file(.sh), chmod +x, and use it in linux terminal (e.g. ubuntu)
… [Trackback]…
[...] Read More here: beautyorange.com/2011/10/unpack-boot-img-from-lenovo-a60spice-mi350mtk6573-at-all/ [...]…
people love to read about something controversial….
generally, you can just write about something that you don’t like, and people will show up and get on their respective soap boxes and tell you exactly how they feel about what you have just written.become a fanthis is the exact…
Please let me know if you’re looking for a article writer for your blog. You have some really good articles and I feel I would be a good asset. If you ever want to take some of the load off, I’d love to write some material for your blog in exchange for a link back to mine. Please blast me an email if interested. Cheers!
I really like your blog.. very nice colors
& theme. Did you design this website yourself or did you hire someone to do
it for you? Plz reply as I’m looking to design my own blog and would like to know where u got this from. thank you
It is from http://devpress.com/themes/fanwood
Does your site have a contact page? I’m having trouble locating it but, I’d like to shoot you an email.
I’ve got some ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it grow over time.
leo.fanaq@gmail.com