Where do you get the idea there are different versions of the libnickel.so for each device? If you compare the firmware packages for the same release, they are virtually identical. The differences are in drivers, images and some fonts. The executables are identical.
There are difference in what you see on the screen, but they are runtime choices by the code. The keyboard is different between the older and newer devices. Or maybe it is the difference in resolution. I don't have an Aura Edition 2 to compare the keyboard with my Glo, so I don't know exactly what the rule is. That does mean you probably need to patch two parts of the code, but you should be able to do it in one copy of the executable.
To me the simplest way to do this is the same as the other patching. Do it on the PC. If you do find you need to do things differently for each type of device, you could do it based on the contents of the "update" directory. Or do it when the device is connected and look at the version file on the device. Then build the KoboRoot.tgz and copy it to the device.
|