SIMNumberSetter
SIMNumberSetter copied to clipboard
Problem with Lsposed
I installed Lsposed zygisk versión and enabled the module from there AND grated root permission then reboot and the app dosent detect Lsposed and force me to close it
What device and firmware?
Poco x3 pro android 12 CRdroid
Ok, it should work on that. Please post your LSposed logs.
There's no error in there. Could you send a screenshot of the LSposed page for Sim Number Changer, showing the enabled apps?
There's no error in there. Could you send a screenshot of the LSposed page for Sim Number Changer, showing the enabled apps?
Sure :)
Yeah that should work, I have no idea why it's not doing, sorry.
Yeah that should work, I have no idea why it's not doing, sorry.
Dont worry thanks for trying (8
I just wanted to add that I get the same error with the app using LSPosed and Magisk 24 on my POCOPHONE F1 AwakenOS Android 12. Probably something to do with Xiaomi.
Same on OnePlus 8 Pro, Magisk 24, OOS11
If you're using shamiko module remove it. It's messing with root privileges and lsposed's too
Same here on realme 1 ricedroid 4.5 Android 12.1
Install the riru flavor module as well as the riru version of LSPosed. This worked for me
This shit doesn't work at all. Tried with zygisk lsposed, with riru, blacklist is disabled and is still doesn't connect! Magisk and lsposed are working completely fine. Android 13 MIUI 14 Mi 11
This shit doesn't work at all. Tried with zygisk lsposed, with riru, blacklist is disabled and is still doesn't connect! Magisk and lsposed are working completely fine. Android 13 MIUI 14 Mi 11
https://github.com/KieronQuinn/SIMNumberSetter/issues/2#issuecomment-1036276303
It works for everyone else. Blame MIUI.
Angeluskun has not been able to get it to work on an AOSP-based FW either, as well as many other users that are not using MIUI.
Poco x3 pro android 12 CRdroid Same here on realme 1 ricedroid 4.5 Android 12.1 Same on OnePlus 8 Pro, Magisk 24, OOS11 LSPosed and Magisk 24 on my POCOPHONE F1 AwakenOS Android 12
Angeluskun has not been able to get it to work on an AOSP-based FW either, as well as many other users that are not using MIUI.
Poco x3 pro android 12 CRdroid Same here on realme 1 ricedroid 4.5 Android 12.1 Same on OnePlus 8 Pro, Magisk 24, OOS11 LSPosed and Magisk 24 on my POCOPHONE F1 AwakenOS Android 12
It's still a MIUI-origin device. I can't guarantee support on devices where the proprietary blobs are fucked with by Xiaomi.
Some see success with different LSPosed builds or by disabling other mods. Other devices are known to work. This is not something I can fix.
If you can't fix it, then i'll do it myself. And I found a reason. It doesn't work because it fails at getting line1Number, which is not even needed, for changing this value. If i remove this line, i can sucessfuly change a number, and see it on other phone. That function is also deprecated https://developer.android.com/reference/android/telephony/TelephonyManager#getLine1Number()
![](https://user-images.githubusercontent.com/16743370/227321143-ed9c714a-7d02-4f57-a0ce-e28a8d4216b2.png)
![](https://user-images.githubusercontent.com/16743370/227321720-791db89f-a9ef-461f-a1e0-c9332b4b0a3c.jpg)
![](https://user-images.githubusercontent.com/16743370/227321732-13eac840-b48e-4f2c-8426-5c2e299bd2f8.jpg)
![](https://user-images.githubusercontent.com/16743370/227321746-260cec03-cb7b-46eb-8eab-31926cfdb0c6.png)
Fucked up blobs yeah whatever
You're looking at the wrong class. It's not deprecated at all:
https://cs.android.com/android/platform/superproject/+/refs/heads/master:frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneInternalInterface.java;drc=5f971bfb26b0f0cf4ddca5da71e89a2690cba919;l=698
If OEMs mess with internal classes, how the hell am I supposed to support them without having every device available? I'm not crippling the app for them - the current number IS used, it's shown to the user to confirm the current number and that the change worked!
well, i can agree that miui is not the best made firmware. I was just angry because the app was showing an error related to xposed, when it was something else entirely. Next time, it is better to describe each step in detail so that you understand the problem clearly.
That is what #10 is for.
aren't you going to add some workaround if get sim number is not working?
If you can't fix it, then i'll do it myself.
Hei @megapro17 can i got your modified module app? I have a same problem with current SIM Number Setter app on MIUI 13.
If you change a number in the MIUI settings, it's not written to the SIM card, it's only cached in the system. If you set an empty field, it will delete this cached value. So before you make a change you need to clear a field. Go to settings - sim - sim 1 number and set a blank field. Then eject and insert a card, change a number in the application, reeject again and look in settings, it should show a number that is stored in sim.
I will make a better version soon. base.zip
@megapro17 thanks a lot! Really appreciated it!
If you change a number in the MIUI settings, it's not written to the SIM card, it's only cached in the system. If you set an empty field, it will delete this cached value. So before you make a change you need to clear a field. Go to settings - sim - sim 1 number and set a blank field. Then eject and insert a card, change a number in the application, reeject again and look in settings, it should show a number that is stored in sim.
I will make a better version soon. base.zip
Could it be that devices with mediatek chips cause issues??
And the app you provided (base.apk) is not even getting installed on my device.
It's not just Xiaomi, same issue over here, everything is correct, yet it isn't connecting to LSPosed. I have a Samsung a52s