yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
We all know flashing ROMs got a lot more complicated with the advent of A/B partitions.

This is not my work, the aim here is only to highlight a process which simplifies the task.

Original post on the OnePlus 6 forum can be found here:

https://xdaforums.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979

It makes use of a script which copies the flashed firmware to both slots without having to reboot recovery and do it a second time. Also by not having to reboot recovery you avoid the issue where internal storage becomes unreadable.

Credit for this goes to:

LineageOS [MENTION=6298645]erfanoabdi[/MENTION] [MENTION=3069475]filipepferraz[/MENTION] [MENTION=10795483]Prakyy[/MENTION] [MENTION=4790166]drpradsms[/MENTION]

Download by prakky (hit the thanks button on his post below):

https://androidfilehost.com/?fid=8889791610682890605

The following posts detail it's usage which you follow at your own risk.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Clean Flashing a new ROM

Disable lockscreen security

Boot TWRP 3.4+

1) Flash latest OOS

2) Flash ROM

3) Flash TWRP installer

4) Flash Finalize.zip

5) Format data; type 'yes' (backup as this wipes phone)

6) Boot System

Reboot recovery to flash additional zips.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Updating OOS base whilst on a custom ROM

Boot TWRP 3.4+

1) Flash latest OOS

2) Flash ROM

3) Flash TWRP installer

4) Flash Finalize.zip

5) Boot System

Reboot recovery to flash additional zips.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Updating a custom ROM (nothing fancy here)

Boot TWRP 3.4+

1) Flash ROM

2) Flash TWRP installer

3) Boot System

Reboot recovery to flash additional zips.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Reverting to OOS

WARNING I've yet to test this!

Boot TWRP 3.4+

1) Flash latest OOS

2) Flash Finalize.zip

3) Format data; type 'yes' (backup as this wipes phone)

4) Boot System

Note: this will revert you to stock recovery as well.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Tip:

Chain install the zips by selecting 'Add more Zips' after selecting the first zip.

Only 'Swipe to confirm Flash' once all zips have been queued.

I recommend numbering the zips in the order they need flashed.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Note: this issue is now resolved as of 09/08/20 as per https://xdaforums.com/oneplus-6t/how-to/guide-rom-flashing-easy-t4143701/post83241857

As a side note and given that I show an OmniROM zip in the previous screenshots here's a fix required for flashing OmniROM.

I use Mixplorer to do the following.

1) Open the OmniROM weekly zip

2) Navigate to folder shown

3) Open metadata

4) Edit oneplus6t to OnePlus6T

5) Save metadata

OmniROM will now flash successfully in TWRP.
[OnePlus 6T  Guides, News, & Discussion] Prakyy:
Nice post! Don't mean to be rude but is kinda redundant as my thread already existed: https://xdaforums.com/oneplus-6/how-to/script-copy-oxygenos-base-partitions-to-t4097979
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Didn't know your post existed. Only learnt about the method on Pixen OS thread which uses it and gives you credit as did I. A lot of people only look in their own phone forum. If you don't mind I'll leave this thread open. However if you aren't happy I'll ask a mod to close it.
[OnePlus 6T  Guides, News, & Discussion] flash713:
Deleted. Think maybe I'm getting altimeters. ?
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Edited first post to make it clearer this is your work.
[OnePlus 6T  Guides, News, & Discussion] Prakyy:
You can keep it open ofc I don't mind.

However, yes, many people only see in their device's forums but since this script will work w/ any A/B device, is there a forum I could post in so that all device owners can see it??
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Good question.

Is 'Android Development and Hacking / General' the right place? There are some all device guides with a lot of views in there.

https://xdaforums.com/android/general
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
As of 09/08/20 build and this commit all is well with OMNI and TWRP again. No need to edit the ROM zip anymore.
[OnePlus 6T  Guides, News, & Discussion] brajesh.sharma87:
Is there a proper way to switch from one custom rom to another without formatting the data? Encryption and A/B made the custom rom game so crazy and time taking now. Or maybe I lost track of things. I could always take a backup of storage on laptop but the backups are very huge, mostly 80gb+ and takes forever while backing up whatsapp databases with images thumbnails and all.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
No when switching ROM formatting data will be necessary. Not used it myself but others recommend Migrate to restore apps and data.
[OnePlus 6T  Guides, News, & Discussion] brajesh.sharma87:
I was looking for a way to backup current rom using twrp, test a rom and then be back on the original rom with a twrp restore. If anyone finds a way to do this without format data, pls let me know.
[OnePlus 6T  Guides, News, & Discussion] flash713:
I just restored PiXeN from AOSPA on 6t device and had no issues and I did NOT format my data or do anything but let TWRP do it's restore then rebooted system.. Just backup your system, data and boot partitions and restore them then reboot system. I didn't encrypt my backup using a pw in recovery. I also use magisk canary latest and the themed TWRP recovery 3.4.0-v1 from EvoX rom that acuicultor compiles and morphine1 themes. I've not restored yet using any other TWRP so not sure what works and what doesn't as far as that goes but the themed recovery works for me.

**Formatting data is unavoidable when installing an AOSP custom rom coming from stock OOS rom.

Edit
[OnePlus 6T  Guides, News, & Discussion] brajesh.sharma87:
I had to mandatory format data when I wanted to move from evolution x to aospa.
[OnePlus 6T  Guides, News, & Discussion] flash713:
And I've also had to format data before as well but not lately. Could it be because I format both slots coming from OOS or because I use Canary Magisk or the recovery I use.. No idea but next time you are on EvoX backup system, data and boot and try and restore it using that recovery that comes with EvoX and see what happens. These last few weeks I've stayed on AOSiP and PixeN and I flashed Omni once I think but restoring from AOSPA to Pixen was flawless for me and also restoring Pixen to Pixen was also fine, which I do because I always mess around with sound mods.... I'm on AOSiP now and soon as I get more charge on my phone I'm going to try and restore to something I have a backup already made on one of my USB drives and I'll edit this post and report what the outcome is...
[OnePlus 6T  Guides, News, & Discussion] blaaaazedup:
If gapps needed to be flashed, a what point in these directions would I flash them. If that's even possible.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
As instructed in the last line.
[OnePlus 6T  Guides, News, & Discussion] flash713:
Not always true for me on 6t. I've wiped data and cache several times and not formatted data and booted fine. Two days ago I was on AOSiP, booted TWRP (black themed 3.4.0-v1 that I grabbed from RR telegram group for 6/6t) Booted TWRP, switched slots, rebooted recovery, flashed AOSPA, flashed TWRP installer zip, reboot recovery, wiped data & cache, flashed latest magisk canary, reboot system. Booted up fine. I've also flashed from slot I was on and just wiped data and was good several times. I'm quite sure this is an encryption deal that has to do with switching to other slot and sometimes that's where things get tangled up. I know that's true for a few other AB devices I've owned in the past. ?

Migrate NG works perfectly for me.
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Not sure which of the mentioned elements allow for dirty flashing between ROMs and that's what I don't like. I've seen that many methods banded about I got fed up reading them. Also questions regarding why ROM won't boot when a format data is always the answer. I wanted to present clean, concise and guaranteed instructions.

I've yet to try Migrate but if/when I do I'll add it to the op's.
[OnePlus 6T  Guides, News, & Discussion] flash713:
Just did same thing I said above and installed RR from AOSPA, booted twrp, reboot to other slot, reboot recovery, flashed RR, flashed twrp installer, reboot recovery, flash gapps, wiped data and cache, flash canary magisk, reboot system. Works like a charm on my end. I usually just do that when I'm crack flashing. When I want a clean clean install like you said I always do the format data and OOS on both slots then proceed with custom rom installation. New RR is amazing bro!!!!! Definitely check it out when you can. :good:
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Was considering giving AOSiP a spin.
[OnePlus 6T  Guides, News, & Discussion] flash713:
In my opinion it's the best or one of the best roms for 6t. And the dev who builds for our 6/6T is always on point and is really good. Consistent updates too ..In my experience I usually get an ota about 2-3 times each month. Also he makes fastboot images for the rom which in my opinion is bad ass!! AOSiP officially supports signature spoofing so you can ditch gapps and use NanoDroid installer for Fdroid , MicroG or whatever. I wish all roms had the fast boot inages. The other day I was thinking I need to make a script for flashing roms on my laptop so I can just plug up and run my script and it flashes OOS and AOSiP ..... I may do it now. Just a simple bash script you know.... With the fast boot images for AOSiP you just flash the four parts to both slots. That's what I did anyway.. Really cool that they make rhe fast boot images for AOSiP every release.. Definitely my fav rom for 6t!! :good:
[OnePlus 6T  Guides, News, & Discussion] devilrulz4ever:
True. I wouldn't have found it at all if it were not in this section. This is such a life saver. No more frequent reboots and all that bs. :D
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
So much less hassle. Make sure and hit thanks on [MENTION=10795483]Prakyy[/MENTION] original thread linked in the OP.
[OnePlus 6T  Guides, News, & Discussion] bluntman420:
Im trying to update to latest oos 10 from oos 9.0.14 rooted with latest magisk and twrp. Can I keep my data? What steps should I take to do this? I read that I would first need to update to 9.0.17 before going to oos 10. Any help would be really appreciated. Thanks.
[OnePlus 6T  Guides, News, & Discussion] flash713:
I used the last twrp made by mauronofrio for android9/pie when I updated my 6t after I converted my device from T-Mobile to international model.. I just grabbed latest OOS zip from here: https://xdaforums.com/oneplus-6t/how-to/oneplus-6t-global-repo-oxygen-os-builds-t3865396

