Nobody123 would this only apply to grapheneOS, or would it also apply to stock Android?
Using separate encryption key and weaver token for the private space, regardless of shared credentials or not, is a feature coming from AOSP, and should thus be how it is implemented on stock too. GrapheneOS did not do any changes here from what I can tell.
Nobody123 Provided private space has not been unlocked since the last device reboot, it will be as difficult to unlock private space as it would be to unlock the device itself if the device were in BFU state.
If using separate passphrase, definitely, yes. If using the same one, theoretically, there is a slim chance the passphrase is still cached in some RAM memory somewhere, so theoretically possible to extract using software or physical exploits. It is not supposed to be cached, and GrapheneOS even goes out of the way to implement extra zero-on-free functionality to lower the risk further, but the keyboard and screen lock functionalities might not have properly zeroed or freed the space that held the input for the passphrase. In practice, attacks extracting passphrase that way is completely unheard of, and might be unrealistically hard to perform. But theoretically, the private space might be slightly easier for a skilled attacker to unlock once owner profile has been unlocked, if credentials are shared.
Nobody123 This holds even if: (1) the private space lock is the same as the device screen lock;
Yes, but see above.
Nobody123 (2) the device is stolen while the main space is unlocked
Yes.
Nobody123 ; and (3) stock Android is used instead of grapheneOS.
Stock Android does not have the extra memory hardening GrapheneOS has, and does not have zero-on-free functionality, so might be easier to hack than GrapheneOS, especially if owner profile is unlocked. But otherwise, yes.
Nobody123 The only change grapheneOS made to private space was that it allowed for private space to remain secure even after the first unlock via an optional setting, while for stock Android a device restart would be needed.
True.
Nobody123 Is my understanding accurate?
Yes.