Downgrade/Rollback OOS - OnePlus 8T Guides, News, & Discussion

Background
I've been doing some testing of installing OTAs (incremental and full) using a test version of TWRP. But, since I keep my phone on the latest version, I needed to firstly rollback to an earlier version so that i could then test upgrading.
Since the only ways I knew of doing this successfully was to use the MSM Tool or the rollback files that were made available during the initial testing of OOS 12, I chose the rollback file.
I then needed to upgrade the phone to get to the correct version for the incremental OTA I wanted to install by updating using a full zip file. Only then could I test installing the incremental OTA.
What didn't work
The above process is rather long and messy (multiple updates to get to the starting point).
I tried installing the full version of my starting point using Local install, but the phone wouldn't boot properly, nor could I swap slots and revert back to the previous version. I ended up having to use the MSM Tool to get my phone working again.
I also tried flashing the full starting point version in TWRP and then tried to format data (which is what the OOS downgrade zip does) but TWRP had errors doing the format. I then tried to format data in fastboot using fastboot -w, but that also failed and I had to use MSM again.
What worked
Since the OOS downgrade zip ends up formatting the phone in the OOS recovery I decided to try that.
So, starting from the current latest version on OOS (F.63) I used TWRP to install the full F.62 zip and then rebooted to recovery.
The phone comes up in the OOS recovery and I selected Format.
Success!
After the format the phone rebooted and came up on a clean install of F.62.
Conclusions
It seems that you can roll back easily to any version you want, provided to can install the target version and boot into recovery.
Note that you should also be able to this process using Orange Fox.
I haven't tried doing this using the OOS Local install, nor have I tried reverting back to an OOS 11 or 12 version. And I don't plan to test these because I've got no need to downgrade to OOS 11 or 12.

Would there be any significant difference if formatting FIRST, and than flashing OOS and than perhaps flashing TWRP rebooting into TWRP and than an additional format if possible?
If it doesn't format the second time maybe it will still boot?

I have no idea. I wrote what did and didn't work for me. Feel free to try something different and share your experience.

Related

Revert to stock failed and cannot install custom rom as well.

I was running the June patch version of the TWRP flashable stock builds (had hard bricked my phone before so cannot use full stock firmware until and unless I get my hands on the stock Oreo firmware).
As the official Oreo update is out, (https://drive.google.com/file/d/1Zmt...IeF9vauAY/view) I downloaded the zip file and placed it in my internal storage and tried to apply the update, which took me to TWRP, and the update failed. I rebooted to see if everything was ok and it was.
Then, I tried to revert to the stock firmware of the latest edition (to see if I could apply the update) and each time I tried to run the commands or run the flash file, it failed because I was not able to flash the stock recovery. It showed 'N/A' instead of 'bad key' every time on the screen before booting into TWRP.
I gave up and tried to go back to the TWRP build I was using before, and I get this error on TWRP. Why is this happening? (I had formatted my data after entering TWRP, is this th reason?)
Please help guys! Need to get my phone back and running!
Here is an image of what's going on -

[Solved] Can´t update from version 5.1.2 to version 5.1.4 OnePlus5

So i tried to install the update for my OnePlus5 but TWRP gives ERROR 7 i also tried to wipe my data (including system),
i also tried to install the update with the stock recovery (without root) and the update just fails
oxygen updater won´t work aswell
thanks in advance
i´ve trieded newer versions of oxygen os too
sry for my bad english i am german
Hi!
Are you trying to install a full OTA zip (1GB+ in file size), or a partial OTA (more around 50 MB - 200 MB) over your current 5.1.2 ROM?
At this point I would suggest you flash a full OTA zip of OOS 5.1.4, either through TWRP or OnePlus' recovery. @Titokhan provides a list of mirrors where you can download full signed flashable zips. Make sure to compare the MD5 signature of your downloaded file with the reference signature inscribed on the download page -- this makes sure your download is not corrupted.
Alexandre-P said:
Hi!
Are you trying to install a full OTA zip (1GB+ in file size), or a partial OTA (more around 50 MB - 200 MB) over your current 5.1.2 ROM?
At this point I would suggest you flash a full OTA zip of OOS 5.1.4, either through TWRP or OnePlus' recovery. @Titokhan provides a list of mirrors where you can download full signed flashable zips. Make sure to compare the MD5 signature of your downloaded file with the reference signature inscribed on the download page -- this makes sure your download is not corrupted.
Click to expand...
Click to collapse
i used the OTA before but i will try the OTA you suggested
thanks in advanced:good:
Edit: can i theoretically use a newer version than 5.1.4?
Fredwuz said:
Edit: can i theoretically use a newer version than 5.1.4?
Click to expand...
Click to collapse
OnePlus enabled Treble on the OP5 around stable release 5.1.5, and release notes for 5.1.5 stressed that the device should be on 5.1.4 before applying the 5.1.5 upgrade. The release notes for 5.1.6 also stressed that the user first upgrade to 5.1.5 before applying the 5.1.6 system upgrade. Based on that information, I would highly suggest you make sure your device works correctly on 5.1.4 first, then 5.1.5, followed by 5.1.6, and only then you upgrade to a later release.
Alexandre-P said:
OnePlus enabled Treble on the OP5 around stable release 5.1.5, and release notes for 5.1.5 stressed that the device should be on 5.1.4 before applying the 5.1.5 upgrade. The release notes for 5.1.6 also stressed that the user first upgrade to 5.1.5 before applying the 5.1.6 system upgrade. Based on that information, I would highly suggest you make sure your device works correctly on 5.1.4 first, then 5.1.5, followed by 5.1.6, and only then you upgrade to a later release.
Click to expand...
Click to collapse
so i flashed version 5.1.3 and it did work but when i tried to flash to version 5.1.4 TWRP was stuck in "Patching system image unconditionally..." did i do something wrong?
After i flashed to 5.1.3 the devices worked normal as always
Here's what I would do:
1. Flash 5.1.3 -- don't re-root, don't flash TWRP.
2. At this point, if you try to boot to recovery, you should have OnePlus' recovery. That's cool, just leave it that way.
3. Boot to system. Allow the system to find newer upgrades, and apply them using the system updater as they come.
4. When you're all updated again to latest release, follow instructions to TWRP and root the device.
Alexandre-P said:
Here's what I would do:
1. Flash 5.1.3 -- don't re-root, don't flash TWRP.
2. At this point, if you try to boot to recovery, you should have OnePlus' recovery. That's cool, just leave it that way.
3. Boot to system. Allow the system to find newer upgrades, and apply them using the system updater as they come.
4. When you're all updated again to latest release, follow instructions to TWRP and root the device.
Click to expand...
Click to collapse
now the updater says my system is up-to-date but i only have 5.1.3 installed
Fredwuz said:
now the updater says my system is up-to-date but i only have 5.1.3 installed
Click to expand...
Click to collapse
Reboot, wait some time.
What is sometime are about 5 hours enough?
Sent from my OnePlus5 using XDA Labs
Fredwuz said:
What is sometime are about 5 hours enough?
Click to expand...
Click to collapse
You can try to use a VPN(app) which connects to another country to force the update. Or flash it with the stock recovery by downloading the file, place it in .ota folder and update it.
strongst said:
You can try to use a VPN(app) which connects to another country to force the update. Or flash it with the stock recovery by downloading the file, place it in .ota folder and update it.
Click to expand...
Click to collapse
I tried to use tunnelbear and connected to USA but the updater won't find an update now I will try the other method but can't I just use the lokal Upgrade Option in the updater?
Edit: I have to use version 5.1.4 or?
Sent from my OnePlus5 using XDA Labs
Fredwuz said:
I tried to use tunnelbear and connected to USA but the updater won't find an update now I will try the other method but can't I just use the lokal Upgrade Option in the updater?
Click to expand...
Click to collapse
Yes you can, that's what I suggested already
My experience with the 5.1.4 update - ERROR 7 & Treble error fix
Hi, I have 3 OnePlus 5's in my household and I have gotten them all to update to 5.1.4, then 5.1.5, then 5.1.6+ with this method.
(5.1.4 and then 5.1.5 is needed before flashing 5.1.6 or greater).
In my experience, no matter what caches I cleared or what recoveries I had used, 5.1.4 was not flashable on all three devices with the bootloader unlocked. If you have the patience and time, this method should 99.99% work for you if done correctly (leaving a 0.01% chance of failure just in case it does fail lol but that shouldn't happen.)
1.) Firstly, back up your device. I suggest doing this by making a full titanium backup, and copying all the files on the internal storage to a folder on your computer.
This may take a while to copy. In my experience, the fastest way to copy all the data off to the computer is to boot the device into TWRP recovery, plug a good USB C cable in to the device and to the PC's USB port, unlock the device in TWRP (put in the password/pattern to decrypt and mount the data partition [Ignorable if you dont set a password on the device]), and use the adb pull command to pull the files off the device. I found that ADB pull works much faster than an mtp file transfer in windows explorer.
Steps for ADB pull:
Ensure adb is installed on the computer with adb drivers. For Windows, open command prompt or powershell as admin. Type in adb devices and hit enter. If your OnePlus device comes up, then all is good. Use the command (without the square brackets):
[ adb pull /sdcard "XXX/." ]
Replace XXX with a directory on your computer (for example, you can do [ adb pull /sdcard "C:\Users\YOURUSERNAME\Desktop\OnePlus/." ]
If anyone notices any issues with this command please let me know so I can update the post. I am writing this off memory, so there may be minor mistakes.
2.) After your device backs up and you're happy with the backup (i.e. everything you need backed-up is saved off of the phone onto the computer), It's time to relock the bootloader and restore the firmware on the phone.
I haven't tried a simple fastboot OEM relock command, so I cannot say whether that is sufficient enough.
What I did was follow this thread:
https://forum.xda-developers.com/oneplus-5/how-to/unbrick-tool-oneplus-5-t3648169
Download the Driver and the Oxygen version.
Once downloaded, extract the driver Driver_OnePlus5.zip file to its own folder. Extract the firmware to its own folder (cheeseburger_23_O.13_170803).
3.) Using the firmware restoring tool to relock the bootloader and restore the device to factory firmware condition.
Now:
Turn off your OnePlus 5 device.
Hold volume up key.
Plug USB cable in to the PC and the Type-C side to the device. Make sure only volume up is held whilst you do this.
Open device manager and check for missing drivers/driver issues. If the driver isn't detected, use device manager to browse for the extracted Driver_OnePlus5 folder you made earlier.
The LED light on the OnePlus 5 should be yellow if I can remember correctly.
Open msm download tool as an adminstrator (right click, run as administrator)
Click the start button on the top left of the msm download tool. (If nothing happens, make sure drivers are installed properly and that the device is in download mode [Repeat the above steps])
If successful, one of the "Device Type" should show your device connected {com device} and the download process and time row will update. Wait for the download progress to finish. The device will reboot on its own when completed. The status should turn green and say done/finished (If I remember correctly).
When your device reboots, do a quick setup. Don't bother putting your google account in or restoring anything if you plan on unlocking the bootloader later for TWRP or other reasons.
Unlocking the bootloader will wipe the phone. For now, just focus on the updates.
Connect the device to Wi-Fi. I found one of the devices I used this method on wouldn't connect to Wi-Fi (modem issue or something). Luckily, I had the 5.1.4 update already downloaded on the computer so I copied the update to the root folder on the device and used the local upgrade option in the OTA update options (in the phone system update settings). Updating the firmware fixed my Wi-Fi issue.
Basically, just do the OTA updates as you would normally. Start with 5.1.4, then you can do the 5.1.5. Do not jump to 5.1.7 because OnePlus only just added treble support in 5.14/5.15 releases so it is important do do those in order first. If you can, do 5.1.4, 5.1.5, 5.1.6 and then 5.1.7 in order. Just follow the updates that the OTA screen allows you to take.
Notes for the Pie update:
I haven't had issues installing Pie with the bootloader unlocked, so if you wish to stay on oreo for now and update later with an unlocked bootloader, that should be fine.
If your bootloader is locked, and you're on at least OOS 5.1.5, you should be able to flash the Pie OTA with the stock recovery without issues.
If you encounter issues installing Pie, and your bootloader is unlocked follow this:​
Unlocked bootloader - Pie Update - Removing compatibility.zip from firmware archive:​
Method 1: Pre-Removed compatibility.zip modified firmwares:
For STABLE:​Follow this link:
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Download " OxygenOS 9.0.0 Full Zip (modified, without compatibility.zip) ".
For BETA:​Follow this link:
https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-beta-1-android-oreo-t3710003
Download " OxygenOS Open Beta XX Full Zip (modified, without compatibility.zip) ".
You will need a Pie-compatible recovery. Download a compatible custom Recovery (TWRP) (Also available on https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-beta-1-android-oreo-t3710003 )
Flash a Pie-compatible TWRP and boot into it.
Copy the downloaded " OxygenOS Open Beta XX Full Zip (modified, without compatibility.zip) " to the device.
In TWRP, use: Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe.
I would recommend taking a nandroid backup before proceeding, if you have any important data on the device.
Flash the downloaded " OxygenOS Open Beta XX Full Zip (modified, without compatibility.zip) ".
Wipe dalvik-cache and cache.
Enjoy Pie.
Method 2: Manual Method to remove compatibility.zip for unlocked bootloaders:
Download the FULL firmware OTA (from device settings, or from the OnePlus website).
Copy the firmware to the computer (If downloaded on the device, it will be in the ".ota" folder. Else, it is available on the OnePlus firmware downloads page.
Open the firmware archive with 7-Zip.
Delete Compatibility.zip from the archive.
Copy the now-modified firmware back to the device.
You will need a Pie-compatible recovery. Download a compatible custom Recovery (TWRP) (Also available on https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-beta-1-android-oreo-t3710003 )
Flash a Pie-compatible TWRP and boot into it.
In TWRP, use: Wipe > Advanced wipe > Select dalvik-cache and cache > Swipe to wipe.
I would recommend taking a nandroid backup before proceeding, if you have any important data on the device.
Flash your manually-modified OTA/firmware archive in TWRP.
Wipe dalvik-cache and cache.
Enjoy Pie.
DO NOT use winrar or any other non-recommended programs to remove compatibility.zip. I found that winrar causes treble errors or error 7.
4.) Re-unlocking the bootloader & Restoring your data.
Once you've installed 5.1.5 or greater, you can now safely go into developer settings and enable oem unlocking, and then reboot to the bootloader to unlock the bootloader (which will wipe/erase the phone data but keep the version to whatever you updated it to). You may then proceed to install TWRP, magisk if you plan on restoring with titaniumbackup, and restore all your sd card contents (or the sd card contents that you need) back from the computer backup the the device (I usually use ADB Push whilst booted in TWRP recovery because it copies quicker than MTP).
Updates should work from now on ( I was able to install android PIE Beta with the bootloader unlocked [See the Pie notes above]. Only had issues with the 5.14 / 5.15 updates with the bootloader unlocked ).
Hope this helps. If anyone has any more information, or questions about this method, do share. Like I said earlier, if done correctly, this method should definitely work for you guys.
Love you Guys:victory:
I did it and it worked first I flashed version 5.1.3 then version 5.1.4 and then I used the updater to upadate directly to version 9.0.0 and it worked :victory:
Thanks a lot and a happy new year
Sent from my OnePlus5 using XDA Labs
Fredwuz said:
Love you Guys:victory:
I did it and it worked first I flashed version 5.1.3 then version 5.1.4 and then I used the updater to upadate directly to version 9.0.0 and it worked :victory:
Thanks a lot and a happy new year
Click to expand...
Click to collapse
Sent from my OnePlus5 using XDA Labs
Fredwuz said:
Love you Guys:victory:
I did it and it worked first I flashed version 5.1.3 then version 5.1.4 and then I used the updater to upadate directly to version 9.0.0 and it worked :victory:
Thanks a lot and a happy new year
Click to expand...
Click to collapse
Glad you got it working! Happy new year to you as well

