New MIUI Update does not update (reboots into TWRP) - Xiaomi Mi 10T Lite Questions & Answers

Hi guys,
I have a rooted mi10t lite on MIUI.
Got an update today (miu v12.0.2.0.RJSEUXM) so downloaded it via phone and pressed 'reboot now'.
Issue is the phone reboots into TWRP recovery and when I boot back to system the phone still tells me to update the phone by rebooting it which goes back to TWRP.
I tried to install the update via TWRP > Install>
The internal storage is encrypted though so I moved the updated .zip file to my SD Card (root of SD card folder).
I go back into TWRP after a reboot and flash the install but get an error when trying to install the update. Not sure why?
Code:
E: Unble to decrypt FBE device
Updating partition details...
...done
Updating partition details...
...done
MTP Enabled
Installing zip file '/external_sd/miuupdatenumberetc.zip'
Checking for Digest file...
Error installing zip file ''/external_sd/miuupdatenumberetc.zip'
Updating partiion details...
...done
Any ideas please? I don't really want to update the phone if it results in me losing everything and having to install magisk and TWRP again, etc.
Thanks

1. to install OTA update from system, you have to have stock recovery
2. installed TWRP can not decrypt data partition
I would:
1. restore stock recovery
2. install OTA update
3. hotboot TWRP so you can decrypt data partition (fastboot boot twrp.img), install Magisk
Your Magisk modules and all data will remain intact.

i have the same problem. if i want to restore stock recovery, is it the right way to flash via fastboot the recovery.img from the fastboot rom, or i will get issues?

Related

Stuck in recovery-cannot format cache/data

I was trying to flash ecliptic ROM from PACMAN Rom and got a status 7 error during installation, the problem is that I had already erased my cache, data, and system before flashing. I cannot flash any roms without error messages now and whenever I try to format my system,cache, or data I get the error:
E:Unable to mount 'system'
E:Unable to mount '/cache'
Can anyone help me please? I have tried using clockworkmod recovery and every time I attempt to format it just freezes indefinitely.
Reboot recovery when you get in to recovery. There are some ROMs that the only way to flash them is to reboot the recovery.
Sent from my HTC One using Tapatalk
Did you just recently flash your current recovery? Sounds like you need to reflash your recovery, and make sure your using the correct one for the m7. Which recovery and version are you currently on?
Status 7 refers to either an error in the rom zips updater-script, or the rom zips updater-binary is not compatibe with your current recovery.
boot into recovery mode.

[Q] need help to restore to GPE stock rom

Hello, I'm new to HTC phone. I can't enter system now. Please help!.
my phone's information:
CID: GOOGL001
ROM: Google stock 4.4.2
Recovery: CMW latest.
bootloader: unlocked.
SHIP-s: ON
What I did:
I copied the stock google rom 4.4.3.zip to the internal sd card, and use recovery installed the zip file. then reboot,
current status:
the phone can't enter the system, it enters the recovery everytime reboot.
I can enter the bootloader
PC can do fastboot,and adb commands, PC can find the phone.
What I want now is to restore to the unrooted GPE stock ROM 4.4.3. What shall I do now.
thanks,
heartready said:
Hello, I'm new to HTC phone. I can't enter system now. Please help!.
my phone's information:
CID: GOOGL001
ROM: Google stock 4.4.2
Recovery: CMW latest.
bootloader: unlocked.
SHIP-s: ON
What I did:
I copied the stock google rom 4.4.3.zip to the internal sd card, and use recovery installed the zip file. then reboot,
current status:
the phone can't enter the system, it enters the recovery everytime reboot.
I can enter the bootloader
PC can do fastboot,and adb commands, PC can find the phone.
What I want now is to restore to the unrooted GPE stock ROM 4.4.3. What shall I do now.
thanks,
Click to expand...
Click to collapse
Did you flash the Ruu?you can follow this guide:http://forum.xda-developers.com/showthread.php?t=2706441
Jyotirdeb said:
Did you flash the Ruu?you can follow this guide:http://forum.xda-developers.com/showthread.php?t=2706441
Click to expand...
Click to collapse
Thanks, I think I did use fastboot oem rebootRUU and flash the RUU google edtion conversion following the thread http://forum.xda-developers.com/showthread.php?t=2708589 but it's failed. and then I tried flash the zip in the thread you just mentioned, still failed. got an error message and installation aborted. the following msg is the one I use cwm flash the zip in recovery:
-- Erasing & formatting /system as ext4 (Unmounted system)
system partition formatted!
-- Mounting system partition for writing
Writing rom system to system partition
Rom system written successfully! @symlinking and permissions
--Creating toolbox symlinks
--creating additional symlinks
Symlinks Set!
--installing busybox
Set_perm: some changes failed
E:Error in /tmp/update.zip
(status 7)
installation aborted.
I tried factory reset, and wipe everything, flash the gpe4.4.3_m8 zip, still failed. I have used, phil cwm recovery and twrp recovery.
thanks,

