Okay, so here are two new versions to test. If you do, please give feedback.
The only change is the way the color changing is handled. So please change the colors back and forth and report any oddities (or if it's working).
To change the color, the ui.zip will be unpacked, the image set with the selected highlight color will be copied to the folder that is used by the recovery, and a search and replace operation will alter color definitions in the xml file. Then everythig is zipped again and copied to the theme folder.
- The color change will no longer happen "on the fly". The recovery needs to reboot for the change to take effect.
- The xml file is no longer 25k lines long, but 10k lines (like current minimal themes). Once you have set up the theme, the time to boot to recovery should decrease significantly (compared with the current multicolor versions).
- If this works on all devices, there will be no more need for the minimal themes (good for me).
- The shortened xml gives room for new features without pushing boot time above 10 seconds (good for all).