[Guide] Xiaomi Redmi 4 Prime (markw): How To Disable Encryption On Your Phone - Xiaomi Redmi 4 Prime Guides, News, & Discussion

Dear Xiaomi Redmi 4 Prime ¦ Pro user,
I'm not responsible if anything happens to your phone. If you execute this procedure properly then you shouldn't face any problems. I tried this procedure at one of my Redmi 4 Prime ¦ Pro running on Lineage OS. I have not tried this procedure with a phone running on original MIUI or any other rom but it is very likely that it will work with all roms. If anyone tries this procedure with any other rom please give us your feedback.
Before you proceed please backup all your important data and make sure that your phone battery is charged >80%! During decryption all your data will be lost!
1. Your bootloader must be unlocked and a custom recovery (twrp) installed
For more information on how to unlock the bootloader and install a custom recovery (twrp) please read here:
https://forum.xda-developers.com/android/development/guide-one-unlocking-bootloader-twrp-t3587493
2. Disable the encryption
a. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
b. On the main screen of the twrp, click "Mount" and check all partitions
c. Go back to the main screen of the twrp and click "Wipe"
d. Then click "Format Data"
e. Type in "Yes" and enter
Reboot your phone. That’s it, you are done.
If my guide helped you pls click "thanks" and enjoy your phone. :fingers-crossed:

is there a difference in phone speed with unencrypted storage? thx for the guide

ttheodorou said:
is there a difference in phone speed with unencrypted storage? thx for the guide
Click to expand...
Click to collapse
I believe unencrypted runs faster compare to encrypted phone, i tested it myself using encrypted phone there are noticable stutter when switching apps via recent app switcher key. Click this link for a video of encrypted vs unencrypted.

Thanks buddy, that would help me for flashing los beta rom.

Problem with disable encryption
When I check all partitions on mount and wipe --> format data, I loss all my data, so I can't flash any custom rom from my internal storage.

dominiksundas said:
When I check all partitions on mount and wipe --> format data, I loss all my data, so I can't flash any custom rom from my internal storage.
Click to expand...
Click to collapse
Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
Once in recovery mode, connect to PC and transfer the desired rom to your smartphone. From there on you can flash the rom by following the instructions in point F., 5.-7. of the following guide:
https://forum.xda-developers.com/redmi-4-prime/how-to/guide-one-unlocking-bootloader-twrp-t3587493

Thanks you help me

Modest Mind said:
Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
Once in recovery mode, connect to PC and transfer the desired rom to your smartphone. From there on you can flash the rom by following the instructions in point F., 5.-7. of the following guide:
https://forum.xda-developers.com/redmi-4-prime/how-to/guide-one-unlocking-bootloader-twrp-t3587493
Click to expand...
Click to collapse
He said can't flash rom from internal storage, but do we keep flashing from other source like sdcard or OTG? Thanks!

leonardo4848 said:
He said can't flash rom from internal storage, but do we keep flashing from other source like sdcard or OTG? Thanks!
Click to expand...
Click to collapse
Micro SD Card, yes for sure (I tried it myself). OTG I guess yes (i did not try it myself, but I don't see a reason why it shouldn't).

Internal storage, memory card and otg. All possible and I've tried. You can even full wipe even internal storage in twrp then copy the rom in internal and flash it in twrp.
Sent from my Redmi 4 using Tapatalk

Modest Mind said:
Dear Xiaomi Redmi 4 Prime ¦ Pro user,
I'm not responsible if anything happens to your phone. If you execute this procedure properly then you shouldn't face any problems. I tried this procedure at one of my Redmi 4 Prime ¦ Pro running on Lineage OS. I have not tried this procedure with a phone running on original MIUI or any other rom but it is very likely that it will work with all roms. If anyone tries this procedure with any other rom please give us your feedback.
Before you proceed please backup all your important data and make sure that your phone battery is charged >80%.
1. Your bootloader must be unlocked and a custom recovery (twrp) installed
For more information on how to unlock the bootloader and install a custom recovery (twrp) please read here:
https://forum.xda-developers.com/android/development/guide-one-unlocking-bootloader-twrp-t3587493
2. Disable the encryption
a. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
b. On the main screen of the twrp, click "Mount" and check all partitions
c. Go back to the main screen of the twrp and click "Wipe"
d. Then click "Format Data"
e. Type in "Yes" and enter
Reboot your phone. That’s it, you are done.
If my guide helped you pls click "thanks" and enjoy your phone. :fingers-crossed:
Click to expand...
Click to collapse
I think you should make an emphasis to BACKUP DATA, because to remove encryption is simply rewrite your file (delete all then make a new non-encrypted one). So it's DEFINITELY DELETE ALL YOUR DATA.
Cheers :highfive:

