Gevey sim is a hardware chip used to unlock locked iPhones. It is placed beneath the actual sim in your iPhone and then you can use a locked iPhone on any network.
Advantage is simply that you can use a locked iPhone(which is cheaper than factory unlocked) on any local network.
Disadvantage is that setting up the gevey sim is a big hassle and sometimes it happens that if you lose the signal, you will have to repeat the whole process again to get signals back. However, modern gevey sims are much better and signals do not drop very often.
As soon as iPhone Dev-Team failed to produce Ultrasn0w unlock for iPhone 4 2.10.04, 3.10.01 baseband, a Chinese hacker team called Gevey started to look into the issue and found a working solution which can actually unlock iPhone 4 on said the basebands. Before i may go into pros and cons of Gevey's iPhone 4 unlock, i would like to clarify what is Gevey SIM hack and how it works to unlock your iPhone 4?
With Gevey SIM hack, you can unlock iPhone 4 01.59.00, 02.10.04 & 03.10.01 baseband. Unlike Ultrasn0w unlock, Gevey SIM hack is not a software based hack as it requires you to buy a SIM interposer which sits electrically between the SIM card and baseband hardware to perform a classical MITM. In order to stay unlocked, you ALWAYS need to keep that SIM interposer in-between your SIM card and iPhone baseband hardware.While your iPhone is unlocked with Gevey's SIM interposer, if it loses power due to low battery or loses reception due to poor signal coverage, you have to perform the whole unlock procedure again.
Although SIM card holds many different types of information but the part which involves carrier unlock is the IMSI number. IMSI (International Mobile Subscriber Identity) is a unique number that corresponds to your account in the mobile carrier's database. Every IMSI number consists of a MCC (Mobile Country Code) and MNC (Mobile Network Code).