The camera renames to true - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

After flashing a camera module for miui 12 from the post
https://forum.xda-developers.com/k20-pro/themes/magisk-modules-k20pro-mi9t-pro-one-t4093255
The camera stopped working so i uninstalled that module.
now my camera shows and renamed as 'true' and everytime i launch the camera app
A text showing ' true ' and camera opens
I have already backuped everthing in twrp how to restore camera only

Related

[MOD][7.0+]Google camera with HDR+

Hello Community!​
To use Google camera with HDR+ support for Lenovo P1, You can achieve it in two methods:
1) Build.prop method:
Go to build.prop and add the following line "persist.camera.HAL3.enabled=1".
OR
2) Magisk module :
Either flash through twrp or add through magisk manager. File is in Attachments.
Then install google camera app. https://androidfilehost.com/?fid=962021903579488245
​
Not working .. the apps is not work and gives (camera keeps stopping )
Not working here don't know how u got it working
Does not work
I have tried all ways but it gives camera stopped working.

Snapchat crash with magisk

Hi everyone! I have a Xiaomi Mi6(sagit) device and I have a custom ROM. I want to use magisk but I cannot because when it's installed and I want to start snapchat it crash. But it work with SuperSU but I don't like it because I use a lot of magisk module. Thanks for the help.
One more thing: I uninstalled magisk then login into snap acc and then again installed magisk. Now not crash at the camera and messages just when i look at stories.
Giton22 said:
One more thing: I uninstalled magisk then login into snap acc and then again installed magisk. Now not crash at the camera and messages just when i look at stories.
Click to expand...
Click to collapse
Probably a module incompatibility rather than a Magisk issue.
I had the same problem when i take a snap and snapchat crashed ...Found a fix
1st unistalled snapchat
2nd turned off magisk hide
3rd made superuser access to apps only
4th restarted the phone, installed snapchat and it was fixed
I'm also new to magisk with the same problem but I afraid of uninstalling and installing cuz it will likely lock me out cuz of root. Will that be the case?
Dont use magisk hide with snapchat.
Just clear snapchat data and cache and log in

Longer exposure on third party camera apps

Hello, I've enabled Camera API2 and tried to take photos with longer exposure using third party apps (FreeDcam, Footej Camera, Open Camera), yes, the stock camera can take longer exposure photos but only in jpg format and only at certain intervals (there is no 12s for example). On these other camera apps the option to take longer exposure is there, up to 32s, but selecting more than 5 seconds does nothing, the camera throws error (footej) or keeps "taking the photo" forever, tried on stock ROM and Lineage 17.0. On logcat found something related to SOF Freeze:
Code:
740 14907 E mm-camera: <MCT ><ERROR> 98: mct_bus_sof_thread_run: FATAL Session 4: SOF Freeze! Sending error message
740 14907 I mm-camera: <MCT >< INFO> 133: mct_bus_sof_thread_run: Sending HW_ERROR from MCT on session =4
740 14853 E mm-camera: <MCT ><ERROR> 817: mct_controller_send_cb: FATAL: Sending HW_Error
740 14874 E QCamera : <HAL><ERROR> camEvtHandle: 1206: Fatal, camera daemon died
Searching on internet found various threads about modified libraries to enable longer exposure and various hints: this was the first, and this other says something related to SOF timeout, but all shared the modified libraries but no the original to give an idea of what they modified and I'm totally ignorant to figure myself where to search and/or modify.
There is a ROM with support for exposure longer than 5 secs using API2? I would use it very very rarely, but if it already exists I save the time in trying to do it myself (although I doubt I can achieve it )
Thanks and sorry for my english.
Well, I've tried to see in the disassembled code of the various modded lib (particularly on the libmmcamera2_mct.so) but that's far beyond my knowledge .
But I've found a sort of workaround: FreedCam can take dng photos with longer exposure time (...,2,4,8,16 and 32 seconds) but only if API2 is disabled (no, the option of camera1 in the menu of FreedCam doesn't work if API2 is enabled, only allows jpg but no raw). Isn't necessary to disable the Camera API2 systemwide, you only needed to add the package id of FreeDcam to the camera.hal1.packagelist prop, but the property has a character limit and thus is needed to remove one of the included package ids and add FreeDcam, this is the original on /vendor/build.prop file:
Code:
camera.hal1.packagelist=com.whatsapp,com.android.camera,com.android.camera2,com.instagram.android
vendor.camera.hal1.packagelist=com.whatsapp,com.android.camera,com.android.camera2,com.instagram.android
I've removed Instagram package id because I never use it, that can be done with Magisk and its resetprop utility:
Code:
resetprop camera.hal1.packagelist com.whatsapp,com.android.camera,com.android.camera2,troop.com.freedcam
resetprop vendor.camera.hal1.packagelist com.whatsapp,com.android.camera,com.android.camera2,troop.com.freedcam
Or with a Magisk module or editing the build.prop directly.
And now FreeDcam has the option of take raw images on API1 and also can use API2 :victory:
- Obviously this means that you can take raw photos even on stock with locked bootloader using FreeDcam and Camera API1.
- To get the option to take DNG files on FreeDcam (only has RAW) is needed a dng profile. I've attached one, put on /sdcard/DCIM/FreeDcam/config/ folder.
- I've done this on AICP 14.0 (Android 9.0) and don't know if the prop camera.hal1.packagelist exists on newer versions of Android as i've read that is deprecated on Android Q.
- Still a modded lib or official support for exposure longer than 5 secs would be better, but worse is nothing.
Thanks to @pexxie for the idea in his answer.

[MOD][MODULE]Can't download DMGCAUX file

So, I downloaded and installed the latest pixel experience plus rom and it came with a "thedise" gcam. in that app it asks me to download some magisk module to change my camera lens (I have magisk installed in my device) but when I click "download module" it takes me to a website which gives me this 1000 error code. And I tried vpn it doesn't work. I copied the url and at the end it says, "dmgcaux_v1.zip". So, I need this file in order to use my 20mp(5mp) camera lens. How can I get it? Or if anyone has it, can you please provide me a working download link. (thank you)
here is the link to that "download module" site:
http://thedise.ru/dmgc/files/dmgcaux_v1.zip
ArmanAfridi said:
So, I downloaded and installed the latest pixel experience plus rom and it came with a "thedise" gcam. in that app it asks me to download some magisk module to change my camera lens (I have magisk installed in my device) but when I click "download module" it takes me to a website which gives me this 1000 error code. And I tried vpn it doesn't work. I copied the url and at the end it says, "dmgcaux_v1.zip". So, I need this file in order to use my 20mp(5mp) camera lens. How can I get it? Or if anyone has it, can you please provide me a working download link. (thank you)
here is the link to that "download module" site:
http://thedise.ru/dmgc/files/dmgcaux_v1.zip
Click to expand...
Click to collapse
same thing here, but on Paranoid Android Quartz 5 rom with my manually installed gcam.
I'm going to try this and see if it works:
AUX Cameras Enabler Module
This module, created by Arnova8G2, eng.stk, and aer0zer0, allows Google Camera to use auxiliary “Aux” cameras on phones with a multi camera setup. It should work on most phones that don’t allow access by default to wide, telephoto, etc cameras. The fix is applied with a Magisk module, so root is...
www.celsoazevedo.com
will update

How To Guide How to get Gcam working crash free (any version)

Ok so download your gcam version i used BSG final version
Install it
Open it
Press the arrow at the top and select the settings icon
Select Module Settings
Now here you will see 3 Back sections each one of these is a camera and the settings need to be change in each one to stop the crashing
so select the first one
select Camera2API hardware layer and select Level 3+
select Viewfinder Format Select Level 3 (YUV)
select Session for Photo mode select EIS v3
Repeat for each camera
Once done force close the camera app and reopen
NO MORE CRASHING!
Couldnt find
select Session for Photo mode select EIS v3
In the settings
Nightf0x_007 said:
Couldnt find
select Session for Photo mode select EIS v3
In the settings
Click to expand...
Click to collapse

Categories

Resources