Related
I have S5 KNOX 0x1 Boeffla Kernel 1.2b14 XtreStoLite 2.2 BOD3 rooted with xposed, adaway installed since begining,
but today it stopped working, updated list, enabled all, still does not work - mx player shows ads, why suddenly?
I have the same problem
Note 4 5.1.1
Enviado desde mi SM-N910U mediante Tapatalk
Check the XDA thread of AdAway and the wiki on Github (download the apk from OP if you don't use it yet).
works good here
MIUI Stock camera port for NOUGAT & OREO Roms.
Huge Thumps up for @Arnova8G2 for fixing all bugs and making this port !
BUGS :
• Everything works now for nougat !
• DOWNLOAD (Nougat Only) :
https://drive.google.com/file/d/1u3vt1l7kXSwjJy8P1lNGy5eF6OktqalJ/view?usp=drivesdk
• DOWNLOAD (Oreo Only) :
https://forum.xda-developers.com/re...iui-stock-camera-nougat-t3670993/post75411869
Instructions :
• Add the file "MiuiCameraMod_V1.3.zip" to your internal storage.
• Reboot to TWRP recovery
• Install ZIP
• Reboot to system
Uninstaller :
https://www.androidfilehost.com/?fid=746010030569947310
I got error.
Omnivison !
Sectorian said:
I got error.
Omnivison !
Click to expand...
Click to collapse
Did u enable all required permission for camera app?
Dadovvv said:
Did u enable all required permission for camera app?
Click to expand...
Click to collapse
Thanks.
Now is working.
Really close to the stock camera and hdr working.
Hoply the dev will improve it over the time.
It got really less futures.
But its what we need.
I find a bug.
Wen i start to record a video the video become dark.
Working! Thank you bro.
Kevin Saiza said:
Finally the most awaited MIUI Stock camera port has arrived for nougat devices.
I am just sharing orginal dev's work
For download go to the original thread :
https://forum.xda-developers.com/mi-5/themes/app-miui-camera-ported-xiaomi-mi-a1-t3670607
Lets discuss about bugs.
Click to expand...
Click to collapse
you edit xml file? (changed to mido from gemini?)
Port v1.1 TWRP flashable zip from 4pda
Download: https://drive.google.com/file/d/0Bx4Y-DsaLqEUSFZCelJtUm1Rb2s/view?usp=drivesdk
Doesn't work on LOS 15 (8.0) with all permission
Inviato dal mio Redmi Note 4 utilizzando Tapatalk
Working fine but no filter effect & beauty
Sent from my Redmi Note 4 using Tapatalk
Zile995 said:
Port v1.1 TWRP flashable zip from 4pda
Download: https://drive.google.com/file/d/0Bx4Y-DsaLqEUSFZCelJtUm1Rb2s/view?usp=drivesdk
Click to expand...
Click to collapse
slow motion works?
itsmedRb said:
slow motion works?
Click to expand...
Click to collapse
Yes, on LOS 14.1.
Is this better than moddet Google Camera?
Bazilli said:
Is this better than moddet Google Camera?
Click to expand...
Click to collapse
Not really, HDR is not working but videos are bright, not dark as Google camera port.
Using both, Google cam HDR+ port for pictures, mi cam for videos.
Redmi Note 4 cihazımdan Tapatalk kullanılarak gönderildi
How are the pictures when compared to stock miui camera in miui rom?
Got an error on aex with google hdr+ and preinstalled snapcam. Can't connect to camera
Sent from my Redmi Note 4 using XDA-Developers Legacy app
otti17 said:
Got an error on aex with google hdr+ and preinstalled snapcam. Can't connect to camera
Sent from my Redmi Note 4 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Enable the permissions first. Then try and see if it works.
Sent from my Redmi Note 4 using Thumbs
Ok, photo is working. But video only on front camera, back camera force close the app. Beauty filter also does not working.
Sent from my Redmi Note 4 using XDA-Developers Legacy app
otti17 said:
Ok, photo is working. But video only on front camera, back camera force close the app. Beauty filter also does not working.
Sent from my Redmi Note 4 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Video from back camera working and also its not dark too.
Beautify working. The only thing not working here is Group Selfie.
Sent from my Redmi Note 4 using Thumbs
Working on mm 6.0 LOS 13 unofficial
Thanx. Please keep it updated.
Update to latest 1.2 please
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?
Hi, here is
Camera collection v2.0: no root needed for AOSP based roms
- Mi A1 Camera
- Mi A2 Camera
- Google Camera
- Snap Camera (Lineage)
- Snap2 Camera (CyanogenMod)
NOT a exclusive Magisk version, it's system flash:
- Magisk provide portrait option on back camera (see above)
Mods by me :
-app launcher name (clear view of what camera u launch)
-app package name (avoid compatibility with another cam app like Gcam)
-authorization process (automatic without crash)
-icons
Tested on this excellent aosp based rom :
https://forum.xda-developers.com/redmi-note-5-pro/development/rom-aospextended-rom-v5-5-t3798293
it's supposed to work on many custom roms, but i can't try them all, so please report wich one u use.
If you already have Snap camera (lineage) in your custom rom do not select.
Flash with twrp (Aroma Installer)
No root users version bugs:
-MiA1 and MiA2: Portrait mode back camera not available (portrait mode works on MiA2 front camera)
Rooted users (Magisk 16) version bug :
-MiA1 portrait mode crash (but the picture is OK with blur effect)
Many options works for each camera : i just can't list all of them here ..
Credits :
ramesh1686 for MI A1 Base Camera
carlosgbb for MI A2 xml files
TadiT7 for MI A2 rom dump
cstark27 for the Google Camera
Downloads :
Installer :
http://www.mediafire.com/file/8ho8g0nvarsllnc/Whyred_Camera_2.0.zip/file
Uninstaller (Aroma):
http://www.mediafire.com/file/kcz8zpljg6003be/Whyred_Cam_Uninstaller2.0.zip/file
Thanks a ton.
Everything is working perfectly. except in "MI stock camera" where the preview is streched vertically, but the photos are good.
BTW, (a noob question) what's the difference between Gcam and aosp original cam? I can't figure why people is preferring the first one!
charafweb said:
Thanks a ton.
Everything is working perfectly. except in "MI stock camera" where the preview is streched vertically, but the photos are good.
BTW, (a noob question) what's the difference between Gcam and aosp original cam? I can't figure why people is preferring the first one!
Click to expand...
Click to collapse
Hi ,
- wich preview ? on gallery or on windows ?
- Google Cam as more options if i remember well
- what rom are you running ?
There is no option for portrait mode in mi camera
Speedo.thc said:
- wich preview ? on gallery or on windows ?
Click to expand...
Click to collapse
by preview I mean what you see before you take the photo.
Maybe because I deactivated the navbar!?
Speedo.thc said:
- what rom are you running ?
Click to expand...
Click to collapse
AOSiP 8.1
I run aosp ext, desactivate navbar , no stretch but the normal black border 18/9 to 16/9
how to uninstal?
charlonne said:
how to uninstal?
Click to expand...
Click to collapse
hi, post updated with 3 new cameras apps and : Uninstaller (aroma) , see download section.
is mi camera same as on the original thread ? or somthing changed?
lawong said:
is mi camera same as on the original thread ? or somthing changed?
Click to expand...
Click to collapse
Some changes, but same functions, I will have to edit it to bring lost features like portrait mode (if I can).
Speedo.thc said:
hi, post updated with 3 new cameras apps and : Uninstaller (aroma) , see download section.
Click to expand...
Click to collapse
thank you bro
After install it, my phone found bug in mi camera(front). When use front camera before shoot ,it show wrong ratio.
Can you help me?
Hi, new versions for unroot users, and a magisk module for rooted users, see post #01
Sent from my Redmi Note 5 Pro using XDA Labs
I'm guessing, it won't work on pie, or will it?
Tisckkytt said:
I'm guessing, it won't work on pie, or will it?
Click to expand...
Click to collapse
Hi, you can test and report, just do a backup (system+vendor+data).
Sent from my Redmi Note 5 Pro using XDA Labs
wat abt miui 10?
yaardina said:
wat abt miui 10?
Click to expand...
Click to collapse
Never tested, I don't think it can works well.
Sent from my Redmi Note 5 Pro using XDA Labs
Working on pixel experience pie?
ajul_raj said:
Working on pixel experience pie?
Click to expand...
Click to collapse
Hi, i did'nt test this right now ..
Work 1080p 60fps on miui stock?
How to install MiA2 Camera on Mia1 (Complete Guide) | UPDATED (All Error Fixed)
This is little detail guide to install Mi A2 Camera on Mi A1, I already upload a video on my YouTube channel for this guide. Here you will get a complete guide to install Mi A2 camera on Mi A1 for Rooted and Non-Rooted users.
Subscribe me on YouTube: CLICK HERE
Skip from here. Old Method.
______________________________________________________________________________
Note: Front Portrait is not working
Instruction-
You can watch my video instead of reading these long instruction: Click here or follow this instruction
Required Files-
(File is same for Magisk and TWRP)
1. MiA2 Camera: Download
2. MiA2 Ported Camera for Mi A1: Download
Read Carefully then start follow Method 1 or Method 2-
Make sure that you are not having Mi A1 Stock Camera installed on your mobile (Recommended Method: Install any custom ROM which is not having Mi A1 Stock Camera), if you have a stock camera installed then uninstall it (I tried to uninstall it with many methods but I failed to uninstall it completely), if you can uninstall it perfectly then let me know, then follow this instruction. This may not work on Mi A1 Stock ROM because Mi A1 Stock ROM has Stock Camera installed. I hope someone will port this application in a different way so we can use both (Stock camera and MiA2 camera) and also fix front portrait mode.
Steps to install MiA2 Camera-
Method 1: (Recommended Method)
[Install fresh ROM(which is not having a stock camera) before proceed]
1. Install Magisk Manager on MiA1 : Click here for magisk installation guide
2. Flash MiA2 Camera (Magisk Module) from Magisk Manager (Do not install "MiA2 Ported Camera for Mi A1" at this step)
3. Reboot mobile
4. Flash "MiA2 Ported Camera for Mi A1" (Magisk Module) from Magisk Manager
5. Reboot mobile
6. Go to camera permission and Enable all permission manually
7. That's it, if still not works then also flash camera2Api from magisk manager (File is available on Magisk Download Section)
Method 2:
1. Magisk and TWRP need to pre-installed
2. Download both the modules
3. Boot into TWRP recovery
4. Flash 'MiA2 Camera" then reboot
5. Boot again in TWRP recovery
6. Flash "MiA2 Ported Camera for Mi A1"
7. That's it reboot your mobile and enjoy. If still not works then also flash camera2Api from magisk manager (File is available on Magisk Download Section)
If your camera name is "60" : Screenshot attached
It is because you may have Mi A1 stock camera on your mobile before following this guide so If you can then uninstall your Stock Mi A1 camera then follow the same guide error should be gone. If still, its name is "60" then install fresh ROM (which is not having Mi A1 Dual Camera on it) and try again it will work (100% Guarantee:laugh.
[Someone please port this to work on Stock ROM/With Stock Camera]
______________________________________________________________________________
NEW METHOD (All Error Fixed, Works with Stock ROM / Stock Camera)
Note: Credit goes to the original developer. I just came to know about magisk modules, I learned about it and I found some bugs with the previous method/modules so I made some changes with the modules (lines of code) and here it is.
If you subscribe then it will motivate me: SUBSCRIBE
What's new-
1. Works with STOCK ROM/STOCK Camera
2. Camera version 1.0
Downloads-
I. MiA2Cam-v10 For MiA1 By Dipesh Pal : Download
II. Camera_A2_Experimental2_By Dipesh_Pal_270718142309: Download
New Instructions-
You can watch my video instead of following this long instruction: Click Here
(Your device needs to be Rooted and TWRP installed)
1. Download the above files
2. Flash "MiA2Cam-v10 For MiA1 By Dipesh Pal" from magisk
3. Reboot device
4. Boot into TWRP
5. Install "MiA2Cam-v10 For MiA1 By Dipesh Pal" from TWRP
6. Reboot device
7. Flash "Camera_A2_Experimental2_By Dipesh_Pal_270718142309"
8. Reboot [Try again (Hold power button to boot again) if stuck on bootloop]
9. That's it, enjoy.
FAQ's-
1. Does it work on stock ROM?
Ans: Yes, follow NEW GUIDE/METHOD
2. What is "60" in above post?
Ans: It is just a name of Mi A2 camera but if you are getting "60", it means it will not work for you. Camera name should be "Camera".
3. Which ROM did I use for this?
Ans: Pixel Experience
4. Recommend method
Ans: NEW METHOD
5. Anything else?
Ans: Ask me on YouTube or comment here
Could you elaborate on how this is ported? I mean I understand the first zip is from this thread ,right?
What is the second one and why couldn't it be one module?
Error As You Are Saying.
I'm on Android P GSI DP5 I flashed Both Module Then Restart But Going In Bootloop And I Restarted Again But There Is No A2 Cam Shows This Error Msg When Open Gcam.
Olystem said:
Error As You Are Saying.
I'm on Android P GSI DP5 I flashed Both Module Then Restart But Going In Bootloop And I Restarted Again But There Is No A2 Cam Shows This Error Msg When Open Gcam.
Click to expand...
Click to collapse
Exactly same for me, before start guide i delete stock cam with titanium backup but error continue.
Enviado desde mi Mi A1 mediante Tapatalk
burst mode crashes the app? awesome this camera,thank you for this and please fix that?
---------- Post added at 12:15 AM ---------- Previous post was at 12:12 AM ----------
Tyrannis78 said:
Exactly same for me, before start guide i delete stock cam with titanium backup but error continue.
Enviado desde mi Mi A1 mediante Tapatalk
Click to expand...
Click to collapse
what rom you use
Same Olystem, android P for mi a1.
[email protected] said:
burst mode crashes the app? awesome this camera,thank you for this and please fix that?
---------- Post added at 12:15 AM ---------- Previous post was at 12:12 AM ----------
what rom you use
Click to expand...
Click to collapse
Enviado desde mi Mi A1 mediante Tapatalk
Tyrannis78 said:
Same Olystem, P for mi a1.
Enviado desde mi Mi A1 mediante Tapatalk
Click to expand...
Click to collapse
maybe not support android p and on the treble pixel experience ROM how many features do not work like hdr mode, panorama mode, portrait mode on the front camera, but all those features work when not using a treble rom except burst mode does not work
[email protected] said:
maybe not support android p and on the treble pixel experience ROM how many features do not work like hdr mode, panorama mode, portrait mode on the front camera, but all those features work when not using a treble rom except burst mode does not work
Click to expand...
Click to collapse
Good know it, i wait more tests.
Enviado desde mi Mi A1 mediante Tapatalk
Edit: Mistake
In stock rom 8.1 it doesn't work
Always "app 60 stop. "
can u work for it for stock rom?
Olystem said:
Error As You Are Saying.
I'm on Android P GSI DP5 I flashed Both Module Then Restart But Going In Bootloop And I Restarted Again But There Is No A2 Cam Shows This Error Msg When Open Gcam.
Click to expand...
Click to collapse
Same here
alester2801 said:
In stock rom 8.1 it doesn't work
Always "app 60 stop. "
can u work for it for stock rom?
Click to expand...
Click to collapse
same here 2h
Work on custom rom ???
Wow thanks for this. But i will wait for it when its finally ported on stock rom together with stock camera app.
cahyo_diegol said:
Work on custom rom ???
Click to expand...
Click to collapse
Works on PE
Blacklistest said:
Works on PE
Click to expand...
Click to collapse
For AOSP Extended ????
Mi A2 Camera Port working on Mi A1
everything working good except front portrait
thanks
pvasantharao said:
everything working good except front portrait
thanks
Click to expand...
Click to collapse
burst mode not working bro
Olystem said:
Error As You Are Saying.
I'm on Android P GSI DP5 I flashed Both Module Then Restart But Going In Bootloop And I Restarted Again But There Is No A2 Cam Shows This Error Msg When Open Gcam.
Click to expand...
Click to collapse
Which method did you try?
Try method 1
michkost858 said:
Could you elaborate on how this is ported? I mean I understand the first zip is from this thread ,right?
What is the second one and why couldn't it be one module?
Click to expand...
Click to collapse
The first module is the same as your thread and the second module is ported module which makes it work on MiA1. And I if know how to create magisk modules then I would like to fix all errors or problem. But I don't know how to do this. If someone knows then please help.