How To Modify SIM Application Toolkit(STK) Rooted Mobile

Fahid picture Fahid · Feb 17, 2014 · Viewed 15.8k times · Source

Dear Android Developers,

I want to modify Sim toolkit application according to client requirement e.g app checks balance automatically.Manually Our Currier allow this feature in Sim toolkit. I did a lot of search how i can accomplish this but could not get any where.

what i did so far is

1-Rooted My Device.

Got Hint From This Question How do I access Android STK Menu using APK?

2-Downloaded the source code of STK from github https://github.com/android/platform_packages_apps_stk

3-Remove all errors of project by building and setting internal API. http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/

when i am running this project getting this error

Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

I checked all stackoverflow questions e.g INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id

but not found any solution. Please help me what i am doing wrong.my direction is wrong or not? Please gave any suggestion any thing which can gave me idea.

Thankx in advance.Sorry for my English i am new developer.

Answer

Syed Aqeel Ashiq picture Syed Aqeel Ashiq · Aug 18, 2015

As suggested in one of the comments, the error is due to application being signed with a different certificate. This certificate dependency can be removed by changing the package names in the application. Because each java package belongs to the certificate with which it is signed.