This was Exiles Code So I take no credit, and i might be missing something but try this to add fan control function to uix....
In Default.xip..default.xap enter this code at the very bottom
-----------------------------------------------------------------------------------------
// Function to set Fan Speed
function SetFanSpeed() //Exiles
{
var IniFile = new Settings;
IniFile.SetIniSection( "Sys Config" );
var FanSpeedST = IniFile.GetIniValue( "FanSpeed" );
var FanSpeedS = ReturnInteger(FanSpeedST);
if (FanSpeedS==20) { theConfig.SetFanSpeed(20); }
else if (FanSpeedS==30) { theConfig.SetFanSpeed(30); }
else if (FanSpeedS==40) { theConfig.SetFanSpeed(40); }
else if (FanSpeedS==50) { theConfig.SetFanSpeed(50); }
else if (FanSpeedS==60) { theConfig.SetFanSpeed(60); }
else if (FanSpeedS==70) { theConfig.SetFanSpeed(70); }
else if (FanSpeedS==80) { theConfig.SetFanSpeed(80); }
else if (FanSpeedS==90) { theConfig.SetFanSpeed(90); }
else if (FanSpeedS==100) { theConfig.SetFanSpeed(100); }
else { theConfig.SetFanSpeed(100); }
}
Then add these 2 lines in your system Folder at the very bottom of your UIX ini file
example...
-----------------------------------------------------------------------------------------------
Path=emulators
Name=Emulators
[Games]
Path=games
Name=Games
[Sys Config] <-------
ADDFanSpeed=30 <-------
ADDnow you can control fan speed through you dash!
also you must reset reset dash for update to take place