Seite 1 von 1

android 12 - sms deletion

Verfasst: So 3. Aug 2025, 13:29
von Yoss
Hello.
I use deleting messages via MPE a lot. Workaround with using version 1.0.48 stopped working for me on Android 12.
MPE is not on list of application that can be default sms app and the question about change default sms app is not popping out when I try to delete sms. (but phone is vibrating as there would be popup).
After digging I found workaround on rooted phone:

Code: Alles auswählen

am start -a android.intent.action.SENDTO -d "smsto:" com.fjsoft.myphoneexplorer.client
cmd role add-role-holder android.app.role.SMS com.fjsoft.myphoneexplorer.client
But that fails with:

Code: Alles auswählen

08-03 10:40:50.885  8625 15896 I Role    : com.fjsoft.myphoneexplorer.client not qualified for android.app.role.SMS due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.intent.action.SENDTO', mCategories='[]', mDataScheme='smsto', mDataType='null'}, mMinTargetSdkVersion=1, mFlags='0', mPermission='null', mQueryFlags=0, mMetaData=[]}

08-03 10:40:50.885  8625 15896 E RoleControllerServiceImpl: Package does not qualify for the role, package: com.fjsoft.myphoneexplorer.client, role: android.app.role.SMS
Perplexity says that one solution is to mask manifest file via magisk to add activity android.intent.action.SENDTO or recompile it with :

Code: Alles auswählen

<activity android:name=".ComposeSmsActivity">
  <intent-filter>
    <action android:name="android.intent.action.SENDTO"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <data android:scheme="sms"/>
    <data android:scheme="smsto"/>
  </intent-filter>
</activity>
How can I achieve this? :)
I really miss managing sms messages via MPE.

Verfasst: Di 12. Aug 2025, 09:16
von FJ
I have sent you a PM