Fastboot unknown option --dm verity - Realme 7 Questions & Answers

Hello Everyone
Last time i flashed the command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
And
fastboot flash boot magisk_patched.img
And my phone was rooted successfully
But i unrooted it again....
And now when i try to root and enter command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img it says unknow option --dm verity ......
Help me out pls

narayan chetri said:
Hello Everyone
Last time i flashed the command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
And
fastboot flash boot magisk_patched.img
And my phone was rooted successfully
But i unrooted it again....
And now when i try to root and enter command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img it says unknow option --dm verity ......
Help me out pls
Click to expand...
Click to collapse
RMX2155 or 2MX2151?

OrthodoxOxygen said:
RMX2155 or 2MX2151?
Click to expand...
Click to collapse
RMX 2151 bro

OrthodoxOxygen said:
RMX2155 or 2MX2151?
Click to expand...
Click to collapse
I have the same issue, could you help?

narayan chetri said:
RMX 2151 bro
Click to expand...
Click to collapse
yoboy44 said:
I have the same issue, could you help?
Click to expand...
Click to collapse
Did you make sure that USB debugging was turned on via the developer settings?
Try this guide, maybe:
OnePlus Community
Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.
forums.oneplus.com
Lemme know if it works.

Do you use the newest version of adb & fastboot? (older version had problem with the parameter)
Are you sure that verity is not disabled already? (try it without the parameter)

I have the same problem in when i try in Windows Power Shell.
I open cmd as administrator and start working for me .
Hope this can help to someone .

HeiloWorid said:
I have the same problem in when i try in Windows Power Shell.
I open cmd as administrator and start working for me .
Hope this can help to someone .
Click to expand...
Click to collapse
Didn't work for me

KillSkill said:
Didn't work for me
Click to expand...
Click to collapse
Flashing a blank vbmeta does the trick, don't need of a special command.

narayan chetri said:
Hello Everyone
Last time i flashed the command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
And
fastboot flash boot magisk_patched.img
And my phone was rooted successfully
But i unrooted it again....
And now when i try to root and enter command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img it says unknow option --dm verity ......
Help me out pls
Click to expand...
Click to collapse
YOU HAVE TO USE FASTBOOT FROM ANDROID PLATFORM TOOLS FOR WINDOWS
SDK Platform Tools release notes | Android Studio | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.
developer.android.com
here's its direct link :
https://dl.google.com/android/repository/platform-tools_r33.0.1-windows.zip

HeiloWorid said:
I have the same problem in when i try in Windows Power Shell.
I open cmd as administrator and start working for me .
Hope this can help to someone .
Click to expand...
Click to collapse
Thank you so much. This actually helped me rooting my Oneplus 7 Pro with Magisk instructions. I was using Powershell, but got the error "unknown option -- disable-verity".
It worked in CMD.
Thanks!

snsgn said:
It worked in CMD.
Click to expand...
Click to collapse
I've always had a sneaking distrust of Powerhell and its pedantic error messages.
I presume that these problems are a case of cmd and PS finding different versions of fastboot.
Just run fastboot --version in both to see if they are different.
A separate topic
In Windows and in Linux the default argument handling is based on the C language.
That means that fastboot flash recovery recovery.img gets changed to an array of 4 strings.
There is quoting and escaping and evaluation going on there too.
Windows has the GetCommandLine() which returns the command line as a single string.
This all sounds good, but a program can be executed in code with an array of strings too and the "command line" has to be manufactured after the fact.
This can lead to some complicated differences.
I think it's best to ignore that GetCommandLine() even exists.
Also, I noticed a peculiarity about GetCommandLine().
In cmd fastboot flash recovery recovery.img gets turned into:
C:\Dir\Subdir\fastboot.exe flash recovery recovery.img,
while PS turns it into:
"C:\Dir\Subdir\fastboot.exe" flash recovery recovery.img
Even when there are no spaces in the path.
Undoubtedly this breaks some Windows programs using GCL.
OTOH, adb and fastboot stick to straight C language handling, so this is not that.

Related

[ROM][STOCK] Moto X4 Oreo 8.0.0 w/ February Patch

