• 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

hurvi

Member
Sep 19, 2015
25
6
Windhagen
can i use im beta 7 the advanced wipe function to make a clean flash of a custom rom (AICP) over a oos 11 system?
i read that the wipe function must not be used because something is wrong with the assignment?
 

sairam108

Member
Jul 7, 2012
43
14
Moscow
Tried to install full system update (11.0.9.9) with Oxygen Updater using twrp option and failed. Twrp made backup and finished without any update.
 

dladz

Senior Member
Aug 24, 2010
13,110
4,165
Liverpool
Huawei Watch 2
OnePlus 8
does anybody have 10.0.8.8 IN11BA stock recovery .img file and could upload it?
If you're on 8.8 OOS you can pull it yourself using payload dumper. It's good practice to be able to obtain it yourself.

My root guide in guides and discussion can show you exactly how...

Then just flash it in fastboot.
 

enjoy_life

Senior Member
Mar 5, 2016
142
68
Yesterday tried to restore my OOS backup after tinkering with a custom ROM. There were no errors when I took the backup. Data restored fine without errors too, but the system didn't boot afterwards, it was boot looping. I did a wipe - factory reset before restoring. Lost about two hours trying to restore the backup so that it would boot and all was in vain. So I had to MSM eventually 🙂 I used beta 7 for backing up and restoring.
 

dyval

Senior Member
Yesterday tried to restore my OOS backup after tinkering with a custom ROM. There were no errors when I took the backup. Data restored fine without errors too, but the system didn't boot afterwards, it was boot looping. I did a wipe - factory reset before restoring. Lost about two hours trying to restore the backup so that it would boot and all was in vain. So I had to MSM eventually 🙂 I used beta 7 for backing up and restoring.
Just curious. Did you follow the instructions on the 2nd post?
 

enjoy_life

Senior Member
Mar 5, 2016
142
68
Just curious. Did you follow the instructions on the 2nd post?
Of course. I removed the pin so that the system was unencrypted before backing it up. Then I did a factory reset before restoring.

I have a backup phone (Samsung A5 2017), which also has a TWRP installed. I backed up that phone and restored it over a dozen of times, so I'm kinda familiar with the process.

In this case I could eventually still install a custom ROM on a clean system and it would boot and work fine. However, the restored OOS backup never boots.
 
Last edited:

BillGoss

Senior Member
Sep 2, 2010
4,813
4,267
Sydney
OnePlus 3T
OnePlus 8T
Of course. I removed the pin so that the system was unencrypted before backing it up. Then I did a factory reset before restoring.

I have a backup phone (Samsung A5 2017), which also has a TWRP installed. I backed up that phone and restored it over a dozen of times, so I'm kinda familiar with the process.
The process as explained in post #2, when switching ROMs, is to do a format of /data, not a factory reset.
 
  • Like
Reactions: dyval

enjoy_life

Senior Member
Mar 5, 2016
142
68
The process as explained in post #2, when switching ROMs, is to do a format of /data, not a factory reset.

I did a format too (where it says type "yes" to continue). As I said, I tried to restore the backup over two hours multiple times, on a clean/wiped/completely formatted system. It does restore the backup without errors, but it never boots. I could still install a custom ROM though and it booted just fine.
 

mirdaVG

Member
Feb 11, 2010
12
0
Zagreb
I did a format too (where it says type "yes" to continue). As I said, I tried to restore the backup over two hours multiple times, on a clean/wiped/completely formatted system. It does restore the backup without errors, but it never boots. I could still install a custom ROM though and it booted just fine.
Same problem here, but with custom ROM.
 

BillGoss

Senior Member
Sep 2, 2010
4,813
4,267
Sydney
OnePlus 3T
OnePlus 8T
I did a format too (where it says type "yes" to continue). As I said, I tried to restore the backup over two hours multiple times, on a clean/wiped/completely formatted system. It does restore the backup without errors, but it never boots. I could still install a custom ROM though and it booted just fine.
When you backed up OOS, what partitions did you backup, other than data?
 

dladz

Senior Member
Aug 24, 2010
13,110
4,165
Liverpool
Huawei Watch 2
OnePlus 8
I backed up all partitions, except "persist" and "super partition". When restoring, I tried to restore all of them and also restored "data" only. It didn't make any difference.
Historically was a format required?

I mean it's going to nuke the device anyway?

I'll be honest I never bothered with Nand back ups but to me it sort of defeats the object if you need to wipe prior to a restore?
 
  • Like
Reactions: wgs1028

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.