[MOD][Z3/Z3C(in testing)][CONCEPT ROM] Cyberian Camera 4.2 - Xperia Z3 Android Development

First of all, I am not responsible for any damage that may have been caused physically to your phone, although I will try to help as best as I can.but I think the original dev can help you better than I can
Secondly, I've ask the permission at @mkdmc for posting this, thanks a lot to him !
Thirdly I AM NOT A DEV, ALL FEATURES YOU CAN SEE BELOW HAVE BEEN DEVELOPPED BY @mkdmc, @zezadas, @X-Tsubasa, @dontbelive, @BlackSoulxxx, @Chocolatetrain and @Hermantje. THANKS THEM. The only thing I've done it's tinkering a little to make this wonderfull mod on the concept rom
==>Original thread<==​
All features you can have from Cyberian Cam Mod :
From Cyberian III:
Improved Image Quality
SONY and QUALCOMM CAMERA DRIVERS from XPERIA X !
All the bitmaps changed to ARGB_8888 from RGB_565 for better image quality.
enabled inPreferQualityOverSpeed and inDither to the bitmap
Enabled 100% JPEG Quality on whole camera codes and whole android camera.
Added HDR for Video
Smooth Viewfinder
Some KitKat tweaks!
Used Photographers Tips for making the mod and Image Processing(Thanks To @Hermantje)
Unlocked Video recording settings
From Cyberian IV:
Simulated Predictive Auto Focus (even better than Xperia X!)(for enabling PDAF, choose object tracking in focus modes)
Faster, more accurate Focus for great images, regardless of conditions
Improved Sharpness for both photos and videos
Our exclusive image process engine, called Vera! Which reproduces color and Restores lost details.
Improved Front camera drivers
Added 12MP resolution(For best details and least noise!)
Added 20MP 16:9
Added AUTO SCN to manual mode
Optimized SCNs
Increased max iso value of Night Scene up to 8000!(So you can take brighter pictures with less noise in darkness!)
Increased max iso value of Night Portrait up to 1600(So you can take brighter and less shaky pictures)
Increased max iso value of manual mode up to 3200(When exposure mode is auto)
Advanced video recording
Added 4K UHD resolution to video mode!
Our latest video recording technology, 4K+!
Added HD 120/60/30fps
Now HDR is available for 4K
Added focus mode and SCNs to 4K resolution
Added Intelligent Active stabilizer for Full HD 60fps
Added some more Scenes to video mode.
Added Infinity focus
Updated Camera Apps
Use date-time naming-scheme
Upgraded Camera Program version to f4000040
ISO 25600
...And much more
HOW TO INSTALL
It's the same way that the original mod, but...
1. You have to have SuperUserMode/Disabled APK Signature Comparison! I'll make soon a flashable zip for last concept rom, but now, you can use the warez we shoudn't use or xposed and serajr's module
2. CLEAR DATA "Camera","Camera Common" and if you have 4k, CLEAR DATA"Video"
3. Make sure you have enought space on your system
4. Go here and "Thanks" mkdmc
5. Download the zip,put it to your storage, reboot to recovery and flash it.
ENJOY YOUR NEW CAMERA!!!
BUGS
1. Don't use SteadyShot Intelligent Activ on 4K Video (Crash)
2. In Auto, next to the camera button, you'll have a useless record button (it does nothing, but it's just here)
3. You can't change scene in manual (sorry for that, I'll look in it :/)
Download
Here
Credit
The personne who originaly dev this mod :
@mkdmc
@zezadas
@X-Tsubasa
@dontbelive
@BlackSoulxxx
@Chocolatetrain
@Hermantje
The guy who make this:
@dissidius
...
And...
Me for tinkering a little bit
PS:
I don't claim to be a dev, just a guy who very wanted to have this mod working on his phone, so please be nice ^^
PPS: Sorry for my poor english (even if I copy/paste the feature part of this thread which compose it at 75%) I'm only a frenchie who love XDA "Vive la France"

INFORMATION !!
Since I'm in a school that ask me about 90 % of my time, I can't work on exterior project than my school one :/
So I'm afraid thati have to put this project on a frozen stat, until my school let me have more free time, sorry for that :/
I hope you can understand this :/

Will this mod work fine in the latest 291(^_^)
Sent from my Sony Xperia Z3 using XDA Labs

