Here’s a hot tip. Don’t overstay your visa, they really don’t like it. Over the four years or so of staying in China I was always on time with renewing my visa, in which case I would travel to Hong Kong and get it renewed, or, go to the local PSB (Public Security Bureau) in the mainland and get it renewed there.
This time, through bad planning and stupidity, I had overstayed the visa by about four days, so I went down to the PSB at Louhu in Shenzhen, and was informed that I was to be given a deport notice and that I should leave the country. Dramatic! I explained that I had an apartment and other concerns to take care of, he said he would give me a 7 day visa to take care of my things. Also needing a new passport, they kindly allowed me extra time to arrange a passport replacement and then return to the PSB to get the 7 day visa pasted in.