Hd2 open-source bootloader CLK source code compilation

Source: Internet
Author: User

HTC hd2 is an alternative mobile phone, because its factory system is the Win ce wm system, which is Microsoft's mobile operating system, but as the terminal of WM system, hd2 is still a good machine.

He is more amazing because he doesn't just settle in the status quo. He can use different mobile phone operating systems to simulate Android, Android, Windows 98 and Windows XP, of course, in Ubuntu, WP7 runs smoothly and meego barely runs. It can be said that it is omnipotent.

I had the honor to buy an hd2, so I became a required course to flash the machine!

Hd2 mainly has two bootloaders, which are made by foreign experts. One is magbld and the other is CLK. The former is closed to the source and is not public.Source codeBut can guide multiple systems (WM, WP7, Android ). The latter is open-source, but only supports android. Both of them can guide multiple Android, namely, Nand or native SD.

Since CLK is open-sourceCodeTake a look.

According to the tutorial given by the author, I tried to compile it myself, and there were a lot of problems with the results.

Http://forum.xda-developers.com/showthread.php? T = 1114053

 

 

Arm-Linux-GCC: Command not found

Because it is cross-compilation, you must make sure that the compiling environment is correct and the environment variables are problematic.

PathContains/Usr/local/ARM/2.95.3/bin, /Usr/local/ARM/2.95.3/bin/UnderArm-Linux-gccFile,MakeIs not foundArm-Linux-gcc

Cause:

Export Path = $ path:/usr/local/ARM/2.95.3/bin

YesCurrent user'sPath, AndSudoRunMakeWhen the Super User permission is usedSuper UserPath(But thisPathIs not/Usr/local/ARM/3.4.1/bin)

 

Solution:

First open a Super User permissionShell:

Sudo-S

In the currentShellTo set the environment variables:

Export Path = $ path:/usr/local/ARM/2.95.3/bin

# It cannot be used after shell is disabled. In this case, edit/etc/profile and add Export Path = $ path:/usr/local/ARM/2.95.3/bin

 

Finally, the CLK source code is successfully compiled and

Ruu_signed.nbh

However, I have not dared to brush my phone. I am afraid I can't afford it because only this mobile phone ....

The source code is not detailed yet. It seems to be a small Linux kernel.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.