Full Resolution Module

35
0

A Magisk Module made by Savitar that allows the users to have 48MP JPG and RAW on OV48C Lens and 48MP JPEG and RAW on IMX586. This allows better photo quality at daylight at the cost of each photo takes more storage.
Should work with all 7.x and 8.1/8.2/8.x GCam Ports and Photon Camera.
Tested only on Mi 10 Ultra Weekly EU.


UPDATE 19/12/2021: If you have problems like black viewfinder with the provided configs, please try these alternative XML configs kindly provided by Jose Kb: 

UPDATE: Config updated to support Arnova 8.1 stable (Gcam-8.1.101.build-V6.1.211009.2048.apk). Config for this version can be found from separate Google Drive folder “Arnova 8.1 Stable configs”. These are optimized for 48mp mod and 1x camera!

Changelog 06/12/2021:
– 3 new configs for different scenarios:

MI10U_DAY_1_7S_Melodikadi.xml
General config for daytime photos with HDR+, configured to use maximum number of frames with regular HDR+ (not enhanced). Works great for most daytime scenarios.

MI10U_NIGHT_1_7S_Melodikadi.xml
Special night configuration designed to protect highlights. No ISO limit, tends to favour faster shutter speeds than the last (ISO375) config. Min shutter speed 1/7s.

MI10U_ISO375_1_8S_Melodikadi.xml
Optimal config for static night scenes but not for complete darkness. ISO limit of 375 combined with min shutter speed of 1/8s is good for night time streetscapes with artificial light sources. Favours slower shutter speeds than the first night config but also protects highlights.

Changelog 01/11/2021:
-Disabled camera.artemis and manual focus slider (was buggy and resulted in worse AF performance)
-Changed HDRE frames configuration: 0, 9, 25, 35 (35 is enough for night scenes)
-New minimum shutter speed 1/10s in regular camera mode. Helps to take good photos in low light. Less blur than Nightsight, try it!
-Increased regular HDR+ frames to 20. Less noise in bright daylight scenarios.
-Astro mode now workd properly (max. exposure time set to 5 seconds, this can ba changed from dev settings)

Changelog:
-Enabled camera.artemis for focus tracking (works with manual focus slider described below)
-Second slider configured to provide manual focus control. Test it by tapping the screen and setting the focus – can be handy!

It enables you to shoot in 48mp resolution for both the main camera (1x) and tele (5x). Currently this mod only works with Arnova’s GCam 8.1 beta (GCam_6.1Beta.210709.0049build-8.1.101) with super resolution support. With OV48C sensor super resolution provides real benefits over the standard 12mp resolution. The output from the 5x cam provides little resolution advantage but enables cropping to achieve 10x zoom.

NOTICE: Opening any other camera application with this module active might break the cameras (black viewfinder) and you need to restart the phone. It’s recommended that you don’t allow the stock camera to run automatically as it might break the mod. Same applies for all other camera apps. After taking these precautions into account the mod runs stable.

1. FLASH THE MAGISK MODULE
Link available in the end of this topic.

2. LOADING THE CONFIG
First watch this video:

You need to allow permissions for Arnova GCam 8.1 to load any XMLs or configs. !! THIS IS MANDATORY !!

3. LOADING THE LIB
Included configs are optimised for libgcastartup_v11.so (included in zip). Put this to folder GCam/Configs8 and load: Settings -> Advanced -> Custom lib config -> Select lib.

4. THIS MOD INCLUDES 4 CONFIGS
Quickly change between the configs by double tapping the black area between shutter button. Configs are following:

STANDARD – Balanced exposure, good for most conditions including scenes with lots of highlights Use cases: usual daytime conditions with sunlight
BRIGHT – Brighter exposure for darker daytime scenes, highlights are blown more easily. Use cases: Nice for cloudy days and dimly lit exterior. Tap to darkest area to avoid blown highlights.
DARK – Good for moody night shots with contrast between lights and shadows. Use cases: neon lights, city, street photography…
STANDARD_LUMA0 – If you prefer JPG with zero noise reduction, choose this. You might gain some extra detail but also luma noise increases.

4. DIRECT LINK TO NEWEST CONFIG (for Arnova 8.1 Stable): here

  • Optimized for 1 1x camera performance
  • See changelog above

5. HDR+ CONFIGURATION
HDR+ is usually fine for daytime scenes with movement. You can configure HDR+ by entering Developer Options and experimenting with custom value for gcam.max_burst_size. Smaller values give more noise but are better for freezing movement. Default value is 20 which is a bit higher than usual, so it might give you some motion blur in scenes with lots of movement. If you increase this you will eventually get comparable or better noise performance than with HDR+ Enhanced 9 frames. The great aspect of HDR+ is that there’s less shutter lag and processing happens in the background so you can shoot quicker.

6. HDR+ ENHANCED CONFIGURATION
Arnova’s GCam provides shortcut to select number of HDR+ Enhanced frames. For this mod these are configured like this:

  • LOW: 9 FRAMES – Good for everyday use.
  • MEDIUM: 25 FRAMES – Less noise in dimly lit scenes.
  • HIGH: 35 FRAMES – Recommended for static night scenes. Might not work reliably on devices with less than 12gb RAM. 

7. CAMERA MODES

STANDARD (Camera)
Good for everyday use. In GCam 8.1 lowest shutter speed in this mode is 1/10s.

NIGHTSIGHT
Good for maximum detail for static objects in low light. Lowest shutter speed is 1/3s.

PORTRAIT
The portrait mode is configured to output 12mp photos for all modules. So if you only need quick snapshots, use this mode. Also remember that the output from 5x camera usually looks better in this mode (no real resolution advantage with 48mp)

8. HOW TO FIX MOIRÈ AND “RAINBOW” ARTEFACTS EASILY?
Using full resolution output with GCam on some phone sensors (Mi 10 Ultra /  Mi 11 Ultra…) often lead to some quality imperfections. One of the most annoying is coloured moiré which occurs on some closely-spaced contrasting textures (window blinds, roof tiles..) and particularly between the sky and foliage in bright daylight conditions. The best way to correct this with ACR (= Adobe Camera Raw) is to use the Adjustment brush tool with Moiré reduction slider. That way you can concentrate on particularly problematic areas while avoiding side effects (desaturation, color bleeding) elsewhere.

Another solution for us who are lazy is to use attached Photoshop action created for this particular problem. It works by blurring the colour information with given radius to reduce moiré. But you easily lose some colour information and excessive blur radius leads to desaturation. Therefore the action opens saturation dialog after blurring so you can compensate that. Couple of examples below. It works best with foliage rainbow patterns. For cases it’s not working it’s better to use the ACR tool.

9. SAMPLE PHOTOS TAKEN WITH THIS MOD AND CONFIG: here

Bootloop?
Delete following folder via TWRP:

/data/adb/modules/highresmi10u

 
Installation:

Requires Unlocked bootloader;
Have Magisk V23 installed;
Chinese ROM or any Chinese Based;
Flash the Module on Magisk and reboot.

Bugs:

- Stock Camera is not usable;
- Focus is slow;
- Video is not good;
- Viewfinder is poor quality on apps like Instagram Story (final result is fine).

Leave a Reply