Hello, this is the Retail ROM, not A1, for Moto X4 with February security patch already applied.
OPWS27.2.1 (Google Drive)
mfastboot w/ script to flash (Google Drive)
CLOSED PER OP REQUEST
Thanks! How did you extract the partition images from the phone?
steveeJ said:
Thanks! How did you extract the partition images from the phone?
Click to expand...
Click to collapse
I didn't extract, this ROM is from Motorola server, I posted it on another topic here.
abrfilho said:
I didn't extract, this ROM is from Motorola server, I posted it on another topic here.
Click to expand...
Click to collapse
Been looking for those details but can't find the post - could you point me there please? TIA!
rkleinhenz said:
Been looking for those details but can't find the post - could you point me there please? TIA!
Click to expand...
Click to collapse
I posted here: https://forum.xda-developers.com/moto-x4/help/stock-rom-moto-x4-february-patch-t3762458/post75917151
hey, i have problem, when i try to use the script it's showing an error in cmd "mfastboot is not recognized as an internal or external command operable program or batch file", so i tried the other flash comand set
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash boot boot.img
fastboot flash logo logo.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
and the only thing it shows it's "<waiting for device>" at the first command, i have the reteu XT1900-7, and i saw one man on the forum who had the exact same phone ( tmobile soft) and he had no problems, i followed his steps very carefully, what can i do for now?
Cisencjusz said:
hey, i have problem, when i try to use the script it's showing an error in cmd "mfastboot is not recognized as an internal or external command operable program or batch file", so i tried the other flash comand set
and the only thing it shows it's "<waiting for device>" at the first command, i have the reteu XT1900-7, and i saw one man on the forum who had the exact same phone ( tmobile soft) and he had no problems, i followed his steps very carefully, what can i do for now?
Click to expand...
Click to collapse
For the command mfastboot to run it's required the mfastboot file, I'll check if I posted it correctly.
To flash you need the drivers installed and extract the ROM files in the same folder as the mfastboot and script, after that you turn off your phone and start it in fastboot mode, connect to the computer and run the script.
Edit: I checked and everything is fine.
Cisencjusz said:
hey, i have problem, when i try to use the script it's showing an error in cmd "mfastboot is not recognized as an internal or external command operable program or batch file", so i tried the other flash comand set
and the only thing it shows it's "<waiting for device>" at the first command, i have the reteu XT1900-7, and i saw one man on the forum who had the exact same phone ( tmobile soft) and he had no problems, i followed his steps very carefully, what can i do for now?
Click to expand...
Click to collapse
Please start the computer again and reset the USB debugging and close all other fast boot stuff. To do this, restart the script alone and if that does not work I'll try to reconstruct that. I also have a reteu 1900-7 version and also the february version on it with root and xposed and much more if you want to write in german we can do it privately.
abrfilho said:
For the command mfastboot to run it's required the mfastboot file, I'll check if I posted it correctly.
To flash you need the drivers installed and extract the ROM files in the same folder as the mfastboot and script, after that you turn off your phone and start it in fastboot mode, connect to the computer and run the script.
Edit: I checked and everything is fine.
Click to expand...
Click to collapse
dimdom1919 said:
Please start the computer again and reset the USB debugging and close all other fast boot stuff. To do this, restart the script alone and if that does not work I'll try to reconstruct that. I also have a reteu 1900-7 version and also the february version on it with root and xposed and much more if you want to write in german we can do it privately.
Click to expand...
Click to collapse
thanks guys, i reinstalled the motorola drivers, changed usb from 3.0 to 2.0, reenabled usb debugging, and everything works like a charm! manty thanks to you. i cant wait for RR custom rom :fingers-crossed::laugh:
Hi guys! Any of you have a IMG of Moto X4? My device was bricked and i need make a bootable SD Card, if any of you have upload for me on Mega or on GDrive please! Thank You All!!
abrfilho said:
Hello, this is the Retail ROM, not A1, for Moto X4 with February security patch already applied.
Click to expand...
Click to collapse
The link is broken, is it possible to reupload? (or is there another link to this rom?)
Thanks
boppy7 said:
The link is broken, is it possible to reupload? (or is there another link to this rom?)
Thanks
Click to expand...
Click to collapse
I searched here at my computer and didn't find the file, here at XDA there's a post with the April Retail ROM with Oreo 8.0 and you can find the Retail ROM with Oreo 8.1 at androidfilehost.

Guide for rooting RUI 2.0 (c08 - c09)