After I wipe all data, should I flash rom again or reboot to system directly.?

Related

Help With Myns

Hi,
I just flashed myns warm 2.2 on my evo 4. Now I want to install hulu and a few other addons. The developer says to install them like you install roms, so should I just use ROM Manager? If so do I have to backup and wipe my phone first?
Thanks for the help,
LiamLC
LiamLC said:
Hi,
I just flashed myns warm 2.2 on my evo 4. Now I want to install hulu and a few other addons. The developer says to install them like you install roms, so should I just use ROM Manager? If so do I have to backup and wipe my phone first?
Thanks for the help,
LiamLC
Click to expand...
Click to collapse
pretty sure he meant you need to flash them from recovery and not use rom manager, as it doesnt actually install anything.
t3project said:
pretty sure he meant you need to flash them from recovery and not use rom manager, as it doesnt actually install anything.
Click to expand...
Click to collapse
Ok thanks for clearing that up. Sorry for the newbie question, but how do you do that?
**edit
actually i just found i guide about how to do it on phandroid, my question is this:
Here is what the guides says:
RECOVERY
PUT ROM ON SDCARD
Before you begin, connect your device using the Mirco USB cable and place the Custom ROM you downloaded onto the Root of your SDCard. This means put the Zip file in the main folder itself. Not in any Sub-Folders of any sort.
STEP 1: TURN OFF DEVICE
Power down the device by holding the Power Button for 2 seconds. Allow it to shutdown completely. Wait about 10 seconds before next step.
STEP 2: BOOTLOADER
Hold down VOL DOWN + POWER until device boots into a White Screen.
Move to RECOVERY by using the VOL DOWN toggle and select by using POWER button.
STEP 3: BACKUP
Make sure to do a NAND backup of your bevice prior to Flashing a ROM. Refer to Section 3.
STEP 4: WIPE
Use the VOL DOWN toggle to move to Wipe and select by pressing the POWER button.
Toggle down to Wipe date factory reset and select by pressing the POWER button.
Once that has complete, toggle down to Wipe Dalvik-cache and select by pressing the POWER button.
Once that has complete, select Return.
STEP 5: FLASH ZIP
Use the VOL DOWN toggle to move to Flash zip from sd card.
Find the ZIP file Custom ROM you want to flash by using the VOL DOWN toggle. Select it using the POWER button.
Your ROM will now be installed onto your device.
STEP 6: BACK TO RECOVERY
After the installation has completed, you will be brought back main menu, use the POWER button to select the first option “reboot system now”. And your device will reboot itself like normal.
Enjoy your new ROM!
Click to expand...
Click to collapse
My question is do I have to do step 4?
LiamLC said:
Ok thanks for clearing that up. Sorry for the newbie question, but how do you do that?
**edit
actually i just found i guide about how to do it on phandroid, my question is this:
Here is what the guides says:
My question is do I have to do step 4?
Click to expand...
Click to collapse
yes if you are going to a different rom
t3project said:
yes if you are going to a different rom
Click to expand...
Click to collapse
no im not going to a different rom, im keeping myns, i just want to install hulu and the transparent bar thing.

[Completed] Samsung Galaxy Tab 7.7 (P6800) Help, stuck in recovery mode, cannot enter download md

Hello.
I have recently attempted to update my P6800's firmware from stock Android 4.0.4 to a custom 4.4 version (one of Daniel_hk's firmwares.)
I have wiped data cache and user data, and the firmware, when I attempted to install it, gave me an "E: signature verification error" error. Attempts to reboot or to install a stock 4.0.4 or 3.2 firmwares from the microSD card failed with similar errors.
I was told I can flash the device via Odin, reducing it to 3.2 and then upping the versions properly, but I cannot switch the device on into download mode, because it is stuck in usual recovery mode.
Please help.
waleeds1 said:
There will be an option reboot to bootloader from there you can go to download i guess
Click to expand...
Click to collapse
The options I get are
Reboot the device
Install stuff from SD card/navigate on SD card
Wipe data/factory reset
Wipe cache
Apply update from cache.
Which of them is the option you describe? Do I need to put the bootloader on the SD?
Altasaire said:
The options I get are
Reboot the device
Install stuff from SD card/navigate on SD card
Wipe data/factory reset
Wipe cache
Apply update from cache.
Which of them is the option you describe? Do I need to put the bootloader on the SD?
Click to expand...
Click to collapse
Greetings and welcome to assist. You are in stock recovery there so the option to reboot to bootloader is missing. You should be able to power down the tablet then boot into download mode with the power button and volume key
Good Luck
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. You are in stock recovery there so the option to reboot to bootloader is missing. You should be able to power down the tablet then boot into download mode with the power button and volume key
Good Luck
Sawdoctor
Click to expand...
Click to collapse
Do I need for it to fully lose charge? It just switches on to recovery if I let it run until the battery is dry, then charge it again. Powering it down treats the power button as enter button, so I cannot actually switch it off (unless I am doing something wrong.)
Thanks for the welcome, I appreciate your help.
Altasaire said:
Do I need for it to fully lose charge? It just switches on to recovery if I let it run until the battery is dry, then charge it again. Powering it down treats the power button as enter button, so I cannot actually switch it off (unless I am doing something wrong.)
Thanks for the welcome, I appreciate your help.
Click to expand...
Click to collapse
There are only the power button and volume button on your device, no physical home button like a phone ? If press and hold volume down and power the phone should reboot showing the samsung logo. Let this happen twice then let go it should go into download mode

