[Urgent] Corrupt data warning, extract /sdcard/ - OnePlus 3 Questions & Answers

My friends tried to reboot the phone, and as there was a pattern on startup, they tried and failed. But when i tried to unlock the phone with right pattern, it shows me a screen with "Decryption unsuccessful. The password you entered is correct, but unfortunately your data is corrupt. To resume, you need to factory reset the phone."
Now, the pattern does not work in TWRP as well, it shows decryption unsuccessful on correct pattern. I need to extract the data from sdcard somehow, then i can wipe it. But not able to access sdcard. Is there any way without wiping /sdcard/?
I have a previously made nandroid backup, that's it. But due to TWRP not able to decrypt storage, it fails to restore.

If I were in your shoes, I would reboot in fastboot mode and I would install TWRP v3.0.4-1 again. Once I were in twrp, from file manager I would go to data/system and I would delete the 2 "*.*key" files and the 3 "lock*.*" files. Then, I would reboot system and so on...
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
If I were in your shoes, I would reboot in fastboot mode and I would install TWRP v3.0.4-1 again. Once I were in twrp, from file manager I would go to data/system and I would delete the 2 "*.*key" files and the 3 "lock*.*" files. Then, I would reboot system and so on...
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
Can you please provide an alternate download link for 3.0.4-1?
I tried downloading from official link https://build.nethunter.com/twrp/oneplus/twrp-3.0.4-1-oneplus3.img, but it's always failing.

Crazyhat said:
If I were in your shoes, I would reboot in fastboot mode and I would install TWRP v3.0.4-1 again. Once I were in twrp, from file manager I would go to data/system and I would delete the 2 "*.*key" files and the 3 "lock*.*" files. Then, I would reboot system and so on...
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
Ok, so i was able to download and flash this, problem is that it's still failing on correct pattern, hence i am not able to read any data in twrp as well. :crying:

I tried that link. It works perfectly...
https://build.nethunter.com/twrp/oneplus/twrp-3.0.4-1-oneplus3.img
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
I tried that link. It works perfectly...
https://build.nethunter.com/twrp/oneplus/twrp-3.0.4-1-oneplus3.img
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
yup, worked for me on other network, but i still am not able to get my sdcard data, as it's failing to decrypt on correct pattern as well

rootSU said:
Ok, so i was able to download and flash this, problem is that it's still failing on correct pattern, hence i am not able to read any data in twrp as well. :crying:
Click to expand...
Click to collapse
So that, you need to delete these 5 files from system folder. When you do it, you won't be asked for any pattern
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
So that, you need to delete these 5 files from system folder. When you do it, you won't be asked for any pattern
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
that's the problem, it's not able to read it, hence /data/system is shown empty, so are all other folders.

rootSU said:
yup, worked for me on other network, but i still am not able to get my sdcard data, as it's failing to decrypt on correct pattern as well
Click to expand...
Click to collapse
Reboot to recovery and then, connect your device to the pc. In this way, try to access to the sdcard. If you have success, you can copy your nandroid to the pc. If you can't, you will have to do a full reset and reinstall a new rom.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
Reboot to recovery and then, connect your device to the pc. In this way, try to access to the sdcard. If you have success, you can copy your nandroid to the pc. If you can't, you will have to do a full reset and reinstall a new rom.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
Can't read from sdcard, so a full reset means that i have to lose my sdcard data? Can i install new rom without wiping out /sdcard/?

rootSU said:
Can't read from sdcard, so a full reset means that i have to lose my sdcard data? Can i install new rom without wiping out /sdcard/?
Click to expand...
Click to collapse
Yes, you don't need to do wipe for internal sd card to install a rom. Try it, but if after that you can't read it, you will have to format the internal memory and you will lose its data
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
Yes, you don't need to do wipe for internal sd card to install a rom. Try it, but if after that you can't read it, you will have to format the internal memory and you will lose its data
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
ok, so i tried installing rom, sideloading it, it fails with error 7 on patching system.

