[AT&T Samsung Galaxy Note II] contramundi:
i'm no dev or experienced enough user so i'm sort of gonna do some guess work here (just a heads up :P )

did you try the recovery option in kies? (the one where you need to enter your phone's model and serial number)

Something seems to be wrong anyhow, as there'sno recovery available for it to load it seems. just to get people here started, could you post the name of the rom file you flashed?

also what options did you tick in odin? the only boxes ticked should've been "auto reboot" and "f. reset time" which are the default ones, the other ones should be left alone, especially the re-partition (unless you have the apropriate pit file).

secondly, what you could try, is to flash a custom recovery through odin, same way you flash the rom (with ap button in v3.09 can't remember how its called in 3.07) and see if that one boots up.

i don't know what the apropriate device model for the i317m, reckon sawdoctor, banjaman, or a lot of other people here could tell you what recovery you need for your device (t0lte/t0lteatt/etc.)

If flashing a custom recovery that way works, and you can enter it, go to advanced > terminal command and use "cat /proc/partitions" it should give you a list similar to

major minor #blocks name

179 0 15388672 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 20480 mmcblk0p3
179 4 4096 mmcblk0p4
179 5 4096 mmcblk0p5
179 6 4096 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 8192 mmcblk0p8
179 9 8192 mmcblk0p9
179 10 90112 mmcblk0p10
179 11 262144 mmcblk0p11
179 12 1400832 mmcblk0p12
179 13 2097152 mmblk0p13
179 14 573440 mmcblk0p14
179 15 8192 mmcblk0p15
259 0 10883072 mmcblk0p16

the partitions above are the size i get from my n7105, partition itself could be somewhat different, as it could be carrier specific, but i reckon most of the different models have a similar something going on.

If there's nothing mentioned, or only 1 partition or something, then try and flash the proper pit file again in odin and make sure to tick "Re-Partition"

If however you manage to get into the recovery, and the partitions are correct, you should be able to flash a rom, just download an aosp rom that works on your device (slimkat is a good one as a tester as its a small zip file and they have support for lots of devices) forget about the gapps for now, and if it's required (should be mentioned in the OP of the rom) flash supersu after flashing the rom. slimkat is fast on the install, normally less than a minute on my device, and boot up time is generally faster as well with aosp roms as they don't contain as much apps and other stuff as touchwiz roms.

Keep an eye on the recovery log though, if something fails somewhere, it's mentioned in there, if something fails and you get errors, simply head into the advanced section of twrp again and select "copy log to sd", if you don't have the sd-card, then manually type it into notepad or something on your computer :)

lastly, the thing you need to remember regarding stock firmware, is to also look at what you flash, if you for example upgraded your rom (read bootloader) in the past with the official 4.3 one, (either with odin or through ota updates) you can't flash the 4.1.2 or 4.2 stock roms anymore, you need 4.3 or higher. (you should receive an error if you try it if i'm not mistaken)