encryption password on boot - ZTE Axon 7 Questions & Answers

on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..

unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
Go to TWRP - Wipe - Format data - write 'yes'

...and maybe update TWRP.

Choose an username... said:
Go to TWRP - Wipe - Format data - write 'yes'
Click to expand...
Click to collapse
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password

Spillunke said:
...and maybe update TWRP.
Click to expand...
Click to collapse
updating TWRP to latest build and I still have the same issue

If you Install another ROM, after wiping everything, is this problem still there?

Delete locksettings.db?

unknown3rror said:
I flashed it again, formatting data before flashing everything, still came up with the dialog to inter password. I rebooted into twrp and formatted data again, reboot, still asks for password
Click to expand...
Click to collapse
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...

Choose an username... said:
Are you sure you are ACTUALLY USING the 'Format data' button? Wiping won't do anything to the encryption (i'm asking just to be sure).
Otherwise try doing this:
-Format data, wipe system, dalvik, cache
-Flash Universal Bstck
-Flash your modem
-Flash the ROM
-Flash either noverity-opt-encrypt-axon7 (I think the name was that one; just make sure it is for the axon7 or ailsa_ii), or SuperSU/Magisk which should have that packaged in.
This really shouldn't happen...
Click to expand...
Click to collapse
yes, I am actually using format data button and typing yes. I will try using the noverity later this evening and give you a followup

If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.

coremania said:
If I remember this right you have to use both in twrp,
factory reset and format data, I read this here on XDA or Reddit before I unlocked my bootloader.
Click to expand...
Click to collapse
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything

unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.

unknown3rror said:
this is what I did.
1. Boot to TWRP
2. wipe/factory reset
3. advanced wipe everything but sd card and usb
4. format data, type yes
5. install ROM and Gapps
6. boot.
everything loads okay except I get it asking for password
I have not tried another ROM yet or the noverity-opt-encrypt-axon7 I will have to do those later tonight.
One more thing I was going to try is remove the lockscreen pin/fingerprint on the stock before doing anything
Click to expand...
Click to collapse
Another thing you could try is booting to the bootloader and trying "fastboot format userdata"

unknown3rror said:
on my A2017U After unlocking the bootloader and having twrp 3.0.4 installed I went to install resurrection remix and gapps and upon boot it asks for a password that I had never set up. before installing the ROM i formatted the data and wiped everything. What do I need to do? I reloaded a stock rom and in the settings it says the phone is encrypted. I've tried searching for answers to this but I haven't been able to find anything..
Click to expand...
Click to collapse
You just need to wipe data cache dalvic after flashing the ROM

You have the factory reset step in the wrong place. Do it after the rom and gapps installation...
Essentially the phone is still encrypted though factory reset . You need to get rid of the encryption AFTER you flash the new ROM...

Change the data file system to ext4.

coremania said:
Do this after you flashed rom and gapps, only factory reset and format data, no need to wipe other stuff.
Edit: I did this directly after the unlock, I flashed the latest official twrp through the unlock twrp version, rebooted to twrp, advanced wiped caches and data, not system, flashed bootloader and modem from the Los thread for my axon version, flashed dark rom with gapps, rebooted and run into the same issue as you. Back to twrp, factory reset, format data, then reboot and everything was good ....., Or Format data and then factory reset, try both if necessary.
Click to expand...
Click to collapse
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!

Cablespider said:
Change the data file system to ext4.
Click to expand...
Click to collapse
This seemed to do the trick for me.
To change the file system type in TWRP 3.2.3.0:
Go to 'wipe', then 'advanced wipe' and select 'Data', press 'Repair or Change File System' and then 'Change File System' to EXT4. It will say "format" which often means "delete" but didn't remove the ROM I had flashed moments before.
I also did this below first- but without doing a re-flash of the bootloader and modem:
unknown3rror said:
This did the trick.
Flashed bootloader, modem, rom, gapps. factory reset and format data. boot to password, reboot to twrp, factory reset, format data, reboot to working rom no password. Thank you and to everyone else for your help!
Click to expand...
Click to collapse

Idk if this will help with your use case, but for other users, it can be good to know.
but for the stock ROM: Settings -> Security -> Screen Lock -> Enter your pin -> It should ask you if you want to shut off the password on boot up

Related

Cannot wipe with TWRP

Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Polemos82 said:
Hi,
I have G935F, installed TWRP 3.0.0.0 and rooted, WITHOUT wiping. System boots correctly, but I cannot do factory reset or wipe with TWRP, because I got some messages like "Cannot mount Data" and "Failed crypto loader". I understand that it has to do with encryption. Can someone please enlight me, and give me tips about the issue?
Thank you
Click to expand...
Click to collapse
You have to download dm-verity and force encryption disabler from here , put it to SD card, reboot into TWRP, FORMAT DATA (not wipe) and flash that file (dm-verity and force encryption disabler). All your data will be erased.
No way to unencrypt without loosing you data for the moment(
"All your data will be erased" means that after boot I'll find a clean system installation (as factory reset)?
I hope not to be posing stupid questions, I'm completely new to this world
Thank you very much
Yes just as a factory reset
Sent from my SM-G935W8 using Tapatalk
Ok, thank you all!!! ???
s it very important to wipe data?
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
AGU PENG said:
Can I first flash the twrp ,second back up the rom by TWRP recovery
and then after factory reset ,I restore thw rom by twrp??
IS IT possible?
Click to expand...
Click to collapse
No, you cannot perform a backup, because your data is encrypted by default and the only way to disable it is to format your data.
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
vooks said:
I have a unique problem. I have a HTC Desire 612 from Verizon and I decided to revive it to playe PoGo. But it was stuck in a boot loop and I couldn't get any custom ROM.
Finally a gentle soul here gave me the stock rom and I flashed it vide TWRP and played PoGo for weeks. Then yesterday the phone bro led and when it came up it was stuck in a boot loop.
So I decided to flash the stock ROM again. But before that I tried to factory reset. I could go to TWRP, select wipe data, enter yes and the wiping was successful, then clear dalvic and cache and system beforehand finally I flashed the stock ROM.
Surprise surprise is NOTHING happens. The phone boots without the apps telling me they are installing. Then I get back the exact same data in my phone including my selected wallpaper and apps. Before I can do anything the phone restarts.
Point is wiping and restoring the stock ROM does NOTHING to the phone yet the processes are successful. Can somebody help?
Click to expand...
Click to collapse
HTC?? Wrong thread.
B3311 said:
HTC?? Wrong thread.
Click to expand...
Click to collapse
It really is about TWRP failing to wipe

Random names TWRP

Hi, I'm from Nougat 4.5.14 and these are the steps I made:
1. Flash codeworx then reboot to twrp
2. Wipe cache and dalvik
3. Install OS 5.0.2
4. Install magisk
5. Wipe cache dalvik
6. Reboot to system
However after rebooting to system it started bootlooping so I decided to reflash OS and wipe data as recommended. So I power off the phone then hold volume down + power to boot to recovery. However when I boot to recovery, file folders started to become random names like its encrypted. Luckily I backed up my internal storage and data so I'm okay to flash everything but can someone help me how to fix the twrp random file names and the steps for reflashing the OS?
EDIT: I rebooted to recovery, wiped dalvik, cache, and data. flashed OS 5.0.2, wipe dalvik cache, flashed magisk, wipe dalvik, reboot to system and it does not proceed to circling dots. So what I did is just, wipe dalvik, cache, data, flashed OS, wipe again dalvik cache, boot to system and it proceeds to circling dots however it takes so long that I can consider this as bootloop. I'm very tempted to wipe everything (data, system, internal storage, cache, dalvik) then just flash again the OS but I don't know if it would work so I hope someone could give me some steps how to fix this
Edit 2: This is solved now: What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
panooos said:
You have to format data... Not just wipe it. From TWRP go to format data, write yes, and let it format everything. Then transfer over to the phone all the fil a you need (ROM, kernel, no verity zip) and flash them as per the instructions of your rom thread. You should be fine.
Click to expand...
Click to collapse
What I did is just after trying the flash OS with no magisk, I booted to system. However, i just dont boot at all so I decided to boot to recovery again, but this time the recovery is the stock one. I wipe everything I could including cache, system reset, and data (music pics etc) and it booted to the system in no time but everythings lost.
Edit: nvm you've solved it
Peshyy said:
Edit: nvm you've solved it
Click to expand...
Click to collapse
You can still show other solutions as others may need it sometime

Encryption Password not working

Hey, so I can't decrypt my device anymore. Not in Android itself, and not in the recovery. I've tried sideloading no_verity.zip and formatting the system via fastboot, so far nothing helped. When I try to flash the stock rom via sideload, it says it's not readable. I don't know if thats because I didn't decrypt the device before flashing or because the zip is faulty, but I've tried 3 diffrent roms, including one that has worked before.
Is there anything I can do to get my phone working again?
Device: Onepluss 5 6GB
Rom: Omnirom
Install latest codeworkx twrp or blue spark twrp, skip password menu, format data (not wipe), reboot recovery, now wipe everything, then flash what you want
more_than_hater said:
Install latest codeworkx twrp or blue spark twrp, skip password menu, format data (not wipe), reboot recovery, now wipe everything, then flash what you want
Click to expand...
Click to collapse
Thank you! That worked. I figuered formatting data and wiping data would work quite the same, but thanks for proofing me wrong ^^

From AOSP to miui

Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
FroZine said:
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
Click to expand...
Click to collapse
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
zerodynamyx said:
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
Click to expand...
Click to collapse
Thanks for the reply but I don't have a pw/pin.
FroZine said:
Thanks for the reply but I don't have a pw/pin.
Click to expand...
Click to collapse
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
zerodynamyx said:
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
Click to expand...
Click to collapse
I do the same
Mhm. I will try again this evening. Let's see.
I'm facing the same issue...
Coming from LOS, I flashed latest EU rom, wiped data and internal storage.
Now I'm looping at the setup screen "Just a sec..."
I removed the pin/pwd in TWRP but it didn't help
Did you format data?
IEATMILKA said:
Did you format data?
Click to expand...
Click to collapse
Yes, and internal storage
guilhem_h said:
Yes, and internal storage
Click to expand...
Click to collapse
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
IEATMILKA said:
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
Click to expand...
Click to collapse
Oh sorry I misunderstood, no I just wiped /data.
As soon as I copied the rom on my phone again I'll try that if I'm facing the same issue :good:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
It worked !! :good::good::good:
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
FroZine said:
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
Click to expand...
Click to collapse
I don't know precisely why, but yeah, it's not the same thing. In fact, I had problems too, but formatting data after total wipe resolved them
formatting data "Yes" is another thing that is important when you flash custom ROM or go back to stock ROM.
After flash the miui, go back wipe -> Factory Data -> Type (yes) -> restart
it will be works
Same here
I flashed fastboot rom to get device work again

Cannot fix encrypted data problem

Hey everybody.
I have a problem on the phone and i have been trying to fix it for about 2 days.But no luck.
I had been using MIUI for about 1 year, then i wanted to flash a custom rom.The recovery is orangefox R11.1.On the recovery i wipe cache, dalvik, data and system and i try to flash Pixel experience 9.Also i tried to flash lineageos 16.But the same problem occurs.Just after the flash i clean dalvik and cache.And just for the first boot it says the data is encrypting.I can not escape from it.When i restart it asks for a pin and as you know there is no pin i added, so i can not put it.Then to decrypt the data i have to wipe data again.Then if i flash theese roms the same problem again.
Also i, just after the flashing, before rebooting the phone, tried to delete some lock files on /data/system folder.But unless i reboot there is not a system folder in data.And if i try to reboot it encrypts the folder again.
Is there any fix for that?I am expecting your ideas or helps.Thank you.
Does the rom boot?
Try formatting (not wiping) the data partition. Obviously you'll lose all the data but I think it's the only way. When you change rom on rn7 you have to format data.
darhma said:
Does the rom boot?
Try formatting (not wiping) the data partition. Obviously you'll lose all the data but I think it's the only way. When you change rom on rn7 you have to format data.
Click to expand...
Click to collapse
Thank you very much.I fixed the problem and wanted to share it here to help the others who face the same problem.
-First of all i upgraded the latest version of orange fox.
-I formatted data partition completely.Then i wiped Data, Dalvik, Cache, System.
-I flashed Pixel Experience 9 rom.But an important thing is before i flash the rom i enter options > OTA & ROM settings.And ticked "Disable Forced Encryption".
-Then i flashed the rom and on the line it says "disabling forced encryption".And it worked.Now i use the rom without any problem.

Categories

Resources