[TWRP][3.7.0-13][instantnoodle]TWRP for OnePlus 8/8Pro ][OFFICIAL][BETA 3]

Search This thread

jon214m

Member
Dec 23, 2012
13
1
43
Missoula
Does this not work on a13 f13? I installed but getting bootloader/recovery is corrupted.
You must have flashed the wrong image , so the system doesn't have a record of that file. Go back to you original PATCH_boot.IMG file, there might be on your PC when you Magisk or make a new ones and flash it . Or If you updated something make sure your boot.IMG are matching and patched . It will boot to normal
 

Nimueh

Recognized Contributor
May 19, 2012
3,460
3,144
OnePlus 3
Samsung Galaxy Tab A series
I have looked and cannot find a satisfactory answer to this queston that makes me comfortable. Which version, ext4 or erofs, do I need for a North American version of the OP 8 Pro? Thanks in advance.
Depends on your OOS version. From the explanations I got on Telegram ext4 = OOS 11 and erofs = OOS 12-13.

Disclaimer: I'm just repeating what I was told, no guarantees lol 😇
 

PieceKeepr

Senior Member
Jun 13, 2010
1,366
302
Florida
OnePlus 8 Pro
  • Like
Reactions: rodken and Nimueh

rmedure

Senior Member
Dec 30, 2013
128
23
Austin, TX
I have looked and cannot find a satisfactory answer to this queston that makes me comfortable. Which version, ext4 or erofs, do I need for a North American version of the OP 8 Pro? Thanks in advance.
I'm using twrp_op8_erofs-3.7.0-b3.img on my IN2025 running stock OOS 13 (11_F.15). Definitely attempt boot before flash. Not sure if this is absolutely necessary, but I also made sure to install the new OOS 13 to both slots first.

Cheers!
 
  • Like
Reactions: PieceKeepr

Nimueh

Recognized Contributor
May 19, 2012
3,460
3,144
OnePlus 3
Samsung Galaxy Tab A series
Stock OOS13 is using EROFS filesystem.
You can find out what the FS is of the "system" (odm, product, vendor, my_*, ...) logical partitions by looking at the output of the mount command.
Yea I know 13 is erofs, I said that this morning. I meant in DevCheck since that was mentioned earlier, I happen to have it installed and wanted to know for future reference. Thanks though :)
 

Nimueh

Recognized Contributor
May 19, 2012
3,460
3,144
OnePlus 3
Samsung Galaxy Tab A series

Attachments

  • Screenshot_20230305-183052.png
    Screenshot_20230305-183052.png
    169.2 KB · Views: 61

PieceKeepr

Senior Member
Jun 13, 2010
1,366
302
Florida
OnePlus 8 Pro
I'm using twrp_op8_erofs-3.7.0-b3.img on my IN2025 running stock OOS 13 (11_F.15). Definitely attempt boot before flash. Not sure if this is absolutely necessary, but I also made sure to install the new OOS 13 to both slots first.

Cheers!
It booted fine but the backup fails with error 255. It looks like TWRP stumbles over the swapfile but I'm not sure how to tell it to ignore the file. Can I delete swapfile without any issues? It's been a while, and a couple of phones, since I have messed with it.

I:addFile '/data/nandswap' including root: 1
libtar: ==> set selinux context: u: object_r:nandswap_file:s0
libtar: failed to lookup fscrypt tar policy for '/data/nandswap' - '1ab2bbc9c89884da'
I:Closing tar
Splitting thread ID 0 into archive 20
I:addFile '/data/nandswap/4PI+FDAAAAg,nbYGkZ5miPe+6IVUfQDf' including root: 1
libtar: ==> set selinux context: u: object_r:nandswap_file:s0
I:Error adding file '/data/nandswap/4PI+FDAAAAg,nbYGkZ5miPe+6IVUfQDf' to '/data/media/0/TWRP/BACKUPS/c68e271e/OP8Pro TWRP/data.f2fs.win019'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/c68e271e/OP8Pro TWRP/data.info'
createTarFork() process ended with ERROR: 255

EDIT: Deleted swapfile and TWRP completed the backup without any other issue and swapfile regenerated on reboot.
 
Last edited:

CurlyTemple

Member
Jan 26, 2022
23
3
My OP8 keeps trying to reboot to recovery mode, but gets stuck on the screen saying bootloader is unlocked. How do I reboot it to system, so I can get back into ADB debugging?

I tried
fastboot flash recovery_a twrp_op8_ext4-b3.img
and then
fastboot flash recovery_b twrp_op8_ext4-b3.img.
Both showed successful, but the phone now gets stuck on the bootloader unlocked screen. I can press Volume Up + Power to turn it off. It started to system again twice, but now only keeps trying to start to recovery -- which apparently didn't install properly. Please help!
 
  • Like
Reactions: Primokorn

CurlyTemple

Member
Jan 26, 2022
23
3
Also, the phone turns on when I connect the USB cord. I did enable USB debugging for this computer automatically, but adb devices and fastboot devices commands don't return device ID.
My OP8 keeps trying to reboot to recovery mode, but gets stuck on the screen saying bootloader is unlocked. How do I reboot it to system, so I can get back into ADB debugging?

I tried
fastboot flash recovery_a twrp_op8_ext4-b3.img
and then
fastboot flash recovery_b twrp_op8_ext4-b3.img.
Both showed successful, but the phone now gets stuck on the bootloader unlocked screen. I can press Volume Up + Power to turn it off. It started to system again twice, but now only keeps trying to start to recovery -- which apparently didn't install properly. Please help!
 

Top Liked Posts

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

    Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

    Code:
    #include
    
    /*
    *
    * 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..
    *
    */


    A13 support is still a WIP, but most things are working, A13 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
    OTG
    more...

    NOT WORKING
    tell me

    Download

    Beta 3

    Flashable zips:

    https://devuploads.com/h6omb3dsxg5n -> twrp_op8_ext4-3.7.0-b3.zip - 34.8 MB
    https://devuploads.com/d6j8gpbyfbzf -> twrp_op8_erofs-3.7.0-b3.zip - 34.8 MB

    Flashable imgs

    https://devuploads.com/gxv3t5onoapm -> twrp_op8_ext4-3.7.0-b3.img - 100.0 MB
    https://devuploads.com/vg662syh8j7j -> twrp_op8_erofs-3.7.0-b3.img - 100.0 MB

    (Please disable any adblockers downloading from my links)


    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.

    Telegram Group:


    Feel free to join!


    Source Code:

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

    * sdcard: only bind mount sdcard after successful preparation of data
    * Add TW_QCOM_ATS_OFFSET flag to manually set time/date offset
    * System_Property_Get: Allow specifying multiple prop file paths
    * update RECOVERY_INSTALLER_PATH to proper path
    * fastbootd: Check for and run startup script if script exists
    * Adding TARGET_OTA_ASSERT_DEVICE flag for custom device asserts
    * theme: move TW_THEME_VERSION to variables.h
    * theme: clean up TW_THEME_VERSION shell command
    * prebuilt: update magiskboot to v24.1 stable

    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.