yashsingh1/xdaforums huggingface dataset:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
The thing is that I have some pictures and files I know there are there and I want to save them because my last backup was about 2 months ago... :crying:

My prior state was Android 10.3 OOS Stock, nothing modified. No custom kernel no nothing. Just OOS with bootloader unlocked. Just did "fastboot boot twrp.img" and this happened...

I dont know if dirty flashing a rom will solve the issue or wiping data and cache will leave my internal storage intact... I dont care about the rom or apps, just want to backup some files of my internal storage :(

Thank you!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] RMarques:
I'd download the ROM again as well as dirty flash it again, also, the best way to thank anyone in this forum is hitting that thumbs up button!

Good luck!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
And which method should I use to dirty flash it? Using default recovery? Using fastboot or adb? I cant flash it using twrp as is everything encrypted...

Thank you!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] diemadedrei:
Flashing is not related to encryption. System is not encrypted. Just flash with TWRP
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
So what is encrypted in my phone? I cant flash using TWRP as it ask me for password when I boot it using fastboot boot twrp.img....

Thank you!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] diemadedrei:
There should be a cancel button if I remember correctly.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Yes, there is a cancel button, but when you got to install zip, the characters of the folders are encrypted so you don't know what are you selecting... :(
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] diemadedrei:
Yes, you will need to connect the phone to a computer and sideload the zip you want to flash into an unencrypted part of the memory and then flash it.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Should I use the OTA OOS 10.3 file?

https://androidfilehost.com/?fid=4349826312261679648 OOS 10.3.0 OTA File.

Thank you!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
As he states above, a dirty flash will not wipe your photos and could work. Also, the link I sent has a different command that can flash TWRP. Use the TWRP I link as it is the only img TWRP. I will help you if you are willing to do what I ask. If you only do part, it will not work.

---------- Post added at 01:20 AM ---------- Previous post was at 01:19 AM ----------

Yes.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I am grateful for your help. I am willing to follow your instructions, of course :)

Which TWRP link do you mean?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Start with step one. Download that TWRP img (in this threads op). Use the command given, which is different than what you have been using. Use your vol up to boot to recovery. Now we can look around a bit with file manager.

We may need to take this to PM to keep this thread uncluttered. Let me know when you have rebooted into TWRP so we can move on with other things.

https://xdaforums.com/showpost.php?p=81135935&postcount=10
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Followed OP guide, downloading twrp-3.3.1-16-enchilada-Q-mauronofrio.img

1. Install fastboot tools from google's sdk on your PC (DONE)

2. Enter fastboot mode (DONE)

3. Unlock your bootloader (ALREADY HAD)

4. Run "fastboot boot recoveryimgfilename.img" in command line (DONE)

5. Copy the recoveryimgfilename.img in the phone memory

6. Go in advanced menu

7. Click on "Install Recovery Ramdisk"

8. Choose the recoveryimgfilename.img

9. Swipe to install

Cant go beyond point 5 as I have everything encripted. How should I proceed? Do I have to adb sideload that img file to phone memory?

Thank you!!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
The post I am sending you to in that link is post #10. I am not sure where you got what you just did from. Here is all I asked you to do.

