Thanks, this SHOULD fix the mounting issues. Just made all the changes using my phone at work.
Thanks. I've had a busy afternoon here, and have only just been able to sit down for this.
Well, now we're getting somewhere!
System, System Image, Data, Cache, EFS, Micro SD Card and Vendor are now
all mountable. Hurrah! There's the occasional
Failed to mount '/system' (Device or resource busy) message, but /system
is mountable when I try it in the Mount menu. Oddly, though, I see only a /system/media directory when I look.
odm, however, still isn't mountable. That fails with
Failed to mount '/odm' (Block device required). A typo in the DTB perhaps?
Anyway, this represents major progress on the mounting front, of course.
I tried Format Data, but it caused an immediate reboot. Odd. When I returned to TWRP, I tried it again, and this time it didn't reboot. Indeed, the log suggests it completed successfully, and I can mount DATA.
At this point, I decided to reinstall the stock firmware and attempt rooting the machine from scratch.
After installing the stock firmware with Odin and rebooting back to TWRP, I installed the dm-verity modified boot image. No error.
I then rebooted to TWRP and installed the force-encryption disabler. Again, no error.
I was then about to format DATA, when I noticed that it was already mountable. I confirmed with the ls command in the TWRP Terminal that the contents were, indeed, readable. Odd. I would have expected booting into the newly reinstalled stock firmware a few minutes ago to have re-encrypted DATA, but it hadn't.
Anyway, I formatted it again for good measure and then rebooted back into TWRP.
At this point, I thought I might as well have a shot at installing Magisk, so I had a go with a (known good) build I made yesterday. Alas, that was a bridge too far still. Photo attached. It seems /system can't be mounted.
One concern is that I can no longer boot into Android after performing the above steps, so either that modified boot image or the force-encryption disabler isn't quite right, I think.
Anyway, we're making excellent progress now. Still no adb, but you haven't delved into that yet, I think.
I'm at your disposal for further testing.