VAgCOM change splash screen
#21
Audi Enthusiast
For those that this can help, I've gone through the script and replaced the comments with english comments (my own) based on what I see the commands doing. Everything looks pretty straightforward. The database file changes seem to be the only part that is altering things. They probably should have included instructions on how to revert back if needed.
Code:
#!/bin/ksh # Find an inserted sdcard sdcard=`ls /mnt|grep sdcard.*t` # Set the SD card path SDPath=/mnt/$sdcard # Mount the SD card mount -u $SDPath # Show a start screen $SDPath/utils/showScreen $SDPath/screens/scriptStart.png # Remove the .done flag file rm -f $SDPath/.done # Create a .started flag file echo started > $SDPath/.started # Mount read-write mount -uw /mnt/efs-persist # Backup database files to SD card cp -v -r /mnt/efs-persist/DataPST.db $SDPath/db/efs-persist/old/ cp -v -r /HBpersistence/DataPST.db $SDPath/db/HBpersistence/old/ cp -v -r /mnt/hmisql/DataPST.db $SDPath/db/hmisql/old/ # Clear values from database files (Not sure, but probably the references to the splash screen) $SDPath/utils/sqlite3 /mnt/efs-persist/DataPST.db " delete from tb_intvalues where pst_key=4100 and pst_namespace=4" $SDPath/utils/sqlite3 /HBpersistence/DataPST.db " delete from tb_intvalues where pst_key=4100 and pst_namespace=4" $SDPath/utils/sqlite3 /mnt/hmisql/DataPST.db " delete from tb_intvalues where pst_key=4100 and pst_namespace=4" # Copy altered files to SD card cp -v -r /mnt/efs-persist/DataPST.db $SDPath/db/efs-persist/process/ cp -v -r /HBpersistence/DataPST.db $SDPath/db/HBpersistence/process/ cp -v -r /mnt/hmisql/DataPST.db $SDPath/db/hmisql/process/ # Insert new values to databases $SDPath/utils/sqlite3 /mnt/efs-persist/DataPST.db "insert into tb_intvalues (pst_namespace, pst_key, pst_value) values (4,4100,1)" $SDPath/utils/sqlite3 /HBpersistence/DataPST.db "insert into tb_intvalues (pst_namespace, pst_key, pst_value) values (4,4100,1)" $SDPath/utils/sqlite3 /mnt/hmisql/DataPST.db "insert into tb_intvalues (pst_namespace, pst_key, pst_value) values (4,4100,1)" # Copy altered database files to SD card cp -v -r /mnt/efs-persist/DataPST.db $SDPath/db/efs-persist/new/ cp -v -r /HBpersistence/DataPST.db $SDPath/db/HBpersistence/new/ cp -v -r /mnt/hmisql/DataPST.db $SDPath/db/hmisql/new/ # Show the done screen $SDPath/utils/showScreen $SDPath/screens/scriptDone.png # Create a .done flag file echo done > $SDPath/.done # Remove the .started flag file rm -f $SDPath/.started
#22
Audiworld Junior Member
Join Date: Jul 2015
Location: Denver, CO
Posts: 34
Likes: 0
Received 0 Likes
on
0 Posts
I also went through the scripts and was able to translate and get this working. It's important to note that there are actually 2 scripts - one that changes the background image of the menus and one that just modifies the splashscreen - each for 2 different versions of the MMI system.
I just did the splashscreen modification one and it worked perfectly on my 2011 Q5. I'd be happy to assist anyone that wants to attempt this. Here's the custom splashscreen I used:
And here's the code. Basically you copy everything to an SD card, insert it, the script will mount the card, backup the stock splashscreens to the SD card and then copy over your custom one.
I just did the splashscreen modification one and it worked perfectly on my 2011 Q5. I'd be happy to assist anyone that wants to attempt this. Here's the custom splashscreen I used:
And here's the code. Basically you copy everything to an SD card, insert it, the script will mount the card, backup the stock splashscreens to the SD card and then copy over your custom one.
Code:
#!/bin/ksh # Determine the name of the SD card sdcard=`ls /mnt|grep sdcard.*t` # The full path to the SD card SDPath=/mnt/$sdcard # Mount SD card to get full access mount -u $SDPath # Display the script startup image $SDPath/_utils/showScreen $SDPath/_screens/scriptStart.png # Remove the .done file (if you left the SD card in from last time ) rm -f $SDPath/.done # Create .started file (a flag that the script is running) echo started > $SDPath/.started # Get full access to EFS mount -uw /mnt/efs-system # Backup the original splashscreens cp -v -r /mnt/efs-system/etc/splashscreens/* $SDPath/backup/splashscreens/ # Copy the custom splashscreen from the SD card to the MMI cp -v -r $SDPath/splashscreens/* /mnt/efs-system/etc/splashscreens/ # Display the script done image $SDPath/_utils/showScreen $SDPath/_screens/scriptDone.png # Create .done file (a flag to indicate the script worked) echo done > $SDPath/.done # Remove the .started file (the script worked) rm -f $SDPath/.started
#24
Audiworld Junior Member
Join Date: Jul 2015
Location: Denver, CO
Posts: 34
Likes: 0
Received 0 Likes
on
0 Posts
Here's the Polish forum where the script originated and a few examples of what people have changed them to:
Skrypty dla MMI 3G Basic LOW HIGH - Audi A4 B8 - Audi A4 Klub Polska
As long as you keep the file type, color depth and dimensions correct, you could put almost anything up there.
Again, you only see it when the car starts and MMI boots or when you power off the MMI while driving (in which case it shows the splashscreen and clock).
I can try to get a video of this in action and can upload the edited script.
Skrypty dla MMI 3G Basic LOW HIGH - Audi A4 B8 - Audi A4 Klub Polska
As long as you keep the file type, color depth and dimensions correct, you could put almost anything up there.
Again, you only see it when the car starts and MMI boots or when you power off the MMI while driving (in which case it shows the splashscreen and clock).
I can try to get a video of this in action and can upload the edited script.
#26
AudiWorld Senior Member
I also went through the scripts and was able to translate and get this working. It's important to note that there are actually 2 scripts - one that changes the background image of the menus and one that just modifies the splashscreen - each for 2 different versions of the MMI system.
I just did the splashscreen modification one and it worked perfectly on my 2011 Q5. I'd be happy to assist anyone that wants to attempt this. Here's the custom splashscreen I used:
I just did the splashscreen modification one and it worked perfectly on my 2011 Q5. I'd be happy to assist anyone that wants to attempt this. Here's the custom splashscreen I used:
1. I copy the code into root of an SD card.
2. I also copy image I want used into root directory of the SD card (no folder)
3. I then insert SD card into Slot 1 of my two SD card slots or doesn't matter?
4. Car probably turned off, insert SD card, then turn car on in accessory?
5. Do I have to go into the hidden menu? This is where I'm not clear from all the information I've read on this subject thus far.
Also...
6. How do I retrieve original splash screen to but back if needed. Will the script save it to SD for me to backup?
7. Does the image need to be named anything specifically?
Looks like the format required is PNG only? Could I use a GIF?? Maybe an animated GIF?
Sorry for all the questions. = (
Last edited by IknowHuhA6; 07-28-2016 at 09:22 PM.
#27
Audiworld Junior Member
Join Date: Jul 2015
Location: Denver, CO
Posts: 34
Likes: 0
Received 0 Likes
on
0 Posts
The code I posted is just the script that executes. There is a little more in the way of files/directories needed. I'm working on full instructions, a quick video and a place to host the small .zip file. Standby.
But to answer your later questions:
5) No hidden menu needed for this. This just replaces the default splashscreen with your custom one. You can always access the hidden menu and set the splashscreen to be the RS6 splashscreen on your A6, for example.
6) The script backs up the original splashscreens. I might include those in the .zip
7) I don't think a .GIF would work. From what I was able determine it has to be a .PNG with specific dimensions (800x480).
But to answer your later questions:
5) No hidden menu needed for this. This just replaces the default splashscreen with your custom one. You can always access the hidden menu and set the splashscreen to be the RS6 splashscreen on your A6, for example.
6) The script backs up the original splashscreens. I might include those in the .zip
7) I don't think a .GIF would work. From what I was able determine it has to be a .PNG with specific dimensions (800x480).
#28
AudiWorld Member
Join Date: Sep 2012
Location: San Francisco, CA
Posts: 103
Likes: 0
Received 0 Likes
on
0 Posts
This is excellent! Thanks for taking this on. I eagerly await your instructions and files. In the meantime, can you provide any insight with regard to required file properties. I took a look at the non-English site you linked to above and found that my 2014 Q5 needs a 800x480 png. But what about color bit depth and such? Any thoughts?
Thanks, again!
Thanks, again!
The code I posted is just the script that executes. There is a little more in the way of files/directories needed. I'm working on full instructions, a quick video and a place to host the small .zip file. Standby.
But to answer your later questions:
5) No hidden menu needed for this. This just replaces the default splashscreen with your custom one. You can always access the hidden menu and set the splashscreen to be the RS6 splashscreen on your A6, for example.
6) The script backs up the original splashscreens. I might include those in the .zip
7) I don't think a .GIF would work. From what I was able determine it has to be a .PNG with specific dimensions (800x480).
But to answer your later questions:
5) No hidden menu needed for this. This just replaces the default splashscreen with your custom one. You can always access the hidden menu and set the splashscreen to be the RS6 splashscreen on your A6, for example.
6) The script backs up the original splashscreens. I might include those in the .zip
7) I don't think a .GIF would work. From what I was able determine it has to be a .PNG with specific dimensions (800x480).
#29
Audiworld Junior Member
Join Date: Jul 2015
Location: Denver, CO
Posts: 34
Likes: 0
Received 0 Likes
on
0 Posts
As promised...
First a video of the script in action on my Q5 showing how easy it is to change the splashscreen:
Next, the EN_Custom_Splashscreen_3G_High.zip file with the scripts, utils, sample splashscreens, default splashscreens and the instructions below.
https://drive.google.com/open?id=0Byil6XQwl30ISWprWEdrTVI3ZkU
Zip file contents:
----- README.txt START ------
************************************************** *******************************
********************************** DISCLAIMER ***********************************
************************************************** *******************************
This script was adapted from those mentioned here:
Skrypty dla MMI 3G Basic LOW HIGH - Audi A4 B8 - Audi A4 Klub Polska
It is designed to customize the MMI splashscreen on the 7" MMI 3G systems ONLY.
Please confirm your MMI system details here:
https://en.wikipedia.org/wiki/Multi_Media_Interface
I simply translated the comments and updated the menu images used in the script.
I have successfully run this on my 2011 Q5 with MMI 3G (details below) with
no adverse affects.
Software Verison: HNav_US_P0114_D1
DB Version: 8R0060884P NAR 5.4.7
Hardware Version: 9307
Please use at your own risk. I cannot guarantee results!
************************************************** *******************************
************************************************** *******************************
************************************************** *******************************
AUDI MMI 3G HIGH CUSTOM SPLASHSCREEN INSTRUCTIONS
-------------------------------------------------
1) Unzip .zip file and copy contents of the "Copy_Contents_to_SD" directory to a FAT32 formatted SD card.
2) Create a custom splashscreen in .PNG format with 800x480 dimensions with 24-bit color depth.
IMPORTANT - it MUST be named "startup_generic.png" for this to work!
3) Copy your custom splashscreen - startup_generic.png - to the \splashscreens directory on SD card.
At this point, the contents of the SD card should look like this:
4) Remove any SD cards from slots SD1 or SD2.
5) Turn on ignition.
6) Wait 2-3 minutes until the MMI system is fully booted.
7) Insert SD card into SD1 and wait for the "scriptStart.png" menu image to display.
8) Press the center control **** button to continue.
9) Wait until the script completion menu image "scriptDone.png" appears.
10) Press the center control **** button again.
11) Wait at least 1 minute then reset the MMI system using procedure below:
To Reset the MMI system:
Press and hold down the SETUP button, the center control **** button and the top right select button simultaneously until the MMI system shuts down. Release keys to reboot the MMI system.
To really confirm that the script has run, insert the SD card back into your computer and view the contents. You should see a ".done" file in the root directory on the SD card.
This indicates the script ran successfully. If you only see a ".started" file, then the script ran but did not complete. Chances are there is something wrong with the .png file or the script was interrupted.
You should also see the original splashscreens backed up into the /backup/splashscreens directory.
SD Card Contents After Successful Run:
NOTE: Any dealer-initiated firmware flash will revert these changes! You will need to run this script again.
Also, this procedure is different than the procedure for changing the splashscreen in the hidden green menu that's discussed elsewhere.
----- README.txt END ------
Please let me know if you have any questions! Also, feel free to share your custom splashscreens here! Thanks!
First a video of the script in action on my Q5 showing how easy it is to change the splashscreen:
Next, the EN_Custom_Splashscreen_3G_High.zip file with the scripts, utils, sample splashscreens, default splashscreens and the instructions below.
https://drive.google.com/open?id=0Byil6XQwl30ISWprWEdrTVI3ZkU
Zip file contents:
Code:
\Copy_Contents_to_SD <--The contents of this directory goes on the SD card \Default_Splashscreens <-- Default Audi splashscreens (just in case) \Other_Custom_Splashscreens <-- Another custom splashscreen I found \Q5_Custom_Splashscreen <-- The Q5 splashscreen I use in the video README.txt <-- Same instructions & disclaimer as below
************************************************** *******************************
********************************** DISCLAIMER ***********************************
************************************************** *******************************
This script was adapted from those mentioned here:
Skrypty dla MMI 3G Basic LOW HIGH - Audi A4 B8 - Audi A4 Klub Polska
It is designed to customize the MMI splashscreen on the 7" MMI 3G systems ONLY.
Please confirm your MMI system details here:
https://en.wikipedia.org/wiki/Multi_Media_Interface
I simply translated the comments and updated the menu images used in the script.
I have successfully run this on my 2011 Q5 with MMI 3G (details below) with
no adverse affects.
Software Verison: HNav_US_P0114_D1
DB Version: 8R0060884P NAR 5.4.7
Hardware Version: 9307
Please use at your own risk. I cannot guarantee results!
************************************************** *******************************
************************************************** *******************************
************************************************** *******************************
AUDI MMI 3G HIGH CUSTOM SPLASHSCREEN INSTRUCTIONS
-------------------------------------------------
1) Unzip .zip file and copy contents of the "Copy_Contents_to_SD" directory to a FAT32 formatted SD card.
2) Create a custom splashscreen in .PNG format with 800x480 dimensions with 24-bit color depth.
IMPORTANT - it MUST be named "startup_generic.png" for this to work!
3) Copy your custom splashscreen - startup_generic.png - to the \splashscreens directory on SD card.
At this point, the contents of the SD card should look like this:
Code:
\[_screens] scriptDone.png scriptStart.png \[_utils] DecodeScript hd pax reboot showScreen sqlite3 sysctl \[backup] \[splashscreens] \[splashscreens] startup_generic.png <-- This is YOUR custom splashscreen copie_scr.sh run.sh
5) Turn on ignition.
6) Wait 2-3 minutes until the MMI system is fully booted.
7) Insert SD card into SD1 and wait for the "scriptStart.png" menu image to display.
8) Press the center control **** button to continue.
9) Wait until the script completion menu image "scriptDone.png" appears.
10) Press the center control **** button again.
11) Wait at least 1 minute then reset the MMI system using procedure below:
To Reset the MMI system:
Press and hold down the SETUP button, the center control **** button and the top right select button simultaneously until the MMI system shuts down. Release keys to reboot the MMI system.
To really confirm that the script has run, insert the SD card back into your computer and view the contents. You should see a ".done" file in the root directory on the SD card.
This indicates the script ran successfully. If you only see a ".started" file, then the script ran but did not complete. Chances are there is something wrong with the .png file or the script was interrupted.
You should also see the original splashscreens backed up into the /backup/splashscreens directory.
SD Card Contents After Successful Run:
Code:
\[_screens] scriptDone.png scriptStart.png \[_utils] DecodeScript hd pax reboot showScreen sqlite3 sysctl \[backup] \[splashscreens] <--These are the default ones backed up from your car startup_generic.png startup_rs.png startup_rs6.png startup_s.png startup_s4.png startup_s5.png startup_s6.png \[splashscreens] startup_generic.png copie_scr.sh run.sh .done <-- Notice the new file here
Also, this procedure is different than the procedure for changing the splashscreen in the hidden green menu that's discussed elsewhere.
----- README.txt END ------
Please let me know if you have any questions! Also, feel free to share your custom splashscreens here! Thanks!