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

[RECOVERY] [11] [OFFICIAL] TeamWin Recovery Project (8T / Kebab) (2022-01-03)

Search This thread

BillGoss

Senior Member
Sep 2, 2010
4,938
4,383
Sydney
OnePlus 3T
OnePlus 8T
Maybe i am wrong but regarding my theory if i flash magisk .zip i am patching the boot .img. If i do not do, obviously the updated rom will boot with the updated & unpatched boot .img therefore magisk manager will be there but root itself will be gone. In other words i have to flash magisk again from manager. That is why i am 'patching' again the updated boot .img after OTA is done.
Am i wrong then??
An OTA update would always install the update to the inactive slot. Since you told Magisk to install to inactive slot in your step 4, the updated boot image is now patched. And it's the patched boot image that gives you root.
So flashing Magisk again isn't accomplishing anything.
 
As long as you have latest OOS on both partitions, you dont need the copy partitions zip. But, unless you intentionally did that, your both slots will have different firmware for sure. So use that copy partitions zip.

To go from OOS to LOS with the help of TWRP, follow this:

1. Make sure to backup your internal storage to PC or external drives.

2. Get the latest twrp img and installer from first post/twrp website and boot the twrp image using fastboot. (The TWRP logo may seem to be stuck, but it will boot in around 50s max, mostly lower time)

3. Copy and flash the copy partitions zip, then format /data using TWRP. Dont reboot yet

4. Flash the twrp installer using adb sideload option from TWRP.

5. Switch slot to opposite slot from reboot menu and then reboot to TWRP.

6. adb sideload lineage rom zip.

7. adb sideload twrp installer zip and reboot to TWRP.

8. adb sideload gapps and reboot to system.

9. Now you have a working lineage with TWRP.

PS: This is only like this for the first time. After this, simply update lineage ROM with TWRP like old days.
WOW!.... I understand most of the process. Remembering last time I flashed anything to a device; TWRP was just releasing there touch screen version and I was working on android version 5 LOL LOL
Please forgive my outdated terminology and lack of intellect.

I do not buy a new Oneplus 8T and type how to flash rom into google search bar and end up here. I read everything I could about my device and the latest developments for it.

So, I get the steps. But what about root access? Magisk is the only thing I see available. I have to use banking applications and I need the device to be secure obviously. I read there is a way to systemless root with magisk and use Magisk manager with modules to pass safety net. Basically, tricking apps into thinking nothing has be done to system partition. No root access available, etc..... Knowing I need to have access to my banking apps will I still be able to obtain root?
Can I install (flash) any custom rom and still be able to use secured apps like PayPal, Venmo, Zelle, my Bank of America and Credit Union mobile banking apps. Banking applications with fingerprint sign in?

I hope so using magisk modules addons (which i know nothing about yet)
So, I downloaded a few versions of TWRP and Magisk because I still dont fully know if using LineageOS or Havic-OS any is still possible for me.

Its been some time since I messed with the system partition and obtained root access.
I downloaded lastest version of Magisk FROM HERE
I got latest version of Lineage OS and recovery from https://download.lineageos.org/kebab
Also, downloaded both the TWRP and TWRP installer. I seem to understand the process as you listed the steps. But I dont know when flashing magisk would take place or if it even has to.

I am grateful for the quick response. Apologies for all the noob questions.
 

BillGoss

Senior Member
Sep 2, 2010
4,938
4,383
Sydney
OnePlus 3T
OnePlus 8T
WOW!.... I understand most of the process. Remembering last time I flashed anything to a device; TWRP was just releasing there touch screen version and I was working on android version 5 LOL LOL
Please forgive my outdated terminology and lack of intellect.

I do not buy a new Oneplus 8T and type how to flash rom into google search bar and end up here. I read everything I could about my device and the latest developments for it.

So, I get the steps. But what about root access? Magisk is the only thing I see available. I have to use banking applications and I need the device to be secure obviously. I read there is a way to systemless root with magisk and use Magisk manager with modules to pass safety net. Basically, tricking apps into thinking nothing has be done to system partition. No root access available, etc..... Knowing I need to have access to my banking apps will I still be able to obtain root?
Can I install (flash) any custom rom and still be able to use secured apps like PayPal, Venmo, Zelle, my Bank of America and Credit Union mobile banking apps. Banking applications with fingerprint sign in?

I hope so using magisk modules addons (which i know nothing about yet)
So, I downloaded a few versions of TWRP and Magisk because I still dont fully know if using LineageOS or Havic-OS any is still possible for me.

Its been some time since I messed with the system partition and obtained root access.
I downloaded lastest version of Magisk FROM HERE
I got latest version of Lineage OS and recovery from https://download.lineageos.org/kebab
Also, downloaded both the TWRP and TWRP installer. I seem to understand the process as you listed the steps. But I dont know when flashing magisk would take place or if it even has to.

