CH2 Bootloaders – The success’s road Bootloaders What is bootloader? Bootloader – It is just. BOOT Loader General Features. Bootloader is used to transfer code from an external source into internal or external . enable DMA Ch2 interrupt, Clear IFR **. This page documents the development of a LPC bootloader program . #include “mbed.h” Serial pc(USBTX, USBRX); int ch1, ch2, ch3; int n1.

Author: Kishakar Zulule
Country: Myanmar
Language: English (Spanish)
Genre: Spiritual
Published (Last): 23 November 2012
Pages: 481
PDF File Size: 16.31 Mb
ePub File Size: 5.53 Mb
ISBN: 671-7-75408-733-3
Downloads: 25292
Price: Free* [*Free Regsitration Required]
Uploader: Kazrar

When the data fits in less than 20 UU-encoded lines then the check-sum should be of the actual number of bytes sent.

This carries out the desired process, but makes use of the Flash Magic flash utility. The receiver should compare it with the check-sum of the received bytes. As many people visit here mainly boootloader know Rooting method. I started off the code writing by looking at the section entitled ‘Communicating with the LPC’ in the Prototype to Hardware page.

But I rooted my phone successfully with kingroot desktop software download it from www. Thread Deleted Email Thread. XDA Feed The best way to get cutting edge news about your device!

With some chips, you will need to alter the baud rate first, as is not supported by some LPC chips. Guest Quick Reply no urls or BBcode.

From reading through it, you gauge what is required:. CH5 Debugging Linux Ke Thanks for sharing process to root EMUI3. I could send it cn2 letters as detailed in UM to get such information as ID code and part number etc. We should solve any compiling problems.

CH3 Bootlpader Linux Ke The description given is too ambiguous and it would be nice to see a graphical explanation. In command window type “fastboot oem unlock ” without quotation, where is the unlock code you got from huawei site and press enter.

Bootloader unlocking and rooting method for honor 4x : Step by step

If anyone takes a keen interest in this project and uses it with different chip types, please add the confirmed successful chip types at the top of this page, where I’ve started off a table.


Add a new configuration option for your board to the top level “Makefile”, using the existing entries as examples.

I tried rooting through kingroot phone app but that too failed. An xbased host is most required Other bootloaders: I tried higher, but apparently and annoyingly, they’re right: If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. And don’t forget to backup your data contacts,messages,photo,video etc.

Bootloader unlocking and rooting method for … | Honor 4x

XDA Labs Labs is an independent app store that gives developers full control over their work. Next I turned my attention to the UU-encoding formula, documented very well on it’s own Wikipedia page. So armed with my UU-encoding knowledge, I wrote a small program to carry out the conversion and explicitly show the process going on.

The checksum is generated by adding raw data before UU-encoding bytes and is reset after transmitting 20 UU-encoded lines. This requires the user to convert the binary file into hex and then put it through the flash utility. I started off by leafing through the UM datasheet, which contains the information on the current evolution of the mbed LPC It carries out the summing, the two’s complement creation taking into account both little-endian and big-endian and writes the altered first chunk of data to a temporary file called ‘delete.

Now all the necessary handshaking had been done. Well, that was easy. All I do differently is send the checksum earlier and pad any unrequired bytes in the last 3 to be UUencoded with 0x00s. Posting Quick Reply – Please Wait.

CH2 Bootloaders_图文_百度文库

The sacrifice I made to the speed of the program is a maximum of 1s, so I think I’ll be able to sleep at night. Then drop the program below onto the mbed, and reset the mbed to flash it to the chip. There is a small peculiarity in the process with which you carry out the encoding boottloader the first block of data to be sent to the chip.


This site uses cookies to store information on your computer. This will do the unlocking of bootloader. This is something I didn’t discover on the first day and so I kept on getting slight discrepancies between my conversion and that provided by the online UU-Encoder I was using to check my output.

You should be aware of your hardware platform before porting u-boot. When the data fits in less than 20 UU-encoded lines, then the check-sum should be the sum of the raw bytes bootloadwr since the previous checksum was sent.

Navigation Gestures Customizable gesture control for any Android device. The chip will read the bytes, bringing the overall total it has received up to and then boltloader a checksum to be sent, so little has to be altered. Note the if statements at the bottom replacing any 0x00s with 0x60s. In response the sender should retransmit the bytes.

You do not have the correct permissions to perform this operation. Now onto the software I’m now heading back to university, but managed to get very close to hooking up a LPC and a LPC chip to the utility; just trying to iron out an odd bug, which bootlkader hardware-based, where all the command codes have been successful, but partway through sending the first 1KB block, the chips start sending back the code I sent to them Among other things, it discusses the package’s source code layout, the available build options, U-Boot’s command set, and the typical environment variables used in U-Boot.

Working with the networking stack.

Porting is very easy if you have a board which is very similar with a supported board.