What is this?
It's a boot image which adds support for init.d scripts.
What does that mean?
By flashing this to your phone, it gives support for custom scripts to be executed at boot time. There are plenty of examples of the kind of mods this will allow, see this post as an example.
You must be rooted and ideally have CWM recovery installed. This post tells you how to do both of these things.
Next, boot the phone to recovery and MAKE A BACKUP - flashing a new boot image is not without risk.
How do I test if it will work for me?
You can test the install without permanently flashing it to your phone, I'd suggest you do this first if you have any concerns. You will need to have set up the ZTE USB drivers and have fastboot working on your computer, again see this post for details.
1. Download init.d-test.zip and put it somewhere on your phone that you can find it again, for example in the root folder
2. Download boot-gah0.9-8225uk2.2.img and put in on your computer in the folder that contains fastboot.exe
3. Connect your phone via a USB cable to the same computer
4. Reboot your phone and hold volume down to boot into CWM recovery
5. install zip → choose zip from sdcard → (find init.d-test.zip) → Yes to install
6. +++++ Go Back +++++ → advanced → reboot to bootloader
7. When the green android appears, on your computer navigate to the folder containing boot-gah0.9-8225uk2.2.img and type
fastboot boot boot-gah0.9-8225uk2.2.img
Give your phone a few seconds and it should boot normally. To check that the new boot image has worked, use a file explorer to navigate to /data/local/tmp and look for a file named 00confirm.txt. If the file exists, congratulations, the boot image works for you. You can safely delete /data/local/tmp/00confirm.txt and also /system/etc/init.d/00confirm (make sure you use a root explorer to mount /system as rw first).
You can now permanently flash the image if you wish.
How do I install after testing?
If you haven't done a test install, I suggest you try the above first. To flash the image you will need to have set up the ZTE USB drivers and have fastboot working on your computer, again see this post for details.
1. Download boot-gah0.9-8225uk2.2.img and put in on your computer in the folder that contains fastboot.exe
2. Connect your phone via a USB cable to the same computer
3. Reboot your phone and hold volume down to boot into CWM recovery
4. advanced → reboot to bootloader
5. When the green android appears, on your computer navigate to the folder containing boot-gah0.9-8225uk2.2.img and type
fastboot flash boot boot-gah0.9-8225uk2.2.img fastboot reboot
Congratulations, your Blade V now has init.d support!
Create a script to do something cool and put it in the /system/etc/init.d folder. Don't forget to give the script execute permissions (755 suggested). The script should run every time your phone is booted. If it's really cool, make sure you share
I extracted boot.img from the UK v2.2 stock ROM, specifically, this. I split the image, unpacked the ramdisk, added a hook to execute init.d scripts to init.rc then repacked it all. The kernel itself is untouched, only the ramdisk was modified.
100% of the credit for this goes to KonstaT. Not only did he encourage me and patiently tell me where I was repeatedly going wrong, he also wrote most of the code!
Edited by shiftyc, 21 March 2014 - 09:47 AM.