Getting from Lineage to UBports on Oneplus 6?
-
@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.
-
@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!
-
-
@lakotaubp Just checking: bootloader unlocked, usb debugging and adb/fastboot installed? Guess they will be but worth asking.
-
@lakotaubp Yup!
-
@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?
-
@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.
-
@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.
-
@mrt10001 Thank you so much! That gives great guidance and sets me on the path. Much appreciated.
-
@lakotaubp Thank you!
-
@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.
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.002sgives 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!!
-
@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.
-
@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.
-
@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.
-
$ fastboot boot recovery twrp.img
fastboot: error: cannot load 'recovery': No such file or directoryHmmm!
-
Which zip are they talking about here that has flash-all.bat in it....the OB25 rollback does not seem to contain it?
If I flash fastboot boot twrp.img....I just end up with the Fastbot Mode screen...and it goes nowhere!
-
Actually just ignore all the above. I managed to get a TWRP.img installed and have now got OB25 again working. So, finally, after much help from you....and lots of hours and fiddling around, I am back to square 1! Horray!
-
Well, got the whole way through the install a couple of times (so some progress was made!)...but never booted up into UT....still stuck on the bootloader warning screen.
-
-
Here are my logs in case anybody is interested......they do not seem to show any major failure! Oooops! they are jpgs (4 of them) so are too big to put on here. If they would be useful, let me know and I can send them by email.