Hello,
I have totally wiped my phone to clean install ROM. However, now TWRP is asking for a password to decrypt data. I gave the password I set but it is showing wrong password. I don't understand, I am sure I am using the right password. Was on Venom 1.7.0 and disabled password on first boot. On the latest 1.27 base as well. Tried fastboot but device doesn't detect on fastboot :/ Not sure what do now, please can someone show me how can I get rid of this issue? Thank you.
Taking from Second Post by Nkk71 of TWRP Thread.
while still in TWRP, use the TWRP File Manager to navigate to /data/system and delete all the locksettings.* files (such as locksettings.db, etc). When you reboot, the password will be gone.
Unfortunately, I cannot access my internal storage. Hence I don't see any files. I don't mind wiping it clean and starting over. Can I downgrade with the help of a RUU?
Sakub said:
Unfortunately, I cannot access my internal storage. Hence I don't see any files. I don't mind wiping it clean and starting over. Can I downgrade with the help of a RUU?
Click to expand...
Click to collapse
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
worked, thanks man.
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
This post just saved me. Somehow I inadvertently encrypted my phone while setting up Oreo. Doing too many things at the same time. Thanks man!
aferende said:
Try this:
1. CANCEL WHEN TWRP ASK FOR PASSWORD
2. GOTO WIPE
3. SLIDE TO WIPE
4. BACK TO MAIN TWRP MENU
5. REBOOT TO RECOVERY AGAIN
Click to expand...
Click to collapse
Thanks man! :good: I also stumbled across some "default Passwort" which I didn't know and even after installing new ROM I still couldn't access my device. Even after having wiped cache and dalvik and all partitions. So this second wipe AFTER installing the ROM did the job!
littlebye said:
Thanks man! :good: I also stumbled across some "default Passwort" which I didn't know and even after installing new ROM I still couldn't access my device. Even after having wiped cache and dalvik and all partitions. So this second wipe AFTER installing the ROM did the job!
Click to expand...
Click to collapse
Be careful because this erases everything on the phone and you have to install everything once again
EDIT:
I don't understand if this can be achieved with stock ROM. In case it is not possible: how to flash another ROM if no root access is possible? I just wanted to have a rooted stock ROM. Please help.
Related
What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Mike2040 said:
What is the expert method to deep clean, wipe every thing my OPO and than flash a ROM?
Hoping to hear from you experts.
Thanks.
Click to expand...
Click to collapse
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
gsmyth said:
You can flash the stock images via fastboot, that will erase everthing and get you back to stock. You can then install a custom recovery and flash roms again.
Click to expand...
Click to collapse
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Mike2040 said:
No need to prior Wipe data, Factory reset, Wipe all storage etc?
Thanks.
Click to expand...
Click to collapse
There is a command to wipe user data, see the below guide.
http://forum.xda-developers.com/showthread.php?t=2839471
Reason!
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted.......at times try other ROMs like Hydrogen, RR, etc.
I was surprised to see and empty Baidu folder size 80 bytes shown by ES File manger, after I flashed back COS 12.
The way I flash is firstly reboot to TWRP, Format > type yes, than Factory reset, than Advanced Wipe ALL except OTG, power off the OPO.
Power on in fastboot mode, connect to pc and flash COS ROM using those commands.
All is good, except the empty Baidu Folder, fail to understand how did it persist.
Other thing is when I later flash TWRP over stock, and than when I perform a factory reset before flashing another ROM, see red SD card errors? ........have to keep rebooting to TWRP.
The way I flash is TWRP > Format type yes > Factory reset > Wipe all except OTG > Mount OTG-USB containing the zip, install zip swipe flash > once done > Reboot. (before reboot don't clear dalvik and cache).
If I take screen capture of TWRP they wont be saved in Gallery.
TWRP 2.7.8.0 when flashed on start up showed this.........
"TWRP has detected an unmodified partition. TWRP can leave your partition unmodified to make it easier for you to take official updates. TWRP will be unable to prevent the stock ROM from replacing from replacing TWRP and will not offer to root your device. installing zips or performing adb operations may still modify the system partition.
Never show this screen during boot again."
To sum up my queries are:
1. How can I perform a deep clean of OPO, and than flash COS 12 using fastboot, so I don't see any Baidu etc empty folders.
2. Than flash TWRP and and if needed can take it's screen captures.
3. Later if required can flash new custom ROM with out issues.
Bottom line to clean my OPOs Storage that includes SD card.
Btw my OPO isn't giving any issues or bugs and working great, no EFS issues etc.........
After reading all care to edit/correct what am I doing incorrect?
Thanks again.
Add
Is this the command to format user data?
Code:
fastboot format cache
Mike2040 said:
Thanks for your expert replies.
The reason for asking was and is for you to know in depth what happened.
My OPOs BL is unlocked and rooted........
Click to expand...
Click to collapse
I have seen people querying the Baidu folder before (i have it myself), it seems to be a folder left by ES file explorer, have you ever installed that? It doesnt seem to be anything malicious, although a lot people were spooked, thinking it was spyware of some sort.
https://forums.oneplus.net/threads/baidu-in-es-file-explorer-manager.303595/page-2
---------- Post added at 03:08 PM ---------- Previous post was at 02:58 PM ----------
Mike2040 said:
Is this the command to format user data?
Code:
fastboot format cache
Click to expand...
Click to collapse
Below is the command for flashing the userdata file via fastboot. If you have downloaded the fastboot image files, I think it basically pushes a blank file to overwrite/format the user data space/parition.
Code:
fastboot flash userdata userdata_64G.img
SuperMan-Rom V1.8.1 Aroma - AP will not boot (integrity verification failed)
On My S7 edge, thought I'd give it another go at trying to root since this rom claims to be almost stock with an option to get rid of all the samsung rubbish (like s-voice) that you don't use ever.
Followed all the steps to root, ON STOCK OS, entered developer mode, allowed OEM, allowed USB debugging, turn off verify installs by USB abd. Now It seems the phone is prepped and ready to go.
Flashed TWRP with latest ODIN 3.11, made a backup of stock OS, back in download mode and flashed required bootloader and modem (BL and CP), boot again into recovery to flash AP (SuperMan-Rom_SM-G93XF_V1.8.1.zip). Went through all the process and it seems fine until 1st boot.
***Every try is showing "Verification Failed, Unable to restart your device. The Integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."***
Have I Done something wrong to be showing this error every time????
I had the same error message. The cause was that my device was encrypted. TWRP can't handle encryption on the S7 yet. Reboot into TWRP and look at the logs. If it says it couldn't mount /data, then this is probably the same issue I had.
To fix it, I restored the backup OS from TWRP, made a backup of all apps and data to external SD using Titanium Backup and wiped the encrypted partition in TWRP (which removes the encryption and all data). There may be better ways, but this one worked for me.
@Davebnly You need to take backup of the Internal Storage data and then do a wipe using TWRP, Since TWRP cannot handle the Samsung's Encryption the only way to bypass this is by formatting again. This is already mentioned in the Official TWRP Installation post here.
I have this same error after flashing a custom ROM. I did not take a backup of the old stock ROM as it's a new phone and I didn't think I needed to!
Can anyone tell me, if I flash the stock ROM will it let me into the device again?
Is there anyway to wipe the encrypted drive without installing stock ROM?
*UPDATE: I just logged into recovery and did a factory reset and it loaded the custom ROM. Not as lengthy a solution as I expected!
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ , Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Shameera_N said:
Do these exact steps, Do not miss.
Click to expand...
Click to collapse
Man, you just saved my life!
Thanks you very much.
Shameera_N said:
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler , Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Click to expand...
Click to collapse
Hi, I'm sorry but what does all that mean? Reboot to recovery??? The only option on my phone is the button to RESET DEVICE and I have two weeks worth of photos and videos that I have not backed up yet! Please help!!! FYI, I have the same exact message telling me to erase all my data because I need to reset my device. Nooo, I am so scared right now.
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
If you have a flashing tool then flash the stock firmware again and then give it a try.
Hit Thanks if it helped
Sent from my titan using XDA-Developers mobile app
pg8286 said:
If you have a flashing tool then flash the stock firmware again and then give it a try.
Hit Thanks if it helped
Click to expand...
Click to collapse
Ive tried that 4 times till now. It has been in a bootloop thrice. And I flashed stock. I currently am using stock firmware but want to flash the custom rom. The recovery is failing to wipe data because it is failing to mount data.
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Try this
1. Reboot to recovery (TWRP)
2. Select wipe.
3. Select advanced wipe.
4. Check system.
5. Repair or change file system.
6. Select change file system.
7. Select format type.
8. Swipe to change.
9. Select repair.
there is one problem with stock rom. its encrypts the data partition right after installing stock rom, therefore twrp can't access data partition. i had similar problem earlier. this is how i managed to fix.
solution: http://forum.xda-developers.com/showpost.php?p=67980158&postcount=7
i suggest you to stick with stock rom, because right now whatever roms or recoveries are made for this phone are blindly ported (just copy paste roms). i have tried about 3-4 roms for this phone, all had major bugs especially battery related. there is only one developer who made a stable rom so far is beingtejas, search his thread. if you really want to use a custom rom, try THIS rom made by gaurav kesarwani with help of beingtejas that is why i am suggesting it you otherwise it didn't worked for me atleast.
Worpe said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Use TWRP 2.8.7. 3.0.0 is a can of bugs...
optimumpro said:
I have a custom rom downloaded. But to flash it, I need to erase everything. That I am unable to do because the recovery dosent wipe data. It led to a bootloop. I got back the stock firmware and tried again and same result. Further more, I cant even factory reset. I'm using TWRP 3.0. Someone please help!
Click to expand...
Click to collapse
Hey You should have to try doing these steps these will helps you-
1.First after wiping cache and dalvik cache FLASH SUPER SU ZIP FILE
2.AFTER THAT FLASH THE ROM AND THEN REBOOT, it will solve the problem.
vickysoni said:
Hey You should have to try doing these steps these will helps you-
1.First after wiping cache and dalvik cache FLASH SUPER SU ZIP FILE
2.AFTER THAT FLASH THE ROM AND THEN REBOOT, it will solve the problem.
Click to expand...
Click to collapse
my internal storage is showing 0 i can download apps from playstore but can't download things from browser can't even take a screen shot
first wipe data and than goto advance wipe options and wipe all but do not wipe microsd
it is success full than install custom rom
can't mount data
I'm using cwm recovery, while factory resetting it can't
mount / data. Please help me.
Thanks
I just got this phone and i have OEM Unlock enabled. I am due to sell my old phone in few days so i am in a bit panic mode right now :\
When i try to flash TWRP along with the instruction that were here (i tried with only applying both or only dm-verity) the phone started to "start" flashing the Samsung logo but nothing happened and after 15-25minutes i tried to install this ROM and it also shows "Starting up please wait" but it also seems to start up indefinately.
Can you tell what is wrong now? It seems i can flash the stock ROM and boot to it but cannot install TWRP/Root nor any custom ROM's :\
Hey bro follow this.
Install stock ROM.
Boot into it once.
And flash TWRP. Disable auto reboot in Odin.
Then boot into TWRP directly from there.
Now swipe to allow modifications.
THEN GO INTO WIPE ADVANCED WIPE AND CLICK FORMAT DATA AND TYPE YES.
After format reboot into recovery once again.
Now again swipe to allow mods.
Now only install Dm-verity.
Reboot.
Now the phone will boot.
Go back into recovery to install your ROM it'll root the phone.
njaya95 said:
Hey bro follow this.
Install stock ROM.
Boot into it once.
And flash TWRP. Disable auto reboot in Odin.
Then boot into TWRP directly from there.
Now swipe to allow modifications.
THEN GO INTO WIPE ADVANCED WIPE AND CLICK FORMAT DATA AND TYPE YES.
After format reboot into recovery once again.
Now again swipe to allow mods.
Now only install Dm-verity.
Reboot.
Now the phone will boot.
Go back into recovery to install your ROM it'll root the phone.
Click to expand...
Click to collapse
Sorry but still no dice (waited for ½hours to boot)
The data wipe did not even succeed. I attached screenshots of data wiping plus no-verity install if there is something anyone could use. I do not really understand how this is so hard... I have never encountered this kind of problem with common phone.
@DARKKi
Did You try to format data or just to wipe? You should click on format data and type "yes"
Dude I clearly mentioned, you have to click format data in advanced wipe. First try to read and understand then proceed. Click format data and then type yes and then you're good to go.
Domino5 said:
@DARKKi
Did You try to format data or just to wipe? You should click on format data and type "yes"
Click to expand...
Click to collapse
njaya95 said:
Dude I clearly mentioned, you have to click format data in advanced wipe. First try to read and understand then proceed. Click format data and then type yes and then you're good to go.
Click to expand...
Click to collapse
Damn. Sorry, i think that when going into advanced wipe there is no format there it's under normal wipe so i only thought that it meant that but yeah my mistake. I should have looked for format data and come to my own conclusions :\
Well first result of format resulted on loop boot and i could not even flash the stock rom with Odin (failed directly) but then i tried to flash TGP ROM via TWRP and it worked! So now i am using the phone as we speak!
Thanks a lot njaya95!
DARKKi said:
Damn. Sorry, i think that when going into advanced wipe there is no format there it's under normal wipe so i only thought that it meant that but yeah my mistake. I should have looked for format data and come to my own conclusions :\
Well first result of format resulted on loop boot and i could not even flash the stock rom with Odin (failed directly) but then i tried to flash TGP ROM via TWRP and it worked! So now i am using the phone as we speak!
Thanks a lot njaya95!
Click to expand...
Click to collapse
Sure no problem, I'm sorry about misleading you about that format data. Have fun with your phone.
Hi there, so i just made a backup of RealmeUI, wiped cache/data/system & flashed Lineage 16. Not only it didn't want to boot system after reboot but now when i get into TWRP, i'm not prompted for my pattern, i land directly on main page and data is all encrypted : Not sure what went wrong here..!! Need to get how to get around this, help me please thanks :good:
seems like \data has to be encrypted if you use a pattern/pin etc. annoying
GoJo ^^ said:
Hi there, so i just made a backup of RealmeUI, wiped cache/data/system & flashed Lineage 16. Not only it didn't want to boot system after reboot but now when i get into TWRP, i'm not prompted for my pattern, i land directly on main page and data is all encrypted : Not sure what went wrong here..!! Need to get how to get around this, help me please thanks :good:
Click to expand...
Click to collapse
Same problem after flash PE, and got softbrick. My solution was format data and reinstall rom...