and flashed it through twrp, then flash twrp installer zip, reboot recovery, flash latest OOS again, flash twrp installer zip, format data, reboot system. That's how I upgraded in a flash instead of using Oxygen updater app although that's another option.

*You can also flash OOS zip, flash twrp installer zip, flash finalize zip, format data, reboot system.
[OnePlus 6T  Guides, News, & Discussion] nikosrs4:
So in every case if I want to go from OOS to custom ROM I will need to format internal storage?
[OnePlus 6T  Guides, News, & Discussion] mitchst2:
Yes ROM will not boot otherwise.
[OnePlus 6T  Guides, News, & Discussion] nikosrs4:
backup check

let's flash it...lol
[OnePlus 6T  Guides, News, & Discussion] kmr168401:
Thank mister for guided me to finalize.zip and teaching how to use, I didn't forgotten to thank the original author of the finalized,zip creator:D:angel:
[OnePlus 6T  Guides, News, & Discussion] ashish1989:
The script is a life saviour, yet to test it, thanx @Prakyy for the awesome work.
[Fire TV Q&A, Help & Troubleshooting] Leedsgreen:
I've done a search on the forum and can't find the exact answer I'm after. I have a Fire TV2 box that I would prefer to keep on Fire OS 5.0.5. TWRP Recovery is currently on 3.0.0-4 and I would like to update it to the latest version without installing the latest Fire OS pre-rooted ROM. There are many guides on the internet for updating TWRP on Android phone and I wonder if it is the same approach for Fire TV (and I can just follow one of those)? Thanks for all help.
[Fire TV Q&A, Help & Troubleshooting] Sus_i:
Nope, since TWRP runs from a ram disk, not from the recovery partition.. ;)
[Fire TV Q&A, Help & Troubleshooting] Leedsgreen:
OK. So other than installing latest pre-rooted ROM is there anyway to update TWRP recovery (& stay on the Fire OS I’m currently on)? Thanks.
[Samsung Galaxy Note 20 Ultra Questions & Answers] bitpushr:
Does anyone know if 5G will work with Google Fi on this phone?

It looks like according to the support documents it should work with full 5G, but you never know.
[Samsung Galaxy Note 20 Ultra Questions & Answers] barry99705:
That will be totally up to google. I'm betting no.
[Samsung Galaxy Note 20 Ultra Questions & Answers] oneandroidnut:
I say it will but probably after Pixel 5 5G has some exclusive time with it
[Samsung Galaxy Note 20 Ultra Questions & Answers] Elastep:
After Sammy having such a close relationship with MS??? Nooo way. Google will resist. Unless it's what the OP will offer by default.
[Samsung Galaxy Note 20 Ultra Questions & Answers] leony74:
Project Fi works perfect with Galaxy s20 ultra unlocked version bought from Samsung USA, I don't see any reason why note 20 ultra will not work. It gives you both WiFi calling and VOLTE
[Samsung Galaxy Note 20 Ultra Questions & Answers] barry99705:
Does it do the carrier handoff or just stuck on tmobile?
[Samsung Galaxy Note 20 Ultra Questions & Answers] leony74:
It will be stuck on TMobile. Now that sprint and TMobile have merged so you will be using all the antennas and band of sprint also. US cellular will not be available thou.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] L1mon:
Hey Guys,

I unlock the bootloader by curiosity now I'm suffering. I can't update my phone anymore. It shows "Download rom again and try updating".

I tried to lock the bootloader by watching Youtube Tutorial but after the command "Fastboot oem lock" My system was distroyed.

So I'm seeking help from here.

