I have a similar electrical problem on my 02 XG350. My door locks also intermittently lock when the passenger door is closed. I believe there is an electrical problem in the console behind the radio. Try this for the radio: if you keep a CD loaded in the CD player I bet your radio will not come on automatically anymore. This worked for me but I realize it's not the best solution.
I have a 2004 XG350L doing the same thing. Turns out it was a bad interior dimmer switch.
shocks
Pretty darn good.
disconnect battery
how do i bleed brakes on a 2003 hyunia xg350
How do you change a headlight bulb on 1 2004 Hyundai XG 350?
you allow your bait car
always use 5x30
it is located under the timing cover above the crankshaft pulley
under the air box on the center of the bell housing
On your left next to the cruise button
Replace the Accelerator Position Sensor. Located on the firewall.