For rooted ROG Phone 5 owners --
I have an ROG Phone 5 (8GB RAM / 128GB storage, Android 11 from Sept 2021), rooted with Magisk.
1. To edit build.prop, you need to modify SUPER partition and flash it to allow mounting system as RW, by using
SystemRW script. Then all you need to do is "mount -o remount,rw /" in a shell with su and all system read/write will work. The size is very less so you'd want to delete the yandex.ru apk and some other random preloaded stuff from system and vendor partitions before you can write more stuff to it. Basic text editing should still work however. I recommend this to any power users out there. Following instructions here are super easy as well. Here's the link:
Welcome to the one and only, the original, universal, System-RW / Super-RW feat. Make-RW / ro2rw (read-only-2-read/write super partition converter) by lebigmac Also known as: THE-REAL-RW, FULL-RW, EXT4-RW, EROFS-RW, EROFS-2-RW, F2FS-RW...
forum.xda-developers.com
If you don't want to modify /system then try using the Magisk Camera2API enabler module, since magisk modules work systemlessly and are safer and easier to work with. I haven't tried this myself so I don't have any experience with that.
2. Use this specific GCam port -- "GCam_8.1.101_Wichaya_V1.6", has 60fps working for Ultrawide 1080p, back camera 1080p and back camera 4K. Doesn't have front camera 60fps support however. Use the "60FPS" camera for recording video. It will always be 60fps on that camera (from my experience). This port lists ROG Phone 6 so maybe it works better with that one... I haven't tried other ports since this one has 60fps video working.
Download GCam_8.1.101_Wichaya_V1.6 by Wichaya.
www.celsoazevedo.com
3. I have these entries in my build.prop file under /system but besides the camera.HAL3 and vendor.camera.HAL3 entries,
I'm not sure if anything depends on this or not. It was one of the things I tried while trying to make 60fps work with some other GCam port that I had since 1 year.
persist.camera.HAL3.enabled=1
persist.camera.EIS.enabled=1
persist.camera.stats.test=5
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.EIS.enabled=1
persist.vendor.camera.stats.test=5
Notes -
a.
Stock ASUS camera app has always been faster and smoother for recording 60fps videos, slowmo, etc. Having the option in GCam is great since I use it as the main camera for taking photos, but it's not worth it. Everything can be laggy and I'd rather have it be reliable with a tiny inconvenience of switching apps.
b. The GCam mod I listed does work with 60fps BUT -
Camera2API always reports only upto 30fps when getting valid framerates for all camera IDs for videos on ROG5, which is why I think only specific ports like the one I mentioned are the ones which will be able to actually do 60fps video, although I have no idea how that works. Any other camera apps like OpenCamera, they do list the option for 60fps and even 120fps WITHOUT using Camera2API but the videos, in both preview and files, are actually at 30fps (it's very easy to tell the difference)
c. With the port I listed, this is
what's working for my ROG5:
• HDR+ and HDR+E,
• Night Mode,
• Macro and Wide angle cameras,
• 60fps Video for Wide Angle at 1080p
• 60fps Video for both 1080p and 4K on main camera (shows as "60FPS" instead of zoom levels)
d. WARNING: Taking HDR+E photos from the camera ID listed as "60FPS" -- it hard-froze my ROG5 for over 30 minutes, even force shutdown by power button wasn't responding. Considering a 6000 mAh battery and a hard freeze, it'd take DAYS for the battery to drain out. Luckily this time it came back after 30 minutes but I'm not testing that again, I've never seen a hard freeze on any device like this before. Watch out for that.