For routing rui 2.0 c08 or c09 (for other version just ask) :
flash patched boot.img and vbmeta stock :
enable usb debug and mtp transfert files then type commands bellow :
adb reboot bootloader
fastboot fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patcheedboot.img
fastboot reboot.
Enjoy rooted rui 2.
How to root c.07?
moreno123 said:
How to root c.07?
Click to expand...
Click to collapse
send stock boot
albatron34000 said:
send stock boot
Click to expand...
Click to collapse
How?
moreno123 said:
How?
Click to expand...
Click to collapse
reboot to recovery
adb root
adb pull /dev/block/by-name/boot boot.img
(boot.img you will find it in same folder where you exec adb cmds)
albatron34000 said:
reboot to recovery
adb root
adb pull /dev/block/by-name/boot boot.img
(boot.img you will find it in same folder where you exec adb cmds)
Click to expand...
Click to collapse
here is the boot.img
moreno123 said:
here is the boot.img
Click to expand...
Click to collapse
I think you forgot to add the reply
patched boot
moreno123 said:
I think you forgot to add the reply
Click to expand...
Click to collapse
patched boot c07
patched boot c07. report if not working.
albatron34000 said:
patched boot c07. report if not working.
Click to expand...
Click to collapse
Thankyousomuch, It works!
thank you for your guide I really appreciate it. Could you please advice how to unlock bootloader if I have realme 7 with A11 and rui 2.0 c08? DeepTest apk tells that my phone is not supported. Thank you
albatron34000 said:
For routing rui 2.0 c08 or c09 (for other version just ask) :
flash patched boot.img and vbmeta stock :
enable usb debug and mtp transfert files then type commands bellow :
adb reboot bootloader
fastboot fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patcheedboot.img
fastboot reboot.
Enjoy rooted rui 2.
Click to expand...
Click to collapse
albatron34000 said:
For routing rui 2.0 c08 or c09 (for other version just ask) :
flash patched boot.img and vbmeta stock :
enable usb debug and mtp transfert files then type commands bellow :
adb reboot bootloader
fastboot fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot flash boot patcheedboot.img
fastboot reboot.
Enjoy rooted rui 2.
Click to expand...
Click to collapse
Hello, I did the process and now I can't enable Wi-Fi, do you know any solution? I hope you can help me.
I need help with this: https://forum.xda-developers.com/t/...ating-it-to-android-12-realme-ui-3-0.4474699/

Vbmeta flashing failed

Hello everyone !
I am a realme 7 user and I was trying to root my phone. But when i flashed vbmeta using the command "fastboot --disable-verity--disable-verfication flash vbmeta vbmeta.img " but it says unknown action
I have seen many users solving their problem by using the command fastboot flash vbmeta vbmeta.img
Can can I use the same command to root my device ?
Narayanxtry said:
Hello everyone !
I am a realme 7 user and I was trying to root my phone. But when i flashed vbmeta using the command "fastboot --disable-verity--disable-verfication flash vbmeta vbmeta.img " but it says unknown action
I have seen many users solving their problem by using the command fastboot flash vbmeta vbmeta.img
Can can I use the same command to root my device ?
Click to expand...
Click to collapse
I have also the same problem did you solve it bro?
vassiliszacharis said:
I have also the same problem did you solve it bro?
Click to expand...
Click to collapse
You mean at DELVIK etc? I think the first time I did it yes.
Also I was wondering if I am making a mistake, when I tried to install TWRP, I used this command:
fastboot flash boot path to patched boot img
instead of this
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
as it was not recognised by ADB...

General Think I've softbricked my Pixel 6

