Chosen Solution

change the screen and cable is illegal?

I’m not sure what you mean by that but you are free to replace the screen on your iPhone with an aftermarket one. You’ll lose true tone functionality but keep auto brightness when the screen is replaced. If you want to retain the true tone display function on the phone the display chip data must be copied from the screen that came with the phone to the replacement screen.