• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Widget Fragments? Try this

paimon.soror

Android Enthusiast
Not sure if any users are seeing some fragments in their Widget list after removing apps. Fragments may look like

dip0.0
Fake

I got this tip over at xda from sl0wd0wn and it worked like a charm.

I had this same problem. I cleared the cache for some of the HTC applications (Settings->Applications->Manage Applications) and it fixed the problem. I'm pretty sure wiping the cache of the HTC Sense application did the trick. Beware though, you'll loose most of your Sense settings including saved layouts.

Again, you do loose your scenes, but thats a small price to pay, kudos to sl0wd0wn, not sure if he is on the forums here but if he is I owe him a thanks.
 
Did some experimenting around this today. The fragments are caused by the HTC launcher. You've got a few options:

1. Delete the launcher cache. You'll only lose your home screen icons and widgets. To do this, remove /data/data/com.htc.launcher and reboot your phone or kill the com.htc.launcher process (it'll automatically restart).

2. Going to preface by saying this is much more work than just readding icons and widgets to your home screen, but here it goes. The widget list is actually in an SQLite database under /data/data/com.htc.launcher/databases/launcher.db. Copy it onto your machine via ADB and use SQLite Database Browser | Download SQLite Database Browser software for free at SourceForge.net to edit it and remove entries for any widgets you've deleted. Save the DB, the copy it back into place. Kill the launcher or reboot. One note, you won't be able to directly read or write from the /data/data dir via adb, so you need to use /sdcard as a temporarily location when copying to and from the PC.

So yeah, I recommend option #1. Use ShootMe to take screenshots of each of your home screens prior to starting and you'll have a reference for re-creating it all. Either way, I was pleased not to need to reset.
 
The only thing I found that you may need a factory reset on is to get rid of the application references that are left in the applications screen. For example removing CityId, the cityid entry is still in the application list...clicking causes a FC

Im sure there is another sqldb for that list as well but I didn't really spend the time to look
 
Back
Top Bottom