[MTCB Software Development] Goose247:
Modifying Kernel to determine image size.

1. Using RK3xxx decompile the update.img you are using or going to use. Click "Select Img" then browse for your update.img.

1a. Then Click Extract.

2. Click on "Logo tools" then "Run logo Changer" (A new window will open).

3. Click on "File" then "Select kernel.ing" and browse for the kernel (it will be in temp/Android/Image).

4. If the kernel boot logo loads you should see an image in the right hand box

And in the box below you should see something like:

KernelPass:rkdroid
Kernel image size: 800 * 480
Supported Image Size: 800 * 480

If you see an image you are sooooooo lucky and can skip to Making the image section.

If the kernel boot logo doesn't load you will see no image and also in the box below something like this:

KernelPass:rkdroid
ÃÜÂë´íÎó!
ÔØÈëkernelÊ§°Ü

5. Open Hxd and open kernel.img (click "File" then "Open" and browse for the kernel.img).

5a. Click "Search" then "Find" and search for "rk logo password" (don't include the quotation marks "") and make sure Datatype is set to "Text-string".

5b. In the last column (furthest right) highlight between the 1st character

after "password" and before the 1st character of "rk29_backlight" (you will see that the middle section has now been highlighted as well, a total of 44 pairs of characters).

Here's where it gets a bit complicated.

5c. In the middle section take a note of the 1st set of characters and last set. In the above picture they are 93 and C0.

Left click somewhere above to clear all the highlighted code.

5d. Now in the middle section highlight everything from the 1st pair and last pair. (the 2 pairs you took a note of above). You should have 44 pairs of characters highlighted now.

5e. Right mouse click and copy then left click somewhere above again to clear any highlighted characters.

5f. Click on "Search" then "Replace", change Datatype to "Hex-values" and in the 1st box (search for) right mouse click and paste. It should have pasted the 44 pairs of characters.

5g. Copy the below set of codes and paste into the 2nd box (Replace with).

31 57 8D EB 18 4B A9 41 D9 47 EA 2F 7E 60 B1 67 6C 6F 67 6F 2E 6E 6F 6C 6F 67 6F 00 00 00 00 00 FC F3 AC C0 60 BD AB C0 C8 42 AD C0

Then click "OK".

If the changes were successful the values in the centre and right hand columns will have changed to red.

Double check that the values in the centre column match:

31 57 8D EB 18 4B A9 41 D9 47 EA 2F 7E 60 B1 67 6C 6F 67 6F 2E 6E 6F 6C 6F 67 6F 00 00 00 00 00 FC F3 AC C0 60 BD AB C0 C8 42 AD C0

5h. Save and exit HxD. (A backup of the original kernel.img has been made if you balls it up at any point).

6. Open RK3xxx again. Click on "Logo tools" then "Run Logo Changer" (a new window will open).

7. Select "File" then "Select kernel.img". Locate the kernel you have just modified.

If you did everything correct in HxD your image should load in the right hand box.

You should also see:

KernelPass:rkdroid
Kernel image size: 800 * 480
Supported Image Size: 800 * 480

or

KernelPass:rkdroid
Kernel image size: 1024 * 600
Supported Image Size: 1024 * 600

Image size is very important before you can continue. I have found that some kernels although from a 1024x600 unit have a 800x480 boot logo and visa versa.

If after doing the steps above you find that is the case. You MUST use the image size stated (Supported Image Size:) even though it doesn't match your unit resolution.

You have been warned.

That is pretty much the hardest section. You can now go to Making the image.