yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 Guides, News, & Discussion] prax69:
india and reserve partition

I flashed latest 10.3.3 rom via fastboot and locked my bootloader. But then i found out about these 2 unflashable partition. Some features like other indian languages, emojis, clouds etc are now missing. Is there any eay of getting them without again unlocking the bootloader, flashing the old rom and installing the new room through updater. It is a very lengthy process. Please help:)
[OnePlus 6 Guides, News, & Discussion] xpakage:
Just do a dirty flash of the full ROM by doing it locally.
[OnePlus 6 Guides, News, & Discussion] prax69:
Can you please explain how to do that, I have very little knowledge in these.
[OnePlus 6 Guides, News, & Discussion] xpakage:
The first post in the following thread has the full download and the instructions.

https://xdaforums.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
[OnePlus 6 Guides, News, & Discussion] camdadeye291:
Sorry in advance to anyone offended by my questions but I don't fully understand the instructions on the first page so I am asking for clarity.

Which .bat file installs OOS on both slots?

TWRP related

1. What does the 'Vendor' partition in TWRP do?

2. What happens when I wipe the vendor partition?

3. When wiping the phone, do I need to change slots and wipe the partitions on the other slot too?

Thanks in advance. This project treble thing has me reeling haha
[OnePlus 6 Guides, News, & Discussion] lil-pete:
Hello, i like to go back to stock but when i start flashall.bat it failes. Hope anyone can help. Thanks

View attachment 5027361
[OnePlus 6 Guides, News, & Discussion] xpakage:
Did you unzip all zip files? Not just the main one, but the zips in that unzipped folder.
[OnePlus 6 Guides, News, & Discussion] lil-pete:
Thanks for your answer and the developer for the fastboot roms. I just downloaded it again and now i back to stock. The simplest way i think. :D
[OnePlus 6 Guides, News, & Discussion] HannibalLecter:
you'll need to fastboot last pie and then. update. this is how i do it..

how did you do it?

fastboot flash 10.3.3 and then flash the same using recovery?
[OnePlus 6 Guides, News, & Discussion] shahzooo:
When will 10.3.4 be uploaded? Would be great if you can upload?
[OnePlus 6 Guides, News, & Discussion] darksx:
I am confused about one thing,for example if i flash Lineage and i wanna come back to Oxygen do i need to performe factory reset in lineage recovery and than back to bootloader and flash allbat file.Sorry about this because i'm not a pro.thanks if anyone replies.
[OnePlus 6 Guides, News, & Discussion] CyPress1988:
Can I use fastboot to flash latest Android 10 OOS over my current Android 9 Pie Open Beta? THX
[OnePlus 6 Guides, News, & Discussion] Mr.FREE_Bird:
Read... All you had to do is to give the OP a good read.

"These ROMs can't be used to update or downgrade your phone but just to restore your phone, so don't use them to come back to oreo or to update from oreo to pie."
[OnePlus 6 Guides, News, & Discussion] CyPress1988:
Did I. I thought that maybe i shouldn't use fastboot for updating, because fastboot wipe everything. The last time I used fastboot was with the Nexus 6.

Well, that would have been too easy. Thx
[OnePlus 6 Guides, News, & Discussion] samrat_castle:
I am on 10.3.4. I am facing some instabilities and want to clean flash the rom. Is it safe (No Bootloop) to flash 10.3.3 fastboot rom and then update to 10.3.4, or should I wait for 10.3.4 fastboot Rom?

Edit: No worries! Found it on Sourceforge link.
[OnePlus 6 Guides, News, & Discussion] :
Accidently wiped eveything incuding internal storage

Hi

I'm a newbie to rooting android devices. I accidentally wiped everything via TWRP including internal storage. Now, powering it on loads the fastboot mode as no OS or recovery is present.

Will this method work to install the ROM on my device?

Thanks in advance
[OnePlus 6 Guides, News, & Discussion] The Apostle:
This happened to me not long ago. I fixed by using fastboot command - fastboot boot TWRP.img (or whatever your TWRP img string is). Then I flashed the ROM zip via TWRP.
[OnePlus 6 Guides, News, & Discussion] TarunJangra:
Hey,

I needed help on a similar topic about how to relock the bootloader and get the widevine L1 certification back..I've tried using MSM tools to flash to stock...to no avail....unlock the bootloader and then relock it still no support for L1. So will flashing flash_all_partitions.bat solve this issue?...

