I read this to mean that he was on OOS, successfully flashed TWRP through FKM, and then flashed a kernel through TWRP. It's not completely clear, but I'm not sure that he was saying he actually flashed OOS through TWRP. Maybe 8m reading it wrong though
Ok so first off, I prob should have known what you meant regarding decryption... but its been a while since using TWRP I guess. All good on that so to answer your follow up questions:From my part, when I said "Can I mount the /data partition and decrypt the files?" I was referring to TWRP's ability to ask for a password and then use that password decrypt /data/data/*, /data/media/* etc. I would assume from the answers that this is possible.
I asked it because I thought I had read in another thread somewhere that Oneplus used a non-standard encryption scheme for 8T and there were other users speculating that because of this, there would never be a TWRP for this device. I think theincognito or the other devs and senior members would have to comment further. Regarding mounting Android system partitions, I think you can access these files in adb shell with su, I'm not sure if MTP exposes anything outside of Internal Storage although I doubt it.
You mentioned that "it would say there is NO OS installed". Do you see this message just when using TWRP or when the phone is booting?
Also, does this phone display a orange warning message when booting about how the device can't be checked for corruption due to the unlocked bootloader?
Thank you for taking the time to share your experience, this is welcome news. Having a full featured recovery option like TWRP really is a hig asset for a device.
So to sum it up:Hell I just booted it, encryption works, data backup works, I'm on OOS... The real test is to attempt to restore it... Actually I just flashed it to recovery from fastboot, it works! Although attempting to flash the incremental update fails; it doesn't appear to have the proper partition layout as it can't find system_root on slot B (I'm on slot A, TWRP attempts to flash to the inactive slot B, just where the update is supposed to go anyway)... But I found a Payload dumper https://github.com/vm03/payload_dumper that supports incremental updates so more to come there...
A "full" backup requires data, boot, dtbo, and super.So to sum it up:
With the current TWRP for 8T modell
1. DATA partition is - as stated - backupable, incl. fingerprint backup and restore.
2. A full nandroid (DATA and SUPER partitions like usually) is - as far as I experienced - possible. But restoring failed.
My device has latest OOS with working magisk (patched boot.img via fastboot) and installed twrp.
Elemental-X kernel works perfect (flashed within EXKM).
Has anyone a detailed instruction for successfully restoring everything (nandroid) coming from a factory resetted device ?
Have I overlooked/done wrong something ?
Everytime I want to restore DATA and SUPER partitions the phone gets stuck after boot animation.
Only solution was EDL tool (hardbrick tool) to get into life - which means the whole installing, BL-unlock and rooting process :-(
Maybe I mixed up something with Slot A/B ? Never had a phone with A/B so I would be thankful for any hint.
ah, I see, thanks a lot.
system_ext is a read only partition, this is intended on OxygenOS. So I'm not sure what you're getting at. Besides, TWRP does not mount logical partitions R/W as far as I know, even if the partition is writable.
The data backup/restore process is not something you could work out other than by testing. That's why it's documented.ah, I see, thanks a lot.
Yes, I saw that tutorial in the first posts of OP but it only concerns the data backup and another file includes instructions for the fingerprint backup and restore.
The attached file (unchanged from OP post) for fingerprint backup and restore is imho quite nice to fill in the missing steps.
May I ask if you can provide a step by step guide to make a full nandroid resp. the all-I-need-instructions to fully restore a former backup state?
Would you do that ?
I think because of the A/B slots it is not easy for those coming from former twrps not fully understanding what is going on with that A/B-slots and how to access them and how to check where to backup and where to copy the files - like me *confused*
alright, thanks for the heads up.The data backup/restore process is not something you could work out other than by testing. That's why it's documented.
Backing up the system side is far easier and can be worked out by understanding what gets flashed in a custom ROM and understanding how virtual A/B partitions in super work. So it doesn't really warrant a how-to other than what I told you:
- backup boot, dtbo, and super.
- restore them to the same slot you backed them up from (because the super content is slot-specific).
Haven't needed to restore whilst using 210726, but I've done it numerous times with the previous two versions.
Things to know about A/B devices:Hello!
I am just trying to undersand at which step of the flashing instructions the "copy-partitions.zip" should be flashed.
Is it the first step you do to flash the copy-partitions before switching slot and reboot to TWRP (so I guess those steps can be skipped when havening flashed the copy-partitons or?)
Also regarding the "format data" it seems there are different informations on when that should be done.
In the OP it is the first step when coming from OOS to custom ROM but in the post you posted here it is mentioned like "do the format after flashing and rebooting to TWRP" .
So I wonder which step is the correct one to do the format data and flash the copy-partitons from flashing from OOS to custom ROM.
I thought like this perhaps?
But I guess the format data should be after point 6. or, and is it so that 3. and 4. can be skipped when flashing the copy-partitons ?
1. Format data
2. Flash copy_partitions.zip
3. switch slot
4. reboot to TWRP
5. sideload/flash ROM and TWRP Installer zip
6. reboot to TWRP
7. Flash Magisk
8. Flash Gapps
9. Reboot to System
Thanks a lot.