Ricardo.M.Lu said:
Will this mod work fine in the latest 291(^_^)
Sent from my Sony Xperia Z3 using XDA Labs
Click to expand...
Click to collapse
Firstly, don't quote the OP.
And secondly, it clearly states CONCEPT ROM in the title....
Latest stock versions are here http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/mod-cyberian-camera-t3267271

OK,thank you.
Sent from my Sony Xperia Z3 using XDA Labs

Cyberian 4.2 work on marshmallow?
Sent from My ⓧⓟⓔⓡⓘⓐ Z3

amir159 said:
Cyberian 4.2 work on marshmallow?
Sent from My ⓧⓟⓔⓡⓘⓐ Z3
Click to expand...
Click to collapse
The original version work on .291, this is only for Concept rom
Go see in the thread of @mkdmc that I have linked upper

Thanks for this! Finally some love to concept rom, imo better than any stock rom
Sent from my D6603 using XDA-Developers mobile app

Thank you for this camera mod, it is the one i needed for concept rom
But i have a problem, in the camera interface there is no button for changing white balance and exposure nor the button for choosing scenes

stefx98 said:
Thank you for this camera mod, it is the one i needed for concept rom
But i have a problem, in the camera interface there is no button for changing white balance and exposure nor the button for choosing scenes
Click to expand...
Click to collapse
Oh yeah, I don't know how I didn't notice that :/
The problem is that I am not a dev :/
I've only manage to make the Camera UI work :/
I'll see what I can do, but I can't promise nothing :/
Sorry for that, but as I said, I am only a tinkerer, not a dev ^^'

OK, so I tested it on Z3 Compact with the firmware Concept 3636. I did exactly as you stated in the first post and Camera seems to work fine. For now we have a useless Record button and I can't reach the Sony Album app from inside Camera app (can't preview what I captured). Other than that it's working!
EDIT: I wonder if it will keep working if I delete the "Disable APK Signature Comparison". It is kinda dangerous to use it AFAIK. Any ideas?

marshalpear said:
OK, so I tested it on Z3 Compact with the firmware Concept 3636. I did exactly as you stated in the first post and Camera seems to work fine. For now we have a useless Record button and I can't reach the Sony Album app from inside Camera app (can't preview what I captured). Other than that it's working!
EDIT: I wonder if it will keep working if I delete the "Disable APK Signature Comparison". It is kinda dangerous to use it AFAIK. Any ideas?
Click to expand...
Click to collapse
Nop, without SuperUserMod, it won't work ^^

ok bro, thank you for your effort anyways
if you manage to make it work somehow, let us know

Nice job @Moiremoi!
I want to ask; how is the compatibility with the drm features restore (lost after unlocking the bootloader)?