Thanks in advance
[OnePlus 6 Guides, News, & Discussion] sp0979:
Deleted. Appologies
[OnePlus 6 Guides, News, & Discussion] TarunJangra:
Well So i tried flashing the whole thing using fastboot ran flash all partitions , flash presist, and flash critical partitions.. then relocked the boot loader but still onlyu L3 certification..... [MENTION=4712355]mauronofrio[/MENTION] do you have any ideas or experience as of why is this happening? And any possible solutions.

Has anyone else tried relocking the bootloader could check thier DRM Info and Quote this .

Thanks
[OnePlus 6 Guides, News, & Discussion] K4tz:
Hello!

I have installed custom ROMs since 2010 and I still feel like a complete noob. Yesterday I wiped my OP6 and decided to try out Lineage OS, but I was not satisfied by the feel and it did not really remind me of the glory days of Cyanogenmod at all, so I decided to go back to OOS. I found this thread, and the installation process worked flawlessly.

I installed 10.3.3-OnePlus6Oxygen_22_OTA_045_all_2004142201_b8f5-FASTBOOT.zip to my phone, decided to throw in TWRP 3.4.0.1 as well as Magisk 20.4. The installation of these worked well, and I managed to successfully make my financial apps work despite modifying my phone.

After this, I decided to install Elemental X 4.00 since a lot of people commented that this had positive effects on the performance of the OP6.

I have two questions.

1. Everything seems to work fine, but I am still a little worried. This comment, "These ROMs can't be used to update or downgrade your phone but just to restore your phone, so don't use them to come back to oreo or to update from oreo to pie." Does this mean I can not update OOS via the built in update tool? Security update shows a red icon, worries me a little bit. Should I be worried?

2. Also, one problem I stumbled upon, androids emojis are completely gone. Any idea how I can get them to work? All emojis show up as squares with X-es in them, like unknown fonts. Any idea how to fix it?

https://imgur.com/a/0jG28uT Here are screenshots showing the version of OOS, the red icon in the security update I mentioned, as well as a screenshot of Microsoft Swiftkey not able to find any emojis.

Thank you! :fingers-crossed:
[OnePlus 6 Guides, News, & Discussion] sp0979:
1. Once you have flashed rom via fastboot rom, you can update normally. I mean you don't need to flash fastboot rom. What OP meant was the same thing, if your device is working fine, u don't need fastboot rom.

But ofcourse, after flashing your update via twrp or ota don't forget to follow steps to retain your twrp and magisk.

2. Use reserve_v1.zip to get back your emojis.
[OnePlus 6 Guides, News, & Discussion] K4tz:
I found this zip and installed it in TWRP, but it did nothing. :c Emojis still appear as squares...

Edit: I am stupid. I did not realise it was a magisk module, I had those disabled. Enabled it, rebooted and it fixed my problem. Thanks! <3
[OnePlus 6 Guides, News, & Discussion] sp0979:
Glad it solved.
[OnePlus 6 Guides, News, & Discussion] XtremeRacer:
I'm in the exactly same situation and I don't know what to do
[OnePlus 6 Guides, News, & Discussion] amihir:
How can I dirty flash stock rom ?

Currently -

Oneplus 6 A6000 OOS 10.3.4

Back story -

Few day back I had used Hide Magisk Manager option. Reverted back too.

My phone had long overdue of factory reset. I was tired of manually removing Junk.

So I did all the backups. Did factory reset. And reinstalled only Magisk Manager Apk (not the whole zip). Enabled developer options with debugging. Can't remember if I enabled Oem unlocking. (I had already unlocked bootloader before factory reset)

And now I did a reboot. Stuck in boot. It can either boot to Recovery or Fastboot mode.

Went to fastboot mode. Tried booting Magisk patched img

No luck.

I booted TWRP using the Tool AIO

Used Magisk Uninstaller. Rebooted, no luck.

Then Flashed stock boot img, still no luck.

I Did nandroid backup and copied the files to my laptop. But still it would be nice if I can retain the data (I have some imp data in Whatsapp)
[OnePlus 6 Guides, News, & Discussion] xpakage:
Flash the OOS 10.3.4 zip in TWRP. Once booted, flash it again through the update installer.
[OnePlus 6 Guides, News, & Discussion] lazye53:
10.3.5 ? Please fastboot rom ? [MENTION=4712355]mauronofrio[/MENTION]
[OnePlus 6 Guides, News, & Discussion] RASTAVIPER:
Can I use some part of this tool, in order to reboot back to my system?

Currently I am stuck at the fastboot screen, after I have tried to upgrade from rooted 10.3.2 to 10.3.5