to fix all nougat update problems

hi all
for solve all problems after update to nougat ..
just go to recovery by long press on (power and vol+ and vol-)
togather .. it will boot to revovery .
erease chache
then wipe data
(you have to make back up to your data)
then reboot
it will now start as new device
you will not find any problem .
(I TEST THIS WAY IN MY DEVICE)
it sccess ?
Yes, you just described factory reset. And to enter recovery indeed you need to press power and vol+ and vol- all simultaneously, but after you see the logo you should put your finger off the power button.
911-Future_Maker said:
Yes, you just described factory reset. And to enter recovery indeed you need to press power and vol+ and vol- all simultaneously, but after you see the logo you should put your finger off the power button.
Click to expand...
Click to collapse
LOL i have to say its tuff to get in to recovery if we dont follow your RULE
nandakis4 said:
LOL i have to say its tuff to get in to recovery if we dont follow your RULE
Click to expand...
Click to collapse
What do you mean? The phone won't reboot to recovery if you keep pressing the power button after the logo.
Way easier solution:
- After the update go to Google Play Store
- Check for updates
- Update all apps (this will include Chrome and maybe Google services)
- Reboot
Afterwards no issues at all.

Device can't start after flashing custom recovery

Like the title says, I recently flashed CWM recovery with odin to my tab 2, after reboot, it stuck on the first thing it displays and nothing works.
Power button = device logo(?) loop
Power button + Vol. Up = nothing
Power button + Vol. Down = nothing
The tab run on stock firmware with root access. Got the file from https://forum.xda-developers.com/showthread.php?t=1722304
[Cwm File v4.0.3]
...send...help...please...
hello
press vol+ and while maintening pressed vol+ one second after press home
wait samsung logo appears and disappears 3 times
then unpress home one second after unpress vol+
you should be in loader use cfautoroot
then install twrp
regards
validatus said:
hello
press vol+ and while maintening pressed vol+ one second after press home
wait samsung logo appears and disappears 3 times
then unpress home one second after unpress vol+
you should be in loader use cfautoroot
then install twrp
regards
Click to expand...
Click to collapse
I've booted into CWM (thanks to you for telling me), but is there any way to access my data from pc?
I just read the instructions and forgot to do a backup.
deathshadowworld said:
I've booted into CWM (thanks to you for telling me), but is there any way to access my data from pc?
I just read the instructions and forgot to do a backup.
Click to expand...
Click to collapse
You can copy your data from your internal storage to the external sd without pc. Download the Aroma File Manager from here https://www.google.gr/url?sa=t&sour...ggaMAA&usg=AFQjCNEH8YsLeZ9hUCaOmQXRhJ2Yh2eYCA
boot in cwm and install it. Don't worry, it will not install anything, it will just open a file manager.
deathshadowworld said:
Like the title says, I recently flashed CWM recovery with odin to my tab 2, after reboot, it stuck on the first thing it displays and nothing works.
Power button = device logo(?) loop
Power button + Vol. Up = nothing
Power button + Vol. Down = nothing
The tab run on stock firmware with root access. Got the file from https://forum.xda-developers.com/showthread.php?t=1722304
[Cwm File v4.0.3]
...send...help...please...
Click to expand...
Click to collapse
[UPDATE] I've flashed the ROM and it's up and running now. The issue now is most of the apps can't start/keep crashing.
Maybe because I didn't wipe the data. Thoughts?
deathshadowworld said:
[UPDATE] I've flashed the ROM and it's up and running now. The issue now is most of the apps can't start/keep crashing.
Maybe because I didn't wipe the data. Thoughts?
Click to expand...
Click to collapse
You absolutely need to wipe the data and cache and dalvik cache. If you don't do that when flashing a rom you will probably have such or worse problems. (Before flashing you should also wipe system)
deathshadowworld said:
[UPDATE] I've flashed the ROM and it's up and running now. The issue now is most of the apps can't start/keep crashing.
Maybe because I didn't wipe the data. Thoughts?
Click to expand...
Click to collapse
you should install twrp recovery and not cwm. cwm is not up to date. for the latest roms you need the latest common twrp
deathshadowworld said:
[UPDATE] I've flashed the ROM and it's up and running now. The issue now is most of the apps can't start/keep crashing.
Maybe because I didn't wipe the data. Thoughts?
Click to expand...
Click to collapse
No more problem. I wiped data and re-flash.