rootSU said:
ok, so i tried installing rom, sideloading it, it fails with error 7 on patching system.
Click to expand...
Click to collapse
What's your recovery version? You need to install 3.0.4-1 version. After that, you can install the room by otg connection too
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
What's your recovery version?
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
3.0.4-1, and it shows e1001: e1001 failed to update system image while sideloading.

rootSU said:
3.0.4-1, and it shows e1001: e1001 failed to update system image while sideloading.
Click to expand...
Click to collapse
Have you tried by otg?
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
Have you tried by otg?
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
tried just now, even with otg, it says e1001: failed to update system image while sideloading, and quits with error 7

Crazyhat said:
Have you tried by otg?
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
If you couldn't install it yet, you can still try another way.
Install stock recovery and then, install stock rom by sideload. In this way, I think it won't format internal sd card. Then, you can install TWRP recovery again. If after all you can 't read the internal sd card, you will have to format it. I don't know what else you can do.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Crazyhat said:
If you couldn't install it yet, you can still try another way.
Install stock recovery and then, install stock rom by sideload. In this way, I think it won't format internal sd card. Then, you can install TWRP recovery again. If after all you can 't read the internal sd card, you will have to format it. I don't know what else you can do.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
ok, i'd try and get back to you.

Crazyhat said:
If you couldn't install it yet, you can still try another way.
Install stock recovery and then, install stock rom by sideload. In this way, I think it won't format internal sd card. Then, you can install TWRP recovery again. If after all you can 't read the internal sd card, you will have to format it. I don't know what else you can do.
Enviado desde mi ONEPLUS A3003 mediante Tapatalk
Click to expand...
Click to collapse
even op3 stock recovery is asking for pattern, and the correct pattern doesn't work on it as well.
One thing is that i am able to restore my system data from TWRP from the backup, but the data while restoring shows error on f2fs. Can anything be done with it?

rootSU said:
even op3 stock recovery is asking for pattern, and the correct pattern doesn't work on it as well.
One thing is that i am able to restore my system data from TWRP from the backup, but the data while restoring shows error on f2fs. Can anything be done with it?
Click to expand...
Click to collapse
Yes, go to wipes/advance wipes and then you can choose restore data partition to f2fs
Enviado desde mi ONEPLUS A3003 mediante Tapatalk

Related

[Q] - About encrypted phones

Whats the problems / beneficities of the encrypt function???
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Encrypting your backups? Or your actual device?
Ryan_28 said:
Encrypting your backups? Or your actual device?
Click to expand...
Click to collapse
The device. I use cm9 and theres a function to encrypt entire device
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Peace of mind, and major security. Especially with all the personal data stored o our phones today. People now starting to look to steal your phone to access data such as email, social networking sites in your name, saved passwords, and mobile banking applications as well. It's not necessarily something you NEED, but it certainly wouldn't do any harm in adding some extra security.
Hope this helps!
Ryan_28 said:
Peace of mind, and major security. Especially with all the personal data stored o our phones today. People now starting to look to steal your phone to access data such as email, social networking sites in your name, saved passwords, and mobile banking applications as well. It's not necessarily something you NEED, but it certainly wouldn't do any harm in adding some extra security.
Hope this helps!
Click to expand...
Click to collapse
Yes, help a lot, i already use at my work laptop, will do in my nexus now! TY
Enviado de meu Galaxy Nexus usando o Tapatalk 2
carloscarvalho said:
Yes, help a lot, i already use at my work laptop, will do in my nexus now! TY
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Click to expand...
Click to collapse
Don't forget that there is no way to decrypt the device without wiping. And, you cannot easily use CWM or other recoveries to flash ROMs, etc.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Don't forget that there is no way to decrypt the device without wiping. And, you cannot easily use CWM or other recoveries to flash ROMs, etc.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Hmmmm so, i will have problems to flash the next cm9 nigthly build?
Enviado de meu Galaxy Nexus usando o Tapatalk 2
carloscarvalho said:
Hmmmm so, i will have problems to flash the next cm9 nigthly build?
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Click to expand...
Click to collapse
Once you encrypt your data partition, CWM can no longer read it, so you cannot (easily) flash anything you had on there.
Have a look at this thread for a work-around.
Unless you REALLY need encryption, I would recommend to not use it.
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Once you encrypt your data partition, CWM can no longer read it, so you cannot (easily) flash anything you had on there.
Have a look at this thread for a work-around.
Unless you REALLY need encryption, I would recommend to not use it.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Understood and ty very much for your explanations!
I dont really need this, i dont keep important data into devices nor social pages
Enviado de meu Galaxy Nexus usando o Tapatalk 2
Ok... I know that full device encryption is bad idea... But how about MicroSD card encryption? And if its ok...how about decrypt data on my personal pc?
Mateus said:
Ok... I know that full device encryption is bad idea... But how about MicroSD card encryption? And if its ok...how about decrypt data on my personal pc?
Click to expand...
Click to collapse
this phone does not have a sdcard slot.
efrant said:
Once you encrypt your data partition, CWM can no longer read it, so you cannot (easily) flash anything you had on there.
Have a look at this thread for a work-around.
Unless you REALLY need encryption, I would recommend to not use it.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
That is true,but you can use TWRP recovery, which can handle encrypted partitions without problems. I am using encrypted Nexus for almost year without problems,also flashing custom roms via TWRP.
standa75 said:
That is true,but you can use TWRP recovery, which can handle encrypted partitions without problems. I am using encrypted Nexus for almost year without problems,also flashing custom roms via TWRP.
Click to expand...
Click to collapse
Now, yes. Back in June 2012 when I wrote that post, TWRP could not decrypt partitions.
Sent from my Nexus 4 using Tapatalk 2
Any interest in unencrypting my phone near Novi,MI?
Sent from my Galaxy Nexus using xda premium
rkucinski said:
Any interest in unencrypting my phone near Novi,MI?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
What is the problem? If you forgot your password, I don't think there is any way to get your data back. If you don't need your data, just flash the stock images and you are back to normal.

How to install custom rom...

for installing custom rom u need to copy the zip file into sd card and boot the phone into bootloader by turning the phone off and then press volume down and power key until the bootloader screen appears then select recovery in the bootloader menu by moving to it with volume keys and then press power key a screen will appear with multiple options select the option ''Install from zip'' and select the desired zip and install it after it phone will reboot then reboot it in bootloader mode and flash the desired kernel and reboot it u have successfully installed custom rom..
i hope it helped...
Flashing
You can flash the kernel (boot.img) after installing the rom.zip. But I prefer to do that before flashing the rom. In Clock Work Mod I then ussually wipe Dalvik cache and the cache partition.
Before install the new kernel run a kernel cleaner for possible data lost....
Enviado desde mi GT-I9300 usando Tapatalk 2
_Rube_ said:
Before install the new kernel run a kernel cleaner for possible data lost....
Enviado desde mi GT-I9300 usando Tapatalk 2
Click to expand...
Click to collapse
OK, didn't know that since I've never used a kernel cleaner!
Bolleke1 said:
OK, didn't know that since I've never used a kernel cleaner!
Click to expand...
Click to collapse
Use this for mi is the best: Ultimate_Kernel_Cleaning_Script_v1.0_en_SGS3
Enviado desde mi GT-I9300 usando Tapatalk 2
Thanks
Bolleke1 said:
You can flash the kernel (boot.img) after installing the rom.zip. But I prefer to do that before flashing the rom. In Clock Work Mod I then ussually wipe Dalvik cache and the cache partition.
Click to expand...
Click to collapse
I'm looking all over the internet for a boot.img can you please explain more about how to flash the kernel or show me a topic on this.
I broke my phone and i think this is the way to fix it
I have started another thread for info on flashing a kernel check it out in my profile......
Sent from my HTC Desire C using xda app-developers app

Help "data/media/0"

