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

    LG V20 T-Mobile (h918)

    Scheduled Pinned Locked Moved LG V20
    28 Posts 10 Posters 7.5k Views 4 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.
      • W Offline
        walidham
        last edited by walidham

        This is a port of Ubuntu Touch for the LG V20 T-Mobile h918 variant.

        Sources:
        Kernel:
        https://github.com/walidham/android_kernel_lge_msm8996/tree/halium-7.1

        Device:
        https://github.com/walidham/android_device_lge_h918/tree/halium-7.1
        https://github.com/walidham/android_device_lge_msm8996-common/tree/halium-7.1

        Manifest file
        https://github.com/walidham/lge_manifest/tree/master

        Status
        Working:

        • Audio
        • Calling
        • SMS
        • 4G
        • Wifi
        • GPS
        • Vibration
        • Orientation sensor

        Missing:

        • Video recording/decoding
        • Bluetooth
        • Flash light
        • ADB/MTP
        • Libertine
        • camera
        • fingerprint

        Install:
        NOTE: As the LGV20 aren't community devices yet, the install process may be a little "non-noobie-friendly"

        • Install twrp on your device, format data partotion to ext4
        • Download the latest precompiled system.img and halium-boot.img (extract file)
        • Download the JBB's halium install script
        • Download either the regular rootfsor the Edge one
        • While on TWRP:
        halium-install -p ut the_rootfs_you_choose.tar.gz system.img
        
        • While on TWRP:
        adb shell 'mkdir /a; mount /data/rootfs.img /a; echo manual | tee /a/etc/init/rsyslog.override; umount /a; sync'
        
        • While on TWRP: install halium-boot.img (on boot partition)
        • Then reboot
        • Connect to phone with ssh
        ssh phablet@10.15.19.82
        
        • When entering in ssh run those vommands:
        sudo -i
        $ mount -o remount,rw /
        $ cat /var/lib/lxc/android/rootfs/ueventd*.rc | grep ^/dev | sed -e 's/^\/dev\///' | awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/etc/udev/rules.d/70-h918.rules
        $ reboot
        
        S 1 Reply Last reply Reply Quote 3
        • K Offline
          kugiigi
          last edited by

          Awesome! Another "powerful" device. Have you tried external display? I think this device supports it πŸ™‚

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            walidham @kugiigi
            last edited by

            @kugiigi don't have usb otg, will search for one and test

            1 Reply Last reply Reply Quote 0
            • T Offline
              trainailleur
              last edited by

              When I researched the h918 several years ago, there were concerns that the bootloader couldn't be unlocked it it had updated past a certain OTA. Do you know if that is still a problem?

              1 Reply Last reply Reply Quote 0
              • W Offline
                walidham
                last edited by

                for LGV20 don't support all fastboot command like flash and boot, so all time i use TWRP to flash halium-boot.img.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Stefano @walidham
                  last edited by

                  @walidham is the sound in calls working? Calling on to LG V20? 7.1 ports are having a problem with this, can you test and reply? Thanks.

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    walidham @Stefano
                    last edited by

                    @Stefano call work i tested it. Also got camera work 50%, photo 16mb , but can't record video

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Stefano @walidham
                      last edited by

                      @walidham Did you work/chat with @vince1171 about the calls sound? We need help with calls sound with OP3 as calls on to Op3 works, but no sound. Calling from Op3 works ok. Did you ever experience such an issue? Thanks.

                      W 2 Replies Last reply Reply Quote 0
                      • W Offline
                        walidham @Stefano
                        last edited by

                        @Stefano really can't test it now, my earspeaker is dammaged, can't found it her in my country, maybe will command it from aliexpress. but i tested last week and work but sound is very low, must change some xml config file to increase sound.

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          walidham @Stefano
                          last edited by

                          @Stefano i tested it now , yes there is no sound in ear speaker and high speaker

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Stefano @walidham
                            last edited by

                            @walidham you see, so we have same issue unfortunately

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              makeixo
                              last edited by makeixo

                              I have found your YT-Video. ☺

                              https://www.youtube.com/watch?v=E2FtIR7SUYU +1:

                              1 Reply Last reply Reply Quote 0
                              • U Offline
                                unklebonehead
                                last edited by

                                I've never flashed a phone but I have a h918 that I can use for this. Will the dd command work or do I have to install twrp? I cant seem to get twrp install on it.

                                W 1 Reply Last reply Reply Quote 0
                                • U Offline
                                  unklebonehead
                                  last edited by

                                  And that wont work either.
                                  Think Im just gonna have to wait and buy the Pine phone community edition.

                                  arubislanderA 1 Reply Last reply Reply Quote 0
                                  • arubislanderA Offline
                                    arubislander @unklebonehead
                                    last edited by arubislander

                                    @unklebonehead no need to wait. pre-orders are open now!

                                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                    Happily running Ubuntu Touch
                                    Google Pixel 3a (20.04 DEV)
                                    JingPad (24.04 preview)
                                    Meizu Pro 5 (16.04 DEV)

                                    1 Reply Last reply Reply Quote 0
                                    • U Offline
                                      unklebonehead
                                      last edited by

                                      Yeah I know they are open now. Just hope I can get the funds before they close. Lol.
                                      But I would like to get it installed on this V20. I use it as my backup phone with my job as a truck driver I tend to break just about every phone I get.

                                      W 1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        walidham @unklebonehead
                                        last edited by

                                        @unklebonehead i will upload new version bugs fixed : camera.

                                        1 Reply Last reply Reply Quote 1
                                        • W Offline
                                          walidham @unklebonehead
                                          last edited by

                                          @unklebonehead you can install using twrp.

                                          1 Reply Last reply Reply Quote 0
                                          • U Offline
                                            unklebonehead
                                            last edited by

                                            @walidham Thats my other problem. I cant get twrp to flash. I have the bootloader unlocked and when I try to flash twrp it starts and runs for a second and then fails. I've tried different usb cables, ports, different versions of twrp and I've also read that there is a problem with adb in Ubuntu 18.04 that adb doesnt work right. The only solution I found was to use a windows pc and that is not an option for me. I dont have access to one.
                                            Any ideas on what else to try?

                                            W 1 Reply Last reply Reply Quote 0
                                            • W Offline
                                              walidham @unklebonehead
                                              last edited by

                                              @unklebonehead you have h918 variant ? if yes you can't install twrp by adb , you must use lafsploit .

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