Hello
How to disable this thing? Data encryption
I tried to data format, I tried to flash the stock IMG thru fastboot and after flash another twrp IMG but the encryption is still present. Whaaaaaat? Help me
I lost my original IMG stock
I don't have any password right now on my phone
I'm on los 16 and orange twrp
ovidiubach said:
Hello
How to disable this thing? Data encryption
I tried to data format, I tried to flash the stock IMG thru fastboot and after flash another twrp IMG but the encryption is still present. Whaaaaaat? Help me
I lost my original IMG stock
I don't have any password right now on my phone
I'm on los 16 and orange twrp
Click to expand...
Click to collapse
I think that flashing stock ROM will force-encrypt your phone. Try a ROM which supports decrypted status. Do it after formatting data.
ovidiubach said:
Hello
How to disable this thing? Data encryption
I tried to data format, I tried to flash the stock IMG thru fastboot and after flash another twrp IMG but the encryption is still present. Whaaaaaat? Help me
I lost my original IMG stock
I don't have any password right now on my phone
I'm on los 16 and orange twrp
Click to expand...
Click to collapse
You need to flash Force Disable Encryption after you formatted the data . Without FDE most of the roms encrypt the data before booting. Hope that helps
Install rom , then without reboot flash fed then wipe cache and dalvik and reboot
Related
So guys this is my scenario....
1)i was using slimrom 7.1.2 before a week
2)then came back to the final MIUI 8 dev rom(7.8.something) (marshmallow)to try out xposed again
3)then today i flashed AOSP oreo
4)on booting it asked for my previous screen lock password...when i entered it, it gave an error stating "ur password is correct but ur data is corrupt so u need to format ur phone to continue"
5)as i had some files on internal i force restarted it to TWRP and tried to flash the same version of slimrom again but it ended with an error "ZIP signature verification"....
6)this same error shows up when trying to flash any custom rom
7)currently i have disabled "zip signature verification" option in ZCX twrp settings
Can anyone tell me what is causing the ZIP SIGNATURE VERIFICATION FAILED error??....
I face this password error from official miui developer to MCaosp oreo rom.
I tried some twrp recovery like zcx and inline and red wolf. but no result.
how can I flash oero roms?
solved: I did Format data (not wipe data) and I pass enter password error.
I had the same problem but with official twrp, try flashing another recovery or,
You can copy your to pc while in TWRP and then format data, format system, install custom rom,
If it didn't work, flash latest stable miui firmware, unlock bootloader, install twrp, install custom rom, It'll work.
Thanks guys....but I can't even flash any nougat or marshmallow based ROMs...always ends up with ZIP SIGNATURE VERIFICATION error...any idea what caused this error....previously I was able to flash without this error...only solution I found so far is to disable the zip signature verification setting in twrp menu
Bootloader Locked
So basically the problem is that the bootloader has been locked or the data has been encrypted by the previous rom so to solve this problem and the signature error what you need to do is go twrp and hit wipe->format data ..then it will ask you to type "yes"....
BY PRESSING THE "YES " IT WILL FORMAT EVERYTHING IN THE STORAGE...I REPEAT DO TAKE A BACKUP OF DATA BEFORE DOING THIS...
after the wiping process is done the encryption is removed so now the internal storage is empty so make sure you have rom in SD card so flash the ROM and the gapps and you are good to go..
Hope this solved your problem..
Thanks vamskiri....will try it
Here read this.
You flashed miui dev (official) so what offcial dev roms do is they encrypt your phone (idk why) but it automatically decrypts while updating through OTA. And as it is encrypted and it automatically decrypts in OTA updates, so to use another custom roms you've to decrypt it by yourself but neither you or I know the decryption password. So the only option you have now is to format data / factory reset. (IT WILL WIPE EVERY LAST FILE EXCLUDING SYSTEM) :good:
There is an excellent explanation of Xiaomi's antirollback features elsewhere on the site. The thread contains a general overview of the steps required to install TWRP to flash a custom ROM. In brief (i) boot into TWRP installed on local machine with adb (ii) use TRWP to install TWRP itself and/or the ROM (iii) flash away....
My experience has been that TWRP run from the local machine cannot decrypt and access the file system to read/write/execute files. This is despite using the correct PIN, no PIN, factory reset. Note that TWRP cannot access /data so cannot selectively format it.
Any suggestions for a n00b???
droid_tsar said:
There is an excellent explanation of Xiaomi's antirollback features elsewhere on the site. The thread contains a general overview of the steps required to install TWRP to flash a custom ROM. In brief (i) boot into TWRP installed on local machine with adb (ii) use TRWP to install TWRP itself and/or the ROM (iii) flash away....
My experience has been that TWRP run from the local machine cannot decrypt and access the file system to read/write/execute files. This is despite using the correct PIN, no PIN, factory reset. Note that TWRP cannot access /data so cannot selectively format it.
Any suggestions for a n00b???
Click to expand...
Click to collapse
You cannot decrypt it because of:
a: you have to flash twrp with working decryption
b: boot to a custom recovery, WIPE DATA ONLY NOT FACTORY RESET (in advance) then flash Disable_Force_Encryption.zip (This will prevent the system to encrypt data from first boot)
Of course, everything you need is on XDA, just find it.
Xiaomi's AntiRollback feature prevents you from rollbacking from e.g MIUI 10 to MIUI 9 due to the vendor and firmware issues.
More details here https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/amp/
Thanks Darklouis - solved the problem by not rebooting to the system before flashing the ROM...just reboot into bootloader mode without allowing the encryption to proceed, move ROM into storage and flash from TWRP. Worked well
Darklouis said:
You cannot decrypt it because of:
a: you have to flash twrp with working decryption
b: boot to a custom recovery, WIPE DATA ONLY NOT FACTORY RESET (in advance) then flash Disable_Force_Encryption.zip (This will prevent the system to encrypt data from first boot)
Of course, everything you need is on XDA, just find it.
Xiaomi's AntiRollback feature prevents you from rollbacking from e.g MIUI 10 to MIUI 9 due to the vendor and firmware issues.
More details here https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/amp/
Click to expand...
Click to collapse
droid_tsar said:
Thanks Darklouis - solved the problem by not rebooting to the system before flashing the ROM...just reboot into bootloader mode without allowing the encryption to proceed, move ROM into storage and flash from TWRP. Worked well
Click to expand...
Click to collapse
Glad to help
Im stuck on poco boot screen and after few seconds it reboots to fastboot.
I did a twrp backup (system, vendor, data and boot) when everything was working but now after i try to restore the twrp backup, it still doesnt fix the problem.
before this, i flashed a new PE build and that had a boot loop for some reason.
wtf?
How does my twrp backup restore doesnt fix it ?
Do i have to miflash a fastboot rom ? is it the only fix for me now ?
You may find your solution here : https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-decryption-t3853004/page42
You can also install latest ROM and restore data only.
fmcheetah said:
You may find your solution here : https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-decryption-t3853004/page42
You can also install latest ROM and restore data only.
Click to expand...
Click to collapse
i dont have a firmware zip in my storage and i cant push it through adb because i didnt have debugging enabled. So i cant cleanflash because i dont have the firmware zip. Looks like i will need to use the mifash method.
flash the original Vendor image!
if you have flashed PE over MIUI10.2.x
, this mean you have used MODIFIED VENDOR IMAGE
poco supports Treble!
you cannot flash PE/ or any other custom rom over modified vendor image
take the latest vendor image from mirror.akhilnarang.me/MIUI/beryllium/
and flash it view twrp
and reboot
you wil lbe fine
i fixed the problem. I put firmware - vendor zip in sd card and flashed it through sd card. All good now. Thanks for trying to help my dumb ass.
i guess there might be some magisk module thats causing the bootloop after i flash a new build of rom . Maybe.
If thats the case. There's a flashable zip file that lets you disable a magisk module via TWRP.. ehehehe.. happened to me too. I flash gl tools via magisk systemless then it got stuck on pocofone f1 loading screen.. so i flashed that magisk module disabler.. hit some commands via TWRP TERMinal emu.. then it boot right away..
KabalLV said:
Im stuck on poco boot screen and after few seconds it reboots to fastboot.
I did a twrp backup (system, vendor, data and boot) when everything was working but now after i try to restore the twrp backup, it still doesnt fix the problem.
before this, i flashed a new PE build and that had a boot loop for some reason.
wtf?
Click to expand...
Click to collapse
Always uninstall Magisk before flashing new update if you are on official twrp cuz it doesn't support ota, update then reinstall it. If you have did so wipe encrypted internal storage , wait a bit it will boot .
aikhhk8 said:
Always uninstall Magisk before flashing new update if you are on official twrp cuz it doesn't support ota, update then reinstall it. If you have did so wipe encrypted internal storage , wait a bit it will boot .
Click to expand...
Click to collapse
Thanks. Didn't know about this.
Tell someone to call you, it was glitchy for me for the first 2-3 mins after the call but later works fine.
Followed the instructions on several websites such as this one here at XDA:
https://www.xda-developers.com/how-to-install-twrp/
All goes well until I get to this line:
fastboot flash recovery recovery.img (latest TWRP image, renamed)
The command prompt window just sits there and says "(waiting for any device)"...
Most websites and forum threads seem to indicate that this is a problem with the drivers. Can anyone confirm?
FWIW, I did a total reflash of the latest stock ROM from this thread:
https://forum.xda-developers.com/ga...icial-stock-fw-update-odin-thread-xx-t3825204
so I currently have only the "stock" recovery.
I'd rather not root it quite yet. Help please?
P.S. The phone shows up in Device Manager and for "adb devices"; the phone's bootloader has been unlocked... can't see what I'm missing... I'm using a Windows 10 computer... I removed any screen locking mechanisms (PIN, fingerprint, etc.)...
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
ACC18 said:
Follow this instructions https://forum.xda-developers.com/galaxy-note-9/development/recovery-twrp-galaxy-note9-exynos-t4097441
Most samsung device use odin to install twrp
Click to expand...
Click to collapse
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"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."
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Dougmeister said:
Thanks. I'm trying it with 3.4.0-0
Do I flash this file while I'm still in TWRP? Or do I reboot the phone and go back *into* TWRP to flash it?
>After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
Edit: I tried flashing no-verity-opt while still in TWRP. Got the dreaded:
"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."
I *really* tried to follow the instructions exactly, and think I did.
Was it because I tried to flash 3.4.0-0...?
I am currently re-flashing the stock firmware again.
Click to expand...
Click to collapse
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
ACC18 said:
You need to format data after install twrp. This is avoiding internal data encrypted.
After twrp installed, do format data from twrp. Of course all of ur data on internal erased. And then take custom rom. I suggest devbase rom, this have "no verity encrypt" when u install this rom. Devbase is stock firmware for easy upgrade for rooted phone. And this is easy to install for beginner
Sorry for bad English
Click to expand...
Click to collapse
No worries. Thank you for your help.
I use Odin to install the Devbase ROM, right? Or can I use TWRP?
Edit: apparently it works just fine to install it with TWRP.
Thank you so much. This time TWRP works just fine for me and the new ROM is great.
when i tried to flash any custom roms in my phone *redmi 10 (selene)* i encountered many problems like (twrp for miui 13 "downgraded to miui 12" - the bootlooping after flashing, failed to mount systemroot/vendor/product "need to format (not wipe) data before flashing) but i finally managed to solve those problems and now i can flash custom roms by formating (not wiping) data and changing /data file format to ext4 and flashing the rom
but now the problem here is that im stuck in custom rom boot screen (tried nausantara 4.4 and 4.5 and project lighthouse sailboat and all of them are official and i was planning to try cherishos but pling.com was down)
so is there any fix for that? (also no i think twrp isn't official as theres no official page for selene, no phone starts bootlooping after formating data after installing rom, tried using ofox but it was useless, and adb sideload doesn't work)
and also i tried to format data bso many times but it only sucseeded once and the phone started bootlooping after reboot
and i can flash stock miui without any problem (fastboot, edl, recovery "twrp i didn't try ofox yet")
thx in advance
also every time i reboot to recovery from fastboot (i have to install recovery img into boot partition from fastboot because i don't have a recovery partition) i see this error in twrp console
e:unable to decrypt fbe device
7m2h said:
Forget you have not the Snapdragon version
Click to expand...
Click to collapse
i don't get it
can you explain please?
thx in advance
Did you flash vbmeta disabled and No verity opt encrypt 6.1 zip like instructions said?
why ext4 format userdata back to f2fs