1. Download our Official Android App: Forums for Android!

Root Widget Fragments? Try this

Discussion in 'Android Devices' started by paimon.soror, Jun 15, 2010.

  1. paimon.soror

    paimon.soror Android Enthusiast
    Thread Starter
    73

    Apr 29, 2010
    413
    76
    73
    Software Engineer
    Vernon, CT
    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.

    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.
     

    Advertisement

    kjbuente likes this.
  2. rmk

    rmk Well-Known Member
    43

    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.
     
  3. paimon.soror

    paimon.soror Android Enthusiast
    Thread Starter
    73

    Apr 29, 2010
    413
    76
    73
    Software Engineer
    Vernon, CT
    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
     
  4. mandophish

    mandophish Newbie
    16

    Jun 15, 2010
    15
    1
    16

Share This Page

Loading...