• 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

Lycidias

Senior Member
Jan 17, 2013
1,223
568
Sony Xperia Tablet Z
OnePlus 8 Pro
Should use the official twrp_ab zip template instead. We're going to have them auto-built with the whole images for recovery_a/_b devices for the next TWRP release. 🤘

Could you explain, what this template differs from the zip @jamescable posted?
I looked into the script but i have no knowledge about it 😅

Thanks 😊
 
  • Like
Reactions: dladz

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
14,910
33,750
Halifax
GT-i9250
Google Nexus 4
Could you explain, what this template differs from the zip @jamescable posted?
I looked into the script but i have no knowledge about it 😅

Thanks 😊
James' zip was based on an old (i.e. the oldest) version of the template, but hacked to use full images. Mine is the official TWRP installer zip template you'll see on dl.twrp.me for all A/B devices, which now supports both ramdisk.cpio and full images, plus has some dump/flash speed optimizations from arter97.
 

turboedm

Senior Member
Jul 14, 2014
168
42
24
OnePlus 8 Pro
No, it's for 8 and pro. Wait a little bit longer, splash screen is taking longer than we expect
Yes I figured that out on my own, right after I sent that it showed up. Well I'm not gonna use it yet, but I backed up some things as a test and it seems like they were backed up just fine. Hopefully this opens up more ROMs to come to the 8 and 8 Pro. TWRP is exactly what this device needed.
 

Supracer

Senior Member
Feb 25, 2012
830
180
Xiaomi Poco F3
Hey everyone, just a quick question.
If I'm on oos and I want to flash a custom rom, do I have to format/will the rom flash wipe my internal storage?
Like will twrp format my internal storage after flashing for example crdroid?
 

jackreaper

Member
Nov 24, 2014
9
5
Can I flash twrp recovery with magisk in OnePlus 8 rooted and bootloader unlocked ? Please tell me the steps..
 

Supracer

Senior Member
Feb 25, 2012
830
180
Xiaomi Poco F3
I doubt it would format on its own, but you actually have to format data as it's incompatible between oos and aosp/caf
Formatting data I have no problem with formatting the data like I have been doing for the past 8 years on every android phone I owned but I just don't want to format my internal storage. Up until now, to flash a custom rom on my OnePlus 8 pro, via PC I have to format my internal storage so has this twrp made life easier and you don't have to format internal storage anymore or that's not the case?
 

Unn113

Senior Member
Nov 19, 2010
1,089
800
Poland
OnePlus 8
OnePlus 8 Pro
Formatting data I have no problem with formatting the data like I have been doing for the past 8 years on every android phone I owned but I just don't want to format my internal storage. Up until now, to flash a custom rom on my OnePlus 8 pro, via PC I have to format my internal storage so has this twrp made life easier and you don't have to format internal storage anymore or that's not the case?
You have to format it because it's incompatible :c
 

Unn113

Senior Member
Nov 19, 2010
1,089
800
Poland
OnePlus 8
OnePlus 8 Pro
Thanks for the reply! 🤗
Then what's the point of having twrp if we can't keep our pics/files/downloads when we want to flash a different rom....
I believe only when switching between oos and aosp/caf roms format internal data is necessary, because oos and aosp use different partition types what causes it to be incompatible, but I never flashed aosp rom on this device.
 
  • Like
Reactions: Supracer

Top Liked Posts

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