cattolicboy said:
Nice job @Moiremoi!
I want to ask; how is the compatibility with the drm features restore (lost after unlocking the bootloader)?
Click to expand...
Click to collapse
It work pretty, but you need to flash it even before flashing SuperSu
In order, wipe data; cache, dalvik, flash DRM and SuperSu, and other zip
(so you need to reinstall your rom if you didn't flash it before, sorry :/)

Moiremoi said:
It work pretty, but you need to flash it even before flashing SuperSu
Click to expand...
Click to collapse
Do you mean the drm fix?
So now, I already have the drm fix installed, I can just install the camera mod and I won't loose the drm feauters, right?

cattolicboy said:
Do you mean the drm fix?
So now, I already have the drm fix installed, I can just install the camera mod and I won't loose the drm feauters, right?
Click to expand...
Click to collapse
Yep, first drm fix, and after camera mod, but for installing, drm fix, you need to wipe data cache and dalvik
Sent from my Sony Xperia Z3 using XDA Labs

Moiremoi said:
Yep, first drm fix, and after camera mod, but for installing, drm fix, you need to wipe data cache and dalvik
Sent from my Sony Xperia Z3 using XDA Labs
Click to expand...
Click to collapse
Ok, understood, thanks again!

Fc on my z3 concept rom latest build, tried: wiping cache / data / dalvik / camera data, etc, on normal cam its fine, any ideas?
Sent from my D6603 using XDA-Developers mobile app

Okay, so I've got all the prerequisites, I flashed the zip, and here are some things..
- No scenes button (already mentioned before)
- Useless and strange record button (mention, too)
- Shutter prio mode is not working: all pictures with shutter faster than 1/100 s were taken with 1/100 s no matter what I set, except for 1/10000 s (strange)
+ Manual mode works fine
+ 12/20 MP modes are available for SuperiorAuto
Without the scenes button, there's no way to check other modifications introduced by the author, so I guess we'll need their help.

Related

Best Camera setting for Z2

What is best Camera setting for Z2? superior auto with 8MP? superior auto 20.7MP? other camera app? some tweaks?
I'm not good at taking picture like manual mode.....
not exactly a best setting
you have to adjust your Exposure,ISO,metering and white balance accordingly to where you are and your surroundings
I can't see a difference in 20 vs 8. Even cropping and zooming in every thing looks the same.
try this
There isn't a real settings (depends on situation if you are). Well 20.7 megapixels in superior auto is usefull in certain situation, because this mode use the scene mode and high iso settings(over 800) in certain situations. In manual mode those thigs are locked in 20.7 megapixels. In low light situations, for example it's very usefull :good:. Some 3rd party apps unlocked some scenes,iso mode in 20.7 megapixels. I suggest to you procapture(the quality of image in 100% is amazing,night mode strangely increased it),a better camera and camaringo For front camera i think is better to use in most cases the sony camera....the images are less noisy BONUS(if you would a boost in image quality,it's the same in every android. ): You can also mod build.prop to have 100% image quality or mod memcap of image...but i suggest to search on internet for this, if you can try
EDIT: Oh i forgot, i suggest you to use mult autofocus and muti methering in manual camera with camera button for best photo!
Why i cannot manually choose the iso i want to take photo with other apps, i know what i am doing using ISO100 suddenly it become ISO800 when i hit the shutter.
My Z2 is rooted but still locked bootloader.
finchuck said:
Why i cannot manually choose the iso i want to take photo with other apps, i know what i am doing using ISO100 suddenly it become ISO800 when i hit the shutter.
My Z2 is rooted but still locked bootloader.
Click to expand...
Click to collapse
I don't know...it's a sony drm limitation? I advice you to use for iso modification , the stock manual camera for other things, the 3rd party apps :good: the results are also really great
I have a question,wanted to create a thread for it but thought i can just ask here,though i might as well go ahead to create the thread if i dont get the answer here.
Is there a way to tweak/modify/change the functionality of the camera button i.e to change the camera which the camera button launches,say from stock to any third party app? I think the ProCapture is a good one
Abdl said:
I have a question,wanted to create a thread for it but thought i can just ask here,though i might as well go ahead to create the thread if i dont get the answer here.
Is there a way to tweak/modify/change the functionality of the camera button i.e to change the camera which the camera button launches,say from stock to any third party app? I think the ProCapture is a good one
Click to expand...
Click to collapse
If you talk of lockscreen ,i use snaplock lockscreen...there is a option to set deafult camera if you talk of phisical button...i alredy have this option to choose any camera apps. I use EXR.Freedom 1.8.
djgigi94 said:
If you talk of lockscreen ,i use snaplock lockscreen...there is a option to set deafult camera if you talk of phisical button...i alredy have this option to choose any camera apps. I use EXR.Freedom 1.8.
Click to expand...
Click to collapse
You talking about this? http://forum.xda-developers.com/xpe...r-freedom-z2-l50t-mobile-eye-effects-t2874676 Is it some rom or mod or something?
Abdl said:
You talking about this? http://forum.xda-developers.com/xpe...r-freedom-z2-l50t-mobile-eye-effects-t2874676 Is it some rom or mod or something?
Click to expand...
Click to collapse
It's a good rom with 3.12 base (the 1.8 i downloaded directly in chinese forum...whith help of google translate eheheh...but in the last page of that topic there is the link ) . The fact of camera button of my rom is related because i don't use stock lockscreen If i use stock lockscreen,camera button open only stock camera. Try snaplock lockscreen(you can find this in playstore) .

CameraNextMod[DENOISE FEATURE](v7)

CameraNextMod
[For Cm13 Or CM Based Roms][Didnt Try on Miui]​
Hi Guys ,
I decided to share this because I have seen many people want to use the Color OS camera because of its low light performance.
As we all know, we aren't much happy with the Stock Camera. No doubt its stable, but we all expect for more. So here i am presenting CameraNextMod. It is developed by @abhi08638 and now its officially maintained by *PRATHAMESH*. Enjoy the sweetness of Camera Next with extra features.
What I need to flash this??
ANS: ROOTED Redmi Note 3 WITH A CUSTOM RECOVERY INSTALLED.
HOW CAN I FLASH THE ZIP?
JUST REBOOT TO YOUR RECOVERY AND FLASH THE ZIP. NO NEED TO CLEAR ANYTHING.
It gives super Clear images. It also has some other features. .
Please NOTE: Please don't try to directly install as APK.
Changelog:
1) The Focus Ring's Radius is reduced now. So it looks more pleasant to focus.
2) Fixed Storage Issues. (Some users faced it).
3) Added Touch AF/AEC Feature.
4) Added HDR+.
5) Added Auto Exposure Bracketing.
6) Added Option to disable beeping countdown sound.
Coming to Video Sections:
1) I am also trying to add Camera like denoise, saturation and all those **** to Video Section as well.
2) Accordingly, Added White Balance.
3) Added Power Shutter.
4) Fixed Video Duration issues and 24 hours video issue.
5) Now you will be able to record High Speed/Slow Motion.
6) Still Time Lapse is present even if above feature is present.
HTML:
Instructions for Flashing:
1) Download the "APPROPRIATE" CNM zip file according to the icon you love.
2) Reboot to Recovery.
3) Flash the Zip file.
4) Reboot and Have fun.
What works:
EVERYTHING.
What doesn't:
You tell.
Download Link
Special Thanks To *PRATHAMESH*
first, will try and tell
Nice to see this here! Downloading it right now.
This is for Qualcomm or MTK?
hows the camera quality?
Flashed it on kenzo miui 7.3.6 but didn't find any new camera app.
crashing when enable power button shutter and then FC all the time until delete app data
JAlvarezFlores said:
This is for Qualcomm or MTK?
Click to expand...
Click to collapse
cheeze.keyk said:
hows the camera quality?
Click to expand...
Click to collapse
naveen6252 said:
Flashed it on kenzo miui 7.3.6 but didn't find any new camera app.
Click to expand...
Click to collapse
i2k13 said:
crashing when enable power button shutter and then FC all the time until delete app data
Click to expand...
Click to collapse
1) This is for Qualcomm but you can flash it on MTK too no problem with that
2)camera quality.. u can check that for urself
3) already mentioned in the thread "it may not work in miui"
Give this a try on Miui :-
Download link for v22
Download link for v10
AutoFix click sound fix
actually im on CM13 not miui
i2k13 said:
actually im on CM13 not miui
Click to expand...
Click to collapse
Use another version
provided with the link above
cameranextmod v10 + v22 Force closes... cm13
I just flashed the v7 of this camera and as for now it seems to be a much better camera apk than the snapdragon apk.
I like how many features it has, especially the EIS.
The only bug I've found is that if I enable the "Power button as a shutter" then I have FC all the time (have to wipe it's data then).
Zooming isn't good with this camera as objects become way-to pixelated when zoomed in. Tried to do this same thing with cyanogenmod's default camera and the object was much more clearer and less pix-elated. Plus the use power button as shutter button makes the app crash all the time.
Edit - While focus works nice in both front and back camera, it doesn't show the focus ring in front camera.
gagan7 said:
Edit - While focus works nice in both front and back camera, it doesn't show the focus ring in front camera.
Click to expand...
Click to collapse
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
mr.loverlover said:
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
Click to expand...
Click to collapse
Just tap on the screen, then the focus starts.
mr.loverlover said:
Well, there's no focus mechanism in the camera, so what kind of focus are you expecting? The face detection?
---------------
I just did some low light tests.
Tbh, there's no difference in the noise amount. Both pictures look ****ty + the pictures from this camera are all white, I mean like there's almost no color in the pictures. The stock camera wins in the color reproduction in those conditions easily.
Sent from Note 3, Xiaomi Redmi Note 3.
Click to expand...
Click to collapse
Im taking about touch to focus. It doesn't have touch to focus when using front camera, whereas cyanogenmod's default camera has. don't know about miui default camera.
It takes bright pictures in low light, but It's just too white in normal condition!
Plus,stock camera has better details. Slightly better.
One more thing, there is no 120fps slowmotion for HD resolution. and I don't know if 60fps FHD works or not.
Worse than Snap Camera included in latest CM13 build (balika). The chroma noise reduction is worst...
v22 works on miui. will be glad if you can upload latest updates here
Well this is like dream come true. For video shooting, this is the best camera app for redmi note 3 atleast. It has features like video stablisation, h.265 encoding and the best of all, it is able to save the video to sd card. (I previously tried an apk of camera next from apkmirror and it was not able to dave on sd card) . And for still shotss also, it has denoise feature, which I missed back then in camera next. Thank you so much. Now there is no need to go back to miui any more. You made my day.

