View Single Post
      06-02-2020, 03:30 AM   #65
VincentZ4
New Member
VincentZ4's Avatar
France
26
Rep
10
Posts

Drives: BMW Z4 28i M Package - 2014
Join Date: Sep 2019
Location: Paris

iTrader: (0)

bootlogo and bootanimation on PX6-9.0

Quote:
Originally Posted by haibn92 View Post
I don’t change the OEM files, but rename the “custom” files to match them? Because the name is slightly different as you see (boot instead of bootanimation). Do you have a picture of your dev/block/bootdevice/by-name partition?
Hi ! I have a PX6-9.0 and I do not recommend to touch these files.
You risk to brick your screen.

On PX6-9.0, it is quite "simple" to change the boot logo and bootanimation.
No need to try to hack things out.


Boot logo:
- Create PNG image 1280x480
- Transform this image into bmp
- Rename it to logo.bmp
- Put the logo.bmp in usb OEM folder
- Turn the device off
- Wait 15 sec
- Plug the usb in
- Let the system start
- Stop the system
- Start again

Bootanimation.zip
on PX6, you will need to use adb as root from a computer.
There are 4 steps to follow:

STEP 1: create bootanimation.zip
bootanimation.zip is a set of files as described here: https://android.googlesource.com/pla...tion/FORMAT.md


One thing to know, in the desc.txt, the last txt line is empty :
-- beginning of file --
1280 480 25
p 1 0 part0
p 0 0 part1

-- end of file --

Step 2: enable adb WIFI.
- connect the HU and computer in the same WIFI network
- go in developers options: -> enable USBdebug.
- install Terminal Emulator in your HU
- run HU Terminal Emulator and enter following commands:
> setprop persist.adb.tcp.port 5555
> setprop sys.rkadb.root 1
> reboot

When the HU is rebooted:
- launch Terminal Emulator in your HU
> ifconfig wlan0 : to know your HU address in WIFI, remember this lan address !!! like for example 192.168.0.3

Then in your computer:
> adb connect 192.168.x.x:5555 (fill in the remembered address)
> adb root
> adb disable-verity
> adb reboot


STEP 3: To have root access to your HU from your computer
in terminal command in your computer:
> adb devices (you should see your HU IP address listed, remember it)

> adb connect 192.168.x.xxx:5555 (fill in the remembered address)
> adb root
> adb remount


NOW, you have a temporary root access to your HU.
Be carefull, big power comes with big responsibility.

STEP 4: install bootanimation.zip
Put the bootanimation.zip you want to install in the root of your USB.

Computer terminal command:

> adb shell cp /storage/usb_storage/bootanimation.zip /system/media
> adb shell cp /storage/usb_storage/bootanimation.zip /data/local
> adb shell chmod 644 /system/media/bootanimation.zip
> adb shell chmod 644 /data/local/bootanimation.zip
> adb shell chmod 755 /system/media
> adb reboot


You should see the animation now !
__________________
PX6 4-32 - Android 9
Appreciate 2
RedErik1050.00