[MOD] Long Exposure For Mi 4c - Xiaomi Mi 4C

Good news for all of us!! Now mi 4c long exposure tweaks available up to 16s.
This tweak can only be used in manual mode, and make the auto mode can not be used. So the range of the camera application can not be in use. So you guys can only use manual mode only.
This tweak only works on MIUI ROM.
And for the current tweaks can only be used on a sensor imx258_sunny instead of imx258. To find out the check in the hardware info by pressing the kernel version several times and then select check version info then you will find some information like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TUTORIAL
Backup file lib before replaces file lib MOD.
Materials
- Root
- File Explorer
- File tweak camera - you can download in the bottom of post
Download file tweak camera. And extract the file.
Open file explorer. Go to system/vendor/lib/ and replace the original file libmmcamera_imx258_sunny with file tweak camera. Don't forget to original backup file.
Sett permission rw-r--r--
Reboot
Launch camera. Go to mode > select manual
Check your shutter speed and enjoy to capture light painting and light trails!!!
For users of imx258 or non sunny is still in the testing phase for tweak camera...
This mod made by Georgi Kiarie, to say thank you bought him some beer.
PayPal: [email protected]
Credit
- Georgie Kiarie
- My phone
This mod has been tested in my Mi 4c uses ROM MIUI.eu 8 7.3.9 Nougat. And working on all of the MIUI ROM.
this is results of my photos capture with Mi 4c tweak long exposure.

Thanks a lot for the detailed tutorial!
You might be interested to see this post as well: https://forum.xda-developers.com/mi-4c/help/camera-nougat-camera2-api-images-flipped-t3568993
It says that camera2 API can be enabled on MIUI Nougat (so you can have long exposure), but the image is flipped.

legacyofthevoid said:
Thanks a lot for the detailed tutorial!
You might be interested to see this post as well: https://forum.xda-developers.com/mi-4c/help/camera-nougat-camera2-api-images-flipped-t3568993
It says that camera2 API can be enabled on MIUI Nougat (so you can have long exposure), but the image is flipped.
Click to expand...
Click to collapse
Yeah but this goegie kiarie made this mod with editing file libs. The images not flipped just auto mode is not work.

HackTube said:
Yeah but this goegie kiarie made this mod with editing file libs. The images not flipped just auto mode is not work.
Click to expand...
Click to collapse
Auto mode not working at all?
Sent from my Mi-4c using Tapatalk

imx258 here so no fun for me. Also mentioned api2 hasn't unlocked long exposure for me.
Sent from my Mi-4c using Tapatalk

On Miui based on Lollipop in hardware info it was information that I have imx258 sunny but on Nougat there is no "sunny" anymore. What the hell?

Grellenort said:
On Miui based on Lollipop in hardware info it was information that I have imx258 sunny but on Nougat there is no "sunny" anymore. What the hell?
Click to expand...
Click to collapse
ROM effect bro :v

As HackTube has mentioned - it's ROM effect - I decided to try the mod.. Still no fun for me.. only 1/2s. So it looks like I definitely don't have sunny on my Nougat MIUI

5ulo said:
As HackTube has mentioned - it's ROM effect - I decided to try the mod.. Still no fun for me.. only 1/2s. So it looks like I definitely don't have sunny on my Nougat MIUI
Click to expand...
Click to collapse
here is a lib for libra

defcomg said:
here is a lib for libra
Click to expand...
Click to collapse
Thanks @defcomg I can confirm - works under manual mode. In any other mode camera fails to connect.

5ulo said:
Thanks @defcomg I can confirm - works under manual mode. In any other mode camera fails to connect.
Click to expand...
Click to collapse
yeah that lib should only be used at night in daylight or when not using long expo use normal lib
also test the libs below 4k should record at 30fps and 1080p @ 60fps

Thx @HackTube, it works as explained (miui7).

Can anyone help me with my redmi note 4x? It have the same sensor imx258 ofilm
Hi,
I am using Redmi Note 4 (Snapdragon) which have the same sensor Sony IMX258
But in device information my back camera hardware is Ofilm IMX256. Can you please help me out. I bought redmi note 4 hoping that it would have long exposure but it is only 0.5s exposure. I have managed to get manual exposure settings and enabling camera 2 api but can't do anything else without camera driver.
Can you please make camera driver for Ofilm IMX256. or if I could use the library files you provided for Mi4c *IMX258.so or *IMX256_sunny.so