1. Fastboot TWRP img - " fastboot flash boot twrp-3.3.1-16-enchilada-Q-mauronofrio.img " - ( https://androidfilehost.com/?fid=4349826312261678088 )

2. Use volume up to recovery and power button to boot to recovery.

Then stop so we could check out some things. You may be flashing corrupt zips or files. I do not know what you are doing.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I got that from the OP. I already flash boot twrp.img. Now at recovery, everything encrypted.

Will check what you ask me for

Thanks!!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Can you put anything on you phone and see it from TWRP? Can you see any part of you phone in TWRP that is not encrypted? If so, put the stock bootloader for 10.3.0 and the TWRP zip from this thread there, and keep following the list of instructions.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
When I boot in recently flashed recovery it inmediately asks for password. I cant see anything, everything is encrypted. Is there any way to put the stock bootloader and TWRP zip with the system encrypted?

Thank you
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Try flashing TWRP img with this command just once - fastboot flash boot twrp-3.3.1-16-enchilada-Q-mauronofrio.img

use vol up to go to recovery, power to select.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
In fastboot mode used fastboot flash boot twrp.img and used volume keys to go to recovery. Recovery boots and ask for password.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
And when you use the password, you just see garbled junk on your phone with the TWRP file manager? Some of the things I would try if it was my phone may or may not lose the photos you want.

Have you tried this tool? https://xdaforums.com/oneplus-6/development/tool-tool-one-driversunlocktwrpfactory-t3791316
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I just see garbled junk with the twrp file manager. Ive never used that tool. Should I?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
This may help. https://xdaforums.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665

Use the "flash-system-boot-vendor.bat" : this .bat is the same of older flash-all.bat and so it will flash only vendor, system and boot

Doesn't flash data or internal storage, which is where your photos should be.

---------- Post added at 03:20 AM ---------- Previous post was at 03:10 AM ----------

Never used it either but it looks simple. Looks like you can fill your phone folders with updated files, or have it download for you.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I will try. Start by downloading stock rom, will take a bit with my preshitoric adsl speed.

Keep you posted. I really apreciate your help. Thanks!!!
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Downloaded 10.3 OOS Fastboot ROM. Should I now execute system-boot-vendor.bat?

It has the following:

[MENTION=8011874]Echo off[/MENTION]

title Mauronofrio flashall :P

for %%f in (""CurrentDIR.bat"") DO [MENTION=352992]set[/MENTION] currDir_=%%~df%%~pf

echo.

echo Current Directory = %currDir_%

SET ANDROID_PRODUCT_OUT=%currDir_%

fastboot -w flashall

pause
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Yes. Once you extract the zip, you may have to extract "images.zip" and "others_flashall.zip" to the same folder so the bat file can find all files it needs.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Did that. Lost everything.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Really? That is only supposed to replace three things and leave data and internal storage alone!

Does it boot?

Maybe you lost system but did not lose your photos. Try to fastboot a TWRP and see if you can see anything. See if you can place a zip of 10.3 on the phone and flash through TWRP. Don't just quit.......
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I just booted twrp.img from fastboot. What should I see?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Can the phone boot on its own? What can you see with the TWRP file manager?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
The phone boots like it was brand new. On the TWRP file manager there are some folders, I think the default folders the system has. There are no files inside that folders.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
Damn. It sounds like that bat script did wipe your phone, even though it wasn't suppose to by the OP.

I just Googled recover photos from a formatted phone and multiple hits came up for Android recovery. Not what you want to hear, but I would not give up yet.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
I just used system-boot-vendor.bat... nothing else.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
I believe you. I just read that thread and that bat command states those three things are all it is suppose to flash. I am not sure what happened to your phone to start with. It would be nice to know what made it encrypt like it did, even if it was a one in a million fluke, if only to prevent it from happening in the future.

I know those photos were important. Try Googling photo recovery on an android phone and see if one of those will work. I wouldn't give up yet.........
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
How Can I recovery the files if they were wiped?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
They are not truly wiped. An x or an o has been moved.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Maybe [MENTION=4712355]mauronofrio[/MENTION] has any hints on how to solve this
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] ilivss:
I'm trying to get this installed again on my Oneplus 6 but I get stuck after the "fastboot boot twrp.img" command.

But then I just get a oneplus logo and "Fastboot Mode" and wont continue to boot into twrp.

Im using Ubuntu 19 and have the latest OOS installed. Maybe the Android Q update changed the partitions or something?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
Use the Q .img in the first post
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
[MENTION=3090042]xpakage[/MENTION] [MENTION=4712355]mauronofrio[/MENTION] could you please give me any advice on how to recover the files wiped by the fastboot bat flasher?

Thanks
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
If the file was deleted i don't think you can recover them
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
As I posted here I just used your bat script "system-boot-vendor". In theory it shouldnt wipe data...
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
No it wipes data and it is also written in the thread
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
TWRP 3.3.1-17 OnePlus 6 (enchilada) by mauronofrio:

- Fixed error 255 during backup caused by /data/per_boot folder.

TWRP 3.3.1-17 Pie Unofficial by mauronofrio

TWRP 3.3.1-17 Q Unofficial by mauronofrio

TWRP 3.3.1-17 Installer Unofficial by mauronofrio
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
So it is impossible to recover the files? [MENTION=8376597]Xpackage[/MENTION] do you have any tip how to recover them?

Thanks.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
My tip is for the future to backup your files to your computer or keep them in the cloud first hand before:

- performing any step via a software that you do NOT know what exactly it does, generally if you know what a software exactly does you

mostly don't need those scripts because then you can do it yourself that is much better for the learning curve anyways.

- performing any steps manually/yourself about which you don't know the exact outcome or that contains the risk of errors that

. can brick the device or forcing to format the data partition.

you can do that via USB or via cloud services and appropriate apps like solid explorer copy pasting from device to D'box, D'drive O'drive or

whichever cloud service you are using.

in the aftermath it depends whether data partiton was wiped or formated. in the later case there is no way taht is worth the effort and/or costs in

time and many to try, in the first case there is software and there are services that claim to be able to recover your wiped/deleted data.

I myself have tried to do such recoveries several times over the last 30 years on computers and later phones and have never been fully satisfied.

For text chances are good to get a copy pastable slightly scrambled result for re-covering content, for images it's already much more difficult and for software it almost never works.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] marco.it:
Which software is that? I believe the data was just wiped.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
i really like to help but don't have all tings ready in my head by heart, mind to use google search to search for data recovery on android ?

search: "data recovery" "android" and go from there, very good ways usually are not for free.

thing is that i have packups on my computers and backups of those all over the places, on and off-site at all times, hence did not need

any such software in years, also due to what i already said, i rarely got back what i really needed except text recoveries.

BTW if you would name the kind of data you are seeking to recover it would be much easier to make a clear and bolder statement,

it really depends on the kind of data and how much of it has been overrwriten in the mean time. The fact that you ask hear, spending more

time to post the question than would have been necessary to type in a few words in search engines is indicative of your problem.

please don't feel offende by my last sentence, it's a well meant hint about what kind of behaviour brings people into that kind of "bedrouille"

https://www.google.com/search?q=rec....69i57j0l7.14439j0j7&sourceid=chrome&ie=UTF-8
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] xpakage:
The software I used cost about as much as the phone. I used it with my business when I traveled to and worked in combat zones.

There has to be a cheaper way to recover the photos you want. Try some of the Googled methods given by [MENTION=5372360]magnamentis[/MENTION]
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] wannaskoo:
Hello everyone. Quick question, just want to avoid messing everything up. The latest AOSiP Pie update kinda screwed up my phone, but i was able to roll back and recover my (encrypted) data partition. Now, since my partition is encrypted, if i get into the TWRP and backup /data, clean flash everything and restore the partition i should be good to go, right? If not, what can i do? Sorry for the kinda noob question, but i don't want to mess with encryption, i'm really scared of losing my data.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
i generally and strongly recommend to switch security to none before flashing stuff, upgrading and or changing roms.

some will perhaps call out to tell how smart they are because it worked for them while encrypted and yes, it can work but some time it simply does not and it's way better to have things at home decrypted for an hour or two before re-encrypting by re-adding the protection than to lose data surprisingly. same applies for themes BTW and of course best practice is to copy internal storage to a computer or external memory before starting new and/or unknown processes. this way one at least has all the data safe externally should something break.

again, i do NOT say it's mandatory to to as suggested i just say it's recommended to avoid nasty suprises to the highest possible extent.

good luck
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] wannaskoo:
Thank you, i'll maybe try next weekend.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Trudi:
My bad. (/me idiot). To be deleted. Forgot to format data as a newbie.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ufos92:
So, err, why are the instructions suggesting to flash twrp into the ramdisk? Won't this remove the "last stand" Qualcomm recovery and enable us to, potentially, achieve a hard-brick at some point?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mascian:
Sorry... I made clean flash and I installed 10.30 rom with Mauronofrio tool (OP6 with OOS); then I updated rom version to 10.31 from system.

So I flashed the twrp 3.3.1-17 (img and zip).

But now the system don't start... What did I do wrong? Does upgrading version 10.31 require a new version of twrp?

Thx
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Ufos92:
Try changing active partition from fastboot. At least you will boot into something
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
i hope it worked because that's not so sure depending on the part we were not told ;) ;)

let's hope for the best as always, we all know how this often ends "qualcomm's" ;)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
TWRP 3.3.1-18 OnePlus 6 (enchilada) by mauronofrio:

- Fixed a problem of cpu usage, thanks to [MENTION=4898097]arter97[/MENTION] for bugreport and tips.

TWRP 3.3.1-18 Pie Unofficial by mauronofrio

TWRP 3.3.1-18 Q Unofficial by mauronofrio

TWRP 3.3.1-18 Installer Unofficial by mauronofrio
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
Doubleposted
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] SlimFatso:
I have a backup made with version 16 that I have to restore from. Can I do something in order to make it work or am I screwed?

Link for recovery.log because I exceed some limit and can't upload it here

Second edit:

Managed to fix it myself. The log file was showing some problem with the file data.ext4.win000. I couldn't find a fix for it so here's what I did:

1. Transferred my files from TWRP to my PC

2. Used Fastboot ROM to make a clean install

3. Installed TWRP to the freshly installed ROM

