I am trying to run the following:
Task > Add > misc > Component Intent
Class: com.cyanogenmod.cmparts.services.RenderFXService
Package: com.cyanogenmod.cmparts
Cat: None
Data:
Extra:
Target: Service
and I get:
"Component Intent: permission denied by Android"
This is a rooted HTC device running Cyanogenmod 7.1.1 (stable Mod)
CMParts is a system app/package that supplies most of the unique
settings of this ROM. It is a system level app. Which is why I think
I am getting this error. I am fairly new to Action and Component
Intents, but I have had some success with using parsed
AndroidManifest.xml files to find the intents for apps such as
Handcent SMS (quick compose - component,activity), Car Locator (set
location widget - action,receiver).
This is a portion of the AndroidManifest.xml file for CMParts:
C:\Users\Joeviocoe\Downloads\x_Android\apktool>aapt dump xmltree C:
\Users\Joeviocoe\Downloads\x_Android\apktool\com.cyan
ogenmod.cmparts-bb0eee3345b1f90ff44ea77fc3cc31fd.apk
AndroidManifest.xml
N: android=
http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:sharedUserId(0x0101000b)="android.uid.system" (Raw:
"android.uid.system")
A: android:versionCode(0x0101021b)=(type 0x10)0xa
A: android:versionName(0x0101021c)="2.3.7" (Raw: "2.3.7")
A: package="com.cyanogenmod.cmparts" (Raw:
"com.cyanogenmod.cmparts")
E: uses-sdk (line=5)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x8
A: android:targetSdkVersion(0x01010270)=(type 0x10)0xa
E: uses-permission (line=6)
A:
android:name(0x01010003)="android.permission.WRITE_SETTINGS" (Raw:
"android.permission.WRITE_SETTINGS")
E: uses-permission (line=7)
A:
android:name(0x01010003)="android.permission.WRITE_SECURE_SETTINGS" (Raw:
"android.permission.WRITE_SECURE_SETT
INGS")
E: uses-permission (line=8)
A:
android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE" (Raw:
"android.permission.WRITE_EXTERNAL_S
TORAGE")
E: uses-permission (line=9)
A:
android:name(0x01010003)="android.permission.READ_EXTERNAL_STORAGE" (Raw:
"android.permission.READ_EXTERNAL_STO
RAGE")
E: uses-permission (line=10)
A:
android:name(0x01010003)="android.permission.HARDWARE_TEST" (Raw:
"android.permission.HARDWARE_TEST")
E: uses-permission (line=11)
A:
android:name(0x01010003)="android.permission.MODIFY_AUDIO_SETTINGS" (Raw:
"android.permission.MODIFY_AUDIO_SETT
INGS")
E: application (line=13)
A: android:label(0x01010001)=@0x7f090000
A: android:icon(0x01010002)=@0x7f020005
..................... *bunch of other stuff
here* ......................
E: intent-filter (line=305)
E: action (line=306)
A:
android:name(0x01010003)="android.intent.action.MAIN" (Raw:
"android.intent.action.MAIN")
E: receiver (line=310)
A: android:label(0x01010001)=@0x7f090169
A:
android:name(0x01010003)=".provider.RenderFXWidgetProvider" (Raw:
".provider.RenderFXWidgetProvider")
E: intent-filter (line=311)
E: action (line=312)
A:
android:name(0x01010003)="android.appwidget.action.APPWIDGET_UPDATE" (Raw:
"android.appwidget.action.APPW
IDGET_UPDATE")
E: meta-data (line=314)
A:
android:name(0x01010003)="android.appwidget.provider" (Raw:
"android.appwidget.provider")
A: android:resource(0x01010025)=@0x7f040001
E: service (line=318)
A: android:name(0x01010003)=".services.RenderFXService" (Raw:
".services.RenderFXService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
E: service (line=319)
A: android:name(0x01010003)=".services.BatteryService" (Raw:
".services.BatteryService")
A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
I am pretty confident I filled out the Component Intent correctly,
since I have "trial n error"ed a bunch of other ways and this was the
only one that gave any response (the error message of, "Component
Intent: permission denied by Android"
===============
Since this is a system service, I would need root privilege I think.
Is there any possible way to run Component Intent as Root? If not, is
there any way to use Python or Shell script to start this particular
service?
Thank you.