Reecc / roottools

Automatically exported from code.google.com/p/roottools
0 stars 0 forks source link

isAccessGiven() throwing error for customized ROM #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Hi ,
I am trying to use isAccessGiven() method on cynogenmod flashed ROM environment 
. I am getting the following error .. 

03-17 02:06:56.377: E/Database(617): Error inserting package=com.inauth.root 
uid=10060 exec_uid=0 allow=1 exec_cmd=/system/bin/sh name=Rootchecker
03-17 02:06:56.377: E/Database(617): 
android.database.sqlite.SQLiteConstraintException: error code 19: constraint 
failed
03-17 02:06:56.377: E/Database(617):    at 
android.database.sqlite.SQLiteStatement.native_execute(Native Method)
03-17 02:06:56.377: E/Database(617):    at 
android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:61)
03-17 02:06:56.377: E/Database(617):    at 
android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:
1582)
03-17 02:06:56.377: E/Database(617):    at 
android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1426)
03-17 02:06:56.377: E/Database(617):    at 
com.noshufou.android.su.provider.PermissionsProvider.insert(PermissionsProvider.
java:309)
03-17 02:06:56.377: E/Database(617):    at 
android.content.ContentProvider$Transport.insert(ContentProvider.java:198)
03-17 02:06:56.377: E/Database(617):    at 
android.content.ContentResolver.insert(ContentResolver.java:613)
03-17 02:06:56.377: E/Database(617):    at 
com.noshufou.android.su.SuRequestActivity.sendResult(SuRequestActivity.java:232)
03-17 02:06:56.377: E/Database(617):    at 
com.noshufou.android.su.SuRequestActivity.onClick(SuRequestActivity.java:204)
03-17 02:06:56.377: E/Database(617):    at 
android.view.View.performClick(View.java:2501)
03-17 02:06:56.377: E/Database(617):    at 
android.view.View$PerformClick.run(View.java:9107)
03-17 02:06:56.377: E/Database(617):    at 
android.os.Handler.handleCallback(Handler.java:587)
03-17 02:06:56.377: E/Database(617):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-17 02:06:56.377: E/Database(617):    at android.os.Looper.loop(Looper.java:130)
03-17 02:06:56.377: E/Database(617):    at 
android.app.ActivityThread.main(ActivityThread.java:3835)
03-17 02:06:56.377: E/Database(617):    at 
java.lang.reflect.Method.invokeNative(Native Method)
03-17 02:06:56.377: E/Database(617):    at 
java.lang.reflect.Method.invoke(Method.java:507)
03-17 02:06:56.377: E/Database(617):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
03-17 02:06:56.377: E/Database(617):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
03-17 02:06:56.377: E/Database(617):    at dalvik.system.NativeStart.main(Native 
Method)

Original issue reported on code.google.com by Inau...@gmail.com on 17 Mar 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Seems to be an isolated issue, I'm using that method on MIUI/CyanoGenMod based 
ROMs, and on several devices without problems.

Original comment by 0o.Zuben...@gmail.com on 25 Mar 2012 at 8:15

GoogleCodeExporter commented 8 years ago
The above stacktrace is From  Superuser not from roottools.

Original comment by Stericso...@gmail.com on 25 Mar 2012 at 8:29