Thanks, I did the corrections but I'm on my laptop now so I can't compile to see if it works
Here, I've uploaded the device files I use for my rom device_zte_mooncake. It has a few modifications here and there but nothing big, the kernel it uses is my own, based on the sources of my github but with different touchscreen driver and it's for racer1 phones (don't know what Carl is compatible with), it boots out of the box so you can check and compare it with what you're using (if Carl is racer2 like then you'll need to change the kernel to boot)
how to create a proprietary file from my phone and uploaded on github
I'm not sure I follow you, what do you mean exactly?