Nightbluster said:
Hi,
I am using Redmi Note 4 (Snapdragon) which have the same sensor Sony IMX258
But in device information my back camera hardware is Ofilm IMX256. Can you please help me out. I bought redmi note 4 hoping that it would have long exposure but it is only 0.5s exposure. I have managed to get manual exposure settings and enabling camera 2 api but can't do anything else without camera driver.
Can you please make camera driver for Ofilm IMX256. or if I could use the library files you provided for Mi4c *IMX258.so or *IMX256_sunny.so
Click to expand...
Click to collapse
I'm trying to do the same thing. Let's see if it can be done.

kokroo said:
I'm trying to do the same thing. Let's see if it can be done.
Click to expand...
Click to collapse
Thanks. @defcomg already tried to help me. (in miui thread, but then he got busy I guess) He sent me test lib files. When I tried those I saw 12 s exposure setting on manual camera setting but as soon as I press shutter button camera app freeze and I have to force stop it. Couldn't even take normal picture with low exposure time. It is doable but it will just take time. I hope someone figure out soon. I desperately need that mod because redmi note 4 camera is already amazing! If I could take long exposure shots with that one then I would be perfect.
Even tho I am not pro coder (I know only enough programing and assembly language to understand a code little bit) I tried IDM Disassembler and try to compare both modded and original lib file. I could find only one instance where variable was taking some value from code for max exposure value. But in modified file it was assigned directly 120000000 value to that variable. Somehow I did that same changes but nothing happened. Then I stopped trying. Please someone help!!!

defcomg said:
here is a lib for libra
Click to expand...
Click to collapse
is the tweak stuck on 16s ?

Hi
Can I use this on my MI4 W running Nougat RR rom

rohitdave said:
Hi
Can I use this on my MI4 W running Nougat RR rom
Click to expand...
Click to collapse
No. Mi 4 has different sensor - IMX214. This mod is for IMX258. But if I remember, in the Internet is mod for Mi4 with 32s exposure.
Wysłane z mojego MI 4S przy użyciu Tapatalka

search the file Original.
if i wanna back to original, but i dont have a back up file libmmcamera_imx258.so
how to fix it?

Just reinstall ROM
Sent from my Mi-4c using Tapatalk

Related

[APP][CM14][MOD] Camera Mod (Snap.apk) | Panorama FIXED | By GalaxyUser