4. Created a new backup from TWRP - There were two data files - data.ext4.win000 and data.ext4.win001. My original backup had files from win000 to win004

5. Copied files data.ext4.win001, data.ext4.win002, data.ext4.win003 and data.ext4.win004 (and their respective .sha2 files) into the new backup folder

6. Started TWRP restore

7. Voila!

I lost Magisk functionality but that's nothing compared to losing my apps' data. Will look into automatic backups of apps to a cloud service after these ~4 very stressful hours.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
Titanium backup does that very well for me, best schedule a backup and make it perform an automatic cloud backup right after, quasi as part of it, each scheduled backup.

Due to some battery saving features and despite i switch them all off including doze, some apps would not kick in on schedules. There it helps to tell tasker to open the app 1-2 minutes before the scheduled backup starts, that either makes the display flash to do it manually and/or allows TiBu to start the scheduled backup as expected.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] adrok76:
What's the correct procedure to update from 3.3.1-17 to 3.3.1-18?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] :
Option 1

1. Reboot to Recovery

2. Flash 3.3.1-18

3. Reboot to Recovery (to verify)

Option 2

1. From System: Flash 3.3.18-18 via Kernel Manager

2. Reboot to Recovery (to verify)

Option 3

1. Reboot to Bootloader

2. From Computer: fastboot boot 3.3.1-18.img

3. Reboot to Recovery

4. Flash 3.3.1-18.zip

5. Reboot to Recovery (to verify)
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] zkoz:
Option 4

In twrp Advanced->Install recovery ramdisk-> select twrp.img to flash twrp.

:cool:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] adrok76:
Tried this yesterday and it wouldn't boot into system, it kept looping back into recovery. Had to restore my backup
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Mississip:
Couldn't Root Oneplus Oxygen 10.3.2

Should twrp-3.3.1-18-enchilada-Q-mauronofrio work to root the OnePlus 6 with Oxygen 10.3.2? I had root on 10.3.1 and took the OTA thinking I could use 'TWRP and Root for OnePlus 6 on Oxygen OS 10 Stable/Beta' procedure A. It unrooted the phone, and reboot to recovery took me to fastboot. I would appreciate any suggestion as to how to restore root. Thanks!

EDIT: added slight detail
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] goRt:
Root is provided by magisk and should be flashed from TWRP once you installed TWRP and rebooted back into TWRP.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Mississip:
Thank you so much! I read your reply minutes ago and am now rooted! I was following a HighOnAndroid video, and when what I saw varied from the video, I thought the process ended unsuccessfully there. Many thanks for setting me straight.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] PKFR4Life:
Is there any particular reason why the steps it takes to boot to this custom recovery doesn't work with the official recovery?

1. fastboot boot twrp-3.3.1-18-enchilada-Q-mauronofrio.img

2. Cycle to Reboot to Recovery

3. Press the power button to select that option

4. Wait for the recovery to actually boot

-> This is where it always hangs with any other TWRP (official or not)

its cool that this one works but what is going on?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] :
This type of issue generally occurs when using a TWRP from a different developer.

If you intend on using a TWRP by another developer, it's a good idea to delete the TWRP folder on your sdcard which holds the configuration from the previous TWRP.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] PKFR4Life:
Interesting. I might test that out tonight.

In case it's helpful, I noticed something interesting last night trying to get the phone to boot OOS period with this custom TWRP. What I was doing was booting to this custom TWRP (since this is the only one that seemed to allow a successful boot) and then using TWRP to sideload the latest OOS out there. Once that was done, I would, within TWRP, reboot to bootloader in order to flash this recovery again and the OS would not boot again. So what I tried next was, flashing and booting this custom recovery once more, install the OOS zip instead of sideloading, followed by rebooting to system from within TWRP and it booted fine.

In other words, sideloading is bad here? I'm gonna keep trying to see what this custom recovery allows to see as many differences as possible compared to the official TWRP. I'll be trying the TWRP folder removal as well.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] olil3:
f2fs decryption on /data

Is there anyway to add f2fs decryption support to this recovery?
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] mauronofrio:
It's already included
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] olil3:
Well, I tried to decrypt a fbe f2fs partition and it gave me a bunch of folders with garbled up names ..
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Meepaco:
Is it Possible to twrp backup to PC directly, if so, how would one go about doing so.
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] magnamentis:
https://www.google.com/search?q=nan....69i57j0l2.10667j1j3&sourceid=chrome&ie=UTF-8

:angel:
[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] Meepaco:
What is meant is "is there a guide that is not from 2017.” I forgot that part.i know how to google mate