Question (Solved) Enable dm-verify for stock roms after fastoot flashing? - POCO M3 Pro / Redmi Note 10 5G

Hi, i have a Poco M3 Pro 5G (camellian) with eea V12.5.1.0 roms and try to flash the global version (more updated). I wait 168h, unlock the Bootloader and flash_all.bat the GLOBAL Version V12.5.3.0 for be sur. Now every time im start the phone im got the dm-verify corruption message. if i press the power button the phone continue to start normally.
- im try to flash_all_lock.bat
- fastboot oem lock
- fastboot oem enable_dm_verity ( i got error: FAILED (remote: 'unknown command') )
- flash rom from update menu
No one option work.
How is posible to get Global stock rom (no root, no modification) with locked bootloader, dm-verify enable and no dm-verify corruption error message?
thank you.

Euphoria_ said:
Hi, i have a Poco M3 Pro 5G (camellian) with eea V12.5.1.0 roms and try to flash the global version (more updated). I wait 168h, unlock the Bootloader and flash_all.bat the GLOBAL Version V12.5.3.0 for be sur. Now every time im start the phone im got the dm-verify corruption message. if i press the power button the phone continue to start normally.
- im try to flash_all_lock.bat
- fastboot oem lock
- fastboot oem enable_dm_verity ( i got error: FAILED (remote: 'unknown command') )
- flash rom from update menu
No one option work.
How is posible to get Global stock rom (no root, no modification) with locked bootloader, dm-verify enable and no dm-verify corruption error message?
thank you.
Click to expand...
Click to collapse
The user passion8059 post the solution: fastboot oem cdms
I just tried it and it works. Having the bootloader closed, I have restarted in fastboot mode and typed the command. When restarting it has not deleted anything (I had made a backup just in case anyway)
More info: https://github.com/bkerler/mtkclient/issues/261

Related

Cant relock bootloader

