This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Customized Android in AM335X

I have a AM335x and must make two changes in the OS (Android):

  1. Change the bootlogo;
  2. Decrease the boot time;


I'm trying to edit the image (* .img) before installing it on the machine and recompile it; but I'm not having success.

Have you tried using Cywin, Win32DiskImager, and nothing.

Any idea or procedure I can do?

  • Hi,

    Could you tell me which version of Android you are using?
    How do you edit the *.img files? what tool are you using?

    When you say recompile, are you trying to recompile the whole Android BSP or just reassemble the *.img after modification?

    What do you mean when you say that you are not successful? Can you reflash the device, does it boot, if not, where does it fail? Could you provide some logs?

    Usually we use dd to flash. This is a Linux tool (even though there is a windows port), and it is usually a good idea to do Android development on an Android machine (or at least VM). 

  • I tried all the images available on the site TEXAS, for the AM335x model.
    I tried to edit decompress with Win32DiskImager. Have also tried to unzip files in Linux using abootimage.

    Just turn it on again *.img to boot the device.

    I meant that I can not unzip the file to edit it. Must change it before you boot the device.

  • Hi,

    I am not really sure I understand what you want to do here.
    1) Are you ale to boot the images when you don't modify them?
    2) What file do you want to modify internally? 
    3) What img are you trying to uncompress?

  • Hi,

    1. I don't understand this question.

    2. I still need to find where are located the options I need to disable (must disable the boot animation).

    3. u-boot.img (TI Android GingerBread 2.3.4 AM335x Sources from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_4_DevKit_2_1_1/index_FDS.html)

    In short, what I need to do is the following: decrease the boot time and change the default boot image. I want to make changes before booting, then I thought about editing the image and recompile it.
    I don't know if I'm on the right track, but need guidance to do so (even if the procedure should be different).
  • Hi,

    Thanks for your answers, it starts to make sense.
    My first question was: are you able to boot the board when not doing any modification.

    the u-boot.img is not a compressed archive but an executable binary with a specific header. You will not be able to uncompress it, but rather rebuild it from scratch.
    To do so, the process is:
    1) download the Android SDK
    2) edit the u-boot sources to implement you modifications
    3) rebuild at least u-boot (but you can also do the whole thing: AOSP + kernel + u-boot)
    4) the resulting u-boot image can now be flashed on your device.

    In a general way, decreasing the boot time is not done is the bootloader only, but rather concerns the whole system Linux kernel + AOSP and is not a trivial task.