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.
      • AppLeeA Offline
        AppLee @ubuntunoob
        last edited by

        Hi and welcome @ubuntunoob ,

        Have you tried the following installation procedure?
        https://devices.ubuntu-touch.io/device/klte/#deviceSpec

        I don't have this device, but the procedure is clear and simple IMHO.

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

          @ubuntunoob said in Ubuntu Touch on the Galaxy S5 help:

          So I found this page:
          https://docs.ubports.com/en/latest/porting/build_and_boot/Boot_debug.html#what-is-a-successful-boot
          I attempted to ssh into the s5 after setting up the ip address however get an error:

          ssh: connect to host 10.15.19.82 port 22: No route to host
          
          

          I am not sure why they mention those IP addresses exactly but when you want to reach a certain IP then you have two options :

          • Make sure your device is located in the same subnet.
          • Make sure your device has a gateway that can reach that subnet.

          Soo...

          Let's assume your phone indeed has this IP : 10.15.19.82
          I don't see any subnet mentioned so let's say it's 255.255.255.0 also known as a /24

          In that case your device that connects to the phone should have the following settings for example :
          IP address : 10.15.19.81 or 10.15.19.83 or even 10.15.19.1 or 10.15.19.254
          Subnet : 255.255.255.0

          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! ;)

          1 Reply Last reply Reply Quote 1
          • N nero355 referenced this topic on
          • U Offline
            ubuntunoob @AppLee
            last edited by

            @applee
            Yeah I did, but it didn't work.
            I can show each step I took.

            • Boot into twrp
            • Wipe the device

            Boot into download and then flash halium via heimdall
            Output is shown here:

            heimdall flash --BOOT halium-boot.img
            Heimdall v1.4.2
            
            Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
            http://www.glassechidna.com.au/
            
            This software is provided free of charge. Copying and redistribution is
            encouraged.
            
            If you appreciate this software and you would like to support future
            development please consider donating:
            http://www.glassechidna.com.au/donate/
            
            Initialising connection...
            Detecting device...
            Claiming interface...
            Setting up interface...
            
            Initialising protocol...
            Protocol initialisation successful.
            
            Beginning session...
            
            Some devices may take up to 2 minutes to respond.
            Please be patient!
            
            Session begun.
            
            Downloading device's PIT file...
            PIT file download successful.
            
            Uploading BOOT
            100%
            BOOT upload successful
            
            Ending session...
            Rebooting device...
            Releasing device interface...
            
            

            Boot back into recovery.
            Then proceed to Flash the system.img and rootfs
            Output is shown here:

            ./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.Nmqlh/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.Nmqlh/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
            * daemon not running; starting now at tcp:5037
            * daemon started successfully
            .halium-install-imgs.Nmqlh/rootfs.img:....8 MB/s (3221225472 bytes in 529.009s)
            I:    Pushing android image to /data via ADB
            .halium-install-imgs.Nmqlh/system.img:... 5.7 MB/s (221003776 bytes in 36.759s)
            
            real	9m28.838s
            user	0m0.861s
            sys	0m6.186s
            I: Cleaning up
            umount: .halium-install-rootfs.7Eln7: not mounted.
            
            

            Then, in TWRP go to Reboot > System.
            Done that, now its stuck at a bootloader screen(no Unity8 logo).
            What did I do wrong?
            Thanks.

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

              @ubuntunoob said in Ubuntu Touch on the Galaxy S5 help:

              Then, in TWRP go to Reboot > System.
              Done that, now its stuck at a bootloader screen(no Unity8 logo).
              What did I do wrong?

              I think your rootFS was not flashed correctly :

              umount: .halium-install-rootfs.7Eln7: not mounted.
              

              My best guess is you will have to check manually inside TWRP what went wrong exactly!

              In the directory /tmp/ there is a recovery.log file I believe that contains more info about most of the errors you can encounter during flashing/sideloading 🙂
              You can do simply :

              cd /tmp/
              cat recovery.log
              

              Via the Terminal inside TWRP 😉

              It's how I found out my Custom ROM needed bunzip2 which was not available inside the TWRP Image!

              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 have the log file
                Output is here:
                https://pastebin.com/E0127KTN
                Not too sure what to make of it.
                Thanks.

                1 Reply Last reply Reply Quote 0
                • 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