Hi.
I have an e975 and flashed philz cwm recovery (in the thread says "kit kat ready"), then flashed omnirom (excellent rom) but it installed in data/media/0 instead of data/media, why is that? In philz recovery --> advanced I specified data/media.
Can anyone help me solve that problem? It's annoying to have to move all my data from one place to another and back if I decide to restore to where I was.
Thank you
Enviado desde mi LG-E975 usando Tapatalk 2
I'm having the same problem after flashing epsilon rom (stock) from vanir 4.4
alluebin said:
I'm having the same problem after flashing epsilon rom (stock) from vanir 4.4
Click to expand...
Click to collapse
Android 4.1 has no multiuser function
since 4.2 there is multiuser option
User 1 has as storage sdcard/0, user2 sdcard/10, user3 sdcard/20, .... thats the "problem"
Any way to solve it? I've been reading and it says I have to update my cwm version but I have the latest and still the same problem
Enviado desde mi LG-E975 usando Tapatalk 2
Wndth said:
Hi.
I have an e975 and flashed philz cwm recovery (in the thread says "kit kat ready"), then flashed omnirom (excellent rom) but it installed in data/media/0 instead of data/media, why is that? In philz recovery --> advanced I specified data/media.
Can anyone help me solve that problem? It's annoying to have to move all my data from one place to another and back if I decide to restore to where I was.
Thank you
Enviado desde mi LG-E975 usando Tapatalk 2
Click to expand...
Click to collapse
I think you got the media storage option in philz recovery in wrong way....its not to specify the media path for rom rather its to specify the media path for the recovery to do backup and restore your rom...:good:
hasan4791 said:
I think you got the media storage option in philz recovery in wrong way....its not to specify the media path for rom rather its to specify the media path for the recovery to do backup and restore your rom...:good:
Click to expand...
Click to collapse
Could you explain yourself in a better way? Maybe a screenshot of where to specify the correct path or something, because I can't find the option in philz cwm
Enviado desde mi LG-E975 usando Tapatalk 2
Wndth said:
Could you explain yourself in a better way? Maybe a screenshot of where to specify the correct path or something, because I can't find the option in philz cwm
Click to expand...
Click to collapse
What @hasan4791 is trying to say is that the path you specify in PhilZ recovery (the last option under Advanced) has nothing to do with how ROM is using the storage, and where it puts the data. It's strictly for the recovery itself. The folder structure for user data is different between Android versions, as already explained. It's the way it is, there is nothing to fix...
kt-Froggy said:
What @hasan4791 is trying to say is that the path you specify in PhilZ recovery (the last option under Advanced) has nothing to do with how ROM is using the storage, and where it puts the data. It's strictly for the recovery itself. The folder structure for user data is different between Android versions, as already explained. It's the way it is, there is nothing to fix...
Click to expand...
Click to collapse
It couldn't be more clear. Thanks for the lesson.
Thread closed.
One more thing, if we like to jump from rom to rom, better is to move al our files to data/media/0, so every rom can see them, that's why I opened this thread, because I flashed 4.4 and all of my files were gone
Enviado desde mi LG-E975 usando Tapatalk 2

Wipe cache dalvin

Hi, i have a twrp, stock rom and elementalx as kernel, if i go un the recovery, i cant wipe cache and dalvin, the recovery says that unable to mount, how can i fix?
Thanks for you helping
Inviato dal mio Nexus 5X utilizzando Tapatalk
ideaman924 said:
Dalvik is part of data, which means you will need to mount them. To mount encrypted
EDIT: data partitions,
you need TWRP 3.0.0 or later.
Although if the latest version of TWRP fails to mount, you have a bad partition there and you'll have to wipe it anyway.
나의 Nexus 5X 의 Tapatalk에서 보냄
Click to expand...
Click to collapse
how can i fix it? i have last twrp 3.0.0 , where must i go on recovery ?
I fix the problem, at the start foto the recovery tell me that i insert a password, i doni know the password was the pin of startbooteof the Phone, with that password all work perfectly
Inviato dal mio Nexus 5X utilizzando Tapatalk
ideaman924 said:
Click Mount, then click Decrypt Data, and then enter your passcode that you would use to open your phone.
If this fails, then you have a corrupt partition and your only solution is to wipe the data partition completely.
Click to expand...
Click to collapse
Right, the problem was that
Inviato dal mio Nexus 5X utilizzando Tapatalk

