disable mobile data warning

Issue #237 resolved
pikuer created an issue

In some roms there is a Mobile data warning shows when I tried off 3G or EDGE netwok. The dialog came from com.htc.mobiledata/.dialog.MobileOnOffDialog and I tried use many different versions of HTCMobiledata.apk but nothing changes. I did some search and did't found useful information except someone else had this problem too. I believe there is a switch somewhere, and a checkbox in this dialog on some old version. Any idea how to disable it? Maybe change some config file?

Comments (3)

  1. Mikanoshi

    It's only on Verizon devices, tons of useless warnings :) I don't think you can disable them easily. Package com.htc.mobiledata is ProGuarded, so it's hard to say what code inside does and also hard to mod it.

  2. pikuer reporter

    Thanks @Mikanoshi . That's very helpful. ’Cause I changed different versions of HTCMobiledata.apk and not worked, I don't think it caused by code inside. I‘d decomplected htcmobiledata.apk and realized there must be some xml config out of this apk.So I compared mass xml files from a Verizon rom and a International rom. Here it is: /system/customize/ACC/default.xml

    <item type="boolean" name="support_turnoff_mobile_data_dialog">true</item>
    

    After change it false and reboot phone, the dialog is disappeared.

  3. Log in to comment