If the phone will not let you change the ringtone when it is in silent mode, you probably just need to temporarily put the phone into "sound" mode then change the ringtone then put the phone back into silent mode.
Which phone?
Which version of android?
Which carrier?