How to create C++ executables for flashing ROMs?
<p>I want to create C++ executables to flash ROMs over ADB on android phones, can anyone help me on this?
I have a basic knowledge of C++ but cannot understand from where I should start
The logic is
Initialize header files-->Initialize ADB service-->Start ADB shell-->Flash the .img files using flash_image binary--> ADB reboot</p>

<p>Can anyone give me a simple example for flashing boot image?
I m unaware what header files should I include, which compiler should I use.
created a new thread as I didn't find anything regarding this</p>

<p>Thank you</p>