MODDED CM 14 CAMERA​by GalaxyUser​
... CM 14 modded Camera !
This camera replace the original camera.
FEATURES
# Photo Mode:
100% picture quality. So the quality of the picture is no longer depending of selected options for pictures (size...)
Fixed crash for Panorama mode
Take a photo in RAW format supported! (Except the YUV422SP format)
You can choose the Focus mode: Auto/Continu/Infinite/Macro
You can choose the delay for the obscurator
Sound during countdown
# Video Mode:
Video stabilization
Time lapse mode (take photo each X seconds)
Choose video codec (AVC/AMR-NB)
Choose audio codec (MPEG-4/H.263/H.264/H.265)
# Common:
You can choose antibanding mode (US/EU)
BUGS
The bugs are the same as on the original version if they have not been corrected.
Tell me.
INSTALLATION
Download application zip : see download section
Copy on your sdcard
Reboot to recovery
Flash the zip
Boot
Enjoy !!!
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CHANGELOG
Snap Mod V1 - 12 January 2017
Initial release
Snap Mod V2 - 13 January 2017
# Photo Mode:
It allows you to choose 100% quality picture. So the quality of the picture is no longer depending of selected options for pictures (res size...)
Fixed crash for Panorama mode
Take a photo in RAW format supported! (Except the YUV422SP format)
You can change the Focus mode: Auto/Continu/Infinite/Macro
You can change the delay for the obscurator
Sound countdown
# Video Mode:
Video stabilisation
Time interval (take photo each X seconds)
Choose video codec (AVC/AMR-NB)
Choose audio codec (MPEG-4/H.263/H.264/H.265)
# Common:
You can chosse anti flicker mode (US/EU)
Snap Mod V3 - 16 January 2017
Updated the zip. The mod was not flashed properly.
DOWNLOAD
Download link
Good evening, I just flash the v3 on my oneplus one under android N 7.1.1 (tugapower N18) and everything works except the HDR mode in picture, there is the sound of the shooting but no picture and the camera freezes
Tried the app not working!
My phone info
Galaxy note3 n900 using aicp 14 rom
Sent from my SM-N900 using Tapatalk
IRoN MaN9 said:
View attachment 4046315
Tried the app not working!
My phone info
Galaxy note3 n900 using aicp 14 rom
Sent from my SM-N900 using Tapatalk
Click to expand...
Click to collapse
Did you remmeber to grant it permission to access the camera?
Sjant said:
Did you remmeber to grant it permission to access the camera?
Click to expand...
Click to collapse
Flash it by recovery, don't think it need grand permission when install it like that!
Sent from my SM-N900 using Tapatalk
IRoN MaN9 said:
Flash it by recovery, don't think it need grand permission when install it like that!
Sent from my SM-N900 using Tapatalk
Click to expand...
Click to collapse
Thats only in reference to file system permissions.
I'm talking about the new android app permission found in marshmallow and nougat. Check it out here: https://www.howtogeek.com/230683/how-to-manage-app-permissions-on-android-6.0/
Sjant said:
Thats only in reference to file system permissions.
I'm talking about the new android app permission found in marshmallow and nougat. Check it out here: https://www.howtogeek.com/230683/how-to-manage-app-permissions-on-android-6.0/
Click to expand...
Click to collapse
Ooh! You mean that permission?! Of course i did it, but not working!
Sent from my SM-N900 using Tapatalk
APP CRASHES ON VIDEO RECORDING. iF YOU PAUSE THE RECORDING APP CRACHES. ON ALL THE AOSP ROM 7.1 THAT I HAVE TRIED. DEVICE MOTO G 2014
Hello friend, latest version is crashing when trying to activate HDR. Once activated the camera doesn't open anymore until I clear its app data and reopen.
My phone is the moto x style xt1572. I'm running latest LineageOS build.
This is the only problem I noticed.
Can you please make it work on Galaxy note3 sm-n900 on lineageos 7.1.1?
I tried it but get fc when turn it to video camera
Sent from my SM-N900 using Tapatalk
Hi everyone,
I flashed this app a few weeks ago and everything works fine. But today my security app (lockout security) said, this camera app would be a “risk app“ because of a bad and risky code. What's going on? Anybody else with this message?
Thanks for your feedback...
any advise how to make the panorama feature work? i can't seem to launch it both in my s3 and n3 phones for some reason. it would just force close when selected.
The camera is really good! It made my Redmi 3 Pro photos much better with HDR on.
I just have one problem: when HDR is on, two pictures are taken at once. One is the final HDR product (good quality) while the other looks like without HDR (so really poor in case of Xiaomi).
Can you fix it please? I've searched through app's data folder but all I found is an .xml config file including all settings available from GUI (sadly nothing more).
snap camera Status on galaxy s4 i9505
Hello Sir, may I ask for something, I was update may snap camera but some settings are not appears like, "Picture format", "histogram" and "red eye reduction" i'm using galaxy s4 i9505 and my Stock rom is RR 5.8.5 rel 37.
TIA
any chance of you editing this camera for Rom 8.1
Hello ... any chance of you editing this camera for Rom 8.1? I used in the j710mn 2016, rr rom 7.1 worked perfectly, now I tried in the 8.1 opens more in a few seconds closes again
It works partially
neto damasceno said:
Hello ... any chance of you editing this camera for Rom 8.1? I used in the j710mn 2016, rr rom 7.1 worked perfectly, now I tried in the 8.1 opens more in a few seconds closes again
Click to expand...
Click to collapse
This app work in my oreo rom but it will force close if you open the app in dim,low and no lighting environment. i also notice it force close if i change the flash on the back camera setting to on instead of auto. hope they can fix this problem in the next release apart from that it works well.
hi
can i install it on lileage 14.1 on i9100 ?
hello could you make that camera compatible with aosp oreo? because I have a galaxy j7 2016 with oreo dotos and the one I have is for nougat that is yours, because in oreo it does not open, if I have lineageos 14.1 if it works but since I have 8.1.0 it does not work for me, some way that you do so work in oreo? Thank you
Ok
Factory reset or reflash stock firmware through Odin.

