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

    Call for testing FP3 (also for FP3+) config for UBports-installer

    Scheduled Pinned Locked Moved Fairphone 3
    72 Posts 16 Posters 17.8k 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.
      • LuksusL Offline
        Luksus @strangeli
        last edited by Luksus

        @strangeli yes of cause gibe it a try with wipe please.
        I am not an Android expert, but as I understand, as soon as Android is set up with a pin or similar, it encrypts your data partition.

        So wiping/reformatting is removing the encryption. Also it makes sure, that the data partition gets a filesystem, where UT is able to write to.
        I hope that this will solve the issue.
        If not, I need to figure out what is going on by myself.

        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          Homer @Luksus
          last edited by

          @luksus hi,
          Installer and phone had worked fine except s slow charging behaviour. But the update from 2 days ago removed my sim card. It is not listed under network settings anymore. I tested both slots, also restarting without sim and then restarting with sim, still the issue remains.screenshot20211002_200413441.png

          F LuksusL 2 Replies Last reply Reply Quote 0
          • F Offline
            FP2andFP3-User @Homer
            last edited by

            @homer remove the battery short and then start again.....then you will see normally both sim cards again

            1 Reply Last reply Reply Quote 0
            • LuksusL Offline
              Luksus @Homer
              last edited by

              @homer @FP2andFP3-User
              It is a general issue with current ofono package... not device specific. If you can wait until tomorrow, I would advice you to wait and install tomorrows OTA.
              Hopefully then it is fixed again.

              If you cannot wait, you could do the following:

              • Open Terminal app on the device
              • Make system writable: sudo mount -o remount,rw /
              • sudo apt update && sudo apt upgrade
              • When it asks if you want to keep current ril_subscription.conf just hit "enter" (accept preselection).
              • reboot

              Hopefully it is fixed then.

              Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

              H 2 Replies Last reply Reply Quote 0
              • H Offline
                Homer @Luksus
                last edited by

                @luksus hi thanks for beeing so helpful and responsive. I can wait till tomorrow. Would be awesome to see behind the scenes, as this porting is just magic for me.

                LuksusL 1 Reply Last reply Reply Quote 0
                • LuksusL Offline
                  Luksus @Homer
                  last edited by

                  @homer The thing with the current build is, that we use the "devel"-channel, which means it is the development channel. We get OTA updates every day, because everyday the developers of Ubuntu Touch are doing changes, to improve the system. And Things can break in the devel-channel, which is kind of normal.

                  Sadly we don't have a stable channel for Halium 10 builds (builds for devices, which are based on Android 10) yet.

                  So if you need a working phone all the time, I would advice you to not install the daily OTAs, until it is confirmed to not break things.

                  Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                  H 1 Reply Last reply Reply Quote 0
                  • H Offline
                    Homer @Luksus
                    last edited by

                    @luksus noted:-) wont do that anymore after phone calls work again.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Homer @Luksus
                      last edited by

                      @luksus Hi, I performed the steps in the command line today. This did not fix the "no sim" issue unfortunately.

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        FP2andFP3-User @Homer
                        last edited by

                        @homer use the ubport installer full ota update and then erverything is normal

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          Homer @FP2andFP3-User
                          last edited by

                          @fp2andfp3-user thanks, I'll give it a try. Can I do that without wiping data?

                          LuksusL 1 Reply Last reply Reply Quote 0
                          • LuksusL Offline
                            Luksus @Homer
                            last edited by

                            @homer yes

                            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                            H 1 Reply Last reply Reply Quote 0
                            • H Offline
                              Homer @Luksus
                              last edited by

                              @luksus it worked with the installer. Thanks a lot!

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                revocarne
                                last edited by

                                Work only if I wipe data from TWRP, but after this work fine!

                                LuksusL 1 Reply Last reply Reply Quote 0
                                • LuksusL Offline
                                  Luksus @revocarne
                                  last edited by Luksus

                                  @revocarne Thanks for sharing this information. So the wipe option of the installer alone was not enough?
                                  With TWRP, did you only wipe userdata or also additional things like cache for example?

                                  Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                  C R 2 Replies Last reply Reply Quote -1
                                  • C Offline
                                    cr9c @Luksus
                                    last edited by

                                    Hi again @luksus ,

                                    So I did try following your instructions but it didn't work at all.
                                    I've got the following error :

                                    Error: adb:preparesystemimage: Error: {"error":{"code":1,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"mkdir: '/cache/recovery': Required key not available"}
                                    

                                    and herewith the window capture ...!Capture d’écran du 2021-10-11 17-55-28.png

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      cr9c @cr9c
                                      last edited by

                                      For your info @Luksus I also tried with UBports installer v.0.9.1-beta wich is downloadable on the site "ubports-installer_0.9.1-beta_linux_x86_64.AppImage"
                                      ... and I've got the same error message !

                                      LuksusL 1 Reply Last reply Reply Quote 0
                                      • LuksusL Offline
                                        Luksus @cr9c
                                        last edited by

                                        @cr9c Can you please try to manually boot into recovery (power + volume-up buttons, or from fastboot selecting "recovery mode"), got to "factory reset" and wipe the cache only?

                                        Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                        C 1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cr9c @Luksus
                                          last edited by

                                          @luksus I've got "wipe data" or "wipe system" but not "wipe cache data"!?

                                          LuksusL 1 Reply Last reply Reply Quote 0
                                          • LuksusL Offline
                                            Luksus @cr9c
                                            last edited by

                                            @cr9c ok sorry, then I remembered it wrong.
                                            Then please try it with the FP3 twrp recovery.
                                            There you should be able to wipe the cache only.

                                            Download it https://eu.dl.twrp.me/FP3/twrp-3.5.2_9-0-FP3.img.html
                                            And boot it:
                                            fastboot boot twrp-3.5.2_9-0-FP3.img

                                            Devices: BQ e4.5, Fairphone 2, Fairphone 3, Lenovo X605F, Pinephone, Moto Z2 Force, OnePlus5T

                                            C 1 Reply Last reply Reply Quote 1
                                            • C Offline
                                              cr9c @Luksus
                                              last edited by

                                              Hi @luksus ,
                                              I did wipe data through TWRP and try again with the installer, it's NOK !
                                              Herewith my terminal lines ...

                                              Me@home: ~/FP3_installer$ ubports-installer -f FP3.yml
                                              info: Welcome to the UBports Installer version 0.8.8-beta!
                                              warn: Please update: https://devices.ubuntu-touch.io/installer/?package=deb
                                              info: Installing Ubuntu Touch on your Fairphone 3 (FP3)
                                              info: configuring...
                                              info: settings: {"channel":"16.04/arm64/android9/devel","wipe":false,"bootstrap":true}
                                              info: Downloading 1 files
                                              info: Downloaded file 1 of 1
                                              info: Downloading 12 files
                                              info: Downloaded file 1 of 12
                                              info: Downloaded file 2 of 12
                                              info: Downloaded file 3 of 12
                                              info: Downloaded file 4 of 12
                                              info: Downloaded file 5 of 12
                                              info: Downloaded file 6 of 12
                                              info: Downloaded file 7 of 12
                                              info: Downloaded file 8 of 12
                                              info: Downloaded file 9 of 12
                                              info: Downloaded file 10 of 12
                                              info: Downloaded file 11 of 12
                                              info: Downloaded file 12 of 12
                                              error: Error: adb:preparesystemimage: Error: {"error":{"code":1,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"mkdir: '/cache/recovery': Required key not available"}
                                              stack trace: Error: {"error":{"code":1,"cmd":"adb -P 5037 shell mkdir -p /cache/recovery"},"stderr":"mkdir: '/cache/recovery': Required key not available"}
                                                  at /opt/ubports-installer/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:117:20
                                                  at ChildProcess.exithandler (child_process.js:319:5)
                                                  at ChildProcess.emit (events.js:315:20)
                                                  at maybeClose (internal/child_process.js:1021:16)
                                                  at Socket.<anonymous> (internal/child_process.js:443:11)
                                                  at Socket.emit (events.js:315:20)
                                                  at Pipe.<anonymous> (net.js:674:12)
                                              warn: error ignored
                                              

                                              What do you think of this ?

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