IDDLE LOGO Customization

All things relating to OLED Screen(s)
Post Reply
EA3BIL
Posts: 40
Joined: Tue Apr 17, 2018 11:45 pm

IDDLE LOGO Customization

Post by EA3BIL » Tue Jun 18, 2019 12:09 pm

Yes the Iddle Logo can be changed, as you see...

What do you need to do it??

Picture to C Hex converter (OnLine): https://www.digole.com/tools/PicturetoC ... verter.php
NOTE: Image MUST be 128 x 16 bits (So don't expect The Mona Lisa as image...)

Tools: GHEX Linux.

Offset for the 1st byte of the logo to be modified: 0x3B60D618 (Using the .IMG from Pi-Star_RPi_V3.4.17_20-Jan-2019.zip )
Here you have room for you logo.

The Original logo HEX code is the following:
00000000000000000000000000000000
01F803FC7F803FC7FFFCF800F9FC01FE
01FC07FC7FC07FC40002480091FE03FE
03FC07FC7FC07FC5FFF1240123FE03FE
03FE0FBC7BE0FBC50009240123DF07DE
07DE0F3C79E0F3C50005120247CF079E
079F1F3C79F1F3C500051202478F8F9E
0F8F1E3C78F1E3C5000509048F878F1E
0F0FBE3C78FBE3C5000509048F07DF1E
1F07FC3C787FC3C5000504891F03FE1E
1E03FC3C787FC3C5000904891E01FE1E
3E03F83C783F83C5FFF102723E01FC1E
3C01F03C781F03C4000202023C00F81E
7C01F03C781F03C7FFFC01FC7C00F81E
00000000000000000000000000000000


This is the "area" you have for placing yours.

Yes, it's a hard work typing all those hex numbers by hand...
But the price deserves it, isn't it?



There's another way to get it...
Editing the file OLED.cpp at MMDVMHOST source and compiling by yourself, but...
I don't know how to get Pi-Star "working" with that customization.
I leave that option to "really expert ones".
Attachments
Rotate0.jpg
Rotate0.jpg (61.99 KiB) Viewed 525 times
Rotate1.jpg
Rotate1.jpg (80 KiB) Viewed 525 times

W8NRD
Posts: 1
Joined: Mon Oct 07, 2019 5:28 pm

Re: IDDLE LOGO Customization

Post by W8NRD » Mon Nov 04, 2019 12:13 am

Thanks for these instructions. I was able to modify mine without issue.

IMG_20191101_200457 (Small).jpg
IMG_20191101_200457 (Small).jpg (82.29 KiB) Viewed 135 times

It should be noted that upgrades using the command pistar-upgrade could replace the MMDVMHost executable and revert back to standard screensaver.

Once I had my C Hex code for my image, I modified the MMDVMHost binary for Pi-Star:4.1.0-RC6 using the following steps (Use at your own risk):

Download the MMDVMHost binary from my working pi-star to my local computer. It is found in the /usr/local/bin
Open MMDVMHost in HxD Hex Editor for Windows
Search for hex of the first couple lines of the default logo
Select the entire logo hex code and paste in the replacement code (HxD warns if the size is different, so pay attention and select and replace only the logo code.)
Save the file (HxD automatically saves a backup.)
Logon to the pi-star ssh and make the disk rw.
Make a backup of /usr/local/bin/MMDVMHost binary to /home/pi-star giving it a .bak or something like that (just in case)
Upload the modified binary back to the pi-star into the pi-star home directory
kill the MMDVMHost process
Elevate your pi-star logon to root and copy the MMDVMHost binary back to /usr/local/bin
Make the disk ro
Reboot the pi-star

Worked for me. Thanks again for the .img instructions.

Post Reply