Code:
/* DISCLAIMER:
*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about steps included in this guide
* before formatting the phone! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
Pre requisites :-
Q. DM verity ? uh ? !??
A. https://source.android.com/security/verifiedboot/
Q. I don't know sheit help me pls!!!!!!!!!!!!!!!!!!
A. Search Forum , help yourself , Almost everything is answered .
Q. /data/media ( sdcard where all the pics and songs and your sheit is stored) will be lost ?? OMG ?? pls tell ((
A. uhm yea it will , but follow this guide to backup it , just follow backup process , and not the FS - changing part .
Download Links :-
Oxygen OS :-
- OxygenOS 3.2.8 : http://s3.amazonaws.com/oxygenos.on...6_OTA_017_all_1611182000_fbe1471194d64b3e.zip
- OxygenOS 4.0.0 : http://otafsc.h2os.com/patch/amazon...en_16_OTA_035_all_1612310359_e10cadfb2af7.zip
- OxygenOS 4.0.1 : http://otafsc.h2os.com/patch/amazon...n_16_OTA_037_all_1701041839_aa64b084a40a4.zip
- OxygenOS 4.0.2 : http://otafsc.h2os.com/patch/amazon...16_OTA_039_all_1701140133_89fcc9baba94e4c.zip
- OxygenOS OB11 :
http://oxygenos.oneplus.net.s3.amaz...6_OTA_019_all_1701180246_6b201010ae704b0a.zip
Recoveries :-
- Unoffical TWRP-3.0.3-x_blu_spark_v15-op3_op3t.img by eng.stk : Here
- Offical TWRP 3.0.3-0 by twrp.me and jcadduono : Here
- Unofficial TWRP 3.0.4.-0 by jcadduono : Here and Official Unified OP3/OP3T Thread Here
- Unofficial TWRP 3.0.3-0 by dianlujitao : Here
- Official Oxygen OS Recovery : Here
Super SU :- ( Official Thread )
DM verity Disabler :-
- DM-verity and forced encryption disabler (5.1): Here
Misc Tools :-
- [ToolKit] OnePlus 3[v4.0] by ahmedradaideh : Here
- Signed_OxygenOS-H2OS-Booster-Script-v3.7-by ahmedradaideh ( Super Optimized ) : Here
ALSO I won't be RESPONSIBLE for any mishap , at your own RISK
What this walk through will do ?
- Fix device-mapper-verity issue
- Phone will be decrypted . ( can check from Settings -> Security -> Encryption)
- TWRP recovery would be accessible
- /data will be f2fs only , not /cache and /system
- Any backup of other partition's done in ext4 can't be used again in case if you wish to change fs of other partitions , mainly only /data is req for f2fs fs .
-
Now Supports f2f2's decryption without password prompt and better fs handling and Nougat Firmware Supported sadly it won't support ext4 filesystem probably more like don't know how its gonna behave to that environment with the new Modified TWRP by bluspark . ( Updated version of twrp-3.0.2-1.28-oneplus3.img ). - Official TWRP Supports f2fs filesystem handling R/W
Procedure :-
- Backup ( for real? do I need to tell this .-. I guess Not but still ) !!!
- Flash and boot into stock recovery recovery_op3.img
- While in stock recovery, Wipe everything ( resetting variables for dm-verity inside the system boot image ) , all the 3 options , just do all (for a clean flash).
- Install OxygenOS 4.0.2 through sideload
- Reboot the phone and wait for a while ( might take 2-3 minutes for first boot ) let the setup page come and reboot again to fastboot .
- Flash Official TWRP ,Now switch off the phone .
- Start the phone in TWRP recovery ( also DM- verity would be gone now , if you would have noticed)
- Wipe the phone i.e Advanced Wipe the /data to f2fs (see the guide above, have posted a link )
- Reboot again to TWRP .
- From TWRP access MTP, copy Super SU.zip to device and flash it.
- Wipe data & cache and reboot system.
While Updating ( Optional)
if while updating from old rom to new Rom ( versions ) and You encounter DM verity again Just Follow this
- Flash the dm-verity and forced encryption disabler zip.
- Reboot the system followed by clearing cache and dalvik.
DM - verity would be gone NOW .
Voila Lads!!
Change log
- Updated Link for Stock Recovery ( Nougat Supported)
- Updated TWRP recovery by BluSpark ( f2fs Decryption and better support )
- Updated Procedure because of decryption fix
- Added Link for 4.0.1 ( wont make any diffidence 4.0 or 4.0.1 )
- Added Link for 4.0.2
- New Updated TWRP OFFICIAL (3.0.3-0)
- Updated TWRP recovery by BlusSpark ( 3.0.3-x source)
- Added dm-verity and forced encryption disabler
- Added Misc Tools ( ToolKit and Debloater )
Credits :-
- for backup and f2fs fs changes by @Adithya R
- for new Decryption Supported TWRP twrp-3.0.2-0_blu_spark_v11-op3.img 2017-01-05 14:54 by @eng.stk AKA bluspark
- TWRP Official 3.0.3-0 by @jcadduono and TWRP Team
- no verity Script by @jcadduono
- ToolKit and Debloater Script By @ahmedradaideh
Last edited: