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

Halium 9 / CI + OTA build

Scheduled Pinned Locked Moved Oneplus 6/6T
35 Posts 8 Posters 7.2k Views 3 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.
    • R Offline
      rogier.oudshoorn
      last edited by rogier.oudshoorn 3 Jul 2021, 13:27 7 Mar 2021, 13:11

      The GSI build isn't likely to get updates, but there's a build in progress on the regular build track. You can find the setup here: https://gitlab.com/ubports/community-ports/android9/oneplus-6

      Status
      Essentially, we're looking for developers. The gitlab builds work, and are flashable, but the following aspects are missing / work in progress:

      • There's a kernel bug that breaks suspend; right now suspend is disabled (so it'll run through battery quickly) https://gitlab.com/ubports/community-ports/android9/oneplus-6/oneplus-enchilada-fajita/-/issues/2

      • Recovery is available, but non-functional (lacks functional ADB). https://gitlab.com/ubports/community-ports/android9/oneplus-6/oneplus-enchilada-fajita/-/issues/3

      • Camera app won't start

      • Features regular reboots

      • It generally lacks polish

      If you're interested and capable of helping out, please join us on the discord here https://discord.gg/haVG9Ga

      If you're not a developer, the GSI is more stable - but the CI builds feature a more recent rootfs. It's your choice.

      How to flash
      The CI build produces a boot.img and a system.img As you imagine, they're flashable through fastboot. Be warned - you have to flash on top of LOS 16, it won't boot on any other base.

      You can download artefacts from the pipeline, right now this is the last merged build: https://gitlab.com/ubports/community-ports/android9/oneplus-6/oneplus-enchilada-fajita/-/jobs/993648342/artifacts/browse

      A 1 Reply Last reply 8 Mar 2021, 02:01 Reply Quote 2
      • A Offline
        AntiDroid @rogier.oudshoorn
        last edited by 8 Mar 2021, 02:01

        @rogier-oudshoorn said in Halium 9 / CI + OTA build:

        you have to flash on top of LOS 16, it won't boot on any other base.

        I would just like to confirm you actually mean it has to be Lineage 16 and not any other Android 9 version that Lineage is based off of? Or do you just mean the equivalent version to LOS 16? If it has to be LOS 16 can you explain why? If it has to be LOS 16 does it matter which point release?

        OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
        OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

        T R 3 Replies Last reply 8 Mar 2021, 02:25 Reply Quote 1
        • T Offline
          TotalRando @AntiDroid
          last edited by 8 Mar 2021, 02:25

          @antidroid @rogier-oudshoorn I'm down to begin this process. Is there a quickstart process or is it basically starting by cloning this and doing the steps? https://gitlab.com/ubports/community-ports/android9/oneplus-6/oneplus-enchilada-fajita

          I've never done this before, but I feel comfortable enough to start figuring it out. That, and my only other phone is a Nexus 4 (3G) and I am not going back to Android on this. If I have to help build this up, I will. Those issues are not insurmountable. (Curious about the camera though... worth investigating.)


          Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

          A 1 Reply Last reply 8 Mar 2021, 04:02 Reply Quote 0
          • T Offline
            TotalRando @AntiDroid
            last edited by 8 Mar 2021, 03:00

            @antidroid I am guessing because this is what @rogier-oudshoorn is using and therefore the standard "we can't guarantee the steps will work on other versions" verbiage applies here. I'm cool with not getting experimental during the installation process. Will look for LOS 16.


            Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

            1 Reply Last reply Reply Quote 0
            • A Offline
              AntiDroid @TotalRando
              last edited by 8 Mar 2021, 04:02

              @totalrando said in Halium 9 / CI + OTA build:

              @antidroid @rogier-oudshoorn I'm down to begin this process. Is there a quickstart process or is it basically starting by cloning this and doing the steps? https://gitlab.com/ubports/community-ports/android9/oneplus-6/oneplus-enchilada-fajita
              I've never done this before, but I feel comfortable enough to start figuring it out. That, and my only other phone is a Nexus 4 (3G) and I am not going back to Android on this. If I have to help build this up, I will. Those issues are not insurmountable. (Curious about the camera though... worth investigating.)

              I am fairly sure you do not need to build anything. The last link Roger posted was a link to compiled images. A boot.img and a system.img
              But again no instructions on how to flash other than Rogers comment on using fastboot. I would have thought you use the same technique as the GSI but since he says this is not a GSI I am not sure.

              I would simply try flashing them as if they were a GSI but I am currently dual booting to postmarket on a custom Gnome build I am working on and do not want to risk losing the changes until I have my install-able version matching the changes I have made on the phone directly. You can always reflash the phone back to stock and start over.

              OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
              OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

              T R 2 Replies Last reply 8 Mar 2021, 04:29 Reply Quote 1
              • T Offline
                TotalRando @AntiDroid
                last edited by 8 Mar 2021, 04:29

                @antidroid It's not a GSI. It's a Continuous Integration system (CI). Kind of like a pseudo-central base to withdraw from.

                Like an artificial speed force.


                Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                A 1 Reply Last reply 8 Mar 2021, 05:49 Reply Quote 0
                • A Offline
                  AntiDroid @TotalRando
                  last edited by 8 Mar 2021, 05:49

                  @totalrando said in Halium 9 / CI + OTA build:

                  @antidroid It's not a GSI. It's a Continuous Integration system (CI). Kind of like a pseudo-central base to withdraw from.

                  Like an artificial speed force.

                  I get that but the two files the Roger linked to in the last link of his post are the same types of images as used for a GSI (system image and boot image). As to how they are flashed I was guessing it is like flashing a GSI but again the lack of documentation leaves us to guess.

                  I think the difference is that is more like an edge build. The continuous integration means it gets patches and updates pushed to it and are built to test for problems but does not create actual files so they are not installed on devices. The files he linked to were created 6 days ago but if you look through the jobs you can see it is simply the last successful build from a month ago being made into actual downloadable files.

                  OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                  OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                  1 Reply Last reply Reply Quote 1
                  • R Offline
                    rogier.oudshoorn @AntiDroid
                    last edited by 8 Mar 2021, 15:21

                    @antidroid said in Halium 9 / CI + OTA build:

                    @rogier-oudshoorn said in Halium 9 / CI + OTA build:

                    you have to flash on top of LOS 16, it won't boot on any other base.

                    I would just like to confirm you actually mean it has to be Lineage 16 and not any other Android 9 version that Lineage is based off of? Or do you just mean the equivalent version to LOS 16? If it has to be LOS 16 can you explain why? If it has to be LOS 16 does it matter which point release?

                    You'll need to run exactly LineageOS 16, not just any Android 9 version. I presume this is because LOS changed some of the partitions, and we need it to load their drivers, but i'm not sure. I'm running on the latest LOS16, and i suggest everyone does the same.

                    1 Reply Last reply Reply Quote 2
                    • R Offline
                      rogier.oudshoorn @AntiDroid
                      last edited by 8 Mar 2021, 15:25

                      I am fairly sure you do not need to build anything. The last link Roger posted was a link to compiled images. A boot.img and a system.img
                      But again no instructions on how to flash other than Rogers comment on using fastboot. I would have thought you use the same technique as the GSI but since he says this is not a GSI I am not sure.

                      I would simply try flashing them as if they were a GSI but I am currently dual booting to postmarket on a custom Gnome build I am working on and do not want to risk losing the changes until I have my install-able version matching the changes I have made on the phone directly. You can always reflash the phone back to stock and start over.

                      Yeah, exactly! Please download the system.img and boot.img artefacts from the CI job - CI will do the building for us.

                      It's not a GSI, and you need to flash with fastboot instead of twrp. IF you're on the right slot ( you can check with fastboot getvar current-slot ), the steps are:

                      • fastboot flash boot boot.img (flashes the boot.img to the boot partition of your current slot)

                      • fastboot flash system system.img (flashes system.img to the system partition of your current slot)

                      • fastboot reboot (reboots your phone on the current slot)

                      A 1 Reply Last reply 8 Mar 2021, 20:37 Reply Quote 2
                      • A Offline
                        AntiDroid @rogier.oudshoorn
                        last edited by 8 Mar 2021, 20:37

                        @rogier-oudshoorn

                        So the XDA page for the official LOS 16 Oneplus 6T build release points to the files on the Official Lineage OS sites download page for the Fajita which only has Lineage 17.1 builds.

                        On their FAQ it says this

                        We don’t keep building, or keep builds around for any version older than 2 Android versions (e.g. when 18.1 builds started, 16.0 builds stopped and the builds were slowly removed,

                        So we need an OS that you can no longer get unless you build it yourself or trust some shady download portal someone has uploaded the files to before they were scrubbed from the official server. Just to flash it before flashing a test build of UT.

                        I may try flashing it over Oxygen just to see and if it fails I will run Postmarket until there is a proper install-able version of UT. The current GSI is completely useless for me. I get a couple of seconds of screen time before it shuts off the screen. I can reboot UT as many times as I want and the results are the same. The only way I have ever been able to get it back is to reflash Oxygen then UT and a few times I had to repeat that. Once back it last for a couple of reboots maybe and comes back. Reflashing Oxygen obviously ruins my Postmarket build so I just don not use UT on it currently.

                        OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                        OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                        T N 2 Replies Last reply 8 Mar 2021, 22:40 Reply Quote 0
                        • T Offline
                          TotalRando @AntiDroid
                          last edited by 8 Mar 2021, 22:40

                          @rogier-oudshoorn ```
                          fastboot flash boot system.img
                          target reported max download size of 805306368 bytes
                          sending sparse 'boot_a' 1/4 (785285 KB)...
                          OKAY [ 26.708s]
                          writing 'boot_a' 1/4...
                          FAILED (remote: Error flashing partition : Volume Full)
                          finished. total time: 26.709s
                          root@mx:/home/computer/Downloads# fastboot getvar current-slot
                          current-slot: a
                          finished. total time: 0.002s


                          Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                          T R 2 Replies Last reply 8 Mar 2021, 22:40 Reply Quote 0
                          • T Offline
                            TotalRando @TotalRando
                            last edited by TotalRando 3 Aug 2021, 22:44 8 Mar 2021, 22:40

                            I sense this won't work as I don't have the LOS 16 build....

                            Hmm new feature. I've entered "Crashdump Mode". This gives me the impression I have done something wrong.


                            Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                            T 1 Reply Last reply 9 Mar 2021, 04:33 Reply Quote 0
                            • T Offline
                              TotalRando @TotalRando
                              last edited by 9 Mar 2021, 04:33

                              @totalrando Well, it's been fun. After a nightmare bootloop, I decided to start the process over. I downloaded OOS9 and am keeping it there... for now (apparently there's no download space on a 128 GB phone). If I do go back it will be to the GSI build or anything later. Still have UT on my Nexus 4, but I've had enough pain with this phone for now. Maybe I should have just left it as is. Maybe I'll go back to the GSI build if only to get my drive space back. I genuinely miss it. But for now, I'm just happy the thing places and receives calls.


                              Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                              1 Reply Last reply Reply Quote 1
                              • R Offline
                                rogier.oudshoorn @TotalRando
                                last edited by 10 Mar 2021, 09:03

                                @totalrando said in Halium 9 / CI + OTA build:

                                @rogier-oudshoorn
                                fastboot flash boot system.img

                                Yeah, you should flash system.img to system, boot.img goes to boot ...

                                A 1 Reply Last reply 12 Mar 2021, 09:49 Reply Quote 1
                                • A Offline
                                  AntiDroid @rogier.oudshoorn
                                  last edited by 12 Mar 2021, 09:49

                                  @rogier-oudshoorn So I decided to reflash my phone with Oxygen 9 to see if your CI build would work. It did not, it would just boot to the bootloader. But as you said it needs to be LOS 16 and as I said it is no longer available. So will you be providing a copy of LOS 16 for both the 6 and the 6T or will the installer provide everything needed to install regardless of the current OS?

                                  OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                                  OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                                  S R 2 Replies Last reply 12 Mar 2021, 18:47 Reply Quote 0
                                  • S Offline
                                    sven @AntiDroid
                                    last edited by 12 Mar 2021, 18:47

                                    BTW: The same version problem of LineageOS 16 exists for the Xiaomi Pocophone. Any long term archives of LOS?

                                    VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-5), Pocophone F1 (pmOS, edge)

                                    R 1 Reply Last reply 13 Mar 2021, 08:29 Reply Quote 0
                                    • R Offline
                                      rogier.oudshoorn @AntiDroid
                                      last edited by 13 Mar 2021, 08:26

                                      @antidroid I found my copy of LOS 16 (for OP6) linked on XDA somewhere; i guess when we'll get to the installer stage i'll likely have fashboot or twrp flashable images for the installer to work with.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rogier.oudshoorn @sven
                                        last edited by rogier.oudshoorn 13 Mar 2021, 08:29

                                        @sven This at least claims it does: https://archive.org/details/lineage-16.0-20200325-nightly-beryllium-signed

                                        When you do, please check https://wiki.lineageos.org/verifying-builds.html to see if they are in fact officially signed.

                                        T 1 Reply Last reply 15 Mar 2021, 19:33 Reply Quote 3
                                        • T Offline
                                          TotalRando @rogier.oudshoorn
                                          last edited by 15 Mar 2021, 19:33

                                          @rogier-oudshoorn Thanks for this. As my OOS9 build is virtually inoperable, I've moved my SIM back to my Nexus 4 but now I can start working on this wonderful phone again. Downloading LOS16 now.


                                          Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                                          A 1 Reply Last reply 15 Mar 2021, 20:56 Reply Quote 0
                                          • A Offline
                                            AntiDroid @TotalRando
                                            last edited by 15 Mar 2021, 20:56

                                            @totalrando Rogers link was to a LOS16 for pocophone not oneplus 6/6T

                                            OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                                            OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

                                            T 1 Reply Last reply 15 Mar 2021, 23:28 Reply Quote 1
                                            5 out of 35
                                            • First post
                                              5/35
                                              Last post