Crash Recovery for the Samsung Galaxy A20

Crash Recovery for the Samsung Galaxy A20
1. Be Prepared
Most of us will suffer from a crash at some time. If you know how to fix it, you will have a lot less stress.
There are certain files you need to keep in readiness.
Always backup boot, data, system before you try any new ROM.
A. On your PC
- Firmware you downloaded from one of these sites
https://samfrew.com or https://www.samfirmware.net
or for a faster download: https://forum.xda-developers.com/galaxy-a20/how-to/a20-repair-firmware-t4066551
- recovery.tar you can download from here https://forum.xda-developers.com/galaxy-a20/how-to/guide-quick-root-twrp-galaxy-a20-t4069423
B. On your A20 external sd
Don't keep any important files on your internal sd card. Keep backups on the external sd and on usb otg.
- Boot, data, system backup
- Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
or this one
View attachment 4975463
To go to download mode
Normal method
1. Turn off phone
2. Hold down both volume keys
3. Plug in computer
Bootlooping
1. Plug in to computer
2. Hold down both volume keys
For a difficult phone
1. Connect usb to computer but not to phone
2. Hold down all 3 keys
3. When it buzzes release power and quickly plug in usb to phone.
It might take a few times to get it right.
If it's REALLY BAD
1. Wait for the battery to completely run down and use normal method.
2. Soft Crash
This is when you get a bootloop.
Recover method
1. Reboot into TWRP( hold down all 3 keys and release vol down when it reboots)
2. Restore your backup.
3. Hard Crash
This is when you get red text along the top.
Recover method
1. Connect phone cord to PC
2. Reboot into download mode (Hold down all 3 keys
When the phone reboot release power key and plug in to computer at the same time
It may take a few times to get the timing right)
3. Flash each part of the firmware into its slot.
BL_20xxxxxxx.tar.md5 goes into the BL slot
AP_20xxxxxxx.tar.md5 goes into the AP slot
CP_20xxxxxxx.tar.md5 goes into the CP slot
HOME_CSC_xxxxxx.tar.md5 goes into the CSC slot
4. You might do a Factory data reset
5. Wait for the restart
6. Skip through a minimal setup
7. Activate developer mode
8. Allow usb debugging
9. Reboot into download mode
10. Flash recovery.tar in the AP slot
11. Reboot the A20 into TWRP and mount everything that you can.
12. Format Data (not just wipe) - don't restart
13. Flash Disable_Dm-Verity_ForceEncrypt
14. Wipe both caches then go back and Reboot into Recovery.
15. Restore your data backup.
16. Reboot
physwizz collection
A collection of guides, kernels and ROMs. Guides Complete Guide to the A20 GSIs for the A20 Quick Root and TWRP for the A20 Making my First Kernel for the A20 A20 Rooting Guide Making Your Own ROM Making Your Own Version of QwizzROM-a20...
forum.xda-developers.com
If anyone finds a better way to do this, please let me know.
physwizz said:
If anyone finds a better way to do this, please let me know.
Click to expand...
Click to collapse
Link to that version on dmverity pkease
shumway66 said:
Link to that version on dmverity pkease
Click to expand...
Click to collapse
Done,
I have FBE not present in TWRP recovery, is that a problem?
Engineer_Virus said:
I have FBE not present in TWRP recovery, is that a problem?
Click to expand...
Click to collapse
8. Reboot the A20 into TWRP and mount everything that you can.
9. Format Data (not just wipe)
10. Flash Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
11. Reboot into Recovery.
physwizz said:
8. Reboot the A20 into TWRP and mount everything that you can.
9. Format Data (not just wipe)
10. Flash Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
11. Reboot into Recovery.
Click to expand...
Click to collapse
Please how to boot manually to download mode? I have installed Carlos Kernel and my phone has black screen after Samsung boot logo.
Dan225 said:
Please how to boot manually to download mode? I have installed Carlos Kernel and my phone has black screen after Samsung boot logo.
Click to expand...
Click to collapse
turn phone off
connect to computer and hold down both volume keys
but for twrp mode
hold all 3 buttons until the phone reboots and release volume down
When it arrives at recovery it crashes and ends with error
jp_f said:
When it arrives at recovery it crashes and ends with error
Click to expand...
Click to collapse
More information
physwizz said:
Crash Recovery for the Samsung Galaxy A20
1. Be Prepared
Most of us will suffer from a crash at some time. If you know how to fix it, you will have a lot less stress.
There are certain files you need to keep in readiness.
Always backup boot, data, system before you try any new ROM.
A. On your PC
- Firmware you downloaded from one of these sites
https://samfrew.com or https://www.samfirmware.net
or for a faster download: https://forum.xda-developers.com/galaxy-a20/how-to/a20-repair-firmware-t4066551
- recovery.tar you can download from here https://forum.xda-developers.com/galaxy-a20/how-to/guide-quick-root-twrp-galaxy-a20-t4069423
B. On your A20 external sd
Don't keep any important files on your internal sd card. Keep backups on the external sd and on usb otg.
- Boot, data, system backup
- Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip
or this one
View attachment 4975463
To go to download mode
Normal method
1. Turn off phone
2. Hold down both volume keys
3. Plug in computer
Bootlooping
1. Plug in to computer
2. Hold down both volume keys
For a difficult phone
1. Connect usb to computer but not to phone
2. Hold down all 3 keys
3. When it buzzes release power and quickly plug in usb to phone.
It might take a few times to get it right.
If it's REALLY BAD
1. Wait for the battery to completely run down and use normal method.
2. Soft Crash
This is when you get a bootloop.
Recover method
1. Reboot into TWRP( hold down all 3 keys and release vol down when it reboots)
2. Restore your backup.
3. Hard Crash
This is when you get red text along the top.
Recover method
1. Connect phone cord to PC
2. Reboot into download mode (Hold down all 3 keys
When the phone reboot release power key and plug in to computer at the same time
It may take a few times to get the timing right)
3. Flash each part of the firmware into its slot.
BL_20xxxxxxx.tar.md5 goes into the BL slot
AP_20xxxxxxx.tar.md5 goes into the AP slot
CP_20xxxxxxx.tar.md5 goes into the CP slot
HOME_CSC_xxxxxx.tar.md5 goes into the CSC slot
4. You might do a Factory data reset
5. Wait for the restart
6. Skip through a minimal setup
7. Activate developer mode
8. Allow usb debugging
9. Reboot into download mode
10. Flash recovery.tar in the AP slot
11. Reboot the A20 into TWRP and mount everything that you can.
12. Format Data (not just wipe) - don't restart
13. Flash Disable_Dm-Verity_ForceEncrypt
14. Wipe both caches then go back and Reboot into Recovery.
15. Restore your data backup.
16. Reboot
Click to expand...
Click to collapse
hello sir, i need help.
after rooting my phone succesfully and try to using eureka kernel my phone just get bootloop. before that, i dont know why i cannot backup data, system and etc you just write on guide. then i enter download mode and inadvertenly pressing "dont unlock bootloader". now my phone just stay in download mode with text writed on it in red colour "vbmeta: error verifying vbmeta image..."
if it can be fixed please tell me how to fix that. Thank you very much @
Astreinz said:
hello sir, i need help.
after rooting my phone succesfully and try to using eureka kernel my phone just get bootloop. before that, i dont know why i cannot backup data, system and etc you just write on guide. then i enter download mode and inadvertenly pressing "dont unlock bootloader". now my phone just stay in download mode with text writed on it in red colour "vbmeta: error verifying vbmeta image..."
if it can be fixed please tell me how to fix that. Thank you very much @
Click to expand...
Click to collapse
Try again.
This time use a long press to unlock
cant even boot into download mode or twrp i actually have a scv46 that is actually samsung a20 rip my phone
louiskaneko said:
cant even boot into download mode or twrp i actually have a scv46 that is actually samsung a20 rip my phone
Click to expand...
Click to collapse
For a difficult phone
1. Connect usb to computer but not to phone
2. Hold down all 3 keys
3. When it buzzes release power and quickly plug in usb to phone.
It might take a few times to get it right.
If it's REALLY BAD
1. Wait for the battery to completely run down and use normal method.

Categories

Resources