Mi Note 3 Camera Porting for Custom ROM - Xiaomi Mi Note 3 Questions & Answers

Hi, has everyone attemped to port MIUI Camera for Mi Note 3 as a zip to install for custom ROM?

good question!

GenLan said:
Hi, has everyone attemped to port MIUI Camera for Mi Note 3 as a zip to install for custom ROM?
Click to expand...
Click to collapse
I am using a version of GCam on Epic Rom. But the problem is I get a black viewfinder while I attempt to turn on portrait for the front camera. But the rear camera is working fine and I'm absolutely happy with the result!

bdsakib said:
I am using a version of GCam on Epic Rom. But the problem is I get a black viewfinder while I attempt to turn on portrait for the front camera. But the rear camera is working fine and I'm absolutely happy with the result!
Click to expand...
Click to collapse
I'm happy too, thanks God and(@alex-gibson) finally we have a real OS. But gcam is not really stable and although result are brilliant, making blur photo is a bit tricky (moving up at right speed). A stable solution would be a great companion. :good:
If someone on last stable miui wants help I could try making an installable zip. Awaiting for volunteers. :laugh:

There is one from Mi A1 thread, its a port from Mi A1 dual camera apk.

Port is from A1, but portir mode DONT WORK

You try This one ,flash in twrp :
https://drive.google.com/file/d/1qxYHyE6UBLRrY0oesSOa7lGSTV4G8GDt/view?usp=drivesdk

Related

Miui camera

As I am a owner of Redmi Prime 2,I downloaded the ported app from Redmi Prime 2 forum.Accidentally I installed the Cam app on Mi4i .And ......it is working.So I thought of sharing it.
I tried it on CM 13.
Don't know who ported this.
miui v5 camera?
Have tried it. UI lags and freezes. Quality of shots is not good enough.
Remain with Snap Camera HDR
RiD91 said:
Have tried it. UI lags and freezes. Quality of shots is not good enough.
Remain with Snap Camera HDR
Click to expand...
Click to collapse
No ui lag on cm13.But......Yep ....snap is better.
Is it working on unofficial 14.1?
zerocool420 said:
Is it working on unofficial 14.1?
Click to expand...
Click to collapse
yes
Thanks to Mi A1. MIUI camera is available now.
https://forum.xda-developers.com/mi-5/themes/app-miui-camera-ported-xiaomi-mi-a1-t3670607

Best Working Camera Mods and Ports - Collection

