[RECOVERY][3.4.0-2][hotdogb]Unofficial TWRP recovery for OnePlus 7T Unified (Tes)

Search This thread

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
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>
/*
 *
 * 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:
- TWRP boots;
- Fastboot boot is working;
- Decryption is working (except for Oxygen OS);
- System, Vendor and Product partitions mount is not working but it's not a big problem;
- You can flash ROMs;
- Format Data is broken;
- You can flash magisk

Install guide (Reccomended):
Acutally seems oneplus (or directly android 10) re-introduced the recovery partition so you should only flash it in recovery partition or you can try to boot it from fastboot. For now only boot it.
To flash:
Code:
fastboot flash recovery_a twrpname.img
fastboot flash recovery_b twrpname.img

To boot:
Code:
fastboot boot twrpname.img


Tips:
If you have some problems with backup, like 255 error or something similar please check this guide: https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

Download:
TWRP 3.4.0-2 Test by mauronofrio

TWRP 3.4.0-0 Test by mauronofrio
TWRP 3.3.1-43 Test by mauronofrio
TWRP 3.3.1-25 Test by mauronofrio
TWRP 3.3.1-5 Test by mauronofrio
TWRP 3.3.1-0 Test by mauronofrio
Stock Recovery

Reccomended ADB and Fastboot binaries:

Adb and Fastboot Installer

Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_oneplus_hotdog_unified_TWRP
Kernel source: precompiled stock one

My Telegram TWRP Support Group:
https://t.me/twrp_Mauronofrio

Donations:



Credits:
I want to say a big thanks to the testers @houmles and @ChrisFeiveel84

Created 2019-10-02
 

Attachments

  • photo_2019-10-03_13-03-25.jpg
    photo_2019-10-03_13-03-25.jpg
    177.9 KB · Views: 24,857
  • photo_2019-10-03_13-03-22.jpg
    photo_2019-10-03_13-03-22.jpg
    221.7 KB · Views: 24,327
  • photo_2019-10-03_13-03-19.jpg
    photo_2019-10-03_13-03-19.jpg
    158.6 KB · Views: 23,492
  • photo_2019-10-03_13-03-15.jpg
    photo_2019-10-03_13-03-15.jpg
    214.7 KB · Views: 21,707
  • photo_2019-10-03_13-03-11.jpg
    photo_2019-10-03_13-03-11.jpg
    256.7 KB · Views: 21,326
  • photo_2019-10-03_13-03-03.jpg
    photo_2019-10-03_13-03-03.jpg
    231.6 KB · Views: 21,598
Last edited:

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
This is a first test TWRP, i have not tested it because i have not the device, if someone want to help me in testing it, contact me or leave a comment.
Actually i don't know if fastboot boot command will work or not. Fastboot boot is working
I'm sure the twrp will not be able to decrypt the internal storage TWRP is not decrypting
If someone test it, please give me a feedback, it's a first build and i have to make some others fixes Still need of more testers
 
Last edited:

RohanAJoshi

Senior Member
Mar 17, 2011
2,454
1,671
Pune
OnePlus 8 Pro
Samsung Galaxy S22 Plus
I am willing to test.
But if it can't decrypt storage, how can I test it ?
Just boot it ?
Another if something goes wrong, is there any chance I need to format data ?
Cause I don't want to loose my 180gb+ data.
.
I tried to root stock boot.img with Magisk patcher beta and canary, but it's not booting at all.
.
Also, this is A/B device.
So for installing trwp, we need patch stock boot.img ramdisk as recovery is in it.
Please check Oneplus 7 Pro threads.
 
Last edited:

cultofluna

Senior Member
Nov 25, 2015
4,119
2,092
Google Pixel 6 Pro
Google Pixel 7
I am willing to test.
But if it can't decrypt storage, how can I test it ?
Just boot it ?
Another if something goes wrong, is there any chance I need to format data ?
Cause I don't want to loose my 180gb+ data.
.
I tried to root stock boot.img with Magisk patcher beta and canary, but it's not booting at all.
.
Also, this is A/B device.
So for installing trwp, we need patch stock boot.img ramdisk as recovery is in it.
Please check Oneplus 7 Pro threads.
Try to boot it first...

If its working you can just flash magisk to root
You dont need the patched img
I also don't have the device
OP6T
OB17
 
Last edited:
  • Like
Reactions: RohanAJoshi

RohanAJoshi

Senior Member
Mar 17, 2011
2,454
1,671
Pune
OnePlus 8 Pro
Samsung Galaxy S22 Plus
This is a first test TWRP, i have not tested it because i have not the device, if someone want to help me in testing it, contact me or leave a comment.
Actually i don't know if fastboot boot command will work or not.
I'm sure the twrp will not be able to decrypt the internal storage

Hi, did you build this stock kernel sources for Oneplus 7T ?
 

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
Will you please share rooted boot.img which you build from sources ?
I am not able get root even after patching current boot.img with Magisk stable beta and canary.

I have not used a rooted boot.img for the twrp, in all cases i don't think it's a kernel problem, maybe it's a magisk problem.


So the twrp is partially working, decryption is the biggest problem.
 
Last edited:
  • Like
Reactions: phubarr

dlads

Senior Member
Aug 24, 2010
16,712
6,436
Liverpool
Nothing Phone 2
Should still be able to push to /temp to be able to flash. But may need the stock recovery in order to wipe properly.

Same issue on the p20 Pro, it's never been fixed.

ADB push /temp
Reboot to download mode
Flash stock recovery
Wipe data
Boot.

But I've not worked with 10 yet so not sure.
 

How2Kritin

Member
Oct 5, 2019
26
7
Hard bricked OnePlus 7t

Hi, I’ve hardbricked my Oneplus 7t. It’s stuck on the fastboot screen. Please let me know how to fix it. I’m terribly scared. I can’t even boot to twrp. Pressing the power button keeps bringing me back to the fastboot screen. Please help!
 
  • Like
Reactions: 11043004900uuy

How2Kritin

Member
Oct 5, 2019
26
7

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
Actually for root there are some magisk problems, the device has a a/b structure but the boot partition is like a-only device, so magisk should be modified to make it works properly on this device. The better way is to report the problem to topjohnwu with logs and more.
 

How2Kritin

Member
Oct 5, 2019
26
7
Actually for root there are some magisk problems, the device has a a/b structure but the boot partition is like a-only device, so magisk should be modified to make it works properly on this device. The better way is to report the problem to topjohnwu with logs and more.
The problem is I didn’t really attempt to root, it just got stuck in this mode.

---------- Post added at 06:26 AM ---------- Previous post was at 06:22 AM ----------

Hi, I’ve tried this but it said that logo_a, logo_b, system_a, system_b, vendor_a, vendor_b partitions not found. Everything else worked. The phone is still stuck in the same screen with no change.

EDIT: The phone is now stuck in a “Qualcomm crash dump mode” saying “dm-verity device corrupted force dump
kernel-restart”
What do I do now?
 

mauronofrio

Recognized Developer
Jun 29, 2012
4,360
13,813
27
Castellana Grotte
toolaio.tk
The problem is I didn’t really attempt to root, it just got stuck in this mode.

---------- Post added at 06:26 AM ---------- Previous post was at 06:22 AM ----------



EDIT: The phone is now stuck in a “Qualcomm crash dump mode” saying “dm-verity device corrupted force dump
kernel-restart”
What do I do now?

To quit from crash dump mode you should keep pressed both volumes buttons and power button for 30 seconds
 
  • Like
Reactions: How2Kritin

Top Liked Posts

  • There are no posts matching your filters.
  • 63
    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>
    /*
     *
     * 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:
    - TWRP boots;
    - Fastboot boot is working;
    - Decryption is working (except for Oxygen OS);
    - System, Vendor and Product partitions mount is not working but it's not a big problem;
    - You can flash ROMs;
    - Format Data is broken;
    - You can flash magisk

    Install guide (Reccomended):
    Acutally seems oneplus (or directly android 10) re-introduced the recovery partition so you should only flash it in recovery partition or you can try to boot it from fastboot. For now only boot it.
    To flash:
    Code:
    fastboot flash recovery_a twrpname.img
    fastboot flash recovery_b twrpname.img

    To boot:
    Code:
    fastboot boot twrpname.img


    Tips:
    If you have some problems with backup, like 255 error or something similar please check this guide: https://xdaforums.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
    For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".

    Download:
    TWRP 3.4.0-2 Test by mauronofrio

    TWRP 3.4.0-0 Test by mauronofrio
    TWRP 3.3.1-43 Test by mauronofrio
    TWRP 3.3.1-25 Test by mauronofrio
    TWRP 3.3.1-5 Test by mauronofrio
    TWRP 3.3.1-0 Test by mauronofrio
    Stock Recovery

    Reccomended ADB and Fastboot binaries:

    Adb and Fastboot Installer

    Source code:
    https://github.com/omnirom/android_bootable_recovery
    https://github.com/mauronofrio/android_device_oneplus_hotdog_unified_TWRP
    Kernel source: precompiled stock one

    My Telegram TWRP Support Group:
    https://t.me/twrp_Mauronofrio

    Donations:



    Credits:
    I want to say a big thanks to the testers @houmles and @ChrisFeiveel84

    Created 2019-10-02
    59
    TWRP 3.3.1-25 for OnePlus 7T, 7T Pro (hotdog unified) by mauronofrio:
    - Removed decryption at all for now (actually after decrypted the rom is not more able to decrypt anymore, so you have to format data to boot a rom).
    - System, vendor, product and odm mount is working.
    - Magisk is flashable, so people can use TWRP to flash magisk.
    - Rom flashing is a bit broken, the process start but at the ends it breaks at all super partition and then you have to restore the rom with msmtool, so for now is disabled.
    - Basic functions are working.

    TWRP 3.3.1-25 Test by mauronofrio
    52
    TWRP 3.3.1-43 for OnePlus 7T, 7T Pro, 7T Pro 5G (hotdog) by mauronofrio:
    Fixed Decryption on custom roms (still broken on Oxygen OS);
    Added unified script;
    ROM flashing is working;
    System, vendor and others logical partitions can't be mounted (it's not a problem for the others things);
    Magisk and kernels can be easily flashed;
    Fixed TWRP flashing, now you can flash the TWRP directly in the recovery partition from fastboot.

    TWRP 3.3.1-43 Test by mauronofrio

    P.S.
    I want to thank the testing group for their continuous work
    44
    @mauronofrio I see that last commits on Gerrit are devoted to decription. Does it mean that you're closer to classic version which all of us wait for?

    Yes
    40
    TWRP 3.4.0-2 for OnePlus 7T/7T Pro/7T Pro McLaren (hotdog) by mauronofrio:
    Fixed a problem of ROM flashing, now you should be able to flash all ROMs.

    TWRP 3.4.0-2 Test by mauronofrio