• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 3.7k 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.
    • U Offline
      ubuntunoob @AppLee
      last edited by 16 Dec 2021, 02:58

      @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 17 Dec 2021, 14:41 Reply Quote 0
      • N Offline
        nero355 @ubuntunoob
        last edited by 17 Dec 2021, 14:41

        @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 18 Dec 2021, 07:29 Reply Quote 0
        • U Offline
          ubuntunoob @nero355
          last edited by 18 Dec 2021, 07:29

          @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 18 Dec 2021, 15:50

            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 19 Dec 2021, 08:12 Reply Quote 0
            • U Offline
              ubuntunoob @nero355
              last edited by 19 Dec 2021, 08:12

              @nero355
              How can I fix that?
              Thanks.

              N 1 Reply Last reply 19 Dec 2021, 18:00 Reply Quote 0
              • N Offline
                nero355 @ubuntunoob
                last edited by 19 Dec 2021, 18:00

                @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 20 Dec 2021, 03:27 Reply Quote 0
                • NVriezenN NVriezen referenced this topic on 19 Dec 2021, 18:15
                • NVriezenN NVriezen referenced this topic on 19 Dec 2021, 18:50
                • U Offline
                  ubuntunoob @nero355
                  last edited by 20 Dec 2021, 03:27

                  @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 20 Dec 2021, 13:19 Reply Quote 0
                  • N Offline
                    nero355 @ubuntunoob
                    last edited by 20 Dec 2021, 13:19

                    @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 20 Dec 2021, 13:48 Reply Quote 0
                    • U Offline
                      ubuntunoob @nero355
                      last edited by 20 Dec 2021, 13:48

                      @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 21 Dec 2021, 18:31 Reply Quote 0
                      • N Offline
                        nero355 @ubuntunoob
                        last edited by nero355 21 Dec 2021, 18:31

                        @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 23 Dec 2021, 01:45 Reply Quote 0
                        • U Offline
                          ubuntunoob @nero355
                          last edited by 23 Dec 2021, 01:45

                          @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 13 Nov 2022, 13:14

                            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 13 Nov 2022, 14:37 Reply Quote 0
                            • LakotaubpL Offline
                              Lakotaubp @mostafa3bdou
                              last edited by 13 Nov 2022, 14:37

                              @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
                              • First post
                                Last post