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

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

Search This thread

Lycidias

Senior Member
Jan 17, 2013
1,191
525
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,860
33,604
Halifax
GT-i9250
Nexus 7 (2013)
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
818
176
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
818
176
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,080
793
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,080
793
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.
  • 19
    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.
    18
    uploaded beta 8.

    * Handle XML files format properly
    * Add support of A12 keymaster_key_blob files structure
    * keymaster restore: warn when pin, password or pattern is enabled
    * rotation: fix switch statement for rotation
    * sepolicy: make postinstall permissive
    * recovery: Don't exclude the whole data system dir for the factory reset
    * module load: don't processed /vendor in fastbootd if not required
    * theme: Capitalize EDL
    * keyboard: add num template for PIN input
    * crypto: differentiate type for PIN
    * Revert "checkpoint: check checkpoint instead of assuming"
    * checkpoint: check checkpoint instead of assuming
    * postinstall: allow twrp to run postinstall scripts
    * sepolicy: update for exfat-fuse
    * apex: cleanup apex directory bind mount names
    * custom theme: fix libziparchive loading of custom themes

    i have to take care of some health issues, but i hope ill be back soon again.

    meanwhile.., you guys develop, code, and flash away! :)

    regards.
    12
    uploaded beta 8.

    * Handle XML files format properly
    * Add support of A12 keymaster_key_blob files structure
    * keymaster restore: warn when pin, password or pattern is enabled
    * rotation: fix switch statement for rotation
    * sepolicy: make postinstall permissive
    * recovery: Don't exclude the whole data system dir for the factory reset
    * module load: don't processed /vendor in fastbootd if not required
    * theme: Capitalize EDL
    * keyboard: add num template for PIN input
    * crypto: differentiate type for PIN
    * Revert "checkpoint: check checkpoint instead of assuming"
    * checkpoint: check checkpoint instead of assuming
    * postinstall: allow twrp to run postinstall scripts
    * sepolicy: update for exfat-fuse
    * apex: cleanup apex directory bind mount names
    * custom theme: fix libziparchive loading of custom themes

    i have to take care of some health issues, but i hope ill be back soon again.

    meanwhile.., you guys develop, code, and flash away! :)

    regards.
    Thanks for the update and all the best for you 🙂👍

    Updated the magisk module installer with the new beta. Can be flashed inside magisk like a module and twrp beta 8 will install to slot a and b.

    Thanks @osm0sis for the template. 😊
    9
    @infected_ new beta still has same issues with flashing roms
    yes, working on it.
    9
    8/Pro now has official builds thanks to maintainer @infected_ but didn't have the website updates for it committed in time, for any wondering what's up with that.

    .img: https://build.twrp.me/twrp-3.6.0_11-0-instantnoodle.img
    .zip: https://build.twrp.me/twrp-installer-3.6.0_11-0-instantnoodle.zip
  • 51


    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

    NOT WORKING
    wip

    Download:

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

    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.
    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.
    19
    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.
    18
    uploaded beta 8.

    * Handle XML files format properly
    * Add support of A12 keymaster_key_blob files structure
    * keymaster restore: warn when pin, password or pattern is enabled
    * rotation: fix switch statement for rotation
    * sepolicy: make postinstall permissive
    * recovery: Don't exclude the whole data system dir for the factory reset
    * module load: don't processed /vendor in fastbootd if not required
    * theme: Capitalize EDL
    * keyboard: add num template for PIN input
    * crypto: differentiate type for PIN
    * Revert "checkpoint: check checkpoint instead of assuming"
    * checkpoint: check checkpoint instead of assuming
    * postinstall: allow twrp to run postinstall scripts
    * sepolicy: update for exfat-fuse
    * apex: cleanup apex directory bind mount names
    * custom theme: fix libziparchive loading of custom themes

    i have to take care of some health issues, but i hope ill be back soon again.

    meanwhile.., you guys develop, code, and flash away! :)

    regards.