I have extracted this modem frm the firmware you described:
https://mega.nz/#!L8VwQRJY!ESrUJlFyM_kRTNEZQaUqBiLcecQ1NgBvsbBjDz77EyU
The easiest way to flash it manually is (you need root for it):
Copy the modem IMG-file to your internal storage (don't rename it!)
Open up an ADB command line on your computer
Execute the "adb shell" command (without quotes)
Elevate the shell using the "su" command (again, no quotes)
And then run these commands:
dd if=/dev/zero of=/dev/block/platform/bootdevice/by-name/modem
dd if=/sdcard/modem_h818p_20h_gcc.img of=/dev/block/platform/bootdevice/by-name/modem
Lastly, reboot you phone and it should work.