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

    Ubuntu Touch on LG G6 (h870 model): call for testers

    Scheduled Pinned Locked Moved LG G6
    73 Posts 23 Posters 22.5k Views 9 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.
      • S Offline
        snappo
        last edited by

        I have a US model LG G6 somewhere that my wife upgrade from recently, would love to help test. Only other phone I have that can boot Ubuntu is a Nexus 4 😞 Long time Patreon supporter :call_me_hand_light_skin_tone:

        G 1 Reply Last reply Reply Quote 0
        • F Offline
          franky32
          last edited by franky32

          Hi, i've got an h870 model.
          I've been trying to to put the image on my phone but i can't seem to pass the part with resize2fs from the halium-install script. Any help?
          The error i keep getting is:
          "Scanning inode table resize2fs: No space left on device while trying to resize system-20200326.img"

          G E 2 Replies Last reply Reply Quote 0
          • G Offline
            Guf @MexHH
            last edited by

            @MexHH Yep, you need to do it, with the following command:
            fastboot flash unlock unlock.bin where unlock.bin is you unlocking file that you will be provided by requesting to http://mobile.developer.lge.com/

            1 Reply Last reply Reply Quote 0
            • G Offline
              Guf @fenskebawb
              last edited by

              @fenskebawb Yep, it might have some little differences (that I am not able to test because I don't have that device). Anyway you can try to build it yourself and we will help you

              1 Reply Last reply Reply Quote 0
              • G Offline
                Guf @ElieHs
                last edited by

                @ElieHs Hello, did you try to ulock here http://mobile.developer.lge.com/?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Guf @nefariousNIFFIN
                  last edited by

                  @nefariousNIFFIN I will do my best to help US guys to improve LG G6 porting, whatever model it might be. 1st identify your model and try to build it yourself and if you have problems, please write to me and I will try to answer you back as soon as possible

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Guf @franky32
                    last edited by

                    @franky32 it might refer to local partition or device, because this step is to be performed on pc

                    F 2 Replies Last reply Reply Quote 0
                    • G Offline
                      Guf @snappo
                      last edited by

                      @snappo Go and get it and build it yourself (I don't have the US model, but I am keen on helping you to test on you device and improve the over all LG G6 porting)

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Guf @Kaesar
                        last edited by

                        @Kaesar I don't know the details of specific differences, but I can help you porting your device and integrate changes to server

                        F K 2 Replies Last reply Reply Quote 0
                        • F Offline
                          franky32 @Guf
                          last edited by

                          @Guf i've managed to flash the images by skipping the image resizing πŸ™‚
                          Now the issue is that the screen just flashes a couple of times and it doesn't do anything after.
                          i can see the rndis_host getting setup with the ip but the actual link has an unknown state.
                          maybe the rootfs i'm using isn't good?
                          https://ci.ubports.com/job/xenial-rootfs-arm64/

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            franky32 @Guf
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              franky32 @Guf
                              last edited by

                              @Guf if i use the armhf rootfs it does boot and i can get ssh access... just that almost nothing works πŸ™‚

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                epvnn @franky32
                                last edited by epvnn

                                @franky32 the same happened to me.
                                How did you solve this?

                                F 2 Replies Last reply Reply Quote 0
                                • F Offline
                                  franky32 @epvnn
                                  last edited by

                                  @epvnn didn't solve it... I'm thinking about letting it go and just learn java so i can make androud apps instead πŸ˜„
                                  Was planning on using ubuntu on the phone to run python scripts...
                                  But it seems more hastle than it's worth...

                                  1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    franky32 @epvnn
                                    last edited by

                                    @epvnn i tried flashing lineageos first and afterwards "install" ubtouch... still no go.
                                    I keep getting the libgui.so library non-loading from what i could see in the logs.

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      Kaesar @Guf
                                      last edited by

                                      @Guf thanks! I'll see what I can do, but I don't know if I'll be able to do anything because I'm having trouble accessing the bootloader.
                                      But that's not really an Ubuntu Touch issue, so I'll try to find help on that elsewhere.

                                      1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User
                                        last edited by

                                        Hi every one, thank you for sharing your work. I'm also new to the UBPorts community. I have the exact same issue as @epvnn and @franky32 on the h870, that is to say resize2fs error. I'm on elementary with all dependencies downloaded, adb and fastboot. Bootloader properly unlocked and data partition formated as ext4. I am not using official twrp as i was not able to mount some partition with it, i've used the LG v20 instructions. I would like to know if there is any way to solve it ? Thank you

                                        F 2 Replies Last reply Reply Quote 0
                                        • F Offline
                                          franky32 @Guest
                                          last edited by

                                          @Litcornes i disabled the resize function in the halium-install script and i managed to finish the images and copy them to the phone.
                                          The problem after that for me was that libgui.so library doesn't load... so lightdm keeps crashing.
                                          Haven't done anything else with it...

                                          You can disable the resize function in the file named core.sh in the functions folder of the halium-install cloned repository.

                                          The line to comment out is this one
                                          [ -f "$IMAGE_DIR/system.img" ] && sudo resize2fs -p -M "$IMAGE_DIR/system.img"

                                          Just put a # in front of that line.

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            franky32 @Guest
                                            last edited by

                                            @Litcornes btw... the armhf rootfs will most likely not work... from what i could see most librarys in the system image are 64 bit. So they won't load on the armhf version. You'll need the arm64 rootfs.
                                            When i tried the armhf rootfs the system would boot and i could ssh into it... but lightdm wouldn't start properly.
                                            On arm64 rootfs it doesn't boot... it keeps resetting.
                                            Maybe you have more luck with it...
                                            If you manage let me know what you did πŸ™‚

                                            1 Reply Last reply Reply Quote 0
                                            • ? Offline
                                              A Former User
                                              last edited by

                                              @franky32 Thank you for your anwers, i did managed to get it working. I did what you said, comment out the line and the script did worked. I've listened to you and used this : xenial-hybris-edge-rootfs-arm64. Then i followed every steps listed here : https://forum.xda-developers.com/v20/development/ubuntu-touch-wip-lgv20h918-t4002579.
                                              Et voilΓ , every things seems to be working as intended (as listed in the post). I'm a casual so if i did something wrong don't hesitate.

                                              F 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post