XA Ultra F3216 Problem - Camera has stopped after root

I following this guide: https://forum.xda-developers.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3430170
All done! I'm so happy
When i use front camera with superior auto mode, my device have error : Camera has stopped . I try superior auto mode with rear camera omg it's working .... My front camera working on all mode except superior auto
I check trackID, Mobile BRAVIA Engine 2,... etc all working, haha
How to fix this? Many thank and sorry all if all of you don't know what i talk about because my english not good
Please read the following warning from official Xperia page
mrgiao1995 said:
I following this guide: https://forum.xda-developers.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3430170
All done! I'm so happy
When i use front camera with superior auto mode, my device have error : Camera has stopped . I try superior auto mode with rear camera omg it's working .... My front camera working on all mode except superior auto
I check trackID, Mobile BRAVIA Engine 2,... etc all working, haha
How to fix this? Many thank and sorry all if all of you don't know what i talk about because my english not good
Click to expand...
Click to collapse
According to Xperia Developer page, bootloader would leads to
the removal of DRM security keys may affect advanced camera functionality. For example, noise reduction algorithms might be removed, and performance when taking photos in low-light conditions might be affected.
Click to expand...
Click to collapse
Hope it explains and press thank if you find it useful
Minh
dualeoo,
According to that, then it would be possible to flash the drm keys again after doing root?, I say it because before with the other xperia could be done

