Q: Porting stock camera to cm12 - Droid RAZR M Themes and Apps

Does anyone know how to port stock camera in cm12?

Stock camera partially works on CM12, as on CM11 kkbl. Everything works, but when you exit the app, you have to kill it before you use it again.

Klen2 said:
Stock camera partially works on CM12, as on CM11 kkbl. Everything works, but when you exit the app, you have to kill it before you use it again.
Click to expand...
Click to collapse
Where i can download this stock camera?

https://app.box.com/s/81cv354bkqv1ugzg8dqa

Thanks

Related

[Q] JB 4.3.1 - Camera broke

First off, does apps like Instagram use the camera app?
After updating to 4.3.1 (didn't do a wipe) I've had som issues with the camera, the rear camera does not work at all.
Links2004 said:
I got it too.
in the update file a some changes at:
keymaster / keystore
camera firmware
framework
services and telephony-common
what exactly has changed I do not know.
root + recovery need to be flashed again. but no problems.
Click to expand...
Click to collapse
HERE
That means I need a new camera app, right? The front facing camera works.
So the camera worked before with the same app? I would download some other ones to test it out. I also recommend a WIPE after doing the update.

Oppo n1 working with 5.1 cm12.1 temasek v10.2 21april15 release

Oppo n1 working with 5.1 cm12.1 temasek v10.2 21april15 release
i tried on my oppo n1,
i got it flash from the program called shua ji jing ling aka flash rom genie (most prolly a china based)
this is a potential for all n1 user to try the 5.1
the hiccups i faced so far
-the googleplay store is not inside, i still trying to get it to work
- the default camera apps can take one picture after that the shutter wont move the second one, im using the open camera for camera
- so far so good for the rest, will try to report back if i face any more problems or headaches
I didn't like this ROM. Simply because automatic rotation refused to work.
Alternatively, use Mokee, from www.mokeedev.com
Available for 4.4, 5.0, and 5.1. No major flaws with Mokee apart from the occasional camera problem. Comes with an OTA update app as well, which makes it a lot easier.
Just install Minimal Gapps over the top and everything is good.
thank u omicron
Will try when I have time n proper connection to dl
By the way, Xposed for 5.1 works pretty well with this, HOWEVER; It is NOT recommended to be installed.
With Xposed installed, you CANNOT update this ROM with the built in update functions. You have to download the full ROM and do a full wipe. Not an issue, if you don't mind doing it, but it does get irritating after doing it so many times.
two great and stable 5.1.1 rom for N1
http://roms.blog.163.com/blog/static/206853126201551910495986/
http://roms.blog.163.com/blog/static/2068531262015421093236/
IAmOmicron said:
I didn't like this ROM. Simply because automatic rotation refused to work.
Alternatively, use Mokee, from www.mokeedev.com
Available for 4.4, 5.0, and 5.1. No major flaws with Mokee apart from the occasional camera problem. Comes with an OTA update app as well, which makes it a lot easier.
Just install Minimal Gapps over the top and everything is good.
Click to expand...
Click to collapse
why does not work for rotation?because you base rom is not Coloros2.0,please flash the full coloros2.o before you flash other roms,and wipe before flash
[email protected] said:
why does not work for rotation?because you base rom is not Coloros2.0,please flash the full coloros2.o before you flash other roms,and wipe before flash
Click to expand...
Click to collapse
I always do a full wipe before flashing a ROM. I tried most of your ports, but unfortunately the rotation didn't work. Good work with them, though, they are very high quality. I'll give them a go again.
Are you saying I need to flash a ColorOS ROM?
IAmOmicron said:
I always do a full wipe before flashing a ROM. I tried most of your ports, but unfortunately the rotation didn't work. Good work with them, though, they are very high quality. I'll give them a go again.
Are you saying I need to flash a ColorOS ROM?
Click to expand...
Click to collapse
Please flash Coloros2.0 first and then wipe,after do this,flash my rom,and rotation works fine
[email protected] said:
Please flash Coloros2.0 first and then wipe,after do this,flash my rom,and rotation works fine
Click to expand...
Click to collapse
Ok thanks. Why is this though? Is it due to firmware?
What about the battery life? I tried it one month ago and the N1 seldom reached the night with a normal usage
[email protected] said:
Please flash Coloros2.0 first and then wipe,after do this,flash my rom,and rotation works fine
Click to expand...
Click to collapse
Could you give me a link to a ColorOS 2.0 ROM? I can't find one.
IAmOmicron said:
Alternatively, use Mokee, from www.mokeedev.com
Click to expand...
Click to collapse
I have to thank you so so much that you mentioned MoKee here! I never heard about that rom and they are simply awsome
if you use an N1 too, you should check out me post here:
[ROM][ 5.1.1 ][OFFICIAL ; STABLE & NIGHTLIES][N1] MoKee OpenSource Project
IAmOmicron said:
Could you give me a link to a ColorOS 2.0 ROM? I can't find one.
Click to expand...
Click to collapse
I am not sure, because I can not speak chinese so try it out: http://bbs.coloros.com/forum.php?mod=phones&code=rom&pid=29
Anybody have MoKee 5.1.1 rom ?
enriqueyang said:
Oppo n1 working with 5.1 cm12.1 temasek v10.2 21april15 release
i tried on my oppo n1,
i got it flash from the program called shua ji jing ling aka flash rom genie (most prolly a china based)
this is a potential for all n1 user to try the 5.1
the hiccups i faced so far
-the googleplay store is not inside, i still trying to get it to work
- the default camera apps can take one picture after that the shutter wont move the second one, im using the open camera for camera
- so far so good for the rest, will try to report back if i face any more problems or headaches
Click to expand...
Click to collapse
I cant find the rom anymore

[APP] Camera HAL Switcher

Hey guys!
I'm learning Android app development and decided to put the skills I learnt to some use, so here it is-
This app is for people like me who prefer the higher exposure time of the Stock HAL in low light (brighter and less noisy photos), but at the same time want to use all the features of Sultan's HAL like 4K video, etc.
It can also be used if you want to compare the two HALs or decide to revert to Stock in the future (no need to dirty flash your ROM now!).
Features:
Switch between Stock and Sultan's HAL on the fly (no reboot required!)
Backup and restore Stock HAL files (no need of a revert zip now)
Launch your default Camera from within the app
Should work on all ROMs 5.1.1 and above (EDIT: It doesn't seem to be working on OOS. Will try to fix it in the near future).
Will even work when Sultan updates his HAL
WARNING: This app is designed to run only on a rooted OPX running Android 5.1.1 and above. It might break your camera if used on any other phone!
Installation Instructions:
Install the APK file
Dirty flash your current ROM (only if you have already flashed Sultan's HAL)
Press the Backup button in the app (Status should say "Not Installed" at this time)
Flash Sultan's HAL zip from recovery
Usage:
If you're performing a clean ROM install in the future, be sure to hit the backup button within the app before flashing Sultan's HAL.
If Sultan releases an update to his HAL, be sure to switch to his HAL from within the app before flashing the updated zip.
If for whatever reason you encounter any issues, dirty flash your ROM and follow the Installation instructions again. This should fix them.
Credits:
@Sultanxda for his awesome HAL!
Note: Neither Stock HAL files nor Sultan's HAL files are included in this app
Any bug fixes, feature requests and reviews are always welcome (I'll be working on it only when I have free time).
Finally, it goes without saying- I'm not responsible for any damage whatsoever caused to your device by using this app!
XDA:DevDB Information
Camera HAL Switcher, App for the OnePlus X
Contributors
ashwinpilgaonkar
Source Code: https://github.com/ashwinpilgaonkar/CamHALChanger
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-05-25
Created 2016-05-25
Last Updated 2016-05-25
XDA:DevDB Information
Camera HAL Switcher, Device Specific App for the OnePlus X
Contributors
ashwinpilgaonkar
Version Information
Status: Stable
Created 2016-05-25
Last Updated 2016-08-17
Changelog:
26th May, 2016 (v1.0)
- Initial Build
28th May, 2016 (v1.01)
- Fixed issue in which camera was broken after switching to Stock HAL.
OMG awesome mate!!
But where's the link??
animesh1558 said:
OMG awesome mate!!
But where's the link??
Click to expand...
Click to collapse
Downloads tab at the top of OP.
Really great work @ashwinpilgaonkar This will come in handy to a vast majority of people !
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Wht if im usimg sultanrom?
WOW
nice idea.
Love it!
LolHacker17 said:
Wht if im usimg sultanrom?
Click to expand...
Click to collapse
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
mindphuq said:
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Click to expand...
Click to collapse
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
where does it backup stock camera hal to?
jgcmurray said:
where does it backup stock camera hal to?
Click to expand...
Click to collapse
It creates a copy with the extension of .stock in the same directory where it is originally located.
ashwinpilgaonkar said:
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
Click to expand...
Click to collapse
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
mindphuq said:
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
Click to expand...
Click to collapse
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
ashwinpilgaonkar said:
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
Click to expand...
Click to collapse
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Matthius said:
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Click to expand...
Click to collapse
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Mindphuq said:
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Click to expand...
Click to collapse
Yeah my recorder stops too. Here's error though after applying https://youtu.be/ivviaicSa4I
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Kéno40 said:
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Click to expand...
Click to collapse
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Doesn't work with clearing app data for me aswell.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Root ok on your app?
Kéno40 said:
Root ok on your app?
Click to expand...
Click to collapse
What do you mean?
Nothing on the app seems to indicate if root access is okay.
Sent from Tapatalk on the OPX

[MIUI Camera][ANXCamera][48MP Fixed][Working][Custom roms]

MIUI camera for all custom roms.
Uninstall all camera mods and patches
AXN Camera v94 modded
1-portrait mode fixed.
2-48mp fixed
Download-https://drive.google.com/file/d/15-czv6xrbp0-DJjyjGgZQeLVdfsqJfKO/view?usp=sharing
All credit goes to #AEonAX for his ANXcamera port and Me
Try it and report me back what is working and what is not.
Tested on Mokee latest 201906190631 nightly rom .
Every thing is working perfectly
Tested it. The camera works fine, the 48MP options working good. But always crashed on potrait mode camera.
IMHO, gcam had a better picture quality.
This mod replaces the default camera apps on installed. It means, your default camera apps will gone after flash this mod.
Any way to recover it?
Thanks anyway.
Good job devs.
Testing on PE Rom CAF Edition latest build.
psychoelmo said:
Tested it. The camera works fine, the 48MP options working good. But always crashed on potrait mode camera.
IMHO, gcam had a better picture quality.
This mod replaces the default camera apps on installed. It means, your default camera apps will gone after flash this mod.
Any way to recover it?
Thanks anyway.
Good job devs.
Testing on PE Rom CAF Edition latest build.
Click to expand...
Click to collapse
Only portrait mode is not working??
Is portrait mode working on 112 original version?? from anx??
Can u mention any other anx camera version in which portrait mode is working on your lavender?? Then I can make that version stable with 48Mp mod.
ARNOB XENON said:
Only portrait mode is not working??
Is portrait mode working on 112 original version?? from anx??
Can u mention any other anx camera version in which portrait mode is working on your lavender?? Then I can make that version stable with 48Mp mod.
Click to expand...
Click to collapse
Yeah, for me the potrait mode made the apps crashed and when I open the camera again, it stays on potrait mode. So I can barely open the apps, the only way to recover it just with clear the storage of the apps. So the camera restarting the state, just like when opened for the first time.
ARNOB XENON said:
Is portrait mode working on 112 original version?? from anx??
Can u mention any other anx camera version in which portrait mode is working on your lavender??
Click to expand...
Click to collapse
Idk, never tried ported anx camera before. This was my first time.
Maybe you can provide the link for other version of this ported apps for lavender? I can try if I know where to download the files.
psychoelmo said:
Yeah, for me the potrait mode made the apps crashed and when I open the camera again, it stays on potrait mode. So I can barely open the apps, the only way to recover it just with clear the storage of the apps. So the camera restarting the state, just like when opened for the first time.
Idk, never tried ported anx camera before. This was my first time.
Maybe you can provide the link for other version of this ported apps for lavender? I can try if I know where to download the files.
Click to expand...
Click to collapse
https://github.com/XEonAX/ANXCamera/releases/
try the lower versions and let me know
ARNOB XENON said:
https://github.com/XEonAX/ANXCamera/releases/
try the lower versions and let me know
Click to expand...
Click to collapse
Tried every lower version till v100
V98 cannot even open in photo mode.
So I'm guessing lower than that will not work anymore.
Every version till v100, none of them works in potrait mode.
The rom still on PE ROM CAF editions.
I flashed it in my Redmi note 7 Indian version and it broke everything the anxCamera says can't connect to the camera. GCam is crashing and WhatsApp is crashing while opening camera.
I'm on PE ROM caf edition.
AsifKhan22 said:
I flashed it in my Redmi note 7 Indian version and it broke everything the anxCamera says can't connect to the camera. GCam is crashing and WhatsApp is crashing while opening camera.
I'm on PE ROM caf edition.
Click to expand...
Click to collapse
Reflash the zip in twrp, it will uninstall the anxCamera.
psychoelmo said:
Reflash the zip in twrp, it will uninstall the anxCamera.
Click to expand...
Click to collapse
Reflashing the zip uninstalled the camera but gcam and other camera apps still didn't work. I had to reflash the ROM to make it work again.
psychoelmo said:
Tried every lower version till v100
V98 cannot even open in photo mode.
So I'm guessing lower than that will not work anymore.
Every version till v100, none of them works in potrait mode.
The rom still on PE ROM CAF editions.
Click to expand...
Click to collapse
please change the rom and try something else like other caf based roms.And see if it works or not because in our violet some the people stated that they are having same portrait mode bug but after switching 1/2 roms they found everything working.I don't have lavender so u need to test. And portrait mode bug is reported on the official Camera mod too.So if they fix portrait mode u will have fully bugless camera app from me .
AsifKhan22 said:
Reflashing the zip uninstalled the camera but gcam and other camera apps still didn't work. I had to reflash the ROM to make it work again.
Click to expand...
Click to collapse
Same here, Lavender with Havoc OS 2.6. Installed everything (camera related) crashed, uninstalled, still nothing works. Even the stock camera app stops working.
Please check it, or put a warning in the first post.
papp0us said:
Same here, Lavender with Havoc OS 2.6. Installed everything (camera related) crashed, uninstalled, still nothing works. Even the stock camera app stops working.
Please check it, or put a warning in the first post.
Click to expand...
Click to collapse
The post is updated try out the official one.
Note- It will never work on havoc and OOS try some other caf based rom
ARNOB XENON said:
The post is updated try out the official one.
Note- It will never work on havoc and OOS try some other caf based rom
Click to expand...
Click to collapse
Well not working is one thing, creating problems is another
Thanks for mentioning though, too bad it looked great.
papp0us said:
Well not working is one thing, creating problems is another
Thanks for mentioning though, too bad it looked great.
Click to expand...
Click to collapse
Use v115 and use this patch uninstall previous patch before flashing this https://drive.google.com/file/d/1c5t-rlIZN8j3D2wPv5aoVzfFkKmJc3kr/view
And report me back
AXN Camera Official 115
Download-https://github.com/XEonAX/ANXCamera/releases/download/115.singularity/ANXCameraUnity_115.BlissfulHeftyLion.zip
Patch link-https://drive.google.com/file/d/1c5t-rlIZN8j3D2wPv5aoVzfFkKmJc3kr/view?usp=sharing
At 1st flash the camera then reboot then flash the 48mp patch fix.
Do not flash the 48Mp patch from Github
All users please try this one with new patch
I'm using V83 and it so good to work. No problem with Gcam & other. But when i use v111 - 114 it crash all. No Camera can working, Anx & Gcam. So i uninstall it and Gcam working good again. Hope v115 so good than.
Can i flash v115 on v83 or uninstall 83 before install v115
V115: Portrait make app error. Come back v83 is the good idea !
v115 works fine except for portrait mode where the app crashes. Also shooting in 48mp mode only gives 12mp images.
can anyone test 4k eis?
BabyRed2234 said:
V115: Portrait make app error. Come back v83 is the good idea !
Click to expand...
Click to collapse
V115 with patch?? Installed

List of ROMS where camera works flawless?

Please list all ROMs other than stock where camera works out of the box flawless without the need to install magisk or stuff like that. Also other apps like the moto cam or gcam should work well too. Thanks.
unapregunta said:
Please list all ROMs other than stock where camera works out of the box flawless without the need to install magisk or stuff like that. Also other apps like the moto cam or gcam should work well too. Thanks.
Click to expand...
Click to collapse
Anything based on nougat/oreo eg lineage 14.1

Categories

Resources