Change icons without BetterCut

Discussion in 'Android Hacks and Help' started by RichStevenson, Feb 11, 2010.

  1. RichStevenson

    RichStevenson Member

    Joined:
    Nov 11, 2009
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Medina, OH
    Ratings:
    +0
    You can change both the text and icon of your home screen shortcuts without needing to use BetterCut or other app, although BetterCut makes it a whole lot easier. With that said, this was just a curiosity thing for me. It's probably best to just use BetterCut.

    You don't need root for this.
    Tested on 2.0.1 only, but I'm guessing it would work on 2.1 as well.

    Pull /data/data/com.android.launcher/databases/launcher.db from the phone.

    Download and install: It's free.
    SQLite2009 Pro Enterprise Manager
    OsenXPSuite - Smart user interface for Visual Basic developers - ActiveX, embedded database, encryption, compression, button, listview, listbox, xp form, xpsuite, northwind trader, query analyzer, msaccess to mysql, auto update, visual basic 6.0, lua

    Open the launcher.db with SQLite.
    Expand Tables and click on 'favorites'.
    Select the Table Data tab.

    You'll see all of your folders and shortcuts on your home screen.
    To change the text, edit the 'title' field.
    Change the 0 in field 'itemType' to 1
    Change the 0 in field 'iconType' to 1

    You must add an icon to the icon field, even if you want to use the default app's icon. So either extract it from the app's apk, or use another .png to replace the icon.If you skip this step, the icon will display with the default system icon.

    Exit out of SQLite.
    Push launcher.db back to /data/data/com.android.launcher/databases/
    And reboot.

    As a side note, if you have tons of shortcuts/folders, you can pull down launcher.db from your phone, and then push it back after a phone wipe to restore your shortcuts.
     
    Last edited: Feb 11, 2010
  2. Big Lou

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    733
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Nice! This would be a cool way to theme the icons with the Smoked Glass ROM!
     
  3. RichStevenson

    RichStevenson Member

    Joined:
    Nov 11, 2009
    Messages:
    476
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Medina, OH
    Ratings:
    +0
    Smoked glass icons would be very cool!
     
  4. Matth3w

    Matth3w Guest

    Ratings:
    +0
    Say I have an icon pack on my SD card under \sdcard\icon. Say I want to replace the ChompSMS icon with sms.png located in that folder. How do I link to that under iconResource? And do I have to specify something for IconPackage there?
     
  5. Humpa

    Humpa Member

    Joined:
    Jan 3, 2010
    Messages:
    440
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Dallas
    Ratings:
    +0
    With BetterCut you must at least use a "space" for the title. Will this method allow me to leave the title blank so I can just have the icon without anything at all showing underneath?
     
  6. Matth3w

    Matth3w Guest

    Ratings:
    +0
    That is an interesting question....it would really clean up the home screen IMO.
     
  7. tktouch12

    tktouch12 Active Member

    Joined:
    Nov 17, 2009
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    this is great info. thanks. i might just have to give this a try
     
Search tags for this page
/data/data/com.android.launcher/databases no root
,

/data/data/com.android.launcher/databases/launcher.db

,
bettercut need root?
,
change android icons with bettercut
,

change icons without launcher android

,
launcher.db replace
,
rooted android change icon title