Please ignore my English Grammatical errors as I'm not so educated.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] rafigh89:
1- if your phone is china version of k20 pro, download latest China Fastboot rom for k20 pro , this is very important and you shoud

choose proper rom, otherwise you'll brick your phone

https://xiaomifirmwareupdater.com/archive/miui/raphael/

2- flash rom via Mi flash. in Mi flash program select clean all and lock option for lock bootloader.

https://c.mi.com/oc/miuidownload/detail?guide=2
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] L1mon:
Can I get your facebook id?

My id is Facebook.com/iaml1mon

Please message me bro Or give me your id.

I really need help
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] kibria.mgk:
Why do you need to relock bootloader?

Mi 9T Pro ll Tapatalk
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] L1mon:
I'm facing some problem after unlocking bootlock.

I can't update my phone anymore. It shows "Download Rom and try updating again".
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] zgfg:
See answer in the other thread you opened.

To relock Bootloader you should flash tgz firmware by XiaoMiFlash tool and select the default Clean all and lock option - you got the answer above.

But if you are a novice (looks so), better don't risk hard-brick, you will need to find a paid, remote assistance for EDL Download procedure
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] rafigh89:
I'm not on facebook. you can send your request in this forum. I'll help you if I can:good::o
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] L1mon:
Can you help me to find an assistant?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] zgfg:
Google search is your best assistant ?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] kibria.mgk:
Just forget ota and flash updates manually with twrp or orangefox recovery.

Mi 9T Pro ll Tapatalk
[Android Q&A, Help & Troubleshooting] Insulus:
I am looking for an app for android that behaves like microsoft's Your Phone app, but uses your wifi connection to make phone calls instead of bluetooth.

My goal is to be able to use sms and phone calls from my pc, hearing the ringing in my headset would be a big plus. i have had a lot of negative experiences with bluetooth over the last decade ranging from software on different bluetooth devices seeing each other and refusing to connect to very poor quality (crackling, low bauld rates), having never experienced a good or even fair quality use, I wish to steer clear of it at all costs.

Any suggestions?
[Android Q&A, Help & Troubleshooting] xSil3nt:
Android messages can be used for texts, http://messages.google.com/web. Not sure about something that would work well for calls though.
[Advantage X7500, MDA Ameo ROM Development] geek78:
Hi

I know that someone (irus ?) has posted a special nbh to totaly erase the extended rom but i don't find it again... So if you have it (for spl 120) can you upload it ?

thanks
[Advantage X7500, MDA Ameo ROM Development] michyprima:
only os is spl specific.

i have made a new one nbh but i haven't enough traffic to upload it.

But just extract extrom.nb from any rom and empty it with tfat image editor...and then put it in a nbh and flash.
[Advantage X7500, MDA Ameo ROM Development] geek78:
thanks... I was doing it ... will post it in case of someone need it...

EDIT : the link : http://www.megaupload.com/fr/?d=E6CIBW0S
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Hi

I'm pretty new on rooting devices, i did some times by the past on samsung s3 or iphone 3gs , after getting our water from the well.

But now i'm stuck. I install TWRP with minimal ADB, it goes pretty well, and then i decided to flash and install Lineage 17.1 . I did it by the book, put the img file on the phone, reboot on TWRP, selected my file and voilà, it flashed it nice, but when i reboot it boot straight to TWRP . There's no ways i can get past it.

Tried to reflash, reinstall Lineage but it 's still stucked.

What can i do to fix that ? i saved my personal datas but nothing else

Thnxs
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Ok don't bother

I bricked my phone .

I tried to reinstall sotck rom , i downloaded a Global version , flashed it with MiFlash and it said " this MIUI can't be installed on this device " afterwards on the stock recovery screen

Can't Unlock the bootloader , can't do anything just because of a godammn "clean and lock all" box ticked by default. F*** It . IT was supposed to be a global version of the phone, why couldn't i reinstall a global stock ROM FFS ?
[Xiaomi Redmi 8 Questions & Answers] kouseralamin:
I am not using MIUI. Installed HavocOs. When I was using MIUI 4gb ram was always 50% occupied. But that never was problem. Old apps were open in background. In such a phone 4gb ram is sufficient. So I would say ram management may not be good as it always occupied 50% ram even if no apps were running. But never felt that running apps were stopped. can easily keep 4-5 apps(lite apps).

---------- Post added at 11:07 AM ---------- Previous post was at 10:59 AM ----------

