Huawei P20 Pro Camera - UPDATED May 2018 - Huawei P10 Themes, Apps, and Mods

Hi guys!
I updated the thread with the new version of the camera app from the P20 Pro, the UI has some little changes that makes the app better than before, I uploaded some screenshoots too.
To get working the app just follow this steps (you'll need root access):
1.- Backup your current Hwcamera2 folder (product/app/HwCamera2) (Optional)
2.- Download the P20 pro camera app from HERE
3.- Open your favorite root explorer and go to product/app, delete the HwCamera2 folder and paste the new version contained into the zip file)
4.- To avoid bugs, delete the camera folder from system/priv-app/HwCamera2.
4.- Enjoy
This is for P10 and P10 Plus, It will work on Honor devices too, just try it!
I extracted this version from the product image (firmware Ctl-L29C33B120a -11.05.2018), the camera contained in system/priv-app doesn't work. I noticed that the sizes are different (the one from product 35mb~ and the one from system/priv-app just 28mb~)
My device is a VTR-L29C605 rebranded to C432, running oreo 8.0B365.
Hit thanks.

I can't find any .apk ^^

Nakedchef said:
I can't find any .apk ^^
Click to expand...
Click to collapse
How hard did you look?
Follow the first link https://forum.xda-developers.com/showpost.php?p=75828843&postcount=7
Download and extract the .zip file from the Mega download
Browse to system/priv-app/HwCamera2 and find HwCamera2.apk

Interesting... does it provide any additional options though? Like the 240&960 FPS slow-mo, FHD+ resolution, or the 4D Predictive Focus. Are they working?
EDIT: Also from what I see I need root explorer in order to locate /product/app, am I right?

BloodBullet said:
Interesting... does it provide any additional options though? Like the 240&960 FPS slow-mo, FHD+ resolution, or the 4D Predictive Focus. Are they working?
EDIT: Also from what I see I need root explorer in order to locate /product/app, am I right?
Click to expand...
Click to collapse
Yes, you need root, you can use too the native file explorer from TWRP.
About the video features, I haven't tried them
Edit: I recorded a video, FullHD is working, about slow-mo only 120fps, and 4D predictive focus... maybe hardware limitations...

Is it possible to instal without root?
Sent from my VTR-L09 using Tapatalk

kima81 said:
Is it possible to instal without root?
Click to expand...
Click to collapse
I guess, maybe with adb but I don't know the commands.
why you don't root it? or you don't want to unlock your bootloader?

sfoot13 said:
I guess, maybe with adb but I don't know the commands.
why you don't root it? or you don't want to unlock your bootloader?
Click to expand...
Click to collapse
Yes, exactly! I do not want to unlock a bootloader (so I would not lose my device warranty).
Thanks anyway!
Sent from my VTR-L09 using Tapatalk

kima81 said:
Yes, exactly! I do not want to unlock a bootloader (so I would not lose my device warranty).
Thanks anyway!
Sent from my VTR-L09 using Tapatalk
Click to expand...
Click to collapse
It took me 2/3 days hard brick my new phone, I made a mistake fixing a bootloop when I updated it to oreo (because I rooted it and deleted some apps) I reinstalled the firmware with the hwota method for nougat, bad idea, it ended in Error Mode, I searched a lot for a possible fix, but nothing worked, so I decided relock my bootloader (maybe this was the worst idea that I ever had xD, I ended with a death phone, stuck at Huawei's logo, no fastboot, no recovery, nothing, I sent it to the store where I bought it and they sent it to the tech service, I waited 2 weeks, and my phone was repaired for free , maybe I was lucky but I didn't lose the warranty.
The point is, don't be afraid to play with your phone, just be careful :silly:
(I remember when I bought my notebook 3 years ago, I killed it the first day xD I was trying to install Ubuntu, no internet for download the SO and no pc for burning into a cd or usb, well that's my story.

Working fine on my VTR-L09. Works perfectly fine with the stock P10 gallery as well. What benefits does the P20 gallery give?

hi, I copied the HwCamera2 folder in product/app and deleted the same folder from system/priv-app/HwCamera2 but the only result I get is the cancellation of my camera, do you know why? thank you so much for your help

MrDanMak said:
Working fine on my VTR-L09. Works perfectly fine with the stock P10 gallery as well. What benefits does the P20 gallery give?
Click to expand...
Click to collapse
Are you using Oreo or Nougat?
This is for Oreo, I don't know if it works on Nougat.
If you are on Oreo, reboot the phone and open again the camera, if that doesn't work, delete the HwCamera2 folder from product/app and reboot, then paste it again and reboot again. It should work

MrDanMak said:
Working fine on my VTR-L09. Works perfectly fine with the stock P10 gallery as well. What benefits does the P20 gallery give?
Click to expand...
Click to collapse
Maybe the same that we actually have, but with a different design.

sfoot13 said:
Are you using Oreo or Nougat?
This is for Oreo, I don't know if it works on Nougat.
If you are on Oreo, reboot the phone and open again the camera, if that doesn't work, delete the HwCamera2 folder from product/app and reboot, then paste it again and reboot again. It should work
Click to expand...
Click to collapse
Yes, I'm using oreo, I do not understand where I'm wrong, but it does not work for me.?

Working in Mate 10 Pro, BLA-L29 137 (C432). Awesome. Thank you! No specialc features, but atleast some fresh UI change!

will it work on honor 7x ??

mithun.sharma80 said:
will it work on honor 7x ??
Click to expand...
Click to collapse
I guess bro. maybe in every Huawei phone running Oreo. :good:

Good morning after the update I tried again and now it works perfectly on P10 .... Thanks

Parse error
Can u please help me to fix this because when i click the apk, parse error always appears

Esven Tadaya said:
Can u please help me to fix this because when i click the apk, parse error always appears
Click to expand...
Click to collapse
Hey my friend! Try with the new version, I updated the thread, just follow the steps

Related

Remove Chinese in Apps

Anybody knows, how can we remove chinese words in apps like phone dialer, U Health, GT Browser?
Can we find all apps in english?
Can we use Z1 international apps in our device?
You can delete most of them and replace with Play Store apps.
Karly Johnston said:
You can delete most of them and replace with Play Store apps.
Click to expand...
Click to collapse
I m talking about dialer, browser. I like them but they are not translated well.
Lenovo Zuk Z2 Pro
dtosun said:
I m talking about dialer, browser. I like them but they are not translated well.
Lenovo Zuk Z2 Pro
Click to expand...
Click to collapse
I deleted the browser and replaced with Chrome. The dialer is fine with me.
@OP
For me the ultimate solution would be either installing a custom Rom or if/when Lenovo release a global Stock Rom.
zuk z2 pro
Karly Johnston said:
I deleted the browser and replaced with Chrome. The dialer is fine with me.
Click to expand...
Click to collapse
hi everyone, i need your help.
i,ve just bought my phone ZUK Z2 PRO and only see some app.
for examp,e, i don,t see any app to use pulsometer and other sensor.
do you know hot to activate this app.
thanks
rawafe said:
hi everyone, i need your help.
i,ve just bought my phone ZUK Z2 PRO and only see some app.
for examp,e, i don,t see any app to use pulsometer and other sensor.
do you know hot to activate this app.
thanks
Click to expand...
Click to collapse
If you are talking about Uhealth then swipe to the left on the homescreen.
Edit: Please delete this post
rawafe said:
hi everyone, i need your help.
i,ve just bought my phone ZUK Z2 PRO and only see some app.
for examp,e, i don,t see any app to use pulsometer and other sensor.
do you know hot to activate this app.
thanks
Click to expand...
Click to collapse
ignore my other post
Problem solved. It's a modified version of the system, these apps have been removed and when installing them manually they didn't work.
You can install the original ROM, without having to root or anything, just google for '[HOWTO] Flash a Stock ZUI ROM (ZUK Z2 Pro Z2121 only!)', should be the first result.
make sure to use method 2, method 1 won't work, put the downloaded files in folders with short names on C:\ and don't use space or any symbols in the folder names. Also download the files from the link of the second method, not the first one, the password for the archive is
club.lenovo.com.cn
Click to expand...
Click to collapse
The system will be in chinese, with english available (for english language go to settings, then the option with the cog symbol, then second option, then first option), the translation for other languages were horrible anyway. You will have the newest version of the software with all the app, including U-Health etc. You will also be able to get future updates on the phone itself, which isn't possible with the 'international ROM'. Also stuff like permission manager will work, but you have to install the google apps yourself, which is very easy after googling for a tutorial.
EVPointMaster said:
ignore my other post
Problem solved. It's a modified version of the system, these apps have been removed and when installing them manually they didn't work.
You can install the original ROM, without having to root or anything, just google for '[HOWTO] Flash a Stock ZUI ROM (ZUK Z2 Pro Z2121 only!)', should be the first result.
make sure to use method 2, method 1 won't work, put the downloaded files in folders with short names on C:\ and don't use space or any symbols in the folder names. Also download the files from the link of the seconds method, not the first one, the password for the archive is club.lenovo.com.cn
The system will be in chinese, with english available (for english language go to settings, then the option with the cog symbol, then seconds option, then first option), the translation for other languages were horrible anyway. You will have the newest version of the software with all the app, including U-Health etc. You will also be able to get future updates on the phone itself, which isn't possible with the 'international ROM'. Also stuff like permission manager will work, but you have to install the google apps yourself, which is very easy after googling for a tutorial.
Click to expand...
Click to collapse
Thank you.
I did it and my phone works. Beautiful.
On the other, only a question.
When I try to check if there is a new upgrade a message appears in my mobile.
The message said: Your mobile has been root, isn't available upgrade.
Do you know if the mobile is rooted when you do the flashing with the method that you posted.
Thanks advanced.
Why these chinese manufacturer put Chinese on their devices even on international model.
Very frustrating.
Sent from my Moto G 2014 using XDA-Developers mobile app
rawafe said:
Thank you.
I did it and my phone works. Beautiful.
On the other, only a question.
When I try to check if there is a new upgrade a message appears in my mobile.
The message said: Your mobile has been root, isn't available upgrade.
Do you know if the mobile is rooted when you do the flashing with the method that you posted.
Thanks advanced.
Click to expand...
Click to collapse
I don't get that message, for me it just says 'No Update available' and Rootchecker also says, that I don't have root access.
Maybe the shop you bought it from rooted it? You could try unrooting it.
Also when you want to update with the System Update app, you need to be connected to a chinese VPN
EVPointMaster said:
I don't get that message, for me it just says 'No Update available' and Rootchecker also says, that I don't have root access.
Maybe the shop you bought it from rooted it? You could try unrooting it.
Also when you want to update with the System Update app, you need to be connected to a chinese VPN
Click to expand...
Click to collapse
If the shop rooted it then it likely has a reseller ROM.

Nougat Dialer/Contacts

There are a lot of apks and zips which aren't working on Moto Z. This one IS working.
Just flash it with TWRP and set as default phone app.
Update: 10 December 2016
- Update Google Contacts (1.6.15) for 6.x/7.x ROMs
- Update Google Dialer (7.0.140755802) for 7.1
Download Links:
For Marshmallow 6.0/ Nougat 7.0
For Nougat 7.1
Manish54 said:
There are a lot of apks and zips which aren't working on Moto Z. This one IS working.
Just flash it with TWRP and set as default phone app.
Click to expand...
Click to collapse
Doesn't it works as simple apk too?
enetec said:
Doesn't it works as simple apk too?
Click to expand...
Click to collapse
I've tried installing all the versions from apkmirror, they all fail to install. (for me at least)
Have you tried installing it?
Manish54 said:
I've tried installing all the versions from apkmirror, they all fail to install. (for me at least)
Have you tried installing it?
Click to expand...
Click to collapse
Not yet. Just askin'...
enetec said:
Not yet. Just askin'...
Click to expand...
Click to collapse
Well this is the only working file I could find.
Manish54 said:
Well this is the only working file I could find.
Click to expand...
Click to collapse
Just tried... If you simply extract the two apk from the zip you can install them with no issues at all... (I prefer it from flashing...)
The Contact apk is the same as you can find on Play Store, while the Telephone apk is a (lot) newer version than that available on Play Store... Thanx a lot! :highfive:
EDIT: wrong! No problem with contacts, it can be downloaded and installed from Play Store too... BUT Telephone refused to install on Z while installed fine on another MM I use... I'll investigate more on this issue...
---------- Post added at 10:02 AM ---------- Previous post was at 09:03 AM ----------
enetec said:
EDIT: wrong! No problem with contacts, it can be downloaded and installed from Play Store too... BUT Telephone refused to install on Z while installed fine on another MM I use... I'll investigate more on this issue...
Click to expand...
Click to collapse
Ok, it's possible to install single apks BUT it's needed to install jar & permissions file (& reboot before...) so, for newbies is probably better to simple flash the zip (that is ok, I've cheched...)
Main difference is that flashing after the apps can't simply be uninstalled but become part of the system since they are put in priv-apps... (ok, they can be freezer or removed by a root file manager anyway...)
I'm using it anyway... small differencies for contacts, a lot more (and interesting...!) for dialer...
enetec said:
Just tried... If you simply extract the two apk from the zip you can install them with no issues at all... (I prefer it from flashing...)
The Contact apk is the same as you can find on Play Store, while the Telephone apk is a (lot) newer version than that available on Play Store... Thanx a lot! :highfive:
EDIT: wrong! No problem with contacts, it can be downloaded and installed from Play Store too... BUT Telephone refused to install on Z while installed fine on another MM I use... I'll investigate more on this issue...
---------- Post added at 10:02 AM ---------- Previous post was at 09:03 AM ----------
Ok, it's possible to install single apks BUT it's needed to install jar & permissions file (& reboot before...) so, for newbies is probably better to simple flash the zip (that is ok, I've cheched...)
Main difference is that flashing after the apps can't simply be uninstalled but become part of the system since they are put in priv-apps... (ok, they can be freezer or removed by a root file manager anyway...)
I'm using it anyway... small differencies for contacts, a lot more (and interesting...!) for dialer...
Click to expand...
Click to collapse
Yep the dialer refused to install Everytime and the new dialer is dope.
And the zip works fine to avoid all the hustle for newbies like me
Thanks for spending your time on it :fingers-crossed:
Manish54 said:
There are a lot of apks and zips which aren't working on Moto Z. This one IS working.
Just flash it with TWRP and set as default phone app.
Click to expand...
Click to collapse
How did you root your phone? Do you have a Verizon phone?
Moto.Matt said:
How did you root your phone? Do you have a Verizon phone?
Click to expand...
Click to collapse
http://forum.xda-developers.com/moto-z/how-to/moto-z-hacking-experiences-t3502409/page1
Nope. I have the Indian one.
Manish54 said:
http://forum.xda-developers.com/moto-z/how-to/moto-z-hacking-experiences-t3502409/page1
...
Click to expand...
Click to collapse
I love that topic... :laugh:
enetec said:
I love that topic... :laugh:
Click to expand...
Click to collapse
That topic saved my a$$
*Bump*
Why there's no option to delete a post?
enetec said:
Doesn't it works as simple apk too?
Click to expand...
Click to collapse
There's a modded apk here, somewhere, but the problem becomes the caller id functions don't work as it needs to be signed by Google to use the correct APIs. So unless Google messes up like they did with 2.05_rc4 we'll never have an "simple apk" version.
fr4nk1yn said:
There's a modded apk here, somewhere, but the problem becomes the caller id functions don't work as it needs to be signed by Google to use the correct APIs. So unless Google messes up like they did with 2.05_rc4 we'll never have an "simple apk" version.
Click to expand...
Click to collapse
I saw. Already installed as I said... They need the .jar and .xml of permissions ...
Anyway, the dialer is a *major* upgrade, not only a "cosmetic" one... It is a newer version than the one released with Aosp Nougat 7.1 and beneath there are some newer versions too, it is the newer one working on MM too (the others need at least v. 7.0 to work...)
enetec said:
I saw. Already installed as I said... They need the .jar and .xml of permissions ...
Anyway, the dialer is a *major* upgrade, not only a "cosmetic" one... It is a newer version than the one released with Aosp Nougat 7.1 and beneath there are some newer versions too, it is the newer one working on MM too (the others need at least v. 7.0 to work...)
Click to expand...
Click to collapse
Which version of dialer is this?
wolfu11 said:
which version of dialer is this?
Click to expand...
Click to collapse
5.1.131226882
Manish54 said:
5.1.131226882
Click to expand...
Click to collapse
Yup... Just used (yesterday...) the new "search around" feature to order my pizza...
Manish54 said:
There are a lot of apks and zips which aren't working on Moto Z. This one IS working.
Just flash it with TWRP and set as default phone app.
Click to expand...
Click to collapse
Does this works on Nougat?
Sent from my XT1650 using XDA-Developers mobile app
juliospinoza said:
Does this works on Nougat?
Sent from my XT1650 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nope, it doesn't work with stock android nougat on my moto z xt1650-03, retailmx. After the restart the phone wasn't able to open, not a single app was able to recover my phone app; so I applied my TWRP backup and tried again, same result. So I decided to make it work because I didn't want to delete everything again so, this is what I did:
Make sure to flash the zip, and if you can use your phone anymore, don't panic like me...
1. Erase the app via Titanium Backup pro
2. Restart the phone
3. Go to the file explorer, find the zip of the nougatdialer and extract the dialer apk
4. install it like a normal app and voila!
5. grant permissions if needed.
I think the normal apk should work on nougat.
If not here's the nougat zip:
https://www.androidfilehost.com/?fid=457095661767120304

[stock camera][port][patched][updated]

STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5. Done Enjoy Stock Camera on any custom rom
I'd like to give credit to DevendraMilmile121 for the original port here.
Also credits to data365 for his mod here
I patched the apk to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Download v6.0.54.1
Download v6.0.78.1
Enable Write to external sdcard:
ExtSD_Fix_rw-signed-v1.9b.zip
Thank you so much. Working fine on pure Nexus
Enviado desde mi Moto G4 mediante Tapatalk
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Working fine on crDoid. Thank you so much!
echo92 said:
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Click to expand...
Click to collapse
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Would you please share another link beside afh because i get some problem with download from afh
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
baunthiyal said:
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
Click to expand...
Click to collapse
I didn't see issues with video recording either with the patched Moto camera and deleting the .jar files, or using this Moto camera as is. The Motorola settings seems to pop up whenever, but dismissing it doesn't seem to cause issues with the camera app or the system itself - curious!
dedik46 said:
Would you please share another link beside afh because i get some problem with download from afh
Click to expand...
Click to collapse
https://ufile.io/y6fm5
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
ramansehra said:
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...-motorala-camera-write-to-externalsd-t3498573
gabriwinter said:
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Click to expand...
Click to collapse
Yes look forward to [emoji4]
gabriwinter said:
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5.Done Enjoy Stock Camera on any custom rom
Download
All credits to DevendraMilmile121 for the original port here.
I just patched to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Click to expand...
Click to collapse
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
optionalmgrr.la said:
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
Click to expand...
Click to collapse
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
gabriwinter said:
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
Click to expand...
Click to collapse
Cool. Let's hope someone fix this further
i mean, perhaps setup a wrapper to divert the error message.... something like that.
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
optionalmgrr.la said:
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
Click to expand...
Click to collapse
I'm using cr droid and had this camera tuner by default
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
tiagovicente2 said:
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
Click to expand...
Click to collapse
This camera port is for athene only.

[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

[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