Camera 2 api problem - Xiaomi Mi Mix 2 Questions & Answers

Hey guys I'm on MIUI EU(weekly) 9.6.5,I have proper root acces and twrp installed on this device, but there's one thing missing which was camera 2 api. So I tried twrp, magisk and build prop methods to enable camera 2 api but none of them worked for me. And there's one weird thing. in build prop I search for persist.camera.HAL3.enabled 1 and it was there with value 1.but in manual camera compatibility test its says unfortunately your device doesn't support. I have downloaded arnova gcam 6.1.. Help me
Sent from my MIX 2 using Tapatalk

Use buildprop editor and put these lines in de botten.
persist.vendor.camera.HAL3.enabled=1
persist.camera.HAL3.enabled=1
Worked for me.

wes01 said:
Use buildprop editor and put these lines in de botten.
persist.vendor.camera.HAL3.enabled=1
persist.camera.HAL3.enabled=1
Worked for me.
Click to expand...
Click to collapse
O thank you my friend finally it worked.. Great solution... Thanks a lot again
Sent from my MIX 2 using Tapatalk

Related

Google lens (assistant)

Hello guys i just found a way to activate the newly introduced google lens...... You need Custom ROM( Android 7+)
1>> open root Explorer ( use Es explorer or mix explorer)
go to /system and open build. prop
change
2 ' ro.product.model=Redmi 3s' to 'ro.product.model=Pixel 2 XL'
3" ro.product.brand=Xiaomi ' to 'ro.product.brand=Google"
4 " ro.product.manufacturer=Xiaomi" to "ro.product.manufacturer=Google"
5 then add 'ro.opa.eligible_device=true' at the end
Then go and Download or updated google app to latest beta
you will find the button in right corner
Enjoy
Making flashable zip soon
Screenshot please bro
Sent from my Redmi 3X using Tapatalk
Working but "Ok Google" stops working after this.
working but ok google stops working
it works but with a error that after that i cannot use OK GOOGLE detection from any screen
any Solution??
Use Google Photo
nikhil72002 said:
it works but with a error that after that i cannot use OK GOOGLE detection from any screen
any Solution??
Click to expand...
Click to collapse
This mod is not required anymore as Google Photos app has got Lens inbuilt.
anik.debnath said:
This mod is not required anymore as Google Photos app has got Lens inbuilt.
Click to expand...
Click to collapse
But not Google assistant.
Kuchayhilal said:
But not Google assistant.
Click to expand...
Click to collapse
Assistant already got it.
Ok Google detection stops

[Root] How to make ARCore work on Vince

!!ATTENTION!!
As Google recently changed how the device_profile files are located, these steps below do NOT work anymore. There are only two options you can choose from which you can follow and read about here
#I'll not be responsible for anything that happens to your device when you follow these steps#
If you don't know what ARCore is read this https://en.m.wikipedia.org/wiki/ARCore
After you understand what ARCore is for then continue reading.
@Arnova8G2 has made a flashable zip with support for our device.
AR Stickers download https://drive.google.com/open?id=1Uvspxje-myBIKIeDHfgMpZ4Uv_o5ZFYL
Installation steps:
1. Install original arcore linked below
2. Reboot to TWRP
3. Install twrp-Patch-ARcore-for-all-device.zip
4. Reboot to system
Zip download here. This method is still under testing, so the original method is still shown below.
Step 1. Download ARCore from here https://www.apkmirror.com/apk/googl...se/arcore-1-4-180716096-android-apk-download/
Step 2. Install an app that use ARCore. If you're lazy, you can use this https://www.apkmirror.com/apk/google-creative-lab/just-a-line-draw-anywhere-with-ar/
Step 3. Open the app you installed in step 2 and let it crash. This will make the folders and files that we're going to use later on.
Step 4. Download the file named device_profile_vince.textproto.txt at the end of this post and rename the file to device_profile_vince.textproto
Step 5. Using root explorer, copy the file you just renamed to /data/data/com.google.ar.core/files/device_profile_database2 and change SE context by selecting the file you just copied and press the three dots. Then select Restore default context and then press OK.
Step 6. Now you can use any apps that require ARCore!:victory:
NOTE: If you updated ARCore repeat step 3 to step 5
Tested on my vince running AEX and havoc os with omnivision sensor
Not really necessary anymore as we've Arnova8G2's flashable zip but I'll keep it here anyways
During the steps above, you probably saw a bunch of files in /data/data/com.google.ar.core/files/device_profile_database. One file is for one device or another variant of the same device. These files come from the manufacturers or Google themselves for the devices that officially ARCore.
Unfortunately, vince, like a lot of other devices, don't officially support ARCore, so some of these files maybe more compatible with vince but I don't have time to test them all. So if anybody have extra time, you can help me find out which one of these files is best suited for our device. You just have to rename the file you want to test to device_profile_vince_.textproto(the _ is to make sure you don't accidentally replace the original device_profile_vince.textproto file) and rename the original device_profile_vince.textproto to device_profile_vince.textproto.bak
If you believe you've found a file that's better than the one on the OP, then please tag me and post the file name in this thread and I'll test it to see if it's better before adding it to the OP
CHANGELOGS;
Code:
3.9.18:Updated links in OP and ARstickers link
5.7.18:Updated OP and Arstickers link
3.7.18:Updated OP
27.06.18:Updated OP
23.06.18:Updated ARCore link
16.06.18:Updated device_profile_vince file
31.05.18:Updated ARCore link
23.05.18: Updated ARStickers link
21.05.18: Initial post
FAQ:
Q:Why (insert app name) can't detect surface?
A:Find a surface that's not shiny or white color. Surfaces that are textured and have sufficient lighting can help. Sometimes a reboot can help too
Q:Why can't I install all apps that use ARCore in play store?
A:They're supposed to be only for devices that officially support ARCore. If you want to use them on vince, download using apkmirror
Q:Why ARCore still isn't working on MIUI even after I followed all the steps?
A:This could be because that MIUI is heavily modified from stock Android so a lot of things aren't working on it.
Q:Why isn't AR Stickers working?
A:Use this version Download, (MIRROR). Thanks to @Arnova8G2 for this
Reserved
Hi.
Thank you for your hard work.
Can I know if potentially all arcore's app can work on Vince?
I am asking this because I'm fully stock and I would like to know for root it.
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
Hi.
Thank you for your hard work.
Can I know if potentially all arcore's app can work on Vince?
I am asking this because I'm fully stock and I would like to know for root it.
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
All apps that use ARCore should work except for ARStickers, which you've to use the one linked in the FAQ. It's the only app so far I tested that needs to be modded to work.
Deer developer tried every step describe by you on miui costum rom wash n dish by Jerome-X but not worked any AR core based software always it is saying that device is not supported check the screen shots.
irfan.shikarpuri said:
Deer developer tried every step describe by you on miui costum rom wash n dish by Jerome-X but not worked any AR core based software always it is saying that device is not supported check the screen shots.
Click to expand...
Click to collapse
I wish Venice could support the AR core
Really good work done by you to enable this feature.
May be I am getting error due to miui
Mhhh... Weird.
I must wait 110 hours until unlock my bootloader... Damn.
Anyway.
I developed some app with Google tango.
And yes, the problem can be the Android version also.
Arcore works on few models with Android nougat. If you use a smooth vanilla 8.0 it can works (maybe).
If someone wants to try, please, try this app (now I can't because the bootloader),
Sent from my Redmi 5 Plus using Tapatalk
Now I got it that I have android 7.0 and AR core works good on android 8.0
Does not work with dotos.... why?
i followed exactly the guide...
irfan.shikarpuri said:
Now I got it that I have android 7.0 and AR core works good on android 8.0
Click to expand...
Click to collapse
Hmm, that's weird, it should work for nougat ROMs too. Maybe because MIUi is heavily modified
vespino75 said:
Does not work with dotos.... why?
i followed exactly the guide...
Click to expand...
Click to collapse
Are you sure you followed all the steps exactly? And how does it not work?
Yes I followed the instructions, and all the app (I tested 3 app) does not work (included the area stickers and yours in the guide).
I did also the last modify with root explorer... But I have the same problem of irfan
vespino75 said:
Yes I followed the instructions, and all the app (I tested 3 app) does not work (included the area stickers and yours in the guide).
I did also the last modify with root explorer... But I have the same problem of irfan
Click to expand...
Click to collapse
How does it not work? Did the app just crash or something else?
Stampyron said:
How does it not work? Did the app just crash or something else?
Click to expand...
Click to collapse
The app says "your device is not compatible with AR"
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
The app says "your device is not compatible with AR"
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
Then either you didn't rename the file correctly or you didn't restore SE context
Stampyron said:
Then either you didn't rename the file correctly or you didn't restore SE context
Click to expand...
Click to collapse
I did it. Both.
There is some problem... Can I do something?
I tried also to use the extension .proto instead .textproto, with the first extension the app crash.
Sent from my Redmi 5 Plus using Tapatalk
vespino75 said:
I did it. Both.
There is some problem... Can I do something?View attachment 4512944View attachment 4512945
I tried also to use the extension .proto instead .textproto, with the first extension the app crash.
Sent from my Redmi 5 Plus using Tapatalk
Click to expand...
Click to collapse
Try put permission to rw and reboot

Need pixel camera port on AOSP 6

Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Chenkual Thazuala said:
Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Click to expand...
Click to collapse
U have to uninstall any Gcam mods u have at this moment... Then try to install the latest mod...
Sareen279 said:
U have to uninstall any Gcam mods u have at this moment... Then try to install the latest mod...
Click to expand...
Click to collapse
Already tried. Version 6.1 tries to replace the stock AOSP camera. I think this is the reason
Chenkual Thazuala said:
Cannot install pixel 3 camera mon on AOSP EXTENDED PIE. Currently using pixel 2 mod. Try many mods, none of them canno install. Anyone can? please, mention
Click to expand...
Click to collapse
I am able to use Gcam 6.1.
I clean flashed the latest build (Nov 29).
This one works fine : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_FINAL_V1b_A8.1+.apk Try this
parveshchaudhary said:
I am able to use Gcam 6.1.
I clean flashed the latest build (Nov 29).
This one works fine : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_FINAL_V1b_A8.1+.apk Try this
Click to expand...
Click to collapse
Still cannot install
Chenkual Thazuala said:
Still cannot install
Click to expand...
Click to collapse
I have 4 camera apps installed. Stock Cam, One Plus Cam, Gcam Pixel 2 Mod, Gcam Pixel 3 Mod all of them works fine. Try doing a clean flash and then install the app given in the link.
I think that one of the cameras that you have installed is google legacy camera installed as a part of gapps flashed while flashing the rom.
If you have root, then install the system app remover from the play store, give permissions, and uninstall it using that app, and tldelete from the recylce bin of that app and reboot. Voila, ur app will install now.
Second option is try using the system app remover available in settings/extensions/system. Try to find camera in there, i couldnt find it as i have used the first method and removed it when i flashed the rom.
You r welcome.
akyiboy007 said:
I think that one of the cameras that you have installed is google legacy camera installed as a part of gapps flashed while flashing the rom.
If you have root, then install the system app remover from the play store, give permissions, and uninstall it using that app, and tldelete from the recylce bin of that app and reboot. Voila, ur app will install now.
Second option is try using the system app remover available in settings/extensions/system. Try to find camera in there, i couldnt find it as i have used the first method and removed it when i flashed the rom.
You r welcome.
Click to expand...
Click to collapse
Says no root access. I already flash magisk
Go into the magisk, and give root access to the app installed.
As i mentioned earlier, root access is required fr both the processes.
If you still face problem, i will post screen shots of it.

Guide: Samsung Health Is Working On Root Device

Hi there, I was search about the SHealth but for S10 Plus I didn't find any of thread related to the app instead one patched version. Yesterday I somewhere read the tutorial once I had S7 Edge to change build.prop text i.e ro.config.tima = 1 to ro.config.tima = 0 and it works without any issues or updating app. Just sharing with you nothing else. All credits goes to the original creator and I am just sharing it only. Just use the editor to edit file like root explorer or something like. Or use BuildProp Editor for this.
Best Regards
Well yeah, this change to build.prop is only needed for those running stock rom rooted, as most (if not all) custom roms already have this tweak and many others.
GearCEO said:
Hi there, I was search about the SHealth but for S10 Plus I didn't find any of thread related to the app instead one patched version. Yesterday I somewhere read the tutorial once I had S7 Edge to change build.prop text i.e ro.config.tima = 1 to ro.config.tima = 0 and it works without any issues or updating app. Just sharing with you nothing else. All credits goes to the original creator and I am just sharing it only. Just use the editor to edit file like root explorer or something like. Or use BuildProp Editor for this.
Best Regards
Click to expand...
Click to collapse
Do ro.config.knox=0
ro.config.timaversion=0
ro.config.rkf=0
That disables knox.
ExtremeGrief said:
Do ro.config.knox=0
ro.config.timaversion=0
ro.config.rkf=0
That disables knox.
Click to expand...
Click to collapse
Nice find sir
I'm not interested to root phone but I'll be glad to get Pixel ROM on S10+.
Sent from my SM-G975F using Tapatalk
No work with root in Android 10
Shealth works with root on Android10.
Only set tima=0
GearCEO said:
Hi there, I was search about the SHealth but for S10 Plus I didn't find any of thread related to the app instead one patched version. Yesterday I somewhere read the tutorial once I had S7 Edge to change build.prop text i.e ro.config.tima = 1 to ro.config.tima = 0 and it works without any issues or updating app. Just sharing with you nothing else. All credits goes to the original creator and I am just sharing it only. Just use the editor to edit file like root explorer or something like. Or use BuildProp Editor for this.
Best Regards
Click to expand...
Click to collapse
Just make a magisk module for it, very simple, it persists with updates.

[FIX] Proximity sensor on Redmi Note 7 and Note 7 Pro (NEEDS ROOT)

1) Install File Explorer Root Browser
2) Go to System folder
3) Scroll all the way down and opet build.prop file
4) Add these 2 lines at the end of the file:
Code:
ro.lge.proximity.delay = 150
mot.proximity.delay = 150
5) Save the file
6) Reboot
is this a permanent fix or what?
and how did u figure it out?
thx by the way
It should be permanent. Waiting to see will it stay fixed after rom update tho.
I did a lot of research, tried some apps but it did not work, and finally found this fix on some chinese forum.
mr_techno said:
1) Install File Explorer Root Browser
2) Go to System folder
3) Scroll all the way down and opet build.prop file
4) Add these 2 lines at the end of the file:
5) Save the file
6) Reboot
Click to expand...
Click to collapse
Delay is already set at 200 in build.prop. I doubt just changing the delay fixes much.
Keep us posted on the fix…ya never know
fox_xda2 said:
Delay is already set at 200 in build.prop. I doubt just changing the delay fixes much.
Keep us posted on the fix…ya never know
Click to expand...
Click to collapse
Well I did not have delay in my build.prop (using pixel experience plus rom) and so far, no more issues with the sensor. Maybe try and change it to 150? What rom are you using?
mr_techno said:
Well I did not have delay in my build.prop (using pixel experience plus rom) and so far, no more issues with the sensor. Maybe try and change it to 150? What rom are you using?
Click to expand...
Click to collapse
PE 10.
AFAIK the instable proximity sensor issue is due to a poor driver released in a Xiaomi firmware, nothing so easy to solve.
Just registered to say my formerly non-operational proximity sensor now works perfectly (Pixel Experience)! Thanks very much.
Sentox6 said:
Just registered to say my formerly non-operational proximity sensor now works perfectly (Pixel Experience)! Thanks very much.
Click to expand...
Click to collapse
Mine too following the OP instructions ?
fox_xda2 said:
Delay is already set at 200 in build.prop. I doubt just changing the delay fixes much.
Keep us posted on the fix…ya never know
Click to expand...
Click to collapse
Worked with OP instructions.
Sent from my Redmi Note 7 using XDA Labs
Thanks, it worked perectly on PE 9!
Thanks a lot! Worked wonderfully on PE 9!
if this fix doesnt work and youve tried all kinds of "fixes" you may want to check out this if you have previously changed the screen or frame or had any hardware repair done to your xiaomi redmi note 7, there may be small peices you forgot to install. https://forum.xda-developers.com/redmi-note-7/how-to/fix-xiaomi-redmi-note-7-proximity-t4008965
Did it, seems that solved my problem to hear whatsapp audios outside in the sun. Ty
For now works like a charm in MIUI 11.0.3.0 Global, thanks.
:good:
Just want to say thanks for this fix. Works with PE10 with latest Delta update. For those who don't want root can uninstall magisk after editing build prop no problem at all
CR Droid 6.2 12JAN release. Nothing has changed unfortunately with this trick :crying:
Thanks. I am on Havoc 3.1 and the it fixed it.
Well, this can be included for sure, if y'all can let me know this actually works, I'd add the prop to the device tree. Thanks!

Categories

Resources