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

    OnePlus 6(T) port

    Scheduled Pinned Locked Moved Oneplus 6/6T
    46 Posts 10 Posters 21.3k 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.
      • flohackF Offline
        flohack @mrcyjanek
        last edited by flohack

        @mrcyjanek for b) you need to have your device created on our system-image server:
        af833df3-fe4d-45f4-b3f1-bcc95d09e9dc-grafik.png
        Also, that means that our CI has to build your manifest, so that needs a few steps before we can go live.

        For a) the recovery:
        Add the following statements to your manifest:

            <remote name="beidl" fetch="git://github.com/fredldotme" />
            <remote name="rargente" fetch="git://github.com/Rargente" />
            <project path="external/gpg" name="android_external_gpg" revision="halium-7.1" remote="beidl" />
            <remove-project path="external/toybox" name="android_external_toybox" />
            <project path="external/toybox" name="android_external_toybox" revision="halium-7.1" remote="beidl" />
            <remove-project path="bootable/recovery" name="android_bootable_recovery" />
            <project path="bootable/recovery" name="android_bootable_recovery" remote="rargente" revision="ubp-7.1" />
        
            <remove-project path="system/core" name="Halium/android_system_core" />
            <project path="system/core" name="Halium/android_system_core" groups="pdk" remote="hal" revision="halium-7.1-adbroot" />
        

        That will modify the recovery build in such a way that have an always unloocked recovery plus the system-image client which will then allow to install updates or to reset to factory defaults etc.

        After building systemimage there is also recovery.img in the $OUT path, you can take this flash it and try it out πŸ˜‰

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

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          mrcyjanek @flohack
          last edited by

          @Flohack said in OnePlus 6(T) port:

          @mrcyjanek for b) you need to have your device created on our system-image server:
          af833df3-fe4d-45f4-b3f1-bcc95d09e9dc-grafik.png
          Also, that means that our CI has to build your manifest, so that needs a few steps before we can go live.

          I'm using generic system image...

          and my device doesn't have a recovery partition.

          flohackF 1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @mrcyjanek
            last edited by

            @mrcyjanek You will still need a channel in our system-image server if you want to provide OTA updates to your users πŸ™‚ - and how does this thing work withour recovery then?

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

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mrcyjanek @flohack
              last edited by

              @Flohack I have no idea, probably it does some things with initramfs or process it at boot time, now when I want to boot to twrp I'm using fastboot boot twrp.img command and I didn't try installing it on UT kernel because that would probably break it.

              1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack
                last edited by

                @mrcyjanek Can you plz send me the output of sudo cat /var/lib/lxc/android/rootfs/fstab.* <= you need to find the correct name for it...

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

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  SevralTi @flohack
                  last edited by

                  @Flohack But on A/B devices, really no recovery partition! Recovery stored on boot partition.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SevralTi
                    last edited by

                    YES! Now our device on "devices.ubuntu-touch.io"

                    1 Reply Last reply Reply Quote 2
                    • S Offline
                      SevralTi @flohack
                      last edited by

                      @Flohack We need to install recovery in boot image. We need a script for unpack, patch kernel and repack.

                      flohackF 1 Reply Last reply Reply Quote 0
                      • flohackF Offline
                        flohack @SevralTi
                        last edited by

                        @SevralTi Sorry I am n ot into Halium 9 porting (yet) I cant help with that.

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

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          SevralTi @flohack
                          last edited by

                          @Flohack Yes! A/B it's relly problem... Without recovery.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sparkster666
                            last edited by

                            I just got this up and running seems to run great. The one problem I am having is it will not sleep. I can use the power button and i get the power menu but if i click it fast the screen stays on and it never goes to sleep on its own. Is there somthing i missed or is this a known issue? Any work around.

                            flohackF M 2 Replies Last reply Reply Quote 0
                            • flohackF Offline
                              flohack @sparkster666
                              last edited by

                              @sparkster666 That means that Lomiri thinks this is a desktop. A proper configuration file injected into the build should fix this.

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

                              S 1 Reply Last reply Reply Quote 0
                              • M Offline
                                mrcyjanek @sparkster666
                                last edited by

                                @sparkster666 So, I've noticed this issue. You may want to get image from https://github.com/ubports-oneplus6/documentation/releases/tag/1.2 here.

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sparkster666 @flohack
                                  last edited by

                                  @Flohack Is there somewhere I can read up on that?

                                  flohackF 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sparkster666 @mrcyjanek
                                    last edited by

                                    @mrcyjanek That seems to have done the trick I reinstalled using that image and it seems to be working correctly. Just one lockup so far answering a call. Thanks!!!

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sparkster666 @sparkster666
                                      last edited by

                                      @sparkster666 I found one problem with this image all of the web apps from the store crash. Is there a known fix for this so I can give this a good test?

                                      1 Reply Last reply Reply Quote 0
                                      • flohackF Offline
                                        flohack @sparkster666
                                        last edited by

                                        @sparkster666 You need to put this file: https://github.com/Flohack74/android_device_huawei_angler/blob/halium-7.1/ubuntu/display.conf with a copy override in device.mk into the right place: https://github.com/Flohack74/android_device_huawei_angler/blob/60d285e384b7dd70763cd42a1caf1f5f8752b97c/device.mk#L163

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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sparkster666 @flohack
                                          last edited by

                                          @Flohack Thanks for trying. That is a bit over my head ill keep watching from afar.

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sparkster666
                                            last edited by

                                            Any chance someone has an updated image that will work with the OnePlus 6t? Is there anywhere I can learn how to complile one myself?

                                            Thanks in advance...

                                            K 1 Reply Last reply Reply Quote 1
                                            • K Offline
                                              kaiyes @sparkster666
                                              last edited by

                                              This post is deleted!
                                              1 Reply Last reply Reply Quote 0

                                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                              With your input, this post could be even better πŸ’—

                                              Register Login
                                              • First post
                                                Last post