what IMG file to flash to restore OOS 12?? - OnePlus 8 Questions & Answers

Installed some Pixel launcher stuff and successfully soft-bricked my 8 Pro running OOS 12, Android can still boot but runs abnormally, can boot into fastboot(d) and adb under Android works, but now I can't do things with Google play related, can't install any apk, can't connect MTP to navigate internal storage, many more symptoms to name, which I think are because of some permissions are corrupted.
Anyway I plan to resotre the OS back to normal by reflashing the same version OOS 12 OTA file, which is IN2025 C.16, however since I can't install that apk Oneplus provides to use update utility, even if I get the OTA file (and payload.bin) I cannot flash it inside Android. I guess the best bet is to flash using fastboot, and I get payload.bin on my hand, now I have a question: which IMG files do I need to flash with fastboot(d) just to restore the OS? I don't want to lose any user data, at least I don't want to see internal storage formatted as I am unable to back up the files in it, and as I see in the forum, using something like flash-all.bat or Fastboot Enhance will erase everything so they are the last options.
So to re-flash the same OOS 12 at a minimum effort and loss, is it right that I just need to flash system.img and vendor.img and that's ok? boot.img is tempered with magisk, if not necessary I prefer not to re-flash it. For vbmeta IMGs I don't know if I need them flashed, in order to flash the same system as the one already running in the phone.

Read first:
[GUIDE] How to Avoid Killing Your OnePlus 8 Pro / 8T / 9R with OxygenOS 12 / ColorOS 12
As You can see, recently we started seeing more and more threads complaining about OxygenOS 12 killing people's devices. I lost my 8 Pro the same way few months ago and we finally know what caused this! ANSWER - THE BOOTLOADER! Massive Update...
forum.xda-developers.com
Really read it first. Before you flash anything via fastboot.
IDK what you should do to retrive your device. But read the link above...

xtcislove said:
Read first:
[GUIDE] How to Avoid Killing Your OnePlus 8 Pro / 8T / 9R with OxygenOS 12 / ColorOS 12
As You can see, recently we started seeing more and more threads complaining about OxygenOS 12 killing people's devices. I lost my 8 Pro the same way few months ago and we finally know what caused this! ANSWER - THE BOOTLOADER! Massive Update...
forum.xda-developers.com
Really read it first. Before you flash anything via fastboot.
IDK what you should do to retrive your device. But read the link above...
Click to expand...
Click to collapse
Yeah I read this, and I see IMGs in the payload, that's some of the IMGs I plan not to flash until necessary

Related

Root Stock Android 10 (XT1955-2 RETLA)

Hey everyone,
Please pardon the nooby question. I am just confused about Android 10 and the new A/B partitions. I am currently running Android 9, fully rooted with TWRP. However, I am experiencing some slowdown and some app issues, I'd like to reset the phone and start over. I figured now would be a good time to upgrade to 10.
What is the status of root on Android 10? Is the procedure that same as previously? I just have a bit of information overload reading all the threads on here, I think it is confusing me further.
To clarify I would just like to run rooted stock Android 10.
Thanks a lot in advance, and pardon my ignorance!
To anyone who may be searching for the same information as me: My phone crashed last night so I flashed from 9 to 10, and rooted. No issues, no change in procedure.
Yes, the process is the same. Use LMSA to flash to the latest Android 10 version. Extract the boot.img of the stock ROM, and put it on the SD card of your device. Install magisk manager. Use the patch boot.img method to get a new, modified boot image. Use fastboot to flash the modified boot img, and you're in business.
More in depth instructions here.

[Oneplus 7 Pro] Soft bricking when upgrading/rooting

