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

New kernel builds: call for testing

Scheduled Pinned Locked Moved BQ
20 Posts 10 Posters 2.2k 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.
    • M Offline
      mardy
      last edited by 21 Feb 2022, 19:51

      Hi all!
      I've recently spent some time to rebuild the kernels for a handful of BQ devices; while my initial goal was to just enable the FM radio on them, I made an unhappy discovery along the way: just building the kernel sources that we have in github does not produce the same kernel that we are currently running in our devices β€” a few options are different.

      So, I spent some time finding what the differences are, and tried to change the kernel configurations so that they would match what we are currently running (and yes, in the process I also enabled the FM radio on them πŸ™‚ ). Now it's time to give them a week or two of testing, and then we can decide whether to push these kernels to all users.

      Call for testing

      Please download the kernel for your device:

      • BQ E4.5: install the kernel from this release.
      • BQ E5: install the kernel from this release.
      • BQ M10 HD: install the kernel from this build.
      • BQ M10 FHD: I don't have this device, please attach the file /proc/config.gz to this thread and I'll make a build for it.

      Then, reboot your device to the fastboot mode (POWER + VOL UP, then select "Reboot to bootloader") and run

      # Adjust the path as needed
      fastboot flash boot /path/to/the/downloaded/boot.img && fastboot reboot
      

      It does not matter what channel you are running on your device.

      What to pay attention to

      Ideally, you should see no changes. If you observe a degradation of the power consumption, or if something stops working, please report it here.

      Why test this?

      Because this is the first step we need to take in order to hope to move these devices to 20.04; I'm not saying that if these kernels work we are all happy and ready to go, but this is a prerequisite. So, please, if you have one of these devices, give it a try, and report back (maybe after a week or two).

      Thanks in advance πŸ™‚

      K S F 3 Replies Last reply 21 Feb 2022, 20:09 Reply Quote 9
      • K Offline
        Keneda @mardy
        last edited by 21 Feb 2022, 20:09

        @mardy said in New kernel builds: call for testing:

        Why test this?
        Because this is the first step we need to take in order to hope to move these devices to 20.04; I'm not saying that if these kernels work we are all happy and ready to go, but this is a prerequisite. So, please, if you have one of these devices, give it a try, and report back (maybe after a week or two).
        Thanks in advance

        Now i'm jalous of BQ device owners πŸ˜…

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
        πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

        1 Reply Last reply Reply Quote 0
        • S Offline
          sk
          last edited by 21 Feb 2022, 21:05

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            sk @mardy
            last edited by sk 21 Feb 2022, 21:08

            @mardy
            bq m10 FHD config.gz

            A 1 Reply Last reply 26 Feb 2022, 11:19 Reply Quote 2
            • J Offline
              josevidal
              last edited by josevidal 21 Feb 2022, 22:10

              Hi, I have installed the mentioned kernel on BQE4.5 (krillin). I haven't been able to test it much yet. The fm radio application (without internet) works. I will observe the rest of the points. Thanks.

              I edit with more information
              Linux ubuntu-phablet 3.4.67 #1 SMP PREEMPT Tue Jan 11 22:54:05 MSK 2022 1.2.1_20140721-1138- armv7l armv7l armv7l GNU/Linux

              In day to day use everything works normally. I think opening the configuration takes longer.

              2015 - nearly 2024: BQ Aquaris E4.5 Ubuntu Edition
              2023 - Now (Daily use): Xiaomi MI A2

              C 1 Reply Last reply 22 Feb 2022, 01:12 Reply Quote 1
              • C Offline
                CiberSheep @josevidal
                last edited by 22 Feb 2022, 01:12

                Vegeta is behaving well... and I hear white noise when run the radio app!! (with headphones :D)

                Another planet, another time, another universe!

                1 Reply Last reply Reply Quote 1
                • R Offline
                  rapto
                  last edited by rapto 22 Feb 2022, 17:39

                  Just installed. BQ M10 HD seems to behave well, uname tells me 3.10.93 built on Jan 31. FM app detects headphones (or not) but seems frozen afterwards.

                  C 1 Reply Last reply 22 Feb 2022, 23:53 Reply Quote 1
                  • C Offline
                    CiberSheep
                    last edited by CiberSheep 22 Feb 2022, 21:14

                    bq E5:
                    Linux ubuntu-phablet 3.4.67 #1 SMP PREEMPT Thu Jan 13 21:59:46 MSK 2022 3e27b9d9 armv7l armv7l armv7l GNU/Linux

                    • Autobright: ok
                    • Cameras ok (image and video)
                    • Bluetooth:
                      • audio works
                    • Wifi ok
                    • Gps ok
                    • Sim1 ok
                    • Sim 2 ok
                    • Tethering ok (same issues as before :P)

                    Another planet, another time, another universe!

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      CiberSheep @rapto
                      last edited by CiberSheep 22 Feb 2022, 23:53

                      @rapto as well here, radio is dead (not white noise)
                      https://dpaste.com/39X36Z4VC

                      Cooler: m10HD
                      Linux ubuntu-phablet 3.10.93 #1 SMP PREEMPT Mon Jan 31 20:08:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

                      • Autobright: ok
                      • Cameras ok (image and video)
                      • Mic ok
                      • Bluetooh:
                        • audio ok
                      • wifi ok
                      • GPS ok (when I connected the bluetooh headphones, audio got interferences for a moment (?)

                      Need to test (before I forget)

                      • hdmi out
                      • usb pendrive
                      • mouse and keyboard wired and bluetooth

                      Another planet, another time, another universe!

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        Fuseteam @mardy
                        last edited by 26 Feb 2022, 01:27

                        @mardy niiice, thanks for your work i'll test it out too~ sadly my battery is rather old to be a reliable battery test πŸ˜“ and my touch screen isn't in the best state either but i'll be sure to report any other issues!

                        1 Reply Last reply Reply Quote 1
                        • A Offline
                          arubislander @sk
                          last edited by 26 Feb 2022, 11:19

                          @sk @mardy Did you get a chance to compile a new kernel for the M10 FHD? If not could you maybe share what steps are needed? I have compiled my own desktop kernel in the past, so I should be OK following instructions. Point me to a more suitable discussion platform is needed.

                          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                          Happily running Ubuntu Touch
                          Google Pixel 3a (20.04 DEV)
                          JingPad (24.04 preview)
                          Meizu Pro 5 (16.04 DEV)

                          M 1 Reply Last reply 1 Mar 2022, 20:14 Reply Quote 0
                          • M Offline
                            mardy @arubislander
                            last edited by 1 Mar 2022, 20:14

                            @arubislander said in New kernel builds: call for testing:

                            @sk @mardy Did you get a chance to compile a new kernel for the M10 FHD? If not could you maybe share what steps are needed? I have compiled my own desktop kernel in the past, so I should be OK following instructions. Point me to a more suitable discussion platform is needed.

                            Not yet, sorry! I've been busy with something else πŸ™‚

                            If you feel like trying, please have a look at the README I added in https://gitlab.com/ubports-legacy-devices/cooler/kernel_bq_m10, because I expect that the steps will be quite similar.

                            1 Reply Last reply Reply Quote 1
                            • J Offline
                              josevidal
                              last edited by 2 Mar 2022, 20:58

                              During the time I have been using the new kernel it seems to me that when I have internet data enabled the battery consumption is higher. When I have the data connection disabled I have not detected any difference in battery consumption.

                              Linux ubuntu-phablet 3.4.67 #1 SMP PREEMPT Tue Jan 11 22:54:05 MSK 2022 1.2.1_20140721-1138- armv7l armv7l armv7l GNU/Linux with BQ E4.5

                              2015 - nearly 2024: BQ Aquaris E4.5 Ubuntu Edition
                              2023 - Now (Daily use): Xiaomi MI A2

                              M 1 Reply Last reply 3 Mar 2022, 17:04 Reply Quote 0
                              • M Offline
                                mardy @josevidal
                                last edited by 3 Mar 2022, 17:04

                                @josevidal said in New kernel builds: call for testing:

                                During the time I have been using the new kernel it seems to me that when I have internet data enabled the battery consumption is higher. When I have the data connection disabled I have not detected any difference in battery consumption.

                                Linux ubuntu-phablet 3.4.67 #1 SMP PREEMPT Tue Jan 11 22:54:05 MSK 2022 1.2.1_20140721-1138- armv7l armv7l armv7l GNU/Linux with BQ E4.5

                                Thanks Jose! It would be valuable if you could run a test where you use the data connection for about 1 hour (or at least half hour) with and without this new kernel, to see if it really makes a sensible difference. Better if both tests start from the same level of charge; in other words, it's better if initially the battery is at 100% level. Maybe you can just leave the device idle, but connected to the internet, and see how the battery is like after 1 hour.

                                J 1 Reply Last reply 3 Mar 2022, 18:21 Reply Quote 0
                                • J Offline
                                  josevidal @mardy
                                  last edited by 3 Mar 2022, 18:21

                                  @mardy sorry for asking such a basic question, but how can I load the old kernel? I don't have the boot.img file of the kernel that the phone used before.

                                  2015 - nearly 2024: BQ Aquaris E4.5 Ubuntu Edition
                                  2023 - Now (Daily use): Xiaomi MI A2

                                  A 1 Reply Last reply 4 Mar 2022, 13:25 Reply Quote 0
                                  • A Offline
                                    AppLee @josevidal
                                    last edited by 4 Mar 2022, 13:25

                                    @josevidal
                                    If I'm not mistaken if you switch channel and go back you should trigger a complete flashing of your device.
                                    But I can be wrong...

                                    M 1 Reply Last reply 5 Mar 2022, 07:16 Reply Quote 0
                                    • M Offline
                                      mardy @AppLee
                                      last edited by 5 Mar 2022, 07:16

                                      @applee said in New kernel builds: call for testing:

                                      @josevidal
                                      If I'm not mistaken if you switch channel and go back you should trigger a complete flashing of your device.
                                      But I can be wrong...

                                      I'm not sure if switching channels is enough (I guess it is, but I'm also not sure), but for sure reflashing the device with the installer will do it.

                                      J 1 Reply Last reply 7 Mar 2022, 19:56 Reply Quote 2
                                      • J Offline
                                        josevidal @mardy
                                        last edited by josevidal 3 Jul 2022, 20:00 7 Mar 2022, 19:56

                                        @mardy hello, after putting the previous kernel I see that the consumption is the same (varies very little and may be due to other factors).

                                        Until now I had not noticed that with the 3G network connected without any open application and the screen off, the battery consumption was much higher than with wifi (without any open application).

                                        To revert to the previous kerner I have performed the following steps, in case it is useful to anyone else.
                                        I download the zip file corresponding to my device from.
                                        https://cdimage.ubports.com/stock-bq-images/krillin.zip
                                        from
                                        https://docs.ubports.com/en/latest/userguide/install.html#install-on-legacy-android-devices

                                        I open the zip file with my favorite decompressor.
                                        I extract the boot.img file to my pc
                                        I turn off the mobile, connect the usb cable and boot in fast boot mode.
                                        Using the volume keys select fast boot
                                        On the pc I run the corresponding command
                                        fastboot flash boot boot.img && fastboot reboot

                                        comparativa.png

                                        2015 - nearly 2024: BQ Aquaris E4.5 Ubuntu Edition
                                        2023 - Now (Daily use): Xiaomi MI A2

                                        1 Reply Last reply Reply Quote 1
                                        • marekfM Offline
                                          marekf
                                          last edited by 10 Mar 2022, 19:26

                                          Hello upload and we'll see
                                          Bq Aquaris e5 Hd

                                          marekfM 1 Reply Last reply 13 Mar 2022, 17:27 Reply Quote 0
                                          • marekfM Offline
                                            marekf @marekf
                                            last edited by 13 Mar 2022, 17:27

                                            @marekf Hi, I have installed the mentioned kernel on BQ E5HD. I haven't been able to test it much yet. The fm radio application (without internet) works

                                            1 Reply Last reply Reply Quote 0
                                            • lduboeufL lduboeuf referenced this topic on 23 May 2022, 20:31
                                            5 out of 20
                                            • First post
                                              5/20
                                              Last post