Guest dilaroid Posted May 9, 2010 Report Posted May 9, 2010 Hi, I want to try compile my own boot.img for my U8230. what is the base adress for U8220 or U8230 ? also where should i put those base address to ? at mkbooting.c ? thanks
Guest Tom G Posted May 9, 2010 Report Posted May 9, 2010 (edited) Hi, I want to try compile my own boot.img for my U8230. what is the base adress for U8220 or U8230 ? also where should i put those base address to ? at mkbooting.c ? thanks I'm not sure I understand. What base address are you looking for and why do you need it? If you mean the offset of the boot partition within the flash then you don't need it. mkbootimg doesn't need to be customised for the phone. To make a boot image just take your zImage, gzipped cpio ramdisk and kernel cmdline and combine using mkbootimg. Flash to boot partition and you're ready to boot. There are a few scripts around that make it even easier (however be careful as the kernel cmdline is often hard coded in the scripts and needs to be modified to suit the phone). To flash, first wipe the boot image Its a good idea to check which one is the boot partition first cat /proc/mtd Look for boot Then zero it. cat /dev/zero > /dev/mtd/mtd0 Then flash it flash_image boot <boot.img> Hope that helps. Edited May 9, 2010 by Tom G
Guest dilaroid Posted May 9, 2010 Report Posted May 9, 2010 To make a boot image just take your zImage, gzipped cpio ramdisk and kernel cmdline and combine using mkbootimg. yes I mean while we combine using mkbootimg, is there any code that should be changed, especially on mkbootimg.c ? coz I read on several forum, that we must change base address on mkbootimg before recompile boot.img I try to recompile boot.img using kitchen 0.50 but not working for my U8230 (radio wireless function - wifi and GSM not working - but A2SD and touch screen and all other functions are working). maybe because this kitchen 0.50 made for HTC. http://forum.xda-developers.com/showthread.php?t=633246
Guest Tom G Posted May 9, 2010 Report Posted May 9, 2010 (edited) yes I mean while we combine using mkbootimg, is there any code that should be changed, especially on mkbootimg.c ? coz I read on several forum, that we must change base address on mkbootimg before recompile boot.img I try to recompile boot.img using kitchen 0.50 but not working for my U8230 (radio wireless function - wifi and GSM not working - but A2SD and touch screen and all other functions are working). maybe because this kitchen 0.50 made for HTC. http://forum.xda-developers.com/showthread.php?t=633246 No code needs to be changed for mkbootimg. I haven't looked at that program, so I don't know exactly what it does but I am surprised the image boots at all. I guess it is just repacking the image with a few changes (no changes to the kernel) which explains why it works but the differences between the HTC and Huawei rom are probably going to lead to problems. Edited May 9, 2010 by Tom G
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now