[Flashable][Asus Stock PixelMaster Camera][Sdcard Fix][7.x,8.x]

ABOUT:
With ASUS PixelMaster Camera at your fingertips, there’s no need to worry about fiddly options or settings to capture great photos. Our unique scene-detection technology analyses your surroundings instantly, suggesting the best mode for your shot.
From dusky evening scenes and low-light indoor shots to bright, high-contrast environments, ASUS PixelMaster Camera enables effortless mode-switching. So, no matter whether capturing exciting sporting moments, beautiful scenery on your travels or cute shots of your kids, ASUS PixelMaster Camera turns you into a professional sharp-shooter – all at the touch of a button!
Key Features:
- Get down to the basics. Optimize your photos via Auto mode, which auto-sets the camera settings vis-a-vis the lighting and environment.
- Shoot like a pro! With Manual, Super Resolution, HDR, or Depth of field mode, you can capture vivid, beautiful photos effortlessly like a pro!
- Let there be light. Capture precious moments even in dimly-lit places via Low Light or Night mode that adjusts the background lighting for picture-perfect moments.
- Let’s have fun! Have more fun and apply animated effects or creative filters to your photos or videos via GIF Animation, Miniature, Effects, or Time Lapse mode.
- Widen your reach. Encapsulate all that beauty and scenery via Panorama, PanoSphere, or Selfie Panorama mode.
- Capture pretty and perfect photos. Capture beautifully-enhanced photos using Beautification, Selfie, Time Rewind, or All Smiles mode. Use Smart Remove to remove unwanted details from your picture-perfect mementos.
- Keep the camera rolling! Create your own story via a video with High Speed Video and Slow Motion Video modes.
NOTE:
ALL THE FEATURES WORKING AND ALSO YOU CAN DIRECTLY SAVE PHOTOS AND VIDEOS ON SD-CARD.
INSTALLATION
1. Download the latest zip file from below and Boot into recovery.
2. Go to install.
3. Select the zip.
4. Swipe to confirm flash.
5. After installation Hit Reboot System.
UPGRADING
1. Remove The Old Camera.apk.
2. Download the latest zip file from below and Boot into recovery.
3. Go to install
4. Select the zip.
5. Swipe to confirm flash.
6. After installation Hit Reboot System.
Now Enjoy The Camera:good::good:
-Tested On Every Nougat Rom
-Now It's Support Android O (8.0)
Download The Latest Version From Here
HIT THANKS IF IT HELPS YOU:good:
If You Want The Asus Stock Gallery Then Just Download The Latest Version From Below And Install As A Normal APK....
Link: https://www.apkmirror.com/uploads/?q=gallery-htc-corporation-zenui-asus-computer-inc-2
:good:
?
Thank you Bro.. Tnx hited.
Thanks it work perfectly
Works perfectly, congratulations!
Does anyone know what to do to work the Asus dialer and contacts in any ROM?
PixelMaster Camera V2.0 Up....
- Performance Improve And Some Bugs Fixes.
- Enjoy:silly:
Download From Here: https://www.androidfilehost.com/?fid=745425885120758793
mg712702 said:
PixelMaster Camera V2.0 Up....
- Performance Improve And Some Bugs Fixes.
- Enjoy:silly:
Download From Here: https://www.androidfilehost.com/?fid=745425885120758793
Click to expand...
Click to collapse
Great work, congratulations!
How to make Asus Dialer & contacts work on modified ROMs? RR
Andre_Luis said:
How to make Asus Dialer & contacts work on modified ROMs? RR
Click to expand...
Click to collapse
there are no way...
is super resolution etc work on this mod??
Ichijou Raku said:
is super resolution etc work on this mod??
Click to expand...
Click to collapse
yes...:good:
As for all previous attempts I checked, this mod also does not access external SD.
It only saves photos on internal memory, ext SD menu is shaded.
ZD551KL Zenfone Selfie.
Saponetto said:
As for all previous attempts I checked, this mod also does not access external SD.
It only saves photos on internal memory, ext SD menu is shaded.
ZD551KL Zenfone Selfie.
Click to expand...
Click to collapse
Hey atfirst please remove the old camera.apk then flash this...It will sure works...
mg712702 said:
Hey atfirst please remove the old camera.apk then flash this...It will sure works...
Click to expand...
Click to collapse
Thanks a lot for the hint!
It's long time I do not use Camera.apk in favor of Snap Camera.
Just removed Snap also, and everything works flawlessly now.
Strange, but what really cares is that it works!!!
i updated asus camera to latest version,panorama got force close
Ichijou Raku said:
i updated asus camera to latest version,panorama got force close
Click to expand...
Click to collapse
Wait some days I will soon update it
Ok thanks...mmmm,can you add latest asus photo burst app to this mod?? I cant find anywhere.

[MOD][TESTING] Camera Sensor Fix and Google Camera

[SIZE=+2][MOD][TESTING] Camera Sensor Fix and Google Camera[/SIZE]
Please test, share issues, questions and offer help!
What does this mod do?​
It replaces the libmmcamera_imx318*.so and libmmcamera_imx268*.so files inside /system/vendor/lib/ with ones I edited.
It also adds a missing reference to libadsprpc.so in /system/etc/public.libraries.txt on custom firmwares.
Warning​From my experience this mod can't really break anything. At most you'll have a non working camera. In this situation you need to either flash your ROM again or restore these files from a backup.
If you're on MIUI use the installer that doesn't change your public.libraries.txt file! Otherwise your device won't boot.​
What does it fix?​
It fixes a sensor and active array size mismatch issue in our devices. It makes a lot of google camera mods work (to some degree).
It seems to have also fixed the cropping bug everyone has been complaining about. Since the array size mismatch appears to be cropping the resolution down to the next working one.
Shut up already, I just want to take some great looking photos!​
Go ahead and flash one of these zip files:
CFW: https://mega.nz/#!sfAERYxL!WdJO3u9sFwddB22echsp0-2AYsW1nVIynROo3rVjeqQ [v5] [14-05-2018]
MIUI: https://mega.nz/#!UexHDThY!O2CUQ1GVqG9CSAqfgMRXthKVq4vgPPq6-wbKflAGbio
Install the following gcam mod:
https://www.celsoazevedo.com/files/android/google-camera/f/GCam_5.1.018_by_SerJo87_1.6RC2_test4c.apk
What's working:
HDR+ and HDR enchanced (Back and Front)
Portrait Mode (Back and Front)
Zero Shutter Lag
Motion Photos
Video Recording
Slow Motion (120 and 240 fps)
What's Not Working:
Nothing!
What isn't working very well:
Light flickering in 240fps slowmo.
Low exposure in Lens Blur. (The current fix is to set the Lens Blur resolution to the default 5MP)
Low exposure in Panorama.
Cropped 4k Recording (Hardware enabled EIS. Doesn't seem to be a bug.)
Missing toggle between HDR modes on the back camera (It takes photos with HDR+)
Recommendations
If you don't mind losing Motion Photos on the Back Camera turn on the Use Hexagon DSP option for slightly better performance and stability
Change the HDR+ parameters to Pixel 2017 stable.
Turn on Portrait ZSL mode
Change Base model inside Tuning back cam to Nexus 6P. (More detailed photos plus better and faster autofocus)
SerJo87 Google Camera's default tuning settings are tweaked for another smartphone's camera sensor. As a personal recommendation go into Tuning back cam and disable the Tuning master switch for it to use the default Base Model values. I've spent hours tweaking and have found the default Nexus 6P values to be the best ones.
Change the Lens blur megapixels to 5MP. (Fixes the low exposure issue)
Compatibility​
Personally tested and fully working on the latest AospExtended.
Reported semi-working on the latest unofficial Resurrection Remix.
Reported working on the latest Lineage 15.1.
Reported working on crDroid.
Reported working in MIUI.
This mod is not needed on the latest Cardinal-AOSP. Psy_Man has included this fix.
Google Camera Mod Repository​
Go grab a bunch of other google camera mods if you're feeling adventurous and hope to find a more compatible one.
https://www.celsoazevedo.com/files/android/google-camera/
I need testers, helpers, anything and everything is welcome!​
Why I did it​
Coming from a Redmi Note 4X, I was pretty letdown by the lack of a working google camera mod for my new Mi Note 2. I upgraded my phone in almost every aspect except I was taking far inferior quality photos. This drove me to find out what was going on with our device.
Getting technical​
Going through several gcam mods I noticed a pattern. This error to be exact:
E/QCamera (510): <MCI><ERROR> update: 102: invalid input: active_array [5344, 4016], sensor size [5488, 4112]
For some reason, the active array size is smaller than the sensor size. Which cannot happen. This is what I fixed in the libmmcamera_imx318_primax.so file.
If you want a detailed explanation of what I changed in the file go over here https://forum.xda-developers.com/mi-note-2/development/fix-mi-note-2-camera-blobs-t3794443
The missing reference to libadsprpc.so prevents the google camera (and any other non system app) from accessing the Snapdragon 821's hexagon DSP. The reference is needed for apps to offload processing to the DSP and the google camera tries to use it for HDR background processing. It should make the app and the phone a lot more stable and responsive even when taking consecutive shots.
Changelog​
[v3] In version 3 I started replacing both libmmcamera_imx318.so and libmmcamera_imx318_semco.so as well, with the same fixes. I'm assuming these files are for the different possible CMOS our phones can have (sony, semco or primax).
[v4] In Version 4 I also replace libmmcamera_imx268.so and libmmcamera_imx268_sunny.so. These Front Camera files were also fixed and no longer crash the app when switching to and from Portrait mode.
Very interesting! I'm flashing it in a moment!
Thank you for your work!
not booting up after install on miui 9.5.1.0
Keep up man. Wonderful job!
Very good progress!
I'm running the latest RR. Flashed and booted up no problem.
Just having issues with Urkill's camera:
It stops working when switching from mode to mode (modes work correctly)
Video on the back camera is wayyyy zoomed it. I think "Double stabilisation" is on. Note 2 is EIS by default, AFAIK, then, paired with the app's stabilization, it might be cropping out a lot of video real-estate. But this is just a guess.
Thanks for your work! Very happy with the progress!
Knz7777 said:
not booting up after install on miui 9.5.1.0
Click to expand...
Click to collapse
Hmm maybe miui's public.libraries file has libs that are missing from the file I'm flashing. I'll confirm that tonight.
I also forgot to mount /vendor in my installer script and that may have caused some issues. I'll also upload a fixed version later tonight.
Sorry for any headaches.
empy16 said:
Very good progress!
I'm running the latest RR. Flashed and booted up no problem.
Just having issues with Urkill's camera:
It stops working when switching from mode to mode (modes work correctly)
Video on the back camera is wayyyy zoomed it. I think "Double stabilisation" is on. Note 2 is EIS by default, AFAIK, then, paired with the app's stabilization, it might be cropping out a lot of video real-estate. But this is just a guess.
Thanks for your work! Very happy with the progress!
Click to expand...
Click to collapse
Yeah. UriKill's mod is optimized for the redmi note 4. But is still the most stable of the bunch. I've noticed things like switching to the front camera and then switching to portrait mode will crash the camera but doing it the other way around works.
The note 2 does have built in image EIS and UriKill's mod enables Google camera's stabilization on 1080p. But shouldn't be doing it in 4k and yet the image gets cropped a lot more in 4k. I need to figure out what's going on.
New version of the script is up. I forgot to mount /vendor, so it wasn't really working unless you had manually mounted /vendor before flashing it.
Give it a try again if it didn't work last time.
Knz7777 said:
not booting up after install on miui 9.5.1.0
Click to expand...
Click to collapse
Something just crossed my mind. Did you flash LazyFlasher on your miui rom?
Editing the /system partition makes miui roms unbootable unless you disable both dm-verify and forced encryption.
More info: http://en.miui.com/thread-310923-1-1.html
Portrait mode doesn't work
pasquale_kun said:
Portrait mode doesn't work
Click to expand...
Click to collapse
False. Portrait mode works perfectly for me.
empy16 said:
False. Portrait mode works perfectly for me.
Click to expand...
Click to collapse
For me no. The app crashes in front and back camera with portrait mode
Camera app also crash on mine when choosing portrait mode.
Although if I switch very fast to front cam it works.
Video doesn't work though.
I am on Pixel Exprerience if that helps.
Otherwise awesome work, looks promising. ?
pasquale_kun said:
For me no. The app crashes in front and back camera with portrait mode
Click to expand...
Click to collapse
If you had another google camera mod installed usually just uninstalling doesn't delete all data. And some mods have the camera.enable_pd and camera.enable_pd_blur flags turned on in Developer Settings.
These need be to off. Check if that's the issue.
Front camera Portrait Mode also needs the camera.gouda.front flag to be on.
Mimi Mix said:
If you had another google camera mod installed usually just uninstalling doesn't delete all data. And some mods have the camera.enable_pd and camera.enable_pd_blur flags turned on in Developer Settings.
These need be to off. Check if that's the issue.
Front camera Portrait Mode also needs the camera.gouda.front flag to be on.
Click to expand...
Click to collapse
Should all these flags be available in developer settings? Because I don't have them except for camera.gouda.front.
azngl said:
Should all these flags be available in developer settings? Because I don't have them except for camera.gouda.front.
Click to expand...
Click to collapse
Yes they should, at least in UriKill's port. It depends on the gcam mod you're using.
So can we flash it on miuipro 9.5.1.0 or will it bootloop?
---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------
Mimi Mix said:
Something just crossed my mind. Did you flash LazyFlasher on your miui rom?
Editing the /system partition makes miui roms unbootable unless you disable both dm-verify and forced encryption.
More info: http://en.miui.com/thread-310923-1-1.html
Click to expand...
Click to collapse
I have flashed miuipro+magisk+custom kernel
Knz7777 said:
So can we flash it on miuipro 9.5.1.0 or will it bootloop?
---------- Post added at 04:49 PM ---------- Previous post was at 04:48 PM ----------
I have flashed miuipro+magisk+custom kernel
Click to expand...
Click to collapse
It shouldn't bootloop. I don't think miuipro enforces dm-verifiy. And my mod doesn't change any important system files.
If it does bootloop, try installing LazyFlasher and see if that fixes it.
Either way, put the miuipro, kernel and magisk installation files in your internal storage before testing.
If you run into a bootloop, just reflash those 3 files, in the above order, and everything will be back as it was.
Testing is really appreciated! Thank you!
pasquale_kun said:
Portrait mode doesn't work
Click to expand...
Click to collapse
Flash the first zipfile

Categories

Resources