-
Notifications
You must be signed in to change notification settings - Fork 527
IMEI not restricted on Lollipop #3 #2201
Comments
Step-by-step for Android 5.0.2: Calls internally getDeviceId(int slotId), which calls: Which can be restricted: So, please check the usage data for this application and make sure you have Srv_getDeviceIdForSubscriber5 restricted. |
It seems it is : http://hpics.li/d7a3b7e |
Then the restriction should work. |
Device ID, and Elixir2 |
I dont know if it can help, but the following Xposed module works on 5.0.2 : |
I can fix it in XPrivacy too: run in compatibility mode, but that is not what we want. |
First test with 5.0 was positive. Blocking getDeviceId() did indeed block me from getting the device id in my Debugger app. I will test the mentioned applications, if they do get a valid id, they use a different approach. EDIT: The Device ID app uses the following
XPrivacy does popup requesting permission to access the device id, but even if I press deny, the app get's the correct value. |
Marcel here is the status of this issue.
|
dk-zero-cool I can't reproduce your steps, can't be spoofed on mine... |
what xposed version do you use? |
Good question, I guess on 5.0.2 I'm using The last "official" revision from Rovo I'll check again. Edit : Flashed latest Alpha4 from Rovo to be sure, and I can't spoof IMEI. |
Makes no sense, I use the same Xposed version, CM 12 (5.0.2) with latest commits of XPrivacy. But looking at what I experience might fix it for both. I did still have the same problem after each boot. |
I'm not using cm12, but cm12s, the official one plus one rom |
Given that it works for me (stock Android 5.1) and for @dk-zero-cool (CM12) my best guess is that CM12S is not close enough to stock Android anymore. This might affect more ROMs, so I have disable AOSP mode for all ROMs other than stock ROM. |
XPrivacy: 3.6.13
Android: 5.0.2 (SDK 21)
Brand: oneplus
Manufacturer: OnePlus
Model: A0001
Product: bacon
Device: A0001
Host: cyanogenmod
Display: LRX22G
Id: LRX22G
Method not found hook=phone/Srv_getNaiForSubscriber5 (com.android.internal.telephony.PhoneSubInfoController)
The text was updated successfully, but these errors were encountered: