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

    segmentation fault after apt-upgrade (on rw system)

    Scheduled Pinned Locked Moved Solved Support
    22 Posts 7 Posters 4.0k Views 2 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.
      • P Offline
        Phiibuntu
        last edited by

        You right I only ask if someone had resolved this kind of issue 🙂 I assume and factory re wipe my phone 🙂
        But infortunatly I have lot of problems with UT in OTA 20

        1/ Waydroid work fine on my phone, but then no UT app works after install it (because I think waydroid helper install it with rw system so I reproduce the issue in the same way without Install Waydroid to test it an try to understand why).
        so only way to use waydroid on xiaomi redmi note 9S is to use only android app...so it seem using ubports was not really logical 🙂

        2/ can't flash again my phone (error : Error: adb:preparesystemimage: Error: {"error":{"code":126,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"error: Exec '/system/bin/sh' failed: No such file or directory") Only way to install it is to reflash mui official rom and then reflash it with ubports installer 🙂 I only can factory wipe to avoid all this things

        As you see I work hard tu use UT 🙂 but I have a lot of problems (And Apologize for my bad english :))

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @Phiibuntu
          last edited by

          @phiibuntu UT apps work for me on OP5 with WayDroid so yes maybe start from scratch and this time try WayDroid helper to install WayDroid. Think safety first 🙂 and don't worry about the English either it's fine.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Phiibuntu
            last edited by

            I first try waydroid helper on fresh UT install, before looking for complexe solution (RW, apt upgrade etc.).
            Every time UT app doesn't work.

            Now I think system rw managed by waydroid helper make same issues that when I do
            $ adb shell
            $ sudo mount -o remount,rw /
            without install waydroid.

            So the problem is perhaps on the xiaomi model, or about UT installation, if it works fine on your phone.

            stanwoodS 1 Reply Last reply Reply Quote 0
            • stanwoodS Offline
              stanwood @Phiibuntu
              last edited by

              @phiibuntu Ok, I have no solution for you right now, but I will move "Redmi Note 9 S" from "Fully functionality" to "Partial functionality" WayDroid device list.

              Redmi Note 9S Stable
              If God has a computer, it must be a GNU/Linux

              1 Reply Last reply Reply Quote 0
              • stanwoodS stanwood referenced this topic on
              • P Offline
                Phiibuntu
                last edited by Phiibuntu

                Ok.
                I ll re wipe my phone to use only UT app and wait next OTA to test again (with no rw or apt upgrade I promise 🙂 )

                Edit: a clue perhaps, like when I make apt upgrade, the waydroid helper modify code pin screen of UT (really modernise it).
                In fact I ask if waydroid helper doens't make itself and apt upgrade finally
                because same causes produce same effects (I think lol)

                N LakotaubpL 2 Replies Last reply Reply Quote 0
                • N Offline
                  nero355 @Phiibuntu
                  last edited by

                  @phiibuntu said in segmentation fault after apt-upgrade (on rw system):

                  Only way to install it is to reflash mui official rom and then reflash it with ubports installer 🙂

                  This may sound strange but I really like my Xiaomi phone because of that fact : When things go bad there is always a way out! 😄

                  @phiibuntu said in segmentation fault after apt-upgrade (on rw system):

                  Edit: a clue perhaps, like when I make apt upgrade, the waydroid helper modify code pin screen of UT (really modernise it).

                  That sounds like you installed/updated parts of the system that are not officially released yet ?!

                  There has been some work on the "code pin screen" a while ago but I can't remember it beeing officially released via any of the official channels : DEV/RC/Stable 🙂

                  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! ;)

                  1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @Phiibuntu
                    last edited by

                    @phiibuntu Because you are on the latest RC you are getting the next OTA-21 please read blog for info https://ubports.com/blog/ubports-news-1/post/ubuntu-touch-ota-21-call-for-testing-3796 the login pin number screen is nothing to do with WayDroid and is part of the normal update process.

                    P 1 Reply Last reply Reply Quote 1
                    • P Offline
                      Phiibuntu
                      last edited by Phiibuntu

                      Thanks for your time, finally I factory reset, and then I install waydroid without waydroid helper.
                      And it works.

                      I really think waydroid helper make apt-update AND apt-upgrade and complicate everything (it's my point of view ).

                      Then android app works UT app works. last thing (but not here) gps 🙂 if I solve that too I 'll make UT my only main phone 🙂

                      (Happy new year anyway 🙂 )

                      1 Reply Last reply Reply Quote 1
                      • P Phiibuntu has marked this topic as solved on
                      • P Offline
                        Phiibuntu @Lakotaubp
                        last edited by

                        @lakotaubp said in segmentation fault after apt-upgrade (on rw system):

                        @phiibuntu Because you are on the latest RC you are getting the next OTA-21 please read blog for info https://ubports.com/blog/ubports-news-1/post/ubuntu-touch-ota-21-call-for-testing-3796 the login pin number screen is nothing to do with WayDroid and is part of the normal update process.

                        I only see that install Waydroid with waydroid helper make same problem that when I make apt update and apt-upgrade myself so I think that there's an apt-update AND apt-upgrade in waydroid helper script or something like that.

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

                          @phiibuntu there is no apt-upgrade into the code of Waydroid Helper we use same command line as posted here on the forum....

                          P 1 Reply Last reply Reply Quote 1
                          • AppLeeA Offline
                            AppLee
                            last edited by

                            Maybe something has to do with the current channel.
                            But certainly there is some kind of side effect here, maybe from the specific device, from the channel or a combination of both...

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              Phiibuntu @Guest
                              last edited by Phiibuntu

                              @ruditimmer

                              Ok I understand. But after make an apt-get upgrade I have the same result than make install waydroid with waydroid-helper.

                              Even the code pin screen is changed. on my phone (on a fresh install )
                              It's why I thought that.

                              I write here to alerte other Redmi note 9s user who would like install waydroid with waydroid helper it's not an intuitive result, I had to test, and reinstall several time to almost understand 🙂

                              ? LakotaubpL 2 Replies Last reply Reply Quote 0
                              • ? Offline
                                A Former User @Phiibuntu
                                last edited by

                                @phiibuntu You dont need to do an app-upgrade !! This is not needed to install WayDroid it would only brake your system, this new pin login screen it norlmoly dont worry about that...

                                1 Reply Last reply Reply Quote 1
                                • LakotaubpL Offline
                                  Lakotaubp @Phiibuntu
                                  last edited by

                                  @phiibuntu If you move back to stable until the 5th of this month you will have the old code screen back. It does not matter what you update the system with if you are on RC or Devel you will get the new code screen.
                                  If ypu want to find out what is causing your issue I would clean install stable then WayDroid helper and go from there. If no issue all good. Then try the same if you must using apt and see what happens on stable. Then do the exact same from a clean install of RC. Might pin point where things change but make sure you follw exactly the manual install insructions.

                                  1 Reply Last reply Reply Quote 1
                                  • P Offline
                                    Phiibuntu
                                    last edited by

                                    Sorry for my bad english, but I already do test on stable OTA-20 with fresh install on Xiaomi redmi note 9S and reproduce the same issue with waydroid helper.
                                    Now on a fresh reinstall I use waydroid without waydroid helper and it works normaly.

                                    A 1 Reply Last reply Reply Quote 0
                                    • stanwoodS stanwood referenced this topic on
                                    • A Offline
                                      aarontheissueguy @Phiibuntu
                                      last edited by

                                      @phiibuntu Hello, im the dev of WaydroidHelper :beaming_face_with_smiling_eyes:

                                      I want to clarify. Waydroid Helper only does apt update and you should NEVER EVER run apt upgrade on UbuntuTouch as this will most likely break your installation. Whatever causes your issue it is probably not related to WaydroidHelper

                                      1 Reply Last reply Reply Quote 1
                                      • stanwoodS stanwood referenced this topic on
                                      • stanwoodS stanwood referenced this topic on
                                      • stanwoodS stanwood referenced this topic on
                                      • stanwoodS stanwood referenced this topic on
                                      • stanwoodS stanwood referenced this topic on
                                      • stanwoodS stanwood referenced this topic on
                                      • First post
                                        Last post