Mobile data connection on Galaxy S6 stops working after Marshmallow update, other issues

How to fix Samsung Galaxy S7 Edge that’s not connecting or recognized by the computer