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

    Ubuntu Touch on the Galaxy S5 help

    Scheduled Pinned Locked Moved Unsolved Support
    16 Posts 5 Posters 6.3k Views 1 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.
      • N Offline
        nero355
        last edited by

        I am not sure either... 😕

        I do see some errors related to partitions and mounting them : Perhaps that is the issue ?!

        My phones :

        • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
        • ZUK Z2 Pro - ZUI Android 8.x
        • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

        P.S. : I am NOT a developer! ;)

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          ubuntunoob @nero355
          last edited by

          @nero355
          How can I fix that?
          Thanks.

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nero355 @ubuntunoob
            last edited by

            @ubuntunoob
            You can try umount to unmount the partition and make sure it's not in use before flashing ?!

            That's all what I can think of for now...

            Good luck! 😉

            My phones :

            • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
            • ZUK Z2 Pro - ZUI Android 8.x
            • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

            P.S. : I am NOT a developer! ;)

            U 1 Reply Last reply Reply Quote 0
            • NVriezenN NVriezen referenced this topic on
            • NVriezenN NVriezen referenced this topic on
            • U Offline
              ubuntunoob @nero355
              last edited by

              @nero355
              How can I go about doing this?
              Is this in twrp?
              Sorry, I'm new but willing to learn put in the effort!
              Thanks.

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nero355 @ubuntunoob
                last edited by

                @ubuntunoob
                Like I said earlier : TWRP Terminal

                And then regular Linux commands like umount :

                umount /data
                

                for example will make sure the DATA partition is no longer mounted!

                And something like this :

                mount /system-data/ /data
                

                Will mount it again as it was IIRC 🙂

                My phones :

                • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                • ZUK Z2 Pro - ZUI Android 8.x
                • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                P.S. : I am NOT a developer! ;)

                U 1 Reply Last reply Reply Quote 0
                • U Offline
                  ubuntunoob @nero355
                  last edited by

                  @nero355
                  I did the steps on twrp:

                  umount /data
                  

                  but now after mounting I get this error:

                  mount /system-data/ /data
                  mount: mounting /system-data/ on /data failed: No such file or directory
                  
                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    nero355 @ubuntunoob
                    last edited by nero355

                    @ubuntunoob
                    :grinning_squinting_face: You are not supposed to do both steps! 😉

                    Just the first one if you are having /DATA related errors!

                    But now that you did let me explain why the second one went wrong :
                    Because the directory /data does not exist 🙂

                    My phones :

                    • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                    • ZUK Z2 Pro - ZUI Android 8.x
                    • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                    P.S. : I am NOT a developer! ;)

                    U 1 Reply Last reply Reply Quote 0
                    • U Offline
                      ubuntunoob @nero355
                      last edited by

                      @nero355
                      I ran the first step

                      umount /data
                      

                      before flashing Ubuntu Touch but still same error:

                      ./halium-install -p ut ubports-touch.rootfs-xenial-armhf.tar.gz system.img
                      [sudo] password for hplaptop: 
                      D: Chosen rootfs is ubports-touch.rootfs-xenial-armhf.tar.gz
                      D: Chosen android image is system.img
                      D: Chosen release is ut
                      D: Compress images before pushing: false
                      
                      I: Writing rootfs into mountable image
                      I: Writing android image into mountable image
                      I: Running post installation tasks
                      enabling SSH ... [done]
                      Please enter a new password for the user 'phablet':
                      Enter new UNIX password: 
                      Retype new UNIX password: 
                      passwd: password updated successfully
                      I: Shrinking images
                      e2fsck 1.45.7 (28-Jan-2021)
                      resize2fs 1.45.7 (28-Jan-2021)
                      Resizing the filesystem on .halium-install-imgs.amKTn/system.img to 53956 (4k) blocks.
                      Begin pass 2 (max = 30486)
                      Relocating blocks             XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                      Begin pass 3 (max = 18)
                      Scanning inode table          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                      The filesystem on .halium-install-imgs.amKTn/system.img is now 53956 (4k) blocks long.
                      
                      I: Unmounting images
                      I: Pushing rootfs and android image to /data via ADB
                      I:    Pushing rootfs to /data via ADB
                      adb: error: failed to copy '.halium-install-imgs.amKTn/rootfs.img' to '/data/rootfs.img': couldn't read from device
                      .halium-install-imgs.amKTn/rootfs.img:....1 MB/s (1412783680 bytes in 220.153s)
                      I:    Pushing android image to /data via ADB
                      adb: error: failed to get feature set: no devices/emulators found
                      
                      real	3m40.164s
                      user	0m0.283s
                      sys	0m1.996s
                      I: Cleaning up
                      umount: .halium-install-rootfs.kzAAa: not mounted.
                      error: no devices/emulators found
                      
                      

                      I don't why I get this error:

                      error: no devices/emulators found
                      

                      The device is clearly there:

                      adb devices
                      List of devices attached
                      fa8d9901	recovery
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mostafa3bdou
                        last edited by

                        Hello Guys, can you please let us know what is the latest updates for this device? the development for this ROM still in-progress or stopped or what? and what is the latest state, can it be used for daily use?

                        LakotaubpL 1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @mostafa3bdou
                          last edited by

                          @mostafa3bdou Please contact the porter directly they are the only ones who know for sure. The deatils will be on the device page of https://devices.ubuntu-touch.io

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post