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

    Google Pixel 3a (sargo)

    Scheduled Pinned Locked Moved Google Pixel 3a/3a XL
    106 Posts 17 Posters 44.7k Views 6 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.
      • fredldotmeF Offline
        fredldotme @dieharddan
        last edited by fredldotme

        @dieharddan I'm starting to assume it is premature powersaving at fault here, I've changed the ril_subscription.conf again for other reasons, including device state management. Will send you the new one to change manually again soon.

        Edit: check the config here, especially deviceStateTracking and the last two lines: https://termbin.com/k3gb

        1 Reply Last reply Reply Quote 0
        • dieharddanD Offline
          dieharddan
          last edited by

          My ril_subscription.conf says:
          #deviceStateTracking=auto
          and I do not have the last 2 lines that you have

          I tried to copy the new file over with the file manager to test but don't have write permission on the ofono folder

          fredldotmeF 1 Reply Last reply Reply Quote 0
          • fredldotmeF Offline
            fredldotme @dieharddan
            last edited by fredldotme

            @dieharddan What could work is the following:

            • Reboot into recovery
            • run:
            adb shell mount /system_root
            adb shell mount /system_root/var/lib/lxc/android/android-rootfs.img /tmp
            adb shell rm /tmp/system/halium/etc/ofono/ril_subscription.conf
            adb shell umount /tmp
            adb shell reboot
            

            In the booted system you can then remount read-write and replace the preset:

            wget -O ril_subscription.conf https://termbin.com/k3gb
            adb push ril_subscription.conf /home/phablet/ril_subscription.conf
            adb shell
            

            In the shell enter:

            sudo mount -o remount,rw /
            sudo mv ril_subscription.conf /etc/ofono/ril_subscription.conf
            

            After that: reboot.

            This will be overwritten by updates until confirmed it fixes your issue, then I will merge it. It seems to provide much more stable connectivity on sargo with my provider.

            dieharddanD 2 Replies Last reply Reply Quote 0
            • dieharddanD Offline
              dieharddan @fredldotme
              last edited by

              @fredldotme Can you elaberate on the "remount read-write and replace the preset:"
              I entered the "wget -O ril_subscription.conf https://termbin.com/k3gb" on the phone terminal which worked, but not the
              adb push ril_subscription.conf /home/phablet/ril_subscription.conf

              1 Reply Last reply Reply Quote 0
              • dieharddanD Offline
                dieharddan
                last edited by

                nevermind i got it to copy over

                1 Reply Last reply Reply Quote 0
                • dieharddanD Offline
                  dieharddan @fredldotme
                  last edited by

                  @fredldotme Doesn't seem to have made any difference, I still have to toggle airplane mode to get sms to work

                  fredldotmeF 1 Reply Last reply Reply Quote 0
                  • fredldotmeF Offline
                    fredldotme @dieharddan
                    last edited by

                    @dieharddan I can only suggest experimenting with the config or, if that doesn't fix it, adding fallback behavior to ofono in case receiving SMS fails.

                    dieharddanD 1 Reply Last reply Reply Quote 0
                    • dieharddanD Offline
                      dieharddan @fredldotme
                      last edited by

                      @fredldotme Ok, let me know if you come up with any other ideas; I will pllay around with that file but not being any kind of developer, I probably won't be able to accomplish much lol

                      fredldotmeF 1 Reply Last reply Reply Quote 0
                      • fredldotmeF Offline
                        fredldotme @dieharddan
                        last edited by

                        @dieharddan What you might also want to try is the two properties ro.ril.power_collapse & ro.ril.disable.power.collapse, these might change the behavior of the power savings mode.

                        • Reboot into recovery
                        • Connect phone to PC
                        • Open an adb shell with adb shell
                        • Enter the following commands:
                        mount /system_root
                        mount /system_root/var/lib/lxc/android/android-rootfs.img /tmp
                        busybox vi /tmp/system/etc/init/on-post-fs.rc
                        
                        • In vi enter edit mode by pressing 'i' on your keyboard once
                        • Paste the following content at the end:
                        on init
                            setprop ro.ril.power_collapse 0
                            setprop ro.ril.disable.power.collapse 1
                        
                        • Save and exit by pressing ESC + entering :wq
                        • Run umount /tmp
                        • Reboot
                        dieharddanD 1 Reply Last reply Reply Quote 0
                        • dieharddanD Offline
                          dieharddan @fredldotme
                          last edited by

                          @fredldotme No change😧 Is there something I can capture via log while i toggle airplane mode and send texts

                          AppLeeA 1 Reply Last reply Reply Quote 0
                          • AppLeeA Offline
                            AppLee @dieharddan
                            last edited by

                            @dieharddan
                            Based on what you describe I think that some process or daemon crashes after some time.
                            When switching to flight mode you probably kill clean this faulty code.
                            And when activating the modem again it works... until it crashes again.

                            I cannot help debugging that because I know nothing about it. But best bet is you can find errors in some log.

                            Best of luck

                            1 Reply Last reply Reply Quote 0
                            • DuhjokerD Offline
                              Duhjoker
                              last edited by

                              I can't seem to get the os working or to boot on my pixel 3a. The ubports installer says sargo isn't supported

                              fredldotmeF 2 Replies Last reply Reply Quote 0
                              • fredldotmeF Offline
                                fredldotme @Duhjoker
                                last edited by

                                @Duhjoker it's not officially in the installer yet. What you can do instead is follow this mini guide right here to force the installer: https://mobile.twitter.com/fredldotme/status/1322714885076275201

                                1 Reply Last reply Reply Quote 0
                                • fredldotmeF Offline
                                  fredldotme @Duhjoker
                                  last edited by

                                  @Duhjoker the Pixel 3a is now officially in the installer, should be easy to get going now! Make sure to downgrade your phone as per instructions first.

                                  L 1 Reply Last reply Reply Quote 3
                                  • L Offline
                                    Louie
                                    last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      Louie @fredldotme
                                      last edited by

                                      @fredldotme after various attempts installed it on GP 3a with the ubports-installer. But having the incoming sms problem described by @dieharddan. Also, Airplane mode on/off enables incoming sms temporarily. Any ideas on how to fix it?

                                      fredldotmeF 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Etn
                                        last edited by

                                        Hi, im new here hello to everyone, i just flashed on my sargo from the UB installer beta 0.7.2 on windows, and im happy to say that everything is working well for now, no problem with sms sync and cellular data at the moment, the only thing is that mms not working but maybe its my apn settings.
                                        iam happy to try it very good works thanks.

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

                                          @Etn i can confirm now that mms work send and receive

                                          1 Reply Last reply Reply Quote 0
                                          • fredldotmeF Offline
                                            fredldotme @Louie
                                            last edited by fredldotme

                                            @Louie Could you please try the following:

                                            • Download https://drive.google.com/file/d/1T_00cBUyWrB3V-QLFxWPbmguYQ-gEdOn/view?usp=sharing
                                            • Copy the file to the Downloads folder on your phone
                                            • Open a terminal with adb shell
                                            • Run:
                                            sudo mount -o remount,rw /
                                            sudo cp /home/phablet/Downloads/libgbinder.so.1.0.47 /usr/lib/libgbinder.so.1.0.37
                                            sudo reboot
                                            

                                            Also interesting for you, please try to replicate the change here:
                                            https://gitlab.com/ubports/core/rootfs-builder-debos/-/merge_requests/18/diffs

                                            In case you don't know how to do this:

                                            sudo mount -o remount,rw /
                                            sudo nano /etc/init/ofono.override
                                            

                                            Remove the provision, from the file and save (Ctrl+o and enter, then Ctrl+x to exit) and sudo reboot for good measure.

                                            Please make sure to try the combinations separately, if any of the changes fixes it it would be interesting to know which combination it was, so please remember that and let me know! 🙂

                                            L 1 Reply Last reply Reply Quote 0
                                            • N Offline
                                              Nathan123
                                              last edited by

                                              Is it hard to get UT on a Pixel 3a? I think I tried to root it, and it was having issues. I'm fairly tech savvy...just not in this area of Android and Linux.

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