[UPDATED v3] [PORT] [8.x +] ONEPLUS 5T CAMERA AND GALLERY PORT

INFORMATION AND DISCLAIMER
this is a camera FLASHABLE ZIP from one plus 5T 's system dump for 7.1.1 + roms only
Code:
*MAKE A BACKUP before flashing and flash it on your own risk
*i didnt test it on OP2, one of the oneplus 2 users tested it,
*if it doesnt work, do not blame me,do not panic, restore your backup
FEATURES
WHATS IN?
ONEPLUS camera
ONEPLUS gallery
CAMERA FEATURES
hq photo
timelapse
SLOMO
PRO MODE
SCEENSHOTS
DOWNLOAD and CHANGELOG
VERSION 1
ONEPLUS CAMERA V1
VERSION 2
ONEPLUS 5T CAMERA V2
CHANGELOG
updated apk's from oneplus 5t dump
fixed gallery
fixed slow motion
much better pro mode
VERSION 3
op5t_cam_gal_RELEASE3
CHANGELOG
1. new camera and gallery apps from op5t oxygen os beta 11
2. fixed flashlight disabled due to high temperature bug
3. partially working panorama
SAMPLESS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WHATSBROKEN
PANORAMA !!
SLO-MO
HDR WORKS IN RARE CASES IN HAL3 SUPPORTED ROMS (VERY BUGGY)
NOTE
..
i have taken these files from the official system dump of one plus 5
if you are using oxygen os, then this camera might replace the original camera
THIS IS NOT TESTED BY ME, INSTEAD BY A ONEPLUS 2 USER
THANKSTO
@darknight143 @rahilm97 , @fonfox , @Anubhav997
FOR TESTING
IMPORTANTT
:good: PRESS THANKS
​
Read the entire op before moving forward,
i have also mentioned a buglist, please have look at it, and feel free to mention anything apart from the buglist, which you think is not working
and also, take a look at samples shot on nexus 5x using this camera
Pretty good! ? but slow motion is still buggy ( fek oneplus) however animations are pretty smooth in it.
Also portrait mode is missing, my sis have oneplus 5 and I saw that thing.
chetan_1215 said:
Pretty good! but slow motion is still buggy ( fek oneplus) however animations are pretty smooth in it.
Also portrait mode is missing, my sis have oneplus 5 and I saw that thing.
Click to expand...
Click to collapse
well, oneplus 2 doesn't have dual camera's right?
the protrait mode is dependent on secondary camera for depth information
thank you ,btw
Does this mod work with any hal1 rom? Or only with hal3 roms?
thank you ! i really want op5 camera for op2 !
Getting unknown error for camera on limeage os latest nightly
Gallery is partially working not loading all the images in thumbnail
justkiddinghere said:
Getting unknown error for camera on limeage os latest nightly
Gallery is partially working not loading all the images in thumbnail
Click to expand...
Click to collapse
Use a rom which has hal3 support
I am using Resurrection remix and it's giving unknown error on it what to do
razorx20 said:
I am using Resurrection remix and it's giving unknown error on it what to do
Click to expand...
Click to collapse
Unofficial or official?
Can you port for opx ?
Only camera is not working.
Gallery app is working fine,but its lagging
Does the op5 gallery load gifs for you guys? mine doesn't....
Anyone know whether it supports raw capture?
acwcanada said:
Anyone know whether it supports raw capture?
Click to expand...
Click to collapse
Yup it's working.
The option is available only in pro mode
---------- Post added at 11:16 AM ---------- Previous post was at 11:08 AM ----------
So for latest unofficial RR Rom
Just flashed it
No problem in pro mode
Only Panorama got issue
Other than that no problem
darkbeast13 said:
Yup it's working.
The option is available only in pro mode
---------- Post added at 11:16 AM ---------- Previous post was at 11:08 AM ----------
So for latest unofficial RR Rom
Just flashed it
No problem in pro mode
Only Panorama got issue
Other than that no problem
Click to expand...
Click to collapse
Thanks, I tried it myself and it did capture raw but also in red tone. No problem in pro mode for me and same as you panorama is not working. Also HDR not working only HQ.
acwcanada said:
Thanks, I tried it myself and it did capture raw but also in red tone. No problem in pro mode for me and same as you panorama is not working. Also HDR not working only HQ.
Click to expand...
Click to collapse
Yea HDR mode is not working.
Though i don't know what you meant by red tone though no redness in my photo
But it doesn't matter that much to me as i am not interested in photography at all just wanted the one plus camera for slow motion.
darkbeast13 said:
Yea HDR mode is not working.
Though i don't know what you meant by red tone though no redness in my photo
But it doesn't matter that much to me as i am not interested in photography at all just wanted the one plus camera for slow motion.
Click to expand...
Click to collapse
What I meant is that when shooting in raw mode, the jpg photo is normal but the raw dng photo is redness.
chetan_1215 said:
Unofficial or official?
Click to expand...
Click to collapse
Official
Cann any buddy please tell why its showing unknown error
razorx20 said:
Official
Click to expand...
Click to collapse
Official RR doesn't support HAL3 yet. Use unofficial

