Print in PLA or similar material with some flex. The cover prints flat but the original battery compartment cover is slightly curved. After screwing the print in, it should bend slightly. I used a nylon screw and nut to fasten the external battery compartment.
More details about this project can be found here:
https://www.classynemesis.com/blog/repair-cybiko
The author marked this model as their own original creation.