• 0
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Github Google


  • Home
  • Development
  • GCam
  • About
  • Contact
User Links:
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Github Google



    Menu Home Development GCam About Contact



    Are you a Tech fan? Then register on Tech in Bermudas and be a part of our community. x

    Hot News: The vivo X80 series will introduce a new Sony IMX866 RGBW sensor! x

    Tech in Bermudas Communication Devices Smartphones Android Development Xiaomi Xiaomi Mi 10 Ultra Xiaomi Mi 10 Ultra Development MAGISK  Full Res RAW + JPEG [CAS]

     
    • 1 Vote(s) - 5 Average
    Share on:
    melodikadi[ MAGISK ] Full Res RAW + JPEG [CAS]
    melodikadi

    Modders
    1 2 0
    Aug 2021
    Xiaomi Mi 10 Ultra
    #1
    25-08-2021, 02:10 PM
    MI 10 ULTRA 48MP Magisk Module for GCam or PhotonCamera + XML configs

    This module is based on work done by Arnova8G2 and Savitar. Big thanks to them!

    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: https://drive.google.com/drive/folders/1...sp=sharing

    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): https://drive.google.com/file/d/1nhp2Tsp...sp=sharing
    • 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: https://photos.google.com/share/AF1QipMU...l2TnJKWnVR

    [Image: download.png]

      
    jason.zhangfan

    Members
    0 4
    Oct 2021
    #2
    10-12-2021, 06:42 AM
    I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.

      
    techinbermudas

    Administrators
    225 282 9
    Aug 2021
    None
    #3
    12-12-2021, 11:57 AM
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.

    It should be compatible, make sure you have the xml loaded.

      
    jason.zhangfan

    Members
    0 4
    Oct 2021
    #4
    13-12-2021, 03:03 AM
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.


    It should be compatible, make sure you have the xml loaded.

    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.

      
    techinbermudas

    Administrators
    225 282 9
    Aug 2021
    None
    #5
    13-12-2021, 03:25 AM
    (13-12-2021, 03:03 AM)jason.zhangfan Wrote:
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.



    It should be compatible, make sure you have the xml loaded.


    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.

    @melodikadi might help you better.

      
    unners

    Members
    0 2
    Dec 2021
    +61433027375
    #6
    16-12-2021, 11:53 PM
    (13-12-2021, 03:03 AM)jason.zhangfan Wrote:
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.



    It should be compatible, make sure you have the xml loaded.


    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.
     
    (13-12-2021, 03:25 AM)techinbermudas Wrote:
    (13-12-2021, 03:03 AM)jason.zhangfan Wrote:
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.




    It should be compatible, make sure you have the xml loaded.



    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.


    @melodikadi might help you better.

    Unfortunately I'm getting exactly the same result as Jason.  I've tried the alternative version Melodika posted as well but no luck getting 48MP raw with either Sad

      
    melodikadi

    Modders
    1 2 0
    Aug 2021
    Xiaomi Mi 10 Ultra
    #7
    18-12-2021, 12:43 PM
    (16-12-2021, 11:53 PM)unners Wrote:
    (13-12-2021, 03:03 AM)jason.zhangfan Wrote:
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.




    It should be compatible, make sure you have the xml loaded.



    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.

     

    (13-12-2021, 03:25 AM)techinbermudas Wrote:
    (13-12-2021, 03:03 AM)jason.zhangfan Wrote:
    (12-12-2021, 11:57 AM)techinbermudas Wrote:
    (10-12-2021, 06:42 AM)jason.zhangfan Wrote: I've tried with the GCAM version mentioned in this thread with latest Android 12 MIUI12.5. It doesn't work. GCAM will freeze with dark preview. Is it Android 12 compatibility issue? Disable the HiRes magisk module and then reboot, everything goes well.





    It should be compatible, make sure you have the xml loaded.




    Yes, here is my flow:
    1. flash the module
    2. open gcam and load the xml.
    3. reboot
    4. enter gcam and it's black.



    @melodikadi might help you better.


    Unfortunately I'm getting exactly the same result as Jason.  I've tried the alternative version Melodika posted as well but no luck getting 48MP raw with either Sad

    Sorry to hear configs are not working for you. I've updated the post with alternative configs that are confirmed to work for those that have had this problem: https://drive.google.com/drive/folders/1...sp=sharing

      
    unners

    Members
    0 2
    Dec 2021
    +61433027375
    #8
    19-12-2021, 02:40 AM
    Thank you!  It's working now Smile  Wow, what a phenomenal improvement.  I'll take some comparison shots with my A7RIV when I get the chance.   I was hoping there would be a simple way to switch back to the stock camera app when you didn't need/want the 48MP raw but evening after disabling the Magisk module the 1x and 5x cameras won't function.  

    What is your workflow when you want to shoot video or quick snapshots?  I found the GCam portrait setting resulted in very dark photos from a quick try.

    Thanks again anyway!  Cheers

      
    |




    © 2022 Tech in Bermudas. All rights reserved.

    Linear Mode
    Threaded Mode