Open Settings
Tap About phone or About device
Tap Device name, Phone name, or Edit
Enter the new name
Tap Save or Done
If you do not see it, use the search bar in Settings and search for Name or Device name
On iPhone, go to Settings > General > About > Name
On Android, the exact path may vary by brand and model
