[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

Neoyoyo

New member
Jun 17, 2007
1
0
21
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
I was on 4.0.2 with official unreleased TWRP 3.0.4-1.
You need to download and flash the full 4.0.3 ROM, flashing only incremental OTA within TWRP will fail.
To synthesis, here are the steps I followed to update without any error (and no dm-verity) :
  1. Full backup via TWRP 3.0.4-1
  2. Boot in bootloader (VOL-UP + power)
  3. Connect OP3 and verify it's detected : command "fastboot devices"
  4. Flash stock recovery by running command "fastboot flash recovery recovery_op3.img"
  5. Disconnect the phone
  6. Use keys on phone (VOL-UP) to power off
  7. Boot in recovery (VOL-DOWN + power)
  8. Select English / Install from ADB / OK
  9. Connect OP3 and verify it's detected : command "adb devices"
  10. Flash 4.0.3 system by running command "adb sideload OnePlus3Oxygen_16_OTA_041_all_1702081756_0f1e56a75f.zip"
  11. Disconnect and boot system
  12. Reboot in bootloader (VOL-UP + power)
  13. Connect OP3 and verify it's detected : command "fastboot devices"
  14. Flash TWRP recovery by running command "fastboot flash recovery twrp-3.0.4-1-oneplus3.img"
  15. Disconnect
  16. !!!! USE VOLUME KEYS TO ENTER IN TWRP RECOVERY DIRECTLY !!!!
  17. Flash SuperSU (2.79-SR3 works fine for my case)
  18. Reboot to system
  19. Done !
 
Last edited:

geenyous

Inactive Recognized Themer
Oct 20, 2007
1,785
853
0
Shanghai
Hmm, I don't know why, but nothing seems to work for me.
Neither can I sideload, nor can I get rid of the dm-verity screen (that's all I noticed of that problem actually, but then again, also couldn't load TWRP yet) and I can't get TWRP to load.

I am trying with OOS 4.0.3, Stock Recovery 2.0, TWRP 3.0.4-1, nothing works (all files from here).
I had an ext4 thing after my previously mentioned disaster which I got out of through stock recovery 1.0, but doing the steps in B, my phone was never decrypted as the tutorial said, it just changed the filesystem to f2fs. After that I got the dm-verity screen.

Then I tried to reflash stockrecovery 2.0, wiped every thing (step A) and then flashed 4.0.3 (again, not through sideload, as this never worked) but then again, still had the dm-verity screen.

Now I am waiting more than 15mins on TWRP 3.0.4-1 to boot for the 5th time and all I get is a black screen and the LED lit in white. At this stage I also can't run the adb shell wipe_misc; adb shell reboot recovery commands, becuase it can't detect the device.

I am quite lost at this point. Any ideas?
I'm especially frustrated, that the wiping with the stock recovery doesn't help anything with the dm-verity screen...?

UPDATE:
Ok, all working now.
This is what I did:
- on stock recovery 2.0 and 4.0.3 with dm-verity, copy both 4.0.2 and 4.0.3 full zip to internal
- flash 4.0.2 through internal
- go to bootloader
- enter "fastboot oem enable_dm_verity" to get rid of dm-verity screen (can only be done on 4.0.2 bootloader, got patched in 4.0.3)
- reboot to stock recovery
- flash 4.0.3 through internal
- boot up and set pattern for boot protection (and FP, but that's irrelevant I guess), also enabled all dev settings (OEM, USB Debug)
- flash blu spartk twrp from OP (official gave me black screen with white LED)
- flash super SU from OP

Now I just reset everything with TB and it seems ok.
 
Last edited:

Appok

Senior Member
Oct 20, 2012
91
5
0
Step 13 I rebooted and now my phone is juist black, I hear the ding on computer when its connected to computer but doesnt pick up fastboot devices or ADB devices...did I just **** my phone?
 

habylab

Senior Member
Dec 3, 2010
6,229
1,201
0
Hi guys.

I'm getting error 7 trying to flash the latest 4.0.3 to dirty flash before a new kernel. Won't complete. Any help at all? Latest official TWRP or blu_spark yield the same result.
 

Stefa.

Senior Member
May 6, 2011
722
319
0
...
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!
Can anyone help on this please? :eek:

Thank you guys!
 

dogfyter

Member
Oct 18, 2016
20
3
0
Noob here. I am on op a3000, oos 4.0.3., unlocked oem, and rooted. The first thing I noticed that is different in this OP is there is no mention unlocking the OEM. Is that unnecessary? The message telling me I have an unlocked oem everytime I boot is driving me crazy, especially if I want boot directly into an alternate mode. What are the pros and cons of relocking my oem? Thank you in advance for the help.
 

aleksio

Senior Member
Aug 10, 2010
55
12
0
Hi, i cant deal with this dm-verity screen for ages and i ask for your help.
i have 4.0.3 ONEPLUS 3 and i need to get rid of this message and i want to completely revert to stock (no root, no unlocked bootloader, stock recovery).

What should i do? since this method does not work for me on 4.0.3 even though the commands results in OKAY.

Would it be good idea to downgrade to 4.0.2 via sideload adb? Is this safe and can i do that? is there anything i need to do first before downgrade?

on the side note - can i downgrade from 4.0.2 to 3.2.4 for example just by sideloading ROM from oneplus site? any help would be much appreciated!
 

mohmd.nagy

Senior Member
Feb 28, 2012
248
28
0
36
- Should my phone be Encrypted or Decrypted and why? My phone is rooted and cannot live without root, could my phone be Rooted and Encrypted?
- What’s SELinux Permissive and SELinux Enforced and which one my phone should be?

Sorry for numb questions but I'm getting confused when I read those expressions
 

mso07

Member
Feb 18, 2017
10
1
0
unlock and root

Noob here.
I am on op3 UE version, with oos 4.0.3., locked... i want to unlock bootloader, use custom rom and root... and my data (userdata) is on f2fs
which twrp i have to flash?
 

Get_beeped69

New member
Oct 22, 2017
4
1
0
I'm on OOS 5.0.2 rn, I wanna go to stock... I know how to too but when I try to flash stock recovery, it fails... doesn't boot to recovery for some reason.
Then I'm left with another option of unrooting... going to OTA through system uodates. It says it'll download the complete update n remove root.
My question is, after that zip downloads and I hit reboot...will the recovery also be restored to stock? (I currently have twrp on) or would it just fail otherwise?
Plus, do I HAVE TO flash stock recovery? If yes, can you please provide me with a correct one or a guide link.
Thanks for helping :)
 

laupuy

Senior Member
Jul 26, 2015
1,854
2,058
153
dans tes 22
I'm on OOS 5.0.2 rn, I wanna go to stock... I know how to too but when I try to flash stock recovery, it fails... doesn't boot to recovery for some reason.
Then I'm left with another option of unrooting... going to OTA through system uodates. It says it'll download the complete update n remove root.
My question is, after that zip downloads and I hit reboot...will the recovery also be restored to stock? (I currently have twrp on) or would it just fail otherwise?
Plus, do I HAVE TO flash stock recovery? If yes, can you please provide me with a correct one or a guide link.
Thanks for helping :)
If you flash stock oos from twrp without magisk (root) you will have after reboot system a stock rom, stock kernel and stock recovery.

Sent from my oneplus3 using XDA Labs