Guest xzyk Posted December 12, 2010 Report Posted December 12, 2010 Could some kind dev on here please post (or pm me) the boot.img unpack and pack perl scipt for SF 2.1 please. Hexedit is a real pain, I'm sure someone on here must have a perl scipt for this. Thankyou.. :)
Guest Arr Too Posted December 12, 2010 Report Posted December 12, 2010 (edited) Use split_bootimg.pl from here. Note for when re-packing: base on Blade is 0x03000000. Edited December 12, 2010 by Arr Too
Guest xzyk Posted December 12, 2010 Report Posted December 12, 2010 (edited) Use split_bootimg.pl from here. Note for when re-packing: base on Blade is 0x03000000. thanks Art Too, I'll give it a go.. EDIT: managed to get the mkbootfs and mkbootimg binaries loaded. All seems to be working fine except: 1. I've tried everywhere to pass the --base 0x03000000 parameter, but no joy. I can make the new boot.img fine but not when i try to pass this address. 2. The final new-boot.img is only 2.4MB whereas the boot.img extracted from the nandroid backup is 4.5MB. The # cat /dev/mtd/mtd1 > /sdcard/mtd1.img also results in a 4.5MB file on my sdcard. EDIT2: looks like i had a binary of mkbootimg that would not accept the --base paremeter. Downloaded a new one and now it packs fine with the address passing, however my second query still stands. Why is the packed new-boot.img only 2.4MB? Any help please would be appreciated..thankyou.. EDIT3: It's ok, the file is supposed to be smaller. The end of the original boot.img is padded with 0xFF, so all is fine. I fastbooted the modified boot.img and everytihng worked as expected. Thanks Arr Too, took a bit of reading to get there but finally managed it. Edited December 13, 2010 by xzyk
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now