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

Search This thread

os64

Member
Jan 12, 2023
13
0
Hi I'm new around here and I was looking for a twrp recovery for samsung galaxy a13 sm-a135m version but I'm not finding any I search all over the internet but I'm not finding any can you help me with that
 

deepongi

Recognized Developer
Jul 12, 2008
6,057
14,959
40
Portugal
OnePlus 8
POCO X4 Pro
thread was cleaned. i made a bad mistake of asking donations, which is against the rules of XDA. i was contacted by a moderator regarding this issue, thats why the thread was cleaned, and i was given a warning, and lucky enough not to get banned or loose my R.D. tittle... and paypal is giving me a hard time with unlocking the money, due to the nature of my account, so i need to do more stuff to be able to unlock the money, and finnaly order the missing parts. im attaching screenshots so you guys can see i am not lying and the donations will be applied in the repair of the op8 soon i unlock the money held...

regards.
 

Attachments

  • Screenshot_20230116_113536.png
    Screenshot_20230116_113536.png
    99.3 KB · Views: 89
Last edited:

Erik1414

Member
Nov 16, 2019
6
1
OnePlus 8
Glad they didn't boot you and I am sure they recognized your contributions to the community.

On a technical note, I finally managed to install TWRP on my IN2017 running 11.C.43 but not by the posted directions! Before and after each flash I had to specify which slot was the active one. This is probably due to the fact that I have a corrupted boot.img, at the least, in slot_b. Now my next project is to find an international version I can patch with Magisk and fill the void with.

I am really coming to like the dual slot setup on these phones. It definitely makes it a lot harder to brick than say an S9+.

Infected, again thanks for your contributions and I am open to DM's if anyone wanted to give me some tips from their experiences on the direction of my projects that are off topic in this thread.
 
  • Like
Reactions: hammerhaigh

samhhmobil

Senior Member
May 25, 2017
473
239
Hamburg
May I ask a (stupid?) question?

I just flashed my OnePlus8 with custom ROM LineageOS 20 (Android13).

This TWRP here (ext4-version) cannot decrypt data. It asks for the decryption key, but when I entered the correct PIN, the decryption failed.

I deleted the PIN, LOS is booting correctly without asking for any Key/PIN, but TWRP even did ask for a decryption key, which does not exist.

What can I do to get it work?

Thanks a lot,
samhhmobil
 

Erik1414

Member
Nov 16, 2019
6
1
OnePlus 8
May I ask a (stupid?) question?

I just flashed my OnePlus8 with custom ROM LineageOS 20 (Android13).

This TWRP here (ext4-version) cannot decrypt data. It asks for the decryption key, but when I entered the correct PIN, the decryption failed.

I deleted the PIN, LOS is booting correctly without asking for any Key/PIN, but TWRP even did ask for a decryption key, which does not exist.

What can I do to get it work?

Thanks a lot,
samhhmobil
i actually had the same problem, followed instructions on how to fix it that I found online, and now I am stuck in a bootloop with access to both TWRP and fastboot.

No clue how to proceed from here.
 
  • Sad
Reactions: samhhmobil

Marcyvee

Senior Member
Oct 9, 2015
329
35
Glad they didn't boot you and I am sure they recognized your contributions to the community.

On a technical note, I finally managed to install TWRP on my IN2017 running 11.C.43 but not by the posted directions! Before and after each flash I had to specify which slot was the active one. This is probably due to the fact that I have a corrupted boot.img, at the least, in slot_b. Now my next project is to find an international version I can patch with Magisk and fill the void with.

I am really coming to like the dual slot setup on these phones. It definitely makes it a lot harder to brick than say an S9+.

Infected, again thanks for your contributions and I am open to DM's if anyone wanted to give me some tips from their experiences on the direction of my projects that are off topic in this thread.
I think it depends on the firmware version. I have the same problem with EvoX when upgraded to the FW 15.
i actually had the same problem, followed instructions on how to fix it that I found online, and now I am stuck in a bootloop with access to both TWRP and fastboot.

No clue how to proceed from here.
What rom are you using?
 

deepongi

Recognized Developer
Jul 12, 2008
6,057
14,959
40
Portugal
OnePlus 8
POCO X4 Pro
thread was cleaned. i made a bad mistake of asking donations, which is against the rules of XDA. i was contacted by a moderator regarding this issue, thats why the thread was cleaned, and i was given a warning, and lucky enough not to get banned or loose my R.D. tittle... and paypal is giving me a hard time with unlocking the money, due to the nature of my account, so i need to do more stuff to be able to unlock the money, and finnaly order the missing parts. im attaching screenshots so you guys can see i am not lying and the donations will be applied in the repair of the op8 soon i unlock the money held...

regards.
i've fixed the issue with my paypal being a merchant account. here's new donations link:
 
Last edited by a moderator:

FreshlyBaked 420

Senior Member
Nov 10, 2014
606
338
Kamloops
OnePlus 6T
OnePlus 8 Pro

scorpio76r

