A man who allegedly sold iPhones modified to allow unauthorized apps to be installed was arrested Thursday on suspicion of breaking a trademark law, in the first such arrest in Japan over the sale of "jailbroken" iPhones, police said.

Daisuke Ikeda, a 24-year-old resident of the city of Toyama in the prefecture, is alleged to have sold five modified iPhones online between March 26 and May 23 for a total of ¥120,000, while leaving the Apple Inc. trademark intact.

The devices come with restrictions that mean only authorized apps can be downloaded and installed. A modification through the jailbreaking technique, however, circumvents this, allowing users to install any app they like.

Ikeda had sold a total of some 200 iPhones prior to his arrest, raking in an estimated ¥5 million in sales, according to an investigative source.

"I did it to earn some pocket money," he was quoted by the source as telling investigators during voluntary questioning.

Apple does not allow users to modify their iPhones. Modification can increase the risk of computer viruses, experts say.