Redmi 5 custom rom major issue - Xiaomi Redmi 5 Questions & Answers

This is my first question in XDA, couldn't post in the developer section as i'm a new user so posting it here. Please ignore grammatical mistakes.
I had MIUI 9.3 installed along with Magisk v.17 in my Redmi 5 and was working fine.
I thought of trying Lineage OS 17, so I went into TWRP, wiped my Dalvik,data and cache and then flashed the rom, but after installing the OS works just for a minute and crashes. Then i went again in TWRP and when i try to do factory resest it shows- unable to mount /data and unable to find crypto.
Then i wiped my Dalvik, system, data, internal storage, cache in TWRP and then did Format Data and the error no longer appeared.
Then i flashed my stock MIUI 9.3 stable version but during setup cannot log in in my MI account, it shows- Couldn't check device security info and also Find device storage corrupted. After going back to TWRP it again shows unable to mount /data and unable to find crypto, therefore i cannot use the device without the setup being completed.
I tried the same with Havoc OS but still crashes after working for 1 min and again the same error shows up in TWRP. Any help would be appreciated.

Flash miui 11 global fastboot,then install custom roms. all custom roms for redmi 5 require miui oreo firmware.

Related

TWRP encryption issue. Please help me to save phone data.

I wanted to do an update from xiaomi.eu MIUI 9.5.X ROM to MIUI 10 on my wife's Mi Note 3. Unfortunately, I run into encryption troubles. Here are the steps I did:
1. Booted to preinstalled TWRP (I think it was 3.0.2) and did a full backup. Unfortunatelly I only saved to internal phone storage :crying:
2. Wiped Dalvik+Cache
3. Tried to install MIUI 10 Stable but got some errors in TWRP (remember it saying Error 7). Tried to wipe System as well but didn't help.
4. I updated TWRP to 3.1.1. and then managed to successfully install MIUI 10 version. First boot went OK.
Because I wiped System in TWRP I lost all app settings. My idea was to proceed with a restore from a full 9.5.X backup and then repeat the update to MIUI 10 without wiping in order to keep all applications etc.
5. So I booted again to TWRP 3.1.1 and did a restore from a backup.
After the reboot following message appeared: ''Encryption was interrupted and can't complete. As a result, the data on your phone is no longer accessible. To resume using your phone you need to perform a factory reset....''. In TWRP I can't access any files on internal storage - it shows 0 MB.
Can you please explain to me why this happened? Is it somehow related to TWRP update after performing a backup? I know that the solution is to format data in TWRP but I would like to avoid it. Is there any way of saving phone's data?? Does it make sense to try flashing MIUI 10 ROM via USB-OTG?
Any help would be highly appreciated. We really don't want to lose photos of our little baby from last holidays.
Thank you.

i am sharing some strange problem?

