Most smartphones cannot focus within 6". It is much better to take a stable picture from further away, and crop the image.
I second the recommendation for a cheap clip-on magnifier. Mine was less than $10, and takes pretty good pictures for most situations.