Hello,
i know that there are many Camera Ports and Mods out there and i wondered if we could put all in one Collection?
Which do you know?
-Google Camera Pixel 2 HDR+ Port
-Oneplus 5 Port
-Moto Port
I do not know much. Can you help me? Maybe with links?
Maybe we can create a threat like:
https://forum.xda-developers.com/mi-5/themes/app-collection-camera-modded-t3591177
by the way, do you know if the Ports for Xiaomi mi5 above work for Redmi Note 4 (Snapdragon)?
Thank you.
i tested the oneplus camera(both the v8 and 2.0.0 version) from the link you gave and compared it with the oneplus camera from this link https://forum.xda-developers.com/re...s-5-camera-port-redmi-note-4-7-0-t3656125.The best of these 3 is the oneplus5 2.0.0 version but iso on the pro mode does not work.If you have to choose between the oneplus5, the moto g5 camera and the google camera,google camera is the best in my opinion.Also,i have a sony sensor
It depends on your camera sensor... Photo or video, And how you take photos, manual or point n shot.
Mine is omnivision, I just care about still photoshot, I never record video. Then I don't want to mess with manual mode. So, the best mod is google camera hdr+ and snap camera with LLM mode.
Do you know if we can install and use the ports from link above in my first post?
Im getting pink images on hdr on front camera alone
Does the Google camera work on miui 9?
manuelbvb said:
Do you know if we can install and use the ports from link above in my first post?
Click to expand...
Click to collapse
Hello there , your link directed me to the thread created by arnova8g2. I can assure you you can use the camera mods mentioned there . I am using gcam builds and miui cam ports from that thread . So far no major issues for me
adamix94 said:
Does the Google camera work on miui 9?
Click to expand...
Click to collapse
Yes . The only requirement is camera2api (search it ). thank you
Boomshiva said:
Hello there , your link directed me to the thread created by arnova8g2. I can assure you you can use the camera mods mentioned there . I am using gcam builds and miui cam ports from that thread . So far no major issues for me
Yes . The only requirement is camera2api (search it ). thank you
Click to expand...
Click to collapse
Done it..works now...thanks
Boomshiva said:
Hello there , your link directed me to the thread created by arnova8g2. I can assure you you can use the camera mods mentioned there . I am using gcam builds and miui cam ports from that thread . So far no major issues for me
Yes . The only requirement is camera2api (search it ). thank you
Click to expand...
Click to collapse
Great. Thank you.
I installed google camera and it worked. Not perfect (Front cam and few functions do not work) but it works.
But i did not install camera2api. But i am in resurrection remix. Maybe i do not have to install it?
manuelbvb said:
Great. Thank you.
I installed google camera and it worked. Not perfect (Front cam and few functions do not work) but it works.
But i did not install camera2api. But i am in resurrection remix. Maybe i do not have to install it?
Click to expand...
Click to collapse
No need to enable camera2api or.make changes in build prop . That is required only if you using official miui . Custom roms comes by default with camera2api .
Few things don't work ?
Well.except slow motion and some artistic pictures with front cam ? all is fine ...
I am currently on v11 -N build ..didn't tried the beta builds ...
Boomshiva said:
No need to enable camera2api or.make changes in build prop . That is required only if you using official miui . Custom roms comes by default with camera2api .
Few things don't work ?
Well.except slow motion and some artistic pictures with front cam ? all is fine ...
I am currently on v11 -N build ..didn't tried the beta builds ...
Click to expand...
Click to collapse
Which settings do you use?
manuelbvb said:
Which settings do you use?
Click to expand...
Click to collapse
This ?

MI A1 Camera App for Redmi Note 5 Pro

UPDATE A2 Lite apk used
I updated module with new apk from a2lite. download from Gdrive from following link.
https://drive.google.com/open?id=1C4xWnJssECf58tYviQzLh6AN1PgwFqRw
I found a Magisk Module for Mi A1 stock camera app for custom rom I edited module so it works on Redmi Note 5 Pro (Indian version).
Portrait mode will not work because Mi A1 has 12 Mega Pixel secondary camera while Whyred has 5 Mega pixel so it won't be able to access it.
https://drive.google.com/open?id=10L9CkUmYVAdViatGCDviXEezb18wuaFy
I took the module and replaced follwing files .
In system/priv-app/MiuiCamera/lib/arm64/
libCameraEffectJNI.so
libcutils.so
libmorpho_panorama.so
libmorpho_panorama_gp.so
In system/etc/device_features/
removed tissot_sprout.xml
added whyred.xml
In common/
Edited system.prop
removed line ro.product.device=tissot_sprout
added line ro.product.device=whyred
All file were taken from MIUI 9.5.11.0 zip
did not replaced MiuiCamera.apk as it doesn't work. requires more work. If any one know about odex, vdex and oat files and can edit apk and make it work it will be nice. I am not technically knowladgable so I might not be able to answer any technical answer.
Thread from where I took the module
https://forum.xda-developers.com/mi-a1/themes/oreo-mia1-stock-rom-camera-app-custom-t3758543
Credit goes to RAMESH HUNTER.
If you encounter error sayin can't connect to camera. Give app permission for camera sound and storage.
Progress so far. try throwing everything including kitchen sink. did not succeed. Portrait mode and hdr mode can not be enabled with same module.
Tried more things and figured some of the things out Here are the following.
system.prop files include line ro.product.device=tissot_sprout. It sets device id to Mi A1.
system/etc/device_features/tissot_sprout.xml files declares some variable.
system/priv-app/MiuiCamera/ folder include apk which gets installed at boot and have more permissions then other apps.
MiuiCamera.apk support multiple Phones so it can possibly run on many xiaomi device without modifying apk, But unfortunately does not support Whyred. Hopefully future version does.
apk can be decompiled into smali language or class file and ultimately java files, But editing those files and making it work requires knowledge and talent, Hope somebody does that.
MiuiCamera might be edited version of camera app found on aosp source code because smali code contains some of the same information.
Tried it on Mi 4i same functionality as whyred. hdr works portrait doesn't.
Is it working on Global version?
HDR, portrait mode works?
How can i install it in my redmi note 5 pro. does it work on custom rom like kk rom or mokee etc.
This is nice work man, HDR was crashing in the generic version here it seems to work once enabled.
EDIT: using global version
Yes. I am using global version
Met74 said:
Is it working on Global version?
HDR, portrait mode works?
Click to expand...
Click to collapse
Yes It is working
Through Magisk
patilkalpesh said:
How can i install it in my redmi note 5 pro. does it work on custom rom like kk rom or mokee etc.
Click to expand...
Click to collapse
It is Magisk module. You can install it through Magisk manager
Tried it on mokee but the camera app just force closes.
Gave all the permissions from app info
i don't see the option to take photos in portrait mode (bokeeh), it used to be a stereo icon right on the top
EDIT: switched back to the generic version and it works fine, but no HDR.
Maybe (if you want to) you can try put out the file from China version, as it seems it does not detect the secondary camera(as it's the same in china e global, but different in India) and make 2 different version?
It is in options/scene/portrait. But it is not working.
macacomachec said:
i don't see the option to take photos in portrait mode (bokeeh), it used to be a stereo icon right on the top
EDIT: switched back to the generic version and it works fine, but no HDR.
Maybe (if you want to) you can try put out the file from China version, as it seems it does not detect the secondary camera(as it's the same in china e global, but different in India) and make 2 different version?
Click to expand...
Click to collapse
I will try to deodex stock miui camera app fir whyred and see if it works.
divyangchauhan said:
I will try to deodex stock miui camera app fir whyred and see if it works.
Click to expand...
Click to collapse
Yeah try to port our stock cam for aosp roms. That will be gr8
Sumit Samanta said:
Yeah try to port our stock cam for aosp roms. That will be gr8
Click to expand...
Click to collapse
Looking forward to this one,this is the last straw preventing me from moving from miui to custom ROM
---------- Post added at 07:22 PM ---------- Previous post was at 07:20 PM ----------
Looking forward to this one,this is the last straw preventing me from moving from miui to custom ROM
Any progress ? I'm also keeping an eye on this thread. Please try to port our camera app for custom rom. This is the only thing for which I'm on their **** miui
Same here bro...
It is wasting time. With the arrival of the new android one will be able to do without any problem.
Destrangis said:
It is wasting time. With the arrival of the new android one will be able to do without any problem.
Click to expand...
Click to collapse
Android one for which phone?
kakagi said:
Android one for which phone?
Click to expand...
Click to collapse
Carrying the camera from MIUI to AOSP is almost impossible for a DEV in his spare time. MIUI and AOSP are very different. The A1 CAM (MIUI 9 CAM ) could be brought to custom roms because Xiaomi previously carried it to AOSP with the MI A1 and its rom Android One (AOSP) and saved us that hell of a lot of work. MI A2 and Mi A2 lite will be released on July 25th with the MIUI 10 camera and the same thing will happen. The MIUI 10 CAM is that of the Redmi Note 5 Pro.
Why do you think the A1 CAM is doing so well on the Redmi Note 5 pro? Because it's the same camera that brought RN5 PRO to MIUI based on Nougat.
---------- Post added at 03:10 PM ---------- Previous post was at 03:01 PM ----------
Destrangis said:
Carrying the camera from MIUI to AOSP is almost impossible for a DEV in his spare time. MIUI and AOSP are very different. The A1 CAM (MIUI 9 CAM ) could be brought to custom roms because Xiaomi previously carried it to AOSP with the MI A1 and its rom Android One (AOSP) and saved us that hell of a lot of work. MI A2 and Mi A2 lite will be released on July 25th with the MIUI 10 camera and the same thing will happen. The MIUI 10 CAM is that of the Redmi Note 5 Pro.
Why do you think the A1 CAM is doing so well on the Redmi Note 5 pro? Because it's the same camera that brought RN5 PRO to MIUI based on Nougat.
Click to expand...
Click to collapse
Of course, the cameras adapt to your phones, but the MIUI 10 CAM does not require the second slow camera to use HDR and portrait mode, so even the A2 CAM without any changes should work excellently on RMN5.
Destrangis said:
[/COLOR]
Of course, the cameras adapt to your phones, but the MIUI 10 CAM does not require the second slow camera to use HDR and portrait mode, so even the A2 CAM without any changes should work excellently on RMN5.
Click to expand...
Click to collapse
What about porting Asus Zenfone max M1 camera app?I know there are some under the hood changes (not a pure AOSP ),but is it possible?

Update to a pure Android Rom. But what is with the camera? Any quality problems?

Im looking for a pure Android Rom for my Mix 2s. Maybe Lineage OS?
But what is with my camera? Is there any Problem? Bad quality or no portrait shot?
Is there any way to get the xiaomi camera back on the pure android rom?
Sorry for my engish, im german.... Hope you uderstand my english
karandras said:
Im looking for a pure Android Rom for my Mix 2s. Maybe Lineage OS?
But what is with my camera? Is there any Problem? Bad quality or no portrait shot?
Is there any way to get the xiaomi camera back on the pure android rom?
Sorry for my engish, im german.... Hope you uderstand my english
Click to expand...
Click to collapse
You can install a google camera port or even a magisk module called anx camera mod which ports the stock MIUI camera to aosp roms
But with magisk google pay dont work... :/
wrong !
karandras said:
But with magisk google pay dont work... :/
Click to expand...
Click to collapse
is not true, i use magisk and gpay without problems and no hide in magisk
Roms have no impact on camera quality IF the same app is used in all roms!
So no quality difference?
In xiaomi app i can switch between the 2 cameras.
In wirch other app i can do it also?
karandras said:
So no quality difference?
In xiaomi app i can switch between the 2 cameras.
In wirch other app i can do it also?
Click to expand...
Click to collapse
No quality difference
-You can use the ANX camera (magisk module, same as MIUI camera (screenshot)).
-Or you can use the GCam mod from san1ty (the telephoto one, which you can find here: https://forum.xda-developers.com/xiaomi-mi-mix-2s/themes/port-google-camera-mod-san1ty-t3924349)

MIUI stock camera app

Hi guys, can someone, why's still on MIUI extract and send me original cam apk? I've been trying to find it on Google, but no success. Thanks
If your device running custom ROM and want to use MIUI camera, then you need to flash ANX camera
ANX camera does not support poco x3 yet. Can we still flash it?
I just flashed to pixel experience. However the camera is only working like it has 1 lens. How does everyone else get their camera working in full with other roms?
Zeez Saud said:
If your device running custom ROM and want to use MIUI camera, then you need to flash ANX camera
Click to expand...
Click to collapse
the anx website is so confusing!
can you guide (link) me which addons or base link to install ??
thank you in advance
YasuHamed said:
the anx website is so confusing!
can you guide (link) me which addons or base link to install ??
thank you in advance
Click to expand...
Click to collapse
Dont worry, anx is janky. In telegram groups peeps are testing ways to fix problems. For now, 64mp doesnt work or video recording will be messedup if your phone goes into deepsleep. That is why i am stuck on miui, i use camera a lot...

Categories

Resources