The problem started when I forgot to root and reflash the TWRP after the upgrade to 10.3.5

I have been trying to boot to the blue_spark twrp 3.4.0 with the "Fastboot boot Twrp.img" command and nothing was happening.

Till I found out that I was using the wrong command, so I have finally used the "Fastboot flash boot Twrp.img" and entered into TWRP only to find all my folders in encrypted names.

After that part I am stuck and I can't even boot anymore to the system.

Any ideas?
[OnePlus 6 Guides, News, & Discussion] thesumanthapa:
It seems you'll need to format the data. Also use mauronofrio's twrp. I had success with his twrp only.
[OnePlus 6 Guides, News, & Discussion] RASTAVIPER:
Fortunately no reason to go there.

After a dozen tries with adb commands, I snagged managed somehow to boot normally into my system.

Now I need to find a way to root again.
[OnePlus 6 Guides, News, & Discussion] OhioYJ:
Wrong thread....
[OnePlus 6 Guides, News, & Discussion] Jelq:
Hello all and [MENTION=4712355]mauronofrio[/MENTION]. I was having some errors and this post was previously asking some questions, but everything seems to be working now. Saved my device from completely bricked. Cannot thank you enough.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Check sourceforge link in the first post
[OnePlus 6 Guides, News, & Discussion] Aven:
Probably saved my ass right here.

I'm not familiar with slot A / B yet and I probably messed something up.

Huge thanks to you mauronofrio!
[OnePlus 6 Guides, News, & Discussion] gamer-Kenny:
What exactly do you mean with this?