I was trying to rootkit it, but on the last step I got locked in to a fastboot-loop, I eventually got out of it and was able to "install through ADB" through the OTA Oriole software.
Trying to rootkit it again, I messed up and got stuck on the same loop, but when I try to "install through ADB" the OTA file loads up 50% and I get the error "Current SPL 2021-11-05 Target SPL: 2021-10-05 this is considered a downgrade.
Denying SPL because it's SPL downgrade" and it aborts the installation.
Now whenever I try to boot, I get a "your phone is corrupted" message, I press power to continue, I get a message "your phone security is compromised" in orange, than I press power and it hangs on the Google logo on a white screen.
I can still get in to fastboot and all the options.
No idea what to try next.
If I took it to where I bought it, would they send it off to Google and they can fix it? Or do I have a brand new $1150 paperweight?
Thanks for any help.....
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
vbmeta needs to be flashed like this when u are going to want to root. If u already installed the ota there is a thread with the November vbmeta. I think it was on the 6 Pro forums.
sille said:
fastboot flash --disable-verity --disable-verification vbmeta vbmeta.img
vbmeta needs to be flashed like this when u are going to want to root. If u already installed the ota there is a thread with the November vbmeta. I think it was on the 6 Pro forums.
Click to expand...
Click to collapse
Where do I run this from, recovery mode? Do I need any new files?
Glitchedz said:
Where do I run this from, recovery mode? Do I need any new files?
Click to expand...
Click to collapse
In fastboot. As I said. Depends what version you are on. The Oct vbmeta is in the firmware files on the Google image webpage. The November one Is in the 6 pro forums
sille said:
In fastboot. As I said. Depends what version you are on. The Oct vbmeta is in the firmware files on the Google image webpage. The November one Is in the 6 pro forums
Click to expand...
Click to collapse
Sorry, I'm new to this. Do you mean that just have fastboot open on my phone, and type that command into cmd? And where do I put the vbmeta files? Do you have a link to the vbmeta files? I can't find any.
Really really appreciate any help, would love to save the phone.....
Glitchedz said:
Do you have a link to the vbmeta files? I can't find any.
Click to expand...
Click to collapse
Normally you can find the file vbmeta.img inside the "full stock ROM" archive for your phone.
Princip_Loskuta said:
Normally you can find the file vbmeta.img inside the "full stock ROM" archive for your phone.
Click to expand...
Click to collapse
Your reply is 8 months late, but if he didn't figure it out back then he will know now.
Hey sorry,
I have Pixel 6A.
adb shell ls -l /dev/block/by-name shows me that it has vbmeta_a AND vbmeta_b partition.
Would be this right?
fastboot flash boot_ab magisk_patched-[random_strings].img
fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img https://forum.xda-developers.com/t/magisk-general-support-discussion.3432382/post-87413987
Most root-tutorials (except of Magisk-Homepage) for Pixel 6A doesn't even show anything about vbmeta-stuff.
ephemunch said:
Most root-tutorials (except of Magisk-Homepage) for Pixel 6A doesn't even show anything about vbmeta-stuff.
Click to expand...
Click to collapse
That is because, to the best of my knowledge, you no longer need to touch vbmeta in order to root.

How To Guide [Chinese Version] Install RMX3300 A.19 stock firmware from global

