You need to replace Manufacturer code from instruction (RM-821_eu_euro1_425) to Manufacturer code that you may see in your phone intoRM-877_nam_att_205 should persist. After that changes you should get something like
Code:
if(oSession.uriContains("RM-846_eu_russia_201"))
{
oSession.url = oSession.url.Replace("RM-846_eu_russia_201","RM-877_nam_att_205");
}
and RM-846_eu_russia_201 is the Manufacturer code of my phone. It has been changed to RM-846_eu_finland_204 after flashing to Finland version of Amber and then OTA updating it to Black.