• 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

Marcyvee

Senior Member
Oct 9, 2015
166
11
I asked if there's a way to boot twrp form terminal without install it and overwrite the stock recovery, as we can do wit fastboot. Is it possible?
 

jamescable

Senior Member
Feb 3, 2011
1,411
417
Louisville
Nexus 7 (2013)
OnePlus 6T

Attachments

  • Screenshot_20211129-105252_MiXplorer__01.png
    Screenshot_20211129-105252_MiXplorer__01.png
    111.8 KB · Views: 60

jamescable

Senior Member
Feb 3, 2011
1,411
417
Louisville
Nexus 7 (2013)
OnePlus 6T

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
14,910
33,747
Halifax
GT-i9250
Google Nexus 4

infected_

Recognized Developer
Jul 12, 2008
5,932
14,632
OnePlus 8

jamescable

Senior Member
Feb 3, 2011
1,411
417
Louisville
Nexus 7 (2013)
OnePlus 6T
Yes, I successfully flashed aicp to BOTH slots. Obviously I had to flash twrp after each ROM flash because aicp dev includes a recovery in his ROMs but no issues flashing. Have not tried other ROMs
 

Attachments

  • Screenshot_2021-11-29-12-22-19.png
    Screenshot_2021-11-29-12-22-19.png
    174.2 KB · Views: 62
  • Screenshot_2021-11-29-13-00-03.png
    Screenshot_2021-11-29-13-00-03.png
    144.5 KB · Views: 63
  • Wow
Reactions: osm0sis

dyval

Senior Member

jamescable

Senior Member
Feb 3, 2011
1,411
417
Louisville
Nexus 7 (2013)
OnePlus 6T

Top Liked Posts

  • 2
    I'm using crdroid and I wanna go back to OOS but I'm getting this error
    View attachment 5511721
    try the new beta i've uploaded. i've flashed OOS EU without issues..


    beta 7

    img:

    zip
    2
    Thanks ,now flashed on both slots and booted back to oos
  • 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-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


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