• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

How to disable dm-verity?

Search This thread

cl3izv

Member
Jan 22, 2021
12
0
1634178691946.png


I found this in twrp official web site. I guess this is the reason that every time i try to install twrp and after that, my device get bootloop.
So how can i disable dm-verity?
(Sorry, my English may bad because we don't use that in our country)
 

cl3izv

Member
Jan 22, 2021
12
0
Here is the file you need to flash it
Thanks you, but one more thing i need to ask
I tried many times to install LineageOS 18.1 with zip file (by twrp of course). I found out that my phone is a/b device, so i search on youtube "install custom rom on a/b devices" and follow step by step. But nothing happend, twrp still warn "no OS installed" and bootloop everytime :(
Please, if you know something :( i really want to use Lineage
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
1634178691946.png


I found this in twrp official web site. I guess this is the reason that every time i try to install twrp and after that, my device get bootloop.
So how can i disable dm-verity?
(Sorry, my English may bad because we don't use that in our country)
Everytime you install any custom ROM you always need to change slot .if you flash on a then switch to b and if flash on b switch to a
 

cl3izv

Member
Jan 22, 2021
12
0
Everytime you install any custom ROM you always need to change slot .if you flash on a then switch to b and if flash on b switch to
i read your cmt about twrp, but yes, i use that twrp 3.4.0 file too but i got some problem

After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s

Im stuck on android one screen

But when i return to download mode, i type:
fastboot flash recovery twrp-3.4.0-0-PL2_sprout.img (alway getting error)
fastboot boot twrp-3.4.0-0-PL2_sprout.img

I can go to twrp screen normally

Do you got any idea?
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
i read your cmt about twrp, but yes, i use that twrp 3.4.0 file too but i got some problem

After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s

Im stuck on android one screen

But when i return to download mode, i type:
fastboot flash recovery twrp-3.4.0-0-PL2_sprout.img (alway getting error)
fastboot boot twrp-3.4.0-0-PL2_sprout.img

I can go to twrp screen normally

Do you got any idea?

Fastboot flash boot twrp.img
Fastboot reboot

It will take to TWRP now flash the lineage 18.1 and after flashing it successful with no errors change slot to b or a depends on which you flash lineage 18.1 and you will successful boot in lineage 18.1


If still failed i will try to make a full video of whole procedure by tomorrow morning
i read your cmt about twrp, but yes, i use that twrp 3.4.0 file too but i got some problem

After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s

Im stuck on android one screen

But when i return to download mode, i type:
fastboot flash recovery twrp-3.4.0-0-PL2_sprout.img (alway getting error)
fastboot boot twrp-3.4.0-0-PL2_sprout.img

I can go to twrp screen normally

Do you got any idea?

i read your cmt about twrp, but yes, i use that twrp 3.4.0 file too but i got some problem

After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s

Im stuck on android one screen

But when i return to download mode, i type:
fastboot flash recovery twrp-3.4.0-0-PL2_sprout.img (alway getting error)
fastboot boot twrp-3.4.0-0-PL2_sprout.img

I can go to twrp screen normally

Do you got any idea?
Fastboot flash boot twrp.img

Fastboot reboot



It will take to TWRP now flash the lineage 18.1 and after flashing it successful with no errors change slot to b or a depends on which you flash lineage 18.1 and you will successful boot in lineage 18.1





If still failed i will try to make a full video of whole procedure by tomorrow morning


Don't flash dm verification file here np needed just install twrp boot tp twrp flash lineage and change boot slot and boom enjoy 18.1
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
i read your cmt about twrp, but yes, i use that twrp 3.4.0 file too but i got some problem

After fastboot boot twrp-3.4.0-0-PL2_sprout.img
Sending 'boot.img' (42412 KB) OKAY [ 1.206s]
Booting OKAY [ 5.049s]
Finished. Total time: 6.466s

Im stuck on android one screen

But when i return to download mode, i type:
fastboot flash recovery twrp-3.4.0-0-PL2_sprout.img (alway getting error)
fastboot boot twrp-3.4.0-0-PL2_sprout.img

I can go to twrp screen normally

Do you got any idea?
I have another idea.i tried it before . don't install twrp simple go impulsion lineage and download lineage boot.img I mean lineage recovery .if you have SD card copy lineage on SD and after installing lineage recovery with these commands with adb

Fastboot flash boot lineage recovery.img
Fastboot reboot



And now in lineage recovery go to update and select lineage file and flash it after flashing in done simple reboot to lineage
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
here the commands while i was flashing twrp on my mobile

C:\Users\480\OneDrive\Desktop\platform-tools>fastboot flash boot abc.img
Sending 'boot_b' (42412 KB) OKAY [ 4.609s]
Writing 'boot_b' OKAY [ 0.344s]
Finished. Total time: 12.000s

C:\Users\480\OneDrive\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.031s

C:\Users\480\OneDrive\Desktop\platform-tools>
 

cl3izv

Member
Jan 22, 2021
12
0
here the commands while i was flashing twrp on my mobile

C:\Users\480\OneDrive\Desktop\platform-tools>fastboot flash boot abc.img
Sending 'boot_b' (42412 KB) OKAY [ 4.609s]
Writing 'boot_b' OKAY [ 0.344s]
Finished. Total time: 12.000s

C:\Users\480\OneDrive\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.031s

C:\Users\480\OneDrive\Desktop\platform-tools>
when i flash stock rom, it's andoird 8.1 and i don't update to android 10

fastboot flash boot abc.img
Sending 'boot_a' (42412 KB) OKAY [ 4.609s]
Writing 'boot_a' OKAY [ 0.344s]
Finished. Total time: 6s

fastboot reboot

Then it's stuck on logo

But when i flash stock again and update to android 10, it's like what i said
 

cl3izv

Member
Jan 22, 2021
12
0
I don't know why my device is harder than any other :( or i have wrong on any step :( but it doesn't like any tutorial video on youtube
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
in this i used pixel experienced recover and pixel experienced rom andriod 11 . same procedure for lineage 18.1

here is CMD PROCESSSING


C:\Users\480\OneDrive\Desktop\platform-tools>fastboot flash boot C:\Users\480\OneDrive\Desktop\boot.img
Sending 'boot_a' (37309 KB) OKAY [ 1.205s]
Writing 'boot_a' OKAY [ 0.300s]
Finished. Total time: 2.035s

C:\Users\480\OneDrive\Desktop\platform-tools>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.011s
 

cl3izv

Member
Jan 22, 2021
12
0
WAO dude, i really did it, it working :) Very helpful, thank you
and how about twrp and gapps? should i install Disable Force encryption again?
 

zuhaibsarwar

Senior Member
Apr 15, 2015
214
29
27
Lahore
www.zuhaibsarwar.website
WAO dude, i really did it, it working :) Very helpful, thank you
and how about twrp and gapps? should i install Disable Force encryption again?
dont try to install twrp .i tried to install twrp permanently many times but always failed always bootloop . dont flash disable force . flash gapps using lineage recovery only and you can flash magisk too
 
  • Like
Reactions: cl3izv

Top Liked Posts