Login
05-11-2020, 05:33 PM | #1 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
10.25" Android 9/10 HU theming and discussion
Ok peeps, since we have a set of new tools to overlay the default launcher and redirect some of the shortcuts on our Android head unitu, I am moving theme related discussion from both Android 9 and Android 10 threads to this one.
If you want to chat with people you can also join the Automotive Android Headunit Discord channel. Tools and guides KswRedirect is a suite of apps to redirect default shortcuts. The following tiles can be redirected to any other: browser, dvr, file explorer, phonelink. More info here and all-in-on package can be found here. KswOverlay for Android 8.1, 9 and 10. This tool lets you compile main launcher overlay themed to your liking, more info here. For details on how to create your own theme and compile overlay apk please check this video guide. Overlay guide that helps to identify individual images and strings. Splash image tool allows you to create your own boot image. How to guide can be found here. Personalised BMW image. This guide will show you how to obtain an image of your own car - please note this method only applies to cars compatible with ConnectedDrive app. BMW Accessories Configurator. If your car doesn't support ConnectedDrive and was built anytime between 2000-2010, you can use this tool to select your platform, paint job, wheels, details, interior etc and make your own graphics based on that. Guide to create your own GUI Video tutorial on how to create a custom boot animation and example files. Video tutorial part 2 showing how to deal with other resolutions than 1240x480 and how to adjust source files resolution to match Android HU resolution. Downsizing tutorial for boot animation. UI problems caused by boot animation being too large. Scrcpy for those of you how want to tinker with head unit on your desk, this is the app that allows you to display and control any Android device on your PC or Mac. For SD625 units it only works over WiFi but on older units it might work with USB A male to USB A male cable. A guide how to use it can be found here. TL;DR Here is what you need to install a theme: 1. A laptop or PC (Windows/Mac/Linux - doesn't matter). Your Android head unit and laptop/PC are on the same local network and can talk to each other. 2. KswOverlay project. 3. Java's JDK and JRE (linked in point 2). 4. A theme - if you decide to create a personalised car tile with your own car here are further requirements: 4a. Picture of your car. 4b. Photo editing tool like Photoshop or Gimp. Now we have that sorted out, here is simplified procedure how to install: 1. Create your personalised "car tile"... or not. 2. Copy theme files to \KswOverlay-master\resources. 3. Compile your apk. 4. Make sure your laptop or PC are on the same network local as your Android HU. 5. Find out what is the IP address of Android unit. 6. Install overlay (script included). 7. Enable overlay with adb command. 8. You are done. Once overlay is installed and running, you can always compile new apk with different graphics, copy it to a USB drive in simply install it on your Android unit - no need for laptop/PC again. When new version of Android OS comes out and you decide to install it, then you have to repeat this procedure to upload and enable overlays (themes) again. Understanding Android boot up sequence and preparing files for your animation: Android boot up is split into two parts: first you would be presented with splash image – a static image that is shown before the animation starts. Then there is the animation itself. Preparing splash.img file: 1. If you want to have smooth transition between splash image and boot animation you would typical use first frame (image) of your boot animation and convert it to splash.img. This is not necessary as you can you any image you want. 2. If you don’t want to use the first image of your boot animation, it is important that your splash image is the same resolution as your screen. 3. Use splash image tool to convert your image to splash.img Understanding and preparing bootanmiation.zip file: Here I won't cover how to actually make your own animation (this is explained in a video linked above) but rather explain how to prepare files for installation. Just remember that it doesn't matter if images are jpg or png, what matters is that the size of complete animation doesn't exceed 20MB. 1. Boot animation file consist of 2 elements: folder(s) ( part0 part1 … partn ) where images are contained and description file ( desc.txt ) telling Android how to play animation. 2. Each folder contains set of images that are being played out. A typical animation consists of 2 folders part0 and part1. In this case part0 would contain the main animation (set of images) and part1 only 1 images acting as a final step before booting sequence is complete. 3. For all of this to play out you need a description file. There are 2 elements to the description file: declaration of resolution and frame rate at which animation is to be played out, and information how to play each folder. Here is an example: 1920 720 25 c 1 0 part0 p 75 0 part1 1920 720 25 is declaration of screen width x height x fps Then there is declaration of: type of playback , how many times , delay , path - c stands for play in full - p stands for play but once boot sequence is complete, interrupt (finish) playback - first number stands for how many times this sequence is to be played - second number is the delay between playback starts - and finally last part is path of files to be played. So taking apart this example we have the following: Animation is 1920x720p at 25fps Play in full part0 images only once (1) with 0 delay Then play 75 times (assuming only 1 image is located the folder - 75 frames / 25 fps = 3 sec) part1 but stop it as soon as boot sequence is complete 4. Once all folders and desc.txt files are ready, use 7zip program to put your files in a zipped folder. It is important that you select compression level store, meaning files are contained in the zip file and not compressed at all. 5. Create OEM folder in the root of your USB stick. 6. Move bootanimation.zip and splash.img files to the OEM folder. 7. Plug in USB stick to your HU and wait for confirmation message. 8. Done. Hope this is clear as mud now ![]() Last edited by RedErik; 11-29-2020 at 04:33 PM.. |
05-11-2020, 05:34 PM | #2 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Themes
IMPORTANT NOTE Some of us here are able to provide customised themes for you guys. If you decide to approach any of the designers here, please bear in mind that this is all possible thanks to nicholaschum hard work and no one should profit from that. Artist should be compensated for their work but if you are being charged more than 10€ / £10 / 10$ you should be refunded what you've paid extra. ID7 theme by myself Updated: 24.05.2020 ID7 Media Player theme by myself Updated: 18.05.2020 ID6 GS theme by kri Last edited by RedErik; 11-02-2020 at 04:18 AM.. |
Appreciate
3
|
05-11-2020, 05:38 PM | #3 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Custom APPs
Standalone custom dashboard app. To answer your question, no this will not replace your existing dashboard - this is a standalone app that you have to launch from your app drawer. daschacka Original coding Frankly30 Self adb implementation and some tweaks RedErik Custom graphics Original post ![]() Custom iDrive launcher CIC/NBT style. iDrive Keyboard is live ![]() ***IMPORTANT ANNOUNCEMENT*** If you are on the KSW software version 2.5.3 - Android 10, due to new and very strict memory manager every application that is not system app or KSW app will be killed after few minutes. That also affects this keyboard. If you are being suddenly switched back to Android stock keyboard it means KSW memory manager killed my keyboard. I am working on solution (if at all possible) but until then please revert back to previous software version that worked for you. Thank you for your understanding. FlowUX Synesthesia custom launcher by nicholaschum Last edited by RedErik; 01-06-2021 at 03:39 PM.. |
Appreciate
4
|
05-11-2020, 05:41 PM | #4 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Boot animations and splash images
Universal boot animations along with splash images for 1280x480 and 1920x720 units. How to install on SD625: 1. Create OEM folder in the root directory of your SD card/USB stick 2. Copy both bootanimation.zip and splash.img to the OEM folder 3. Plug in to your Android unit 4. Wait for confirmation of successful installation 5. Reboot and enjoy How to remove boot animation from SD625 unit: 1. Create OEM folder in the root directory of your SD card/USB stick 2. Create an empty bootanimation_clear.zip file and move it to the OEM folder 3. Plug in to your Android unit and wait Thanks to VincentZ4 for providing installation instructions for PX6 units and 3bl for providing additional steps in case you encounter any isses. How to install on PX6: Splash image / 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: Code:
setprop persist.adb.tcp.port 5555 setprop sys.rkadb.root 1 reboot - launch Terminal Emulator in your HU Code:
ifconfig wlan0 Then in your computer: Code:
adb connect 192.168.x.x:5555 (fill in the remembered address) adb root adb disable-verity adb reboot in terminal command in your computer: Code:
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 Be careful, 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: Code:
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 may need to reconnect after each "adb root" command. In order to be sure, you can check after each step if device is still connected (in steps 2 and 3). You should see the animation now ! NBT boot animation - demo video NBT EVO boot animation - demo video NBT M boot animation - demo video Universal 1 boot animation - demo video Splash image thanks to mbonus Universal 2 boot animation - demo video Last edited by RedErik; 01-26-2021 at 07:39 AM.. |
Appreciate
3
|
05-11-2020, 06:10 PM | #5 | |||
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Tasker projects
Thanks to VincentZ4 for detailed documentation of KSW API, commands and events for Tasker. Quote:
Quote:
Quote:
Last edited by RedErik; 07-07-2020 at 11:05 AM.. |
|||
05-11-2020, 06:55 PM | #6 |
Second Lieutenant
![]() ![]() 52
Rep 228
Posts |
since we're talking about themes, here is my M splashboot image
![]() Just rename attached .pdf to .img |
05-13-2020, 11:39 PM | #7 |
Captain
![]() ![]() ![]() ![]() ![]() 630
Rep 807
Posts |
Hello guy`s,
I created a All-In-One Package for KSWRedirect to do the setup more easily. The Download can be found on Github-KswAIO , just click on "clone or download" and extract the package. You Just need to enter your devices IP Adress (without 5555) and select the number of the app you want to replace ![]() When replacing ES-Explorer it will also install DocumentsUI to not end without any filebrowser on the Headunit. For now this only will work with Snapdragon Headunits. Kri Last edited by Kri; 05-13-2020 at 11:50 PM.. |
05-13-2020, 11:49 PM | #8 |
Captain
![]() ![]() ![]() ![]() ![]() 630
Rep 807
Posts |
I also created a Installer for KSW-Overlay.
The Installer is within the Github-KSW-Overlay repository and called kswoverlay-installer_windows.bat. As doing adb commands on very fast machines or when wireless network connection may cause troubles alot of waiting times have been added. Also there is no need to manually resume the script anymore, it will do the reboots for you and waits until is online again. You also need to only enter the IP-Adress without 5555. This will work for Snapdragon and PX6 Headunits. Kri Last edited by Kri; 09-07-2020 at 09:48 AM.. |
05-14-2020, 05:55 AM | #9 |
Private First Class
![]() ![]() 15
Rep 104
Posts |
First of all: nice topic and thnx for the good work!!
I found this topic from following the Android 10 HU topic. I want to change the car picture on my ID7-theme. I managed to get a picture of my car from the Car Configurator tool, but now I am facing difficulties in putting this picture in. Within ID7, the car and background are 1 picture (without layer). Can someone help to put the picture of my car onto the ID7 standard background (black with some red ++). Tried a lot of hours in GIMP/Photoshop but I can not get a nice picture with transparent background out of the E61-image ![]() Attached: 1. picture of my car from the Configurator (E61; saphire black; M-pack; M135 Wheels). 2. edited picture by myself (removed the licence plate) 3. picture of the current ID7-car (took from KSW drawable-mdpi-v4 folder) I have a CCC SD625 unit by the way. Last edited by kenza750; 05-14-2020 at 05:59 AM.. Reason: add attachment |
Appreciate
0
|
05-14-2020, 06:56 AM | #10 | |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Quote:
This is as far as I can help you with that. If you want a different background you have to make it yourself. |
|
05-14-2020, 07:16 AM | #11 |
Private First Class
![]() ![]() 15
Rep 104
Posts |
Wauw, RedErik, excellent. How did you manage that??
![]() I managed to get the original backgound (with the red ++) by copying the top part downwards so I will try to use that one to match the rest of the backgrounds of standard ID7. Many thanks again!! |
Appreciate
0
|
05-14-2020, 07:22 AM | #12 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
|
Appreciate
0
|
05-14-2020, 07:23 AM | #13 | |
Captain
![]() ![]() ![]() ![]() ![]() 630
Rep 807
Posts |
Quote:
Use the original car file of kswplauncher (not a screenshot of it) and modify this. EDIT: was wrong, backround is with car image at ID7. Kri Last edited by Kri; 05-14-2020 at 07:47 AM.. |
|
Appreciate
0
|
05-14-2020, 07:28 AM | #14 | |
Private First Class
![]() ![]() 15
Rep 104
Posts |
Quote:
The original file of the car is with background as far as I can see. (see screenshot of the files) |
|
Appreciate
0
|
05-14-2020, 07:29 AM | #15 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
|
Appreciate
0
|
05-14-2020, 07:44 AM | #16 |
Captain
![]() ![]() ![]() ![]() ![]() 630
Rep 807
Posts |
|
Appreciate
0
|
05-14-2020, 07:48 AM | #17 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
|
Appreciate
0
|
05-15-2020, 06:46 AM | #19 |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
|
Appreciate
0
|
05-15-2020, 08:04 AM | #20 |
First Lieutenant
![]() ![]() 105
Rep 315
Posts |
It's a separate app, but I have a vague memory of a DAB Tile in earlier launcher versions. Many of us have for a long time used the DVD Tile to launch DAB. Now with theme capabilities we can also update the image, and with DAB being so common, I was hoping a DAB image could be included with the themes.
|
Appreciate
0
|
05-15-2020, 08:50 AM | #21 | |
Captain
![]() ![]() ![]() ![]() ![]() 378
Rep 640
Posts
Drives: BMW 645Ci
Join Date: Oct 2019
Location: Inverness
|
Quote:
![]() |
|
Appreciate
0
|
05-15-2020, 10:03 AM | #22 | |
Captain
![]() ![]() ![]() ![]() ![]() 630
Rep 807
Posts |
Quote:
At ID7 you can only change the function of the small "Music" icon. If you want to have an DAB+ Tile working you need to use other GUI`s like ID5, ID6, Common_UI_GS or Common_UI_GS_UG To have a better overview you can find images of the default GUI`s here. Kri |
|
Appreciate
0
|
Post Reply |
Bookmarks |
Thread Tools | Search this Thread |
|
|