Hello mens,
i need a little help with locking bootloader on my Moto G6 (and flash stock rom). I try some treble rom and after that i want to go on stock, so i want to follow this tutorial https://animetrick.com/flash-stock-rom-moto-g6-plus-locked-bootloader-2018/ but without succes. My problem is that i cant swich off "enable oem unlock" from developer setting (it is grey and untouchable) and cant lock bootloader before flashing stock rom. Anybody know some solution ?
I don't think you can lock the bootloader before flashing stock. With a locked bootloader you can't modify system partition. Forget about the switch. Just install stock rom and then relock your bootloader using the guide. When you follow the guide, which doesn't mention the switch, you will reflash stock via fastboot commands, and relock the bootloader via fastboot. Pretty sure the switch will rest itself.
Sent from my moto g(6) plus using Tapatalk
Solves
So, i decide use mobile with root and Magis, so I flash Rom, patched boot image and use phone in this status. Now I look into settings and OEM unlocking button is available. WTF ?
Just saying if your attempting to relock the bootloader to do a warranty replacement you cant. The bootloader can be unlocked and Moto even tells you how to. But once you unlock the bootloader once the warranty is void weather you relock it or not. In fact even requesting the unlock key can void the warranty.
To block the bootloader you need to re-authorize unlocking it in the developer options with the OEM unlock button. If the OEM unlock button is gray and unavailable you need to install root and then the button will unlock. Sam had such a situation and write what I did to make everything went without error.
Of course, USB and ADB drivers must be installed.
- Install ROOT, start the device
- Go to the developer options on your phone
- Enable authorization to unlock with the OEM unlock button
- Enable USB debugging
- Unpack the system files to a folder with ADB
- Unpack the file "FLASH_OEM_LOCK.zip" to the same folder (download below)
- Start the phone in bootloader mode and connect to the computer
- Click on the file "FLASH_OEM_LOCK.bat"
- After the procedure the phone will boot, the bootloader will be blocked, and in the developer's options the "OEM unlock" button will be available
Note: The procedure erases all data, the phone will start up as "New" with a clean system.
I did it for my own needs but maybe it will help someone.
Tested on my Moto G6 (XT1925-5)
I try to relock my Moto G6plus xt1926-3 also with stockrom flashed (after trying lineageos) but have some problems.
I cant flash something after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed before boot.
But I can unlock it again without problems. (and install magisk for example or boot twrp).
I can switch the oem unlock in dev settings to on too (in unlocked boot), but the script gave me same error.
I want only to revert to stockrom (-89 or older) and locked bootloader.
What am I doing wrong?
I could flash with locked bootloader (magisk, enable option in dev and proper fastboot version)
But I get the message "your device has loaded a different operation system"... I have flashed complete stock
*weird*
EDIT: unlocked, flashed bootloader again and relocked, but message keeps.
Have the same issue. I tried to relock my Moto G6plus xt1926-3 Android Pie also with stockrom flashed (after Ressurrection) but had some problems.
I couldnt flash anything after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed in boot.
---------- Post added at 09:53 PM ---------- Previous post was at 09:34 PM ----------
Garfield9992003 said:
I try to relock my Moto G6plus xt1926-3 also with stockrom flashed (after trying lineageos) but have some problems.
I cant flash something after the two "fastboot flash oem lock". It gives "remote failure" (bootloader flash permisson...) error.
After relock with oem lock, a message "incompatible operating system" is displayed before boot.
But I can unlock it again without problems. (and install magisk for example or boot twrp).
I can switch the oem unlock in dev settings to on too (in unlocked boot), but the script gave me same error.
I want only to revert to stockrom (-89 or older) and locked bootloader.
What am I doing wrong?
Click to expand...
Click to collapse
Garfield9992003 said:
I could flash with locked bootloader (magisk, enable option in dev and proper fastboot version)
But I get the message "your device has loaded a different operation system"... I have flashed complete stock
*weird*
EDIT: unlocked, flashed bootloader again and relocked, but message keeps.
Click to expand...
Click to collapse
Hi? have you tried this https://forum.xda-developers.com/g6-plus/how-to/2-returning-to-stock-t3854243 ?

I can't flash stock rom with Mi flash tool.please help!!!!!!

Hello guys i am currently on 10.0.2.0.PDIMIFJ. I enabled camera 2 api and was unable to update my phone as i messed up with build.prop file.So now when i wanted to flash my device via mi flash tool this shows up (error:."Flash devcfg_a error")
I even tried this code (fastboot flashing unlock_critical) before flashing via mi flash tool and this shows up (FAILED (remote: Flashing Unlock is not allowed
)) . And i even tried to boot into edl mode but eventually this shows up (FAILED (remote: Device is already locked!)
finished. total time: 0.005s)
Please guys help me to flash my device to latest update.I tried every single stock firmwares.
Thanks In Advance
And sorry for my bad english

Have I bricked my 9t Pro (Global)

Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
Code:
downloading 'boot.img'...
OKAY [ 1.398s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.408s
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
raddest said:
Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
Click to expand...
Click to collapse
Needs flashing images manually from adb
EpickBroVlad said:
Needs flashing images manually from adb
Click to expand...
Click to collapse
I've flashed boot.img logo.img dtbo.img vbmeta.img through fastboot. Haven't done anything through ADB though. Can you give more details please?
edit: I've just tried adb reboot tw.img (tw being the TWRP) and I got this;
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot tw.img
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
error: no devices/emulators found
edit 2: Also worth noting, I'm pretty sure I never enabled USB debugging before all of this...
raddest said:
I've flashed boot.img logo.img dtbo.img vbmeta.img through fastboot. Haven't done anything through ADB though. Can you give more details please?
edit: I've just tried adb reboot tw.img (tw being the TWRP) and I got this;
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot tw.img
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
error: no devices/emulators found
Click to expand...
Click to collapse
I've messed my Mi9t by wiping presist and system partitions and as a cherry on top I've flashed stable of xiaomi.eu miui 11 based on android 10 on beta xiaomi.eu miui 10 based on android 9. Partition table was messed and phone was done... Even miflash didn't helped.
raddest said:
Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
Code:
downloading 'boot.img'...
OKAY [ 1.398s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.408s
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
Click to expand...
Click to collapse
If you have access to fastboot then you haven't killed it. You need to use MiFlash and try different official fastboot ROMS until you get the same as it came with (same rom not neccessarily same version number). Make sure you flash using "clean all and flash" and DON'T select lock.
Eventuallly one will work, you may have to try diffent versions of MiFlash and different ROMS but stick with it.
Also put the IMIE from the box it came in, into the Xiaomi authenticator site and if it's in Chinese, stick to chinese roms.
Your phone's only bricked if you can't access fastboot... something I once did to a Mi8 Pro.
reboot on fastboot
download first FASTBOOT ROM for your china version (Miui 10)
download miflash
install this rom throough miflash
regards
pjcarrmole said:
If you have access to fastboot then you haven't killed it. You need to use MiFlash and try different official fastboot ROMS until you get the same as it came with (same rom not neccessarily same version number). Make sure you flash using "clean all and flash" and DON'T select lock.
Eventuallly one will work, you may have to try diffent versions of MiFlash and different ROMS but stick with it.
Also put the IMIE from the box it came in, into the Xiaomi authenticator site and if it's in Chinese, stick to chinese roms.
Your phone's only bricked if you can't access fastboot... something I once did to a Mi8 Pro.
Click to expand...
Click to collapse
Is there any particular version of miflash that will work? When I try to run the latest (MiFlash20181115) I get the messages to 'Please install driver'. I click install, and it gives me errors. I'll attach what I'm seeing. I'll try different versions of miflash.
edit: Ok I've tried a different version of Miflash which doesn't throw driver errors at me when I install it. It can detect my phone in fastboot mode. I guess I need a list of mi 9t pro global fastboot roms. I'm looking for that. I've downloaded miui_RAPHAELGlobal_V10.3.3.0.PFKMIXM_67fb825970_9.0.zip but I'm pretty sure that's a regular ROM. I'm going to google 'mi 9t pro global fastboot rom' and see what I can find. Thanks!
Hopefully this works. Will it re-lock my bootloader if I select 'clean all' only?
raddest said:
Is there any particular version of miflash that will work? When I try to run the latest (MiFlash20181115) I get the messages to 'Please install driver'. I click install, and it gives me errors. I'll attach what I'm seeing. I'll try different versions of miflash.
edit: Ok I've tried a different version of Miflash which doesn't throw driver errors at me when I install it. It can detect my phone in fastboot mode. I guess I need a list of mi 9t pro global fastboot roms. I'm looking for that. I've downloaded miui_RAPHAELGlobal_V10.3.3.0.PFKMIXM_67fb825970_9.0.zip but I'm pretty sure that's a regular ROM. I'm going to google 'mi 9t pro global fastboot rom' and see what I can find. Thanks!
Hopefully this works. Will it re-lock my bootloader if I select 'clean all' only?
Click to expand...
Click to collapse
I'm guessing you may have a China rom if it's an 8gb version and definitely if it's 8gb/256gb. Latest fastboot roms can be found here:
https://xiaomifirmwareupdater.com/miui/raphael/
I'd try the latest of any rom with clean all. DO NOT SELECT CLEAN ALL AND LOCK unless you're sure its' the original rom variant that came with the phone.
PS I have the China rom, debloated and with all google goodness and it's easy to do, if you ever wanted to relock the bootloader in the future for google play.
Probably disable driver signature in Windows or an older version of me flash ( can't recall what i have since my laptop is semi dead ) , and make sure you actually install those drivers ( about 5 of them ) .
SOLVED
Ok, here's the fix that worked for me.
The latest Miflash didn't work, it's the portable version (I think) so it didn't come with the drivers and didn't run. I downloaded the next miflash which was MiFlashSetup_eng.msi. I can't find the download link at the moment, but it was an install package not the .zip with the contents.
Next, I found the global fastboot rom, which was called raphael_eea_global_images_V10.3.1.0.PFKEUXM_20190723.0000.00_9.0_eea_f70f6415ea.tgz (3.2gb).
From fastboot I ran the XiaoMiFlash.exe. I moved the fastboot rom to the same root folder of the flash program. Pointed it to the folder the fastboot rom was in, and clicked flash. Don't forget to select 'clean all' not 'clean all and lock' from the app.
That was it, and it worked. After it flashed everything (took a bit of time) I unlocked my phone again using mi unlock app. Installed TWRP, and DID NOT do advance flash, just left it on the default stuff. Did that, and am now using pixelexperience 9.0.
Again, thanks to everyone for replying, I'll be clicking thanks. I hope this helps anyone else in the same situation as I was. If you need any more information, please don't hesitate to post here.
Thanks,
Raddest

HELP:My phone bricked after update system to miui 11.0.2.0

My mi 8se is unlocked and twrp is installed the before.
My phone stuck at fastboot after update,
neither miflash or flashing twrp is worked.
miflash shows error message “ error:FAILED (remote: Check device console.)”
flashing twrp or boot image are failed.
shows the message FAILED( remote: Error flashing partition : Device Error )
I need help to solve this issue.
solved
problem solved by flashing system.img and boot.img.
however twrp cannot be flashed, still return error message in miui 11.0.2.0 china rom.
I have the same problem with Mi8 SE
hello i'm desperate The same thing happened to me when updating android 11.0.2 China. I tried flashing system and boot (are they come in android rom fastboot type?) but I get the error in CMD
“FAILED <remote: Error flashing partition“: write Protected>
I have the bootloader unlocked. hope help me please

Need help cannot re-install twrp or flash to stock rom

Hi everybody
Tried to install a custom rom on my device and it has turned out to be a disaster. I'm completely stuck and have no idea what to do next. Tried everything i could find but i keep having the following problem.
Device: mi k20 davinci
Bootloader: unlocked
TWRP file: twrp-3.3.1-0-davinci.img
ROM: davinci_global_images_V11.0.4.0.QFJMIXM_20200117.0000.00_10.0_global_4c094d085a
TWRP had been succesfully installed but i broke it somehow and now i'm back in the fastboot mode. When trying to re-flash and boot twrp i recieve the following error:
"FAILED (remote: Failed to load/authenticate boot image: Load Error)"
If i try to flash the stock ROM with the miflash tool i receive the error
"Antirollback check error" "error"
if possible i just want to go back to stock and forget about this for now
Post it in K20 and not K20 Pro section.
I didn't know K20 had antirollback protection. Maybe try to flash a newer miui version, maybe a beta ?
Have you also tried "fastboot boot twrp.img" ?
oldbait said:
Hi everybody
Tried to install a custom rom on my device and it has turned out to be a disaster. I'm completely stuck and have no idea what to do next. Tried everything i could find but i keep having the following problem.
Device: mi k20 davinci
Bootloader: unlocked
TWRP file: twrp-3.3.1-0-davinci.img
ROM: davinci_global_images_V11.0.4.0.QFJMIXM_20200117.0000.00_10.0_global_4c094d085a
TWRP had been succesfully installed but i broke it somehow and now i'm back in the fastboot mode. When trying to re-flash and boot twrp i recieve the following error:
"FAILED (remote: Failed to load/authenticate boot image: Load Error)"
If i try to flash the stock ROM with the miflash tool i receive the error
"Antirollback check error" "error"
if possible i just want to go back to stock and forget about this for now
Click to expand...
Click to collapse
Flash Fastboot ROM through Command Prompt. https://in.c.mi.com/thread-334-1-1.html?t=1586384142148

Categories

Resources