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

[HowTo] Update baseband & other firmware

Scheduled Pinned Locked Moved Fairphone 2
flo hacks
52 Posts 17 Posters 19.0k Views 5 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.
    • F Offline
      flohack
      last edited by flohack 8 Apr 2018, 11:53

      Motivation
      The Fairphone 2 has got some interesting firmware updates that most users seem to have missed on Ubuntu Touch. While Android users can utilize the updater App made by Fairphone, Ubuntu Touch users are mostly stuck with the stock firmware that came with their device, which might be outdated. Support suggests to update firmware for battery stability and reboot issues. So I thought I give it a try.

      Note: My results are probably skewed since I also use 16.04 on this device, but I will flash another one with 15.04 to verify them

      My reboots have dropped, and the battery life has been extended. So I am seeking users that can confirm or disprove this.

      How

      1. Download the latest Android update package for Fairphone 2 to your PC:
        1.1 Android 7.1 base: https://storage.googleapis.com/fairphone-updates/13484ddf-8791-4a7a-a876-641d5e8eb3ab/fp2-gms-19.11.2-manual-v2.zip
        1.2 Android 9.0 base: https://storage.googleapis.com/fairphone-updates/ed0bd398-399b-4fb0-88f9-f2142fd425ad/fp2-gms-21.03.0-rel.2-manual.zip
      2. The zip file contains a "firmware" or "images" folder. We only need this, extract it to a location of your choice
      3. Connect your phone, developer mode must be enabled
      4. issue the following command: adb reboot bootloader - The phone will enter fastboot mode
      5. Open a shell at the location where you have extracted the firmware folder
      6. Issue the following commands exactly as stated:
        6.1. sudo fastboot flash modem NON-HLOS.bin
        6.2. sudo fastboot flash sbl1 sbl1.mbn
        6.3. sudo fastboot flash rpm rpm.mbn
        6.4. sudo fastboot flash tz tz.mbn
        6.5. sudo fastboot flash dbi sdi.mbn
        6.6. sudo fastboot flash aboot emmc_appsboot.mbn
        6.7. sudo fastboot reboot
      7. The phone will reboot normally

      ThatΒ΄s it - please report your success or not πŸ™‚

      BR Florian

      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

      A 1 Reply Last reply 10 Apr 2018, 22:06 Reply Quote 5
      • Y Offline
        Yougo
        last edited by 9 Apr 2018, 09:05

        Hey Florian, thanks for the heads-up!

        I followed the instructions on a windows 7 pc (don't think that matters, but there you go πŸ™‚ ) and a Fairphone 2 running UT 15.04 devel r280

        flashing went smooth, phone is up and running. i will keep an eye on stability.

        i have been experiencing signal loss (take it out of my pocket, see an X on the signal indicator, unlock the phone, indicator jumps to at least a little signal. seems as though being in my pocket is enough to lose signal?) would this patch help with that too? lets wait and see...

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bastos
          last edited by Bastos 4 Sept 2018, 10:12 9 Apr 2018, 10:06

          Thank you @Flohack
          worked flawlessly on my (old) FP2 with 15.04 rc22 from ubuntu 16.04 PC
          The only thing I would reccomend is to add sudo before all 6.x commands

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aloys @flohack
            last edited by 10 Apr 2018, 22:06

            Thank you @Flohack
            I also did it on FP2 with 15.04 RC3, it then reboots and runs correctly.
            I will see then if there is some improvement.

            @Yougo I also experience the signal loss you mention (the X in the signal indicator).

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bastos
              last edited by 11 Apr 2018, 09:41

              After two days I observe significant energy savings. Very good!

              1 Reply Last reply Reply Quote 1
              • T Offline
                tera
                last edited by 14 Apr 2018, 07:53

                Thanks @Flohack πŸ™‚
                Just updated my FP2 and will report back in a few days as well!

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Aloys
                  last edited by 18 Apr 2018, 22:03

                  Hi
                  On my FP2 15.04 RC3,

                  For energy saving, difficult to say, battery consumption varies so much with the use of the phone that I did not succeed to conclude for an improvement (at least this is not worst!).

                  Here an example before the firmware update with only 4G (disabled when i take the picture, but enabled before) and no bluetooth, no wifi, no gps and few use of the phone
                  0_1524087999606_screenshot20180410_224742714.png

                  and an example after the firmware update:
                  0_1524088102128_screenshot20180418_232333532.png

                  For reboots, there was may be less reboots but I still observe ones. I have them when using navigator, another web application and switching or closing one of the app.

                  In conclusion for me there was no regression and I did not observe obvious improvements, but this was not serious testing, this is more a user feeling.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tera
                    last edited by 20 Apr 2018, 15:12

                    I have to agree with @ublublu, it is hardly impossible to tell if it "performs" better or not, i managed to run close to 2 days without charging this week which had not happen for a while.
                    But also experienced multiple reboots with the motherboard getting very hot as previoulsy (when browsing or high wireless traffic apparently)

                    Just a note, the FP2 mobile baseband update was from "4437.1-FP2-0-07" to "4437.1-FP2-0-08" in my case, stable with no observation on that end so far

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Danceswithcats
                      last edited by 21 Apr 2018, 07:15

                      I'm trying to install the base baseband firmware and have hit a snag. Should I enter the first command in the computer terminal or the phone terminal? On the computer (which is an Ubuntu 16.04 machine), it gives me 'device not found' and on the phone it gives me 'command not found'.

                      I know I am probably missing something very basic: I'm a long-time Ubuntu user but not very confident with the command line.

                      Any pointers would be much appreciated.

                      A user, not a coder. I bought a BQ Aqaris with Ubuntu on it, despite being outside the 'Ubuntu Insider' nonsense, and managed to brick it trying to make it into something useful. Delighted to find UBPorts. I'm really impressed with the community.

                      A 1 Reply Last reply 21 Apr 2018, 08:52 Reply Quote 0
                      • A Offline
                        advocatux @Danceswithcats
                        last edited by 21 Apr 2018, 08:52

                        @danceswithcats you have to type the commands in your computer. Also you probably need to install adb and fastboot tools.

                        D 1 Reply Last reply 21 Apr 2018, 10:25 Reply Quote 0
                        • F Offline
                          flohack
                          last edited by 21 Apr 2018, 10:05

                          Amending now the instructions:

                          In case your adb does not find the FP2 make sure:

                          • You enabled developer mode in the system settings
                          • Your USB cable is ok

                          You can also manually enter fastboot mode by pressing POWER and VOL DOWN simultaneously until the phone reboots. Check with sudo fastboot devices if its there πŸ™‚

                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Danceswithcats
                            last edited by 21 Apr 2018, 10:14

                            All done. Thank you again for your help. I'll report back as soon as I notice anything.

                            A user, not a coder. I bought a BQ Aqaris with Ubuntu on it, despite being outside the 'Ubuntu Insider' nonsense, and managed to brick it trying to make it into something useful. Delighted to find UBPorts. I'm really impressed with the community.

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Danceswithcats @advocatux
                              last edited by 21 Apr 2018, 10:25

                              @advocatux Thanks, Advocatux. Florian very kindly guided me through my ignorance and it is done now. Appreciate the help.

                              A user, not a coder. I bought a BQ Aqaris with Ubuntu on it, despite being outside the 'Ubuntu Insider' nonsense, and managed to brick it trying to make it into something useful. Delighted to find UBPorts. I'm really impressed with the community.

                              1 Reply Last reply Reply Quote 1
                              • L Offline
                                livrecinq
                                last edited by 25 Aug 2018, 06:30

                                Is there enough feed-back today about benefits of manually flashing (thanks for very clear instructions Florian !) ? Is it worth or better wait for things to be integrated into the upcoming OTA4 (I mean for FP2 phone) ?

                                Ils ne savaient pas que c'Γ©tait impossible, alors ils l'ont fait. - Mark Twain

                                F 1 Reply Last reply 25 Aug 2018, 08:25 Reply Quote 0
                                • F Offline
                                  flohack @livrecinq
                                  last edited by 25 Aug 2018, 08:25

                                  @livrecinq Hmm not sure we got enough feedback. Seems to make things not worse, and maybe a bit better. Unfortunately the firmware flasher will not be in OTA-4, we found some instabilities and we cannot risk breaking firmware on the devices. So I recommend flash manually if you are confident on your skills πŸ™‚

                                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                  S L 2 Replies Last reply 25 Aug 2018, 08:40 Reply Quote 0
                                  • S Offline
                                    Stefano @flohack
                                    last edited by 25 Aug 2018, 08:40

                                    @flohack Just a quick question. I always thought that firmware is flashed by OTA and not manually (Android firmware) When the device boot for the first time it creates system.img from the fitmware found on device, right? So, in theory, if I flash Android firmware7.x or 8.x firmware, then wipe it and do a fresh clean install of UT, will the UT(phone) create the system.img from updated firmware (baseband, modem, drivers...)
                                    I'm bit confused here, some clarification would be welcomed. Thanks.

                                    A F 2 Replies Last reply 25 Aug 2018, 08:53 Reply Quote 0
                                    • A Offline
                                      advocatux @Stefano
                                      last edited by 25 Aug 2018, 08:53

                                      I always thought that firmware is flashed by OTA and not manually (Android firmware)

                                      @stefano no, UT uses the firmware installed in your device already, that's why is a good idea to update Android to the latest version available for your device before installing UT, so you don't need to update the firmware manually later.

                                      S 2 Replies Last reply 25 Aug 2018, 09:05 Reply Quote 1
                                      • S Offline
                                        Stefano @advocatux
                                        last edited by 25 Aug 2018, 09:05

                                        @advocatux Even to Android 7 or 8 ? Does UT support Android 7.x and 8.x firmware?

                                        A F 2 Replies Last reply 25 Aug 2018, 09:08 Reply Quote 0
                                        • A Offline
                                          advocatux @Stefano
                                          last edited by 25 Aug 2018, 09:08

                                          @stefano can the supported devices go up to those versions?

                                          S 1 Reply Last reply 25 Aug 2018, 09:41 Reply Quote 1
                                          • IngoI Offline
                                            Ingo
                                            last edited by 25 Aug 2018, 09:37

                                            The Android 7 update for FP2 is scheduled for mid-september.

                                            1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post