Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

If you are rooted, you can use Titanium Backup to link or unlink an app to/from Play Store. What does Titanium Backup do for it? I don't think Android API supports this directly. It alters a file or database or something else?
I am just curious...

share|improve this question

1 Answer 1

up vote 4 down vote accepted

It removes the app's entry from the /data/data/com.android.vending/databases/localappstate.db database:

root@android:/data/data/com.android.vending/databases # ls
library.db
library.db-journal
localappstate.db
market_assets.db-journal
suggestions.db
suggestions.db-journal
appstate.db
root@android:/data/data/com.android.vending/databases # sqlite3 localappstate.db
SQLite version 3.7.4
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from appstate where package_name='com.android.chrome';
com.android.chrome|2||||0|||<myemail>@gmail.com||

... Here I detached from the Market with Ti ...

sqlite> select * from appstate where package_name='com.android.chrome';
sqlite>

I'm not aware of it making any other modifications to the filesystem (it doesn't touch library.db insofar as I can tell), but it's possible that there's some other magic behind it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.