cannot connect camera after latest AEX 03-08-2017 IPDATE - Lenovo ZUK Z2 (Plus) Questions & Answers

Cannot connect or take pictures after updating ROM to latest version of aex

Hi! Are you using the stock kernel or another one?

Check permission for camera app.

Try restarting phone

I had the same problem. The camera no longer works in AEX with custom kernels, so i've ditched that ROM and switched to crDroid for the moment. Much better!

Related

[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

Need Recommendation for H811

Hi,
I need your suggestions which ROM to flash to my LG G4 H811.
I flashed LineageOS 14.1 latest build with twrp-3.0.2-0-h811, but I couldn't use any camera apps (I tried google camera, google photo, cameraMX etc, none of them work). I always get "Camera has stopped". I saw someone has similar issue. However, most users with this room can get camera work but with minor issues.
The stock ROM camera works fine, but I really need third-party ROM to get multiple users feature.
Can anyone recommend a ROM that camera at least work (no need to be as good as stock) but with multiple users feature?
For example, stock ROM with multiple user enabled?
Thank you for your advice!
Issue resolved by reflash 20p stock KDZ and then LineageOS 14.1 again. Everything works fine but don't why.
wrong forum

HELP

Members please help me!!!!!!!!!......I have Samsung Grand Dous GT-I9082 ,I tried many roms ressurection remix,glade viper every time i installed whatsapp causing reboot again again any solution??????
faiz12 said:
Members please help me!!!!!!!!!......I have Samsung Grand Dous GT-I9082 ,I tried many roms ressurection remix,glade viper every time i installed whatsapp causing reboot again again any solution??????
Click to expand...
Click to collapse
the error occurs because of a cyanogenmod patch that has not yet been fixed in ROMs with Android 6.0, whenever an application is installed it goes into bootloping, wait until the rom developer fixes the patch or migrates to a more upgraded Android, or use a rom 6.0 that is not based on cyanagenmod.
Leonardoliveira said:
the error occurs because of a cyanogenmod patch that has not yet been fixed in ROMs with Android 6.0, whenever an application is installed it goes into bootloping, wait until the rom developer fixes the patch or migrates to a more upgraded Android, or use a rom 6.0 that is not based on cyanagenmod.
Click to expand...
Click to collapse
(Fortaleza, CE) Thanks friend ...i want explain some points that i installed RR 6.0.1 and open pico Gapps , Viper os 7.1 and open Gapps and Glade rom like that. Before i am using Ressurection marshmallow 6.0 the problem not occur but now i am facing this issue in Ressurection and every rom. I appreciate your help again thanks.
faiz12 said:
(Fortaleza, CE) Thanks friend ...i want explain some points that i installed RR 6.0.1 and open pico Gapps , Viper os 7.1 and open Gapps and Glade rom like that. Before i am using Ressurection marshmallow 6.0 the problem not occur but now i am facing this issue in Ressurection and every rom. I appreciate your help again thanks.
Click to expand...
Click to collapse
Buddy lets start from starting
First flash stock rom through odin
Then recovery CWM then Philz recovery
Then flash VIPER OS 7.1.2 LOOK IN DEV AREA OF THIS THREAD ITS A POST BY ME AND ITS VERY STABLE
and also respective gapps (pico)
Then step your rom like wise and must install (drive and gmail) from playstore
Install whatsapp and if u can restore backup of chats (some times due to any custom rom whatsapp backup shows its restoring but dosent restore in that case close the app from recent (make sure there is no notification of whatsaap) and again open it
It will restore
AND ALSO USE DIFF. BOOTANIMATION WATCH DOG ITS AWSOME LOOK IN THEME THREAD

Any OREO non-OxygenOS-based ROM supporting Oneplus Camera?

Hi, does anyone know if there is any OREO 8.1 ROM that would support / could run OxygenOS stock camera?
The ROM should also fulfill these requirements:
non-OxygenOS based
still maintained, that is no EOL/Discontinued and so on
I have used Resurrection Remix [6.2.1][UNOFFICIAL] by @8224Freak which had this functionality. However, the ROM was lately discontinued, and I was contemplating changing the ROM anyway since there were some Bluetooth issues in last updates.
As far as I know, I cannot just download OxygenOS Camera app from APKMirror, install it to any custom ROM and expect it work.
I would prefer OREO-based ROM since I prefer stability over fancy new features, and since there is no official Pie ROM yet, I guess the Pie ROMs are not as stable as OREO.
Thanks a lot for your tips.
Just a tip, as I don't really know of any rom as per your wish,
Give a try to havoc OS which is pie based. Quit stable and smooth except few display glitches & sensitive long press .
This ROM provides link to download OP camera, which I have never used. I am happy with GCAM
OK, thanks for the tip. It seems that your suggestion is in accord what I have found until now. I could not find any other ROM except for the Havoc OS you have mentioned. I am also satisfied with GCAM except for 60fps videos - the videos often do not have 60fps (sometimes they drop just to 21-22fps). It seems that best and the most stable results I always had with original OxygenOS camera - the videos made by this camera were always very smooth - no stuttering or dropping frames whatsover.

Camera STOCK for custom ROM (Portrait mode work)

Friends we can finally use dual camera in any custom rom.
Install using Magisk.
If it does not work at the first attempt it is recommended to return to the stock rom and then install the custom rom.
That way everything will work without problem.
Venezolano desde Argentina.
Hmmm... Portrait mode on rear camera not working... It fc app.. Aosip
Works
I am on RR
adag1 said:
Hmmm... Portrait mode on rear camera not working... It fc app.. Aosip
Click to expand...
Click to collapse
Work on PE and EvolutionX
Portrait mode no work in RR
Force Close
leechgid said:
Portrait mode no work in RR
Force Close
Click to expand...
Click to collapse
Strange. I am on the latest build, with DragonHeart Kernel. All seems to work fine.
Portrait mode no work in Bootleggers 4.2
Force Close
Does this cam crashes frequently? I know cameras have been always the most difficult part o custom roms, I am still on stock only for the camera, other roms I tried (with a mi a1, to be honest) crashed when I need to take a quick picture... Also tried the GCam, it has better quality but it was worse at the end, it broke the whatsapp camera taking green pictures and random crashes were common. I would really like to install RR or any other rom, but the camera is dragging me back.
I wish there would be a debloated stock rom (no GAPS and the few xiaomi extras) just for keeping the camera working normally, but noone has done it (and I am far for been able to )
DARKEASC said:
Does this cam crashes frequently? I know cameras have been always the most difficult part o custom roms, I am still on stock only for the camera, other roms I tried (with a mi a1, to be honest) crashed when I need to take a quick picture... Also tried the GCam, it has better quality but it was worse at the end, it broke the whatsapp camera taking green pictures and random crashes were common. I would really like to install RR or any other rom, but the camera is dragging me back.
I wish there would be a debloated stock rom (no GAPS and the few xiaomi extras) just for keeping the camera working normally, but noone has done it (and I am far for been able to )
Click to expand...
Click to collapse
I get green tinted photos when I zoom in this camera app. Otherwise, I encounter no crashes or other problems.
Fix for the color bug:
Set the HDR mode to "live".
Portrait Mode is absent on AOSiP ROM
Portrait mode does not work on back camera.
Front camera has color bug. But, if hdr turn on or in portrait mode it works fine.
On superior OS
I got bootloop after flash this module in magisk 19.4 on (AEX) AOSP Extended v6.7 Is working only on LineageOS based roms?
lars00 said:
I got bootloop after flash this module in magisk 19.4 on (AEX) AOSP Extended v6.7 Is working only on LineageOS based roms?
Click to expand...
Click to collapse
Miui camera works with almost every custom rom : Superior , crdroid , POSP , RR (I've tested on them )
Portrait mode crashing with back camera is fixable , you'll need some file explorer with root permissions . The problem is with vendor mismatch , and you'll need to make some changes , here is the walkthrough:
How to solve vendor mismatch bug:
Find string ro.vendor.build.fingerprint in the file /vendor/build.prop, copy the value from it and replace this value to ro.build.fingerprint in the file /system/build.prop ,reboot and portrait mode has to be working , it works for me all the time
Unfortunately I don't know where is the problem. After install this module and restart device, then stuck on AEX boot animation. After uninstall module in Magisk Mnanager 4 Recovery boots again normally For me also not working MI A2 camera port in generic Magisk modules, respectively not all functions, no live image filters, crashing etc. Can't it cause the custom Vendor of AEX rom?
Base lineageos.snap camera and GCam 6.2.030 works fine. I use both of them, it is not the conflict in there?
Thank you for your tips...
lars00 said:
Unfortunately I don't know where is the problem. After install this module and restart device, then stuck on AEX boot animation. After uninstall module in Magisk Mnanager 4 Recovery boots again normally For me also not working MI A2 camera port in generic Magisk modules, respectively not all functions, no live image filters, crashing etc. Can't it cause the custom Vendor of AEX rom?
Base lineageos.snap camera and GCam 6.2.030 works fine. I use both of them, it is not the conflict in there?
Thank you for your tips...
Click to expand...
Click to collapse
Try using this magisk module:
https://drive.google.com/file/d/1po2DDLUifIEJe_zMJvpVXuWch8jffZzw/view?usp=drivesdk
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
nikoman1987 said:
Try using this magisk module:
.......
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
Click to expand...
Click to collapse
This link doesn't contain any magisk zip module, this is nova launcher backup file(?). I'm using Lawnchair on Aex.
I have all Magisk modules unistalled before flash MiuiCamera.zip of course, but stuck on AEX screen persist.
I have tried more versions of miui camera, but no satisfying success.
nikoman1987 said:
Try using this magisk module:
https://drive.google.com/file/d/1aSX4odE5fAqtl4ImEwRrDxdkWuABbX_J/view?usp=drivesdk
This is stock Daisy camera ,uninstall miui camera from magisk ,then install this zip,reboot and try again
Click to expand...
Click to collapse
wrong link bro
lars00 said:
This link doesn't contain any magisk zip module, this is nova launcher backup file(?). I'm using Lawnchair on Aex.
I have all Magisk modules unistalled before flash MiuiCamera.zip of course, but stuck on AEX screen persist.
I have tried more versions of miui camera, but no satisfying success.
Click to expand...
Click to collapse
Sorry , copied the wrong link , the link is fixed now
can this work on 10 GSI maybe? i would rather not bootloop

Categories

Resources