Chosen Solution

my xbox 360 slim 4gb tray going open and close by itself and sometime or most of time power button dose not work i should turn it on bu my controller .but the worst problem is open and close tray by itself . plz help

The other possibility is the open/close sensor that is attached to the front underside of the drive. It is a little switch held by two plastic clips and has three wires going to it. If one of the clips breaks (which occurs often), it cause the sensor to drop to an angle and the tray does not trigger the switch everytime. You would need to put electrical tape or foam under the sensor to keep it held in place.

The touch switch flex cable could be damaged. Replace the cable