there is no 4th gen
top is 3rd, so it depends on if its black or white with a silver back (1st), colored and counded sides(2nd) or shorter with a bigger screen, color front and silver back (3rd)
in the ipod menu to go settings>about and it will tell you
though nano's arent that easily hackable, only with ipodwizard really
nothing fancy like ipod touch