Hello Friends i am using redmi note 4 (SD) 3 GB 32 GB with orange fox R7 recovery and using MIUI 10 Global Beta Rom this issue is start after i flashed MSM Xtended Pie 9.0 flashing successful and reboot to ROM. after reboot ROM ask for password why i dont know after that i format all data including internal also but the issue is same then i decide to flash pixel experience with same recovery error 7 is come after that i tired and flashed the MIUI 10 global Beta again from Mi Flash Tool after that Flashing hangs. i tried again then its successful flashed but not booting screen turn off after MI logo again i flashed but the phone blanked no fastboot nothing and my phone is come EDL mode its showing me to COM1 connected then again i tried to flashed from mi flash the error shown cannot receive hello packet after that i removed back case and reconnect the battery connector and flashed again same error after that i removed the battery connector and flashed without battery :laugh: its flashed don't know how but its flashed :laugh: MIUI 10 but the issue is same again screen is off after mi logo but fastboot file is come. after that i clean all the data from fastboot and connect to PC with Orange fox R8.1 and try to flashed but i got new issue data partition error memory is corrupt (not showing in pc) again i try to clean from fastboot memory is showing here after that i reboot the device memory is show 8 gb only in 32 gb again i flashed Orange fox R7 and reboot the device Thank god memory is showing now:good: after that i flashed miui10 from orange fox R7 and finally phone is booted but without persist partition:crying::crying: (i cant receive a phone calls also) again i download the file from mi updater and flashed again after that finally my device is working fine.
1. want to know what is my issue what i do wrong?
2. this issue is with my device only or some one others also?
3. i want to try custom ROMs Also but what happen if the same issue again?
4. can i try again CUSTOM ROMs or use only MIUI
5. sorry for my English
6. please give me solution why its happen with my device
7. Thanks in Advance for replying
8. this is recovery error?
Reply me Friends
ismail.ahmed84 said:
Reply me Friends
Click to expand...
Click to collapse
Your first mistake was to flash a Treble ROM with a recovery which doesn't support Treble (Error 7, asks for a password and internal storage is empty).
Update your TWRP. OrangeFox recovery works fine. Just make sure you are using the latest version.
If you flash a custom ROM, just following the instructions:
Make the necessary wipes, format Data (format and not only wipe) and flash things in the correct order.
It's working for everyone else, so it will also work for you
u tell mi.
Noter2017 said:
Your first mistake was to flash a Treble ROM with a recovery which doesn't support Treble (Error 7, asks for a password and internal storage is empty).
Update your TWRP. OrangeFox recovery works fine. Just make sure you are using the latest version.
If you flash a custom ROM, just following the instructions:
Make the necessary wipes, format Data (format and not only wipe) and flash things in the correct order.
It's working for everyone else, so it will also work for you
Click to expand...
Click to collapse
Thanks for Reply but i was used Orange fox R7 (Treble/Non Treble Support Recovery)
i was wiped (System + Data + Cache + Dalvik ART Cache & Vendor ) first but the ROM ask me for password thats why i formatted the device and re-flash the ROM.
right now i am using same recovery (Orange Fox R7)with out any issue i was flashed Latest Recovery orange fox R8.1 after this issue. come back to old version R7.
Anti roll back is enabled for MIUI 10 BETA

Cannot Flash Rom / Restore - Error 7, Error 1001, Cannot mount System

Hey everybody,
I was on LOS 15.1 for a rather long time and I wanted to try RR, so as usual I backed up my system and tried to flash the RR-rom.
It did not work at all and I got several errors among which error 7 and the unability to mount system partition were the most prominent.
The device got bricked several times but I got it back to life with MiFlashTool, running either MIUI 8.5 or MIUI 9.
The strange thing is that even after flashing the MIUI-img - and basically bringing the device back to its factory firmware - I could not flash a rom.
I tried several recoverys; the latest TWRP, the TWRP linked in the LOS15.1 thread and OrangeFoxRecovery. None of them would work. I wiped all partition, nothing worked. I got different errors shown, most of them were error 7 or not being ablke to mount system, as stated before.
Right now I am back to MIUI and rooted it, which worked from OrangeFox, but I actually would like tzo run a custom rom again.
Any idea what I could do?
Cheers!
Noone who has an idea why it would not work?
I thought that after flashing via Flashtool the phone would be as good as new and all prioir changes would be gone? Wha can I not flash anything via recovery and get erros?
Or are there different versions of Orange Fox Recovery? RR would be treble, so I would need a treble recovery.
Cheers!
Have you tried to format internal storage?
If not backup data in sdcard or pc and format it using recovery.
Are you using trble supported recoveries?
Did you encrypted your data while using Lineage OS?
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
wurst_wasser said:
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
Click to expand...
Click to collapse
When you reply quote, I didn't get notifications for your reply.
Your bootloader is unlocked and you installed Twrp recovery.
Try copying Rom zip to SD card and wipe system, data, cache, dalviks cache, internal storage (exclude sd card off course). Then install it.
It should work
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
wurst_wasser said:
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
Click to expand...
Click to collapse
Are you sure the Rom you installating is for your device because error 7 occured if the rom you are trying install is not for your device.
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
wurst_wasser said:
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
Click to expand...
Click to collapse
Great to know
I hated MIUI because of the bloatware and ads. Have fun using RR. If you want you can use Liquid Remix Pie its a great ROM.
Yes. I also did not like MIUI that much, that's why I was using Lineage before I wanted to try RR: Thanks for the advice for anothe rom.
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
How did you format? noob
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
If I format data, then I have to reboot into the recovery menu to be able to use data again. But this is impossible, because it gets stuck into the bootloop every time I try to reboot. Any other option to fix this error?
EDIT:
I could fix it myself:
1. MIUI latest version; flash with MiFlash.
2. flash TWRP with e.g. YUware
3. flash latest fw_vendor in TWRP
4. full update pixel expierence (NOT incremental) rom flash
5. Partitions/Data/Format
6. Reboot and ready to use

[HELP]With each custom rom flashing my phone gets more unstable

My device is redmi note 4x (mido), I've tried lots of different custom roms, i'm installing these roms as the instructions say, but I always get some problems like camera crashing, default file browser crashing, corrupted package installer where you cannot install any app where it just says app not installed. Now I'm stuck without sim card and wifi working I currently have OrangeFox-R8.3-mido twrp
I tried roms like resurrection remix, lineageos, havoc os and all of them have some issues and other users don't experience these for some reason.
I tried to wipe literally everything possible in the twrp (maybe wiped too much?) with different combinations, format data, factory reset and also advanced wipe> and tick everything form here, then I install the firmware if the rom instruction says so > flash rom without wiping cache, flash newest open gapps arm64 usually 9.0; nano and then hit the reboot and usually bit laggy(and sometimes crashy) google setup pop ups, and if it doesn't fail on the setup I get some of the problems I talked before. Anyone also had problems like these?:crying::crying:
The only wrong thing that I see in twrp is
Code:
mount: failed to mount /dev/block/bootdevice/by-name/sec at /firmware: Invalid argument
it's written with white text(not red as usual errors)
I prefer u to wipe everything. And switch to orangefox r9 and wipe everything and then install any trble rom. See if thus works
anujpflash said:
I prefer u to wipe everything. And switch to orangefox r9 and wipe everything and then install any trble rom. See if thus works
Click to expand...
Click to collapse
I updated the orangefox and it didn't help, tried to download the normal twrp from https://dl.twrp.me/mido/ and it still doesn't work,
It doesn't see my sim card, wifi during settings and I can't even turn on the bluetooth

After unsuccessfully trying to switch ROM's i can't flash any custom ROM

Today i wanted to upgrade from Nitrogen OS android 9 to PixelExperience android 10 and it didn't work at all...
At first i wiped:
Dalivik / ART Cache
cache
system
Data
And now I just don't know what to do, because after flashing PixelExperience, I got the message: "No OS installed! Are you sure you wish to reboot?".
After that I flashed disable force encryption and rebooted anyway just to see the fastboot screen.
Then i wiped everything again and tried flashing my old ROM without any success (error 7) after that message,
I wiped everything once more and flashed vendor-firmware (it was an old version the name of the file is: "fw_beryllium_miui_POCOF1Global_V10.3.7.0.PEJMIX")
and it still didn't work...
Now I searched online for any solutions and just downloaded a new firmware (filename: beryllium-9.4.1-9.0-vendor-firmware.zip) flashed it,
and after trying to install any of the above mentioned ROM's i got the same results.
I'm kind of desperate right now and don't know what to do. I though that i could maybe format my phone,
I saved all my important files on my PC so that isn't really a problem.
Please help me! (Please let me know if you need to know more info, I hope I didn't forget anything)
xueru said:
Today i wanted to upgrade from Nitrogen OS android 9 to PixelExperience android 10 and it didn't work at all...
At first i wiped:
Dalivik / ART Cache
cache
system
Data
And now I just don't know what to do, because after flashing PixelExperience, I got the message: "No OS installed! Are you sure you wish to reboot?".
After that I flashed disable force encryption and rebooted anyway just to see the fastboot screen.
Then i wiped everything again and tried flashing my old ROM without any success (error 7) after that message,
I wiped everything once more and flashed vendor-firmware (it was an old version the name of the file is: "fw_beryllium_miui_POCOF1Global_V10.3.7.0.PEJMIX")
and it still didn't work...
Now I searched online for any solutions and just downloaded a new firmware (filename: beryllium-9.4.1-9.0-vendor-firmware.zip) flashed it,
and after trying to install any of the above mentioned ROM's i got the same results.
I'm kind of desperate right now and don't know what to do. I though that i could maybe format my phone,
I saved all my important files on my PC so that isn't really a problem.
Please help me! (Please let me know if you need to know more info, I hope I didn't forget anything)
Click to expand...
Click to collapse
I found a old backup, that i made in twrp and after loading that, i was able to flash stuff again, sorry if i inconvenienced anyone
Same happened with me when i flashed PE 10 from PE 9 PIE..
So i flashed Letest Miui 11 (pie) via fastboot then
Installed PE 10 via twrp..
so this is the fix.

Categories

Resources