[GUIDE] OOS v4.0.3 ---> FLASH & ROOT STOCK -OR- CUSTOM ROM WITH EASE & CORRECTLY

Did this guide solve your issues?

  • Yes!

    Votes: 44 81.5%
  • No!

    Votes: 2 3.7%
  • More information needed in it

    Votes: 6 11.1%
  • Nope. I used a different guide

    Votes: 1 1.9%
  • Both options 3 and 4

    Votes: 1 1.9%

  • Total voters
    54

dbabaev21

Senior Member
Jan 3, 2017
186
123
0
If i just flash again 4.0.2 over 4.0.2 what do you think is going to happen? Will it wipe everything or just do nothing?

---------- Post added at 09:20 PM ---------- Previous post was at 09:20 PM ----------


This still didn't work
If you just flash OOS v4.0.2, it will reinstall the OS (it won't touch your personal files).
I think it will not make the dm-verity issue to be gone.
Therefore, backup your data, go to stock recovery and wipe everything. Then, sideload OOS v4.0.2
 

Explorer23

Senior Member
Jan 31, 2013
834
466
0
Koper
If you just flash OOS v4.0.2, it will reinstall the OS (it won't touch your personal files).
I think it will not make the dm-verity issue to be gone.
Therefore, backup your data, go to stock recovery and wipe everything. Then, sideload OOS v4.0.2
No need for those complicated solutions including flashing a lot of stuff ... A better way of removing dm-verity error has been found. Just use a simple command "fastboot oem enable_dm_verity" and it's gone :)

Sent from my OnePlus 3 using Tapatalk
 

bellasghi64

Member
Jan 26, 2017
6
2
0
If you just flash OOS v4.0.2, it will reinstall the OS (it won't touch your personal files).
I think it will not make the dm-verity issue to be gone.
Therefore, backup your data, go to stock recovery and wipe everything. Then, sideload OOS v4.0.2
Ok, i'll try tomorrow ad i will let you know if it worked properly. Thank you!
 
  • Like
Reactions: dbabaev21

dbabaev21

Senior Member
Jan 3, 2017
186
123
0
No need for those complicated solutions including flashing a lot of stuff ... A better way of removing dm-verity error has been found. Just use a simple command "fastboot oem enable_dm_verity" and it's gone :)

Sent from my OnePlus 3 using Tapatalk
You're correct, but he said that it didn't work for him.
 

Alex-Absolute

Senior Member
Dec 4, 2009
151
16
0
Rooting Stock Nougat Without Wipe

Hello guys, I have updated my Oneplus 3 to Nougat and by doing so I have lost root privileges (I knew it would happen) and TWRP recovery (I had to flash the stock to update). If there any way of following this procedure without getting the dreaded DM-Verity error and without a full wipe?

Thanks in advance!
 
  • Like
Reactions: dbabaev21

dbabaev21

Senior Member
Jan 3, 2017
186
123
0
Hello guys, I have updated my Oneplus 3 to Nougat and by doing so I have lost root privileges (I knew it would happen) and TWRP recovery (I had to flash the stock to update). If there any way of following this procedure without getting the dreaded DM-Verity error and without a full wipe?

Thanks in advance!
You can go to section D (FLASHING AND ROOTING STOCK OOS OR UNROOT) and begin from #13.
Also, use Official Unreleased TWRP v3.0.4-0

Good luck!
 

zerotre

Member
Jan 7, 2006
16
1
0
Thanks a lot for the guide, i'd the 3.2.6, i've followed the guide, installed stock recovery, sideloaded 4.0.2 checked the File system as f2fs, then i've fastboot load the TWRP 3.04-1, and voila', the DM_VERITY boot screen, how to resolve that?

in twrp i've allowed the modification, so i've triggered the dm-verity, so now it's normal to have this advice? I'm rooted now and the system seems ok, i've read that i've to decrypt the data to put the dm advice off, but if all works normal it's safe to leave the dm-verity triggered? Also my bank app works normal...

thanks again
 
Last edited:
  • Like
Reactions: dbabaev21

Stefa.

Senior Member
May 6, 2011
722
319
0
Thanks @dbabaev21 for this awesome work! This is exactly the type of guide I was looking for in the last three weeks in order to make once for all things clear :eek:
All this encryption & and /data format are new to me and I was not able to find something that explained this relations beetween this things and the "daily flashing" things until today! Very thanks for your hard work, awesome, really awesome :highfive:

Just a question in order to see if now I have understood "how things works" with all this new features.
I have got a OnePlus 3T and my goal is, using MultiRom, to install FreedomOS as second ROM (I am starting from stock OxygenOS 4.0.2 with stock recovery).
The process is very clear to me because thanks to this guide I now perfectly know WHAT and HOW to do things.. what I am still minding is about "side effects" of things. For example, regarding encryption.. are operations like Recovery flashing or "second ROM flashing" going to have any impact on this?

My idea of "steps to follow" is:
0. Unlock bootloader
1. Unencrypt the phone (only because I know that MultiRom works only with unencryption) and change /data file format to "F2FS" [B - PROCEDURE (CHANGING FILE SYSTEM FORMAT AND ENCRYPTING OR DECRYPTING YOUR DEVICE) until step 7] because from what I understood Nougat requires/works better with this format
2. Flash custom TWRP recovery (Having performed step 1 it should be safe for me to "Swipe right to allow modifications" right? In this case I don' need any "no-verity-stuff" to flash right? :) )
[3. Root my first Rom flashing SuperSu (Only for my pleasure :D )]
4. Flash MultiRom (Doing this I should not lose the work done on step 1. right? )
5. Flash Second/Third Rom/s (Again, doing this I should not lose the work done on step 1. right?)


As you can see from my questions most of doubts are related to enryption and file formats :( With orther things I am familiar and in good relations :D

Thanks in adavance to all for any help!
 
  • Like
Reactions: dbabaev21

laupuy

Senior Member
Jul 26, 2015
1,854
2,058
153
dans tes 22
with oos 4.0.3 root is not working tried every super su version after clean flash. there is something wrong with it
Hi,
it's ok for me
dirty flash (wipe cache, dalvik and system) over openbeta 11 with twrp by eng.stk v15 rom and supersu stable 2.79 but don't wipe cache/dalvik after su because I've lost twrp and su, need to fastboot twrp then flash su again
@+
 

Facebooook

Senior Member
Dec 24, 2009
265
21
38
Katni
Hi,
it's ok for me
dirty flash (wipe cache, dalvik and system) over openbeta 11 with twrp by eng.stk v15 rom and supersu stable 2.79 but don't wipe cache/dalvik after su because I've lost twrp and su, need to fastboot twrp then flash su again
@+
I am on 4.0.2 rooted eng. V15 twrp...
My step...
1 Reboot to recovery and take backup.
2 wipe cache & dalvik
3 flash 4.0.3 full rom
4 flash supersu stable
5 reboot to recovey
6 reboot system
Every thing working fine no dm issue root working.
 

geenyous

Inactive Recognized Themer
Oct 20, 2007
1,785
853
0
Shanghai
Decryption unsuccessful

Coming from a rooted 3.2.8 and TWRP 3.0.2-1, rest all stock, I followed your guide from A, when after flashing the stock recovery and wiping everything, I get greeted with a "Decryption unsuccessful - the password that you entered is correct, but unfortunately your data is corrupt" blabla message.
I am not sure what that is, but quite sure it's not the DM verity problem. Anyway, I only realized later, that I could have skipped A and go straight to D, but I don't think that this caused my problem.

I can't do anything with that message, other than rebooting my phone.
EDIT: What I mean by that is that pressing the "Factory Reset" button provided below that message, didn't do the trick, neither did various manual full wipes in the 2.0 stock recovery.

I tried to ignore it and sideload the 403 update, but I can't sideload (it says's "can't read"). I am very sure I have USB Debugging enabled, but naturally can't check now.
I then flashed TWRP back and copied into sdcard, but when going back to stock recovery, it doesn't do anything when I press "install from internal".
When I copied my TWRP backup back to the TWRP folder, I can't select it, because it's not there. The file manager of TWRP does show it however?!

Anyway, I will now try to do various recovery procedures to get the phone running again, but I thought I'll post here in the meantime, in case anyone has an idea.
Thanks in advance!

UPDATE:
In the 1.0 stock recovery, the wipe worked and I am up and running again!
I still can't sideload, but will try to flash from internal now in 2.0 (not possible in 1.0 as it seams...). Stay tuned.
 
Last edited:

Petesky

Senior Member
Jun 17, 2008
412
26
58
I'm on 4.0.2 rooted with blu spark twrp recovery , do I need to download the full 4.0.3 rom to flash ?,
I already downloaded the incremental OTA 91mb , can I just flash this in twrp then reinstall SU , not to sure
about this as everyone seems to be flashing whole rom

Just done a dirty flash with the full update and it's working fine,
Strange thing happened in twrp (I'm using blu spark v15) I got a message saying
unable to mount storage , but it obviously was mounted as I was able to flash
ok
 
Last edited: