Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Support setting ReplayKit (Screen Recorder) to always record at native resolution #85

Open
QuanTrieuPCYT opened this issue Dec 30, 2023 · 8 comments

Comments

@QuanTrieuPCYT
Copy link

On jailbroken iDevices, this behavior can be set with the defaults write replayd RPFullResCapture -bool 1 as root in a terminal, which I believe should have a configurable file laying somewhere in the system.

@leminlimez
Copy link
Owner

My guess is that the replay kit userdefaults are stored in /var/mobile/Library/Preferences/com.apple.replayd.plist but I did not see a file there. I will try adding it myself and see if that works.

@QuanTrieuPCYT
Copy link
Author

QuanTrieuPCYT commented Dec 30, 2023

Don't know if this should work on newer devices, as I only tested this only on my jailbroken iOS 15.6 7 Plus, so looking forward to the result

@leminlimez
Copy link
Owner

can you confirm in filza that the file exists there?

@QuanTrieuPCYT
Copy link
Author

Nope, unfortunately. I'm also doing a full filesystem search for any plists matching replayd but seems like it will gonna take a while

@QuanTrieuPCYT
Copy link
Author

QuanTrieuPCYT commented Dec 30, 2023

Well I found the file, it's called replayd.plist, has one entry (RPFullResCapture as a boolean set to true)

But unfortunately the file is located in the /private/preboot/BE463051320B8A72DC83C34251A48E8CFBD1BA2653F20F3D457EBF6F632D72D7BC2F098DFB815D58B2920915927080AF/jb-m3GC1XdN/procursus/var/mobile/Library/Preferences path which is somewhat related to the Procursus bootstrap, can you try manually creating the file in the real Preferences folder and see if it works

@QuanTrieuPCYT
Copy link
Author

Update on the matter: seems like the defaults command is restricted to the jailbroken environment only, doing a screen record in a non-jailbroken state doesn't seem to work (still being limited at plain HD)

@QuanTrieuPCYT
Copy link
Author

Tried manually creating both replayd.plist and com.apple.replayd.plist in the Preferences directory and doesn't seem to work. Maybe some inspection in the replayd binary could be required to find the correct configurable plist?

@leminlimez
Copy link
Owner

preboot is basically a symlink, it is just to prevent jb detection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants