Default what is the original and edited smali for diffing out for

so i want to do this:
and i follow it until the end where theres the attachment and i want to know if u have to do something w the attachment for it to work
or if it will work without doing anything w the
also could it brick my at&t samsung s5 as its based off of the Sprint NE5 4.4 release