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

[RECOVERY][oneplus3] Unofficial TWRP 3.0.3-0 touch recovery for OnePlus 3

Search This thread

dianlujitao

Senior Member
Jan 27, 2013
727
4,804
Chengdu
www.dianlujitao.com
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are 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 features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

Features:
  • All function in a normal TWRP
  • Build with latest TWRP source
  • Multi-language support
  • Support F2FS file system!
  • Support decrypt /data!
  • Update kernel version to 3.18.46 (latest f2fs-stable branch for linux 3.18)

Changelog:
2016/6/21
  • First release
2016/7/8
  • Fix USB OTG
  • Support NTFS file system
  • Fix crypto footer
  • Support dt2w (Thanks Dees-Troy)
  • Support backup efs (Thanks Dees-Troy)
2016/9/17
  • Update kernel from latest CM13
  • Support installing latest stock builds
2016/11/6
  • Build with CM14.1 source
  • Support new firmware from community builds
2017/1/15
  • Build with omni6.0 source
  • Catch up kernel with latest LineageOS
  • Support decrypt /data with N-based roms (e.g. OxygenOS 4, LineageOS 14.1)

Tips:
  • Only oneplus3 is supported, DO NOT try it on oneplus3t
  • The 2017/1/15 update uses F2FS backported from 4.10 kernel, you may meet compatibility problems with f2fs partitions made by older version of f2fs, if this happened to you, format(NOT wipe) /data in this TWRP, it should be fixed.

Install guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Run "fastboot flash recovery TWRP_3.0.3-0_N_oneplus3.img" in command line
5. Reboot and enjoy it:)

Download:
https://www.androidfilehost.com/?fid=745425885120700618

Source code:

XDA:DevDB Information
TWRP, Tool/Utility for the OnePlus 3

Contributors
dianlujitao

Version Information
Status: Stable
Current Stable Version: 5
Stable Release Date: 2017-01-15

Created 2016-06-21
Last Updated 2017-01-15
 

Grarak

Recognized Developer
Jan 16, 2012
2,799
10,495
Vienna
What's the point of this? Decryption does not work and f2fs is not supported by any rom yet. We have 3 twrp threads here. 2 of them don't even decryption working. Why?
 
  • Like
Reactions: cool.boy

dianlujitao

Senior Member
Jan 27, 2013
727
4,804
Chengdu
www.dianlujitao.com
What's the point of this? Decryption does not work and f2fs is not supported by any rom yet. We have 3 twrp threads here. 2 of them don't even decryption working. Why?

My cm13 port supports f2fs, the twrp just prapare for it

ps: I guess I'm able to fix it now, I just found I put keystore.msm8996.so in vendor/lib64 instead of vendor/lib64/hw, will verify and upload later
 
Last edited:

simonsmh

Senior Member
Dec 14, 2015
297
547
Great work!
Will your cm13 ports support dash/vooc ?

---------- Post added at 12:26 PM ---------- Previous post was at 12:20 PM ----------

Great work!
Will your cm13 ports support dash/vooc ?
OK.
This end of July.
https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/issues/1

---------- Post added at 12:46 PM ---------- Previous post was at 12:26 PM ----------

Screenshot_2016-06-21-20-39-05.png

Hmmm… Is there something missing in advanced settings ?
 

5star02707

Senior Member
Dec 1, 2015
159
52
OnePlus 5T
OnePlus 6

Natakranta

Senior Member
Mar 19, 2013
3,224
6,158
Dublin
Question how did this twrp work with fastboot boot while the other TWRP freezes?
Many people would like to know ;)
Grarak's TWRP frozen when I was trying fastboot boot it. This one fastboot booted. I did nandroid of stock recovery (linked in my earlier post) and nandroid of full stock system, boot, data and cache. I noticed we don't have vendor partition on OP3 like I have on Nexus 6P.
Booted system, booted been to bootloder, fastboot flash recovery twrp.img, boot twrp, flash SuperSU
BETA-SuperSU-v2.74-2-20160519174328.zip
Boot system, all good. Root working.
Finally a stock recovery i can flash on to. Thank you so much!
No problem. Let me know if restoring it in TWRP works and if it successfully replaces TWRP after rebooting recovery.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 78
    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void.
     *
     * We are 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 features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    Features:
    • All function in a normal TWRP
    • Build with latest TWRP source
    • Multi-language support
    • Support F2FS file system!
    • Support decrypt /data!
    • Update kernel version to 3.18.46 (latest f2fs-stable branch for linux 3.18)

    Changelog:
    2016/6/21
    • First release
    2016/7/8
    • Fix USB OTG
    • Support NTFS file system
    • Fix crypto footer
    • Support dt2w (Thanks Dees-Troy)
    • Support backup efs (Thanks Dees-Troy)
    2016/9/17
    • Update kernel from latest CM13
    • Support installing latest stock builds
    2016/11/6
    • Build with CM14.1 source
    • Support new firmware from community builds
    2017/1/15
    • Build with omni6.0 source
    • Catch up kernel with latest LineageOS
    • Support decrypt /data with N-based roms (e.g. OxygenOS 4, LineageOS 14.1)

    Tips:
    • Only oneplus3 is supported, DO NOT try it on oneplus3t
    • The 2017/1/15 update uses F2FS backported from 4.10 kernel, you may meet compatibility problems with f2fs partitions made by older version of f2fs, if this happened to you, format(NOT wipe) /data in this TWRP, it should be fixed.

    Install guide:
    1. Install fastboot tools from google's sdk on your PC
    2. Enter fastboot mode
    3. Unlock your bootloader
    4. Run "fastboot flash recovery TWRP_3.0.3-0_N_oneplus3.img" in command line
    5. Reboot and enjoy it:)

    Download:
    https://www.androidfilehost.com/?fid=745425885120700618

    Source code:

    XDA:DevDB Information
    TWRP, Tool/Utility for the OnePlus 3

    Contributors
    dianlujitao

    Version Information
    Status: Stable
    Current Stable Version: 5
    Stable Release Date: 2017-01-15

    Created 2016-06-21
    Last Updated 2017-01-15
    12
    I am unable to get OTG working with either this or the new "official" TWRP.
    Which one are you using? Is there anything you are doing it make it work?

    My kingdom for working OTG!!! (or a 128GB OP3 :p )

    just released a new revision, otg fixed, see OP for details
    6
    updated just now, see OP for details
    6
    Our kernel source for CM and TWRP doesn't compatible with latest bootloader, to ensure my TWRP fully working with OSS builds, I won't use stock kernel to boot with the new bootloader. I'll update once oneplus released new kernel source.

    PS: They'll release new source soon: https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/issues/8
    5
    What's the point of this? Decryption does not work and f2fs is not supported by any rom yet. We have 3 twrp threads here. 2 of them don't even decryption working. Why?

    My cm13 port supports f2fs, the twrp just prapare for it

    ps: I guess I'm able to fix it now, I just found I put keystore.msm8996.so in vendor/lib64 instead of vendor/lib64/hw, will verify and upload later