Three options for your old device
Basically, you have three options. You trade the device in with the manufacturer or your mobile provider, you sell it yourself to a private buyer, or you sell it to a shop.
Which option gets you the most can't be said in general, because the condition, the model and the timing are different every time. But the options differ clearly in how much of the work falls on you and when the amount is fixed.
