Google Camera mods doesn't work on Xperia XZ1 and here's why - Sony Xperia XZ1 Guides, News, & Discussion

If you looking for a google camera mod for XZ1 and whatever you already downloaded is crashing while opening the app (except the apks that hasn't HDR+ feature) and you want this gcam so bad that thinking about opening your bootloader and rooting your phone just for that feature don't do it (againg if you rooting just for gcam).
First of all the reason that gcam not working because in your device Camera 2 API isn't enabled so if you made a little research you know that you can enable that with just unlocking your bootloader but here is the catch if you already unlock the bootloader even rooted your phone and you still can't enable Camera 2 API that's because SONY doesn't want you to enable. Now I'm going to talk what I already tried. (If you know how please kindly explain it in the mentions)
DAY 1(Bootloader locked - Non rooted)
Making research from various sites for just getting information about camera 2 api
After research backing up my phone several times with companion app
Looking for tutorials to enable without rooting and unlocking the bootloader
DAY2(Bootloader unlocked - Non rooted)
After realizing that you can't do anything without unlocking your bootloader prepared for unlocking (By the way you need to get a unlocking key from Sony's website with your IMEI)
After unlocking bootloader trying adb shell and fastboot commands I couldn't able to enable then searched for solutions in fastboot mode booting on custom recovery (in my case TWRP) try to flash it and running adb shell commands it didn't enable. (The main problem is I couldn't get RAW checked from camera probe app and gcam needs it for processing.)
DAY3(Bootloader unlocked - Rooted)
I rooted with magisk but with TWRP i didn't use the install section because I couldn't able to find the .zip file so I used the adb sideload thing. After downloading the magisk manager app and access to root I've tried using build.prop, terminal both phone and computer, magisk modules and adb sideload to flash .zip files for enabling camera 2 API (that gave me error while doing) but whatever I've tried to do didn't work out for me.
For who are wanting gcam to work in your Xperia XZ1 for my case and research I couldn't able to enable Camera 2 API and couldn't find a way to enable I think Sony needs to give us RAW processing option. All in all rooting your XZ1 not that bad idea after all because I don't think Sony give this lineup an another android update (Android Q). If you have any questions about the process don't hesitate to ask. Take care of yourselves and be aware of what you're doing with your lifes and your devices.

I think RAW capture is supported on the official AOSP builds. So ,theoretically, Camera2 api should work on the official AOSP.

Suggest rom with working gcam and gcam link

Generic123. said:
I think RAW capture is supported on the official AOSP builds. So ,theoretically, Camera2 api should work on the official AOSP.
Click to expand...
Click to collapse
Before and after root when I looked for camera probe app I couldn't able to check RAW and some other white balance settings XZ1's camera capable to provide most of the Camera 2 API's needings out of the box but if you've any way to enable raw image processing I genuinely want to know how. Thanks for your reply by the way.

deniz_nam said:
Before and after root when I looked for camera probe app I couldn't able to check RAW and some other white balance settings XZ1's camera capable to provide most of the Camera 2 API's needings out of the box but if you've any way to enable raw image processing I genuinely want to know how. Thanks for your reply by the way.
Click to expand...
Click to collapse
Check this and this. These are both AOSP ROMs, which I've heard have full Camera 2 api support(including RAW). Unfortunately, neither are even remotely stable enough for daily use, so it's not really worth it. Besides, the forums seem to show that google cam doesn't work too well(although no photos, so it may be a subjective thing). That's honestly all I know about this kind of stuff; if you want a decent camera experience on a custom ROM, you might want to try LineageOS; the stock camera was ported and works for the most part(except 4K recording, which I heard was fixed in the next version). Other than that, I have no other idea on how to get RAW support on stock firmware, sorry.

Generic123. said:
I think RAW capture is supported on the official AOSP builds. So ,theoretically, Camera2 api should work on the official AOSP.
Click to expand...
Click to collapse
what about this link : https://androidfilehost.com/?fid=6006931924117914458. by SonyAOSP Team are they stable builds and how to flash them? they are updated evey month and have the latest security patch as i think

deniz_nam said:
If you looking for a google camera mod for XZ1 and whatever you already downloaded is crashing while opening the app (except the apks that hasn't HDR+ feature) and you want this gcam so bad that thinking about opening your bootloader and rooting your phone just for that feature don't do it (againg if you rooting just for gcam).
First of all the reason that gcam not working because in your device Camera 2 API isn't enabled so if you made a little research you know that you can enable that with just unlocking your bootloader but here is the catch if you already unlock the bootloader even rooted your phone and you still can't enable Camera 2 API that's because SONY doesn't want you to enable. Now I'm going to talk what I already tried. (If you know how please kindly explain it in the mentions)
DAY 1(Bootloader locked - Non rooted)
Making research from various sites for just getting information about camera 2 api
After research backing up my phone several times with companion app
Looking for tutorials to enable without rooting and unlocking the bootloader
DAY2(Bootloader unlocked - Non rooted)
After realizing that you can't do anything without unlocking your bootloader prepared for unlocking (By the way you need to get a unlocking key from Sony's website with your IMEI)
After unlocking bootloader trying adb shell and fastboot commands I couldn't able to enable then searched for solutions in fastboot mode booting on custom recovery (in my case TWRP) try to flash it and running adb shell commands it didn't enable. (The main problem is I couldn't get RAW checked from camera probe app and gcam needs it for processing.)
DAY3(Bootloader unlocked - Rooted)
I rooted with magisk but with TWRP i didn't use the install section because I couldn't able to find the .zip file so I used the adb sideload thing. After downloading the magisk manager app and access to root I've tried using build.prop, terminal both phone and computer, magisk modules and adb sideload to flash .zip files for enabling camera 2 API (that gave me error while doing) but whatever I've tried to do didn't work out for me.
For who are wanting gcam to work in your Xperia XZ1 for my case and research I couldn't able to enable Camera 2 API and couldn't find a way to enable I think Sony needs to give us RAW processing option. All in all rooting your XZ1 not that bad idea after all because I don't think Sony give this lineup an another android update (Android Q). If you have any questions about the process don't hesitate to ask. Take care of yourselves and be aware of what you're doing with your lifes and your devices.
Click to expand...
Click to collapse
UPDATE: By the way after couple days of use with
device I found out a strange behavior. After many tries to get a working gcam I gave up so while I was looking for how to see device's cameras status I used getprop in adb shell to look for did I enable Camera 2 API or not, actually I was very surprised it looks like it's enabled (persist.camera.HAL3.enabled = 1) then I looked for an alternative to gcam and downloaded the open camera. While in the app tweaking with the settings, found out that there's a Camera 2 API toggle for that supported devices. After tweaking, I take some photos with that I've shocked how good the HDR was I added some sample photos and HDR settings that I used in open camera. I hope I could help you with the journey of yours.
NOTE:In the sample photos when you zoom in there are artifacts on leafs and car that passing away thats because of hdr is 3 stops of dynamic range and shooting 3 different exposed photos so for the best detailed photos you should keep your hands stable and you should be around somewhere has not much moving objects. And in open camera there is a scene mod option, with that if you adjust your camera you can get night sight like photos in near complete dark scenes.
As always take care of yourselves and be aware of what you're doing with your lifes and your devices.
https://drive.google.com/drive/folders/1-4Jc5HIxvzi2T4Zb3Ws_kreCGPHfUBhm?usp=sharing

deniz_nam said:
UPDATE: By the way after couple days of use with
device I found out a strange behavior. After many tries to get a working gcam I gave up so while I was looking for how to see device's cameras status I used getprop in adb shell to look for did I enable Camera 2 API or not, actually I was very surprised it looks like it's enabled (persist.camera.HAL3.enabled = 1) then I looked for an alternative to gcam and downloaded the open camera. While in the app tweaking with the settings, found out that there's a Camera 2 API toggle for that supported devices. After tweaking, I take some photos with that I've shocked how good the HDR was I added some sample photos and HDR settings that I used in open camera. I hope I could help you with the journey of yours.
NOTE:In the sample photos when you zoom in there are artifacts on leafs and car that passing away thats because of hdr is 3 stops of dynamic range and shooting 3 different exposed photos so for the best detailed photos you should keep your hands stable and you should be around somewhere has not much moving objects. And in open camera there is a scene mod option, with that if you adjust your camera you can get night sight like photos in near complete dark scenes.
As always take care of yourselves and be aware of what you're doing with your lifes and your devices.
https://drive.google.com/drive/folders/1-4Jc5HIxvzi2T4Zb3Ws_kreCGPHfUBhm?usp=sharing
Click to expand...
Click to collapse
Can you give instructions to be able to do as you can?
Sent from my Sony G8342 using XDA Labs

haiha2001 said:
Can you give instructions to be able to do as you can?
Sent from my Sony G8342 using XDA Labs
Click to expand...
Click to collapse
If you asking for enabling the Camera 2 API I mentioned it in the original post but basically you need;
bootloader unlocked device (You need to get a key for it from Sony's website)
TWRP .img file
some adb and fastboot commands
newest Magisk .zip file (for root)
Basic Steps You Need To Follow (I'm not giving all the details because there could be a difference between devices from software wise or steps that could damage your performance or device and I'm not taking any responsibility for it.)
First you need to unlock your bootloader there many posts that explain how to in xda.(You need a key from Sony that you can get with your IMEI)
Then you need latest drivers and files for ADB and Fastboot that you can get it from developer.android site.
After that, you have to plug your device to computer with USB debugging on. And reboot in fastboot mode that you can make with adb commands or volume up with power buton (after 3 vibrations release just the power buton until you see a blue indicator from your notification led.).
In fastboot mode boot in recovery that you downloaded into your computer (in my case that was TWRP).
If you can find magisk file in install section you can do it from there but I couldn't find in install section so I use adb sideload to install magisk.(XDA has very nice explanation for how to download magisk on your device you should check that out.)
After installation and reboot I downloaded Magisk Manager apk file to device I used both build.prop and terminal (also both in device's and computer's terminal) to write camera.HAL3 code. ( I couldn't able to check the RAW box in camera prob app)
Finally you should need to look for camera specifications in your terminal that your proccess made it or not. (with getprop method)
I would recommend downloading Open Camera from play store and enabling for Camera 2 API for app and tweaking other settings for your liking. (Especially HDR settings)
If have any other question don't hesitate to ask. And if I skipped any steps or so please inform me about it.

deniz_nam said:
If you looking for a google camera mod for XZ1 and whatever you already downloaded is crashing while opening the app (except the apks that hasn't HDR+ feature) and you want this gcam so bad that ...
Click to expand...
Click to collapse
So, versions without HDR+ works on our devices?
If yes could you please provide the link, thanks.

sohrab1985 said:
So, versions without HDR+ works on our devices?
If yes could you please provide the link, thanks.
Click to expand...
Click to collapse
https://forum.xda-developers.com/xperia-xz1/themes/google-camera-mod-xperia-xz1-t3786993 from this discussion you can get the apk but like I said I tried this apk too, it has photosphere and panorama as features no HDR+ or night sight which you want I believe. I'd download open camera rather than this apk. Open camera hasn't that beautiful ui but it's better capabilities than gcam without HDR+.

deniz_nam said:
https://forum.xda-developers.com/xperia-xz1/themes/google-camera-mod-xperia-xz1-t3786993 from this discussion you can get the apk but like I said I tried this apk too, it has photosphere and panorama as features no HDR+ or night sight which you want I believe. I'd download open camera rather than this apk. Open camera hasn't that beautiful ui but it's better capabilities than gcam without HDR+.
Click to expand...
Click to collapse
Exactly, I'm looking for night sight feature.
I try open camera then.
Thanks for the help.

deniz_nam said:
If you looking for a google camera mod for XZ1 and whatever you already downloaded is crashing while opening the app (except the apks that hasn't HDR+ feature) and you want this gcam so bad that thinking about opening your bootloader and rooting your phone just for that feature don't do it (againg if you rooting just for gcam).
First of all the reason that gcam not working because in your device Camera 2 API isn't enabled so if you made a little research you know that you can enable that with just unlocking your bootloader but here is the catch if you already unlock the bootloader even rooted your phone and you still can't enable Camera 2 API that's because SONY doesn't want you to enable. Now I'm going to talk what I already tried. (If you know how please kindly explain it in the mentions)
DAY 1(Bootloader locked - Non rooted)
Making research from various sites for just getting information about camera 2 api
After research backing up my phone several times with companion app
Looking for tutorials to enable without rooting and unlocking the bootloader
DAY2(Bootloader unlocked - Non rooted)
After realizing that you can't do anything without unlocking your bootloader prepared for unlocking (By the way you need to get a unlocking key from Sony's website with your IMEI)
After unlocking bootloader trying adb shell and fastboot commands I couldn't able to enable then searched for solutions in fastboot mode booting on custom recovery (in my case TWRP) try to flash it and running adb shell commands it didn't enable. (The main problem is I couldn't get RAW checked from camera probe app and gcam needs it for processing.)
DAY3(Bootloader unlocked - Rooted)
I rooted with magisk but with TWRP i didn't use the install section because I couldn't able to find the .zip file so I used the adb sideload thing. After downloading the magisk manager app and access to root I've tried using build.prop, terminal both phone and computer, magisk modules and adb sideload to flash .zip files for enabling camera 2 API (that gave me error while doing) but whatever I've tried to do didn't work out for me.
For who are wanting gcam to work in your Xperia XZ1 for my case and research I couldn't able to enable Camera 2 API and couldn't find a way to enable I think Sony needs to give us RAW processing option. All in all rooting your XZ1 not that bad idea after all because I don't think Sony give this lineup an another android update (Android Q). If you have any questions about the process don't hesitate to ask. Take care of yourselves and be aware of what you're doing with your lifes and your devices.
Click to expand...
Click to collapse
I tried it in a similar way in June,and the results are the same. As far as I know, Sony has no plans to open Camera2 APIs - they are more inclined to force users to use Sony's own cameras,than open APIs to allow users to use Google cameras or others. This brand is just like this, always paying less attention to user feedback. But at least we've tried to do this - it's better than someone who hasn't tried it.
P.S.There's a way to backup TA partition before unlock bootloader: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510 .I know it's too late to tell you...sorry.

TimCrownie said:
I tried it in a similar way in June,and the results are the same. As far as I know, Sony has no plans to open Camera2 APIs - they are more inclined to force users to use Sony's own cameras,than open APIs to allow users to use Google cameras or others. This brand is just like this, always paying less attention to user feedback. But at least we've tried to do this - it's better than someone who hasn't tried it.
P.S.There's a way to backup TA partition before unlock bootloader: https://forum.xda-developers.com/xp...devonly-exploits-temp-root-to-backup-t3795510 .I know it's too late to tell you...sorry.
Click to expand...
Click to collapse
Thanks for your explanation and help, I really appreciate it. Only if Sony listen us their market share can grow and they can compete with others much better.

Hi, thanks for share this tutorials!
I've some questions, sorry before, im like super noob
1. Its seems you still using stock rom, is right? And what version?
2. The image looks very noisy, is that because you lost the drm keys?
Thanks before

Apakah maksudnya kamera terbuka adalah kamera manual?

deniz_nam said:
If you looking for a google camera mod for XZ1 and whatever you already downloaded is crashing while opening the app (except the apks that hasn't HDR+ feature) and you want this gcam so bad that thinking about opening your bootloader and rooting your phone just for that feature don't do it (againg if you rooting just for gcam).
First of all the reason that gcam not working because in your device Camera 2 API isn't enabled so if you made a little research you know that you can enable that with just unlocking your bootloader but here is the catch if you already unlock the bootloader even rooted your phone and you still can't enable Camera 2 API that's because SONY doesn't want you to enable. Now I'm going to talk what I already tried. (If you know how please kindly explain it in the mentions)
DAY 1(Bootloader locked - Non rooted)
Making research from various sites for just getting information about camera 2 api
After research backing up my phone several times with companion app
Looking for tutorials to enable without rooting and unlocking the bootloader
DAY2(Bootloader unlocked - Non rooted)
After realizing that you can't do anything without unlocking your bootloader prepared for unlocking (By the way you need to get a unlocking key from Sony's website with your IMEI)
After unlocking bootloader trying adb shell and fastboot commands I couldn't able to enable then searched for solutions in fastboot mode booting on custom recovery (in my case TWRP) try to flash it and running adb shell commands it didn't enable. (The main problem is I couldn't get RAW checked from camera probe app and gcam needs it for processing.)
DAY3(Bootloader unlocked - Rooted)
I rooted with magisk but with TWRP i didn't use the install section because I couldn't able to find the .zip file so I used the adb sideload thing. After downloading the magisk manager app and access to root I've tried using build.prop, terminal both phone and computer, magisk modules and adb sideload to flash .zip files for enabling camera 2 API (that gave me error while doing) but whatever I've tried to do didn't work out for me.
For who are wanting gcam to work in your Xperia XZ1 for my case and research I couldn't able to enable Camera 2 API and couldn't find a way to enable I think Sony needs to give us RAW processing option. All in all rooting your XZ1 not that bad idea after all because I don't think Sony give this lineup an another android update (Android Q). If you have any questions about the process don't hesitate to ask. Take care of yourselves and be aware of what you're doing with your lifes and your devices.
Click to expand...
Click to collapse
CameraAPI 2 works normally on the XZ1 AOSP10 under development by Sjll, but there is an ISP problem and the pictures taken are not saved.

try and camera super pixel for static themes.
excellent performance!!!
a little edit after just for shadows and hight light and you will have an outstanding results.

Georgerapp said:
try and camera super pixel for static themes.
excellent performance!!! a little edit after just for shadows and highlights and you will have an outstanding results.
Click to expand...
Click to collapse
Outstanding pictures for real! Did you take these pictures with the Open Camera App? Which app you used for the 'little editing' afterwards? Nice church! :good:

SGH-i200 said:
Outstanding pictures for real! Did you take these pictures with the Open Camera App? Which app you used for the 'little editing' afterwards? Nice church! :good:
Click to expand...
Click to collapse
ι shoot them with camera super pixel from playstore .
that app is for stills photos , no people , no pets .
after i edit the large file that gives on photoshop express and reduse the file at 40% quality to give me more comfortable image size.
open the app and at settings put resolution at 32 mp for back and 51.9 for the front.
enable noise reduction edge enhancement debug mode and place jpeg quality at 100.

Related

[Q] Enable Camera2 APi on MTK variant? (tried editing build.prop but doesn't work)

Hello guys,
Been lurking here for ages and already benefited tons from the help posted here. However, this is one issue that I can't seem to figure out.
I have the MTK variant of the RN4 and I'm trying to enable the Camera2 API so that I can take RAW pictures, use Google HDR+ etc.
I am rooted on MIUI 9 (though as it's MTK, it is still Android 6.0) and I edited the build.prop file using ES Explorer (I added the persist.camera.HAL3.enabled=1 line). I've rebooted the device, used checker apps and Lightroom to check if there's RAW support, but without luck.
Do you guys have any other ideas as to how I can enable Camera2 API support?
I don't have bootloops, I don't have any issues other than the fact that there's no Camera2 API support. Restarting the device does not erase my mods to the build.prop file.
Any help is appreciated!
Forget about it since GCam is supposed to work on Snapdragon devices only.
Kavute said:
Forget about it since GCam is supposed to work on Snapdragon devices only.
Click to expand...
Click to collapse
I wouldn't mind using other apps such as Lightroom if I can get RAW to work. Any ideas as to whether that's possible?
I've had a similar problem before, but MIUI would revert my changes to the build.prop. I solved it by using a systemless root via Magisk.
What I did:
1. Unroot your phone
2. Flash Magisk using TWRP (link to Magisk thread).
3. Download the "camera2api-enabler.zip" from this thread
4. Add the zip (Module) using the Magisk Manager app that comes installed after you flash Magisk
5. Reboot, and you should see the camera2api enabled.
If you do run into a boot loop after installing Magisk, you may need to flash the LazyFlasher zip file after Step 2.
yohyah said:
I've had a similar problem before, but MIUI would revert my changes to the build.prop. I solved it by using a systemless root via Magisk.
What I did:
1. Unroot your phone
2. Flash Magisk using TWRP (link to Magisk thread).
3. Download the "camera2api-enabler.zip" from this thread
4. Add the zip (Module) using the Magisk Manager app that comes installed after you flash Magisk
5. Reboot, and you should see the camera2api enabled.
If you do run into a boot loop after installing Magisk, you may need to flash the LazyFlasher zip file after Step 2.
Click to expand...
Click to collapse
Thank you! I'll look into Magisk. I have to admit that I'm tempted if only to get this and Super Mario Run working.
But I do like having sys root access, I've just fixed the Cell Standby battery drain with an edit to the build.prop file, as MIUI 9 doesn't have the option to disable VoLTE.
So I'll give it a thought.
Thank you! and if anyone has any other tips, preferably something that doesn't alter my setup too much, it'd be ace.
rottensong said:
Thank you! I'll look into Magisk. I have to admit that I'm tempted if only to get this and Super Mario Run working.
But I do like having sys root access, I've just fixed the Cell Standby battery drain with an edit to the build.prop file, as MIUI 9 doesn't have the option to disable VoLTE.
So I'll give it a thought.
Thank you! and if anyone has any other tips, preferably something that doesn't alter my setup too much, it'd be ace.
Click to expand...
Click to collapse
Hi!
If it isn't work, you should try out this:
Go in Engineer mode https://forum.xda-developers.com/showthread.php?t=2313812 or download the Engineer mod apk from play store. (It's working just on stock ROM)
Swipe left to Hardware testing, and there will be the Camera option.
I think, after you find this, you can get through the settings (where will be a raw capture option)

[GUIDE][MOD][TREBLE]Camera2 API Enabler

Flashing this enable Camera2 API for GSI/Treble based roms. Remains even after clean flashing another GSI
Things needed:
Unlocked Max Pro with custom recovery flashed
Instructions:
1. Download Cam2API.zip and copy/move to external sd/otg drive
2. Reboot phone to recovery and install as normal zip
3. Test results using this app
4. Google camera mod should work now
Hi,
As from my check in 247 version ROM, the build.prop already has the line persist.camera.hal3.enabled=0.
If you have rooted, you only need to change the 0 to 1 >> persist.camera.hal3.enabled=1
Or if you don't want to modify the build.prop, you can just create the value at the /data partition using terminal emulator (with root access), this leaves the /system intact.
Code:
su
setprop persist.camera.HAL3.enabled 1
The downside is everytime you factory reset, you have to set the value again.
Desmanto said:
Hi,
As from my check in 247 version ROM, the build.prop already has the line persist.camera.hal3.enabled=0.
If you have rooted, you only need to change the 0 to 1 >> persist.camera.hal3.enabled=1
Or if you don't want to modify the build.prop, you can just create the value at the /data partition using terminal emulator (with root access), this leaves the /system intact.
Code:
su
setprop persist.camera.HAL3.enabled 1
The downside is everytime you factory reset, you have to set the value again.
Click to expand...
Click to collapse
t1 zip changes that 0 to 1, no new entry is added
t2 zip adds a new line to enable the same
Post some pictures taken with Google camera and also do a comparison between stock camera images and gcam images.
SumitGupta2442 said:
Post some pictures taken with Google camera and also do a comparison between stock camera images and gcam images.
Click to expand...
Click to collapse
No
SumitGupta2442 said:
Post some pictures taken with Google camera and also do a comparison between stock camera images and gcam images.
Click to expand...
Click to collapse
OP doesn't have the device. We need to try and share feedback. Else wait for someone to share.
Appreciate efforts from OP.
Someone check what is supported camera 2 level
Via camera2 probe app
Any improvement in picture quality when captured in gCam?
Sudeep Duhoon said:
Flashing this should enable Camera2 API.
Things needed:
Unlocked Max Pro with custom recovery flashed
Instructions:
1. Download Camera2 API_t1.zip and copy/move to external sd/otg drive
2. Reboot phone to recovery and install as normal zip
3. Test results using this app
4. If fails, flash Camera2 API_t2.zip same way.
5. Google camera mod should work now
Someone please test and report
Click to expand...
Click to collapse
Please Send Me A Google Camera With HDR Support For Zenfone Max Pro
arjunav4748 said:
Please Send Me A Google Camera With HDR Support For Zenfone Max Pro
Click to expand...
Click to collapse
I tried both api doesn't work
is there any way to enable it on a locked bootloader and without root?
austinpinto said:
is there any way to enable it on a locked bootloader and without root?
Click to expand...
Click to collapse
sadly, no
learntechnology8452 said:
I tried both api doesn't work
Click to expand...
Click to collapse
works for everyone else (it was reported though)
tested myself and was not working
fixed
dafaq you doing testers???
Can anyone tell the performance of the camera,Is it better than the stock sd camera!
google camera keeps stopping please help even after following all steps
Akashnaresh said:
google camera keeps stopping please help even after following all steps
Click to expand...
Click to collapse
Enable camera2api manually
Yeah, I have done it using buildprop...still it's not working
Akashnaresh said:
Yeah, I have done it using buildprop...still it's not working
Click to expand...
Click to collapse
Have you tried bacon camera, it's quite a substitute for flashing a module for enabling c2api
Do I need to unlock my bootloader and flash twrp to flash this zip?
Tried the zip method and manual method but google camera still crash when open. Any other solution?

How to enable camera 2API without root or custom recovery on any android?

Hi I was wondering if there's a way to enable camera 2 api on any android without root or unlocking bootloader/custom recovery please help I have a sharp aquos R2 phone and I really want to install and use Google camera I checked it on a app it's hardware supported but not supported my software please help...
Hey Shayan
Did you find any Gcam port working on Sharp R2?
@Shayan69
If Camera2 API is part of your device's ROM, but not enabled by OEM, then IF device is rooted there is a 50:50 chance to get it enabled.
You simply have to modify Android's system file build.prop as follows
Code:
persist.camera.HAL3.enabled=1
and afterwards re-boot phone. You can then test whether it worked by launching a third-party camera app like Open Camera or Camera FV-5 and checking in the Settings menu if you can enable Camera2 API mode.

[Android 11+] How to add a virtual/mock camera device internally/externally and set it as the default camera?

I need a virtual camera to override the system camera on android 11+ phone to stream frames that are sourced from an image file. Basically injecting image into the camera device.
I need it to test camera functionality on mobile native apps/webapps. I would have easily done it with a custom camera app before Android 11 but now it isn't possible. See link!
Assume that I have both root access and unlocked bootloader on my phone.
Any Ideas?
Ideas that I was thinking of:
Emulating a external USB camera to feed only an image: But how do I set it as a system camera?
Adding a loopback device as a kernel module and makng it the default camera device. https://github.com/umlaeute/v4l2loopback
Hello sir, can you please tell me a way how can that be done on Android versions other than 11?
did you figure this out?
Have you found any solution?
I finally found one
Its Xposed module
But i didn't understand its documentation so cant install it
com.example.vcam/README_en.md at main · Xposed-Modules-Repo/com.example.vcam
虚拟摄像头 virtual camera. Contribute to Xposed-Modules-Repo/com.example.vcam development by creating an account on GitHub.
github.com
If someone can install and run it successfully please tell me steps
I made this work for some APPS, but not for the one I wanted.
Documentation doesn't explain very well.
MOD Translation:
I can replace with MP4 files. instead of camera images.
我可以用 MP4 文件替换。而不是相机图像。

Anyone able to mod this app to run on KitKat?

Basically I want to modify the APK to AirMessage (an iMessage client for Android) so it works on Android version 4+ instead of 6+. I'm reverting to a basic Android LG Wine Smart H486 flip phone (beautiful thing) for a video on my retro tech YouTube channel, but also for life enjoyment And this would allow me to get my normal iPhone texts when out and about on the old Android.
It has proven impossible to root the phone. The few techniques out there do not work or lead to broken links.
Apparently telling an APK to work on a different version is just modding one file, but it has to be decompiled first, then Google signed after. I can send you the AirMessage latest APK on request.
Anyone up to the challenge?
CJSnet said:
Basically I want to modify the APK to AirMessage (an iMessage client for Android) so it works on Android version 4+ instead of 6+. I'm reverting to a basic Android LG Wine Smart H486 flip phone (beautiful thing) for a video on my retro tech YouTube channel, but also for life enjoyment And this would allow me to get my normal iPhone texts when out and about on the old Android.
It has proven impossible to root the phone. The few techniques out there do not work or lead to broken links.
Apparently telling an APK to work on a different version is just modding one file, but it has to be decompiled first, then Google signed after. I can send you the AirMessage latest APK on request.
Anyone up to the challenge?
Click to expand...
Click to collapse
Rooting:
If you have either:
1. Unlocked bootloader AND fastboot mode
OR
2. Unlocked bootloader AND device trees
You can make it work. Note, you risk bricking your device. If you can enter fastboot mode, report back.
Nvm, there is a much simpler method to get up and running. The app is foss so you can just fork, modify and compile. https://f-droid.org/en/packages/me.tagavari.airmessage/
CJSnet said:
Basically I want to modify the APK to AirMessage (an iMessage client for Android) so it works on Android version 4+ instead of 6+. I'm reverting to a basic Android LG Wine Smart H486 flip phone (beautiful thing) for a video on my retro tech YouTube channel, but also for life enjoyment And this would allow me to get my normal iPhone texts when out and about on the old Android.
It has proven impossible to root the phone. The few techniques out there do not work or lead to broken links.
Apparently telling an APK to work on a different version is just modding one file, but it has to be decompiled first, then Google signed after. I can send you the AirMessage latest APK on request.
Anyone up to the challenge?
Click to expand...
Click to collapse
I tried compiling and In order to use core library desugaring, please enable multidex.
Seems to be a compatibility issue from API to API. You're better off porting the whole repo to an older version.
I would suggest signing up for alpha of Sunbird, another iMessage client that doesn’t require any apple device.
Arealhooman said:
I would suggest signing up for alpha of Sunbird, another iMessage client that doesn’t require any apple device.
Click to expand...
Click to collapse
Could you clarify how this would solve the problem I have?
SoundDrill said:
Rooting:
If you have either:
1. Unlocked bootloader AND fastboot mode
OR
2. Unlocked bootloader AND device trees
You can make it work. Note, you risk bricking your device. If you can enter fastboot mode, report back.
Nvm, there is a much simpler method to get up and running. The app is foss so you can just fork, modify and compile. https://f-droid.org/en/packages/me.tagavari.airmessage/
Click to expand...
Click to collapse
Would you be able to do this for me?
This will allow you to text as if on an iphone
Arealhooman said:
This will allow you to text as if on an iphone
Click to expand...
Click to collapse
Yes but so does AirMessage. Sunbird waitlist is over 120,000 people. I have AirMessage now.
That’s not the problem. The issue is getting it working on the 2015 phone.
CJSnet said:
Would you be able to do this for me?
Click to expand...
Click to collapse
I tried, read my message again (the one that explains why it is not possible or atleast a good idea).
CJSnet said:
Would you be able to do this for me?
Click to expand...
Click to collapse
Rooting might be easier, on the other hand. Enter fastboot mode and report back.

Categories

Resources