Comments (5)
@ludwig-v is pretty accurate. I was banned without reason and when I questioned the ban by the mod, I was banned abruptly without warning. Nice. Since then I really stopped all work on this project. I appreciate Ludwig for keeping it alive and including it in the latest firmware :)
Anyways. This can be doable.
By default the UI is presented in 4 resolutions:
- 1920 x 1080
- 1280 x 720
- 1024 x 480
- 800 x 480
We can only work with what we have here. That being said. From what it seems like it happening is that your head unit is choosing the wrong (or closest) resolution to what you have - which is skewing off the elements x/y.
Since we cannot add a a new resolution for 1280x640 you would need to modify the current one that is being used by your unit and reposition each element.
To do so you would need to extract the tar, remove each resolution file one by 1 and figure out exactly which one is being used by your car. My guess is either ui_1280x.script (1280x720) or ui.script (800x600) - I think the latter.
You can use linux or Cygwin for Windows (https://cygwin.com/install.html) to untar/tar it.
Untar Command:
tar -xvf ui.tar.gz
Tar Command:
tar -czvf ~/ui.tar.gz * --owner=0 --group=0
Once you figure out which file is being used for your UI, you will need to work with each element and move it over. Retar and reupload it to the device, plug and test. It's tedious. However I made sense of it I think with many comments, so understanding should be easier than when I went through with just Chinese and random elements everywhere.
Once you find the 'sweet spot' x and y it should be pretty straight forward to align everything.
At worst case if you make any major mistakes you will just end up with a BLACK UI, at which point you can restore your original ui.tar.gz to revert.
Goodluck!
from wireless-carplay-dongle-reverse-engineering.
Thanks for this @th1efx! It seems like it is indeed using ui.script (800x480) for some reason.
Instead of changing every single element, I copied and pasted most of the alignment from ui_1280x.script instead (since the horizontal resolution is the same, it saved a bit of work). Some adjustments still had to be done, but most UI elements i left as is.
Overall not perfect, but much better than what it looked like before 👍
from wireless-carplay-dongle-reverse-engineering.
Glad you got it working :-) since you were able to untar/retar you have the basic concept of what needs to be done - if you want to move elements around. When you open the config file you will see the x/y I broke down in each section and you can increase them a bit and retest to move things left and right / up and down to centre them.
from wireless-carplay-dongle-reverse-engineering.
TireGuy6 has been banned from MacRumors, deleted his work and doesn't want to work on this anymore so it is up to you or someone else to edit the custom theme. Do you have a picture so we can see the issue ?
from wireless-carplay-dongle-reverse-engineering.
I see. I would love to have a go at editing the theme but I don't have a single clue on where I would even begin.
The issue really is just to do with alignment on the pairing screen (the settings menu seems to be fine). There is a script for 1280x720 resolution, but for some reason it could be using the alignment for 800x480 instead (?) and aligns to the top left corner.
from wireless-carplay-dongle-reverse-engineering.
Related Issues (20)
- Unable to rollback/upgrade to CFW HOT 20
- Is it possible to upgrade to Autokit? HOT 1
- How to enable UART output? HOT 1
- carlinkit u2w plus no power after update HOT 3
- Activation Product error - Android version dongle
- Enhancement: more languages
- Original Carlinkit (10MB rootfs) + latest firmware HOT 3
- January CP2AIR FW HOT 2
- Navigation HUD support HOT 1
- Carlinkit CPC200-CP2A with an aftermarket display HOT 1
- How to unpack firmware.img HOT 1
- Carlinkit 4.0 / CPC200-CP2A update/recover with U2AW offline firmware - WORKS!
- Carlinkit 2.0 CPC200-U2W Unbricking HOT 2
- Restore to stock firmware HOT 1
- CarPlay PC emulator HOT 1
- Re: Quadlock Carplay Adapter
- Unable to activate display failure "501" HOT 4
- Carlinkit Carplay CPC200-CP2A V 4.0 with 16:6 ratio HOT 6
- CP2AIR binary HOT 2
- Emulation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireless-carplay-dongle-reverse-engineering.