-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
device-info.sh not detecting phone number on Samsung A21, model: SM-G991U1, OS:14 #85
Comments
@jpage4500
|
|
FWIW results from a different device (same hardware & carrier)
(I replaced some of the digits with X) |
I have added support for multiple slot in the script and done various improvements. Please post the full output (with some parts covered) but enough to get the idea of what is working and what it isn't. |
Hi @ale5000-git -- thanks again for the changes! multiple device support works great! I did have to comment out the root/advanced checks as they caused the script to hang at one point as well as the Here's the results from 2 devices - 1 that works and another that doesn't. The only differences I noticed between all of them is device 1:
device 2:
Let me know if you can think of anything else I can try |
@jpage4500 The better thing to discover the problem is to see the output of all queries, with this code:
Could you please send the result of that? |
@ale5000-git - I just sent a PM with details; thanks again! |
@jpage4500
I made these changes to the script:
So now you could get perfect debug output with: |
very cool - thanks. I'll give it a shot |
the updated script works great! I ran it with lots of devices connected and no issues I agree it's probably not possible to get the phone number for some of these devices although I am very curious to figure out why. Here's a device that doesn't return a number:
Here's another one which does:
|
From what I have read they say that it is the operator who can choose whether or not to write the number on the SIM. Current problems:
|
What happened?
I have several test devices that don't log the phone number and I can't figure out why.. the confusing part is I have other devices (same device/OS/SIM/etc) which show the phone number fine.
The devices in question are all Samsung A21, model: SM-G991U1, OS:14
screenshot showing about screen for device in question. I can get a screenshot of another device that is able to fetch the phone number but it looks the same. I'm just wondering what could be different that would cause 1 to work and another not to
NOTE: I can help test any ideas/suggestions -- just let me know!
Version
1.5
Android version
14
Custom ROM
default
Relevant log output
No response
The text was updated successfully, but these errors were encountered: