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

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

Search This thread

nadnan

Member
Feb 20, 2018
18
1
OOS 11.0.10.10
TWRP 3.6
Magisk 23.0
Hello
I used TWRP a lot on old LG or Samsung devices to make "Nandroid" backups before loading Custom LineageOS Roms and possibly restoring a previous installation in case of problems.
I have no TWRP experience with my new OnePlus 8 Pro device
Today, I don't really know what I should keep as partitions that have become "dynamic" since OOS for the OnePlus 8 series.
Could you help me to tell me precisely the partitions to check for the backup and the identical restoration of my device, without data loss?
Is it necessary or useful to check all partitions (which I did on old devices) or only some?
Are there partitions that should not be ticked (see attached screenshots) for backup and restore?
Is there a safe way to restore Nandroid?
Finally, do you always have to do a “Wipe>Factory Reset” before restoring the backup?
Thank you in advance for your information and advice.
Best regards
 

Attachments

  • Screenshot_2022-01-16-22-27-36.png
    Screenshot_2022-01-16-22-27-36.png
    139.5 KB · Views: 48
  • Screenshot_2022-01-16-22-27-40.png
    Screenshot_2022-01-16-22-27-40.png
    143.5 KB · Views: 46
  • Screenshot_2022-01-16-22-27-51.png
    Screenshot_2022-01-16-22-27-51.png
    115.3 KB · Views: 44
  • Screenshot_2022-01-16-22-27-55.png
    Screenshot_2022-01-16-22-27-55.png
    120.6 KB · Views: 46

Noob9496

Senior Member
Jul 28, 2017
293
88
OnePlus 6
OnePlus 8 Pro
OOS 11.0.10.10
TWRP 3.6
Magisk 23.0
Hello
I used TWRP a lot on old LG or Samsung devices to make "Nandroid" backups before loading Custom LineageOS Roms and possibly restoring a previous installation in case of problems.
I have no TWRP experience with my new OnePlus 8 Pro device
Today, I don't really know what I should keep as partitions that have become "dynamic" since OOS for the OnePlus 8 series.
Could you help me to tell me precisely the partitions to check for the backup and the identical restoration of my device, without data loss?
Is it necessary or useful to check all partitions (which I did on old devices) or only some?
Are there partitions that should not be ticked (see attached screenshots) for backup and restore?
Is there a safe way to restore Nandroid?
Finally, do you always have to do a “Wipe>Factory Reset” before restoring the backup?
Thank you in advance for your information and advice.
Best regards
For backup read this https://forum.xda-developers.com/t/...for-oneplus-8-8pro-beta.4341707/post-85714857
 

skleveno

Member
May 24, 2017
19
2
Yes flash rom zip, then TWRP, flash magisk, format data, reboot. No need to flash twrp again after magisk.
Ok, Its been awhile since I rooted a phone. Following these steps, will this do the trick. There are so many post with different stuff, I want to do the correct one. I'm on 11.0.6.8in55cb. I can man back to 10.7 if needed as I can care less about my data. Everything is backed up. I also have my bootloader unlock.bin. any suggestions would be huge
 

skleveno

Member
May 24, 2017
19
2
Ok, Its been awhile since I rooted a phone. Following these steps, will this do the trick. There are so many post with different stuff, I want to do the correct one. I'm on 11.0.6.8in55cb. I can man back to 10.7 if needed as I can care less about my data. Everything is backed up. I also have my bootloader unlock.bin. any suggestions would be huge
Thank you!
 

moccor

Senior Member
Apr 3, 2011
305
53
Do we still only choose "data" when trying to get a backup of a whole ROM? Just wanna make sure because I know in the past we had to backup at least system as well.

Also, is it normal for a DATA partition to be about 28GB lol. Back when I did this a lot on my Droid devices and Nexus, even OP6T, I remember a ROM backup was a couple GB.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 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.
    12
    uploaded beta 7

    * 087491f - version: beta 7
    * b65b6c4 - update path to twrp recovery template
    * e0c9153 - instantnoodle: Fix battery and USB OTG detection
    * 249a787 - Additional build props path for OOS
    * 9e2f2b7 - Adding override props back
    * 2ffc7b8 - Fake reserve partition for OOS flashing

    fixed OOS flashing, OTG detection, and proper battery percentage detection

    regards.
    10
    let there be mirrors!

    added Sourceforge to "official" mirrors on OP.

    happy new year guys! :cool:
    10
    uploaded beta 5.

    * a6cb8643c2 sdcard: only bind mount sdcard after successful preparation of data
    * 901396cb3e kernel_module_loader: Add missing gki directory
    * 9c91d2a62b kernel_module_loader: Set a prop after completing
    * 124abcd996 Partition_Property_Get: Get props from additional partitions
    * 0df7c9ef27 SkipDecryption: Fix condition



    regards.
    8

    ill place the links to the latest build always on OP from now, on a mirror besides AFH.
  • 55
    TWRP for OnePlus 8 and 8 Pro
    h1641Xl - Imgur (1).jpg



    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/

    Code:
    #include
    
    /*
     * Your warranty is now void.
     *
     * I am 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 me for messing up your device, I will laugh at you.
     *
     */

    Code:
    /*
    *
    * Yea, though I walk through the valleys of c++ and java, of the shadow of death on these forums,
    * I will fear no evil and i will develop and code restless: for thou art with me and my keyboard;
    * thy rod and thy staff they comfort me, and my mouse..
    *
    */


    A12 support is still a WIP, but most things are working, A12 is all new, 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
    stock firmware flashing
    OTG

    NOT WORKING
    wip
    A12

    Download

    :: SourceForge ::

    ::
    AndroidFileHost ::



    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-dev
    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
    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.