Skip to content

Better kernel and build instructions for ZTE Tureis (P725A)

ZTE1I finally found out how to build a kernel and flash it using CWM. Here is a step by step guide that tells you how to do it. As a starting point, I assume the device is not rooted and comes directly out of the box.

First, you need  the device and an SD card. Make a folder called “image” on the card. This folder is used for flashing ClockworkMod – download it from here, extract the image.bin into the image folder and then go to the settings of Android and use the SD flash method to install it.

CWM is installed now – fine. Let’s move on to getting root access on the device. Copy this zip file onto your SD card.

After that, reboot the device and hold the Power and VOL Down buttons simultaneously. CWM will start up – use the “Install zip file” option to install the zip file and – voila – your device is rooted now.

Now on to the real stuff – to be able to install a new kernel we have to get the image of the stock kernel out of the device first – in order to do so, make a full Backup in CWM – it is copying a file called “boot.img” onto your SD card.

This boot.img contains the actual kernel and the ramdisk. We have to unpack both of them using a script called – it throws out two files: boot.img-kernel.gz and boot.img-ramdisk.cpio.gz. Make a backup of both of them in case anything goes wrong!

If you already compiled the kernel you just have to do the following easy steps:

Take the boot.img-ramdisk.cpio.gz and your own zImage and combine them into a new boot.img which can be flashed using CWM’s restore method. You need a tool called mkbootimg for that. Utilize it using the following command:

./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.cpio.gz --base 0x02600000 -o boot.img

Done. Copy the new boot.img onto your SD and overwrite the old one. Make sure you adjust the MD5 sums so CWM doesn’t complain and flash it using the restore method.

I followed these simple instructions to build my own kernel:


Sadly, the camera driver is missing in the kernel source.

I tried patching the Blade’s camera driver into it, but nothing happens with that either:…0157729d96f6db7

So it looks like we can gain the advantage of really nice customized kernels but only with the precompiled Wi-Fi module and no camera. Shame.

If somebody wants to build my kernel, here is the source:…ureis-optimized

A flashable boot.img can be downloaded here:

MD5SUM: 0737828b3ee7f69c3c0ce1bda05f95d8

I already added a lot of governors and the BFQ scheduler in there, you can activate them with SetCPU. Have a lot of fun 🙂

>>Original discussion on<<

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top