I had LineageOS installed and want to go back, can I just flash the latest ROM or do I need exactly the ROM I had before LineageOS(which I don't remember the version number)?
[OnePlus 6 Guides, News, & Discussion] ultravy:
Flashing critical partitions and persist, fixed my problem with gyroscope and rotation sensor, that always showed 20° to right when device was in steady position! Google maps was going crazy also cardboard as well! Thanks you!
[OnePlus 6 Guides, News, & Discussion] jineshv:
Me too! A million thanks to mauronofrio, who saved the whole phone for me!

Just to help anyone else with a Oneplus 6, Flash-all.bat worked for me! My phone was completely bricked where I could run only fastboot commands. Not even TWRP or ADB. I downloaded the Sourceforge latest version. Thanks again.
[OnePlus 6 Guides, News, & Discussion] Wannajmi03:
Not completely bricked, my OnePlus 6 goes to crashdump mode
[OnePlus 6 Guides, News, & Discussion] Cupcake 1.5:
Same here, think I messed up my slots with custom rom on both.
[OnePlus 6 Guides, News, & Discussion] pjssilva:
I am in the same boat. I read in another thread in the Oneplus 7 forums that the widevine keys are in persist.img, so we may have wipeout our original keys when we flashed persisted.img. I don't know if there is a solution for that. If I find out something new I will let you guys know replying this post.
[OnePlus 6 Guides, News, & Discussion] dpkrathee786:
SAME

im also stucked in l3 , flashed fastboot and used msm download still l3:silly:
[OnePlus 6 Guides, News, & Discussion] mrk2815:
does the flash -all bat command and version instal to both slots on one plus 6.
[OnePlus 6 Guides, News, & Discussion] Dr.A:
Commands Did not work for me, BTW you forgot to add " ./ "

Before fastboot commands.

Can you please make sure that commands are correct?

I had my phone since a week without using it yet!

Update : it worked when I updated file path!

Anyways I got it saying Error :" could not clear input pipe; result e0002ed, ignoring..."

And my terminal is still running the command since 15 minutes!
[OnePlus 6 Guides, News, & Discussion] Dr.A:
Can you please explain how?

Because I waisted one week without using my phone

I don't want twrp anymore :mad:
[OnePlus 6 Guides, News, & Discussion] rav101:
Are you asking for Mac or for Windows 10? I eventually had no success with Windows so installed on OSX?

Download the 5.1.5 zip from OP and extract it somewhere. Copy the Mac fastboot file from wherever your ADB folder is into the extracted folder. Open up the script file (ends in .sh). Open up terminal at the extracted folder. Go to fastboot on your phone (from phone off, hold power button and volume up). Once in fastboot connect phone and type "./fastboot devices" to check you have a good connection. At the bottom of the script file are 3 commands. Enter them one at a time and be patient with them.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
The commands are correct, but you didn't install adb and fastboot but you place the binaries in the same folder so you need to add "./" before all commands. It's the second time i saw that error, the last was resolved by locking and unlocking the bootloader again.

I think you have used the twrp to wipe your data, right?
[OnePlus 6 Guides, News, & Discussion] marmota33:
hello, I have in my mobile the beta of android p and I'm trying to install it like this but I get this error: could not load android-info.txt: No such file or directory

I do not understand how I can fix it
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Have you unpacked all the zip in a folder?
[OnePlus 6 Guides, News, & Discussion] marmota33:
yes, of course
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
You miss to unpack android-info.txt file, it is in the zip
[OnePlus 6 Guides, News, & Discussion] marmota33:
if that file is in the folder, but it still gets that error.
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
On which os?
[OnePlus 6 Guides, News, & Discussion] marmota33:
on windows 10, I have another computer with win7 and I get another error: FAILED (remote: Flashing Unlock is not allowed in lock state)
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
So, to use this rom you need to have an unlocked bootloader. Then if you continue to have problems you can wrote manually the code from powershell or cmd.

SET ANDROID_PRODUCT_OUT=<pathfolder>
fastboot flashing unlock_critical
fastboot -w flashall
[OnePlus 6 Guides, News, & Discussion] marmota33:
how unlocked bootloader?
[OnePlus 6 Guides, News, & Discussion] Eric214:
Confirmed this is working. I just installed twrp and wanted to see if I could take it back to full stock rom. I am on Win 7 Ult 64-bit and I did have to use the Large Address Aware previously mentioned in this post to get the flash-all.bat to work. Also, was a good idea to mention the Header Magic thing or I might have thought it wasn't going to work!

Again great work and very easy!

Edit: also, WiFi is working perfectly as well.
[OnePlus 6 Guides, News, & Discussion] marmota33:
it's already, at last unlocking it has finally worked on the computer with win7, thank you very much
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
Perfectly, i'm happy you solve your problem, if you want to help me to give a better support:

I'm trying to get a OnePlus 6 with the support of the community, my tool is available for a lot of devices and have a lot of functions, but project treble is giving me problems and the only way to improve tool it's testing by me the functions on the OnePlus 6. If you want to participate I created a PayPal Moneybox where you can donate what you want and helping me to help you.

PayPal MoneyBox: https://www.paypal.me/pools/c/84F5qEp0ej

If in your conuntry is not available the pools, just make a normal donation through PayPal: https://www.paypal.me/MauronofrioTool

Thanks for your support.
[OnePlus 6 Guides, News, & Discussion] Dr.A:
I put my fastboot file inside the extracted folder " I named it y folder"

connected my device

and did the following

MacBook-Pro:[COLOR="Red"]y[/COLOR] Abdullah$ export ANDROID_PRODUCT_OUT=$PWD
MacBook-Pro:[COLOR="red"]y[/COLOR] Abdullah$ ./fastboot flashing unlock_critical
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format <partition> format a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message

options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048
-S <size>[K|M|G] automatically sparse files greater than
size. 0 to disable
MacBook-Pro:[COLOR="red"]y[/COLOR] Abdullah$ ./fastboot -w flashall
error: could not load system.img: No such file or directory

y is the name of the folder I extracted the Rom into

I think I'm doing something wrong here !
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
If you want to run the commands manually you need to open the terminal in the folder where you have extracted the zip. And you need to update your adb and fastboot files
[OnePlus 6 Guides, News, & Discussion] Dr.A:
it is already open at folder "Y" the folder I extracted the Rom into

how do I update Adb and fastboot files ?
[OnePlus 6 Guides, News, & Discussion] mauronofrio:
i don't know i think it's better if you use a windows pc to flash the stock rom

This are the latest adb and fastboot binaries: https://developer.android.com/studio/releases/platform-tools
[OnePlus 6 Guides, News, & Discussion] ChrisTheWiz78:
Thank you! I had some kind of partition or file system corruption - dont know why or where. Tried TWRP file system repair which caused me to loose boot image. So I reflashed latest OTA and all is good and well. Thought I'd restore the nandroid backup over the new install but I lost it all. Couldn't get into recovery. MSMtools did now work - stuck at sahara communication error.

This did the trick! I am up and running and my 6 will live to see another day. Thank you very much!
[OnePlus 6 Guides, News, & Discussion] tiuro:
Merry Christmas!

I got new OP8T, and my Old OP6 went to my son. i wanted to make a clean install for him. I used to flash some ROMs in the past (on Samusngs, MI...)

I run wipes in TWRP (format, data, cache, internal), downloaded latest 10.3.7 and got stucked.

I have bootloader unlocked, I tried during the night for several hours many things such as: flash-all, flash-all-partitions.bat, tool-in-one - flashed factory images

OB6-PIE-OnePlus6Oxygen_22_OTA_014

9.0.2-PIE-OnePlus6Oxygen_22_OTA_027

OB4-PIE-OnePlus6Oxygen_22_OTA_010_

Always ends on booting for endless time (it tries normally to boot but finally it stays on Oxygen logo)

All problems are related to /data

fastboot: error: Cannot generate image for userdata

error: Cannot generate image for userdata

I can manage to install TWRP and to install latest 10.3.7 through TWRP but there is always problem with /data / userdata.

I cannot install anything from Google Play, I have no free write space.

It looks like data doesn't want to mount at all.

I cannot install proper drivers in the latest Win10 for MsmDownloadtool (I cannot turn on testing - bcdedit /set testsigning on - because of security / An error has occurred setting the element data) .

Surely I will make a donation for helping ;-)
[OnePlus 6 Guides, News, & Discussion] AshraafAzhar:
I also faced a few problem with data partition like yours in the past, where i cannot install a new apps from Play Store, even with clean install(wipe data,userdata and dalvik).

