Remove or replace Khadas boot logo

Hello, if you just want to change the startup logo and animation, it is recommended that you pull the code yourself and replace it with what you want.

I will try to make a request for this feature
please wait I will replay to you by PM later

Hi

This is becoming an urgent matter for us.

Q1: Could you let me know very soon please if Khadas is able to provide us with an image for the VIM3L, rebuilt with a provided logo and animation?

More questions if the answer to question 1 is no:

Q2: Otherwise, can you recommend anyone who would do this for us?

When I was trying to get this VIM3L working with the TS050, Khadas sent me an image that was not available via OOWOW at the time: I was provided with a custom image: vim3l-android-9-64bit-v230725.raw.img.xz. This is just an image file, not the source code.

Q3: If I needed the source, where would I get the source code for this specific image?

Hello @gar1234 you can use this tool to do the conversion of the logo file

Note: this tool uses python2 not python3.
You need to follow the README instructions provided to convert the image to logo.img file.

Logo Image Requirements:

There are requirements however, This image should be of type 1920 x 1080px size, 16bit BMP file. with GIMP you can convert it so that it with this setting.
image

Remember the file name of the boot logo you want to convert should be bootup.bmp.

Uploading the logo.img file

After using the tool to pack bootup.bmp file to logo.img file, you need to upload to the board with adb fastboot.

connect your device to your laptop with the fastboot and ADB tools installed, note you must need Terminal with Adminstrator privilege/sudo
run

adb devices

If you do not see any ID, you need to check if ADB tools are installed correctly.
and see if devices ID is present, if so proceed with

fastboot reboot
fastboot flashing unlock
fastboot flash logo path/to/logo.img
fastboot flashing lock

On my linux pc I have tested this, it is working:

$ sudo fastboot flashing unlock
OKAY [  0.046s]
Finished. Total time: 0.046s
$ sudo fastboot flash logo logo.img
Sending 'logo' (4050 KB)                           OKAY [  0.240s]
Writing 'logo'                                     OKAY [  0.192s]
Finished. Total time: 0.559s
$ sudo fastboot flashing lock
OKAY [  0.047s]
Finished. Total time: 0.047s
$ sudo fastboot reboot
Rebooting                                          OKAY [  0.002s]
Finished. Total time: 0.103s

Then you can reset your device and your logo should appear.

@xiong.zhang please provide details of source/commit information of v230725 here.

Regards.

1: Does this require a Linux PC to this work with the logo? I do not have a Linux PC
2. The Android image was provided by yourselves - see item 24/26 in this post here.
3. Am I to presume from your response that means Khadas will not be able to do this for me?
4. What about replacing the Animation?

No, you can do the same procedures from a Windows PC as well.

We encourage you to try this by yourself

That will involve replacing the bootanimation.zip file, This is a thing that is same among all Android devices, you can check it has been discussed in another forum topic:

Regards.

Hi -I created/packed the boot up image.
Now I want to use adb and fastboot.
I connected successfully using adb over Wi-Fi (e.g. adb 192.168.1.120).
When I enter this command:

fastboot reboot

I get this response:

< waiting for any device >

Fastboot can not be used with wifi like adb, it’s a bootloader interface. You need to connect your device with a USB cable for that to work.

For this you can connect your device to your laptop with only the USB cable and have nothing else connected to the VIM, this will ensure it has enough power to work with the device for this operation alone.

I can’t do that - the PC does not supply enough power via USB-C.

I am going around in circles with this issue - all solutions eventually assume you can communicate to the VIM3L via USB-C, but the VIM3L needs to much power

I will disconnect everything and try again

Most laptop/PC ports equipped with a USB3.0 port can supply 900mA of current enough to power VIM for testing application. You can even run Android completely off the adb with scrcpy and use your laptop screen as your main display :wink:

I managed to communicate via USB, by using an external booster, so the device appears when I type

adb devices

But when I type

fastboot reboot

I still get the response

< waiting for any device >

https://docs.khadas.com/products/sbc/vim3/development/android/download-android-source-code

Sorry, have you rebooted into flashboot before running the fastboot commands ?

adb reboot fastboot

Originally, no, I wasn’t rebooting into flashboot, because the original instructions I was given didn’t specify that.
However, this time I did.

adb connect 192.168.1.120
adb devices
adb reboot fastboot
fastboot reboot

When I entered

adb reboot fastboot

The VIM3L reboots, and stays on the Khadas logo page

When I then entered

fastboot reboot

I still get

< waiting for any device >

and it stays there forever

@gar1234 ensure you run the command in an terminal with administrator privileges otherwise it may not detect the device.

HI, yes I am running a command window with Admin privileges.
My last post implied I was using adb over Wi-Fi.
I am not.
I have a direct USB-C connection.
These are my commands, with the appropriate responses:

adb devices

Response is 12-digit number and “device”
e.g.

123456789012 device

Next:

adb reboot fastboot

I waited 30 seconds before next command:

fastboot reboot

  • < waiting for any device >

Check device manager of windows to see if devices is being detected or not you might be missing the Android fastboot/adb drivers.

Hi
I think the fastboot drivers were missing.
I installed these and got further.
Using these commands I tried to replace the logo:

adb devices
adb reboot fastboot
fastboot flashing unlock
fastboot flash logo logo.img
fastboot flashing lock
fastboot reboot

Here is the full operation:

C:\dev\android adb\platform-tools>adb devices
List of devices attached
123456789012 device

C:\dev\android adb\platform-tools>adb reboot fastboot

C:\dev\android adb\platform-tools>fastboot flashing unlock
OKAY [ 0.047s]
Finished. Total time: 0.047s

C:\dev\android adb\platform-tools>fastboot flash logo logo.img
Sending ‘logo’ (4050 KB) OKAY [ 0.216s]
Writing ‘logo’ OKAY [ 0.200s]
Finished. Total time: 0.564s

C:\dev\android adb\platform-tools>fastboot flashing unlock
OKAY [ 0.053s]
Finished. Total time: 0.053s

C:\dev\android adb\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s

When the VIM3L is now re-booted, there is no boot logo - just a blank/black screen for a few seconds, and then the boot animation starts.

I have tried re-creating the boot logo/img three times - as specified earlier in this post - each time an image size 1920 x 1080px.
I export the image as 16bit BMP file (using GIMP: Export Image as BMP: 16 bits / R5 G6 B5)
I use the aml-imgpack-master to pack the image.

SO all I have succeeding in doing so far is “deleting” the boot logo

Is the bmp file name “bootup.bmp” ?