UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    [Porting] Call for testers

    已排程 已置頂 已鎖定 已移動 Google Pixel 2/2 XL
    96 貼文 34 Posters 33.3k 瀏覽 9 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • TobsEndT 離線
        TobsEnd
        最後由 TobsEnd 編輯

        Hi, does anybody else have an issue with shutting down taimen? When try to shut it down the display goes black and I can't turn it on again. To get some reaction from the phone I have to press the powerbutton for about 10 seconds. And when it then starts up again the batterylevel is significant lower then before.
        I'm on rc with this one aswell

        Pixel 2XL rc

        L 1 條回覆 最後回覆 回覆 引用 0
        • L 離線
          LaughWithOrAtMe @TobsEnd
          最後由 編輯

          @tobsend same here.
          The phone doesn't restart anymore (except during an update sequence), and it takes a long press (~20 secs) to power the phone on.
          Also, bluetooth doesn't work if the WiFi is off, sometimes the keyboard acts up and retracts after a single touch, plus every now and then the phone calls have problems.
          In addition, gapless music playback doesn't happen, the battery icon doesn't show when it's charging, at apps get hung up from time to time.
          Yet, I am still able to use my 2xl as my daily driver.
          🙂

          R 1 條回覆 最後回覆 回覆 引用 0
          • R 離線
            rocket2nfinity @LaughWithOrAtMe
            最後由 編輯

            @laughwithoratme @TobsEnd That is a known problem, that I thought was supposed to be fixed in Dev channel.

            The battery indicator, and no offline charging, is also known. A fix for it will come in time.

            TobsEndT 1 條回覆 最後回覆 回覆 引用 0
            • TobsEndT 離線
              TobsEnd @rocket2nfinity
              最後由 TobsEnd 編輯

              Ok, I might give the dev channel a try.

              Pixel 2XL rc

              1 條回覆 最後回覆 回覆 引用 0
              • TobsEndT 離線
                TobsEnd
                最後由 編輯

                On dev I 've still the same behaviour.

                Pixel 2XL rc

                1 條回覆 最後回覆 回覆 引用 0
                • klhK 離線
                  klh
                  最後由 klh 編輯

                  Just installed on Pixel 2 XL. These are not working:

                  • GPS - can't get a lock in uNav or Weather
                  • NFC - tried with my own app and https://drive.google.com/file/d/1xowIZQAyynsnLAjtzGX7Wxsa1iNkNeTb/view from the NFC thread (https://forums.ubports.com/topic/4954/testing-nfc-for-halium-9-ports/2)
                  • charging indicator not sure about this, is the icon in the panel supposed to change? because I just noticed that the LED is lightning up correctly when charging
                  • proximity sensor - during calls the screen stays on

                  Otherwise I'm happy to daily drive it, with a backup for banking until I manage to run Android apps on it.

                  I'd be happy to help however I can with fixing these, but I'm a bit lost as to where to look for this stuff. For example I don't even see a repository on gitlab that could have something to do with the battery indicator 😜

                  flohackF 1 條回覆 最後回覆 回覆 引用 0
                  • flohackF 離線
                    flohack @klh
                    最後由 編輯

                    @klh battery indicator is fine -the problem is the middleware below. Android kernels report stupid batteries to upowerd, and from there Ubuntu Touch has approx 4 different ways to determine battery status. This work is more complicated than you would think and a systematic problem that nobody saw since in Android 5.1 and 7.1 it was quite okay ish still.

                    My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                    klhK 2 條回覆 最後回覆 回覆 引用 0
                    • klhK 離線
                      klh @flohack
                      最後由 編輯

                      @flohack ok, might not be a "good first issue" then. I also just realized that not everything was moved to gitlab, so that's probably why I couldn't find stuff.

                      Still kind of lost on where I can find files to build this - the guides/documentation only tell me how to start porting from scratch, and I can't find anything taimen-related in the repos other than the install script.

                      flohackF 1 條回覆 最後回覆 回覆 引用 0
                      • flohackF 離線
                        flohack @klh
                        最後由 編輯

                        @klh The device-specific part is this manifest: https://github.com/Halium/halium-devices/blob/halium-9.0/manifests/google_walleye_taimen.xml - in this repo we store all manifests but take care of the right branch selection.

                        The common rootfs part is assembled from hundreds of small repos, so you need to know what you are looking for 🙂 I can help a bit but cannot give a full onboarding

                        My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                        klhK 2 條回覆 最後回覆 回覆 引用 0
                        • klhK 離線
                          klh @flohack
                          最後由 klh 編輯

                          @flohack That helps a lot, thanks! Not sure how I missed this. For now I'll just get it built, break some stuff and see what I (don't) understand.

                          1 條回覆 最後回覆 回覆 引用 0
                          • klhK 離線
                            klh @flohack
                            最後由 編輯

                            @flohack Ok, I might have hit a wall. Following these instructions (Halium-boot method): https://docs.ubports.com/en/latest/porting/build_and_boot/Halium_install.html I can't get it to boot. Is there anything else that's needed here, or should I look for errors on my part? /sys/fs/pstore is empty so I don't have any logs.

                            flohackF 1 條回覆 最後回覆 回覆 引用 0
                            • flohackF 離線
                              flohack @klh
                              最後由 編輯

                              @klh For A/B devices you need a kernel modification to get this to work. remove the datapart= kernel cmdline parameter in the BoardConfig.mk file in the muskie device repo I think. And also you need to flash halium-boot.img and not boot.img 🙂

                              My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                              klhK 1 條回覆 最後回覆 回覆 引用 0
                              • klhK 離線
                                klh @flohack
                                最後由 編輯

                                @flohack Kind of success. I compiled the kernel (turns out using docker with an Ubuntu 16.04 container was the solution), but I can only successfully boot after flashing using the installer and then my compiled halium-boot.img or boot.img, something must be missing.

                                I managed to install and init waydroid, but after adding wayland from ubports-qa the system got into a long bootloop with nothing obvious in the logs.

                                flohackF 1 條回覆 最後回覆 回覆 引用 0
                                • flohackF 離線
                                  flohack @klh
                                  最後由 編輯

                                  @klh yeah Waydroid is not ready that much, also it needs kernel patches applied. For the other problem, I am not sure if I understand, so you cannot use halium-install?

                                  My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                                  klhK 1 條回覆 最後回覆 回覆 引用 0
                                  • klhK 離線
                                    klh @flohack
                                    最後由 klh 編輯

                                    @flohack I think I patched it (or does it need binderfs? looking at the source it seems like it should work fine with BINDER_DEVICES option).

                                    I can use halium-install, but:

                                    • if I build the kernel like on the CI (make -j20 bootimage recoveryimage ...) and try to use it, it reboots at around 70% of pushing the system image (rootfs pushes fine, using ubports recovery)
                                    • if I build like in the docs (mka halium-boot && mka systemimage) then it successfully pushes with TWRP, but the system won't boot - no telnet and no logs anywhere I expected to find them, just a bootloop.

                                    I'll try again later with a 20.04 image.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • klhK 離線
                                      klh @flohack
                                      最後由 編輯

                                      @flohack said in [Porting] Call for testers:

                                      @klh battery indicator is fine -the problem is the middleware below. Android kernels report stupid batteries to upowerd, and from there Ubuntu Touch has approx 4 different ways to determine battery status. This work is more complicated than you would think and a systematic problem that nobody saw since in Android 5.1 and 7.1 it was quite okay ish still.

                                      Turns out it wasn't so hard, at least for the Pixel 2 XL (hopefully for all others too, but can't say for sure since I only have this one to test): https://github.com/ubports/indicator-power/pull/60

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • 第一個貼文
                                        最後的貼文