Cram-o-Matic:
-Upgrade: Pecha Berry, Pecha Berry, PP Up, PP Up
-PP Up: Armorite Ore, Armorite Ore, Armorite Ore, Armorite Ore
-Dubious Disc: Light Ball, Wishing Piece, Wishing Piece, Wishing Piece
-Light Ball: Cell Battery, Metal Coat, Metal Coat, Metal Coat
-Metal Coat: Iron Ball, Iron Ball, Iron Ball, Iron Ball
-Cell Battery: Electric Seed, Electric Seed, Electric Seed, Electric Seed (or 4 x Fossilized Bird)
-Electric Seed: Pecha Berry, Pecha Berry, Pecha Berry, Pecha Berry
the upgrade recipe works, I have not tried the rest myself.
Get the item(s) from the cram-o-matic, and I don't mind bouncing your porygon/porygon2 back to evolve it.
What HA pokemon do you have?