What makes porting so difficult?
The hardware is different on each device. In addition there's added value software like more advanced camera functionality from the manufacturer which needs to look good on the new release.

LG has features loke knock-code.

Samsung has skins and special hardware like a wacom digitizer on the note series.