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

Getting from Lineage to UBports on Oneplus 6?

Scheduled Pinned Locked Moved 20.04 Focal Fossa
39 Posts 4 Posters 4.3k Views 1 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.
    • D Offline
      Dunbrokin
      last edited by 2 Feb 2023, 07:16

      After much too-ing and fro-ing, I have managed to get Lineage 20-20230124 (via TWRP) on to my phone. I then tried to use the UBports Installer on the device and all seemed to go well....but I ended up semi-bricking the phone.....the dreaded "Qualcom Crash Dump Mode"....I have managed to recover from that.

      So now, how best to get from Lineage to UBports?

      Any help greatly appreciated.

      L 1 Reply Last reply 2 Feb 2023, 07:27 Reply Quote 0
      • L Offline
        Lakotaubp @Dunbrokin
        last edited by 2 Feb 2023, 07:27

        @dunbrokin Are you trying to install 20.04 Focal or 16.04? and did you tick all the wipe and bootstrap options?.

        D 1 Reply Last reply 2 Feb 2023, 07:32 Reply Quote 1
        • D Offline
          Dunbrokin @Lakotaubp
          last edited by 2 Feb 2023, 07:32

          @lakotaubp Thank you for helping. I am trying to install 20.04.....would you mind giving me a screen shot of the bootstrap options that I should tick to wipe....as you recommend.

          L 1 Reply Last reply 2 Feb 2023, 07:54 Reply Quote 0
          • L Lakotaubp moved this topic from Porting on 2 Feb 2023, 07:45
          • L Offline
            Lakotaubp @Dunbrokin
            last edited by 2 Feb 2023, 07:54

            @dunbrokin I am not using my laptop so can 't screen shot but when you start the installer you will come to ainstall screen with two options wipe data and bootstrap make sure both are ticked then try again. Also the installer expects the partions to be in standard (android) state if they are not then installing android first would be recommended. I put a link to the OP6/6Tsection of the Forum which will have good info in it. There is also our install group (which may be quicker for answers) https://t.me/WelcomePlus.
            https://forums.ubports.com/category/86/oneplus-6-6t

            D 1 Reply Last reply 2 Feb 2023, 08:19 Reply Quote 2
            • D Offline
              Dunbrokin @Lakotaubp
              last edited by 2 Feb 2023, 08:19

              @lakotaubp Thank you so much, I appreciate the help. How can I tell (before I run the installer) that the partitions are android?

              L 1 Reply Last reply 2 Feb 2023, 08:53 Reply Quote 0
              • L Offline
                Lakotaubp @Dunbrokin
                last edited by 2 Feb 2023, 08:53

                @dunbrokin Hhmm not sure but think linage is ok. I would just try it. The other option is to install twrp and wipe cache, data and fomat to Ext4 but try asking in the install group for more help. I have done OP5 but not OP6 but should be the same. Alsohave a read through the OP6 Forum link answers are in there too.

                D 1 Reply Last reply 2 Feb 2023, 09:28 Reply Quote 1
                • D Offline
                  Dunbrokin @Lakotaubp
                  last edited by 2 Feb 2023, 09:28

                  @lakotaubp Nope that did not work....got most of the way through...but when in needed to do an adb it could not connect to the phone....and the phone would not boot manually into Recovery mode with the cable attached. Back to square one! Tried it 3 times! Thanks for your help!

                  L 1 Reply Last reply 2 Feb 2023, 10:29 Reply Quote 0
                  • L Offline
                    Lakotaubp @Dunbrokin
                    last edited by 2 Feb 2023, 10:29

                    @dunbrokin https://forums.ubports.com/post/63994 try this

                    L D 2 Replies Last reply 2 Feb 2023, 10:33 Reply Quote 1
                    • L Offline
                      Lakotaubp @Lakotaubp
                      last edited by Moem 2 Feb 2023, 12:32 2 Feb 2023, 10:33

                      @lakotaubp Just checking: bootloader unlocked, usb debugging and adb/fastboot installed? Guess they will be but worth asking.

                      D 1 Reply Last reply 3 Feb 2023, 05:56 Reply Quote 1
                      • D Offline
                        Dunbrokin @Lakotaubp
                        last edited by 3 Feb 2023, 05:56

                        @lakotaubp Yup!

                        1 Reply Last reply Reply Quote 1
                        • D Offline
                          Dunbrokin @Lakotaubp
                          last edited by 3 Feb 2023, 06:00

                          @lakotaubp Thanks, seen that one.....but I need more flesh on the following bones in their methodology: "set it file transfer and copy the OB25 file to the root of the device (i.e. not in a folder)"....which file to copy....it is a zip..do I copy the whole zip? How do I know where to find root that I am supposed to copy it into? Is called root...or is it something else?

                          L M 2 Replies Last reply 3 Feb 2023, 06:18 Reply Quote 0
                          • L Offline
                            Lakotaubp @Dunbrokin
                            last edited by 3 Feb 2023, 06:18

                            @dunbrokin You will either have to ask them in that thread or the Telegram install group https://t.me/WelcomePlus I have no idea I'm afraid. Or just reinstall android and start from there.

                            D 1 Reply Last reply 3 Feb 2023, 21:59 Reply Quote 0
                            • M Online
                              MrT10001 @Dunbrokin
                              last edited by 3 Feb 2023, 20:39

                              @dunbrokin OK, starting from basics:

                              Make sure the devices boot loader is unlocked

                              Makes sure "Developer Mode" in Android is enabled.

                              In Developer Mode enure "USB Debugging" is enabled.

                              Connect the phone to a PC via USB.

                              Ensure it is picked up in File Explorer.

                              Browse to the device and you will see folders such as Android, Photographs, Downloads etc.

                              Copy the OB25 file as an unextracted zip to the device NOT in any folder - this is "the root" of the device. The file name is: OB2OnePlus6Oxygen_22_OTA_054_all_1908302047_fulldowngrade_f019784c78234a67.zip5

                              Go to updates and select the update from local storage and select the zip file.

                              Be patient and allow it to do its thing.

                              It should then boot into Android 9 - set it up as a new device.

                              Enable "Developer Options" and USB debugging.

                              Run the Ubuntu Touch installer.

                              Enjoy Ubuntu Touch.

                              NOTE - LineageOS has a habit of altering partition size. Installing the Stock ROM usually sorts this out.
                              IF the above doesn't work, you will need to manually install the stock ROM and then do the above to downgrade (done this too).
                              To manually install the stock ROM you need to be in the bootloader fastboot mode.

                              Download the stock ROM for your region and check the XDA developer forum here.

                              Messing about with ROMs can be a tricky business, especially if you erase partitions or alter a partition size. This can brick your device so be careful, patience is required as is the use of this forum, Google, XDA-developers and telegram. We all start somewhere.

                              Xiaomi Redmi Note 7.... And more...
                              I have too many devices...

                              D 2 Replies Last reply 3 Feb 2023, 21:58 Reply Quote 1
                              • D Offline
                                Dunbrokin @MrT10001
                                last edited by 3 Feb 2023, 21:58

                                @mrt10001 Thank you so much! That gives great guidance and sets me on the path. Much appreciated.

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  Dunbrokin @Lakotaubp
                                  last edited by 3 Feb 2023, 21:59

                                  @lakotaubp Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dunbrokin @MrT10001
                                    last edited by 4 Feb 2023, 06:02

                                    @mrt10001 OK, I got OB25 (as you suggested) set up on my OP6...I checked it on About Phone and it showed it to be Android 9 indeed. So, I rebooted and then started the Installer.....went about half way through until it gets to where you have to reboot into recovery with the vol-up and power key. That wont work if you physically do it...as the reboot to recovery does not start with the power cord still in. You can get it to reboot once with the fastboot command from the PC. But then no more. Then when the installer tries to do an adb...and cannot find a device. You have to pull the cord to do a physical reboot....and then connection to the device is lost and adb just keeps trying to find the device when you plug the cord back in. This is what happened also when I tried booting from Lineage...exact same problem.

                                    0a0b3fec-8ea9-4de9-96dc-933cf9235a94-image.png

                                    97538771-6ba7-4445-bea6-75d6816be02f-image.png

                                    And this is the screen I get when I do vol-Up + Power. There are a number of screens: Reboot Boot Loader, Reboot to Recovery,etc after this and you have to choose which one using the Vol-Down and then Power to execute.

                                    Currently I am stuck in a loop. I managed the above by using TWRP and installing OB25 from external storage. That worked great until I hit the adb problem and, of course, TWRP was wiped and now I cannot install TWRP as the followig command

                                    ~/ISOetc/platform-tools$ fastboot getvar current-slot
                                    current-slot: a
                                    Finished. Total time: 0.002s

                                    gives me the 'a' slot...(where as previously it gave me the b slot to install TWRP into)....and installing TWRP into the a slot does not give me a working TWRP...not sure why....or how I can get back to installing TWRP into the b slot!!

                                    M 1 Reply Last reply 4 Feb 2023, 07:00 Reply Quote 0
                                    • M Online
                                      MrT10001 @Dunbrokin
                                      last edited by 4 Feb 2023, 07:00

                                      @dunbrokin Go back to the beginning. Install Android 9. Ensure you have enabled Developer Options and USB debugging. Then follow the install instructions. As you have discovered, the phone doesn't always boot into UT recovery when plugged into the PC, so disconnect and boot into recovery. You should be at UT recovery, plug back in, the installer should detect the device and the install will continue.

                                      It does take patience and if it goes awry stepping back and working out what is wrong. I have lost count the number of times I have started from scratch on a device and eventually got it installed.

                                      You will get there.

                                      Xiaomi Redmi Note 7.... And more...
                                      I have too many devices...

                                      D 1 Reply Last reply 4 Feb 2023, 07:45 Reply Quote 1
                                      • D Offline
                                        Dunbrokin @MrT10001
                                        last edited by 4 Feb 2023, 07:45

                                        @mrt10001 Thanks for that. Currently I cannot install Android 9 as I cannot install TWRP due to the slot a problem. How do I manipulate things to so that I can get slot b as the install for TWRP.

                                        M 1 Reply Last reply 4 Feb 2023, 08:59 Reply Quote 0
                                        • M Online
                                          MrT10001 @Dunbrokin
                                          last edited by 4 Feb 2023, 08:59

                                          @dunbrokin Read this.

                                          Be careful. You can also run TWRP from fastboot without flashing it, using the command:

                                          fastboot boot recovery <location of your TWRP image file>
                                          

                                          You only need TWRP to ensure the data partition is set to EXT4.

                                          Get back to Android and start from scratch. Messing with the slots can create confusion.

                                          Check this for getting back to stock.

                                          Xiaomi Redmi Note 7.... And more...
                                          I have too many devices...

                                          D 1 Reply Last reply 4 Feb 2023, 23:05 Reply Quote 1
                                          • D Offline
                                            Dunbrokin @MrT10001
                                            last edited by 4 Feb 2023, 23:05

                                            @mrt10001

                                            $ fastboot boot recovery twrp.img
                                            fastboot: error: cannot load 'recovery': No such file or directory

                                            Hmmm!

                                            D 1 Reply Last reply 5 Feb 2023, 00:56 Reply Quote 0
                                            8 out of 39
                                            • First post
                                              8/39
                                              Last post