If you have checked clean and lock then your phones' bootloader is probably locked. Would you mind telling current status of you phone in details? Like:

1. does the phone show "Redmi by Xiaomi" logo while boots;

2. Is there unlocked written while it boots;

3. does the phone boot properly to stock rom (or whatever rom is);

4. does it have stock recovery.

5. What version of rom you flashed?

thank you.
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Hi and thxs for the reply

so in proper order

1) Yes

2)No no more Unlocked at bootscreen (because of that ******* ticked box

3) No, it can't get past recovery. I was stucked at TWRP when i install Lineage (never had the chance to taste it) , now it's stuck at stock recovery

4) All I get is the 3 choices screen ( Reboot / Wipe Data / Connect with PC MIUI (the software management))

5) After lineage , i tried to flash Global ROM but after cheecking with the IMEI , it appears that i have a chinese version . IF Only i had taken the time to double check that , i bought the phone from a legit site (Not Gearbest and stuff). I think it was based on android 9.0

I 've dl Chinese ROM , Recovery and Fastboot , Now the phone has the back open , tried the pin contact, , it's recognized as Qualcom Port 9008 , so Miflash detectsit but evertime i try to flash either i can't get the hello packet, or Miaccount says i have not the authorization
[Xiaomi Redmi 8 Questions & Answers] SirInvoker:
Hi Ser . Chill out and do this . Unlock Bootloader again , Download Recovery Rom from https://hugeota.d.miui.com/V11.0.1.0.QCNCNXM/miui_OLIVE_V11.0.1.0.QCNCNXM_f95f98fba9_10.0.zip

Format And wipe all on twrp . Then flash it and you will get your miui back
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Hi

I can't unlock it because when i install the global stock rom it relocked the bootloader and now i can't access MIUI
[Xiaomi Redmi 8 Questions & Answers] kouseralamin:
First of all stay calm. Your phone is still not hard bricked. As you have said that your stock recovery is working. In stock recovery it shows that "This MIUI version cant be installed".

Firstly, try to unlock bootloader again with mi unlock with same account you have used. This time it would not take the waiting period.

before plugging the phone boot into fastboot then plug to pc.

Do the same as you have unlocked before.

I hope it works.
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Nope I tried virtually everything from 9pm to 6am and 9am to 2pm. NO way to unlock through MiFLash or many exotic tools in cmd prompt .

I just send it to repair center this afternoon , my 2 cents it should'nt take long to unbrick as there are still recovery and fastboot as you mentionned and repair centers have way more firepower than we do average fellas ... At least I hope they have

I keep you tuned
[Xiaomi Redmi 8 Questions & Answers] Boup64:
As i promised, here are the news

Reparation center with notoriously skilled technicians has not managed to fix the stuff to this day. Bootloader locked, tried with my Mi account , they were trying the EDL mode as i was calling them for news.

The sad part is, I had already tried this so I wished them better luck. It's been a few days so should they have succeeded, they 'd have told me by now. In fact they are not experienced enough with those Xiaomi protection so they're investigating. For the futures unfortunate owner's
[Xiaomi Redmi 8 Questions & Answers] jhonnz:
EDL mode to use an authorized account is needed ... so you could not make it work, nor its experienced technicians
[Xiaomi Redmi 8 Questions & Answers] Boup64:
And I bet that only Xiaomi has this authorization , Xiaomi who has no official repair center in EU nor never replies to anyone.....
[Xiaomi Redmi 8 Questions & Answers] Boup64:
3000 years later......

I promised to keep you tuned.

I finally unbricked it today, thanks to [MENTION=460965]miau[/MENTION]thofficial , as the tech around home didn't have necessary tools (or skills .... i think tools ) . It cost me 35 bucks but they got it working, with a chinese rom though (because i have a chinese phone :/ ) , with teamviewer and a bunch of top specialist tools

I can tell out of experience that's there are NO ways to unbrick it on your own

So i don't have multilanguage (only english , chinese , thai , japanese and arab ), no Google apps ..... That's why it sounds weird that i had everything set up out of the box . It wasn't a Global ROM, maybe a custom chinese rom?

Now i will carefully dig out how to get it to global versions , typing text on chinese rom is a pain in the ass
[Xiaomi Redmi 8 Questions & Answers] Boup64:
Believe it or not, i just had it charged, barely had the time to remove the charge cable, the phone sets on fire then exploded almost into my hands . I have some difficulties catching my breathe bcause of the smoke.