How to change Device name?
-
@Pingu
Searched the forum, found that :
https://forums.ubports.com/topic/6075/changing-your-phone-s-name/10?_=1733138796504Just tested working.
-
@Keneda Hi, could you please inform me when you have tested changing the device's name, did you use the device's terminal and put the command, or did you connected your phone to laptop and then used adb shell and then put the command?
As for me I have tried to change via my mobile and did not work.
Maybe did not understand the steps exactly how to be executed.
Thanks,,
-
@Salah Are you talking about the name that is on the lock screen? If so, this procedure works, i did : use UT Tweak Tools and delete ONLY conf file in System Settings. Maybe you will have to restart your phone, and then fill in what is required
-
@domubpkm Thanks for answer. I am talking about both name on the screen and device's name - especially in the terminal.
-
@Salah
I tested when posting here.
I used device terminal.
And it changes :
@Pingu said in How to change Device name?:the name that shows up above the circle from the lock screen
I did not delete any file before doing.
Command used is
sudo usermod -c "NewName" phablet
You put the name you want instead of "NewName" but you keep the " ".
-
@Salah And to change the hostname you can open the Terminal app and do:
sudo hostnamectl set-hostname <your-desired-hostname>
This will persist between reboots, but will be reverted if you switch update channels, or between larger updates.
-
@Keneda Thanks for the advice, it WORKS.
Thumbs Up
-
@arubislander Thanks also for the tip it WORKS.
Thumbs Up
-
-
@Keneda thanks a lot. Works.
-
Speaking of this. Maybe this should be in the settings. I've thought of this a long time ago since the setup wizard has it anyway so there's a code to copy or refer to it anyway. Totally forgot about it though
-
@kugiigi said in How to change Device name?:
I strongly AGREE with you by stating "Maybe this should be in the settings" to become by default feature.