I solved it by formatting data partition to other filesystem in TWRP, and back to EXT4, simply wiping data or factory reset in TWRP is not enough.

TWRP > Wipe > Advanced Wipe > Select 'Data' > Repair or Change File System > Change File System > F2FS or any fs other than EXT4.

Then do it one more time, but this time select EXT4 (OOS and many other custom rom wont boot with data partition other than EXT4 in my experience)

Doing this also solved a problem for me when I clean installed custom rom but forgot to remove lockscreen security, where it still ask for my pin even in new clean install.
[OnePlus 6 Guides, News, & Discussion] tiuro:
Thank you!! I changed a few times ext4 <-> f2fs. Now I get a little progress. I can successfully boot 10.3.3 using OP all-in-one tool. But there is still same problem. In TWRP after this actions data looks ok, 110GB looks normal, but after booting problem persists (I got a little bit more free space like 100MB) .

I forgot to say that I'm deleting letter '-w' from .bat tool script to get boot.

Maybe I could do something after booting to Oxygen or maybe I should somehow lock bootloader and flash without unlocked bootloader....

EDIT: Solution was shocking ;-) I could boot so factory reset fixed problem ;-) Miracle ;-)
[OnePlus 6 Guides, News, & Discussion] AshraafAzhar:
Glad to hear the problem solved, hope your son enjoy his new phone on this festive season.

Merry Christmas and Happy New Year!:)
[OnePlus 6 Guides, News, & Discussion] Chocapic96:
Hey,

I have been trying to flash different version of Oxygen but every single time I got this error. Any ideas of where it could come from? I have bootloader unlocked, wiped data with TWRP and used the flash-all.bat

sending sparse 'system_b' 6/6 (171500 KB)...

OKAY [ 26.526s]

writing 'system_b' 6/6...

OKAY [ 0.051s]

sending 'vbmeta' (8 KB)...

FAILED (command write failed (Unknown error))

finished.

When I reboot, the One Plus logo stays for few secs before shutting down the screen and getting a white led notification.

EDIT: Used MMS to fix it
[OnePlus 6 Guides, News, & Discussion] ired17:
Hi. Can i use this fastboot flash method to upgrade from 9.0.9 to 10.3.7?
[OnePlus 6 Guides, News, & Discussion] Mr.FREE_Bird:
You don't need to ask the same question in several threads, asking once is enough. Beside that the OP mentions that you can't use this method to downgrade or update your system, it's only meant to be used to restore your system.
[OnePlus 6 Guides, News, & Discussion] ired17:
Oww. Sorry, my bad. Thanks mate. :)
[OnePlus 6 Guides, News, & Discussion] swapa:
Are the stock camera frameworks included? I would love to use the stock camera if possible.
[OnePlus 6 Guides, News, & Discussion] Mr.FREE_Bird:
It's literally the stock ROM that has been made flashable with fastboot. So yes, the stock OOS camera app will work fine.
[OnePlus 6 Guides, News, & Discussion] crazyotto:
Sorry for asking a noob question, but there seem to be a variety of methods for backing up, flashing & etc -- but it is not crystal clear coming into this after a long hiatus (i modded my 1st gen Moto Razor & 1st gen Samsung Galaxy)...if fastboot flashing is not it, what is the "correct" way to upgrade?