[MOD][O/P/Q] Front cam raw fix (needed for gcam) - Xiaomi Mi 8 Lite Themes, Apps, and Mods

I'll be quick.
This is a lib with SENSOR_DEFAULT_MODE changed to SENSOR_QUADRA_MODE in the hex. On most of the phones, Xiaomi/qcom understands they need to apply this mode on quad bayer sensors. But here, they gave no F. As I'm not surprised, that's all about the trivia of this mod.
How to apply it?
Unpack the zip, replace the original libmmcamera_platina_imx576_sunny/ofilm.so in /vendor/lib/. And ensure the file permissions are rwrr/0644.
Any side effects?
The front cam photos will come out as 6 MP. But, that's not a real disadvantage, since IMX576 is a quad bayer sensor, meaning it is technically made to be used in quarter of the resolution.
MIUI Camera is dead if you switch to the front, every other app works as intended.
Any requirements?
Common sense, Oreo/Pie/Q vendor, Sunny/Ofilm module manufacturer.

Great!
Could you be little more precise with procedure, please? How to edit lib, how to replace the original .so file in /vendor/lib/, and how to be sure the file have rwrr/0644 permissions?
Sorry... thanks

nesorsba said:
Great!
Could you be little more precise with procedure, please? How to edit lib, how to replace the original .so file in /vendor/lib/, and how to be sure the file have rwrr/0644 permissions?
Sorry... thanks
Click to expand...
Click to collapse
Lib editing: Because basic copypasting is already tough for you guys, I made this thread with edited lib, so you don't have to understand how to change 01 into 10 in the hex.
Replace trough any file explorer with root access, so for example Solid Explorer.
How the permissions look like is in the attachment.

help dev. i try to copy this custom lib to vendor/lib < here. and after reboot i open the Gcam always force close & miui camera front cam not opened.

stlprm said:
help dev. i try to copy this custom lib to vendor/lib < here. and after reboot i open the Gcam always force close & miui camera front cam not opened.
Click to expand...
Click to collapse
Try harder. (Just follow the system configuration of people who have it working)

j1505243 said:
I'll be quick.
This is a lib with SENSOR_DEFAULT_MODE changed to SENSOR_QUADRA_MODE in the hex. On most of the phones, Xiaomi/qcom understands they need to apply this mode on quad bayer sensors. But here, they gave no F. As I'm not surprised, that's all about the trivia of this mod.
How to apply it?
Unpack the zip, replace the original libmmcamera_platina_imx576_sunny.so in /vendor/lib/. And ensure the file permissions are rwrr/0644.
Any side effects?
The front cam photos will come out as 6 MP. But, that's not a real disadvantage, since IMX576 is a quad bayer sensor, meaning it is technically made to be used in quarter of the resolution.
MIUI Camera is dead if you switch to the front, every other app works as intended.
Any requirements?
Common sense, (probably) Oreo vendor, Sunny module manufacturer.
Click to expand...
Click to collapse
Works in global with Oreo 8.1
Thanks :good:

so you have also the needed apk and needed other patches for gcam which is working for platina?

y2kadir said:
so you have also the needed apk and needed other patches for gcam which is working for platina?
Click to expand...
Click to collapse
Nah, I'm not a platina user myself.

so why are you uploading a patch if you didnt test it before

y2kadir said:
so why are you uploading a patch if you didnt test it before
Click to expand...
Click to collapse
Because someone else wasn't as dumb as this question and tested it for me before I released it.

j1505243 said:
Because someone else wasn't as dumb as this question and tested it for me before I released it.
Click to expand...
Click to collapse
I know also someone who needs a pacifier like a small child. whats your problem? I would never be so dumb to release something which I didnt test before!!?

y2kadir said:
I know also someone who needs a pacifier like a small child. whats your problem? I would never be so dumb to release something which I didnt test before!!?
Click to expand...
Click to collapse
Should I close this thread because some random noob tells me I shouldn't release mods for a device I don't own? Your opinion is worthless to me. It was tested by people before I published it here. And also before you got triggered when I refused to spoon-fed you with gcam info. Learn some respect to the ones who actually contribute.

hi thanks for sharing this, but I tired for searching how to enable camera2api for MI 8 Lite ?

Working! But, which versión of gcam do you use?

Not work on Android pie. Help me.

Here's the magisk module if anyone needs it

With this it is possible to enable gcam for 8lite?

celovitor said:
With this it is possible to enable gcam for 8lite?
Click to expand...
Click to collapse
Nope. It's just a fix for the front cam raw. Do your own search.

Miui 9.5.9 block gcam. I think you should know.

Werewolf 99 said:
Miui 9.5.9 block gcam. I think you should know.
Click to expand...
Click to collapse
As a person unable to access platina, I don't. Either way, I hope this phone has some current reality and future in AOSP ROMs.

Related

[FIX] Google Camera HDR+ on Nougat ROMs

I am not responsible for exploding devices!! Nothing should go wrong, as this doesn't touch anything super-sensitive, but just in case...
Tested on Pure Nexus w/ Pure Nexus dynamic gapps. This should also work with Open GApps. (And I guess Fake Nexus, though I think the camera works well out-of-the-box on that one...?)
On (most?) current Nexus 5 Nougat ROMs, attempting to take a photo via Google Camera with HDR+ will just take a regular photo. (The included stock camera doesn't even have an HDR+ option!) The "fix" is to downgrade to an older version (2.8) of Google Camera.
Problem is, that's kind of annoying. In addition, the Play Store will keep trying to update it to the newest version unless you re-sign. Not good!
So I made a flashable zip! Just pop it onto your SD card, flash in TWRP, and the proper Google Camera will be installed, signed with a custom key to prevent the Play Store from updating it.
Enjoy!
NOTE: This does not fix the video recording issues, only the HDR+ not working. You still need to use stock camera for videos.
Changelog
11/30/2016 - Fix an extraction failure when the path to the zip has spaces, and fix the progress bar.
11/29/2016 - Fix stupid zip signing mistake.
11/28/2016 - Initial version.
Going to try it on Nitrogen OS
Yeah it's not actually a fix for the non working hdr+, it's just another workaround. But great for the people who need it! I just wouldn't call it fix for Google camera on nougar.
Enviado desde mi Nexus 5 mediante Tapatalk
Error : unable to extract zip (on TWRP 3.0.2)
Tried to install on aosp 7.1 ROM...and I want to add one more thing that Im not able to find google camera in play store on this ROM.
Thanks for the apk in the zip...I was able to install it manually.
is this google camera version 4.2?
Bad_Calzoncillos said:
Yeah it's not actually a fix for the non working hdr+, it's just another workaround. But great for the people who need it! I just wouldn't call it fix for Google camera on nougar.
Enviado desde mi Nexus 5 mediante Tapatalk
Click to expand...
Click to collapse
True. At the same time, a [WORKAROUND] tag isn't allowed, so that's why I used [FIX].
amarendar94 said:
Error : unable to extract zip (on TWRP 3.0.2)
Tried to install on aosp 7.1 ROM...and I want to add one more thing that Im not able to find google camera in play store on this ROM.
Thanks for the apk in the zip...I was able to install it manually.
Click to expand...
Click to collapse
Sorry about that! I just updated the zip file again. I had made a mistake with regards to the way it was signed.
It should work now. If it doesn't, could you hit Copy Log inside the Advanced section of TWRP and then upload
Code:
/sdcard/recovery.log
here?
aslam_ said:
is this google camera version 4.2?
Click to expand...
Click to collapse
No, it's 2.8. 4.2's HDR+ doesn't work on the Nexus 5 Nougat ROMs.
I uninstalled v4 . then flashed 3.2 and unchecked google camera automatic update from playstore ( right up corner) . why to downgrade to v2.8 if v3.2 also work?
Mairo said:
I uninstalled v4 . then flashed 3.2 and unchecked google camera automatic update from playstore ( right up corner) . why to downgrade to v2.8 if v3.2 also work?
Click to expand...
Click to collapse
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
refi64 said:
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
Click to expand...
Click to collapse
ROM issue maybe. Im currently using Fake Nexus ROM and 3.2 HDR worked fine.
This isnt actually a fix, for me GCam 3.2 works on Nougat with HDR+
refi64 said:
Sorry about that! I just updated the zip file again. I had made a mistake with regards to the way it was signed.
It should work now. If it doesn't, could you hit Copy Log inside the Advanced section of TWRP and then upload here?
Click to expand...
Click to collapse
I think u should test the zip on your phone b4 posting here..
Anyways here is the log u asked for
amarendar94 said:
I think u should test the zip on your phone b4 posting here..
Anyways here is the log u asked for
Click to expand...
Click to collapse
That's the weird part; I did test it...
That error is definitely weird... Out of curiosity, what did you name the zip file when you saved it?
refi64 said:
That's the weird part; I did test it...
That error is definitely weird... Out of curiosity, what did you name the zip file when you saved it?
Click to expand...
Click to collapse
Didn't rename it...I just saved it with what you name d it.
refi64 said:
Huh...on my device, 3.2 HDR+ still didn't work.
Also, for me, I already have auto-update off, but I usually just like to click "UPDATE ALL" without the camera updating, too.
Click to expand...
Click to collapse
Ok. I noticed now that video don' t work . green flicker if i look after recording. But hdr works great.
Anyway video have been always crap in our device, so i don´t use it.
amarendar94 said:
Didn't rename it...I just saved it with what you name d it.
Click to expand...
Click to collapse
Just figured it out. I updated the zip again; it should work perfectly now!
I'm on Nitrogen-os 7.1 and gcam 3.2 workshop fine
First cam uploaded works perfectly on aicp 7.1 rom.
Hdr and video.
Does not work on my Nexus 5 ABCrom_nexus_hammerhead-7.0-20161129.zip
As soon as I enable HDR+, the app force closes.
Could it be a conflict with the already installed camera?
Cheers

[MOD|Flashable] ZTE Stock Camera

Updated B05 with working Panorama thanks to the awesome work of @Kytorze
Flashable ZTE Camera.
Whats working:
photo:
foto mode
ultra night mode
manual mode
multi exposure
panorama
video:
video mode, 60fps and 30fps with ois
whats not working:
photo filters
long time exposure
video
slow motion
sport mode
time lapse
Thanks to @h0LLe and @Lycidias for testing it out.
If you want the camera as an magisk module try @Kingo64 Module here: Magisk Module
Awesome.
Why does it only go up to 8MP?
runderekrun said:
Awesome.
Why does it only go up to 8MP?
Click to expand...
Click to collapse
I can't really tell, maybe because the lib is not compatible with nougat, or some apps are missing.
lian00 said:
I can't really tell, maybe because the lib is not compatible with nougat, or some apps are missing.
Click to expand...
Click to collapse
I'll be uploading B15 system today alone with B15 stack so you can do you magic :laugh::silly: and thanks for this man
DrakenFX said:
I'll be uploading B15 system today alone with B15 stack so you can do you magic :laugh::silly: and thanks for this man
Click to expand...
Click to collapse
Yeah thanks! And there is no magic involved just using a tool to get this working But still happy that some find it useful
lian00 said:
Yeah thanks! And there is no magic involved just using a tool to get this working But still happy that some find it useful
Click to expand...
Click to collapse
It is indeed, Stock camera have good improvements as far as I know so is good having it as backup plan hehehe.
PM with the list of files or folders needed to get it started (size wise = fast upload vs 2.3gb system+boot upload )
DrakenFX said:
It is indeed, Stock camera have good improvements as far as I know so is good having it as backup plan hehehe.
PM with the list of files or folders needed to get it started (size wise = fast upload vs 2.3gb system+boot upload )
Click to expand...
Click to collapse
@DrakenFX thank you for providing the system.img, i've updated the first post. The libs are still the same and 20MP is working now
Will try later the ZTE gallery to fix the crash.
lian00 said:
@DrakenFX thank you for providing the system.img, i've updated the first post. The libs are still the same and 20MP is working now
-app is crashing if you want to open the picture you've taken.
Click to expand...
Click to collapse
You're welcome man , glad I can help and I'm not getting any Crashes when hit gallery to review picture taken, amazingly RAW support is there as well yayy :good:
Hype. This is awesome. Thanks @lian00
I'm interested to see if anyone can say whether or not it performs as well in low light/autofocusing as on B15. If so I'll be re-flashing LOS, as B15 is laggy as **** right now.
Cheers
Works great, just as good as it was on Stock. I'm on LOS and flashed the zip. no problems there
What is interesting is that they didn't fix the 1080p 60fps zoom bug in Nougat. How hard can it be?...
Running saop Android 7.1.1 and after trying to open the app it crashes...
Kaherdin said:
Running saop Android 7.1.1 and after trying to open the app it crashes...
Click to expand...
Click to collapse
Hi, never used saop. Could you check if all files were copied by the zip?
There should be a folder in sytem/priv-app/ZTE_Camera/lib with files ending on *.so.
I'm gonna try flashing this on DU 7.1.1 ZUK Z2. Any suggestions?
Magz Heaven said:
I'm gonna try flashing this on DU 7.1.1 ZUK Z2. Any suggestions?
Click to expand...
Click to collapse
Backup ? I don't know if it will work on the Zuk. Please reply after testing it
Guess ZTE Camera works only on ZTE phone, huh.
Oh well.
lian00 said:
Hi, never used saop. Could you check if all files were copied by the zip?
There should be a folder in sytem/priv-app/ZTE_Camera/lib with files ending on *.so.
Click to expand...
Click to collapse
Yes. I've got the fillers and files.
lian00 said:
Backup ? I don't know if it will work on the Zuk. Please reply after testing it
Click to expand...
Click to collapse
Too hassle for now. Hehe. Will just wait for a more stable release.
El Psy Congroo
Thanks @lian00 for sharing this app. I'm able to successfully install and run this cool camera app after making a new flashable zip file (since the original zip provided by this post will not work in my case due to some uncertain reasons) on my Samsung Galaxy S5 (running LOS 14.1). This is a feature rich camera app although many features are broken on my S5. I hope it will work on any other LOS and AOSP based nougat ROMs. If someone is interested, feel free to try with the original or my zip file. A link to screen cast video from my Dropbox is here.
Can anyone save pics to SD card with zte camera?

Note 4X: Enabling Camera API2 + 60FPS Recording?

Hi all.
I just got my 64GB MTK Nikel Redmi Note 4X. Bootloader unlocked, TWRP and SuperSU installed, running the latest Marshmallow MIUI 8.5.6.0
I'm trying to record in 60FPS. I've tried many different apps, and it seems that my main issue is that I don't have Camera API 2 enabled.
I've tried editing my build.prop by appending with the line:
persist.camera.HAL3.enabled=1
And it doesn't work. I've also tried using Terminal Emulator with:
su
su persist.camera.HAL3.enabled 1
exit
exit
I've even tried flashing "Camera_2API_addon.zip" (from a mirror site, since that website's download links are down), as mentioned on this Russian forum:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
When I run Open Camera and go to About, my Camera API just appears to be "Camera". This means that Camera API 2 was not activated.
I'm so stuck and frustrated here, and I seem to be the only person with this issue. Can anyone help me? I ultimately just want to be able to record 60FPS video.
I've even tried adding a modified media_profiles.xml file in /system/etc (the file did not already exist, strangely enough), and that didn't work either.
Am I having all these issues because I have a mediatek processor?
Thank you.
dingoyabuki said:
Hi all.
I just got my Redmi Note 4X. Bootloader unlocked, TWRP and SuperSU installed, running the latest Marshmallow MIUI 8.5.6.0
I'm trying to record in 60FPS. I've tried many different apps, and it seems that my main issue is that I don't have Camera API 2 enabled.
I've tried editing my build.prop by appending with the line:
persist.camera.HAL3.enabled=1
And it doesn't work. I've also tried using Terminal Emulator with:
su
su persist.camera.HAL3.enabled 1
exit
exit
I've even tried flashing "Camera_2API_addon.zip" (from a mirror site, since that website's download links are down), as mentioned on this Russian forum:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
When I run Open Camera and go to About, my Camera API just appears to be "Camera". This means that Camera API 2 was not activated.
I'm so stuck and frustrated here, and I seem to be the only person with this issue. Can anyone help me? I ultimately just want to be able to record 60FPS video.
I've even tried adding a modified media_profiles.xml file in /system/etc (the file did not already exist, strangely enough), and that didn't work either.
Thank you.
Click to expand...
Click to collapse
Flash a android 7 based MIUI rom (like developer rom) and you can enable API2
But our device doesnt support 60fps recording anyway on 1080p
asusm930 said:
Flash a android 7 based MIUI rom (like developer rom) and you can enable API2
But our device doesnt support 60fps recording anyway on 1080p
Click to expand...
Click to collapse
How about at 720p, at least? And here's a YouTube video I saw of someone who got 60FPS working using the media_profiles.xml mod:
I'll try flashing a Nougat developer rom in the meantime, thank you for the advice.
On 4pda.ru its topic about 60fps in full hd by using motocamera with modded profiles but I didnt try this.
Grellenort said:
On 4pda.ru its topic about 60fps in full hd by using motocamera with modded profiles but I didnt try this.
Click to expand...
Click to collapse
The download links on that forum thread are dead, by the way. That's another issue.
dingoyabuki said:
The download links on that forum thread are dead, by the way. That's another issue.
Click to expand...
Click to collapse
Link me to the thread i have a 4pda account I can try to DL the mod
asusm930 said:
Link me to the thread i have a 4pda account I can try to DL the mod
Click to expand...
Click to collapse
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
Thank you! Though I still wonder if it'll even work on my Magitek phone. That thread seems to revolve around Qualcomm Note 4s.
dingoyabuki said:
http://4pda.ru/forum/index.php?showtopic=824680&st=80#entry62175288
Thank you! Though I still wonder if it'll even work on my Magitek phone. That thread seems to revolve around Snapdragon Note 4s.
Click to expand...
Click to collapse
This is if you are running android 7
APK https://drive.google.com/file/d/0B_Q4QjvbODxoUEQ1UzZwNC0tczA/view?usp=drivesdk
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoMnVZM25qaTg3OW8/view?usp=drivesdk
For android 6
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoQWx4Ui1ScTJYYTA/view?usp=drivesdk
asusm930 said:
This is if you are running android 7
APK https://drive.google.com/file/d/0B_Q4QjvbODxoUEQ1UzZwNC0tczA/view?usp=drivesdk
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoMnVZM25qaTg3OW8/view?usp=drivesdk
For android 6
Media_profile
https://drive.google.com/file/d/0B_Q4QjvbODxoQWx4Ui1ScTJYYTA/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks for reuploading those. While I'm sure those will help other people, I've just tried copying the media_profile.xml file to system/etc, chmodding the file to 644, and installed the app, and the app still crashes. Really thinking this is all because I have a Mediatek phone.
And for oreo?
SykoraLukas said:
And for oreo?
Click to expand...
Click to collapse
No camera blobs for Oreo because Xiaomi has yet to release Oreo kernel sources for this device. But some people have got it working, but they seem to having some coding background or maybe they're just really smart.
Camera2 API is already enabled by default on most custom ROMs. Just use Nougat if you need 60fps.

[NEED MORE TESTERS]ARcore working on Axon 7 (also for non-rooted users)

First of all READ THE WHOLE OP, PLEASE. Also pay attention to the "PS" at the bottom of this post.
(This post is still a work in progress)
WE NEED MORE TESTERS. Anybody with an A2017G and stock oreo(and the cam2 api patch below). Also more A2017U users on stock oreo need to help and test this.
Please report back if it works or not.
Requirements:
Selinux set to permissive (idk why but with enforced, ARcore doesn't work)
Camera 2 api is required. A2017G users need to flash this patch by @raystef66 https://androidfilehost.com/?fid=11410932744536993784
This won't be any simplified how to guide from me (more on that later).
Instead im gonna link 2 github issue posts which anyone with a little know-how about adb, sideloading/restore, root etc can follow to get ARcore working (reminder that it's also possible for non-rooted users).
First the main post
https://github.com/tomthecarrot/arcore-for-all/issues/139
IMPORTANT QUOTE and reason for not making a personal simple tutorial by myself (PAY ATTENTION TO THE LAST 2 SENTENCES PLEASE):
"Finally, we really only intended this mechanism for internal development use. We're mentioning it here because we see users super excited about running ARCore on additional devices, and agree that having to root your phone to do that is dumb. That said, we really only want to expose this to users already familiar with adb, side-loading, rooting, and the instability and wackyness that can arise from those things. Don't go out of your way to make it easy for novice users run ARCore on unsupported devices, and don't ask for support through official channels. If either of those start happening, we may have to cripple or remove this capability, and I think that's a loss for everyone involved."
What i think they are trying to prevent is "novice" users which don't know much about the matter in general, from flooding/spamming the official channels seeking for help. Also don't treat github as a forum. Don't ask the official devs for help. This is an UNSUPPORTED gift from the devs after all.
INSTEAD ask your questions here on this very xda thread and respect the official ARcore devs and the ARcore-for-all project. Thank you
I recommend reading through the whole github post as it's very informative on the matter and you might learn a thing or two.
Second post with instructions for rooted devices:
https://github.com/tomthecarrot/arcore-for-all/issues/139#issuecomment-466587565
For non-rooted users, please read through the github post. You need to know how to operate ADB restore properly.
Again, if you have any questions, ask here.
ARcore isn't working perfectly as of now since the calibration file we will be using isn't property tweaked yet (as the file itself was created for max compatibility for as many devices as possible). So let's work together, experiment with the values inside the calibration file (if you know how and what each value does, unlike me lol) and maybe, one day, we will have a proper, stable and smooth ARcore experience for our device.
Here is an example gif of me trying it out
https://thumbs.gfycat.com/GleefulShortBordercollie.webp (cant use IMG BB code to embed it into the post since its not in an actual gif format)
PS: i made this post on the phone and it's still a work in progress (especially now since xda labs messed up and only posted half of the OP for some reason). I plan to edit it later on pc for more clarity to make it visually easier and more appealing to read (currently sick, but i was so excited that i got ARcore working and really wanted to share it with you guys).
Since xda labs messed up with the post, some sentences are written differently than i originally intended. So i tried to fix it by re-writing the missing parts from memory and copy-pasting the whole text and posting it through the browser version of xda. So sorry if it is a little messy. All the more reason to edit it on pc later on xD.
Did everything the second post says to do for rooted users. Still a no go for me. When I load arcore measure it just flashes "acore keeps stopping"
Then it says ArCore is not able to run on this device.
What did you edit in your custom device profile?
Thanks bud
kountry83 said:
Did everything the second post says to do for rooted users. Still a no go for me. When I load arcore measure it just flashes "acore keeps stopping"
Then it says ArCore is not able to run on this device.
What did you edit in your custom device profile?
Thanks bud
Click to expand...
Click to collapse
I didn't edit anything yet since i have no idea what these values accomplish.
Do you have installed the camera2 api patch by @raystef66 ? Its needed, otherwise ARcore can't work. I edited OP and put the link to it at the top. (Totally forgot to add that this is the requirement)
Have you followed the steps exactly as they say? Quote: "Install the "arcore-modified-preview.apk" from*the "service-mod" branch*(it's linked in the README)"
See attached screenshot.
Download latest Arcore (from apmirror for example) and install that.
It doesn't have to be 1.7. You can just download the latest up to date version.
Follow the steps until he asks you to open the ARcore apk. What he now means by that is use any zip file viewer (i used rar for example) and with it open the official ARcore apk you downloaded (not the modified preview) and extract the textproto file from there.
Other than that i don't see any confusion coming from the rest of the instructions (renaming the file, putting it in the right folder etc)
GodOfPsychos said:
I didn't edit anything yet since i have no idea what these values accomplish.
Do you have the camera2 api patch installed by raystef66? This is necessary since it won't work without camera 2 api.
Have you followed the steps exactly as they say? Quote: "Install the "arcore-modified-preview.apk" from
Click to expand...
Click to collapse
I haven't installed raysteff66's camera2api patch but I have level_3 camera2 API and I went by the instructions you linked for rooted devices. I installed and modified everything it tells me to do.
P.s. I am using a ZTE Axon 7 A2017U on Oreo stock.
kountry83 said:
I haven't installed raysteff66's camera2api patch but I have level_3 camera2 API and I went by the instructions you linked for rooted devices. I installed and modified everything it tells me to do.
P.s. I am using a ZTE Axon 7 A2017U on Oreo stock.
Click to expand...
Click to collapse
Im sorry read my reply again, xda labs doesn't post my full replies for some odd reason so i used the browser version.
Also don't worry about the camera2 patch since you have an A2017U device. Its already camera2 api enabled
Added link of a demonstration gif to the OP
I'm running stock B20 Oreo and followed the instructions accurately. Do I need to clear the cache? I don't understand why it's crashing. I posted the screenshots of what I have.
kountry83 said:
I'm running stock B20 Oreo and followed the instructions accurately. Do I need to clear the cache? I don't understand why it's crashing. I posted the screenshots of what I have.
Click to expand...
Click to collapse
Hmm. Did you also set the permissions from the "files" folder as same as the others?
I didn't need to clear the cache and it worked for me.
@kountry83 if the "files" folder have the right permission and it still doesnt work. Could you maybe try a different camera ID?
Open the textproto file inside the files folder and edit the line camera_id: and change the 0 to 1.
Maybe this will do it.
See screenshot below
Maybe 0 is the front and 1 could be the back on the A2017U
GodOfPsychos said:
Hmm. Did you also set the permissions from the "files" folder as same as the others?
I didn't need to clear the cache and it worked for me.
Click to expand...
Click to collapse
/data/data/com.google.ar.core/files
My files folder is set to 2771 and the custom_device_profile.textproto file in the files folder is set to 644 permission.
kountry83 said:
/data/data/com.google.ar.core/files
My files folder is set to 2771 and the custom_device_profile.textproto file in the files folder is set to 644 permission.
Click to expand...
Click to collapse
My textproto file is set to 0666
We need more A2017G and U users with stock oreo to test ARcore. Please if any of you have already tested it and it works or not, please just say so in a reply and mention which device you used (G or U).
Edited OP as well to mention this
GodOfPsychos said:
We need more A2017G and U users with stock oreo to test this. Please if yoh have already tested it and it works or not, please just say so in a reply and mention which device you used (G or U)
Click to expand...
Click to collapse
Set the file to 0666. Still crashes with arcore measurement app. Even restarted and still crashes. What is your files folder permission?
Do you think you could make a flashible please with set permissions?
kountry83 said:
Set the file to 0666. Still crashes with arcore measurement app. Even restarted and still crashes. What is your files folder permission?
Do you think you could make a flashible please with set permissions?
Click to expand...
Click to collapse
My folder permission is the same as yours, 2771
Did you try changing camera ID as i mentioned in a previous post?
I tested the root method and it doesn't work as well. Probably need to tweak the custom_device_profile.textproto file
mickey36736 said:
I tested the root method and it doesn't work as well. Probably need to tweak the custom_device_profile.textproto file
Click to expand...
Click to collapse
Which device are you using? And which rom?
Also by "doesn't work as well" do you mean it doesn't work (crash) or its twitchy?
GodOfPsychos said:
Which device are you using? And which rom?
Also by "doesn't work as well" do you mean it doesn't work (crash) or its twitchy?
Click to expand...
Click to collapse
A2017G stock B01 with patch. I get with device not supportin mesure app.
Pokemon go also freeze the app when turn on ar+.
@GodOfPsychos changed camera ID to 1.
Same error, ArCore keeps stopping.
mickey36736 said:
A2017G stock B01 with patch. I get with device not supportin mesure app.
Pokemon go also freeze the app when turn on ar+.
Click to expand...
Click to collapse
Maybe its because you are still on the oreo beta. Im on b02

Gcam 7.3 working in v40

Most people checking on 6.1 and 6.2 gcams .
lets this thread capture best settings for gcam7+ on lgv40
my working configuration is:
app : GCam_7.3.018_Urnyx05-v1.5.apk
config : 7.2uryny2.1.xml
file link for all versions : https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/
i just shared the info for v40 . thanks snd credits for @Urnyx05 for his fantastic work and you can follow his gcam development in https://forum.xda-developers.com/apps/google-camera-mods/google-camera-urnyx05-t3937515
sample shots and UI :
note : you need to place config in Gcam/Configs7 instead of just Configs
Links for the apk and xml file
HansWong said:
Links for the apk and xml file
Click to expand...
Click to collapse
Here (find as Config Files for Urnyx05's GCam 7.2.x and Lg V50 ThinQ):
https://www.celsoazevedo.com/files/android/p/f/2020/02/7.2uryny2.1.xml
Petepicket said:
Here (find as Config Files for Urnyx05's GCam 7.2.x and Lg V50 ThinQ):
https://www.celsoazevedo.com/files/android/p/f/2020/02/7.2uryny2.1.xml
Click to expand...
Click to collapse
that is right . i got apk , configs and change log from from https://www.celsoazevedo.com/files/android/google-camera/dev-urnyx05/
Not working
Very slow & lgging
Not working correctly, still lags, already downloaded the apk and configs but still lags
Laggggggy
Thank you OP, but yeah like others said, incredibly laggy unless I turn off HDR. Moot point at any rate because it's not saving any photos. I did give it all permissions and loaded xml you linked.
Tip for gcam users: if you export settings, the app will create the correct folders for you so you know where to put the xml you want to import.
guys , for me also it is lagging . but this is the gcam 7+ which is working atleast .
unless any developer implements 'buffer fix for gcam ' ( google this ) , the ui will be laggy . we can follow @Urnyx05 gcam development in https://forum.xda-developers.com/app...nyx05-t3937515 or if @Arnova8G2 can help to implement this , it will be good .
kamalraj2019 said:
guys , for me also it is lagging . but this is the gcam 7+ which is working atleast .
unless any developer implements 'buffer fix for gcam ' ( google this ) , the ui will be laggy . we can follow @Urnyx05 gcam development in https://forum.xda-developers.com/app...nyx05-t3937515 or if @Arnova8G2 can help to implement this , it will be good .
Click to expand...
Click to collapse
I have seen a few people bring up the buffer fix, but it's like the OP never pays any mind to it... then released an update to fix stuff regarding LG phones but the buffer fix wasn't implemented...
Does the Gcam work on LG v40 with LineageOs 17.1 ?
So its not lagging when turn off hdr? And did astro work?
pwazoski said:
So its not lagging when turn off hdr? And did astro work?
Click to expand...
Click to collapse
I think there is no reason to use GCAM if you don;t turn on HDR+.
Ainz_Ooal_Gown said:
I have seen a few people bring up the buffer fix, but it's like the OP never pays any mind to it... then released an update to fix stuff regarding LG phones but the buffer fix wasn't implemented...
Click to expand...
Click to collapse
Wait did i need to root?

Categories

Resources