I am grateful for the quick response. Apologies for all the noob questions.
Quick response: this is a TWRP thread, not a Magisk one.
So, ask your question in either the Magisk forum/main thread or in the Los thread or in the 8T Q&A thread.
 

theincognito

Senior Member
Feb 26, 2015
610
837
Redmi K20 Pro
OnePlus 8T
WOW!.... I understand most of the process. Remembering last time I flashed anything to a device; TWRP was just releasing there touch screen version and I was working on android version 5 LOL LOL
Please forgive my outdated terminology and lack of intellect.

I do not buy a new Oneplus 8T and type how to flash rom into google search bar and end up here. I read everything I could about my device and the latest developments for it.

So, I get the steps. But what about root access? Magisk is the only thing I see available. I have to use banking applications and I need the device to be secure obviously. I read there is a way to systemless root with magisk and use Magisk manager with modules to pass safety net. Basically, tricking apps into thinking nothing has be done to system partition. No root access available, etc..... Knowing I need to have access to my banking apps will I still be able to obtain root?
Can I install (flash) any custom rom and still be able to use secured apps like PayPal, Venmo, Zelle, my Bank of America and Credit Union mobile banking apps. Banking applications with fingerprint sign in?

I hope so using magisk modules addons (which i know nothing about yet)
So, I downloaded a few versions of TWRP and Magisk because I still dont fully know if using LineageOS or Havic-OS any is still possible for me.

Its been some time since I messed with the system partition and obtained root access.
I downloaded lastest version of Magisk FROM HERE
I got latest version of Lineage OS and recovery from https://download.lineageos.org/kebab
Also, downloaded both the TWRP and TWRP installer. I seem to understand the process as you listed the steps. But I dont know when flashing magisk would take place or if it even has to.

I am grateful for the quick response. Apologies for all the noob questions.

I know it's Off Topic like Bill said, but to answer your quesrion, yes, Magisk will work for most banking apps. For details, refer root threads.
As for when to flash, after flashing the gapps and twrp-installer, flash magisk before you boot into system.
 

Reo0o

Senior Member
May 15, 2012
53
2
Is there a fix for "userdata forced encryption" for android 12 custom roms yet?

I've been searching for the past few days to solve this issue but nothing works yet.
 

M_Game

Member
Aug 2, 2018
18
1
OnePlus 8T
Hey there, i saw twrp 3.6.0 released. Is the installation process always the same? If not, could you link it/tell me on which page it is?
Have a nice day
 

Mehedi322

New member
Dec 1, 2021
2
1
Barisal, Bangladesh



Introduction:

Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's 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.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Easy selection of internal/external storage

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

Source Code:

GitHub - https://github.com/TeamWin/android_bootable_recovery

Gerrit Instance - http://gerrit.twrp.me

If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.


Hello, this is TWRP, for Oneplus 8T

Installation:
# To temporarily boot it
fastboot boot <twrp_file_name>.img

# Since 8T/9R has a separate recovery partition, you can flash the recovery with
fastboot flash recovery <twrp_file_name>.img

Updating to a newer build:
Simply flash the latest TWRP installer zip from TWRP

OR

Flash the img from TWRP/fastboot


FAQ/Know Bugs are given in post #2

Send me a beer, if you think I deserve it: PayPal


Huge thanks to:
@bigbiff (For everything :D 🥰 )
@Lossyx
@osm0sis
@Nebrassy

for helping in making this recovery. Without these people, TWRP for this device would not have been possible. :D

Special mention to a friend @apophis9283 :)

Trees:
Device: https://github.com/theincognito-inc/android_device_oneplus_kebab
Kernel: https://github.com/AOSPA/android_kernel_oneplus_sm8250

Download:
https://twrp.me/oneplus/oneplus8t.html
TWRP 3.6.0 kebab. Does this TWRP work on OnePlus 9R?
 

tyler19820201

Senior Member
Jun 19, 2011
375
62
London
Try it yourself. Even if launching i do not think gonna work 100%. The two device are similar but not the same. There is a reason why 9R not listed on official TWRP website, only kebab.
 

Vladd

Member
Oct 2, 2005
7
1
Hi guys, just wanted to check if I did everything right, and if I can restore the phone if need be :) I'm on a Magisk-rooted 11.07.10 stock 8T.
1. I booted into twrp-3.6.0_11-0-kebab.img from fastboot and backed up stock recovery from TWRP in case I want to install an update (which I do only if it's something really essential :) ).
2. I flashed that recovery image from fastboot, rebooted, booted into recovery, backed up first data paritition separately, then Boot, DTBO and Super partitions together.
Everything seemed to work OK, so I hope that I should be able to restore the system and data, following the instructions in the first post, in case I need to, a confirmation by somebody who, unlike me, understands the new Android structure in depth would be appreciated :)
 