Disclaimer: I am not responsible for bricked devices, dead SD cards, etc!
Warning: I didn't test this procedure, I did backup the images from stock Chinese version before installing global version but I didn't flash it back. Please test at your own risks!
1. Make sure your bootloader is unlocked
2. Download the images provided in the link below
3. Boot your device to recovery (hold volume up and power until reboot)
4. Wipe data
5. Boot your device to bootloader (hold volume down and power until reboot)
6. Connect your device to PC (make sure you have installed fastboot on your PC)
7. From windows command prompt cd into the folder containing the images
8. Run the following commands to flash all images
Code:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash metadata metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
When flashing super.img, if you get the message Invalid sparse file format at header magic, this is fine.
9. You should then be able to boot into system
Stock RMX3300 Chinese images: https://mega.nz/folder/Ilk2CBwb#VMlU6A8wcFJVU0twOD6vTA
All Stock RMX3300 Chinese images (slot B was the correct one when it was backed up): https://mega.nz/folder/d1dxEBTa#nzKU4KuhnDcHjK7MX_D2eA
myogui said:
免責聲明:我不對設備變磚、SD 卡死等負責!
警告:我沒有測試這個程序,我在安裝全球版本之前備份了庫存中文版本的圖像,但我沒有將其閃回。請您自擔風險進行測試!
1.確保您的引導加載程序已解鎖
2.下載以下鏈接中提供的圖片
3.引導您的設備進行恢復(保持音量和電源直到重新啟動)
4.擦除數據
5.將您的設備引導至引導加載程序(按住音量和電源直到重新啟動)
6.將您的設備連接到PC(確保您已在PC上安裝了fastboot)
7. 從 windows 命令提示符 cd 進入包含圖像的文件夾
8.運行以下命令刷寫所有鏡像
Code:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash 元數據 metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
快速啟動 -w
刷新 super.img 時,如果您在 header magic 處收到 Invalid sparse file format 消息,這很好。
9.然後您應該能夠引導進入系統
庫存RMX3300中文圖片:https ://mega.nz/folder/Ilk2CBwb#VMlU6A8wcFJVU0twOD6vTA
All Stock RMX3300中文圖片(備份時槽B是正確的):https ://mega.nz/folder/d1dxEBTa#nzKU4KuhnDcHjK7MX_D2eA
Click to expand...
Click to collapse
非常感謝你, 我會嘗試
wronkians said:
非常感謝你, 我會嘗試
Click to expand...
Click to collapse
Good luck mate!
myogui said:
Disclaimer: I am not responsible for bricked devices, dead SD cards, etc!
Warning: I didn't test this procedure, I did backup the images from stock Chinese version before installing global version but I didn't flash it back. Please test at your own risks!
1. Make sure your bootloader is unlocked
2. Download the images provided in the link below
3. Boot your device to recovery (hold volume up and power until reboot)
4. Wipe data
5. Boot your device to bootloader (hold volume down and power until reboot)
6. Connect your device to PC (make sure you have installed fastboot on your PC)
7. From windows command prompt cd into the folder containing the images
8. Run the following commands to flash all images
Code:
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash metadata metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
When flashing super.img, if you get the message Invalid sparse file format at header magic, this is fine.
9. You should then be able to boot into system
Stock RMX3300 Chinese images: https://mega.nz/folder/Ilk2CBwb#VMlU6A8wcFJVU0twOD6vTA
All Stock RMX3300 Chinese images (slot B was the correct one when it was backed up): https://mega.nz/folder/d1dxEBTa#nzKU4KuhnDcHjK7MX_D2eA
Click to expand...
Click to collapse
I followed the steps to the letter. Still stuck in a bootloop
Moaz.Magdy said:
I followed the steps to the letter. Still stuck in a bootloop
Click to expand...
Click to collapse
I was stuck in bootloop too when I flashed the global version, try running the last 2 commands or wiping data from recovery then the last 2 commands again.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
myogui said:
I was stuck in bootloop too when I flashed the global version, try running the last 2 commands or wiping data from recovery then the last 2 commands again.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
Click to expand...
Click to collapse
Thanks! that did the trick. Finally running global version (from your other post) on chinese phone.
SirGustav said:
Thanks! that did the trick. Finally running global version (from your other post) on chinese phone.
Click to expand...
Click to collapse
Great to hear, congrats!
thanks mate
stuck on bootloop for me. i tried to run last 2 commands again, then it still stucks.
Addswes said:
stuck on bootloop for me. i tried to run last 2 commands again, then it still stucks.
Click to expand...
Click to collapse
I am so close tried the same and still bootlooping for me to
Well damn. Switching to the cable from the realme gt 2 pro box fixed it weirdly!
Ok so I now have a brick as it flashed global and tried to lock bootloader. Guess there is no way to fix? EDL mode?
wildlime said:
Ok so I now have a brick as it flashed global and tried to lock bootloader. Guess there is no way to fix? EDL mode?
Click to expand...
Click to collapse
Don't feel bad I made the same mistake. EDL mode is all you can do. In my case I had a person do it for me (unbrick device). Cost me 15 dollars.
robert3892 said:
Don't feel bad I made the same mistake. EDL mode is all you can do. In my case I had a person do it for me (unbrick device). Cost me 15 dollars.
Click to expand...
Click to collapse
What service did you use?
I used the person in post number 8 here:
MSM Downloaf Tool for realme GT 2 Pro
Does anyone know how to access this tool? This is ridiculous, realme has no useful tool to flash their phones and the one that is useful are impossible to access... The only one that I have access was one patched for some especific Oppo phone...
forum.xda-developers.com
wildlime said:
What service did you use?
Click to expand...
Click to collapse
PM me, I'll give you the cheapest one
thank you , any body help me reup to google drive or other
empty.cad said:
thank you , any body help me reup to google drive or other
Click to expand...
Click to collapse
Up, I need it too. @myogui can you reup to GDrive?
Use Mega , 50 GB for free
Can I use this to re-flash my global device? There are some bugs with my phone and a factory reset doesn't seem to fix it.

Categories

Resources