factory reset- MASTER_CLEAR AND signatureOrSystem

Put your problem here if it does not fit any of the other categories.

factory reset- MASTER_CLEAR AND signatureOrSystem

Postby twsc » Mon Nov 23, 2009 1:02 am

Dear All,

I found a code to do factory reset function.
But it seems does not allow the 3rd applicaiton to do it.
My role is not the manufacture, so I won't have the signature key of the os.
I am curios if it is possible to install the application to the system particiation under the user's permission.
Or the user need to grant the root permission to install the app by itself.

Thank you.

http://android.git.kernel.org/?p=platfo ... 46b114aaa7

<permission android:name="android.permission.MASTER_CLEAR"
890 android:label="@string/permlab_masterClear"
891 android:description="@string/permdesc_masterClear"
892 android:protectionLevel="signatureOrSystem" />
Junior Developer
Junior Developer
Posts: 10
Joined: Wed Jan 28, 2009 2:23 pm


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 6 guests