MAGISK Working - Xiaomi Redmi S2 Guides, News, & Discussion

Latest magisk can be flashed on Redmi S2 and it will work. Tested.
No decryption needed. As internal storage is encrypted and cannot be decrypted, I used OTG to get the file to flash.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Confirmed magisk v.16 work fine.

can you please explain what you did? i'm stuck at TWRP asking for password for decrypting internal storage. I've tried cancelling and flashing magisk from sd card, but it is not working

seba said:
can you please explain what you did? i'm stuck at TWRP asking for password for decrypting internal storage. I've tried cancelling and flashing magisk from sd card, but it is not working
Click to expand...
Click to collapse
cancel the password , no need flashing magisk, choose 'Format' and 'Wipe', then flashing rom and flash magisk this step.

seba said:
can you please explain what you did? i'm stuck at TWRP asking for password for decrypting internal storage. I've tried cancelling and flashing magisk from sd card, but it is not working
Click to expand...
Click to collapse
Xiaomi is encrypted. I flashed magisk from usb. Press cancel when asked for password.

ishtiaqe22 said:
Latest magisk can be flashed on Redmi S2 and it will work. Tested.
No decryption needed. As internal storage is encrypted and cannot be decrypted, I used OTG to get the file to flash.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
What ROM do you use? custom or stock rom? If what version of stock ROM is used?

Related

TWRP 3.2.1 Failed decryption

I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Lancer43 said:
I was running TWRP 3.1.1 on my Redmi 4x and i decided to update it to TWRP 3.2.1
I installed the TWRP 3.2.1 by going to recovery>install>install boot image>then install to recovery partition
After i installed it and i booted to recovery, it's already updated to TWRP 3.2.1 but my pattern for twrp is not accepted. Whenever i enter my pattern it will have an error that is failed to decrypt because of a wrong pattern. I didnt even change my pattern from 3.1.1 but somehow when i updated to 3.2.1 my pattern is not accepted.
So now i cant decrypt the internal storage.
Help please
Click to expand...
Click to collapse
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
rkdok23 said:
Press back button on the page where twrp is asking for patter then go to wipe then format your data . This should solve the issue .
Click to expand...
Click to collapse
Is there any other way that wouldnt require me to format my data?
Lancer43 said:
Is there any other way that wouldnt require me to format my data?
Click to expand...
Click to collapse
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
MattHdH said:
Enter twrp. After that press back button,, enable mtp on mount. And connect your phone to ext storage. Backup your files and rom. After backup. Just format it,,,
Important: backup rom first than files
Click to expand...
Click to collapse
How can be data accessed through mtp when partition is not mounted because it is not decrypted ?

Help! Tried to install custom rom and now internal storage is encrypted

So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Hi ! Do you can resolve your problem ?
I'm not expert but I think reboot to Twrp and format your data . Advanced format data yes and flash your Rom. But I don't no if you do to flash the DM Verity Encryption remover before flash your Rom ?
Stay for expert help you..
ha2ell said:
So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Click to expand...
Click to collapse
I faced similar issue when flashing custom rom.
I did some research and found out that, I have to wipe data first, reboot to fastboot (in TWRP). Boot into TWRP again using DOS shell prompt.
In this way, your phone will not be encrypted, allowing file transfer and flash from TWRP.
Hope it helps.
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
You need flash Forced Encryption Disabler to remove encryption of the folders. In TWRP, flash zip and reboot to recovery.
This is link to download. https://androidfilehost.com/?fid=3700668719832238534
ha2ell said:
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
Click to expand...
Click to collapse
im facing the same problem now. the files are all jumbled up letters, do i need to format the device before using mi flash tool?

How to encrypt Nexus 6 7.1.1 Build N6F27M

I have an Nexus 6 Version 7.1.1. The complete Storage is crypted. So it is not possible to wipe the data and system by using TWRP. I did an factory reset but after that the storage also was crypted. How can I encrypt these Version of Nexus 6?
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Hi, thank you. But if I install twrp on this N6, I need for using twrp a password. If I try to format user Data, the formatting dont work. After start android I have the same crypted data storage. I thing, android install after new starting an crypted storage! I try now to install lineage os after formatting data.
runekock said:
I believe that the stock rom forces encryption.
Use TWRP's format data to remove encryption if you want to install a recent custom rom. Of course, you'll lose all your files by doing that.
Click to expand...
Click to collapse
Hi runcock,
thank you for your help. I installed twrp, formatted all data removed encryption and installed lineageos 17.1 and gaps by using extern otg-storage. All funktions on the nexus 6 works normally. Update to the last version of shamu also worked. Thank you till the next question!

Question UNABLE TO BACK UP ANY ANDROID 12 MIUI OR CUSTOM ROM (internal storage 0mb) in TWRP

I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Use otg usb
rufio85 said:
I'm able to use backup & restore in Android 11 custom or miui rom. but unable to use it when i flashed android 12 roms.
Can anyone walk me through how to fix this.
Did the ff workaround in youtube as well in any similar post but still not working.
1. Advance wipe > click data >Repair or Change File System > Change File System to EXT2 & EXT4
2. Format data
This process is temporarily working the internal storage is visible, but after booting to system and go back to twrp recovery, the internal storage appears 0mb again.
I flashed stock rom/ eu rom as well in TWRP as i read this is worked with them. but not on my end.
Kindly help me to solve this issue please.
Click to expand...
Click to collapse
Case_ said:
TWRP is not yet compatible with Android 12, it can't decrypt the internal storage. You can't fix it until TWRP (or some other recovery) solves Android 12 support.
I think in theory you might be able to back up the ROM to an unencrypted storage like an SD Card or OTG USB drive, but I'm not sure (and I'm even less sure if such backup could even be successfully restored if you back the partition up without decrypting).
Click to expand...
Click to collapse
Cisuwek said:
Use otg usb
Click to expand...
Click to collapse
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Laptapper said:
In my opinion it's only possible to backup encrypted storage as in A12 if you flash DfE but then you'll have to format and later you're decrypted and in future you can backup via TWRP.
But you can copy actual personal files with a file manager, if android is booted up, to external storages or internal micro SD. android internal app data can't copied.
Click to expand...
Click to collapse
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff. The memory is only encrypted, the rest works perfectly fine. Have you checked on the latest recovery?
A new kernel was flashed an hour ago. I have made a backup of the boot and dtbo images. It really works
Not checked to backup complete rom, but suppose it's possible with otg
Click to expand...
Click to collapse
.....Not checked to backup complete rom, but suppose it's possible with otg....?
But this is what he wants to do, or not?
Cisuwek said:
You can install cutom roms, flash magisk, kernel and other stuff.
Click to expand...
Click to collapse
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Thanks for the reply guys..this already solved..with the help of @Laptapper in other thread. Using orangefox, dfe,
How to flash a Android 12 ROM without decryption problem?
I've been struggling to flash Android 12 without my internal storage to be unaccessible by TWRP... I simply can't decrypt my data and the only way to fix it is to format data and revert back to a Android 11 ROM. Did anyone manage to flash Android...
forum.xda-developers.com
here's the thread.
Case_ said:
I guess (I was in fact asking about exactly this in another thread recently), but then if the install script tries to modify the data partition in any way (which remains encrypted with current recoveries under Android 12), you're almost certainly screwed and at best the installation will fail, at worst you'll have to reinstall everything.
Click to expand...
Click to collapse
Previously I had a Redmi note 7. On the encrypted partition, I could also install everything in the same way. I am not a specialist, my knowledge has ended here.

Question TWRP 3.7.0_12 fails to decrypt storage on stock A11?

Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Borosin said:
Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Click to expand...
Click to collapse
Sounds like you need an OS reinstall preceded by data format, not wipe, to remove encryption. There is a Nebrassy 3.6 version that decrypts for A11.
Borosin said:
Hi folks,
So, i'm still on the Stock MIUI 12.5.7 (Android 11).
Before upgrading, i just wanted to check out if TRWP works correctly, so i flashed the most recent official version...and to my surprise, it could _not_ decrypt the internal storage?
Also, in the Backup menu, the EFS and modem partitions have correct sizes, but the dynamic Super partiton is shown as ( 0 MB).
I thought there would be no more issues with such old ROMs...or maybe I'm missing something?
UPDATE:
After wiping data and resetting the phone, TWRP managed to mount the internal storage, as long as there's no PIN on it.
As soon as i enter a PIN in Android, the same PIN entered in TWRP fails to decrypt the internal storage.
Click to expand...
Click to collapse
Which twrp Version?
TWRP 3.7.0_12
It's the latest available on twrp.me for the Note 10 Pro.
Borosin said:
TWRP 3.7.0_12
It's the latest available on twrp.me for the Note 10 Pro.
Click to expand...
Click to collapse
Try this orangefox
https://forum.xda-developers.com/t/...ry-with-decryption-for-android-12-13.4471637/
or the newer one
Laptapper said:
Try this orangefox
https://forum.xda-developers.com/t/...ry-with-decryption-for-android-12-13.4471637/
or the newer one
Click to expand...
Click to collapse
It works with Orange fox.
Well, now that i have done a "format data" it works with TWRP, as well.
I moved to a xiaomi.eu rom, and everthing works fine, so far.
Also note that TWRP seems to always get replaced by the stock recovery when on a stock rom from Xiaomi.

Categories

Resources