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

[TWRP][3.6.0-11-b6][instantnoodle]TWRP for OnePlus 8/8Pro ][BETA]

Search This thread

Extreme_Ninja2099

Senior Member
Jan 1, 2017
429
173
I don't understand why people need the backup function that badly. The only time your internal storage is fully wiped with twrp, is if you're going from OOS to custom or custom to OOS. Other than that, you can dirty flash custom ROMs(keeps installed apps and rom settings)or clean flash(factory reset) both of which keeps all your media like music, videos, downloads, etc.
It's not about the internal storage. U can back that up manually, the twrp backup is a way to restore the data that's not in the internal storage. It's basically a way to restore a ROM/OOS like you never left or what it was like before the backup. It's way easier to switch from a twrp backup if you got loads of data/ stuff to set up. Otherwise, clean installing is better. For me, switching ROMs is tiering and a long process to get everything set up and restored.
TWRP backup is just something to have in case u want to switch to another ROM and switch back to or if a mod ur going to install might mess the system up or something to have in case something goes wrong. If any of these things do happen, a TWRP backup is handy especially when u just want to go back to a ROM quickly + easily with everything back and running

Ps. I am coming from a OP6T and that's what the TWRP backup was mainly used for. Idk know if this is the same for the 8 series
 

scorpio76r

Senior Member
Jan 10, 2016
1,304
479
All over like street lights
It's not about the internal storage. U can back that up manually, the twrp backup is a way to restore the data that's not in the internal storage. It's basically a way to restore a ROM/OOS like you never left or what it was like before the backup. It's way easier to switch from a twrp backup if you got loads of data/ stuff to set up. Otherwise, clean installing is better. For me, switching ROMs is tiering and a long process to get everything set up and restored.
TWRP backup is just something to have in case u want to switch to another ROM and switch back to or if a mod ur going to install might mess the system up or something to have in case something goes wrong. If any of these things do happen, a TWRP backup is handy especially when u just want to go back to a ROM quickly + easily with everything back and running

Ps. I am coming from a OP6T and that's what the TWRP backup was mainly used for. Idk know if this is the same for the 8 series
I agree, I'm coming from the OP6t also.
 

Marcyvee

Senior Member
Oct 9, 2015
164
11
So, if I backup OOS and copy my backup somewhere else, can I install a custom rom and, if I don't like it, restore OOS with twrp?
 

Unn113

Senior Member
Nov 19, 2010
1,089
800
OnePlus 8
OnePlus 8 Pro
I was using the migrate app to restore from android 9 to Android 11 on the 6t. Could not restore via migrate on this device. Twrp gave error during flash
TiBu recovery package also doesn't work in my case
So, if I backup OOS and copy my backup somewhere else, can I install a custom rom and, if I don't like it, restore OOS with twrp?
In theory yes, but for now it's not working like it should
 
I don't understand why people need the backup function that badly. The only time your internal storage is fully wiped with twrp, is if you're going from OOS to custom or custom to OOS. Other than that, you can dirty flash custom ROMs(keeps installed apps and rom settings)or clean flash(factory reset) both of which keeps all your media like music, videos, downloads, etc.
In the event that the device does not boot up after flashing anything - then what do you do without a fully functional backup,

(1) 'Say a prayer to the MSM Gods'?

Or

(2) Wish that one can perform a restore from a NanDroid?
 
  • Like
Reactions: Revenant Ghost

Marcyvee

Senior Member
Oct 9, 2015
164
11
And forgetting OOS, is it possible to choose in what slot install a custom rom? And what about the update? Can a rom provide seamless update? Or we always flash an update through twrp? In this case, it will be flashed on the other slot to prevent bootloops or any other problem?
 

jamescable

Senior Member
Feb 3, 2011
1,405
417
Louisville
Nexus 7 (2013)
OnePlus 6T
In the event that the device does not boot up after flashing anything - then what do you do without a fully functional backup,

(1) 'Say a prayer to the MSM Gods'?

Or

(2) Wish that one can perform a restore from a NanDroid?
What if you find yourself in that situation without being anywhere near a PC? You're pretty much screwed.
Nope. Just do a clean flash with twrp. Or a factory reset. The ROMs, gapps, kernels, etc are already in storage so no pc needed
 
  • Like
Reactions: dyval

FoxyDrew

