Related
UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Hi all. Long time lurker, first time developer. I created a modified version of the Xposed Framework that doesn't cause you to fail SafetyNet, even while it's enabled and active. Instructions:
Remove any existing Xposed versions
Get your phone in a state where it passes SafetyNet without Xposed (install a custom kernel to hide an unlocked bootloader, hide root with RootSwitch, etc.)
Install the Xposed Installer app if you don't already have it
Go to https://github.com/josephcsible/Xposed/releases/tag/v86a and download xposed-v86a-safetynet-josephcsible-sdk23-arm.zip
Flash xposed-v86a-safetynet-josephcsible-sdk23-arm.zip from recovery
Wipe cache and dalvik
Reboot
You should now have Xposed installed and enabled, with all of your modules working, without failing SafetyNet. Notes:
Do not turn off Xposed with RootSwitch with this build. It will probably break things because of differences in how app_process sits, and the entire point of this build is that you don't need to do this.
The only build I made was for ARM and Marshmallow, because that's all I have to test on
The official uninstaller won't work right with this version, so use my version of the uninstaller instead
This passes SafetyNet as of November 2nd. It probably won't for very long.
Technical details:
I made this build by compiling my own app_process, then editing it into the stock installer zip. I didn't recompile anything else or use the tools to make the zip.
app_process32 is now a regular file instead of a symlink to app_process32_xposed.
XposedBridge.jar is now called YqptfeBridge.jar (since SafetyNet checks the classpath for a file called XposedBridge.jar)
I obfuscated many of the strings in the app_process binary with a simple Caesar cipher. The source for this is in the GitHub with the download link.
Enjoy it while it lasts!
Great work, thanks! Though I think the method is kind of dirty.
Yeah, but I'm not overly concerned since I expect at best a few weeks before it gets patched and I have to redo it all anyway.
aviraxp said:
Great work, thanks! Though I think the method is kind of dirty.
Click to expand...
Click to collapse
You mean that it's not good to install it ?
MrMikeTyson said:
You mean that it's not good to install it ?
Click to expand...
Click to collapse
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
josephcsible said:
He means in terms of code quality and maintainability from developers' standpoints. It's perfectly fine from the users' ends.
Click to expand...
Click to collapse
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
MrMikeTyson said:
Ah ! Okay !! What about safetynet not passing ? See screenshots... What can i do please ?
Click to expand...
Click to collapse
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
josephcsible said:
It no longer passes for me either. I can't believe Google fixed it so fast. I'm working on another release now.
Click to expand...
Click to collapse
Okay, i'll wait it and good luck for your work
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
josephcsible said:
Status update: My app_process is still not detected at all. It's now detecting something that's happening in Java (XposedBridge).
Click to expand...
Click to collapse
So it means you cannot just rename the method/class, if I am right?
aviraxp said:
So it means you cannot just rename the method/class, if I am right?
Click to expand...
Click to collapse
I tried stubbing out the main method in XposedBridge to just call the real main method, and that made it pass. That leads me to conclude that it's a behavior thing and not a name thing.
So this version of xposed is passing?
Barfelonous said:
So this version of xposed is passing?
Click to expand...
Click to collapse
REREAD THE OP Please
josephcsible said:
UPDATE: Not even 24 hours and it fails SafetyNet now. I'm currently working on another solution.
Click to expand...
Click to collapse
: (
Any news on this?
meiser said:
Any news on this?
Click to expand...
Click to collapse
I haven't had time to work on it since my last update. I expect to have more time in June.
Hi is there an other way to use Xposed modules while passing safatynet check ? Its usefull on POGO !
Regards, Devilo !
As we all know, Xposed needs modify system image because we need to replace the app_process and ART runtime.
In some case, This is a bit troublesome. So i wrote an App named VirtualXposed to use xposed without modify system, you can install it like a normal APP, no need root or system privilege.
VirtualXposed is like a virtual environment, in this virtual world, all app are running with the same UID, so all app running in it are under control. then we can load xposed module for any process within it. The only thing we need to do is to Implement a Java Method hook module to support Xposed runtime.
To be honest, VirtualXposed is forked from VirtualApp, just likes docker on Android platform. And the Java method hook module——epic, is a dynamic java aop method hook framework, just like dexposed.
You can refer the code on github: https://github.com/android-hacker/VirtualXposed
It's my first time here. All the things I need to learn from you
I'm not entirely sure why no one has replied to this yet. This is pretty huge, ainnit? This would allow Xposed to pass SafetyNet.
rnadomuc said:
I'm not entirely sure why no one has replied to this yet. This is pretty huge, ainnit? This would allow Xposed to pass SafetyNet.
Click to expand...
Click to collapse
Not just that but it can also run on unrooted phones which is even more of a break through.
Virustotal picks up malware
https://www.virustotal.com/fr/file/...8f04f8531ac8d2ea9e601e2e/analysis/1520829060/
I was about to try it but I'm reconsidering after seen the previous post...
I am sure that VirtualXposed is harmless, it is open source, the source code won't deceive you, you can refer the source code at: https://github.com/android-hacker/VirtualXposed (I am sorry that i can not post outside links now, xda's rule says that i must post 10 posts)
I don't know why it was misjudged as a virus, may be it is too powerful ? or it can inject code to other process without root?
Anyway, I am investiging this problem.
i hope it can bypass all those detection by other program like games. let's see what it will it become when it matures. tnx
This is very intriguing. I pinged GermainZ to see what he thinks.
ssvdude said:
Virustotal picks up malware
https://www.virustotal.com/fr/file/...8f04f8531ac8d2ea9e601e2e/analysis/1520829060/
Click to expand...
Click to collapse
Have you checked every file on xda and what are the results?
It does require a ton of permissions tho, so smart to be cautious.
---
plisskenn said:
Have you checked every file on xda and what are the results?
It does require a ton of permissions tho, so smart to be cautious.
Click to expand...
Click to collapse
it would need those permissions for the cloned apps to work properly
plisskenn said:
Have you checked every file on xda and what are the results?
It does require a ton of permissions tho, so smart to be cautious.
Click to expand...
Click to collapse
I don't quite understand you're trying to imply. Of course I haven't. I'm sure there are false positive for other applications on xda. That doesn't mean this is one. This an unknown developer (no offense), with sparse any info in the first post, not alot of testimonials Further more this almost seems to good to be true, hence why I'm wary. That said if this works great, that's fantastic and I'm impressed. I'm glad it's open source too. No need to get snarky about it.
weishu said:
As we all know, Xposed needs modify system image because we need to replace the app_process and ART runtime.
In some case, This is a bit troublesome. So i wrote an App named VirtualXposed to use xposed without modify system, you can install it like a normal APP, no need root or system privilege.
VirtualXposed is like a virtual environment, in this virtual world, all app are running with the same UID, so all app running in it are under control. then we can load xposed module for any process within it. The only thing we need to do is to Implement a Java Method hook module to support Xposed runtime.
To be honest, VirtualXposed is forked from VirtualApp, just likes docker on Android platform. And the Java method hook module——epic, is a dynamic java aop method hook framework, just like dexposed.
You can refer the code on github: https://github.com/android-hacker/VirtualXposed
It's my first time here. All the things I need to learn from you
Click to expand...
Click to collapse
Hi all,
Is anyone testing VirtualXposed with the Xposed module XPrivacyLua ?
Thanks in advance for your answers.
iwanttoknow said:
Hi all,
Is anyone testing VirtualXposed with the Xposed module XPrivacyLua ?
Thanks in advance for your answers.
Click to expand...
Click to collapse
Apparently not there was an issue raised on the Github about it (under issues section)
link below
https://github.com/android-hacker/VirtualXposed
( sorry can not post direct links at the moment)
This could be a breakthrough and stumbling onto it today, being able to hide the system modifications for other apps to work such as banking or snapchat.. anyway as far as this hook having a virus such as McAffe , ive read :
"inherit from VirtualApp asLody/VirtualApp string #460, the code has some hardcode string such as "base-1.apk", "base.odex"; i simply use base64 to encode these thrings and it was resolved."
Guys, XPL will not work on VirtualXposed because it stores auf with the settings app which can not be accessed by VX. The only way around this would be a fork of XPL that changes this behavior specifically for VX. But nobody is doing that as of now.
as I see in Github where it is downloaded virtualxpose has little module support
Sent from my ZTE K88 using XDA Labs
---------- Post added at 10:54 PM ---------- Previous post was at 10:51 PM ----------
We hope that over time they will add more modules
Sent from my ZTE K88 using XDA Labs
Have you tested it on Oreo? Apps won't open on my s9+
gpgorbosjr said:
Have you tested it on Oreo? Apps won't open on my s9+
Click to expand...
Click to collapse
Yeah, I have s8+ and I'm only getting "Opening (App name).." message endlessly.
vAlcatraz said:
Yeah, I have s8+ and I'm only getting "Opening (App name).." message endlessly.
Click to expand...
Click to collapse
On Oreo right? I was looking at the Virtual App GitHub and I think something has to be changed in the way it works for Oreo support but I don't know how to inpliment it I hope the dev does.
Android 8.0 fix
Edit: that may not be a fix for our issue lol. I'm not a dev so I'm just guessing but I really think it's an Oreo caused issue.
Delete
Gonna try on LS998 on Dirty Unicorn 9.0 will give you feedback
But question what if I already have Google dialer and YouTube Vanced?
Ainz_Ooal_Gown said:
Gonna try on LS998 on Dirty Unicorn 9.0 will give you feedback
Click to expand...
Click to collapse
It's only been tested on US998 ROMs. There's nothing specifically in it for stock ROMs but I haven't used a 9.0 rom. Like how files moved locations from nougat to Oreo, something similar might have happened with pie
There will likely be conflicts if you have either installed via magisks. If you want the other parts of my mod just edit it.
Magisk modules are incredibly easy to edit.
TotallyAnxious said:
It's only been tested on US998 ROMs. There's nothing specifically in it for stock ROMs but I haven't used a 9.0 rom. Like how files moved locations from nougat to Oreo, something similar might have happened with pie
There will likely be conflicts if you have either installed via magisks. If you want the other parts of my mod just edit it.
Magisk modules are incredibly easy to edit.
Click to expand...
Click to collapse
Ahhh okay for sure I have Vanced via Magisk but Google dialer as an apk install for black mode
Ainz_Ooal_Gown said:
Ahhh okay for sure I have Vanced via Magisk but Google dialer as an apk install for black mode
Click to expand...
Click to collapse
It's the stock Google dialer in the mod. It's better to just edit the preferences in data/data so you can still use all the features like spam stuff.
YouTube Vanced will work with only the official mod or mine. The official one just has more code to determine arm Vs arm 64 vs x86 etc. There's no apk difference.
TotallyAnxious said:
It's the stock Google dialer in the mod. It's better to just edit the preferences in data/data so you can still use all the features like spam stuff.
Click to expand...
Click to collapse
Okay so everything except for Vanced installed for 9.0 rom and I got the stock Google dialer....dual speaker mod is the best
Ainz_Ooal_Gown said:
Okay so everything except for Vanced installed for 9.0 rom and I got the stock Google dialer....dual speaker mod is the best
Click to expand...
Click to collapse
The dual speaker mod is essentially the same as the one whiskey something made. I just compared his files to the stock one on US998 and made edits. To ensure it worked with us998
I can't guarantee there being non issues with a non stock based kernel. There's support for overclocking in the scripting as well as underclock. But I haven't been on an aosp rom since I had the One M8.
TotallyAnxious said:
The dual speaker mod is essentially the same as the one whiskey something made. I just compared his files to the stock one on US998 and made edits. To ensure it worked with us998
I can't guarantee there being non issues with a non stock based kernel. There's support for overclocking in the scripting as well as underclock. But I haven't been on an aosp rom since I had the One M8.
Click to expand...
Click to collapse
If you any other modules installed besides the ones I have, I can't guarantee stability.
TotallyAnxious said:
If you any other modules installed besides the ones I have, I can't guarantee stability.
Click to expand...
Click to collapse
Okay for sure
---------- Post added at 04:18 AM ---------- Previous post was at 04:09 AM ----------
Well I don't know how to edit a magical module...and if I try to extract it it says it's empty .-.
Ainz_Ooal_Gown said:
Okay for sure
---------- Post added at 04:18 AM ---------- Previous post was at 04:09 AM ----------
Well I don't know how to edit a magical module...and if I try to extract it it says it's empty .-.
Click to expand...
Click to collapse
That doesn't make sense. A magisk module is just a zip archive. Extract it like a normal zip. Read over the magisk developer threads to understand how everything works. It's user friendly in my opinion. For basic app adding, removing, file changing all you do is place them in the system folder in the same location they'd be in the rom.
This should help.
Had to switch to a different File manager
Ainz_Ooal_Gown said:
Had to switch to a different File manager
Click to expand...
Click to collapse
https://topjohnwu.github.io/Magisk/
Read the documentation on magisk modules. The other stuff might be overwhelming.
TotallyAnxious said:
https://topjohnwu.github.io/Magisk/
Read the documentation on magisk modules. The other stuff might be overwhelming.
Click to expand...
Click to collapse
Simply deleting the app folder and priv-app folder and (since Google dialer and Vanced where the only ones in there) did the trick rezipped it and flashed in Magisk while having Vanced installed and the modded Google dialer and nothing bad so far...I can upload the edited one if you allow it...
Ainz_Ooal_Gown said:
Simply deleting the app folder and priv-app folder and (since Google dialer and Vanced where the only ones in there) did the trick rezipped it and flashed in Magisk while having Vanced installed and the modded Google dialer and nothing bad so far...I can upload the edited one if you allow it...
Click to expand...
Click to collapse
I'd rather other people learn how to do what you just did on their own. Though there's one line of code that may sometimes completely erase the YouTube folder. You really should read the support documentation for magisk. It's very straight forward. The issue is that you had two modules trying to replace the YouTube folder. The mounting of two modules into one location is why YouTube disappeared. Not a bug. It's user error. Lol
TotallyAnxious said:
I'd rather other people learn how to do what you just did on their own. Though there's one line of code that may sometimes completely erase the YouTube folder. You really should read the support documentation for magisk. It's very straight forward. The issue is that you had two modules trying to replace the YouTube folder. The mounting of two modules into one location is why YouTube disappeared. Not a bug. It's user error. Lol
Click to expand...
Click to collapse
Ahhh okay lol I will give it a read, maybe I'll come up with something...
Small update. No noticable difference on the users end. I probably won't post for every update, but I'll update the title of the thread everytime I do.
TotallyAnxious said:
Small update. No noticable difference on the users end. I probably won't post for every update, but I'll update the title of the thread everytime I do.
Click to expand...
Click to collapse
I flashed the original and I don't see another version of YouTube installed and the one I do have has ads. What am I missing?
ChazzMatt said:
I flashed the original and I don't see another version of YouTube installed and the one I do have has ads. What am I missing?
Click to expand...
Click to collapse
See if you have updates to YouTube installed and uninstall them. You can't have any updates over YouTube Vanced because then the modified version won't be loaded. The newer version will
TotallyAnxious said:
See if you have updates to YouTube installed and uninstall them. You can't have any updates over YouTube Vanced because then the modified version won't be loaded. The newer version will
Click to expand...
Click to collapse
Thank you, that worked. I went to Google Play and "uninstalled" it and it just left the Vanced version. This phone comes with YouTube already installed, so "uninstalling" it just uninstalled the updates -- which then left the stock app which was already overwritten by Vanced.
the module Sony Framework has not been updated for magisk 19.1 and therefore has been removed by magisk manager, someone can update it and run it on magisk 19.1, I want to use PS4 Remote Play!
Thanks!
albysprx said:
the module Sony Framework has not been updated for magisk 19.1 and therefore has been removed by magisk manager, someone can update it and run it on magisk 19.1, I want to use PS4 Remote Play!
Thanks!
Click to expand...
Click to collapse
Same for me
I third this request. Help someone ?
Search here for "remote enabler" then look for the first 4-6 pages,there must be a working link for the necessery files
atakan1986 said:
Search here for "remote enabler" then look for the first 4-6 pages,there must be a working link for the necessery files
Click to expand...
Click to collapse
Dont work cant be flashed because cant mount /system
Try this module.
https://forum.xda-developers.com/showpost.php?p=79463199&postcount=109
fnldstntn said:
Try this module.
https://forum.xda-developers.com/showpost.php?p=79463199&postcount=109
Click to expand...
Click to collapse
Doesn't work
Sony framework v1 in magisk repo work for me.
zerlkung said:
Sony framework v1 in magisk repo work for me.
Click to expand...
Click to collapse
Of course it works, that's the module that's being discussed. Issue is that it was never updated to the new template and has now been removed from the repo.
For anyone wanting to get a hold of the files it can currently be found in the Modules grave: https://github.com/Magisk-Modules-Grave/SonyFramework
Didgeridoohan said:
Of course it works, that's the module that's being discussed. Issue is that it was never updated to the new template and has now been removed from the repo.
For anyone wanting to get a hold of the files it can currently be found in the Modules grave: https://github.com/Magisk-Modules-Grave/SonyFramework
Click to expand...
Click to collapse
Link down.
Gabaldia said:
Link down.
Click to expand...
Click to collapse
Yes. The repo grave has been cleared. Anyone wanting to keep working on this will need to find the files somewhere else.
I found this repo in github "corejarpatch/SonyFramework" (I can't post links yet) but when I try to install it, it says "Magisk is not activated".
Hope that someone can make it work
pedriterman said:
I found this repo in github "corejarpatch/SonyFramework" (I can't post links yet) but when I try to install it, it says "Magisk is not activated".
Hope that someone can make it work
Click to expand...
Click to collapse
I made it work. I will upload the module to github as soon as I can. It has some extras now.
pedriterman said:
I made it work. I will upload the module to github as soon as I can. It has some extras now.
Click to expand...
Click to collapse
Did you put the code in a new Magisk module template?
pedriterman said:
I made it work. I will upload the module to github as soon as I can. It has some extras now.
Click to expand...
Click to collapse
Any news on that?
pedriterman/Sony-Framework-Remaster on github. Can't post links
There you go guys. Hope that I uploaded it right.
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
lamahh said:
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
Click to expand...
Click to collapse
It works as expected.
However, you have to open the .zip and modify it slightly.
I attached a working, flashable version for 19.1 by @pedriterman. Here is a link as well.
Thank you @pedriterman !
lamahh said:
Thx but...
Flashing via Magisk v19.1/v7.1.2 :
! This zip is not a Magisk Modul!
Flashing via TWRP 3.2.3.1:
"Invalid zip file format!"
Click to expand...
Click to collapse
Your error told me exactly what the problem was - an extra folder was nested inside before the files. Had to repackage the zip. Just finished booting after installing the module. Looks like someone else posted a working version.
MonteXMat said:
It works as expected.
However, you have to open the .zip and modify it slightly.
I attached a working, flashable version for 19.1 by @pedriterman. Here is a link as well.
Thank you @pedriterman !
Click to expand...
Click to collapse
Forgot to tell that you have to unzip, take the content from the folder and zip again
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