Use image file as camera (Android 10) - Magisk

Instead of using the real camera, I would like to simulate the camera input as a static image file. I want it to work with any app, as if it was a camera. This question had been answered but it doesn't work with Android 10.
The real world use case is that I will need to scan a QR code / tag from WeChat in order to use WeChat official accounts, and WeChat made it mandatory to do it via the camera. You can test it on: https://mp.weixin.qq.com/ (You will need to register an account first obviously...)

following and please tell how to do this on android version below 10?

Ashish Gupta1999 said:
following and please tell how to do this on android version below 10?
Click to expand...
Click to collapse
There was an App called Fake Camera that used to work on Android 4 and is no longer available to download.

Related

Google Assistant on Moto X Play - Nougat - simple working method

​Hello All,
​This is the easiest way to get google assistant working on your Moto X Play running Nougat
https://www.youtube.com/watch?v=XL1HRyf1-lc&feature=youtu.be
It May work on other moto devices running Android Nougat
(please let me know in comments if this method works on any other device other than Motorola)
Requirement :
1. Android Nougat
2. Root Access
3. Build prop editor from google play store
https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Steps : open build prop editor and follow these steps
1. Edit "ro.product.brand" change the value to "Pixel XL"
2. Add new entry "ro.product.model" value "Pixel XL"
3. Add new entry "ro.opa.eligible_device" value "true"
4. Restart your device
5. clear google app data and cache
6. long press home key You got Your own google Assistant
Cheers
Jerry
Google assistant
This method works on my moto e2...Thank u so much.....???
If you still don't know how to get Google Assistant
Then Just Follow this video. Just trying to help who dont know how to get it.
got loop, AICP 7.1 11/11 optimus kernel R16
Edited build.prop, rebooted and cleared Google App Cache; no effect. Still get Now on Tap. Any ideas?
On AICP 7.1 11/11 Nightly
Thanx it worked.. love the new Google assistant
theepickorean said:
Edited build.prop, rebooted and cleared Google App Cache; no effect. Still get Now on Tap. Any ideas?
On AICP 7.1 11/11 Nightly
Click to expand...
Click to collapse
Rename ro.product.brand to ro.product.model. No need to add new entry
PSxplay said:
Rename ro.product.brand to ro.product.model. No need to add new entry
Click to expand...
Click to collapse
Thanks for this! Worked fine after doing so.
Works fine, or almost! Because all the time when I say Ok Google, appears the screen for recognize my voice. What can I do for fix it?
Isley Matias said:
Works fine, or almost! Because all the time when I say Ok Google, appears the screen for recognize my voice. What can I do for fix it?
Click to expand...
Click to collapse
Same problem here, actually.
theepickorean said:
Same problem here, actually.
Click to expand...
Click to collapse
basically GA is exclusive to pixel phones and in this method we are using the official app, so hot word issue gonna exist until someone find a way to fix it.
I found a workaround for OK Google. 'ChopAssistant' Install this app, enable accessibility service, and voila. Say okay Google and Google assistant pops up.
Thanks to Daniel F Q for this app.
flashable zip works
the flashable zip method works but it has no memory. as soon as you ext the app it loses memory.
Will this trigger the assistant when the phone is dosing/locked?
How is the compatibility with the speech recognition chip that can wake/unlock your Moto with its counterpart in the pixel in general?
I hope this is not off topic.
theepickorean said:
Same problem here, actually.
Click to expand...
Click to collapse
there is something called chop for assistant on playstore, install that...it would work fine

[Module] NFC Screen Off

NFC Screen Off
Read NFC tags when screen is off.
Disable NFC tagging sound.
Tap to pay when screen is off.
ALWAYS include Magisk installation logs when posting an issue.
Useful integrations: NFC Card Emulator Pro - Tasker
Installation metrics: Grafana dashboard
How does it work?
The NFC app is patched during installation into a `modded` version. This `modded` version is injected at boot time by service.sh so that the phone thinks the screen is always on and unlocked.
This patch only applies to NFC Service so it does not impact any other functionality of the phone that involves screen state detection.
The `modded` app was generated using this method.
Help section
MY NFC IS NOT DETECTED ANYMORE
If you did not unlock your device since last boot, unlock it and wait 30 seconds for the module to be loaded.
After that time, if NFC does not start automatically or manually, it means that the patch does not work for your device. You can uninstall the module and create an issue.
I AM STUCK IN A BOOTLOOP
Remove the module manually.
1. Boot into TWRP
1. Advanced -> File Manager
1. Delete /adb/modules/NFCScreenOff
1. Reboot
THE MODULE IS NOT WORKING SINCE LAST UPDATE
Perform a clean reinstallation.
1. Uninstall the module
1. Reboot
1. Install the module
1. Reboot
If it does not solve your problem, you can create an issue.
I LIKE THE MODULE
Only for rooted devices ok?
lapwat said:
NFCScreenOff
Enable NFC pooling while phone is locked and screen is off for Android 9 and above.
Make it work for host card emulator to pay in stores
Ask me
Click to expand...
Click to collapse
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?
maujogue said:
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?
Click to expand...
Click to collapse
Not yet. It's on the To-Do list.
Thanks for enabling this option.
It may not necessarily be a bad thing that it breaks safety net.
Enabling mobile payments while phone is locked is NOT a good idea. Your phone will be vulnerable to money theft with some special NFC devices. They can get close to your phone while it is in your pocket or purse and that is enough for them to steal your money.
crime_of_heart said:
Thanks for enabling this option.
It may not necessarily be a bad thing that it breaks safety net.
Enabling mobile payments while phone is locked is NOT a good idea. Your phone will be vulnerable to money theft with some special NFC devices. They can get close to your phone while it is in your pocket or purse and that is enough for them to steal your money.
Click to expand...
Click to collapse
Yes, that's a bad idea. I just want it to not brake payments, as I couldnt use Google pay even if I unlocked with this module
@lapwat Hi, awesome module. It is not working for me since the path (and app name) for nfc app is system/app/NxpNfcNci/NxpNfcNci.apk
Android 10.3.0
Oneplus 6
Stock ROM
Edit:attach log
maujogue said:
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?
Click to expand...
Click to collapse
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?
marcozpaulo said:
Only for rooted devices ok?
Click to expand...
Click to collapse
Yes, only for devices rooted with Magisk.
lapwat said:
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?
Click to expand...
Click to collapse
Now I get it regarding Google Pay.
lapwat said:
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?
Click to expand...
Click to collapse
Exactly. I tried paying but nothing happens, like if nfc didn't exists on my phone. I desinstalled the module and I could pay again. Paying is more important than reading nfc tags for me !
maujogue said:
Exactly. I tried paying but nothing happens, like if nfc didn't exists on my phone. I desinstalled the module and I could pay again. Paying is more important than reading nfc tags for me !
Click to expand...
Click to collapse
That's good to know. Will wait for further development.
SatanicShanker666 said:
@lapwat Hi, awesome module. It is not working for me since the path (and app name) for nfc app is system/app/NxpNfcNci/NxpNfcNci.apk
Android 10.3.0
Oneplus 6
Stock ROM
Edit:attach log
Click to expand...
Click to collapse
Thanks for the logs. Can you send those files to me:
/system/app/NxpNfcNci/NxpNfcNci.apk
/system/framework/framework-res.apk
I will do a version for people with NxpNfcNci app (I guess it is OnePlus customized NfcService).
My stock Xiaomi ROM had a NQNfcNci app.
lapwat said:
Thanks for the logs. Can you send those files to me:
/system/app/NxpNfcNci/NxpNfcNci.apk
/system/framework/framework-res.apk
I will do a version for people with NxpNfcNci app (I guess it is OnePlus customized NfcService).
My stock Xiaomi ROM had a NQNfcNci app.
Click to expand...
Click to collapse
Ok nice, thanks! Here you go:
http://www.mediafire.com/file/2zcmud0i2z8y0vy/framework-res.apk/file
http://www.mediafire.com/file/fys9ee6s308qmy9/NxpNfcNci.apk/file
SatanicShanker666 said:
Ok nice, thanks! Here you go:
http://www.mediafire.com/file/2zcmud0i2z8y0vy/framework-res.apk/file
http://www.mediafire.com/file/fys9ee6s308qmy9/NxpNfcNci.apk/file
Click to expand...
Click to collapse
I've done it! Try installing the module and tell me if it works!
lapwat said:
I've done it! Try installing the module and tell me if it works!
Click to expand...
Click to collapse
Not the same guy, but also using Oneplus. It installed successfully but doesn't seem to be working.
Is it possible to modify the installation script to account for ncinfc with other names? For instance on the Razer phone 2 it is named NQNFCnci so the script can't find it
virseph said:
Not the same guy, but also using Oneplus. It installed successfully but doesn't seem to be working.
Click to expand...
Click to collapse
2me3 said:
Is it possible to modify the installation script to account for ncinfc with other names? For instance on the Razer phone 2 it is named NQNFCnci so the script can't find it
Click to expand...
Click to collapse
From what I understand from feedbacks, the apk app can have several names:
NfcNci
NQNfcNci
NpxNfcNci
Those names do not depend of the device but depend of the ROM.
Two apk with the same name will in fact be different. They are very related to the framework of the ROM.
Loading an APK from another ROM even if it is the same Android version will have little chance to work.
I cannot detect all the specs of the device. Magisk only gives me the Android SDK Version that's all.
I could make an apk for every ROM.
2 possibilities:
- Zip framework.apk + (NQ/Npx)NfcNci.apk, send it to a server. The server will return a custom apk just for your ROM. This is the one that Magisk will use.
- Build the custom APK directly on the phone, but I cannot find how to run apktools, jarsigner, etc on Android (because there is no JAVA env on Android)
Hi, on my first try a few days ago it didn't install i think it was because the path too, but now it works perfect. Thanks dev:good:
oneplus 6
Android 10 OB 33
xXx magisk on stock rom
Blu spark kernel
Sent from my OnePlus6 using XDA Labs
lapwat said:
From what I understand from feedbacks, the apk app can have several names:
NfcNci
NQNfcNci
NpxNfcNci
Those names do not depend of the device but depend of the ROM.
Two apk with the same name will in fact be different. They are very related to the framework of the ROM.
Loading an APK from another ROM even if it is the same Android version will have little chance to work.
I cannot detect all the specs of the device. Magisk only gives me the Android SDK Version that's all.
I could make an apk for every ROM.
2 possibilities:
- Zip framework.apk + (NQ/Npx)NfcNci.apk, send it to a server. The server will return a custom apk just for your ROM. This is the one that Magisk will use.
- Build the custom APK directly on the phone, but I cannot find how to run apktools, jarsigner, etc on Android (because there is no JAVA env on Android)
Click to expand...
Click to collapse
Yes I extracted the zip and modified the customize/service.sh scripts to properly work with my rom and as you stated it did not work. as soon as the script killed the nfc service it triggered a reboot to recovery.
I PM'd you a gdrive link to the stock apk's from the razer phone 2 Pi stock rom. If you have some time would please build it for me? I tried to do it myself a while ago but ran out of steam before i even got all the dependencies running on my computer lol. I can modify your magisk package to work with it myself.
I like your idea of a server that automatically runs the process to patch the apk. Would every use need to upload both the framework.apk and nfcnci or just the nfc? The only concern I would have is bandwithd as the framework apk is 30+ MB's. If you could build the server into a docker container I think it would be easy enough for others to host you could probably find some people willing to host it for free. Another option could be using a google drive account to allow people to upload the apk's for their phone then batch process them all and sort them by model/build # or something to cover most phones/roms . I have a gapps for business account with unlimited storage I could probably lend for this purpose
Once again thanks for all your work! If you have a bitcoin address i'd like to buy you a beer

Native Call Recorder P30 PRO for EMUI 10 by SYG

Hello everyone, you can use the following app for the new call recorder. Download and install, that's all. My phone P30 pro 10.1.0.150 and it works perfectly.
Tryed to install, but it said app not installed. Are you sure is it working with EMUI 10.1.0.
Anjana813 said:
Tryed to install, but it said app not installed. Are you sure is it working with EMUI 10.1.0.
Click to expand...
Click to collapse
Exactly
"by SYG"?
I`ve extracted this apk from Indian FW and published it about 1,5 month ago on russian forum, then here in October.
https://forum.xda-developers.com/huawei-p30-pro/how-to/call-recorder-10-1-regions-t4173387
Anjana813 said:
Tryed to install, but it said app not installed. Are you sure is it working with EMUI 10.1.0.
Click to expand...
Click to collapse
Yes, it is definitely working on ÍEMUI 10.1. You received that error message because an earlier version of the call recording app is still on your device. The P30 Pro was released with a native call recording app pre-installed. If you upgraded your device to EMUI 10 and then to 10.1 and haven't performed a factory reset since then, the old app is still on your device. As it was written above and in a similar thread post (https://forum.xda-developers.com/showpost.php?p=83653109&postcount=105), the call recording feature was preserved on Indian region devices even on EMUI 10.1. In other regions, the feature became disabled after the EMUI 10 update. The official Huawei communication is that the call recording feature was disabled after the EMUI 10 update due to data protection laws and regulations. However, the India region apk can be installed on EMUI 10.1. and it is working perfectly.
So, if you haven't performed a factory reset since the EMUI 10 and 10.1 upgrades, you should uninstall the old call recording app.
1. Go to Settings>Apps>Apps.
2. Then in the top-right corner tap the three-dot menu and tap on 'Show system processes'.
3. Scroll down to an app called 'Recorder'. There might be two apps with this name. One is the Sound recorder app and the one with the android bug icon is the old call recorder.
4. Uninstall the Recorder app with the green android bug icon.
5. Install the downloaded apk.
6. Finally, reboot your device. The call recorder should work now. You might have to grant permissions (for me all permissions were granted upon installation). The recorded files will be in Sounds/CallRecord.
rm001 said:
"by SYG"?
I`ve extracted this apk from Indian FW and published it about 1,5 month ago on russian forum, then here in October.
https://forum.xda-developers.com/huawei-p30-pro/how-to/call-recorder-10-1-regions-t4173387
Click to expand...
Click to collapse
Congratulations, I don't disrespect anyone's work. I didn't say I did it anyway. So I found this, published it. I have a favor to ask of you. Can you update the same app for the up-and-coming Emui 11?
Thank you again, good luck
gokhanozkan said:
Congratulations, I don't disrespect anyone's work. I didn't say I did it anyway. So I found this, published it. I have a favor to ask of you. Can you update the same app for the up-and-coming Emui 11?
Thank you again, good luck
Click to expand...
Click to collapse
It will be possible to try to do this when the update to EMUI 11 is released in the Indian region.
Hi guys that working and with EMUI 11
Just I checked
Hi. I confirm. The phone updated itself to version 11 overnight and the recording still works.

Question oneplus call recorder backup

Hello everyone
I need your help to backup the recordings on oneplus call recorder.
to mention it's not built in app. and cannot install native op dialer.
Before the op10 I had op 6t and the record worked through the adb.
appreciate any help
(I have the european version)
menel said:
Hello everyone
I need your help to backup the recordings on oneplus call recorder.
to mention it's not built in app. and cannot install native op dialer.
Before the op10 I had op 6t and the record worked through the adb.
appreciate any help
(I have the european version)
Click to expand...
Click to collapse
Try this and tell me results as I m using.
[Updated]One plus stock dialer with call recording working [without Root]
The latest version of the OP dialer is not compatible so I tried many old versions ( i exactly not know which version is this), but I have attached the file taken from some website. The dialer is not opening in app drawer; BUT IT IS WORKING WHEN...
forum.xda-developers.com
doc.K said:
Try this and tell me results as I m using.
[Updated]One plus stock dialer with call recording working [without Root]
The latest version of the OP dialer is not compatible so I tried many old versions ( i exactly not know which version is this), but I have attached the file taken from some website. The dialer is not opening in app drawer; BUT IT IS WORKING WHEN...
forum.xda-developers.com
Click to expand...
Click to collapse
Sorry, still not working. may be it's blocked by OP that won't allow to change the dialer.
menel said:
Sorry, still not working. may be it's blocked by OP that won't allow to change the dialer.
Click to expand...
Click to collapse
Your browser is not able to display this video.
Hi, if it's ok for you to back up your call logs from your OnePlus 10 Pro to the computer, try Coolmuter Android Backup Manager. Its free backup function can help you do that easily via USB cable. You don't need to root your phone, you just need to enable the USB debugging on your OnePlus 10 Pro. Then you can do the backup easily. Hope this will be your help.
menel said:
Hello everyone
I need your help to backup the recordings on oneplus call recorder.
to mention it's not built in app. and cannot install native op dialer.
Before the op10 I had op 6t and the record worked through the adb.
appreciate any help
(I have the european version)
Click to expand...
Click to collapse
I'm having similar problems, so please let me know if you find a proper solution to this.
Elijah256 said:
I'm having similar problems, so please let me know if you find a proper solution to this.
Click to expand...
Click to collapse
Hi, I dowloaded 3 apk's not from the google play. joneplus tools' oneplus call record and google phone. I found them here in the forum. Not always workung but most of the time either one of them or both aplications recorded.

Question call recording dialer \flash rom to india os?

Hi,
sorry Im newish to this. I got the phone last week and one critical thing is to have call recording on it. I went through various posts and there was some stock oneplus apk dialers (says with call recording) instead of the google one.
I managed to install and yes, the dialer apk (called contacts) works fine and I disabled the google dialer(thats fine as well).
HOWEVER, I still dont get the call recording function. I presume because it is a global version?(see attachment).
What are my options as this feature is important for me...can I flash it to indan rom without bricking it and would that help? Ive seen posts that made me hesitant(mostly color os to indian oxygen) as the unit seemed to get bricked.
I also tried some adb commands but the phone never took them. the version I have is A15. Thank you so much and I hope I made sense.
Read my last post in this topic
Enable Native Call Recording + OP Stock Dialer on OnePlus 10 Pro
Hi guys, Just upgraded from OP7T to OP10 Pro as a European user. Call recording functionality does not come with the device here. Had native call recording enabled on my OP7T through jOnePlus Tools and the likes. Jtools Oneplus does not install...
forum.xda-developers.com
LastLeader said:
Read my last post in this topic
Enable Native Call Recording + OP Stock Dialer on OnePlus 10 Pro
Hi guys, Just upgraded from OP7T to OP10 Pro as a European user. Call recording functionality does not come with the device here. Had native call recording enabled on my OP7T through jOnePlus Tools and the likes. Jtools Oneplus does not install...
forum.xda-developers.com
Click to expand...
Click to collapse
Great.. I think that is the dialer I downloaded. Question is how can I switch to the Indian os? Thanks
rudabb said:
Great.. I think that is the dialer I downloaded. Question is how can I switch to the Indian os? Thanks
Click to expand...
Click to collapse
Install Oxygen Updater from Google Play, it will let you download latest Indian version .zip update (use ADVANCED MODE to allow region switch EU|GLOBAL to IN ).
After that, use local upgrade to install IN OTA upgrade.
If you can't use this metod... go to Oxygen OS Repo for your device and download the latest INDIA .zip. Then local install...
You might need an apk for local install on OXYGEN OS 12 (OPLocalUpdate_For_Android12.apk)
, search it in this forum...
rudabb said:
Great.. I think that is the dialer I downloaded. Question is how can I switch to the Indian os? Thanks
Click to expand...
Click to collapse
Are you rooted? If yes, you don't need to change region.
You can use Magisk Modul/apk to record over stock/Google dialer.
spevil07 said:
Are you rooted? If yes, you don't need to change region.
You can use Magisk Modul/apk to record over stock/Google dialer.
Click to expand...
Click to collapse
I am not rooted
THIS WORKED!!!!!! amazing..Thanks
Lineage-fan said:
Install Oxygen Updater from Google Play, it will let you download latest Indian version .zip update (use ADVANCED MODE to allow region switch EU|GLOBAL to IN ).
After that, use local upgrade to install IN OTA upgrade.
If you can't use this metod... go to Oxygen OS Repo for your device and download the latest INDIA .zip. Then local install...
You might need an apk for local install on OXYGEN OS 12 (OPLocalUpdate_For_Android12.apk)
, search it in this forum...
Click to expand...
Click to collapse
I mean this..and it was painless..thanks
rudabb said:
THIS WORKED!!!!!! amazing..Thanks
Click to expand...
Click to collapse
Please Could You Confirm That you have native call recording now after flashing indian firmware ?? Whats is difference between global and indian software advantage/disadvantage.
Any updates on this plz I'm very interested
Islam.Gadallah said:
Please Could You Confirm That you have native call recording now after flashing indian firmware ?? Whats is difference between global and indian software advantage/disadvantage.
Click to expand...
Click to collapse
India version is also Global, review as differences. The only difference is an IMEI error to join the Red cable Club!

Categories

Resources