[MOD] Enable Camera2Api in Mi4C

Mod adds an entry to build.prop enabling Camera2Api.
Code:
"persist.camera.HAL3.enabled=1"
The package contains converted libraries.
Code:
libmmcamera_imx258.so
libmmcamera_imx258_sunny.so
Works only on Miui10 Android 7.0, tested on Miui10 8.8.3 by xiaomi.eu.
MOD has no effect on the original Miui Camera.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The first installation in TWRP installs MOD, re-installation restores files to the stock version.
Package for installation in TWRP: twrp-camera2api.flip.fix.mi4c.v2
DSLR Camera, OpenCamera and some versions of Google Camera work properly.
https://www.celsoazevedo.com/files/android/google-camera/dev-urikill/
source:http://4pda.ru/forum/index.php?showtopic=692986&view=findpost&p=75876842
Working with rr 5.8.5.
I think you forgot to add the developer of this mod...
savvas_p25 said:
Working with rr 5.8.5.
I think you forgot to add the developer of this mod...
Click to expand...
Click to collapse
I am poor with Russian, I do not know who the creator is.
Works on RR 5.8.5 Android 7.1.2? What camera app, snapdragon camera?
slimdick said:
I am poor with Russian, I do not know who the creator is.
Works on RR 5.8.5 Android 7.1.2? What camera app, snapdragon camera?
Click to expand...
Click to collapse
Yes,snapdragon camera is laggy.
Working apps Hedgecam2, gcam (MGC_5.1.018.177470874.41362666_MI6_1.0-beta,MGC_5.1.018_7.0+C2API_v.1.0_AllinOne,MGC_3.2.045_MiMAX2)
Face Unlock does not work. The same in Instagram, can not start the front camera. Miui10 by xiaomi.eu.
Yeah the same problems.
Another working gcam mods MGC_5.1.018.177470874-41362666_A7.0+_FULL_N6,
GCam5.1.018-Arnova8G2-V1.7
I checked some newer ones but without success.
https://www.celsoazevedo.com/files/android/google-camera/
savvas_p25 said:
Yeah the same problems.
Another working gcam mods MGC_5.1.018.177470874-41362666_A7.0+_FULL_N6,
GCam5.1.018-Arnova8G2-V1.7
Click to expand...
Click to collapse
If the front camera did not work in any application, add an entry with the name of this application in build.prop.
Code:
camera.hal1.packagelist=com.viber.voip,com.google.android.talk,com.whatsapp,com.instagram.android
slimdick said:
If the front camera did not work in any application, add an entry with the name of this application in build.prop.
Code:
camera.hal1.packagelist=com.viber.voip,com.google.android.talk,com.whatsapp,com.instagram.android
Click to expand...
Click to collapse
excellent!!!gcam version you use ?check this https://www.celsoazevedo.com/files/android/google-camera/f/MGC_3.2.045_MiMAX2_2.apk
Model Nexus 6 ,config nexus 6 hdr+ auto .
Hello, does anyone have the v2 of this mod? The version that allows you to revert the changes back if you reinstall the package. The original developer posted a link for it on that russian forum but the link is unreachable at the moment. Thanks in advance.
predatoralan said:
Hello, does anyone have the v2 of this mod? The version that allows you to revert the changes back if you reinstall the package. The original developer posted a link for it on that russian forum but the link is unreachable at the moment. Thanks in advance.
Click to expand...
Click to collapse
twrp-camera2api.flip.fix.mi4c.v2.zip
savvas_p25 said:
excellent!!!gcam version you use ?check this https://www.celsoazevedo.com/files/android/google-camera/f/MGC_3.2.045_MiMAX2_2.apk
Model Nexus 6 ,config nexus 6 hdr+ auto .
Click to expand...
Click to collapse
The same version of gcam but other settings, you can enable RAW+JPG
potrait mode still difficult to use
slimdick said:
twrp-camera2api.flip.fix.mi4c.v2.zip
The same version of gcam but other settings, you can enable RAW+JPG
Click to expand...
Click to collapse
Nice work again!you can try https://androidfilehost.com/?fid=890129502657584031 has different package name(you can keep both apps)
If anyone is interested, this mod worked for me on LineageOS 14.1. Had to restart a couple of times and for some reason disable and re-enable persist.camera.HAL3 in BuildProp but it works flawlessly now.
predatoralan said:
If anyone is interested, this mod worked for me on LineageOS 14.1. Had to restart a couple of times and for some reason disable and re-enable persist.camera.HAL3 in BuildProp but it works flawlessly now.
Click to expand...
Click to collapse
did it make the phone laggy? like it has an 512mb ram.
ahmaddwij said:
did it make the phone laggy? like it has an 512mb ram.
Click to expand...
Click to collapse
No...is that to be expected or something?
PS: Just checked the memory usage, it's normal (the same old 1.3GB average).
predatoralan said:
No...is that to be expected or something?
PS: Just checked the memory usage, it's normal (the same old 1.3GB average).
Click to expand...
Click to collapse
I mean, when it was processing the potrait photos. I use arnova 1.7, and it makes my phone laggy. Too much force close and sometimes need restart
ahmaddwij said:
I mean, when it was processing the potrait photos. I use arnova 1.7, and it makes my phone laggy. Too much force close and sometimes need restart
Click to expand...
Click to collapse
Set HDR parameters default or medium,hdr quality JPEG 98-100
Hmm, I searching this for long time ago. And then I missed this thread. The question is, how to uninstalled this mod?
RagilWic said:
Hmm, I searching this for long time ago. And then I missed this thread. The question is, how to uninstalled this mod?
Click to expand...
Click to collapse
Install again the twrp-camera2api.flip.fix.mi4c.v2.zip

