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

Root Pulling custom icons

Discussion in 'Android Devices' started by BlueGoldAce, Mar 31, 2011.

  1. BlueGoldAce

    BlueGoldAce Member
    Thread Starter
    Rank:
    None
    Points:
    18
    Posts:
    53
    Joined:
    Jan 21, 2011

    Jan 21, 2011
    53
    12
    18
    Hello everyone,

    Quick question here.

    How do you pull out custom icons from roms like King's Ultra Froyo U3?

    Honestly, how do people create these icons? I understand desktop visualizer and etc, but you have to have the image. Do they use photoshop or something along those lines?

    Thanks for the help!
     

    Advertisement

  2. 9to5cynic

    9to5cynic Android Expert
    Rank:
    None
    Points:
    633
    Posts:
    4,873
    Joined:
    Feb 20, 2011

    Feb 20, 2011
    4,873
    1,766
    633
    /home/
    Well, if you know where they are stored (I don't) I think it would be something like this...

    Code (Text):
    1. adb pull /system/icons/wherever/icon.png
    Again, I haven't ever tried it. Nor do I know where icons are saved or what file an icon is. But I do that that particular command would work (haven't really done any adb in a while...)

    Hope that helps at least a little bit.

    EDIT:

    Okay, this is how I am trying it.
    Code (Text):
    1.  
    2. adb shell
    Code (Text):
    1. ls
    adb shell starts the daemon for adb, and ls lists the file structure. For example, there is the /system/customize/widget.txt file on my phone that allows you change the layout of the notification widget.

    So, to pull that file I do this..

    Code (Text):
    1. adb pull /system/customize/widget.txt /widget/widget.txt
    and this uses adb to pull the file located at /system/.../widget.txt and saves in the the folder where adb is, after putting it into a folder called widget.
     
  3. youdoofus

    youdoofus Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    2,131
    Joined:
    Feb 26, 2011

    Feb 26, 2011
    2,131
    747
    213
    Tech support rep for Knology
    so dak
    wow!! and youre a junior member? thanks for the info:) you must be a linux user!!
     
  4. akazabam

    akazabam Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    4,418
    Joined:
    Jun 7, 2010

    Jun 7, 2010
    4,418
    1,387
    313
    Near Los Angeles
    What icons are you looking for? Most icons are going to be stored in apks. Apks are really nothing more than glorified zip files. You will find most of the system icons in framework-res.apk. It's up to you how you want to get that file. If you have the flashable zip of the ROM handy, that's the easiest. If not, go ahead and adb pull /system/framework/framework-res.apk. If you don't have adb, you can use the terminal emulator or root explorer to just copy the file to your sdcard. No matter the case, get that file on your computer. You can either rename the apk extension to .zip or just extract it with 7zip. Open the file, and you'll find most icons in one of the drawable folders, so open the extracted framework-res, and go to res\drawable-hdpi. You should find most of the icons there. If you're looking for a specific icon for an app (including system apps), you'll need to get it from the apk for that particular app.
     
    Mr. Ed and evomattnc like this.
  5. youdoofus

    youdoofus Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    2,131
    Joined:
    Feb 26, 2011

    Feb 26, 2011
    2,131
    747
    213
    Tech support rep for Knology
    so dak
    cool:) now i need to find which rom it was that had that soopah groovy superuser icon that had the black ops dood with a green recticle and an ar-15 ;)
     
  6. Mr. Ed

    Mr. Ed Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    6,675
    Joined:
    Jun 27, 2010

    Jun 27, 2010
    6,675
    1,464
    313
    Phones
    Over Yonder
    thanks guys..this was actually next on my list of things to break...I mean do

    some roms come with icons i don't really care for and i would love to swap em
     
  7. mbancroft

    mbancroft Android Enthusiast
    Rank:
    None
    Points:
    58
    Posts:
    296
    Joined:
    Feb 11, 2011

    Feb 11, 2011
    296
    13
    58
    yo
    yo

    God I wish I understood all that lol
     
  8. mbancroft

    mbancroft Android Enthusiast
    Rank:
    None
    Points:
    58
    Posts:
    296
    Joined:
    Feb 11, 2011

    Feb 11, 2011
    296
    13
    58
    yo
    yo

    If I remember I think your talking about th ninja.. and I think he was from the stock Rom. Cause I think he was the first Su icon I ever seen
     
  9. akazabam

    akazabam Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    4,418
    Joined:
    Jun 7, 2010

    Jun 7, 2010
    4,418
    1,387
    313
    Near Los Angeles
    If you actually want to change system icons, you'll need to replace the existing ones in framework-res.apk, resign the apk, then push it back to system (adb or a flashable zip, not just copying it there). If you're talking about an app icon, the it's about the same, but you'd need to copy the apk to your computer, make the change, resign it, then just install it as normal or push it to /system/app. If you just want to pull out the icons, that's pretty easy.
     
    9to5cynic likes this.
Tags:

Share This Page

Loading...