Unable to flash exodus ROM properly..

as trying to flash exodus nightly...after flashing ROM n Gapps....on reboot it asked for the pattern..I gave..but after that it is saying decryption unsuccessful ....n asking to reset the phone ....I rebooted the mobile ..took me to twrp decryption page ..where it says decryption successful..but again saw the screen on rebooting .. decryption unsuccessful..kindly help..I really wana try this ROM..
Thnxx
Sent from my ONEPLUS A3003 using Tapatalk
Sent from my ONEPLUS A3003 using Tapatalk
Do A FULL WIPE...i.e you messed up somewhere in your encryption .
Beware you will lose data.
connect to a pc in twrp and backup your content and then do a full format and then transfer rom and gapps and supersu and flash.
Hope this helps..!!
U mean to say ..wipe the internal storage as well...along with cache dalvik etc..then go for flashing ?? Is it...
Sent from my ONEPLUS A3003 using Tapatalk
Joyo-rocker said:
Do A FULL WIPE...i.e you messed up somewhere in your encryption .
Beware you will lose data.
connect to a pc in twrp and backup your content and then do a full format and then transfer rom and gapps and supersu and flash.
Hope this helps..!!
Click to expand...
Click to collapse
U mean to say ..wipe the internal storage as well...along with cache dalvik etc..then go for flashing ?? Is it...
Sent from my ONEPLUS A3003 using Tapatalk
rahulopg42 said:
U mean to say ..wipe the internal storage as well...along with cache dalvik etc..then go for flashing ?? Is it...
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Yup..!
But I don't want to loose my restore image of stock OOS 3.2.4 so that in case the ROM doesn't help..I can go back to normal...please help..
Also tell me if in case I delete the whole internal storage.. I where I can get the official OOS 3.2.4 stock ROM ..n how to flash it to bring the device in its normal stock..
Sent from my ONEPLUS A3003 using Tapatalk
Joyo-rocker said:
Yup..!
Click to expand...
Click to collapse
But I don't want to loose my restore image of stock OOS 3.2.4 so that in case the ROM doesn't help..I can go back to normal...please help..
Also tell me if in case I delete the whole internal storage.. I where I can get the official OOS 3.2.4 stock ROM ..n how to flash it to bring the device in its normal stock..
Sent from my ONEPLUS A3003 using Tapatalk
Dont worry do as i say...
Boot into recovery twrp...
connect to your pc by usb.
copy all your data and backup folder of twrp...
it is usually TWRP folder
transfer to pc and done.
Now do a clean format in twrp that would do your decryption.
for a clean oos 3.2.4 use freedom os 1.4 find it on xda
flash it gives you a full aroma installer with root and audio mods.
Now make it boot
you now have stock oos rooted.
copy back all your data from your pc to your OP3.
Thanx .for this...but...will this twrp folder help me in restoring via twrp later.
Sent from my ONEPLUS A3003 using Tapatalk
Joyo-rocker said:
Dont worry do as i say...
Boot into recovery twrp...
connect to your pc by usb.
copy all your data and backup folder of twrp...
it is usually TWRP folder
transfer to pc and done.
Now do a clean format in twrp that would do your decryption.
for a clean oos 3.2.4 use freedom os 1.4 find it on xda
flash it gives you a full aroma installer with root and audio mods.
Now make it boot
you now have stock oos rooted.
copy back all your data from your pc to your OP3.
Click to expand...
Click to collapse
Thanx .for this...but...will this twrp folder help me in restoring via twrp later.
Sent from my ONEPLUS A3003 using Tapatalk
rahulopg42 said:
Thanx .for this...but...will this twrp folder help me in restoring via twrp later.
Click to expand...
Click to collapse
Yup.......if you made a backup of your ROM earlier.
You could just put this folder on your phone and twrp would recover it.
Joyo-rocker said:
Yup.......if you made a backup of your ROM earlier.
You could just put this folder on your phone and twrp would recover it.
Click to expand...
Click to collapse
Did as u said...still getting the same problem..kinly help
Sent from my ONEPLUS A3003 using Tapatalk

Categories

Resources