Senior Member
Jan 10, 2016
1,548
561
All over like street lights
If you are seeking donations for your work why don't you put a link in the OP? It's going to get lost here in the thread. Most other developers seem to have link's in the first post
The donations went towards fixing his device so he could continue his work and, in return provide us with continued updates to twrp. That mission has been accomplished now.
 

deepongi

Recognized Developer
Jul 12, 2008
6,057
14,959
40
Portugal
OnePlus 8
POCO X4 Pro
should arrive tomorrow! thank you all, you guys are great, and specially @scorpio76r, you're my brother in arms, no doubt..

ill be soon back developing to the op8

many thanks for the donations, once again, it allowed me to buy an used op8.

regards,

infected_
 

Attachments

  • photo_2023-01-19_10-14-53.jpg
    photo_2023-01-19_10-14-53.jpg
    210.9 KB · Views: 35
  • photo_2023-01-19_10-14-51.jpg
    photo_2023-01-19_10-14-51.jpg
    209.3 KB · Views: 36
  • photo_2023-01-19_10-14-48.jpg
    photo_2023-01-19_10-14-48.jpg
    198.2 KB · Views: 33
  • photo_2023-01-19_10-14-46.jpg
    photo_2023-01-19_10-14-46.jpg
    143.9 KB · Views: 34
  • photo_2023-01-19_10-14-38.jpg
    photo_2023-01-19_10-14-38.jpg
    148.7 KB · Views: 37

Erik1414

Member
Nov 16, 2019
6
1
OnePlus 8
I think it depends on the firmware version. I have the same problem with EvoX when upgraded to the FW 15.

What rom are you using?
Stock OOS, 11_C.43 (Android 12). Unfortunately I was unable to extract a copy of it beforehand nor find one online and I don't have access to a Windows machine. I could dual boot my laptop and run MSM tool but I would like to do everything in Linux.

Funny part is after I lost boot access to the OS and subsequently tried to factory reset the device through TWRP, it (TWRP) started recognizing the data on my initially corrupted slot_b. Nothing there anymore now as I wiped that as well.

At this point I was going to load up images on my laptop and run 'fastboot boot' until something gives and then flash the device if and when that happens. Afterwards I can work on achieving root.

I don't expect to be using the phone again anytime soon.
 

suhuf

Member
Feb 12, 2012
14
1
hello friends. The latest in2011 .f13 original rom is installed. Can I install it on the phone. If I do, which one should I choose. And can I install zip roms for example Evolution X 7.5 rom. Thank you.
 

deepongi

Recognized Developer
Jul 12, 2008
6,057
14,959
40
Portugal
OnePlus 8
POCO X4 Pro
Stock OOS, 11_C.43 (Android 12). Unfortunately I was unable to extract a copy of it beforehand nor find one online and I don't have access to a Windows machine. I could dual boot my laptop and run MSM tool but I would like to do everything in Linux.

Funny part is after I lost boot access to the OS and subsequently tried to factory reset the device through TWRP, it (TWRP) started recognizing the data on my initially corrupted slot_b. Nothing there anymore now as I wiped that as well.

At this point I was going to load up images on my laptop and run 'fastboot boot' until something gives and then flash the device if and when that happens. Afterwards I can work on achieving root.

I don't expect to be using the phone again anytime soon.
you need to uses msmdownload tool and start over , go to a windows machine.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I followed OP instructions and ended to the same situation. There should be more (updated?) instructions. @deepongi
    I have a OP8P (IN2025) and I was on OOS 13 F.62.
    I now have to use this MSM tool to be able to start from scratch.

    It seems that we have to BOOT to TWRP instead of FLASHING it.
    I'm looking for the proper way to install TWRP now. Can we still flash the flashable zip from Magisk Manager?
    EDIT: there's a magiskboot file into the flashable zip and it's written #MAGISK into the updater-script file so I guess it should work with Magisk...

    By the way, why there are 2 versions in this thread (ext4 / erofs) while there's only one version in the TWRP official website?

    EDIT: All good with :
    adb reboot bootloader
    fastboot boot twrp_op8_erofs-3.7.0-b3.img
    (I'm on OOS13 F62 - OP8P IN2025)
    Flash Magisk v25.2.zip
    The zip is flashable through Magisk.
    I'm with an OP8 Pro (IN2020) running OOS 13.0 IN2023_11_F.62, flashed TWRP (EROFS) as a Magisk module and everything is working fine.
    2
    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 😇
    2
    Depends on your OOS version. From the explanations I got on Telegram ext4 = OOS 11 and erofs = OOS 12-13.

    Adding my two cents, custom roms use ext4 or erofs, you have to find it yourself

    Thanks for the replies, I'll try booting it when I have time instead of flashing it. I'm running the stock rom and recently updated to OOS 13. TWRP used to be so easy to figure out. 🤔
    1
    This does not work
    Should bé wipe data ?
    Sometimes the error is because what you are trying to flash is not compatible, it's a safety measure to prevent flashing something that can harm your device.

    You might be surprised what kinds of issues that updating/downgrading TWRP will fix.
    1
    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.
  • 69
    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.