UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to change Device name?

    Scheduled Pinned Locked Moved Solved Support
    12 Posts 6 Posters 589 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • KenedaK Offline
        Keneda @Pingu
        last edited by Keneda

        @Pingu
        Searched the forum, found that :
        https://forums.ubports.com/topic/6075/changing-your-phone-s-name/10?_=1733138796504

        Just tested working.

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
        🇲🇫🇬🇧

        SalahS P 2 Replies Last reply Reply Quote 1
        • SalahS Offline
          Salah @Keneda
          last edited by

          @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,,

          " Our Business, Is Life Itself,, "

          • Iphone X => Daily Use
          • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
          • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
          D KenedaK 2 Replies Last reply Reply Quote 0
          • D Offline
            domubpkm @Salah
            last edited by

            @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

            SalahS 1 Reply Last reply Reply Quote 0
            • SalahS Offline
              Salah @domubpkm
              last edited by

              @domubpkm Thanks for answer. I am talking about both name on the screen and device's name - especially in the terminal.

              " Our Business, Is Life Itself,, "

              • Iphone X => Daily Use
              • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
              • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
              arubislanderA 1 Reply Last reply Reply Quote 0
              • KenedaK Offline
                Keneda @Salah
                last edited by Keneda

                @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 " ".

                2015-2023 : Meizu MX4 ☠️⚰️✝️
                2023-2024 : Nexus 5 ☠️⚰️✝️
                2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                🇲🇫🇬🇧

                SalahS 1 Reply Last reply Reply Quote 1
                • arubislanderA Offline
                  arubislander @Salah
                  last edited by

                  @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.

                  🇦🇼 🇳🇱 🇺🇸 🇪🇸
                  Happily running Ubuntu Touch
                  Google Pixel 3a (20.04 DEV)
                  JingPad (24.04 preview)
                  Meizu Pro 5 (16.04 DEV)

                  SalahS 1 Reply Last reply Reply Quote 1
                  • SalahS Offline
                    Salah @Keneda
                    last edited by

                    @Keneda Thanks for the advice, it WORKS.

                    Thumbs Up

                    " Our Business, Is Life Itself,, "

                    • Iphone X => Daily Use
                    • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                    • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                    1 Reply Last reply Reply Quote 0
                    • SalahS Offline
                      Salah @arubislander
                      last edited by

                      @arubislander Thanks also for the tip it WORKS.

                      Thumbs Up

                      " Our Business, Is Life Itself,, "

                      • Iphone X => Daily Use
                      • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                      • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                      1 Reply Last reply Reply Quote 0
                      • MoemM Moem has marked this topic as solved on
                      • P Offline
                        Pingu @Keneda
                        last edited by

                        @Keneda thanks a lot. Works.

                        UT since 2012 (also Sailfish)

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kugiigi
                          last edited by

                          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 😅

                          SalahS 1 Reply Last reply Reply Quote 1
                          • SalahS Offline
                            Salah @kugiigi
                            last edited by

                            @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.

                            " Our Business, Is Life Itself,, "

                            • Iphone X => Daily Use
                            • Nokia N900 => Secondary Device for Experiments and Mods. LOVE THIS DEVICE...
                            • Google Pixel 3a XL => Using This Device as Secondary Device -- UT 20.04 Version
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post