BillGoss

Senior Member
Sep 2, 2010
4,938
4,383
Sydney
OnePlus 3T
OnePlus 8T
Hi guys, just wanted to check if I did everything right, and if I can restore the phone if need be :) I'm on a Magisk-rooted 11.07.10 stock 8T.
1. I booted into twrp-3.6.0_11-0-kebab.img from fastboot and backed up stock recovery from TWRP in case I want to install an update (which I do only if it's something really essential :) ).
2. I flashed that recovery image from fastboot, rebooted, booted into recovery, backed up first data paritition separately, then Boot, DTBO and Super partitions together.
Everything seemed to work OK, so I hope that I should be able to restore the system and data, following the instructions in the first post, in case I need to, a confirmation by somebody who, unlike me, understands the new Android structure in depth would be appreciated :)
You're good to go.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    TWRP-3.6.0_11-3-kebab has been released.

    Changelog:

    • FIxed persist backup (@Lossyx )
    • Added override props back
    • Added the extra props path for OOS
    • Apart from full ROM OOS zip flashing, delta/incremental OOS zip flashing is also now supported
    Huge thanks to @BillGoss , @Qnorsten , @Captain_Throwback , @osm0sis and @bigbiff :D

    You can download the build from official TWRP website: https://twrp.me/oneplus/oneplus8t.html
    8
    I just love having TWRP on my phone!

    Here's an example of why I like it so much.

    After updating from 11.0.11.11 to 11.0.12.12 I knew that I shouldn't boot my phone on the wrong slot.
    But then I accidentally changed slots and rebooted. Crash Dump!

    Now, I know how to get out of it: Power+Vol Up

    But then I'd boot back into bootloader and use my PC to swap slots and reboot.
    But I didn't have my PC with me!

    TWRP to the rescue!

    After Power+Vol Up reboots my phone I hold down Vol Dn and I end up in TWRP. Change slots, reboot system.
    Tada! I'm back in business.

    With TWRP I can do everything on my phone from backups, restores, installs, upgrades, downgrades, and rooting.

    The only time I really need a PC is when:
    - I forget to keep TWRP installed :(
    - I have to format the data partition and restore my files
    3
    @acuicultor did you had time to build a black TWRP theme for this?
    Right now am still hardcoding this wonderful nice looking black Theme into the latest TWRP Version but of course it will be much easier to just have to apply the black theme to the latest TWRP Version.

    Thanks.

    P.S. I also fixed one bug I found when using the black theme. The decryption page was not showing the line and signs when entering the pssword since it was using the same color (black) as the background.
    I made an ui theme zip which can be used for theming any twrp with theme support
    3
    Thanks for release , and keeping updated.

    I've always wondered if it's possible to boot recovery while running android using FKM, and other flashing apps ?
    Unless they specifically have the ability to choose reboot targets (system, recovery, bootloader), then the answer is No as they'll reboot system (just like Magisk does).
    You can either enable Settings>System>Developer options>Advanced reboot in OOS, or use a terminal command.
    I use Termux as my terminal and it has a widget capability. I've set my widget up as shown in the top RHS of the screenshot.
    3
    @theincognito all these changes from TWRP_3.6.0_11-2-kebab are the ones already included in your last Update or?

    View attachment 5498331

    4 & 5 are new. There is one more build coming soon with a change (3.6.0_11-3-kebab). I will update my OP then.
  • 92



    Introduction:

    Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's 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.

    Key Features:

    Touchscreen driven with real buttons and drag-to-scroll
    XML-based GUI that allows full customization of the layout true theming!
    Settings are saved to the sdcard and persist through reboots
    Ability to choose which partitions to back up and which to restore
    Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
    Onscreen keyboard
    Easy selection of internal/external storage

    In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

    We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

    Source Code:

    GitHub - https://github.com/TeamWin/android_bootable_recovery

    Gerrit Instance - http://gerrit.twrp.me

    If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.


    Hello, this is TWRP, for Oneplus 8T

    Installation:
    # To temporarily boot it
    fastboot boot <twrp_file_name>.img

    # Since 8T/9R has a separate recovery partition, you can flash the recovery with
    fastboot flash recovery <twrp_file_name>.img

    Updating to a newer build:
    Simply flash the latest TWRP installer zip from TWRP

    OR

    Flash the img from TWRP/fastboot


    FAQ/Know Bugs are given in post #2

    Send me a beer, if you think I deserve it: PayPal


    Huge thanks to:
    @bigbiff (For everything :D 🥰 )
    @Lossyx
    @osm0sis
    @Nebrassy
    @Qnorsten

    for helping in making this recovery. Without these people, TWRP for this device would not have been possible. :D

    Special mention to a friend @apophis9283 :)

    Trees:
    Device: https://github.com/theincognito-inc/android_device_oneplus_kebab
    Kernel: https://github.com/AOSPA/android_kernel_oneplus_sm8250

    Download:

    If you need a black themed TWRP (same TWRP as the above, but themed black), you can go to this thread:
    30
    FAQ and Known bugs of TWRP:

    • If you are planning to switch to a custom ROM, and are currently on OOS/H2OS, format /data, switch slot, reboot to TWRP and then sideload/flash the ROM + installer.
    • It's better to flash ROM + TWRP installer, if you want to keep your TWRP after flashing a ROM.
    • Don't format /data, after a flashing a ROM, before the first reboot.
    • It takes around 50s to actually boot into TWRP.

    Ideal way to flash:
    • For OOS to Custom ROM - Format /data, switch slot, reboot to TWRP, sideload/flash ROM + installer, reboot to TWRP, flash Magisk/Gapps. Reboot to system.
    • For Custom to Custom ROM - Format /data. Flash ROM + installer, reboot to TWRP, flash Magisk/Gapps. Reboot to system.
    • For updating a custom ROM - Flash ROM + installer, reboot to TWRP, flash Magisk/Gapps. Reboot to system
    • For custom ROM to OOS - Format /data. Flash ROM + installer, reboot to TWRP, flash Magisk. Reboot to system.

    PS: After formatting /data, until the first time the device is booted to system, the files you send to phone via MTP (USB) will be at /data/media, not at /sdcard

    PS2: If, for some reason, you cannot send files to phone after formatting /data and rebooting to TWRP, press vol +, vol - and power button simultaneously.

    PS3: Factory reset WILL NOT wipe internal storage.
    24
    New build released - 20210726 (Kebab only)

    Changelog:

    1. Removed 9R support
    2. Fixed the TWRP screen overlapping with the notch
    3. Various mount errors while flashing ROMs should be gone now (atleast my testers think so)
    4. Latest upstream changes
    5. Removed AOSPA kernel, and updated to latest LOS kernel
    Download links:

    IMG: twrp-3.5.2_11-0-kebab-20210726-alpha
    Installer: twrp-installer-3.5.2_11-0-kebab-20210726-alpha

    As always, links are updated in the OP too.
    22
    Steps for backing up and restoring data in TWRP (Huge thanks to @BillGoss )

    TL;DR for data backup on custom ROMs:

    1. Backup /data (copy the backup folder to PC if you will format /data).
    2. Flash the ROM and boot it once to system.
    3. Restore /data (copy the backup folder back from PC if you formatted in step 1) and boot into system.
    4. If you find any issues like missing navigation bar or blank screen or something, just do a normal reboot again to system.

    System Backup and Restore
    The "system" partitions on the OnePlus 8T are:
    • Boot
    • DTBO
    • Super which contains the logical system, system_ext, odm, product, and vendor partitions
    Just backup and restore these partitions.
    Do NOT backup/restore any of the logical partitions individually.


    Data Backup
    1. Make sure USB debugging is enabled
    2. You do NOT need to remove your password

    In TWRP
    1. Backup: Select only the Data partition.
    2. Reboot System

    Restore
    Remove the current password before starting the restore process by Settings>Security & Lock Screen>Screen lock: Select Swipe (if prompted tap on "Yes, remove")
    If you don't do this, the system will not reboot properly after restoring.

    This will also remove your fingerprint data and your lockscreen (encryption) password (you won't be prompted for a password in TWRP or when you restart the system)

    In TWRP
    1. Wipe>Factory Reset
    2. Reboot System (this will rebuild the data partition)

    Back in TWRP
    1. Restore: Select the backup you want to restore
    2. Remove the SIM card. If you don't do this the system won't boot properly.
    3. Reboot system, making sure the phone is not connected to a PC

    Notes:
    1. At this point the phone will take longer than usual to boot - that's normal
    2. You will be presented with a blank screen
      • Connect the phone to a PC. You should be able to see the phone using adb devices
      • Disconnect the phone from the PC
    3. Hold the Power button down and select Restart

    In System
    1. Settings>Security & Lock Screen>Screen lock: set your password
    2. Insert the SIM card
    Note: Your fingerprints will have been restored because the backup was taken with the password set.
    17
    Christmas Update :p

    twrp-3.6.0-11-1-kebab_20211222 has been released.

    Changelog:

    Huge thanks to @BillGoss for being the awesome tester, as always :D

    Download links:

    Img: https://www.androidfilehost.com/?fid=17825722713688254528
    Installer: https://www.androidfilehost.com/?fid=17825722713688254527