Soft bricked and can't flash any ROM

So , I was helping my buddy out with his Roger branded HTC One M8... He had the latest OTA, unlocked the bootloader, installed a custom recovery, and finally tried to flash ARHD 10.2.....
ARHD won't flash because it says it's a corrupt .ZIP.....
The Backup we made before flashing, recovers, then reboots back into recovery ( fails )
Any other ROM also says corrupt .ZIP...
Have never had an issue like this before, and I have no idea what to do from this point on....
Already tried recovering the backup & flashing a different ROM.
I can't find the RUU for the latest rogers ROM ( Firmware 2.23.631.2 ) so I haven't tried to flash a stock ROM.... Can you install a stock ROM from before the OTA, if you did the OTA? Or will that just lead to more issues?
Any help would be greatly appreciated! ( PHONE MODEL M8_UL )
What recovery and what version?
My first hunch would be fastboot erase cache, and re-flash recovery using fastboot. Often clears up lots of flashing issues like this. Also make sure you are using an up to date version of recovery.
Also, you can try to put the ROM on a different location such as the removeable SD and flash from there.
tutchthesky7 said:
I can't find the RUU for the latest rogers ROM ( Firmware 2.23.631.2 ) so I haven't tried to flash a stock ROM.... Can you install a stock ROM from before the OTA, if you did the OTA? Or will that just lead to more issues?
Click to expand...
Click to collapse
Rogers often does not issue RUUs, so I would not be surprised if this is the case for the M8 as well. Although I personally can't say, as its not my carrier.
redpoint73 said:
What recovery and what version?
My first hunch would be fastboot erase cache, and re-flash recovery using fastboot. Often clears up lots of flashing issues like this. Also make sure you are using an up to date version of recovery.
Also, you can try to put the ROM on a different location such as the removeable SD and flash from there.
Rogers often does not issue RUUs, so I would not be surprised if this is the case for the M8 as well. Although I personally can't say, as its not my carrier.
Click to expand...
Click to collapse
Using TWRP 2.7.0.1
I did the exact same thing as he did , except with my phone, and I never had any of these issues, same recovery, same ROM, same phone model, so weird :S
tutchthesky7 said:
Using TWRP 2.7.0.1
I did the exact same thing as he did , except with my phone, and I never had any of these issues, same recovery, same ROM, same phone model, so weird :S
Click to expand...
Click to collapse
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
redpoint73 said:
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
Click to expand...
Click to collapse
Will try that and report back
redpoint73 said:
That version is 2 iterations old.
But just might be a bad recovery install, it happens (and as you mentioned, or works on your phone, so why not your buddy's?). adb erase cache and install newest TWRP (2.7.1.0).
Click to expand...
Click to collapse
tutchthesky7 said:
Will try that and report back
Click to expand...
Click to collapse
Successfully flashed TWRP (2.7.1.0)
Attempted Recovery of the backup made right after installing TWRP for the first time, failed.
Attempted to flash the same ARHD Rom as tutchthesky7, see log:
<<<Log Start>>>
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount '/cache'
E:Unable to mount zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
[Restore Started]
Restore folder: '/external_sd/TWRP/BACKUPS/SH45WM01930/1M8PostRoot_Recovery_2014-08-19--01-04-57'
Skipping MD5 check based on user setting. ("I'd personally verified the checksum prior to all this")
E:No partitions selected for restore.
E:Unable to open zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
<<<Log End>>>
Tried flashing the sideloaded ROM, and failed with the same resulting log as seen above.
Did you fastboot erase cache before installing TWRP, as I suggested?
Sir_Kato said:
Successfully flashed TWRP (2.7.1.0)
Attempted Recovery of the backup made right after installing TWRP for the first time, failed.
Attempted to flash the same ARHD Rom as tutchthesky7, see log:
<<<Log Start>>>
E:Unable to mount '/cache'
Full SELinux support is present.
E:Unable to mount '/cache'
E:Unable to mount zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
[Restore Started]
Restore folder: '/external_sd/TWRP/BACKUPS/SH45WM01930/1M8PostRoot_Recovery_2014-08-19--01-04-57'
Skipping MD5 check based on user setting. ("I'd personally verified the checksum prior to all this")
E:No partitions selected for restore.
E:Unable to open zip file.
Error flashing zip '/external_sd/Android_Revolution_HD-One_M8_1-.2.zip'
Updating partition details...
E:Unable to mount '/cache'
<<<Log End>>>
Tried flashing the sideloaded ROM, and failed with the same resulting log as seen above.
Click to expand...
Click to collapse
the log got me thinking, after updating TWRP and then clearing the cache the mounting issue seemed wierd, so I tried sideloading to sdcard0 after clearing the cache once more then installing from sideload.zip on sdcard0, which entered the ARHD install GUI. so now I just need a confirmation on whether installing from sdcard0 is dangerous as a reformat mid install will erase the zip im trying to install from. soft brick is bad enough, really want to avoid an expensive paperweight.
I'm still in the menu, waiting for more seasoned minds to respond before I go through with it.
---------- Post added at 02:37 PM ---------- Previous post was at 02:29 PM ----------
redpoint73 said:
Did you fastboot erase cache before installing TWRP, as I suggested?
Click to expand...
Click to collapse
I did indeed. Just got the confirmation on the go ahead from OP. Better safe than sorry. Will post the outcome.
It worked beautifully, **** is so Cash. Thanks guys. you've been of great help.

TWRP Error: 7 / E1001: Failed to update system image

Dear All,
Looking for help with upgrading SM-N900T to Android 10
This is what is done
1. Installed twrp-3.4.0-1-hlte.img.tar using Odin3_v3.13.1
2. Copied Havoc-OS-v3.7-20200717-hltetmo-Official.zip to SD card
3. Using TWRP wiped out Dalvik/ART Cache, Data, System, Cache
4. Using TWRP tryied to install Havoc-OS-v3.7-20200717-hltetmo-Official.zip
5. Receive the following:
... Patching system image unconditionally...
E1001: Failed to update system image.
Updater process ended with ERROR: 7
Error installing zip file ... Havoc-OS-v3.7-20200717-hltetmo-Official.zip
Updating partition details...
... done
Before I wiped out the phone, I realized that fastboot does not see the device, however adb does. Now the device is seen by the PC only with Odin. The phone does not appear in Windows Explorer.
I would greatly appreciate any help.

Question [URGENT] TWRP fails to decrypt /data partition using the correct passcode and can't mount /cust partition with error "Structure needs cleaning"

Long story short, read the previous thread: https://forum.xda-developers.com/t/...-product-vendor-odm-invalid-argument.4431903/
After succesfully installing the fastboot rom via Mi Flash, the phone is still in a bootloop. Tried flashing TWRP via fastboot command (fastboot boot twrp.img) but it can't decrypt the /data partition with the correct passcode anymore. after a reboot in recovery, the /cust partition also can't be mounted anymore, with error "Structure needs cleaning".
I do not have a backup of my system nor data partition, nor internal storage, so i absolutely need it to work again without wiping/formatting the data partition
EDIT: after flashing the fastboot rom again via mi flash and twrp via fastboot command, the cust error disappears but twrp still can't decrypt /data
EDIT: i decided to do a full wipe of my internal memory and the phone works again. this thread should be closed.

Categories

Resources