Thanks to the earlier thread with TLink versions, I updated my TLink to v2.0.12.
I've only tested the below on this version, so its best to grab it from there. Additionally I only have Android, so this is tested on Android Auto only.
It turns out that TLink reads a 'hidden' configuration file in order to initialize a few things. This configuration file allows us to specify both the screen and video parameters.
More importantly for Android Auto, we can also set the pixel density, much like Headunit Reloaded which enables split mode in Android Auto.
An example configuration for my 2000x1200 high resolution TS10 headunit is as follows:
The configuration file should be created at /data/local/tmp/suding/sdcf and should have 777 or a+xrw rights.
I was able to copy the file into the right location using Terminal Emulator for Android, but there may well be better methods.
If you are going the terminal emulator way, type the following commands. This is assuming you placed your sdcf file in your Downloads folder on the headunit.
After this your can start TLink and you should see the changes. If you do not see any changes, TLink was already started and you should probably reboot the headunit.
Looking forward to people testing for the best optimized values or easier ways to update the configuration file.
I've only tested the below on this version, so its best to grab it from there. Additionally I only have Android, so this is tested on Android Auto only.
It turns out that TLink reads a 'hidden' configuration file in order to initialize a few things. This configuration file allows us to specify both the screen and video parameters.
More importantly for Android Auto, we can also set the pixel density, much like Headunit Reloaded which enables split mode in Android Auto.
An example configuration for my 2000x1200 high resolution TS10 headunit is as follows:
INI:
#channelId
dingwei
#Configuration
AAUTO_DISPLAY_VIDEO_WIDTH=1920
AAUTO_DISPLAY_VIDEO_HEIGHT=1080
AAUTO_DISPLAY_VIDEO_DENSITY=238
#AAUTO_DISPLAY_VIDEO_FPS=25
CARPLAY_FULL_SCREEN_DISPLAY=true
#CARPLAY_IAP_PATH=
CARPLAY_DISPLAY_VIDEO_WIDTH=2000
CARPLAY_DISPLAY_VIDEO_HEIGHT=1200
#CARPLAY_SCREEN_TOUCH_WIDTH=
#CARPLAY_SCREEN_TOUCH_HEIGHT=
#CARPLAY_SCREEN_MM_WIDTH=
#CARPLAY_SCREEN_MM_HEIGHT=
#MPU_STATUS_BAR_HEIGHT=
#SPEEDPLAY_CONFIG_FILE_PATH=
#SPEED_PLAY_MODE_SUPPORT_DEFAULT=
The configuration file should be created at /data/local/tmp/suding/sdcf and should have 777 or a+xrw rights.
I was able to copy the file into the right location using Terminal Emulator for Android, but there may well be better methods.
If you are going the terminal emulator way, type the following commands. This is assuming you placed your sdcf file in your Downloads folder on the headunit.
Bash:
cd /data/local/tmp/suding/
cp /storage/emulated/0/Download/sdcf sdcf
chmod a+xrw sdcf
After this your can start TLink and you should see the changes. If you do not see any changes, TLink was already started and you should probably reboot the headunit.
Looking forward to people testing for the best optimized values or easier ways to update the configuration file.