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

[RECOVERY] [11] [ALPHA] TeamWin Recovery Project (8T / Kebab) (2021-09-04)

Search This thread
Wait.. you can extract boot image without laptop..? Mobile payload dumper i got it .. but what is turmux..? Like terminal emulator for android..??
Yes looks like @BillGoss has you hooked up with turmex. This is where I found the commands on how to do it on mobile


 
  • Like
Reactions: goosebickel

BillGoss

Senior Member
Sep 2, 2010
4,728
4,145
Sydney
OnePlus 3T
OnePlus 8T
Yes looks like @BillGoss has you hooked up with turmex. This is where I found the commands on how to do it on mobile


There's also a version that doesn't require installing Python: https://github.com/ssut/payload-dumper-go
 
  • Like
Reactions: 11mackey11

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
14,743
33,286
Halifax
GT-i9250
Nexus 7 (2013)
There's also a version that doesn't require installing Python: https://github.com/ssut/payload-dumper-go

Very cool. When I get some time I'll check it out. Thanks for the info! I need to learn how to use it.
Which I have also "weaponized" into a Magisk module for everyone. 🤠

 
Last edited:
Which I have also "weaponized" into a Magisk module for everyone. 🤠

Definitely gonna check that out. That's awesome. I love anything weaponized like sharks with freaking Lazer beams.
 

baxtex

Senior Member
Oct 16, 2011
1,079
108
Finally, thank you for this!

I read all the posts. What is meant by OOS flashing not working? If I download full OTA with oxygen updater, is it possible to flash it and keep root? 🙂

On my Oneplus 6 I always did this, will it work for the 8t as well now?

  1. Download the full ROM zip and TWRP recovery from the downloads section above
  2. Transfer the full ROM zip and TWRP recovery to the root of your device's internal storage
  3. Reboot to TWRP recovery and take a nandroid backup of your existing ROM
  4. From the TWRP menu, Install > Select full ROM zip > Swipe to flash
  5. From the TWRP menu, Install > Select TWRP recovery zip > Swipe to flash
  6. Reboot to TWRP recovery
  7. Flash the latest stable Magisk in case you want to root
  8. Reboot to System
 
Last edited:
  • Like
Reactions: Ryano89

fates13

Senior Member
Dec 20, 2014
137
57
OnePlus 8
OnePlus 8T
Once again reporting that flashing a rom or update without mounting all the partitions first in TWRP will cause mount errors during the flash. Once you try to swap to the other slot, you'll have a bunch of mount errors and partitions will no longer be mountable on that slot. If you go back to the slot you originally flashed the rom/update on the partitions will mount but you won't be able to flash the rom on the other slot.
 

theincognito

Senior Member
Feb 26, 2015
585
706
Redmi K20 Pro
Redmi Note 8
Once again reporting that flashing a rom or update without mounting all the partitions first in TWRP will cause mount errors during the flash. Once you try to swap to the other slot, you'll have a bunch of mount errors and partitions will no longer be mountable on that slot. If you go back to the slot you originally flashed the rom/update on the partitions will mount but you won't be able to flash the rom on the other slot.
  1. Which ROM were you on?
  2. Which ROM did you try to flash?
  3. TWRP build date?
  4. Recovery logs?
 

fates13

Senior Member
Dec 20, 2014
137
57
OnePlus 8
OnePlus 8T
  1. Which ROM were you on?
  2. Which ROM did you try to flash?
  3. TWRP build date?
  4. Recovery logs?
not sure if I have logs but it's happened when updating Lineage to the next weekly update and also when trying to update EvoX. Latest TWRP builds and the builds before that. Same thing happened on aphophis' build but I haven't tried his since switching to this one when the thread was first created
 
Last edited:
  • Like
Reactions: theincognito

iooxda

Senior Member
Dec 1, 2019
69
33
I am considering buying kebab now that preliminary TWRP support is available. In other TWRP development threads I have seen a list of features working and not working. How "alpha" is this TWRP implementation, meaning which features work and which do not work?

- Does USB OTG work?
- Can I open the TWRP Terminal and execute shell scripts and commands?
- Can I mount the /data partition and decrypt the files?

I am interested in going directly to Lineage from stock, is it possible to root this phone by flashing the Magisk.zip in TWRP?

Also I see a lot of users mention "fkm" I have searched but can't find the meaning of this acronym. What does it mean?

Finally, what was the difficulty in getting TWRP to work on 8T as opposed to other devices, is OnePlus using a non-standard encryption or partition scheme for kebab? Are there any major technical show stoppers that would prevent an official TWRP release sometime in the future?

Thank you to the developers for this work.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    New build released - 20210904

    Changelog:
    1. Removed repack tools
    2. Allowed OpenAES encrypted backups (to conform with the TWRP source change)
    3. Added logical flag for relevant partitions (to conform with the TWRP source change)
    4. Latest upstream changes
    Download links:

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


    NOTE for 9R users: This build SHOULD work with 9R - you SHOULD be able to do everything except flashing OOS. This is experimental. Use it at your own risk.

    As always, links are updated in the OP too.
    6
    Magisk flashes to /system/
    but my priv-app is in /system_root/system/priv-app
    In return, it breaks my system when I flash using magisk. Not sure why, hence I'm manually pushing aurorastore to /system_root/
    Sorry, I should have been clearer. When you use Magisk to do systemless installs, eg systemless hosts, it doesn't physically write to the system directories but uses overlays that make it seem that it's been written to system directories.
    Typically you do this using a Magisk module.
    How to do this is not something that belongs in the TWRP thread. If you don't know how to do what I'm suggesting then you need to read up on Magisk and its modules and look through the Magisk forum.
    3
    Thank you for bringing TWRP to op8t. As far as installing recovery, magisk and rooting, is there a device specific version of magisk or is it one size fits all? I noticed in one of the rooting guides they recommended using the canary magisk but the guide was released before the first official release of TWRP.
    I use the last stable Magisk version (23.0) and I've never had a problem with it. Google Pay also works perfectly without making any changes other than enabling MagiskHide.
    2
    I use latest Canary and it's all good.
    2
    Flashing magisk\ kernels on OOS works fine with this TWRP?

    Yes
  • 74



    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:
    2021-09-04

    IMG: https://www.androidfilehost.com/?fid=7161016148664800911
    Installer: https://www.androidfilehost.com/?fid=7161016148664801008
    26
    FAQ and Known bugs of TWRP:

    • OOS/H2OS flashing is broken.
    • 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

    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.
    16
    New build released - 20210904

    Changelog:
    1. Removed repack tools
    2. Allowed OpenAES encrypted backups (to conform with the TWRP source change)
    3. Added logical flag for relevant partitions (to conform with the TWRP source change)
    4. Latest upstream changes
    Download links:

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


    NOTE for 9R users: This build SHOULD work with 9R - you SHOULD be able to do everything except flashing OOS. This is experimental. Use it at your own risk.

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

    Remove any password/pin/pattern before doing this

    Backup

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

    Restore
    In TWRP
    If you skip this step you will not be able to successfully start the system after restoring data
    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. Reboot system

      Note:
      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 or a toast message saying "com.android.phone keeps stopping."
        Tap "Close app", hold the Power button down to be presented with the option to (Lockdown), Power off, or Restart. Select Restart
      3. It may take a couple of restarts

    If you want to backup and restore fingerprints too, follow the guide in the attached file