REAL Enable AI Camera on Redmi Note 5 Pro via Magisk! Working AI Scene Detection!

Enable AI camera on Redmi Note 5 Pro whyred (MN5PRO) via Magisk module!
REAL enable AI Camera, the only one with working AI scene detection!
I have try more than ten mods for AI camera but i think this is the best (other mods just seeing the AI option but nothing else to knowing if working), from all that I tested
- is the only one that can auto recognize scene (you can see the attached photo, camera shot a plant and AI recognize that),
- works with stock miui camera,
- have the less effect on your ROM
- and you can easy uninstall it via magisk manager.
- also enable 4k video recording, full manual mode, front camera HDR and maybe more.
You must have installed magisk root and then install this module via magisk manager. (but you can also install this module via TWRP (i have try it). ... edit and deleted because of post #4)
Works on every MIUI version, stable or beta!
edit
checked on miui 9.3.28 (android pie) and unfortunately don't work the auto AI scene detection
So this patch not only enable the AI camera option, also enable 4k video recording, front HDR, full manual mode. For manual mode (only for this, not for AI camera option etc) maybe you must have enabled camera2api.
How to enable camera2api?
Root > copy with RootExplorer (or similar app) system/build.prop to other location into internal storage > open it and add string 'persist.camera.HAL3.enabled=1' (if not exist), save and copy the build.prop back to system (replace the original) > give it the permissions "rw-r--r--" or 644, reboot. On some cases (custom ROM etc) maybe must do the same work with vendor/build.prop
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can download from here https://drive.google.com/file/d/1T-0Q79D5QNxlslEB4r9Pq_9qEYhjEklW/view
I find it here (you can download also and read more about that and you can see more photos, review etc)
http://en.miui.com/thread-4747165-1-1.html
but into zip archive is an read me file that say "Modul ai kamera whyred By: kubil hadinata"
so the credits must goes to Otrov and to creator (i think) kubil hadinata ... more for kubil hadinata here
Thanks alot, works great! Just used this on latest Revolution OS on note 5 pro global - works great
Can it be installed through TWRP too as mentioned in the instructions?
I tried but not able to flash.
RKStyles said:
Can it be installed through TWRP too as mentioned in the instructions?
I tried but not able to flash.
Click to expand...
Click to collapse
o, maybe this works for me because i have already magisk root installed, so i am sorry and i will edit the 1st post
It works, but It seems it's not compatible with gcam patches. If I install both modules (AI and gcam patch), the MIUI camera works regularly but AI isn't recognizing any scene
I'm on ArrowOS 9.0 Pie (RN5 Global)
EDIT: it seems that this module already contains the gcam patch! (60 fps video recording, front HDR+ shots and 240 fps Slow Motions work perfectly)
@EdoNINJA93 Yes, this patch not only enable the AI camera option.
Also enable 4k video recording, full manual mode, front camera HDR and maybe more. Maybe you must have enabled camera2api (i will edit the 1st post)
Working fine with resurrection remix official rom.
Thanks for sharing.
furchtlos76 said:
Thanks alot, works great! Just used this on latest Revolution OS on note 5 pro global - works great
Click to expand...
Click to collapse
Revolution os aosp ? Or miui ? Or caf ? Which one are you using tell me about your experience please
irfankamal said:
Revolution os aosp ? Or miui ? Or caf ? Which one are you using tell me about your experience please
Click to expand...
Click to collapse
Miui
Thanks a lot .. it works fine on my device,I m using miui stable rom
not the first one to recognize ites with AI
there was one a few months ago.
raptorddd said:
not the first one to recognize ites with AI
there was one a few months ago.
Click to expand...
Click to collapse
i am sorry, i don't know that, please tell me about and give me a link
so i edit the 1st post
"...from all that I tested
- is the only one..."
And please can someone to answer in my question
thanks
ps
apologize for double post but i am confused about that, please to answer me here or to other thread
This module is not working properly. Although the AI is functioning, and is able to detect the scene, but the camera fails to capture image. As soon as I press the shutter, the camera app crashes, and the photo is not saved. When I turn off AI, this problem doesn't occur. If possible, kindly provide a fix for this bug.
Device : RN5 pro (Indian variant with Sony IMX486 sensor)
ROM: Havoc OS (9.0 pie)
Shaurya117 said:
This module is not working properly. Although the AI is functioning, and is able to detect the scene, but the camera fails to capture image. As soon as I press the shutter, the camera app crashes, and the photo is not saved. When I turn off AI, this problem doesn't occur. If possible, kindly provide a fix for this bug.
Device : RN5 pro (Indian variant with Sony IMX486 sensor)
ROM: Havoc OS (9.0 pie)
Click to expand...
Click to collapse
thanks for your try but as you can see at the 1st post
"Works on every MIUI version, stable or beta! "
the problem is not the module but your rom i think...unfortunately i don't know if it is compatible with havoc os
Shaurya117 said:
This module is not working properly. Although the AI is functioning, and is able to detect the scene, but the camera fails to capture image. As soon as I press the shutter, the camera app crashes, and the photo is not saved. When I turn off AI, this problem doesn't occur. If possible, kindly provide a fix for this bug.
Device : RN5 pro (Indian variant with Sony IMX486 sensor)
ROM: Havoc OS (9.0 pie)
Click to expand...
Click to collapse
Do you have any other camera module? Uninstall it/them, this AI module has everything already included (also gcam patch)
EdoNINJA93 said:
Do you have any other camera module? Uninstall it/them, this AI module has everything already included (also gcam patch)
Click to expand...
Click to collapse
I don't have any other camera module/patch installed. Not even GCAM patch. GCAM works flawlessly on my Indian RN5 Pro without any patch.
Where is you find the patch. who is the author of this patch ?
is this module only for miui rom?
im on syberia. this module doesn't work
ai mode on, off There was no difference
Sent from my Redmi Note 3 using Tapatalk
tommyFeb said:
is this module only for miui rom?
im on syberia. this module doesn't work
ai mode on, off There was no difference
Click to expand...
Click to collapse
please read the 1st post, is only for miui

GCam with object tracking feature for pie

Guys as you can see the title, this GCam mod has several new features like manual focus, object tracking and also working slow-mo video recording. All features are working on our beloved note 5 pro with pie. Object tracking is working smoothly on latest miui pie 9.3.28.
Link is given below:
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_BSG_Arnova-TlnNeun_Urnyx05-v4.3.apk
N.B: camera2api needed.
To activate camera2api, add this line to system/build.prop:
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.vendor.camera.enableAdvanceFeatures=0x347
To remove pink tint on front cam:
Gcam config:
https://www.celsoazevedo.com/files/android/f/download/redmi_n6pro.xml
Save this to internal storage/gcam/config/
ac78912 said:
Guys as you can see the title, this GCam mod has several new features like manual focus, object tracking and also working slow-mo video recording. All features are working on our beloved note 5 pro with pie. Object tracking is working smoothly on latest miui pie 9.3.28.
Link is given below:
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_BSG_Arnova-TlnNeun_Urnyx05-v4.3.apk
N.B: camera2api needed.
To activate camera2api, add this line to system/build.prop:
persist.camera.HAL3.enabled=1
persist.vendor.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.vendor.camera.enableAdvanceFeatures=0x347
Click to expand...
Click to collapse
except for front camera on global china variant right?
How to fix pink face in front cam?
good but night sight doesn't work.any other good gcam version?
Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk
kos25k said:
good but night sight doesn't work.any other good gcam version?
Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk
Click to expand...
Click to collapse
GCam_6.1.021_Advanced_V1.4.032219.1950
GCam_6.1.021_N7P_test2.5 or GCam_6.1.021_N7P_test2.6a
MGC_6.1.021_BSG_Arnova-based_v.1.3d_TlnNeun_2
himanshugupta0033 said:
How to fix pink face in front cam?
Click to expand...
Click to collapse
Thread edited..check that out
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This version doesn't ask for permissions after installation, just stuck at the startup black screen like this.
Still the same after I manually allowed multimedia permissions in system settings. While GCam 5 works.
Help needed, what should I do?
5460 said:
This version doesn't ask for permissions after installation, just stuck at the startup black screen like this.
Still the same after I manually allowed multimedia permissions in system settings. While GCam 5 works.
Help needed, what should I do?
Click to expand...
Click to collapse
Have u enabled Camera2api?
Otherwise it will not work...
Miui pie has been reworked for enable camera2api.
Previous tweak will not work..
Check my thread
ac78912 said:
Have u enabled Camera2api?
Otherwise it will not work...
Miui pie has been reworked for enable camera2api.
Previous tweak will not work..
Check my thread
Click to expand...
Click to collapse
Thanks for your reply.
I have enabled Camera2API, Gcam 5 works, and later I found V1.4.032219.1950 also works.
Seems it is due to some differences between MIUI Global and China ROMs.
BTW, is there a mod that supports object tracking in video recording?
ac78912 said:
Have u enabled Camera2api?
Otherwise it will not work...
Miui pie has been reworked for enable camera2api.
Previous tweak will not work..
Check my thread
Click to expand...
Click to collapse
Not showing manual options how to enable them
Confirmed, this solution is working. Thank you
any way to have eis on photoshots like on video?
Front camera crashes on my phone. I'm using AEX v6.5
Innearo said:
Front camera crashes on my phone. I'm using AEX v6.5
Click to expand...
Click to collapse
Why r u in aex? Official miui10 pie is also available now.. I'm using this and gcam is working flawlessly.
himanshugupta0033 said:
Not showing manual options how to enable them
Click to expand...
Click to collapse
Manual option in stock camera doesn't depend on camera2 api....find the word "manual" in /syste/etc/device_features/whyred.xml
Add these lines
<bool name="support_camera_manual_function">true</bool>
<bool name="support_camera_manual_function_focus">true</bool>
<bool name="support_camera_manual_function_et">true</bool>
Save and reboot.
himanshugupta0033 said:
Not showing manual options how to enable them
Click to expand...
Click to collapse
Place the attached file in /system/etc/device_features.
Reboot and enjoy
ac78912 said:
Place the attached file in /system/etc/device_features.
Reboot and enjoy
Click to expand...
Click to collapse
we have to replace with old xml?
kos25k said:
we have to replace with old xml?
Click to expand...
Click to collapse
You can either replace or keep the original one renaming for backup

Categories

Resources