Hi,
After ignoring the notification to update to Android 11 for over a month, I finally gave in an tried the update today.
I normally run stock OOS ROM with TWRP and Magisk, and updates are always fairly simple, let the OS update, overwriting the recovery and losing root, plug in to the PC and just `fastboot boot` the TWRP image, and then flash TWRP and Magisk on the phone itself, and bobs your teapot.
Alas, Android 11 shat all over those plans. With all the news out about Android 12 being in Beta, I had forgotten that Android 11 was so new to OP7Pro. Correct me if I wrong, but TWRP doesn't seem to work, which was my first mistake, but now Magisk has moved to a "need to patch the boot.img" model, which I hadn't seen before?
Anyways, after attempting to patch my own boot.img, I can no longer boot anything; phone just gets past the bootloader unlocked warning, then reboots into recovery.
I panicked then and attempted to flash one of the flashable Android 10 images from Mauronofrio's thread, which I think made things worse; now it just reboots repeatedly.
Any help appreciated, thanks!
Woops, I actually have a Oneplus 7 Pro (not a 7T). Can I move a thread myself?
I managed to use the MSM Download Tool from the last time I bricked my phone, which got me back to a bootable Android 10. Not much worse in life than losing all my data but better than a brick.
mc_teo said:
Woops, I actually have a Oneplus 7 Pro (not a 7T). Can I move a thread myself?
(...)
Click to expand...
Click to collapse
You cannot
But we gladly do this for you (as I just did)! Remember that you can always report your own posts for any type of forum maintenance you may need.
At your service and stay safe!
Timmy
Forum Moderator
A fix for your failed patched boot.img is just flashing the stock boot.img.
For upgrading (official OTA) and keep root, after installation finishes don't reboot and go to magisk, select install to the inactive slot and reboot, after reboot your phone will have the lastest update without loosing root.
And the best way to restore your phone is using msmtool

Android 11 and OOS11 OnePlus 7 Pro

Hello,
I have scoured the forums ever since the update to try and get back to where I was, with TWRP, and a rooted phone. TWRP is not as important as root is.
I saw that there is a way to get root if following these instructions:
Rooting OP7 Pro OOS11
Where can i find instructions to root my phone having Android 11?
forum.xda-developers.com
However, are there any specifics or edge cases I need to be aware of? For example, if I am on the newest update versus the first beta update that rolled around a few months ago? At what point on Android 11 and OOS 11 do these instructions not work?
And I was wondering if someone can please provide some links to make it a bit easier for me (of the boot.img file and other things?), I actually leave the country in a week and so I really want to get this done before I leave, it would really make my life easier
Is there a way I can root without wiping my phone? And if I have to wipe, is there an app similar to Titanium Backup that's reliable that I would be able to use without root and restore some important data of apps?
Thank you!! Any help is appreciated
No one has any answers?
technocrat7 said:
No one has any answers?
Click to expand...
Click to collapse
It's pretty simple. You just need to make sure you flash a patched boot image from the same build your device is on. The OP7 Pro forum is not very organized, and most of the available boot images are gdrive links buried in threads.
If you just so happen to be using the T-Mobile OP7 Pro, then I can help you. Otherwise you'll need to search around for a boot image for your device.
If you can get your hands on a stock boot image, you can copy it to your phone's SD card and use the Magisk Manager app to patch it. It will put the patched boot image in your phone's downloads folder. copy that to your PC and then use fastboot to flash it to your active boot partition
weakNPCdotCom said:
It's pretty simple. You just need to make sure you flash a patched boot image from the same build your device is on. The OP7 Pro forum is not very organized, and most of the available boot images are gdrive links buried in threads.
If you just so happen to be using the T-Mobile OP7 Pro, then I can help you. Otherwise you'll need to search around for a boot image for your device.
If you can get your hands on a stock boot image, you can copy it to your phone's SD card and use the Magisk Manager app to patch it. It will put the patched boot image in your phone's downloads folder. copy that to your PC and then use fastboot to flash it to your active boot partition
Click to expand...
Click to collapse
Thank you for the response.
I'm running a OnePlus 7 Pro
Android Version 11
Build Number: Oxygen OS 11.0.1.2.GM31CB
Model: GM1915
Is that the T-Mobile variant?
technocrat7 said:
Thank you for the response.
I'm running a OnePlus 7 Pro
Android Version 11
Build Number: Oxygen OS 11.0.1.2.GM31CB
Model: GM1915
Is that the T-Mobile variant?
Click to expand...
Click to collapse
Yes it is. The boot image linked in this thread is exactly what you need. Flashing boot will not affect your system image or user data.
weakNPCdotCom said:
Yes it is. The boot image linked in this thread is exactly what you need. Flashing boot will not affect your system image or user data.
Click to expand...
Click to collapse
Thanks!
So after I download this boot image, I flash it using fastboot?
Because TWRP isn't available right?
Then after that, what do I do to root it?
Download the latest magisk?
Do I download the apk or flash that too using fastboot?
technocrat7 said:
Thanks!
So after I download this boot image, I flash it using fastboot?
Because TWRP isn't available right?
Then after that, what do I do to root it?
Download the latest magisk?
Do I download the apk or flash that too using fastboot?
Click to expand...
Click to collapse
install Magisk Manager v23 on your phone.
flash boot a & b with fastboot.
reboot and done

Question Downgrade LE2115 from 12 to 11 - confused.

Hello all,
My phone came with ColorOS OOS 12 and I hate it. As soon as I rooted it it started crashing daily, I even reflashed a fresh oos12 image using the local update tool and only granted superuser to one app (solid explorer so I could access user files) and it still crashes. Not to mention all the apps i want to use don't work on android 12 (call recorder, busy box) and no custom recovery.
I've been reading through the forum and I found a downgrade package that looks like its hosted by oneplus: https://oxygenos.oneplus.net/OnePlu...all_2107082125_downgrade_059624cc7298428b.zip
I just wanted to make sure I am doing this correctly...
Do I use the OP Local Update app to flash?
Will I be able to flash TWRP for android 11 afterwards?
Will i need to relock the bootloader?
Should i re-root using the magisk slot b method or wait until its flashed and use TWRP?
Will it try to OTA back to android 12? If so, what's the best method to get on the latest version of android 11?
Thanks for the help.
I am running COS C.62 on my OP9 with root and having no issues. Did you make sure to do all the things in this guide?
Root OnePlus ColorOS 12 OxygenOS Android 12 via Magisk
In this tutorial, we will show you detailed steps to root your OnePlus device running ColorOS 12 Android 12 via Magisk Patched Boot.img file.
www.droidwin.com
Anyway, yes, use the local upgrade APK, put the downgrade file in the root of storage, run it. Reboot. Factory reset and wipe data to clear out any leftover crap (don't restore a backup - if you want to use Clone Phone you can do that but only restore app APKs and messages). When it reboots it should offer the latest OOS11 OTA first. If not, just download it and place it in the root and use the local upgrade function in the settings menu of the OOS11 system updater.
There is no need re-lock the bootloader and if you do, you risk a brick that has to be recovered with MSM Tool.
Root by following the guide I linked. I just went through this yesterday after flashing COS broke mobile data. I have Magisk 24.3 working with denylist, Widevine L1, and SafetyNet passes so I have Google Pay.
EtherealRemnant said:
I am running COS C.62 on my OP9 with root and having no issues. Did you make sure to do all the things in this guide?
Root OnePlus ColorOS 12 OxygenOS Android 12 via Magisk
In this tutorial, we will show you detailed steps to root your OnePlus device running ColorOS 12 Android 12 via Magisk Patched Boot.img file.
www.droidwin.com
Anyway, yes, use the local upgrade APK, put the downgrade file in the root of storage, run it. Reboot. Factory reset and wipe data to clear out any leftover crap (don't restore a backup - if you want to use Clone Phone you can do that but only restore app APKs and messages). When it reboots it should offer the latest OOS11 OTA first. If not, just download it and place it in the root and use the local upgrade function in the settings menu of the OOS11 system updater.
There is no need re-lock the bootloader and if you do, you risk a brick that has to be recovered with MSM Tool.
Root by following the guide I linked. I just went through this yesterday after flashing COS broke mobile data. I have Magisk 24.3 working with denylist, Widevine L1, and SafetyNet passes so I have Google Pay.
Click to expand...
Click to collapse
Thank you, ill give it a try.
First i used the payload.bin method and it was crashing, then i reflashed the latest OTA using the local update tool and used the magisk slot b method. still crashing.
It might have less to do with the root and more with me using root to disable certain apps (youtube, chrome, OP community, google news/podcast/tv) i dont want them on my phone but they might be too tightly integrated. If its still crashing on android 11 ill re-enable them and see if that helps.
aaronbaird1 said:
Thank you, ill give it a try.
First i used the payload.bin method and it was crashing, then i reflashed the latest OTA using the local update tool and used the magisk slot b method. still crashing.
It might have less to do with the root and more with me using root to disable certain apps (youtube, chrome, OP community, google news/podcast/tv) i dont want them on my phone but they might be too tightly integrated. If its still crashing on android 11 ill re-enable them and see if that helps.
Click to expand...
Click to collapse
Okay you're on OOS, not COS. COS doesn't have Google apps by default (but has plenty more bloatware, I just don't use it).
It's certainly possible that disabling Google apps is your problem. If you don't want Google apps, you're better off with a custom ROM that doesn't have them. CalyxOS has a beta for OnePlus 9 and it's totally de-Googled. There's also Lineage.
EtherealRemnant said:
Okay you're on OOS, not COS. COS doesn't have Google apps by default (but has plenty more bloatware, I just don't use it).
It's certainly possible that disabling Google apps is your problem. If you don't want Google apps, you're better off with a custom ROM that doesn't have them. CalyxOS has a beta for OnePlus 9 and it's totally de-Googled. There's also Lineage.
Click to expand...
Click to collapse
ahhhh. i didnt realize there was a difference. I thought OP was just calling their android 12 build ColorOS.
Either way, for custom roms i would have to go back to 11 to flash TWRP right? or can you flash custom roms using fastboot?
aaronbaird1 said:
ahhhh. i didnt realize there was a difference. I thought OP was just calling their android 12 build ColorOS.
Either way, for custom roms i would have to go back to 11 to flash TWRP right? or can you flash custom roms using fastboot?
Click to expand...
Click to collapse
You would need to back to 11 because OnePlus hasn't released working sources for 12. Just use the downgrade package, factory reset, then upgrade to 11.2.10.10 and you'll be good to go for custom ROMs. TWRP isn't used for flashing them, they all generally post their own recovery. StagOS was the best one I used (plus the dev is really responsive when there are issues) and people seem to really be enjoying Nameless but that came out after I went back to stock so I haven't tried it yet.
Before you mess with custom ROMs, make sure that you download the global MSM Tool and make sure you can connect it. Honestly since you have to go back anyway, might as well download and use the MSM Tool to get the device back to 11 anyway.
GLOBAL OnePlus 9 MSM TOOL UPDATED
Frist off Im not responsible for anything that happens to your phone!!! VERY SIMPLE IF YOU ARE BICKED,BOOTLOOPED OR JUST WANT TO GO BACK TO 100% STOCK THIS WILL WIPE ALL DATA!!! AN RELOCK BOOTLOADER OOS 11.2.4.4.LE25AA MUST HAVE QAULCOMM...
forum.xda-developers.com
Easiest way to get it into EDL is adb reboot edl but if you want to practice the key combination in case you can't get into the OS, I found if you open the MSM, check use lite firehose, and click Start before you connect the phone, it has less connection errors because it's waiting for the phone so as soon as you connect the cable, it pops up.
EtherealRemnant said:
TWRP isn't used for flashing them, they all generally post their own recovery.
Click to expand...
Click to collapse
Really??? you can tell I haven't messed with custom roms in a long time.
Thank you for all the help. I'll try it out.
aaronbaird1 said:
Really??? you can tell I haven't messed with custom roms in a long time.
Thank you for all the help. I'll try it out.
Click to expand...
Click to collapse
Yeah TWRP has issues. I soft bricked last time I tried to do anything with it and had to use MSM Tool to get back to working order.

Lineage 20 back to stock

I'd like to revert to stock so I can give my phone to someone else.
I downloaded OOS 11.1.2.2 January 26, 2022 from OnePlus, then I followed these instructions. All was going well until I got to the flashing bit. Some of the files I extracted from payload.bin flashed successfully, but a bunch of them threw errors: unable to flash critical partition.
After that, I restarted my phone and wasn't terribly surprised to find a boot loop.
I researched the critical partition error and read that I need to run fastboot flashing unlock_critical, but that throws another error: device is already unlocked.
Finally, I reinstalled Lineage 20 to get my phone back to working condition.
It sounds like it should be simple to do a local update, but Lineage doesn't have that option.
Instructions to use TWRP also look easy, but I have Lineage Recovery, which doesn't have an option to flash a zip from internal storage.
A lot of people recommend these tools, but the last few pages in that thread are full of issues and make me nervous. Also, there are links for Android 8, 9 and 10, but my phone is on Android 13, and I believe the latest stock OOS is Android 11, so I'm not sure if any of these would work.
Can anyone recommend an up-to-date guide, or at least point me in the right direction?
This did the trick: https://community.oneplus.com/thread/1541327

Categories

Resources