Can I use a brand name like Samsung or iPhone in my shop name?

It is best not to. Brand names are trademarks, and using them can suggest that you are an authorised service centre. Use a neutral name and write “all brands” in your tagline or on the board instead. Confirm the trademark position with your CA or a trade mark professional.