PayGo and root - let's figure out how to make it work while the OS is rooted - Android General

Hello folks of XDA, especially the Italians one since i'm creating this thread to address one of the most wanted feature of the Italian Intesa San Paolo home banking mobile application for Android, that is making PayGo work with a custom ROM, rooted phone, ecc....
Now let's first state what PayGo is and what's the problem:
PayGo it's a feature of the application that allows you to emulate the contactless chip of one of you credit/debit card through NFC.
PayGo requires your phone to be unrooted and unmodified.
Every attempt to hide the modifications through Magisk Hide allows you to pass the initial warning of the application about Root and Custom ROM but the feature then fails to start with an unknown error.
So, summing up, PayGo won't work even if you pass SafetyNet checks and no one seems to understand what it checks.
Now, I'm a developer but I'm not even close to understand how security checks and stuff works under the hood in Android but my guess is that PayGo checks somehow if the bootloader is unlocked or not. Following this intuition I Googled how to check from application code if the bootloader is unlocked or not. One answer on Andorid Stack Exchange seemed to be really useful: it states that from a dialer app you can check if the bootloader is unlocked or not. Now, that answer reminded me that I was always wondering why Intesa San Paolo app was asking for phone permissions even if it never used them (at least apparently) and an idea popped to my mind:
what if the app asks for phone permissions only to check as dialer if the phone has unlocked bootloader or not?
Well, I revoked phone permission to the app and tried to open PayGo and guess what, it asks phone permissions right away! If you deny them and check "don't ask me again" it won't even open anymore, so my guess may be right.
The problem now is to understand what values is returned to the dialer and how to modify it so that we can test it.
Any good soul that can offer a solution through, i don't know, a Magisk module or something?
Thank you for your time in reading this, I hope it helps someone

@Diomorgan, @Errtu73, @olivercervera may find this thread useful

Have you tried disabling ADB debugging? I have personally tested PayGo and works

olivercervera said:
Have you tried disabling ADB debugging? I have personally tested PayGo and works
Click to expand...
Click to collapse
Yes, it passes the first warning but then fails to start with unknown error

You are lucky because I'm customer of the Intesa group (although I usually don't use this app)
As I said earlier, it works perfectly on my device. The issue is specific to your ROM/device.
I just activated the App and PayGo right now...

olivercervera said:
You are lucky because I'm customer of the Intesa group (although I usually don't use this app)
As I said earlier, it works perfectly on my device. The issue is specific to your ROM/device.
I just activated the App and PayGo right now...
Click to expand...
Click to collapse
Well I tried it on a OnePlus One with Sultanxda LOS but no luck, same on LG G4 with official LOS. Which phone and ROM are you using?
I'll try with my OnePlus 5 keeping the stock ROM, hoping it will work

Lamba92 said:
Well I tried it on a OnePlus One with Sultanxda LOS but no luck, same on LG G4 with official LOS. Which phone and ROM are you using?
I'll try with my OnePlus 5 keeping the stock ROM, hoping it will work
Click to expand...
Click to collapse
I'm on Xiaomi Mi5 and LOS 15.1 (Android 8.1)
LOS is not the problem, probably there was something weird in the ROMs you tried. Some old ROMs are implemented in a way that Magisk can't really work/hide everything, most of them before SafetyNet/Magisk era.
Try with stock ROM and Magisk, you should be fine.

Related

[Q] Hotspot on phone won't connect to android tablet

I'm not sure where to put this so I'm going to post it here but if it's in the wrong spot please feel free to move it, Mod.
Ok, I have a Motorola Photon Q 4G LTE (downgraded to 3G, no 4G in my area) running Android 4.1.2 that I use my Hotspot internet off of. I have connected it to just about everything, computers, tablets, and other phone and it has always worked perfectly until now. I got a Visual Land Prestige Pro 7D tablet running Android 4.1.1 for Christmas and for some reason my phone's hotspot won't connect to it. It says it is connected but when I go to use the browser or any app that uses the internet it never loads or doesn't work. Sometimes the signal even drops out and reconnects but never actually works. I did some research and it sounds like it might be an IP address conflict but I am not sure how to fix it. Some sites suggest downloading another tether/hotspot app so I tried a few. Some revert back to the original hotspot setting on my phone, which of course did me no good, and some just plain did not work, they did exactly like my original hotspot, connect but won't work. I have pretty much figured out that it has something to do with my phone's hotspot since my tablet works perfectly fine on other people hotspot or wifi internet. Can someone please help me figure out what is going on?! Thanks in advance!
Are you on the stock ROM? Seems to be from your post.
You've tried using the built-in tethering feature, as well as some 3rd party software. Most of the 3rd party programs will create an 'ad-hoc' network which typically only other computers can connect to. There's some threads around here that discuss how to remedy this on stock. Search around.
http://forum.xda-developers.com/showthread.php?t=1949991&highlight=hotspot
arrrghhh said:
Are you on the stock ROM? Seems to be from your post.
You've tried using the built-in tethering feature, as well as some 3rd party software. Most of the 3rd party programs will create an 'ad-hoc' network which typically only other computers can connect to. There's some threads around here that discuss how to remedy this on stock. Search around.
http://forum.xda-developers.com/showthread.php?t=1949991&highlight=hotspot
Click to expand...
Click to collapse
Yes I'm still on the stock ROM the phone came with. I have tried the built-in and 3rd party apps and neither is working. I'm really not sure to look for. I have tried a few different things including changing the IP address in my phone hotspot settings and nothing works.
babygirl17_06 said:
I'm not sure where to put this so I'm going to post it here but if it's in the wrong spot please feel free to move it, Mod.
Ok, I have a Motorola Photon Q 4G LTE (downgraded to 3G, no 4G in my area) running Android 4.1.2 that I use my Hotspot internet off of. I have connected it to just about everything, computers, tablets, and other phone and it has always worked perfectly until now. I got a Visual Land Prestige Pro 7D tablet running Android 4.1.1 for Christmas and for some reason my phone's hotspot won't connect to it. It says it is connected but when I go to use the browser or any app that uses the internet it never loads or doesn't work. Sometimes the signal even drops out and reconnects but never actually works. I did some research and it sounds like it might be an IP address conflict but I am not sure how to fix it. Some sites suggest downloading another tether/hotspot app so I tried a few. Some revert back to the original hotspot setting on my phone, which of course did me no good, and some just plain did not work, they did exactly like my original hotspot, connect but won't work. I have pretty much figured out that it has something to do with my phone's hotspot since my tablet works perfectly fine on other people hotspot or wifi internet. Can someone please help me figure out what is going on?! Thanks in advance!
Click to expand...
Click to collapse
Try ISWAT tether unlocker from the market or this.
http://forum.xda-developers.com/showthread.php?t=2547095
The Solutor said:
Try ISWAT tether unlocker from the market or this.
http://forum.xda-developers.com/showthread.php?t=2547095
Click to expand...
Click to collapse
I just tried to download the ISWAT Tether Unlocker but I noticed that it is only for rooted devices, I'm not rooted, and I really don't want to root it. Any other suggestions?
A phone w/o root is less than half phone.
BTW you can try foxfy or pdanet, the latter works surely, but at the price of a client installation on the PC side, and is USB/BT only.
I haven't tested the former
The Solutor said:
A phone w/o root is less than half phone.
BTW you can try foxfy or pdanet, the latter works surely, but at the price of a client installation on the PC side, and is USB/BT only.
I haven't tested the former
Click to expand...
Click to collapse
I have rooted my phones before but I like this phone the way it is for right now and I just don't want to go through that long process of rooting it.
I have tried Foxfi, it connects but like the others, the browser and app never load, but I can connect to any other wifi or hotspot and they load fine. From what I have heard Foxfi and PDAnet are the same, they even have a combined app. I have done some more research and it looks like maybe my phone or tablet, which ever one, is running adhoc (?) and either one or the other can't use that. Does that sound about right?
PDAnet and foxfi, are two apps sold by the same company, but are all but the same thing.
PDAnet is a 10+ years old program, is older than android, and is an absolutely proven SW, working on multiple platforms either on server and client side.
FoXfi is a relatively new program that manages to work on a great number of devices, but that is not guaranteed to work on any device.
If foxfi doesn't work on PQ, I'm afraid there is nothing you can do w/o rooting the phone.
The Solutor said:
PDAnet and foxfi, are two apps sold by the same company, but are all but the same thing.
PDAnet is a 10+ years old program, is older than android, and is an absolutely proven SW, working on multiple platforms either on server and client side.
FoXfi is a relatively new program that manages to work on a great number of devices, but that is not guaranteed to work on any device.
If foxfi doesn't work on PQ, I'm afraid there is nothing you can do w/o rooting the phone.
Click to expand...
Click to collapse
Darn! Ok, can you point me into the right direction for an easy rooting process? Thanks!
babygirl17_06 said:
Darn! Ok, can you point me into the right direction for an easy rooting process? Thanks!
Click to expand...
Click to collapse
Install TWRP, it will automatically offer to root the device after booting to recovery and then in recovery restarting to system.
Otherwise follow this guide to install CWM / SuperSU.
babygirl17_06 said:
Darn! Ok, can you point me into the right direction for an easy rooting process? Thanks!
Click to expand...
Click to collapse
Sorry for the late reply. (time zone is our enemy
BTW given arrrghhh already replied, I can only add to avoid confusion to follow the linked thread about CWM, but replacing the CWM part with TWRP.
The latter is more newbie friendly and, will root automatically the phone, and will also block the function that restore the original recovery on the first boot.
The Solutor said:
Sorry for the late reply. (time zone is our enemy
BTW given arrrghhh already replied, I can only add to avoid confusion to follow the linked thread about CWM, but replacing the CWM part with TWRP.
The latter is more newbie friendly and, will root automatically the phone, and will also block the function that restore the original recovery on the first boot.
Click to expand...
Click to collapse
Ok, it has been awhile since I have did this. Last successful root was an HTC Hero, if that tells ya how long it's been. I just tried but I am stuck cause I can't remember what to do. Can someone please give me the noobiest of noob instruction on how to get this done? Please?!
babygirl17_06 said:
Ok, it has been awhile since I have did this. Last successful root was an HTC Hero, if that tells ya how long it's been. I just tried but I am stuck cause I can't remember what to do. Can someone please give me the noobiest of noob instruction on how to get this done? Please?!
Click to expand...
Click to collapse
Where are you stuck? Did you read the guide I linked? Have you checked the official TWRP page?
babygirl17_06 said:
Ok, it has been awhile since I have did this. Last successful root was an HTC Hero, if that tells ya how long it's been. I just tried but I am stuck cause I can't remember what to do. Can someone please give me the noobiest of noob instruction on how to get this done? Please?!
Click to expand...
Click to collapse
Basically you need to install the drivers and get ADB working, before doing anything else
Once you have done that step you can unlock your phone, using the instructions provided on the CWM thread, and in the related motorola website iself.
Then is flashing the TWRP is pretty easy, you just need to start your phone in fastboot mode, connect your phone the the pc, then issue the command
fastboot flash recovery twrp-something.img
(replace the last part with the real name of the file downloaded from the TWRP thread.
then reboot in recovery once (is mandatory to not reboot in system the first time) and when you will exit the recovery environment, it will ask if you want to root your phone.
That's all
This is a quick walk-trough, I hope you can understand that I can't detail every single step more, if and when you have doubts, just google a bit and ask for the definite problem you may have, here.

Wells Fargo Fingerprint Authentication Unavailable

I'm trying to enable fingerprint sign on in the Wells Fargo app on my rooted, magisk pixel 2 on the latest march update. I've tried a couple times to enable it and it tells me that fingerprint sign on is currently unavailable. Anybody else experiencing the same issue?
enzyne said:
I'm trying to enable fingerprint sign on in the Wells Fargo app on my rooted, magisk pixel 2 on the latest march update. I've tried a couple times to enable it and it tells me that fingerprint sign on is currently unavailable. Anybody else experiencing the same issue?
Click to expand...
Click to collapse
Working for me, but I'm stock.
I'm rooted with TWRP flashed. Other apps (like Walmart) that require fingerprint find it, but my banking app (PNC) doesn't, and doesn't work at all (restarts during a check deposit), so there's something causing a problem somewhere.
Rukbat said:
I'm rooted with TWRP flashed. Other apps (like Walmart) that require fingerprint find it, but my banking app (PNC) doesn't, and doesn't work at all (restarts during a check deposit), so there's something causing a problem somewhere.
Click to expand...
Click to collapse
Are you using Magisk? I use the PNC app and have it selected with magisk hide and fingerprint works.
1.Try depositing a check.
2. What version of the app are you running?
So just an update I was after a day able to add fingerprint sign on. I just got this account so that may be why. I dont have paper checks to deposit that often but if i ever get one i will report back.
Rukbat said:
1.Try depositing a check.
2. What version of the app are you running?
Click to expand...
Click to collapse
I'm running 4.3.1. It crashes now when the camera would open to capture a check image, but it used to work before. I hadn't used it in a while so must be something broken in an update... All the other functions except for check deposit are working.
Same version - and that's the only reason I use the app. Since I'm on the desktop all day, I do everything else on the desktop. Tech support promised that they'd have a fix out by end of March, beginning of April at the latest. Nothing yet. Oh - when it crashes, it comes up with the name and password screen when you rerun it, and won't accept the fingerprint.
A company I used to work for had a sign hanging in their cafeteria that said that it costs $1,000 to get a customer, but you can lose one with a single wrong word. I think I'm about to become one of PNC's "lost customers". The local Walmart, where I am at least once a week, has a bank branch inside (and the store is pretty much around the corner). The next time I'm there, I'm talking to them. Even if they don't have an app, I'm there all the time anyway. And PNC is 4 miles across town. It will be interesting to see if the app eventually works, but this isn't how you run a software department. (I know - I spent 45 years developing software, most of them either as lead or as head of the department. An "I can't use the program because it doesn't work" would immediately put that bug at the top of my) list - and get someone assigned to fix it.)

Magisk Rooted + Barclays App, can't use fingerprint authentication

OnePlus 7 , OOS 10.0.7 GM57BA
- rooted with Magisk
- busybox installed
- NO Xposed!!
- magisk package name changed
- magisk Hide enabled in settings
- safetyNet passed
- packages hidden: Barclays and com.anfroid.phone
Issue: cannot set up fingerprint authentication in Barclays app. It works well in any other apps. When following the procedure, the app throws an error T0009 and the message "Error during fingerprint authentication/registration"
I contacted the Barclays team, they don't seem to have the error in their errors list. Possibly to be forwarded from the system?
I also tried to hidein magisk the fingerprint authentication services com.qualcomm.qti.biometrics.fingerprint.service
Maybe I didn't hide all services involved in fingerprint authentication? What else should I try to hide from root?
I'm looking for suggestions.
Hi,
i've got the same issue for ages (with my previous OP6 too) and it's the same with the BA Amex app.
I think it's just an issue of these apps with our OP7 phone?
Have you ever been able to make it work with the phone un-rooted?
bay12 said:
Hi,
i've got the same issue for ages (with my previous OP6 too) and it's the same with the BA Amex app.
I think it's just an issue of these apps with our OP7 phone?
Have you ever been able to make it work with the phone un-rooted?
Click to expand...
Click to collapse
Yes, my wife's phone (also OP) was never rooted and it worked just fine. OP5T, then OP7 and now OP8. And yes, the OP7 Which is mine now,was hers before.
On the default phone configuration it seems to be working just fine.
derei said:
Yes, my wife's phone (also OP) was never rooted and it worked just fine. OP5T, then OP7 and now OP8. And yes, the OP7 Which is mine now,was hers before.
On the default phone configuration it seems to be working just fine.
Click to expand...
Click to collapse
oh interesting! i don't think i've ever tried to used these apps with an unrooted phone.
Please let me know if you manage to solve this issue
Same problem forever with Barclays and OP6
I have the same issue with my OP8T, rooted with patched Magisk image, MagiskHide, but otherwise stock OS. I'm also unable to get any useful information out of Barclays.
This worked fine on my OP3T so it seems to be something with the newer phones.
Hello guys,
I have the same issue with my OP8P, magisk hide,safety net passed. I have another banking app which is working perfect but this for some reason it is not working
I've just had my S9+ replaced on insurance. However I've had to have the phone replaced again as the first replacement they sent had an issue with the touchscreen.
My original phone worked fine with fingerprint authentication in banking apps.
The first replacement I rooted with Magisk and both my banking apps worked OK, but the newest replacement doesn't work with either banking app and just errors when trying to enable fingerprint authentication.
All phones were running the same Alexis ROM, same configuration with Magisk and same kernel.
Really weird.

Question Anyone having issues with VoWiFi NA version?

I just got the NA version of the ROG Phone 5 and sadly I cannot get VoWiFi working on TMobile. Sadly I'm in an area where I don't get the best signal and it's extremely important for this feature to work. Especially considering I spent 1k+ for this phone... Any help/guidance would be appreciated.
Have you enabled it in settings and then tried a reboot?
I've also noticed that it may not work until the SIM is installed BEFORE initial setup (or before a factory reset)
I confirmed with other people too. US version doesnt have Tmobile wifi. If it would, I would have bought one
twistedumbrella said:
Have you enabled it in settings and then tried a reboot?
I've also noticed that it may not work until the SIM is installed BEFORE initial setup (or before a factory reset)
Click to expand...
Click to collapse
Yeah I tried that but didnt work so i manually enabled it using the phone dialer and after i toggle it on or off it will turn on but it turns off after reboot so need to root it so i can make the settings stick.
daviddem said:
I confirmed with other people too. US version doesnt have Tmobile wifi. If it would, I would have bought one
Click to expand...
Click to collapse
It actually does work
My AT&T and T-Mobile SIMs (both Red Pocket MVNO) have VoLTE but not VoWiFi.
kva1992 said:
It actually does work
Click to expand...
Click to collapse
So do you get wifi calling with US ROG phone on Tmobile?
daviddem said:
So do you get wifi calling with US ROG phone on Tmobile?
Click to expand...
Click to collapse
Yup just have to manually enable it Everytime it boots up but if you root it you can set the props and it will be permanent. In the process of doing that atm.
kva1992 said:
Yup just have to manually enable it Everytime it boots up but if you root it you can set the props and it will be permanent. In the process of doing that atm.
Click to expand...
Click to collapse
Thank you. I was debating between ROG or xperia 1iii. but if this works. Ill get ROG.
If you dont mind, can you please post the dialer code
daviddem said:
Thank you. I was debating between ROG or xperia 1iii. but if this works. Ill get ROG.
If you dont mind, can you please post the dialer code
Click to expand...
Click to collapse
Sure here you go *#*#3642623344#*#*
You should be able to copy and paste if that doesn't work try pasting but delete the last * and add it manually. If that still doesn't work just manually type it in. But I tested it out a few times nd it works even turned on airplane mode and it works. Wi-fi calling was a deciding factor for me lol was about to return it until I found out I could get it to work properly.
daviddem said:
Thank you. I was debating between ROG or xperia 1iii. but if this works. Ill get ROG.
If you dont mind, can you please post the dialer code
Click to expand...
Click to collapse
kva1992 said:
Sure here you go *#*#3642623344#*#*
You should be able to copy and paste if that doesn't work try pasting but delete the last * and add it manually. If that still doesn't work just manually type it in. But I tested it out a few times nd it works even turned on airplane mode and it works. Wi-fi calling was a deciding factor for me lol was about to return it until I found out I could get it to work properly.
Click to expand...
Click to collapse
I'd like to add that after running the dialing code you have to enable wifi calling in the settings app.
Aswell as that, at least for me, I need to disable and re-enable it within settings after re-running the dial after reboot, for it to actually reconnect
Just to avoid any confusion.
This does work tho! Kva is right!
Trickster29 said:
I'd like to add that after running the dialing code you have to enable wifi calling in the settings app.
Aswell as that, at least for me, I need to disable and re-enable it within settings after re-running the dial after reboot, for it to actually reconnect
Just to avoid any confusion.
This does work tho! Kva is right!
Click to expand...
Click to collapse
Thank you both. Ill order the phone and try it.
Trickster29 said:
I'd like to add that after running the dialing code you have to enable wifi calling in the settings app.
Aswell as that, at least for me, I need to disable and re-enable it within settings after re-running the dial after reboot, for it to actually reconnect
Just to avoid any confusion.
This does work tho! Kva is right!
Click to expand...
Click to collapse
It's so stupid wish they enabled it by default would make all our lives easier
kva1992 said:
It's so stupid wish they enabled it by default would make all our lives easier
Click to expand...
Click to collapse
I agree, but idk if they need some authorization from T-Mobile to enable it by default and we're just the end user working around that.
Otherwise, I'm not really sure at all why the functionality is developed but not enabled by default.
Trickster29 said:
I agree, but idk if they need some authorization from T-Mobile to enable it by default and we're just the end user working around that.
Otherwise, I'm not really sure at all why the functionality is developed but not enabled by default.
Click to expand...
Click to collapse
Yeah it's stupid I ended up talking to advanced tech support and the guy has never heard of ROG phone 5 and said I should return it cuz it seems like it's a hardware issue.... I'm like dude it's your system not giving me proper access's and authorizing my phone... He's like I guess you know more about phones than I do... The idiot even made me reset my phone to try and fix it even though I told him several times that has nothing to do with it.... I swear I have no idea how some of these morons get jobs as IT... At least have basic IT understanding....
They're not in IT. They're customer service reps. They read from a script.
Check out the movie The Internship. It's just like that.
twistedumbrella said:
They're not in IT. They're customer service reps. They read from a script.
Check out the movie The Internship. It's just like that.
Click to expand...
Click to collapse
Well, when I'm talking to the advanced Technical team I am not talking to customer service reps... I talked to a customer service rep and they forwarded me to the IT team. Considering they are called advanced technical teams I would assume they are in IT. whereas the initial person I talked to was and clearly stated she was a customer service rep.
The only difference between the two people you spoke with is that one had access and authorization to suggest more "advanced" solutions. I'm not saying they shouldn't have better training, but legitimate IT professionals rarely work the call center as more than a summer job.
Anyway, the point was that they're a waste of time unless the issue is the SIM card or your plan. It's unfortunate.
Dial codes typically trigger an intent. If you can track down the intent, you can have it launch automatically on boot. Once that's taken care of, it shouldn't be too hard to automatically enable the setting. That is assuming you called because setting the prop didn't work.
Another alternative if you do have a property and can't write to system is setting it with a magisk module, since the system is read only on a firmware level.
twistedumbrella said:
The only difference between the two people you spoke with is that one had access and authorization to suggest more "advanced" solutions. I'm not saying they shouldn't have better training, but legitimate IT professionals rarely work the call center as more than a summer job.
Anyway, the point was that they're a waste of time unless the issue is the SIM card or your plan. It's unfortunate.
Dial codes typically trigger an intent. If you can track down the intent, you can have it launch automatically on boot. Once that's taken care of, it shouldn't be too hard to automatically enable the setting. That is assuming you called because setting the prop didn't work.
Another alternative if you do have a property and can't write to system is setting it with a magisk module, since the system is read only on a firmware level.
Click to expand...
Click to collapse
How would I set that up using magisk module? One Issue I have noticed is the wifi calling turns itself off after a while. sometimes it works for several hours other times maybe a day but then turns off and I have to restart the phone and run the command again.
Developer Guides
The Magic Mask for Android
topjohnwu.github.io

Question about spoofing location

Dear all, I am writing here because I have a very specific issue and I need to deal with it myself.
I have Xiaomi Poco x3 nfc, and I love this phone to bits. I never bothered rooting or flashing any roms so far because I was always happy with stock. Recently however, an issue has popped up.
Grindr, an app I use regularly, has recently pushed an update down our throats that cuts off your access if you are spoofing your location. This is a hazard for me, because I cannot have strangers know exactly how many meters I am from them. So far, I've been able to use mock gps fine, until this update. Mock GPS works even if your phone is not rooted so I used that. However, it no longer serves me now
How can I workaround this? Would root/installing a custom ROM, help with this? Is there a superior way of spoofing your location that Grindr wouldn't be able to detect? Please advise, I literally have no clue how to do this, the last phone I rooted and flashed was the Galaxy S lol. (Original one)
Appreciate the views but a response would be helpful. I can't be the only person on this forum interested in spoofing location
Chrsp said:
How can I workaround this?
Click to expand...
Click to collapse
The app is detecting that you are spoofing the location. To bypass that in unrooted device, you will need to decompile the apk and remove the checks which do that. If you are in rooted device with Magisk, you only need to install this LSPosed module: https://github.com/ThePieMonster/HideMockLocation
If you can't find a modded apk or made one yourself, you will need to root the phone
Ok thx for the help. Will Grindr detect magisk?
Or maybe are you able to provide me with a modded Grindr apk?
Lastly. I'm in stock. Never rooted or unlocked anything. How do I get started?

Categories

Resources