Lineage OS 16 in Oneplus 5 - July 2019

Hi,
I bought a oneplus 5 phone because I was told it was going to be easy to install Lineage OS. I have try to install Lineage OS 16 on it for 2 days without success.
The first issue i had was installing twrp. Most of the twrp available did not worked with my phone. After flashing them with fastboot and reboot to recovery I would end up with a black screen and the the blue led turn on.
However I did find two TWPRs that work:
- twrp-3.2.1-1-cheeseburger.img
- twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
There might be other that would work, but this are the ones that I have tested.
After being able to boot to TWRP I try to flash the firmware 9.06 with success. Without reboot I flash lineage without success. I try to reboot and the system did not worked and I never reboot.
After a while I found a OxygenOS 4.5.10 that I hope is the stock rom. I has the following sha256sum: 7a8268f6a133f090a2d304aad2f92393aefbd4df34a6c2ed088909aaf7ccc2dd
That did worked and give me a breath. At least I had a working phone now. However I try to update and it did not worked.
From there I have been strugling with this project to install Lineage OS in my new phone. I know there are guides out there, but most of them did not work or are outated. There ara also threads in this forums, but are to big to try to follow. So I start this one, hopefully you can help me.
It would be great if there is a step by step guide on how to run Lineage OS in this phone.
Best,
Panoramix Druida
panoramix.druida said:
Hi,
I bought a oneplus 5 phone because I was told it was going to be easy to install Lineage OS. I have try to install Lineage OS 16 on it for 2 days without success.
The first issue i had was installing twrp. Most of the twrp available did not worked with my phone. After flashing them with fastboot and reboot to recovery I would end up with a black screen and the the blue led turn on.
However I did find two TWPRs that work:
- twrp-3.2.1-1-cheeseburger.img
- twrp-3.2.3-0-20180822-codeworkx-cheeseburger.img
There might be other that would work, but this are the ones that I have tested.
After being able to boot to TWRP I try to flash the firmware 9.06 with success. Without reboot I flash lineage without success. I try to reboot and the system did not worked and I never reboot.
After a while I found a OxygenOS 4.5.10 that I hope is the stock rom. I has the following sha256sum: 7a8268f6a133f090a2d304aad2f92393aefbd4df34a6c2ed088909aaf7ccc2dd
That did worked and give me a breath. At least I had a working phone now. However I try to update and it did not worked.
From there I have been strugling with this project to install Lineage OS in my new phone. I know there are guides out there, but most of them did not work or are outated. There ara also threads in this forums, but are to big to try to follow. So I start this one, hopefully you can help me.
It would be great if there is a step by step guide on how to run Lineage OS in this phone.
Best,
Panoramix Druida
Click to expand...
Click to collapse
Hello, seems that you did not follow the installation instructions within the official LineageOS thread https://forum.xda-developers.com/oneplus-5/development/rom-lineageos-16-0-pie-oneplus-5-t3843064
Your issues are clearly missed or skipped steps.
Please follow the instructions there and if you get stuck, report back with detailed information :good:
Thanks a lot for your quick response. It do have an issue with that guide and it is with point 1:crying::crying:
- Make sure your phone was running OxygenOS 5.1.4 at least once
Click to expand...
Click to collapse
I have OxygenOS 4.5.10 and it does not upgrade to OxygenOS 5.1.4. What happened, is that in my first attempts to get this thing working I brick the phone and loose the stock firmware. Then I found this rom that allow me to use the phone (OxygenOS 5.1.4)
OnePlus5Oxygen_23_OTA_015_all_1708252353_f05918.zip
sha256: 7a8268f6a133f090a2d304aad2f92393aefbd4df34a6c2ed088909aaf7ccc2dd
It make the phone usable, but not upgradable. I doubt is the original, but I found the link on the Oneplus forums. (I can not post links because I am too new here)
After that I search for a ROM that comes with 5.1.4 and was really happy, and try to flash. It did not work, it is like it tries to boot, but never finish booting. I wait at least for 10 minutes. This the file and the sha256 hash:
OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip
sha256 2bb2e21a43572ac4bd2e5d1d30a3fb7562ddec280df3d452d61f58a4a8135f14
So I guess my first step would to find a way to get Oneplus 5.1.4 working. When I first try to upgrade the phone, I upgrade it from OxygenOS and it worked, however then I mess things and brick the phone. I found the rom that allow the phone to work (4.5.10), but for some reason the upgrades do not.
Thank you very much for your time.
panoramix.druida said:
Thanks a lot for your quick response. It do have an issue with that guide and it is with point 1:crying::crying:
I have OxygenOS 4.5.10 and it does not upgrade to OxygenOS 5.1.4. What happened, is that in my first attempts to get this thing working I brick the phone and loose the stock firmware. Then I found this rom that allow me to use the phone (OxygenOS 5.1.4)
OnePlus5Oxygen_23_OTA_015_all_1708252353_f05918.zip
sha256: 7a8268f6a133f090a2d304aad2f92393aefbd4df34a6c2ed088909aaf7ccc2dd
It make the phone usable, but not upgradable. I doubt is the original, but I found the link on the Oneplus forums. (I can not post links because I am too new here)
After that I search for a ROM that comes with 5.1.4 and was really happy, and try to flash. It did not work, it is like it tries to boot, but never finish booting. I wait at least for 10 minutes. This the file and the sha256 hash:
OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip
sha256 2bb2e21a43572ac4bd2e5d1d30a3fb7562ddec280df3d452d61f58a4a8135f14
So I guess my first step would to find a way to get Oneplus 5.1.4 working. When I first try to upgrade the phone, I upgrade it from OxygenOS and it worked, however then I mess things and brick the phone. I found the rom that allow the phone to work (4.5.10), but for some reason the upgrades do not.
Thank you very much for your time.
Click to expand...
Click to collapse
You need to clean flash oxygenOS 5.1.4, then take ota update to 9.0.7 so you have the latest firmware.
Clean flash means that you need to wipe system, data, cache and format internal storage too.
So please backup everything off your device at first!
Everything you need you find here on xda, like the roms https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
strongst said:
You need to clean flash oxygenOS 5.1.4, then take ota update to 9.0.7 so you have the latest firmware.
Clean flash means that you need to wipe system, data, cache and format internal storage too.
So please backup everything off your device at first!
Everything you need you find here on xda, like the roms https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
Click to expand...
Click to collapse
Thanks, I would try this when I have time later today.
strongst said:
You need to clean flash oxygenOS 5.1.4, then take ota update to 9.0.7 so you have the latest firmware.
Clean flash means that you need to wipe system, data, cache and format internal storage too.
So please backup everything off your device at first!
Everything you need you find here on xda, like the roms https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
Click to expand...
Click to collapse
Finally I had time to work on this. The rom for 5.1.4 is: OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip, that I already tried and never boots . With twrp it seems that the Rom is installed, with the stock recovery the installation never ends. I am going to try with other ROMS. Hopefully one of them would allow updates.
I am going to start with the newest 5.1.7, and if that does not work would keep going down.
Thanks again.
panoramix.druida said:
Finally I had time to work on this. The rom for 5.1.4 is: OnePlus5Oxygen_23_OTA_037_all_1807181258_7b4b6.zip, that I already tried and never boots . With twrp it seems that the Rom is installed, with the stock recovery the installation never ends. I am going to try with other ROMS. Hopefully one of them would allow updates.
I am going to start with the newest 5.1.7, and if that does not work would keep going down.
Thanks again.
Click to expand...
Click to collapse
5.1.7 did not boot, however I have some progress. I installed 4.5.12, I was previously at 4.5.10, so my android setup security patch levels went from July 2017 to to September 2017. Small step forward.
I have have that hypothesis that it would work with 4.x.x versions and not with 5.x.x versions. Tomorrow I would try to flash the latest 4.x.x and the earliest 5.x.x to see when does this things stop working.
I did the tests and I can flash up to 4.5.15. I tried to flash 5.0 and that did not worked. It flashes correctly, but it never finish booting, I waited up to 10 minutes.
So there is something preventing the phone to use version 5.x.x Should I try upgrading the firmware? Other ideas?
panoramix.druida said:
I did the tests and I can flash up to 4.5.15. I tried to flash 5.0 and that did not worked. It flashes correctly, but it never finish booting, I waited up to 10 minutes.
So there is something preventing the phone to use version 5.x.x Should I try upgrading the firmware? Other ideas?
Click to expand...
Click to collapse
Please give detailed steps what you did including file versions. Otherwise I cannot help further.
Every oxygenOS version has firmware built in, no need to update it seperately.
Follow this:
1 flash this recovery with fastboot like the first time https://drive.google.com/file/d/1UlTftbe6wooAs4Fp0cjwXlOKmfQHgdfL/view?usp=drivesdk
2 boot the new twrp recovery
3 flash magisk 18.1 to make twrp stick
4 FORMAT internal storage(not wipe only) and wipe system and data partition
5 transfer oxygenOS 5.1.4 to the phone and flash it
6 boot oxygenOS 5.1.4 and take ota update to tg and latest OxygenOS(9.0.7 actually.
7 now you're on the latest OxygenOS and firmware version
Thank you very much, now I am with LineageOS

One Plus 5 won't upgrade to new Android.

Hi
I fixed my oneplus 5 using MSMdownload tool. It put my phone on Android 7.1.1 with July 1st, 2017 security Patch and Oxygen OS 4.5.8, I have exhausted all the option to upgrade it to latest Android but it won't update. Every time I check for update it will show that it is up to date. I have also tried "local Upgrade" option but it shows installation failed.
Any work around this would be highly appreciated
Thanks
Aman
@lucider14 Just curious why you used the MSMDownloadTool from OxygenOS 4.5.8 and not the one for OxygenOS 9.0.11? You most likely won't see OTAs for Android 7 as it is now 4 Android Versions behind as of this week. Android 9.0.11 was the last official fully released OTA, OxygenOS 10.0.0 Hotfix is last official OTA OnePlus has released into the wild.
My phone waa bricked so had to use it. Please let me know if there is any workaround for this to update.
@lucider14 The workarounds I would try are:
Opt 1: Upgrade via zip file in Stock Recovery
Step 1: Download latest OTA from https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Step 2: Copy zip file to root of Phone storage
Step 3: Reboot into Recovery
Step 4: Install
Opt 2: Use Newer MSMDownloadTool:
Step 1: Download newest tool from here https://forum.xda-developers.com/oneplus-5/how-to/op5-collection-unbrick-tools-t3898870
Step 2: Reboot phone into EDL
Step 3: Run newer MSMDownloadTool
card13;83478941 [user=11104643 said:
@lucider14[/user] The workarounds I would try are:
Opt 1: Upgrade via zip file in Stock Recovery
Step 1: Download latest OTA from https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003
Step 2: Copy zip file to root of Phone storage
Step 3: Reboot into Recovery
Step 4: Install
Opt 2: Use Newer MSMDownloadTool:
Step 1: Download newest tool from here https://forum.xda-developers.com/oneplus-5/how-to/op5-collection-unbrick-tools-t3898870
Step 2: Reboot phone into EDL
Step 3: Run newer MSMDownloadTool
Click to expand...
Click to collapse
@lucider14 OOS 4.5.8 is pre-treble. You can't jump directly to Android 9 or 10. One of the OOS updates before Android 9 set up treble on our phones. I don remember exactly which one. You're best to use Opt 2 above, it will be easier.
Cheers!?
lucider14 said:
Hi
I fixed my oneplus 5 using MSMdownload tool. It put my phone on Android 7.1.1 with July 1st, 2017 security Patch and Oxygen OS 4.5.8, I have exhausted all the option to upgrade it to latest Android but it won't update. Every time I check for update it will show that it is up to date. I have also tried "local Upgrade" option but it shows installation failed.
Any work around this would be highly appreciated
Thanks
Aman
Click to expand...
Click to collapse
First,flash it 9.0.11 build and then OxygenOS 10.0.0 Hotfix..
And with https://play.google.com/store/apps/details?id=com.arjanvlek.oxygenupdater
I've had a similar problem and I thought I broke my phone, got pretty scared can't buy a new phone but need a newer android for my apps to work.
I came from freedom OS on android 7 so I never had the project treble on my phone and tried to flash new factory images, as a result, no newer TWRP recovery worked and I was unable to boot into anything other than the bootloader. I had the same error with Error 7, from what I can understand this is from a screwed up or non-existing "vendor" partition which says stuff like "this is a OnePlus 5" for newer factory images to install (factory image told me I didn't have a OP5), this never existed in android 7 or OOS 4.X.X. ScRuFFy7 is correct, the vender partition was created in OOS 5.1.4 (or OTA 037) and only when android is booting up, this took like 10 mins on mine. Once this vendor partition is correctly created you can flash newer TWRP recovery (I flashed 3.4.0) and newer factory images, like OOS 9.0.11 then to version 10. The built-in updater and stock recovery can update to the newer versions with the flashable zip files. For whatever reason OnePlus don't size the partitions in their zips so they make small changes from one version to the next so skipping specfic versions throws up errors in the future.
Screw it, I should document what I did in case I mess up my phone in the future and maybe be helpful to someone else in need, especially in this messed up and depressing time of the plague. But anyway this is what I did to get my phone back, I should point out I have no idea what I'm doing. Meaning I'm a N00b.
NOTE: this process Wipes all the data from the phone, so I hope you have backups right now.
Will need ADB, you can install This on windows, it's super easy and works thanks to mauronofrio. You can get the all in one tool too from here it's pretty handy and can format and decrypt from the bootloader, from mauronofrio? I think? This guy is pretty good. I got all old firmware from Here thanks to Some_Random_Username for the life line since OnePlus won't provide the old Zips anymore.
1) Boot to TWRP recovery if you have it installed (VOL DOWN + POWER). If not Boot to Bootloader (VOL UP + POWER) and flash TWRP Recovery. You can use TWRP 3.1.1 This one works on OOS 4.X firmware without giving me a Black Screen.
1a) To Flash the Recovery you can use the all in one tool to flash it or open up command prompt and use the Fastboot Flash [insert recovery file name here .img] command to flash it, you can find the FastBoot Flashing Method in the middle of this page for instructions.
2) Format Data. The Format Data button in TWRP recovery not the swipe to factory reset, because we're going back to scratch.
3) Flash OTA_006 (OOS 4.5.2) original firmware from the link above (says ota_006 in the middle of the loong file name)
4) Boot into android and use System Update in settings and stock recovery it just flashed to flash OTA_020 (OOS 4.5.15) by clicking on the cogwheel in the corner and choosing Local Update. [probably skippable I just wanted to make sure it works]
5) Boot into android again and install OTA_27 (OOS 5.0) with System Update again.
6) If it doesn't boot, go to Bootloader and flash TWRP. Once in the recovery and you go to install and if you find all the folders have random numbers and letters for names then the storage in encrypted.
7) Format to get rid of encryption (random name folders) then reboot to Recovery and Flash OTA_27 again and let it start fresh on OOS 5.0 to make sure it's still booting and working.
8) Once booted Flash OTA_037 (OOS 5.1.4) wait for vendor partition to be created (took 10 mins on my OP5), reboot to TWRP and format if folders are encrypted and reflash OTA_037 if needed.
Once booted into android this is the point where you should have the Vendor Partition already created by the factory image, you can go back into TWRP (flash TWRP if needed) and under Mount be able to see, mount/unmount a Vendor partition without errors. This should solve the Error 7 problem with factory images. A newer version of TWRP Recovery should work now, I installed 3.4.0 from mauronofrio Here. 3.4.0 works with android 10.0 so I was glad.
9) Boot android again and flash OTA_038 (OOS 5.1.5) just to make sure with stock recovery. [Probably skippable but I was a Paranoid Android at this point, just to make sure it still works]
10) Boot to android again and install OTA_042 (OOS 9.0.0) with System Update to keep making sure it works. [Again, I was Paranoid. Probably Skippable]
11) Boot to android again and install OTA_054 (OOS9.0.11) as last Android 9 update to have things set up ok.
12) Boot into Android again and install the latest android 10 from OnePlus (OTA_068) with System Update and the Stock Recovery, this is Android 10.0.0 and OOS 10.0.0. Things should work fine at this point but I doubt the check for update will get new oneplus updates. As of Sep 25, 2020 it is up to date. Technically.
I should add something else I discovered after. I found a flashable zip file from one of the lineage OS posts of a oneplus5_vendor_5.1.5.zip Here. You might be able to just use that to create the Vendor partition then just Flash one of the OOS 5.X Firmwares and go from there, I've not tried it so I'm not 100% sure but it's a possibility?
Hope this is helpful to someone at some point in time. for troubleshooting at least. Honestly really glad I have a working phone right now.

