During the MTK solution smart phone motherboard repair process, how to easily create a boot program when there is a main program but no boot program? How to extract the corresponding bootstrap program through the forced upgrade main program of its PKG suffix?
First use the hex editor software HxD to open the PKG format to forcibly upgrade the main program;
Use <Search> <Find>, search for the hexadecimal value 710000EA18, select the hexadecimal data type, select all for the search direction, and the software will automatically search for the starting offset address and note the starting offset address; Note: Different files have different offset addresses
In the same way, search for the hexadecimal value 75656E760000, and the software will automatically search for the end offset address. It should be noted that the search result must be subtracted by 1 to be the real end offset address, and recorded; you can also use another One method: According to the second step, after the selected value is searched, the cursor is positioned before 71, right-click to select the block, set the length option to 100,000, and intercept the 1MB file;
After clicking OK, right-click and select Copy to copy the selected data;
Open the <File> <New> blank file, and insert the copied data just by inserting it, which is the boot program we are going to save. Finally, name the new file and save it as xxx.bin;
The extracted boot program can be written into the motherboard using the MTK serial port tool FlashTool, and after the boot is written, it can be upgraded with a U disk.