: Use lpdiff to compare the original Smali file with your modified one. It will generate the "original" and "replaced" hex strings.
Without root, Lucky Patcher is nearly useless. If you are on a modern Android device (Android 12–14), do not bother.