Senior Member
Aug 18, 2014
1,093
404
East Taunton
I don't understand why people need the backup function that badly. The only time your internal storage is fully wiped with twrp, is if you're going from OOS to custom or custom to OOS. Other than that, you can dirty flash custom ROMs(keeps installed apps and rom settings)or clean flash(factory reset) both of which keeps all your media like music, videos, downloads, etc.
Just because you don't understand it doesn't mean your 2 cents means anything to the people who do understand..

It's a great feature that me, along with (clearly) many other use and enjoy.

Some people jump from one ROM to the next a lot, in which a clean flash and having a stable backup is recommended.

I just don't get it, if a feature is getting asked about a lot, and you don't use it. Happily enjoy the features that you DO use, no need to explain to people you admit you didn't understand why they don't want something that they want.
 

jamescable

Senior Member
Feb 3, 2011
1,405
417
Louisville
Nexus 7 (2013)
OnePlus 6T
Just because you don't understand it doesn't mean your 2 cents means anything to the people who do understand..

It's a great feature that me, along with (clearly) many other use and enjoy.

Some people jump from one ROM to the next a lot, in which a clean flash and having a stable backup is recommended.

I just don't get it, if a feature is getting asked about a lot, and you don't use it. Happily enjoy the features that you DO use, no need to explain to people you admit you didn't understand why they don't want something that they want.
That's why I am asking, so I can understand. I've never had to do a backup besides EFS and kernel backups since the very beginning of twrp from day 1.
 

Top Liked Posts

  • 1
    Can i flash a12 roms using this or only a11 roms??
    For now it's best to use with A11.
    1
    What should i wipe before flashing rom zip,sorry , I've never used twrp before , should i backup also any important partition before flashing any rom zip?
    Use a backup app to backup your photos, files, etc. Do a full wipe in TWRP then type yes.
    1
    I misunderstood your question. I thought the zips were intended to be flashed using TWRP. Not Magisk flashable. Please correct me if I'm wrong, but I definitely do not have any issues by the links provided by OP.
    Infected zips can be flashed in TWRP or Magisk. I've used both ways to install.
    1
    uploaded beta 6. it solves some MTP quirks builds were having.

    * 4ed3f94169 sdcard: only bind mount sdcard after successful preparation of data
    * a871016870 MtpServer: create new ffs handle if current one fails
    * ed83f739ba Partition_Property_Get: Get props from additional partitions
    * b5dff95c82 [WIP] Allow flashing lz4 images

    regards.
  • 23
    uploaded beta 3. it's possible now to backup persist partition also.

    twrp-op8-3.6.0_11-infected-b3.img
    twrp-op8-3.6.0_11-infected-b3.zip

    * 0c94cd7 - fstab: it's now possible to backup persist partition.
    * b99d112 - module load: Try loading prior modules first
    * 5ab53dc - libresetprop: use the latest header
    * 60927bc - kernel_module_loader: Set a prop after completing
    * 3a95d18 - fscrypt v1: support legacy ioctl
    * 540c802 - build: add option to create recovery installer zip
    * 7284ace - vndk: remove exclusion in recovery
    * aa2f760 - update_engine: handle payload that contain xbl_lp5 partitions
    * f1db62e - libresetprop: update to magisk HEAD
    * b65b045 - soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional

    regards.
    16
    uploaded beta 2 of the 3.6.x series

    changelog

    * 0429bac Make vibration works
    * a90af2a partitionmanager: Use boot HIDL to switch active slots
    * ef231e9 sepolicy: twrp: Mark ueventd as permissive
    * cdbd15f kernel_module_loader: Set a prop after completing
    * f60ec98 correct condition for change TWRP folder

    regards.
    16
    uploaded beta 4.

    * 43a0dd18a custom theme: Fix the install custom theme
    * ff67337b9 SkipDecryption: Fix condition
    * 815c68f3e keymaster restore: Do not enter the keymaster_restore page repeatedly
    * edab9bb14 /sdcard: do not bind mount twice
    * 4d68b2663 Replace TWRP terminal UI from pcansi to bg1.25
    * e0ca1ecbf fscrypt v1: support legacy ioctl
    * c6c7935e9 kernel_module_loader: Set a prop after completing
    * f415adeae sdcard: bind mount /sdcard if not encrypted
    * 285ce8437 [WIP] Allow flashing lz4 images

    if AFH still have issues, mirrors:


    regards.
    13
    i'll be including recovery zip flash for twrp, since we now have the option to do it.


    there will be two files, like this:

    • twrp-op8-3.6.0_11-infected-b2.img
    • twrp-op8-3.6.0_11-infected-b2.zip

    Lycidias thank you for all the ones you've uploaded.

    regards.

    ps: latest build i've uploaded have an extra commit, that i am testing: https://gerrit.twrp.me/c/android_system_update_engine/+/4966
    10
    let there be mirrors!

    added Sourceforge to "official" mirrors on OP.

    happy new year guys! :cool:
  • 55


    TWRP for OnePlus 8 and 8 Pro



    TWRP is an open source, community project. TWRP development is done by a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers, and zulip-chat.

    A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM".

    You can find the source code for TWRP at github.com/teamwin/android_bootable_recovery/

    #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 recovery.
    * 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.
    *
    */

    A11 support is still a WIP, keep that in mind.

    WORKING:
    Decryption
    ADB Sideload
    Format Data
    Flashing zips (kernels and ROM's)
    Backup/Restore
    MTP is working
    adb is working
    vibration

    NOT WORKING
    wip

    Download folder on AFH:

    https://www.androidfilehost.com/?w=files&flid=328628

    Download folder on SourceForge:

    https://sourceforge.net/projects/op8-8pro-twrp/files/beta_builds/


    Instructions

    Windows

    Install oneplus usb driver, after disabling driver signature enforcement

    Download and install platform tools, unzip and add the folder to Windows path,

    "Settings > Advanced System Settings > Environment Variables > New"

    Example -> http:///imgur.com/a/x8XOofQ

    open command prompt, or powershell, and:

    fastboot flash recovery_a twrpname.img
    fastboot flash recovery_b twrpname.img

    Linux

    Download and add to path (.bashrc) platform-tools:

    export PATH=$HOME"/platform-tools:$PATH"

    dont forget udev rules if you're using ubuntu based distro:

    https://github.com/M0Rf30/android-udev-rules

    open a terminal and:

    fastboot flash recovery_a twrpname.img
    fastboot flash recovery_b twrpname.img

    that's all.


    Source Code:

    https://github.com/infectedmushi/android_device_oneplus_instantnoodle
    https://github.com/infectedmushi/android_bootable_recovery
    https://github.com/bigbiff/android_device_oneplus_instantnoodle
    https://github.com/TeamWin/android_bootable_recovery
    https://github.com/systemad/android_device_oneplus_instantnoodle

    Credits:
    @bigbiff
    @Lossyx
    @Captain_Throwback for original tree
    @mauronofrio for original tree
    TWRP team


    (Thread is still WIP)
    23
    uploaded beta 6.

    changelog:

    * Add custom kernel for recovery
    * crypto: only set crypto state and type if not already set
    * crypto: only show FBE error if device is encrypted
    * digest: fix checking of digest on restore
    * fs_mgr: allow deleting merged snapshots
    * merges: allow user to perform snapshot merges in advanced menu
    * mtp: don't create storage device after format data
    * recovery: Allow kernel to read and write unlabeled files
    * repacker: add root overwrite warning


    regards.
    23
    uploaded beta 3. it's possible now to backup persist partition also.

    twrp-op8-3.6.0_11-infected-b3.img
    twrp-op8-3.6.0_11-infected-b3.zip

    * 0c94cd7 - fstab: it's now possible to backup persist partition.
    * b99d112 - module load: Try loading prior modules first
    * 5ab53dc - libresetprop: use the latest header
    * 60927bc - kernel_module_loader: Set a prop after completing
    * 3a95d18 - fscrypt v1: support legacy ioctl
    * 540c802 - build: add option to create recovery installer zip
    * 7284ace - vndk: remove exclusion in recovery
    * aa2f760 - update_engine: handle payload that contain xbl_lp5 partitions
    * f1db62e - libresetprop: update to magisk HEAD
    * b65b045 - soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional

    regards.
    21
    back to business guys. feels good to be ok, in good health and back to XDA..

    i'll compile a new build even today.

    let's keep rolling again!!

    regards.
    20
    uploaded beta 5.

    changelog:

    * install_keyring: only set props if not already set
    * recovery: Allow kernel to read and write unlabeled files
    * mtp: don't create storage device after format data
    * repacker: add root overwrite warning
    * twrp.fstab: add persist and remove extra tabs

    regards.