• 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

Docomoco

Member
Dec 27, 2011
49
4
This is probably a noob question but I wanna make sure.....

This is only for A11, right?

I am currently on A10, rooted, Magisk and twrp-3.4.0-14-instantnoodle-unified-mauronofrio installed.
So first I would need to update to A11, then root with Magisk, then install this via Magic or flash it with flashboot.
Am I correct?
Thanks.
 

jackreaper

Member
Nov 24, 2014
9
5
Hello Friends ,
Does TWRP have factory reset options?
Will factory reset wipe my root and TWRP ?
How to perform it ?
Tanks a lot for the guidance
 

kitcostantino

Senior Member
Mar 21, 2011
1,780
1,083
Mayberry
OnePlus 6T
OnePlus 8
This is probably a noob question but I wanna make sure.....

This is only for A11, right?

I am currently on A10, rooted, Magisk and twrp-3.4.0-14-instantnoodle-unified-mauronofrio installed.
So first I would need to update to A11, then root with Magisk, then install this via Magic or flash it with flashboot.
Am I correct?
Thanks.

I'm no expert, but my *theory* would be put full update, Magisk.apk , and new TWRP on internal storage then install new TWRP from old TWRP, flash update, flash magisk.
But again, this is only my conjecture, not a proven thing from my end. Someone out there likely has done exactly that. It's what I would have done if I had gone back to android 10 more recently, then seen the new TWRP that works on a11.
 

Unn113

Senior Member
Nov 19, 2010
1,083
793
OnePlus 8
OnePlus 8 Pro
I'm no expert, but my *theory* would be put full update, Magisk.apk , and new TWRP on internal storage then install new TWRP from old TWRP, flash update, flash magisk.
But again, this is only my conjecture, not a proven thing from my end. Someone out there likely has done exactly that. It's what I would have done if I had gone back to android 10 more recently, then seen the new TWRP that works on a11.
I would rather flash a11 as should be, from stock update app, then flash twrp via fastboot, then flash magisk from recovery
 

Extreme_Ninja2099

Senior Member
Jan 1, 2017
374
162
There's a button for thanks pal ;)

No worries, if you get stuck let us know we'll help you out.

And yes let us know how the back up/restore goes, more info the better.
For backup/restore, I'm gonna follow mauronofrio's method (For the Backups use always "system_image" and "vendor_image" instead of "system" and "vendor".).
This always worked for me on the OP6T and OP3. So it should be the same for my OP8 Pro
 

Extreme_Ninja2099

Senior Member
Jan 1, 2017
374
162
Someone online suggested to backup my persist and imei partition. I found my persist, but which one is for imei? Is it (metadata, or boot or DTBO or EFS or Modem or recovery or VBMeta)? I'm not sure which partition is for imei on the OP Pro

Update: it was EFS. For the TWRP backup, the partitions are different. But I chose boot, data, and the system/vendor for the twrp backup. let's see how the restore goes...
 
Last edited:
  • Like
Reactions: BeardKing

BeardKing

Senior Member
Nov 1, 2012
400
177
Philadelphia
OnePlus 8
Someone online suggested to backup my persist and imei partition. I found my persist, but which one is for imei? Is it (metadata, or boot or DTBO or EFS or Modem or recovery or VBMeta)? I'm not sure which partition is for imei on the OP Pro

Update: it was EFS. For the TWRP backup, the partitions are different. But I chose boot, data, and the system/vendor for the twrp backup. let's see how the restore goes...

Good luck! Are you using OOS?
 

rodken

Senior Member
Jan 11, 2010
644
185
Google Pixel XL
OnePlus 8
I did restore it was custom to custom and to reformat to get it to boot.
Make sure you back up your data on the computer.
Please share the steps - as a lot of folks are waiting for the 'green light' on the restore function because just having 1 or 2 people give the thumbs up is not really reassuring.
 

Extreme_Ninja2099

Senior Member
Jan 1, 2017
374
162
I have found a weird issue. Restoring partitions for twrp backup doesn't work for OOS 11.0.8.8? It can't find the partitions... Idk why. Also transferring the files are having a issue transferring them on to my device
 
Last edited:
  • Like
Reactions: Callbiggq and dladz

dladz

Senior Member
Aug 24, 2010
13,108
4,165
Liverpool
Huawei Watch 2
OnePlus 8
Someone online suggested to backup my persist and imei partition. I found my persist, but which one is for imei? Is it (metadata, or boot or DTBO or EFS or Modem or recovery or VBMeta)? I'm not sure which partition is for imei on the OP Pro

Update: it was EFS. For the TWRP backup, the partitions are different. But I chose boot, data, and the system/vendor for the twrp backup. let's see how the restore goes...
IMEI is efs mate...I had the commands somewhere from the OnePlus 5.


Back up
--------------

Says to do this in TWRP in the advanced terminal? Not sure about that, I'd try fastboot tbh.

Press enter after each command:

dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512

dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512


Restore

Copy both modemst1.bin & modemst2.bin files to your PC.

In Fastboot:

fastboot flash modemst1 modemst1.bin
fastboot flash modemst2 modemst2.bin


This shouldn't matter if the Nand back up is actually working. All partitions will be backed up
 
Last edited:

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.