go to xda developers site...u can find soo many solutions...i think first u have to unlock the bootloader....then flash a stock firmware gereric worldwide...i also had a xperia l & i flashed many custom roms to it...no any problems...try to read those stuffs and understand....