All apps think that I don't have enough space after going to stock rom

After flashing back oxygen os to both slots I can't download all my apps. Putting the phone to download google backup(like apps and such) it fails to install over 40 apps out of 170 and when trying to update apps, playstore says that the app which I'm trying to update needs SD card or other media device with sufficent space while i have over 90gb free. I have also tried to use the unbricking tool with no luck. WhatsApp doesn't want to restore either. I've also tried to download ota file with chrome and chrome says also that I don't have enough space.
Try fastboot
You should try flash again with fastboot-ROM
Thevili03 said:
After flashing back oxygen os to both slots I can't download all my apps. Putting the phone to download google backup(like apps and such) it fails to install over 40 apps out of 170 and when trying to update apps, playstore says that the app which I'm trying to update needs SD card or other media device with sufficent space while i have over 90gb free. I have also tried to use the unbricking tool with no luck. WhatsApp doesn't want to restore either. I've also tried to download ota file with chrome and chrome says also that I don't have enough space.
Click to expand...
Click to collapse
Use msm tool instead...i got this issue when came back from custom rom! Some partition is messing up
Thevili03 said:
After flashing back oxygen os to both slots I can't download all my apps. Putting the phone to download google backup(like apps and such) it fails to install over 40 apps out of 170 and when trying to update apps, playstore says that the app which I'm trying to update needs SD card or other media device with sufficent space while i have over 90gb free. I have also tried to use the unbricking tool with no luck. WhatsApp doesn't want to restore either. I've also tried to download ota file with chrome and chrome says also that I don't have enough space.
Click to expand...
Click to collapse
I had the same problem after make a oos reinstall with a .bat I download, I solved the problem copying all the internal memory to my pc and making a full wipe (internal memory included) and a reinstall via fastboot with the .bat
maybe copy and wipe the internal memory and reinstall the rom can solve the problem, if not I can upload the fastboot unbrick .bat I use to gdrive and you can try a reinstall it is oos pie 9.0.17 but you can always update to oos 10
So, I got it to working with msm-tool. It went back to oos 9.0.16 and then I upgraded to oos 10.3.5, resetted again, and got everything working. But now I think that I got the Indian version or something, because I have red cable club and oneplus cloud there, I live in Finland so obviously they aren't working here. Can I somehow get the international version of oos?
For anybody reading this in the future, this is actually caused by invalid decryption keys. It's possible to have Android boot but not successfully decrypt data. In this state the phone will boot but no applications will install and saving files won't work correctly.
Simply wiping data should fix the issue, but there's always the MSM tool for when things go really wrong.
use fastboot roms to refresh your device and remove data encryptions
Thevili03 said:
So, I got it to working with msm-tool. It went back to oos 9.0.16 and then I upgraded to oos 10.3.5, resetted again, and got everything working. But now I think that I got the Indian version or something, because I have red cable club and oneplus cloud there, I live in Finland so obviously they aren't working here. Can I somehow get the international version of oos?
Click to expand...
Click to collapse
International/global same thing. There are twrp flashable OOS that are global for 6t here: https://forum.xda-developers.com/oneplus-6t/how-to/oneplus-6t-global-repo-oxygen-os-builds-t3865396
Next time you want to roll back to OOS from a custom rom:
Boot twrp
Flash OOS 10.3.5 global from that link
Flash twrp installer zip
Flash finalize zip
Format data (remember this wipes everything)
Reboot system.
You will not have this issue if you install that way.
Then if you want root boot twrp and flash magisk , reboot system.
Also if you ever have to use Msm tool again you can use the last Android 9/pie twrp by mauronofrio. The twrp he compiled just before Android 10/Q twrp started.. You can use that twrp and just flash OOS 10.3.5 global rom after you run Msm tool. That way updating won't take so long. That's what I did and had no issues. Just don't ever downgrade OOS via TWRP or you'll brick.

Categories

Resources