yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hey everyone,

I know most of you guys flashed android oreo stable build on top of android n and got stuck in bootloop. :(

If you haven't made backup of your data, no need to worry, this guide will help you recover your data before you move on for a clean flash.

Requirements:

1. PC

2. ADB/Fastboot work environment

3. Patience

Steps:

1. Download this Chinese TWRP (click here)

2. Boot your phone to fastboot.

3. Boot your phone through fastboot to recovery using command "fastboot boot Chinese_TWRP_recovery.img"

4. Now download OOS N (4.5.15)

—> Full Zip (Official): http://bit.ly/2iWHloM

—> Full Zip (AFH Mirror): http://bit.ly/2l2IgIo

5. Push your OOS N zip to your device with this command "adb push -p name_of_that_file.zip /sideload". -p will show you the progress. If it doesn't work, try the same command without -p.

6. MOUNT SYSTEM PARTITION!!!

7. Install/flash OOS N zip. After you are done, DO NOT TRY TO BOOT TO OOS!

8. Boot your phone to fastboot.

9. Boot your phone through fastboot to recovery using command "fastboot boot Chinese_TWRP_recovery.img"

10. TWRP asks for your password now. Type it to decrypt the data.

11. Get your data from your device using "adb pull" or "adb backup" command. I haven't found any way to boot to OOS for now, so i don't recommend doing that. Only way I've been able to recover my data, is this method .

12. Format every partition after your files are in safe place.

13. Flash whatever ROM you want.

Have fun!

-jocx:eek:
[OnePlus 5 Guides, News, & Discussion] Deathmist_:
Hello! Which of the checkboxes do i have to press in the Mount section? the 2 that say "System"?

---------- Post added at 02:14 AM ---------- Previous post was at 02:06 AM ----------

Nvm, i figured it out, but the method did not work! :( I did reset "System settings" using Oxygen Recovery. I hope that is not the reason i will not be able to get my data back ;(
[OnePlus 5 Guides, News, & Discussion] punit.pi:
When i run this command "fastboot boot Chinese_TWRP_recovery.img" it tells that it is waiting for the device
[OnePlus 5 Guides, News, & Discussion] Paulenski:
Your drivers for fastboot may not be installed and thus the device in fastboot mode is showing up as unknown in windows/OS.

https://xdaforums.com/showthread.php?t=2588979

Use to link above to install fastboot drivers
[OnePlus 5 Guides, News, & Discussion] tacoriffic926:
It didn't work with the Chinese TWRP but got it to work with blu_spark TWRP thanks again for the post!
[OnePlus 5 Guides, News, & Discussion] trol0lo:
This does not work for me. After installing OOS N and booting into the chinese recovery it does not ask me for my decryption key. It doesnt work with blu_spark either.

This is extremely annoying. Does anyone know if there is any other way to decrypt the data?
[OnePlus 5 Guides, News, & Discussion] NikWarlord:
This is super annoying, why twrp dont ask for decryption pass?

OK, rebooted into system after installing 4.5.15 and got it to work :D
[OnePlus 5 Guides, News, & Discussion] PandaKiller:
[MENTION=7980077]Joocx[/MENTION], you are my hero.

I was able to do it with the Chinese_TWRP_recovery.img with -p on sideload.

However, the first time I tried to flash OOS 4.5.15 it gave me an error and didn't finished.

After, I just went back to Mount menu and I enable Cache, System, Data and Firmware.

I tried again to flash and it worked. Then I just restart to bootloader, "fastboot boot Chinese_TWRP_recovery.img" and voilá.

(now I'm restoring my Nandroid backup to see if I was able to full recover)

Thanks again.

---------- Post added at 05:52 PM ---------- Previous post was at 05:34 PM ----------

I was just able to restore my Nandroid backup with twrp-3.2.1-x_blu_spark_v8.61-op5_op5t (same I did the backup).

However, after boot I saw my lock screen with my wallpaper, but after unlock the phone soft reboots...

I'm trying to check what is the issue.

---------- Post added at 05:58 PM ---------- Previous post was at 05:52 PM ----------

Just wiped cache and dalvik-cache and now it is now rebooting.

Phone fully restored with no data loss.
[OnePlus 5 Guides, News, & Discussion] Joocx:
Ssup bro!

Nice to hear that this helped you!

-jocx
[OnePlus 5 Guides, News, & Discussion] soloviyko:
You, sir, are a champ, I'm now decrypted and backing up for next 4 hours. I thought this would be a simple OTA, so didn't backup, but OnePlus, is full of surprises. They can't figure out the encryption update process.
[OnePlus 5 Guides, News, & Discussion] torwag:
Perfect thanks a lot...

Just to stress this...

NEVER REBOOT AFTER FLASHING

The new flash will trigger the generation of new keys and the old keys will be lost and with them all the "old" encrypted data...

YOU HAVE TO BY ALL MEANS BOOT INTO RECOVERY IF YOU HAVE TWRP INSTALLED OR BOOT INTO BOOTLOADER AND fastboot boot <twrp.img>

Make really sure, you do not mess this points up as there are dragons out there...
[OnePlus 5 Guides, News, & Discussion] Bigred065:
I can't get adb sideload to work, it says "error: device not found". i have the lastest ADB drivers installed. in TWRP, in the "advanced" tab when i try to use sideload it just says "starting ADB sideload feature" indefinitely.

My phone doesn't bootloop though, it just doesn't boot. all i have is a blue led lighting up and that's it.
[OnePlus 5 Guides, News, & Discussion] buzzfuzz1:
Same. This is f!cked
[OnePlus 5 Guides, News, & Discussion] vtec_:
In TWRP, go into 'Mount' and then disable MTP, should work now.
[OnePlus 5 Guides, News, & Discussion] Lvsitano:
Followed steps, but when flashing Nougat zip I get error E1001 Failed to update system image
[OnePlus 5 Guides, News, & Discussion] andiak:
when i try to push the oss via sideload i got an error " error: closed" can somebody please helpe me :/

On the phone are all my pictures from my son from christmas -.-
[OnePlus 5 Guides, News, & Discussion] YDsoundboost:
What do you mean by "install/flash" oos zip ?

where did we push oos? [MENTION=7980077]Joocx[/MENTION]
[OnePlus 5 Guides, News, & Discussion] TDoric:
Thank you very much for the guide, it worked flawlessly. Your guide saved the memories of my nephews first Christmas. (which are now backed up on three different places).

The only thing is that after backing up data to PC, you need to format data and start fresh. But that's kinda nice. Starting a new year with a refreshed phone.
[OnePlus 5 Guides, News, & Discussion] RoccoPapaleo:
How do I mount system partitiom?
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi!

After pushing the zip to /sideload, go to twrp home page and select "install" and press go to device root and there should be folder called "sideload". There is the zip you've pushed.

-jocx
[OnePlus 5 Guides, News, & Discussion] Joocx:
Go to TWRP home page and press mount and check the checkbox next to "system"

-jocx
[OnePlus 5 Guides, News, & Discussion] RoccoPapaleo:
Is Chinese!!!!

I don't understand!!!
[OnePlus 5 Guides, News, & Discussion] YDsoundboost:
Did not work for me :(
[OnePlus 5 Guides, News, & Discussion] RoccoPapaleo:
When i flash the rom!!!

"Failed to mount ' /cache (invalid argument)"

"Failed to mount ' /data (invalid argument)"

"Failed to mount ' /system (invalid argument)"

what can I do?
[OnePlus 5 Guides, News, & Discussion] PandaKiller:
Did you mounted those paths on mount menu?

Could you describe what you did?
[OnePlus 5 Guides, News, & Discussion] oooscasianooo:
I wasn't able to push the .zip file to my device with the command in the OP, but I managed to get it KIND OF working with "adb sideload ...zip", but it does not put the file in my "sideload" folder. It looks like it flashes the .zip on the spot, but still didn't work.

I'm using the chinese recovery. Unmounting MTP and going to Advanced -> ADB Sideload.

I've tried the Large Address Aware fix and the 64-bit ADB.exe, but I'm not able to push the actual .zip file to the device's storage.
[OnePlus 5 Guides, News, & Discussion] signaleleven:
THANK YOU.

I never kept my phone encrypted before and this rekeying shenanigan almost bit me in the butt.

But I am happily exporting my nandroid from this afternoon (which I dutifully made, just did not export because I'm at the inlaws, without my home infrastructure....) and I will attempt to restore it once it's safely out of my phone.

Thank you dear sir.

Some issues I had to workaround:

- the chinese TWRP can be set to english. Just navigate to where the settings would be (lower right I believe) and then the tab with the "world" icon.

- I actually followed this https://xdaforums.com/showpost.php?p=74955919&postcount=157 but with the chinese recovery suggested here. That means that I did a adb sideload instead of a push -p.

- I mounted all partitions available before sideloading
[OnePlus 5 Guides, News, & Discussion] oooscasianooo:
Sadly, I tried exactly what you did, but it still didn't work for me... I tried downloading the .zip again, but still doesn't work. It sideloads successfully too, no errors or anything, but it never asks me for my swipe PIN. It always asks me to swipe right for that "read only/unmodified" message... Is that normal?
[OnePlus 5 Guides, News, & Discussion] signaleleven:
No, from what I know - which is not much. Are you booting the chinese TWRP? Try booting an older version. Maybe your encryption is messed up in a different way :)
[OnePlus 5 Guides, News, & Discussion] oooscasianooo:
Yup, I tried flashing the Chinese recovery all the way through. Also tried the stock TWRP 3.2 all the way through. Then I tried to flash the blu_spark TWRP all the way through haha

I thought, maybe I lost my root, so I also tried sideloading SuperSU, but that didn't do anything either.

So weird, now my touch screen won't work... No matter what recovery I flash, even down to stock recovery, my touch screen just doesn't work haha

UPDATE: Flashed Stock Recovery and Sideloaded Stock OTA. Booted the phone like normal and got to the setup screen and my touch screen worked. Went back to fastboot and flashed the chinese recovery and touch screen was still working hahaha

Don't know what the hell happened, but all my data is gone now........ I'm back to completely stock... I guess if you try and run stock OTA it will wipe all your data... FML
[OnePlus 5 Guides, News, & Discussion] canabals:
I get the same error :(

---------- Post added at 07:23 PM ---------- Previous post was at 07:06 PM ----------

Turns out I had downloaded 2 versions of ADB (well one I had before) and both were old. Updated to a new one, and all is well now with adb (now need to follow the rest of the instructions)
[OnePlus 5 Guides, News, & Discussion] Joocx:
Did you get your files back?

-jocx
[OnePlus 5 Guides, News, & Discussion] rezapatel:
I was prepared to be bitten on this upgrade, so nothing lost thankfully because of the backups, just the downtime to set it all up again. Although I've been wondering and haven't found an answer yet, for future Oreo upgrades flashing via TWRP (full OOS zips), should the data be lost each time or was it only because of the Upgrade from N to O? Why I ask is because all upgrade flashing while on N never resulted in this scenario.

Also, being on a magisk rooted (and unrooted via magisk before upgrade), encrypted and bootloader unlocked (no way to lock it without formatting data partition?) - is there a best case to not really lose all the data and yet be able to flash O?

Thanks!
[OnePlus 5 Guides, News, & Discussion] canabals:
Yep, everything else went as described in the original post.

---------- Post added at 10:44 AM ---------- Previous post was at 10:42 AM ----------

The only customization done to mine (not even magisk) was unlocked bootloader. After this, I have re-locked it (as I had to wipe anyway) to avoid this in the future. Pain in the butt to lose that rooting capability, but dont really need the headache on future upgrades. If I want to change roms in the future, I will need a wipe anyway, so can just unlock it again later.
[OnePlus 5 Guides, News, & Discussion] mohitraj.raj:
Thanks man. Saved my ass on new year's eve. I updated from Open Beta 2 to Open Beta 3. Since Magisk 4.5 was working on Open Beta 2, thought it'll work on 3 as well, but ended up in a bootloop. Got out, rebooted to TWRP, no Password. Encrypted Data Partition.

Followed your steps, but flashed Open Beta 2 instead of OOS 4.5.

Worked as a breeze. Backing up data as I type this.
[OnePlus 5 Guides, News, & Discussion] Joocx:
Great to hear that man!

Happy new year too!

-jocx
[OnePlus 5 Guides, News, & Discussion] moffa~:
Thanks, like the poster above, you saved my data with the Open Beta 3 update. I thought I was doomed and all my data was lost. Thanks so much.
[OnePlus 5 Guides, News, & Discussion] Joocx:
Nice to hear!

-jocx
[OnePlus 5 Guides, News, & Discussion] gabr179:
hi, i tried to restore my data following your guide step by step but I failed: chinese TWRP didn't ask me any password (which is it? Google account password?) and I can't backup any file via adb (which is the right adb command?).

On my OP5 I have many folders with strange names full of unknown files and can't open them also via Windows and can't copy anywhere. Please help me.
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi!

Sounds ljke you haven't followed the guide...if you see the encrypted files like you said, as random named folders, you have to then sideload the N OOS, install it and then flash that Chinese TWRP which WILL ask for password. And the password is the same as your lockscreen password.

Hopefully this helps!

-jocx
[OnePlus 5 Guides, News, & Discussion] specialdune:
Hi, I have followed the guide but it does not help me. Maybe I am screwed already, because what I did first was:

Wipe cache through default recovery, thought this may help but it did not. So I guess I have cleared my encryption keys?

TRWP is not asking for password and using the shell with twrp decrypt always fails, typing in the code I used before succesfully, also tried some default combinations (1235, 0000, root, admin, default_password) but nothing worked. Any chance to rescue the encrypted data when I know which decryption password i used? I have saved the encrypted files to my pc at least for now ...
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi...

Didn't fully understand what you meant but wiping cache wont affect the encryption. For what i know and what I've been talking with OnePlus, they don't have any decrypting tool to use.

I recommend you to flash the OOS N and then flash the Chinese TWRP. After that your TWRP will ask for password if you have followed the guide completely.

-jocx
[OnePlus 5 Guides, News, & Discussion] an0therus3r:
Hi Jocx

Although this guide was initially written for N -> O i managed to get my data back after a screw up when flashing (O -> O) Open Beta 3 Hot fix over previous Open Beta 3 for Oneplus 5.

I followed your guide using a random valid TWRP ( I used blu_spark in this case but clockwork should work also) and having a copy of the full rom previously installed.

And then just follow your steps and your good to go (atleast I am) ?

Your a lifesaver, thanks ;)
[OnePlus 5 Guides, News, & Discussion] Joocx:
Nice to hear!

Spread the word out!

-jocx
[OnePlus 5 Guides, News, & Discussion] xXJOKRXx:
Can I use (4.5.14) instead of (4.5.15) ?
[OnePlus 5 Guides, News, & Discussion] Joocx:
Yes.

-jocx
[OnePlus 5 Guides, News, & Discussion] Hilmesh:
Hi, although this procedure is no use for me as i had already screwed up in the 1st few hours of release of the update. but i would like your advise on whether it is possible to recover the data? If yes then which software. I am ready to pay. I have already rooted with Magisk and everything is working fine but none of the recovery software recognize root. how do i go about it.? any help in recovering at least some of my lost data would very much appreciated.

Thanks in advance
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi,

Asked from my friend who is a data recovery specialist and he said:

"Unless he didn't wiped partition - can be recovered

It's mostly hit & miss

I recovered few photos

But if he formatted his device...

Then can't be recovered by public tools unless he opt for aftermarket backup services"

So there's hope, but not cheap hope.

-jocx
[OnePlus 5 Guides, News, & Discussion] Hilmesh:
Hi Thanks for the reply. can he give any idea on which software can help here? i can shell out some money for sure.
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi,

Only thing I'm gonna say now is this tool:

GetData Forensic Explorer

Forensic Explorer is a tool for the analysis of electronic evidence. Primary users of this software are law enforcement, corporate investigations agencies and law firms. Forensic Explorer has the features you expect from the very latest in forensic software. Inclusive with Mount Image Pro, Forensic Explorer will quickly become an important part of your forensic software toolkit. www.forensicexplorer.com

-jocx
[OnePlus 5 Guides, News, & Discussion] Hooya:
I have tried your method and followed it to the letter as best as I can tell. Upon final fastboot boot to chinese image (or any other twrp.img file I have) it does not ask for encryption code still.

It might be how I'm following step 8 in your guide. I have rebooted into fastboot by way of TWRP button reboot to bootloader, and also power down and boot phone with volume down to enter fastboot. Still no dice.

Any suggestions?
[OnePlus 5 Guides, News, & Discussion] Joocx:
It won't ask the password before you flash the oos. Read the instructions again.

-jocx
[OnePlus 5 Guides, News, & Discussion] daobrabeza:
Hey guys, I also flashed Oreo straight from Nougat and got stuck in bootloop. However, I made a complete nandroid backup a few minutes before. I've been trying to restore it, but since the device is encrypted, I haven't been able to do it over the phone. Anyone knows how I can flash it? I also copied it to my computer, so, if possible, I could also do it via ADB (problem is I don't really know how to use it). Thanks for all the help.

Edit: If I format data (wipe everything), would that give me access to the all the phone folders, therefore making it possible for me to copy the nandroid backup from the PC to the phone and restoring it?
[OnePlus 5 Guides, News, & Discussion] Joocx:
Hi,

Your suggestion would work!

-jocx
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
After pushing the ota how do i install the ota ?
[OnePlus 5 Guides, News, & Discussion] Sufiyandon1811:
Sorry to bother again. . but when I'm trying to use sideload im getting an error at 47% xfer 1.000

Please help i really need to save my data
[OnePlus 5 Guides, News, & Discussion] Joocx:
Still in need of help?

-jocx
[OnePlus 5 Guides, News, & Discussion] ryannmahajan:
Is N required?

Can the process be done with the Oreo 5.0.4 ROM only? Or does it need to be a nougat ROM? I didn't have any screen lock, so is it possible that I could just enter "default_password" or something? But I suppose the problem lies in how to bring up the prompt to enter that password.
[OnePlus 5 Guides, News, & Discussion] hagamablabla:
When the instructions say "mount system partition", does it mean to only mount system, or to mount system + the 3 that are already enabled (cache, data, and firmware)?
[OnePlus 5 Guides, News, & Discussion] weiquata:
yes, I did this way.

Cache, Data, Firmware ticked by default + System
[OnePlus 5 Guides, News, & Discussion] :
I don't have any security methods applied and did everything as instructed, didn't work or show any files! Any workaround??
[OnePlus 5 Guides, News, & Discussion] y.pango:
Thank you so much for this post and thread!!

I've reverted back to the older OOS and now able to copy/backup my data whilst in recovery mode. I'm hoping that after I finish backing up, I'll try to boot up to the older OOS to disable encryption before trying to update to 5.1.2 again.

FYI - instead of the chinese twrp, I used the following:

https://eu.dl.twrp.me/cheeseburger/twrp-3.2.1-1-cheeseburger.img.html

Which I found in this thread discussing the same issue:

https://xdaforums.com/oneplus-5/help/twrp-decrypting-data-t3724300/page9
[Android Q&A, Help & Troubleshooting] kat.hayes:
My daughter got this tablet and it’s terrible. Is there a way to wipe it and just install android on it so it can be used just as a tablet? It is running some modified version of Android.

https://t.toysrus.com/product?productId=105737246

Thanks.
[Android Q&A, Help & Troubleshooting] Mo'men Hesham:
[IMG="non"]https://imgur.com/a/C3iWs[/IMG]As you can see guys ! non system storage !!

I have Unlocked my device and installed a custom rom " ViperOs" , then i have formatted my sd card as a internal storage , after 1 day i have installed another rom "miui pro" , and i found that ! non system storage ! why did i got this message ? i can't move apps to sd , and my PC didn't read my internal storage when i connect my device to it !!

Any help Guys ?

Xiaomi redmi note 3 Snap 2gb ram
[Android Q&A, Help & Troubleshooting] Jhonny5Alive:
My friend was given an old phone as a gift for the holidays, a ZTE Z917VL, however it is protected by FPR.

I've been browsing around online and haven't been able to find anything that says it can be done/ might work/ works.

Any help with this would be much appreciated.
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Hi try this , if it doesn't work try like is shown in the video :)

http://www.hardreset.info/devices/zte/zte-zmax-champ-z971vl/faq/bypass-frp/

Video

https://www.youtube.com/watch?v=3vXdwgz36Wo

Good Luck
[Android Q&A, Help & Troubleshooting] Jhonny5Alive:
Unfortunately those web links are for a 971 and I'm looking for a 917 so neither of them work :(

Attached are two pictures, one of the first screen upon power up and one of the keyboard on the FPR screen
[Android Q&A, Help & Troubleshooting] Jhonny5Alive:
Having found the phone again we're wondering if anyone has any ideas to help with this?
[Android Q&A, Help & Troubleshooting] Ylie89:
Z799vl

I have spent hours now trying to bypass the Google verification any help would be much appreciated

I can't get to the SwiftKey menu assist doesn't work I can't even get it into narrator mode
[Android Q&A, Help & Troubleshooting] Teddy Lo:
Try with Tallkback trick :) ...

https://www.youtube.com/watch?v=gGPw062GeNU
[Android Q&A, Help & Troubleshooting] fretso:
Talk back doesn't work/start , one can get to google on this device, but no keyboard is available and it stalls when trying to download programs such as es file manager , test dpc, or quick short cut maker. ADb side load doesn't work either still playing with it though , cannot find a rom to play with . just an FYI
[Android Q&A, Help & Troubleshooting] Juanito990:
Ayuda con el bypass zte z917vl tracfone

Alguien que me ayude a quitar cuenta google de este equipo zte z917vl zte zmax champ de tracfone gracias.:llorando:
[Android Q&A, Help & Troubleshooting] RussianIce:
Same here, please help.
[Android Q&A, Help & Troubleshooting] Hillly77:
I was half way through it. I went through wifi. Turn it off when software update screen comes up. I made to gmail and the phone died. I am still working on it. Good luck. Isn't it fun though!!
[Android Q&A, Help & Troubleshooting] Hillly77:
Also if you can't figure it out or it goes back to the login screen make sure to factory reset it or you wont get to the email part. Good luck.
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
Instructions on how to bypass FRP on ZTE devices here:

How to Bypass Google Account Verification FRP 2023 | UnlockUnit

A complete and free guide to help you bypass Google account verification on your phone after a factory reset! Available for all phone models!

www.unlockunit.com
[Huawei Nova/Nova Plus Questions & Answers] Noctyk:
Hi, I recently tried to downgrade back to stock firmware from Lineage OS using the Dload method.

However now its on a bootloop, the versions of CAN-01 and CAN-11 all give me a bootloop, after waiting on it a while it will boot into recovery mode.

Usually this is a simple problem to fix however it reset my bootloader to locked as well as my twrp recovery, I'm not sure how I can recover from this other than sending to repairs.

Any suggested solutions!

It could just be I have the wrong update.zip but I want some more views on this.