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

Root Pulling custom icons

BlueGoldAce

Member
Jan 21, 2011
53
12
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!
 
Well, if you know where they are stored (I don't) I think it would be something like this...

Code:
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:
adb shell
Code:
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:
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.
 
Upvote 0
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.
 
Upvote 0
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.


God I wish I understood all that lol
 
Upvote 0
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.
 
  • Like
Reactions: 9to5cynic
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones