Faking a phone number in Android x86/RemixOS...Is it possible? - Android Software/Hacking General [Developers Only]

I'm wondering if this is possible. Some apps want you to have a phone number setup in order to register. Is there a way to fake a phone number in either version of Android so an app thinks it is a real number?

thelavender said:
I'm wondering if this is possible. Some apps want you to have a phone number setup in order to register. Is there a way to fake a phone number in either version of Android so an app thinks it is a real number?
Click to expand...
Click to collapse
Either:
-use a fake number
-use xprivacy
-use a Skype number
-buy a dual sim phone and get another number

Ev0luti0n_ said:
Either:
-use a fake number
-use xprivacy
-use a Skype number
-buy a dual sim phone and get another number
Click to expand...
Click to collapse
The issue is, say with Pulse Messenger, it doesnt see that my install has a phone number at all, so I cannot register for it.

Thing is, you need be able to receive text messages on this fake number so it can't be fake at all. That would defeat the entire purpose of number verification (making sure you actually own it to prevent abuse). There could still be a way but I have a feeling that the way to obtain it - if at all possible - is not something that should be discussed on XDA.
May I ask why you have a problem sharing your real number with these apps? If it's about privacy implications, you have much more to worry about when installing these type of apps
Sizzled with Bacon ?

Textfree app. Let's you call, text with a phone number
Let your hoeing begin
Sent from my LG-H811 using Tapatalk

I was wanting to try the app before getting a new phone. I ended up picking up anew GS8+ and now I have it installed and its pretty amazing.

Related

[APP] [Xposed] Phone Number Fix

Introduction
Occasionally, the phone number meta-data inside your SIM card can be inaccurate, or non-existant. Unfortunately, modern versions of Android don't allow this to be changed...
This app makes use of the Xposed framework to allow the SIM number meta-data to be changed.
Download
This app is available on Google Play (which also includes IAB donation facilities): https://play.google.com/store/apps/details?id=com.liam_w.phonenumberfix
Or you can download the smaller version (which doesn't include any of the IAB stuff) from the downloads tab above.
XDA:DevDB Information
Phone Number Fix, App for all devices (see above for details)
Contributors
liamwli
Source Code: http://github.com/liamwli/PhoneNumberFixOpen
Version Information
Status: Stable
Current Stable Version: 1.0.3.1
Stable Release Date: 2016-02-16
Created 2016-02-15
Last Updated 2016-02-16
Thanks for this app, helpful for when you move number to a different carrier!
CJOS100 said:
Thanks for this app, helpful for when you move number to a different carrier!
Click to expand...
Click to collapse
Or when your network gives you a replacement SIM with no phone number.
Personally, I'm surprised there isn't a way to do this in stock Android. It's a bit annoying...
I just released version 1.0.3 to github and the downloads tab (I'd released it to Google Play earlier last night).
It removes the verification (libphonenumber wasn't playing ball), however it adds a notification on boot if the number was successfully changed.
liamwli said:
Introduction
Occasionally, the phone number meta-data inside your SIM card can be inaccurate, or non-existant. Unfortunately, modern versions of Android don't allow this to be changed...
This app makes use of the Xposed framework to allow the SIM number meta-data to be changed.
Download
This app is available on Google Play (which also includes IAB donation facilities): https://play.google.com/store/apps/details?id=com.liam_w.phonenumberfix
Or you can download the smaller version (which doesn't include any of the IAB stuff) from the downloads tab above.
XDA:DevDB Information
Phone Number Fix, App for all devices (see above for details)
Contributors
liamwli
Source Code: http://github.com/liamwli/PhoneNumberFixOpen
Version Information
Status: Stable
Current Stable Version: 1.0.3.1
Stable Release Date: 2016-02-16
Created 2016-02-15
Last Updated 2016-02-16
Click to expand...
Click to collapse
Could you give some real world applications to where people would use this? It sounds very interesting but I don't fuly understand it
yanowman said:
Could you give some real world applications to where people would use this? It sounds very interesting but I don't fuly understand it
Click to expand...
Click to collapse
@yanowman I have three use-cases:
1. A user gets a SIM card from a new provider (or the same provider on a different plan), which comes with a mobile number. This mobile number is embedded into the SIM meta-data. The user then ports their existing number from a previous provider (using a PAC), and the number embedded in the meta-data is incorrect.
This happened to me, and Google Play receipts using the operator billing system were showing the wrong number (when I switched to a contract).
2. A user gets a replacement SIM, or a SIM with no number meta-data. This can happen on MVNO's, where SIM's aren't provisioned at manufacture (such as giffgaff). This can cause either annoyance, as the My phone number part of the SIM status menu shows 'Unknown', or it can cause issues with a small number of apps that wrongly expect a number. (This happened to me when I get a replacement Nano-SIM for my Nexus 6P).
3. A user just wants to be silly and change the number embedded in their SIM, for some unknown reason.
Liam
This could be just what was I was looking for, been having this problem since porting my payg sim card no to a contract sim card really annoying that you can't change your own no in your contacts app
This seems a pretty useful app but what about dual sim phones? Doesn't play well with my op2.
thank you very much for this mod
greatly appreciate it :good:
worked as it should
my case was 2nd as you mentioned earlier
one suggestion: you should add reboot option after saving the number dialog
Dear,
Thanks for your fantastic app. Perfect!
However I've a dual sim oneplus two. It doesn't work very well.. Is there any way ?
This worked for me using a sim which I transferred my old number to. Was wondering if I still needed the module installed after changing the number?
nicesoni_ash said:
This seems a pretty useful app but what about dual sim phones? Doesn't play well with my op2.
Click to expand...
Click to collapse
It should change the number of the first SIM. Unfortunately, dual SIM devices are practically non-existent in the UK, so I can't test anything. However, I think the API does have support for it.
kamilmirza said:
thank you very much for this mod
greatly appreciate it :good:
worked as it should
my case was 2nd as you mentioned earlier
one suggestion: you should add reboot option after saving the number dialog
Click to expand...
Click to collapse
That would require root access, so I removed it before release. I might add it back in though.
RuffBuster said:
This worked for me using a sim which I transferred my old number to. Was wondering if I still needed the module installed after changing the number?
Click to expand...
Click to collapse
Nope, the change is done by the app, but independent of the app. You can remove it once changed
mrasquinho said:
Dear,
Thanks for your fantastic app. Perfect!
However I've a dual sim oneplus two. It doesn't work very well.. Is there any way ?
Click to expand...
Click to collapse
See above about dual SIM devices
Liam
liamwli said:
It should change the number of the first SIM. Unfortunately, dual SIM devices are practically non-existent in the UK, so I can't test anything. However, I think the API does have support for it.
That would require root access, so I removed it before release. I might add it back in though.
Nope, the change is done by the app, but independent of the app. You can remove it once changed
See above about dual SIM devices
Liam
Click to expand...
Click to collapse
Thanks for you attention!
If you create something for dual-sims, I can test it - because none of my SIMs (both personal and work) have the number on SIM...
I can test if you bring some kind of solution...
Thanks once again!
Thanks for this module ! It shows only the first sim card on dual sim phone is there a way to make it dual sim compatible ?
Superb module that works perfectly.
Having imported my previous phone number to my new phone the sim status constantly showed the wrong phone number - the actual number on the sim, & not the imported 1. Not a major problem i agree, but a definite annoyance, especially when installing new apps. This little beauty's sorted that out though.
Now my sim status, & contact status, now show the number i want it to.... & only the number i want it to.
Thank you very much for taking the time to create this module, its very very very much appreciated.
Is this a permanent change (write to SIM card)?
i.e.: after made the changes, put the SIM card to another phone still work?
ming86 said:
Is this a permanent change (write to SIM card)?
i.e.: after made the changes, put the SIM card to another phone still work?
Click to expand...
Click to collapse
In my own idea it's not a permanent change, since it's xposed related thing.
folusmile said:
In my own idea it's not a permanent change, since it's xposed related thing.
Click to expand...
Click to collapse
I think it is a permanent written to SIM Card. I disable the module, reboot phone. The number still there.
Thanks TS wrote the module!
Anyhow, I write a fake number into it, I do not want Apps easily get my phone number from my SIM card.
ming86 said:
Is this a permanent change (write to SIM card)?
i.e.: after made the changes, put the SIM card to another phone still work?
Click to expand...
Click to collapse
Yes, it's permanent
folusmile said:
In my own idea it's not a permanent change, since it's xposed related thing.
Click to expand...
Click to collapse
Xposed is used to get access to the private methods that write the value, so it is permanent
Dear,
Any news regarding dual sim?
It works on O+2 \o/
Hello,
Just do the operation on each SIM card separately. One card at a time into the machine. Upon restart, the SIM card is updated and the change seems permanent.
It's wonderful ☺
Envoyé avec mon OnePlus Two de Bretagne, France.

How/where do u change your phone's identity from apps?

I did a factory reset yet a certain app still recognizes me, so can't be the device ID it sees, I'm guessing (I'd also like to know if that number is changable in a .prop file somewhere, I didn't see it in build.prop). My other guess is the IMEI number that's saved in the phone, even though it has no sim card anymore, but I don't know how/where to change that. Any other IDs that apps can use to recognize a phone? I'm running Oreo 8.1.
Edit: My phone is Qualcomm based, not MTK, which there's a bunch of apps out there that can change the IEMI on MTK phones.
GWARslave119 said:
I did a factory reset yet a certain app still recognizes me, so can't be the device ID it sees, I'm guessing (I'd also like to know if that number is changable in a .prop file somewhere, I didn't see it in build.prop). My other guess is the IMEI number that's saved in the phone, even though it has no sim card anymore, but I don't know how/where to change that. Any other IDs that apps can use to recognize a phone? I'm running Oreo 8.1.
Edit: My phone is Qualcomm based, not MTK, which there's a bunch of apps out there that can change the IEMI on MTK phones.
Click to expand...
Click to collapse
It isn't legal to change IMEI , he isn't responsible for this , look into your Google account settings , maybe your app still recognize you because of that .
im not worried about the legal end of things, and ill double check my phone in a few minutes, but im pretty sure it doesn't use the same google play account that is associated with that phone. And I was reading about how you cna use Xposed to spoof your iemi temporarily, might look into that.
RaiZProduction said:
It isn't legal to change IMEI , he isn't responsible for this , look into your Google account settings , maybe your app still recognize you because of that .
Click to expand...
Click to collapse
Depending on the country it is illegal to change your imei. In some countries you can be arrested just for omhaving the tools to do so.
Yeah, we don't discuss imei altering on xda.
Thread closed.

Urgent!! Need Callblocker/Blacklister

MIUI stock roms Contacts and dialler was awesome as it contained option to block any calls incl. number series as well. I'm on full Dnd and still getting spam calls from 120 140 nos randomly.
I'm on Havoc Rom and it got no such feature unfortunately but the rom is awesome!
I tried installing apk for MIUI Contacts and dialler and it gives an error App not installed. I tried many variants all fail stating same error.
I tried many apps on playstore and all suckk. Still the phone rings and none of the calls get locked.
Can someone suggest best callblocker/blacklister app for root/non-root methods?
**Please don't suggest truecaller as I dont like it as its a resource and battery suckerr.
If am not mistaken, Havoc v2.9 ROM's native Phone app comes with the blocker. Check the "Settings\Blocked numbers" which has options to Add number to block, options include:
1) Numbers not in Contacts: Numbers that are not listed in contacts
2) Private: Callers who don't disclose numbers
3) Pay phone: Calls done using pay phones
4) Unknown: Unidentified callers
NOTE: The blocked numbers in phone app will block Messages/SMS originating from these numbers too.
I tried installing apk for MIUI Contacts and dialler and it gives an error App not installed. I tried many variants all fail stating same error.
Click to expand...
Click to collapse
This is bound to fail (owing to compatibility issues) as you are merely copying/pasting an app/apk from MIUI based ROM to AOSP based ROM (Havoc). Implementing such would need painstaking porting of an app possibly with or without limited functionality/features.
fusionboyz said:
If am not mistaken, Havoc v2.9 ROM's native Phone app comes with the blocker. Check the "Settings\Blocked numbers" which has options to Add number to block, options include:
1) Numbers not in Contacts: Numbers that are not listed in contacts
2) Private: Callers who don't disclose numbers
3) Pay phone: Calls done using pay phones
4) Unknown: Unidentified callers
NOTE: The blocked numbers in phone app will block Messages/SMS originating from these numbers too.
This is bound to fail (owing to compatibility issues) as you are merely copying/pasting an app/apk from MIUI based ROM to AOSP based ROM (Havoc). Implementing such would need painstaking porting of an app possibly with or without limited functionality/features.
Click to expand...
Click to collapse
Yes I got this option but I want to block all calls from 120xxxxx series.
Can we block a complete series? If so what format to use?
120*
*120
+91120*
*+91120
etc etc... plz suggest
nri_tech1183 said:
Yes I got this option but I want to block all calls from 120xxxxx series.
Can we block a complete series? If so what format to use?
120*
*120
+91120*
*+91120
etc etc... plz suggest
Click to expand...
Click to collapse
My bad for the late one. Hopefully by now you must've already figured this out. Nevertheless, something of the order
+ <country code> <starting number>* should work where:
1) + is prefix
2) <country code> - replace it with your specific country intl code
3) <starting number> - replace it with the advt. specific common starting digits
4) * is for the wild card of numbers to follow post 3) above
NOTE: A word of caution, take care that you do not miss out on all important notifications from your providers in form of messages/calls etc.

Root android 11-12 for bypassing security

I need to root and install 2 important things: (these are important for me not everybody)
1-Root Call Blocker from farhbot (https://fahrbot.online/apps/rcb/)
2-install call recorder (no matter witch one , just can record my incoming and outgoing call)
Is it possible in new android?
I'm moving to purchase new phone , now I have sony zultra with android 5 and thats fine but the phone is too old and need to purchase new one.
Thoes questions are important to me.
Thanks
Love XDA Developers said:
I need to root and install 2 important things: (these are important for me not everybody)
1-Root Call Blocker from farhbot (https://fahrbot.online/apps/rcb/)
2-install call recorder (no matter witch one , just can record my incoming and outgoing call)
Is it possible in new android?
I'm moving to purchase new phone , now I have sony zultra with android 5 and thats fine but the phone is too old and need to purchase new one.
Thoes questions are important to me.
Thanks
Click to expand...
Click to collapse
Short answer: Yes, root is possible on Android 11 and 12.
Long answer: Magisk is now the preferred avenue for root as it is systemless - the kernel itself is patched to enable root access and to interface with the Magisk Manager. The method for rooting your particular device may vary, depending on the manufacturer.
As far as getting a new phone, I'm pretty fond of my Pixel 5. It's no longer available, but the 5a has the same SoC with a larger screen and battery. Just make sure you get an unlocked non carrier specific version.
Lastly, as a word of caution, make sure you are aware of privacy laws that may apply where you are. In the United States, many states have single party consent, where if at least one person who is part of the conversation consents to recording, it's legally permitted, regardless of whether the other parties are aware they're being recorded. However, other states explicitly require consent from all parties. Don't do anything that could get yourself into legal trouble, and whatever you do, don't get US in trouble.
Thanks for information
I'm not in US right now , I'm in Argentina and would like to purchase Xiaomi Redmi note 11 (there are lots of model and I don't know the exact model number)
Its so importatnt to me to use thoese application I mention before , after rooting my devices , am I able to use them?

Why you shouldn't install banking apps on rooted phones

The latest type of hack, something I always thought was not possible, is to infect someone's phone with a mere phone call. You can read about it here.
There are very good reasons why banking apps refuse to work on phones with an unlocked bootloader. Installing random tools/ mods from unknown developers (XDA is no exception) to bypass built-in security to make them work is a very bad idea.
If you absolutely must root your main device (although I don't see too many benefits of rooting in 2023), it is advisable that you buy a 2nd phone and use that for your banking (or anything to do with money and other important things) needs. Even a super budget Android phone, COMPLETELY STOCK, will be fine.
Here's an analogy:
It is very important to follow speed limits on roads. The limits have a scientific basis and anyone who follows it will mostly be able to avoid a fatal accident. Just because accidents won't necessarily happen if the speed limit is breached, doesn't mean it is a safe thing to do.
The single biggest reason responsible for 99% of fatal accidents is overspeeding! If speed was under control, it is very highly likely that there won't be fatalities.
Applies to some Exynos models only. Details are vague. Banking, shopping and social media apps should never be installed anyway. You are what you load...
blackhawk said:
Applies to some Exynos models only. Details are vague. Banking, shopping and social media apps should never be installed anyway. You are what you load...
Click to expand...
Click to collapse
That is only in this case. Snapdragon models are not immune.
TheMystic said:
That is only in this case. Snapdragon models are not immune.
Click to expand...
Click to collapse
Documentation please...
Even if you were to post and reply about it daily in threads, there would still be similar questions about non-working apps with root or unlocked bootloader.
It's sad.
blackhawk said:
Documentation please...
Click to expand...
Click to collapse
Documentation in support of what? That Snapdragon phones are not immune? Are you implying Snapdragon phones are immune?
I'm not talking about this particular vulnerability specifically.
TheMystic said:
I'm not talking about this particular vulnerability specifically.
Click to expand...
Click to collapse
Exactly my point. This isn't a Snap vulnerability at all. Not all unpatched Exynos are vulnerable to it either.
There are multiple workarounds for most vulnerabilities for Android 9. Last time this phone was updated was 11/2019. It's current load will be 3yo in June. Zero malware so far.
Upgrades would've caused me far more lost time and inconvenience than any malware could even if the load only lasted 1 year or less.
The newest firmware isn't immune and may bring new huge vulnerabilities with it. Not doing stupid things is the best protection there is; most victims inadvertently install the malware themselves.
blackhawk said:
This isn't a Snap vulnerability at all.
Click to expand...
Click to collapse
This post isn't about this vulnerability either. It was referenced just as an example of zero day vulnerabilities that any connected tech can be a victim to.
blackhawk said:
Not doing stupid things is the best protection there is
Click to expand...
Click to collapse
Receiving a phone call isn't stupid in any way. Something like this shows that the tech we use everyday isn't as safe as we assume it to be
TheMystic said:
This post isn't about this vulnerability either. It was referenced just as an example of zero day vulnerabilities that any connected tech can be a victim to.
Click to expand...
Click to collapse
No shopping, banking, social media apps mean none multi vector vulnerabilities they bring. None of these apps are needed.
TheMystic said:
Receiving a phone call isn't stupid in any way. Something like this shows that the tech we use everyday isn't as safe as we assume it to be
Click to expand...
Click to collapse
It's a very hardware specific vulnerability. Data bandwidth over the VoLTE is limited. Just hang up. Block unknown numbers, which you should be doing anyway. Delete unknown or untrusted texts without opening.
Google is more hype than fact... wholesale purveyors of disinformation and lying by omission. It's rampant.
blackhawk said:
Block unknown numbers, which you should be doing anyway. Delete unknown or untrusted texts without opening.
Click to expand...
Click to collapse
Not a practical suggestion for most users.
TheMystic said:
Not a practical suggestion for most users.
Click to expand...
Click to collapse
That means numbers with no attached caller ID are blocked...
I'm more tolerant to play with spam in Gmail but not with texts. They are at a much higher risk level.
blackhawk said:
That means numbers with no attached caller ID are blocked...
Click to expand...
Click to collapse
I'm not sure what you mean here. Does your SIM provider have any caller ID service? Mine doesn't. I don't use Google Dialer and certainly not Truecaller, which I consider a spyware.
I do receive lots of calls from unknown numbers, and though many of them are useless marketing calls, some are indeed useful. So I block numbers after attending calls when I know I don't want to hear from them again.
TheMystic said:
I'm not sure what you mean here. Does your SIM provider have any caller ID service? Mine doesn't. I don't use Google Dialer and certainly not Truecaller, which I consider a spyware.
I do receive lots of calls from unknown numbers, and though many of them are useless marketing calls, some are indeed useful. So I block numbers after attending calls when I know I don't want to hear from them again.
Click to expand...
Click to collapse
Unless the caller blocks their caller ID I can see their number. If they block caller ID they are automatically blocked; the call is registered in call history but it doesn't ring.
More over if they phlish a number and get through they generally regret it. I rather enjoy that. Sometimes I take spam calls for sport.
Been doing that for decades
blackhawk said:
Unless the caller blocks their caller ID I can see their number. If they block caller ID they are automatically blocked;
Click to expand...
Click to collapse
You mean calls where we see 'Unknown number' on screen? I think that is a thing of the past now. Today, tech allows such scammers to make internet calls that show up as real numbers (which actually don't exist) complete with country code and city code. And the same tech also allows them to call from different number each time.
TheMystic said:
You mean calls where we see 'Unknown number' on screen? I think that is a thing of the past now. Today, tech allows such scammers to make internet calls that show up as real numbers (which actually don't exist) complete with country code and city code. And the same tech also allows them to call from different number each time.
Click to expand...
Click to collapse
I covered that. Excepting unknown callers is unacceptable today.
blackhawk said:
I covered that. Excepting unknown callers is unacceptable today.
Click to expand...
Click to collapse
That's true. I haven't received a call like that for a very long time now. May be 5 years or more.
TheMystic said:
There are very good reasons why banking apps refuse to work on phones with an unlocked bootloader.
Click to expand...
Click to collapse
My banking app needs minSdkVersion={R.0x18} or let's say min. Android 7. When using an older device with Android 7 for my banking app, would it be unsecure to unlock my bootloader to install a more secure firmware?
WoKoschekk said:
My banking app needs minSdkVersion={R.0x18} or let's say min. Android 7. When using an older device with Android 7 for my banking app, would it be unsecure to unlock my bootloader to install a more secure firmware?
Click to expand...
Click to collapse
Just login online instead using Brave.
blackhawk said:
Just login online instead using Brave.
Click to expand...
Click to collapse
And my TAN app?
An unlocked bootloader isn't unsecure at all. An attacker has got no benefits regarding banking apps on an unlocked or rooted device. Sensitive app data is stored encrypted by the app itself and even root access wouldn't help to read it. Transactions need a TAN that is only valid for the current transaction and only for a very limited time. You can't generate TANs for future transactions.
However, an attacker cannot gain access to your device via an unlocked bootloader. He gains access via an unpatched vulnerability.
Regarding the day-0-exploits: This is almost in every case a very, very theoretical construct and not executable in real life. All patches since 2015 are documented very detailed. You can download the patched and also the unpatched source code for this. It's like a instruction that tells you how to do it. But it seems that no one is able to implement it. Since 8 years Google releases every month new patches for new vulnerabilities. There are hundreds of it but they have never been used.
WoKoschekk said:
My banking app needs minSdkVersion={R.0x18} or let's say min. Android 7. When using an older device with Android 7 for my banking app, would it be unsecure to unlock my bootloader to install a more secure firmware?
Click to expand...
Click to collapse
What do you mean by 'a more secure firmware'? The most secure firmware is what your OEM released for your device. If your device is old and is no longer updated by the OEM, it can still be used safely as long as you keep everything stock and don't install random apps.
WoKoschekk said:
an attacker cannot gain access to your device via an unlocked bootloader. He gains access via an unpatched vulnerability.
Click to expand...
Click to collapse
A device with an unlocked bootloader makes it more vulnerable, and therefore more easily compromised by bad actors.
There should be reasons why banking apps don't want to work on an unlocked device, isn't it? Those apps are developed by professionals who know much more than most of us do. It is better to be safe than sorry.
WoKoschekk said:
There are hundreds of it but they have never been used.
Click to expand...
Click to collapse
Which means we shouldn't take things for granted. And definitely not increase the vulnerabilities even more by breaking the built-in defenses ourselves.

Categories

Resources