[Q] Where are system images kept? - General Questions and Answers

I've Google searched, and searched my phone for all png, bmp and jpg files. I can't find anything.
If I want to view or replace certain Android images, where would I find them?
For example, the wifi icon picture that shows in the status bar.
(Android 4.4.2 Note 3, rooted with Cyanogenmod.)

These images are packaged into .apk files. These apk files are then stored in /system/app or /system/priv-app
For this you will need to learn Android device themeing. The images aren't standalone and they are present in specific files. The file or files you are looking for is the framework-res.apk or systemUI.apk.
If you need help with theming let me know.
Use the Thanks button if I helped

Related

[GUIDE] Newbie's How To: Port Theme's

How To Port Theme's
(Using Apktool, and Theme Porter)
Since there are some people out there willing to learn but not exactly able to with all of the convoluted information on the forums, I decided I'd start putting together a guide similar to other's to aid those trying to learn. Stay tuned as this is under construction!
All credit is due to original creators of the product's used in this process, without them there wouldn't be a reason for this guide . Please be respectful of other's work, sometimes it's best to ask before attempting (if it is an original product) but at very least give credit and a link back.
What is porting?
Porting very basically is taking .png files and XML changes from one theme (typically created for a different model, but using the same resolution) and copying them into deodexed stock rom's such as EC10/EE19 Pick and Pack so that they can be flashed onto our phones and used with our framework and/or updated framework.
Sounds really easy, doesn't it? At first it will be cumbersome and frustrating, but after you've used the processes enough you will be able to snap these out in 30 minutes or less! The problem lies in the way these files are packaged, they are mainly just a .zip file that isn't compressed, however there is another layer to an .apk that you can only see once you've learned how to use tools such as apktool/apkmanager. The other tool we will use to aid us in this painstaking process is an application called Theme Porter, which essentially is a script that has been written that will do all of the legwork for us. Let's get started!
What will I need?
Apktool I currently use an older version of the program, you can download here, this one I know works for sure - last I heard the other has issues.
ThemePorter
7zip (Win rar could be used instead)
Notepad++ (Or equivalent code editing software) which will be used to make the xml changes. If you're not familiar with using something such as this, you may want to take time to research before attempting to port.
How to set up;
Begin by getting ThemePorter setup, you just need to unzip the download and that will be "theme porter" It is basically just made up of a few folders, and has a batch script that you will use to initiate the process. I just place mine on the desktop for easy access.
Secondly, get apktool downloaded and unzipped. place the apt folder somewhere where you can easily navigate to it through a command prompt. C: might be a good place if you want to save yourself some keystrokes.
Next just make sure you have notepad++ or another editor installed for use later.
Lastly, get 7zip installed so that you're able to open .apk and .zip files without actually extracting the files.
Where do I get my source files?
You can use any framework from any rom that can be decompiled correctly with apktool. This means when you decompile it, there are no errors and it generates a folder with the same name. Download the rom of your choice and save it (still zipped) somewhere on your desktop, and make an extra copy in case you mess up and overwrite the wrong files. You will ALWAYS use these in the NEW folder within theme porter, but we will get to that.
As for the theme you're trying to port, I usually use fascinate theme's, because it is basically a direct copy of our phone (Note: As of 2.2 they now have a Data on/off icon in their status pull down, where we have Silence, so this will often need to be taken care of separate from this process.) I've also recently started using Vibrant theme's, as these are also very similar - but there are tweaks with these too and I will try to cover them in the guide at some point. You may find others that will work too, at this point this is all I've had time to mess with. Either way, download the .ZIP file and also place it somewhere easy to access.
This is where it get's sort of difficult.
Stock ROM's have some differences to theme's that theme porter cannot handle for you. These are basically MOD's that may exist in the theme ROM and/or XML changes that have been made to alter text color's to accommodate the theme (black to white, white to black, etc.) These changes WILL NOT be ported over using theme porter and unfortunately also cannot be made AFTER using theme porter, so there is a certain process to go about this.
Now enter's apktool. Apktool is a script brut.all very kindly wrote to assist android developers in decompiling/recompiling .apk files without losing structure that normal compression software breaks. Basically there are two reasons you will need to take this step.
When;
Editing Text Color- When choosing a theme to port you will need to pay attention to the screenshots the original poster has posted, as these will clue you in whether or not this needs to happen.
The Pick and Pack rom is essentially still stock, as far as XML goes - so the text on menu's for example, will be Black text on a white background. If the theme you chose has something different, you will need to take this step so that the text is legible in the final theme.
Adding accurate battery MOD- Also when choosing a theme you will need to take a look at the framework-res.apk file to determine if the themer has added the accurate battery mod. Essentially all this means is the XML and image's have been edited to show you each percentage of battery life vs. the stock one that only shows odd increments of 10/15/20.
Open framework-res.apk with 7zip
Navigate to res/drawable-hdpi (this also may be drawable-hdpi-v4 depending on your theme, I haven't quite figured out why this is)
Scroll down until you see the status_battery icons near the bottom - if there are not images for every percentage - then no mod exist's and you can skip using apktool for this step.
How;
For either change you will follow this process to decompile To gain access to the XML/PNG files that contain these text values, we will need to decompile the framework-res.apk file from the rom.
Copy framework-res.apk from the rom and place in the APT folder created earlier.
Rename this to something shorter such as "FW.apk" for easier command lines
Start a command prompt (in windows 7 type "cmd" in the search bar within start menu)
Navigate to the APT folder, For example;
Code:
CD c:\Users\brandon\Desktop\apt
Type
Code:
apktool d FW.apk
This will decompile the .apk into a folder called FW within the APT folder, allowing you access to the files. I will cover the actual changes in a later post.
At this point you have the files in a folder and they can be edited how you see fit (should you choose to just edit the stock ones vs. actually porting already changed ones).
You'll notice when examining the folder that there are quite a bit more files. Also, you will be introduced to the .9.png file type, which essentially is just a .png file that has some black lines embedded in the file to instruct android how to resize and reuse the image within the framework.
Any edits made to these files must be made carefully, as to not alter the integrity of these black lines. When the file is recompiled, the lines will disappear but will be included (if you tried doing this without decompiling - your photo editor would nix these lines and android wouldn't know how to size them)
If all your edits were complete, you would then recompile the file through apktool. (I will continue with the theme porting guide in the next step, this is just a good reference point for these steps.)
Type this into the command prompt
Code:
apktool b FW framework-res.apk
This would then create the framework-res.apk file in the APT folder, however there is an important step here. During this process the META folder is lost, and the AndroidManifest file is corrupted.
Delete the AndroidManifest.xml file from the new framework-res.apk
Copy the META-INF folder and the AndroidManfiest.xml file from the ORIGINAL framework-res.apk (now named FW.apk in this example) and place it in the new framework-res.apk using 7zip (do not extract the file, open the archive with 7zip.)
At this point, your framework could be ready for replacing in your theme.zip (will be covered later) with the edit's you've made Or if you're learning how to port theme's, continue reading.
Guide Part 2....
Preparing for Theme Porter
Okay now that we have some of the side process out of the way, let's get back to the guide.
Determine if you need to make any XML edit's for battery or text color changes and perform them per the processes detailed below. If you do not need to make them, you may skip this step completely and move on to using theme porter.
Correcting Accurate Battery Mod Animations-
Follow this guide to make the changes to the framework to use the new charging animation images and will allow you to then use theme porter to swap the .png files
Decompile the framework-res.apk from the ROM download (I usually just rename this to EE19.apk or whatever the rom is i'm working with)
Decompile the framework-res.apk (I first rename the framework-res.apk file to NEW.apk (or whatever you wish) Note: It will typcially give you errors (unless it's theme'd correctly) but you're just after some code from a few .xml files so don't worry.
In the NEW folder Navigate to
Code:
\res\drawable-hdpi\
or
\res\drawable-hdpi-v4\
Copy all of the battery charging .png's and drag them to a folder on your desktop. Then open the EE19 folder within APT (the one you decompiled from the rom you're working from) Drag those images into the /res/drawable-hdpi-v4 directory replacing any existing ones.
open the following file in notepad++
Code:
\apt\NEW\res\drawable\stat_sys_battery_charge.xml
Also open the same file within the EE19 decompiled folder
In the THEME xml file select all and copy
In the EE19 xml file, paste this replacing the text. Then save it overwriting the original.
At this point, the battery mod is done and the new .png files exist so that theme porter can do it's work (And the xml is there to make it works when it get's to your phone). If you don't have any text edits to make, you can recompile the apk (as stated in steps in first post) and move on to steps below (skipping the section on changing text).
Changing text colors-
If you have determined that the text in the theme is different from the rom framework (I.E. Text on notifications, menu's, etc.) then you will follow these steps to locate where these changes need to be made.
If you haven't already, decompile the framework-res.apk from the Rom.
Next, determine what text color edit's you need to make and then use this wonderful reference to determine which actual files those edit's correspond to.
Locate the file you need to edit in the decompiled folder, and open it with 7zip.
Typically removing the "inverse" reference on the color line will change it from black to white, or white to black and is the easiest/best way to alter colors in a ROM. (For a quick note, searching for "menu" in the styles.xml files located in /values/ will give you the items you need to change, watch for _bright references for the dividers, change those to _dark instead.
Once you are done making these edits, recompile the folder as stated in first post. And move on to using theme porter.
Using Theme Porter-PAY CLOSE ATTENTION HERE.
Now that you have the appropriate prep-work done, the easy part finally comes. (Hopefully)
Copy and paste the applications & framework-res.apk twframework-res.apk files from the THEME.zip into the appropriate folders within the OLD folder in theme porter.
Now copy and paste the same files that you copied from the theme.zip, now from the rom (EE19 for example) to the NEW folder in theme porter.
Once all files are in appropriate folders, run the Script.bat file in theme porter. Use a selection of "1" and press enter.
Theme porter will now copy all of the .png files from one .apk to the other (where the folder names are an exact match)
NOTE:At this step, you may have issues where the images aren't brought over (This typically only effects the framework files and just depends on how the file was generated/edited). This can be detrmined by opening the .apk in 7zip and pulling out the res folder, where you can view the files (you will see if it's been changed or not) If it hasn't, you will need to make sure the folder within the Themed .apk's are the exact same as the ROM you're themeing and re-run the theme porter script. (meaning you need to add or remove the -v4 ending depending on where the previous themer placed the themed files)
If you're lucky, everything is done at this point and you can move on to packaging a flashable update.zip.
Packaging A Flashable Update.Zip
A flashable package is simply a .zip file (stored as "store" in 7zip, no compression) that is made up of META-INF and System folders. The META-INF folder is very important as there is a big difference between using one from a ROM (pick and pick) and a theme (NeonGT) You will need to download a theme and pull the META-INF folder out so that you can use it in your theme ports. This is to ensure you have the correct script (edify or ammend) typically now we're using edify so use one from one of the H57 theme's via baked_tator The system folder should contain two folders "framework" and "app" each of which will hold the respective .apk files you have been working with. (but could also contain a "Media" folder for changing bootanimation.zip files, basically any files within the folder structure you create (matches the system structure) will be replaced when flashed. So be careful not to include things I haven't listed here unless you know what you're doing. And be sure to test these things before even thinking about a release.
Create the following folder that can be re-used with any new theme port, it's the easiest way to keep things organized and not lose track of files.
Create a new folder on your desktop called New Theme
Within that folder paste in the META-INF folder from another EE19 theme.
Create a new folder called "system"
Open system and create two new folders "app" and "framework" (and "media" if you are including the bootanimation.zip from the theme (which typically will work on our phone)
Place approprate files from the NEW folder within theme porter into these folders, respectively
Back up so that you see the META-INF folder and System folder, select those two, right-click and select "add to archive" in the 7zip menu.
Name the file "EE19 ThemeName VX.zip" and select "Store" for the method
Drag this to your desktop and this will be what you will place on your SD card for flashing.
Test the theme thoroughly to make sure everything ported over and everything still works (make sure to test USB, even color XML edits can cause odd issues) and get help from others to make sure the bugs are out.
If you run into issues, check the next post for possible resolutions.
BE SURE TO CREDIT THE PROPER CREATORS!!! I can't express this enough, I have a format for the way I do release posts, feel free to copy it if you'd like but either way make sure you make it known that it's not your work!
FAQ / Common Issues / Other Resources
Common Issues:
Images do not transfer to new framework.apk files.
(typically the applications all have the same folder names, so no problems occur here.)
As stated in the guide, all folders within each res folder within each .apk file used in theme porter must have exact matching folders/files for the .png to actually transfer. If it's been edited with apktool, it typically has the -v4 extension.
Troubleshoot your issue by opening the resulting .apk file in 7zip and comparing to the downloaded theme file in 7zip. You may have to pull the res folders out and look that way to actually see which images didn't transfer.
First thing to check is the folder names within the res folder, if the rom folder's names are "drawable-hdpi" and "drawable-land-hdpi" and the theme has "drawable-hdp-v4" then you need to remove the -v4 from those folders and run theme porter again.
NOTE: I've also run into situations where both folder's existed in the .apk file, meaning both drawable-hdpi and drawable-hdpi-v4 folders were there, but only one actually had the themed .pngs. In this case it was the drawable-hdpi folder that had the themed ones, but I needed it to be -v4, so I deleted the existing -v4 folders and renamed the others to -v4 - this also slimmed the rom because you really don't need the extra folders/files (nor wan't them!)
Some times icons don't exist on other phones, or they are completely different icons. I.E. with 2.2 fascinate theme's the Silence icon does not exist and therefore would need to be pulled from another theme or created to be fixed. This can be done with 7zip, no need to decompile the file if you're just swapping .png files (in the final framework-res.apk .
[*]Problems after testing theme.
This has happened to me on all sorts of levels;
Problems Restoring - Sometimes after testing theme's you'll go to restore and things will not be right when you boot, FC's and whatnot. Best case scenario you can restore to a vanilla restore (meaning your rom + any app's you wanted, but no theme's) or just flash your rom to fix.
Problems with icon's not being correct on a restore or a flash.
Same as above, sometimes things just go awry when you're flashing theme on top of theme, so i'ts best to start from the rom. Make a restore point with your rom + all your apps, then you can always go back to it and flash your day to day theme - this will give you the least trouble.
Phone stuck in airplane mode, setting is disabled.
I had this happen to me randomly once, no idea why but if you do run into this the only thing that fixed it for me was an odin back to a full build. No restore or flash would fix it. Typically your problem should be solved with a fresh flash of your rom, but sometimes going to a full build with odin is the only way.
FAQ:
Post them and we'll get them answered and edited in here. So far I've tried to cover everything I knew of in the guide .
Reserved
Reserved
Reserved
Other Resourcs:
Great guide by nitsuj17 on how to theme
Hex Colors
Free Photoshop Alternative
XML Color Edit Guide - in case you missed it above - credits to KBanause
wow, you rock bde. thanks for your time and help with this, I will be following it to help you guys out with stuff more.
Sent from my SCH-I500 using Tapatalk
sageDieu said:
wow, you rock bde. thanks for your time and help with this, I will be following it to help you guys out with stuff more.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
Great, and thanks, I'm glad to share what I've learned with the community
Great write up,ive read through it several times. Just wish I hadn't traded my desktop for tattoo work this weekend. ..
Sent from my SCH-I500 using Tapatalk
man you write some good tutorials...
Very thorough and still easy to understand, Great work!!
Very nice! Just fixed the white on white text in my super light port. Big Thanks!
Great write up!
So, I tried using apktool to decompile the framwork-res.apk and it worked fine, recompiled it and everything was good, are these the same steps I would use for other APK's such as in the apps folder (i.e. Settings.apk) because I cannot get them to work I keep getting brut.androlib errors
bwot75 said:
So, I tried using apktool to decompile the framwork-res.apk and it worked fine, recompiled it and everything was good, are these the same steps I would use for other APK's such as in the apps folder (i.e. Settings.apk) because I cannot get them to work I keep getting brut.androlib errors
Click to expand...
Click to collapse
Usually if you get errors in compiling there have been things added or removed after compiling, this is sometimes caused by using theme porter for example.
Apktool works on any apk, but i'ts fussy about what's there before it recompiles. Try decompiling and recompiling with no changes, if it doesn't work then it won't work on that .apk (to my knowledge). You basically will always need to start with one of the deodexed apks from phidelt's pick and pack, then add changes while i'ts decompiled, then run theme porter after it's recompiled if needed.
And glad you all appreciate it
I vote sticky on this how-to...very good write up and it makes my life easier!!!
Definitely sticky
Sent from my SCH-I500 using XDA App
Thanks for the good reading bde. great tutorial.
Hey thanks, glad to share the wealth
Sent from my SCH-I500 using XDA Premium App
I followed this guide and made XML editing for Framework-res.apk to change font colour in the Menu using Notepad++, but after xml edit, cant build the framework.apk, it says sources have changed and does not build the apk. Am using apktool for this. Any suggestions how to go about it. Or somebody can guide, how can I change the menu background so that Menu texts are visible?
trip007in said:
I followed this guide and made XML editing for Framework-res.apk to change font colour in the Menu using Notepad++, but after xml edit, cant build the framework.apk, it says sources have changed and does not build the apk. Am using apktool for this. Any suggestions how to go about it. Or somebody can guide, how can I change the menu background so that Menu texts are visible?
Click to expand...
Click to collapse
As stated in an above post, try decompiling the framework-res.apk you are working with - without any edits and see if it will recompile with no error. If it doesn't then re-read my guide
Ok thanks will check it.
Never mind, I figured it out.
Sent from my SCH-I500 using XDA App
I did some major fixin' on the OP, hope it's more clear!

[Q] [help]how to resize png

please help me how can i extert .apk and resize png??
Hello @ImRm
To do the following you'll need two types of tools. One being a reasonable image editor and the other being an .apk decompiler.
Firstly you need to know what you want to decompile, where this is a system resource or an average app. Go ahead and download an apk decompiler. There are many on xda but I use Quickmod as its the simplest.
Link to thread to download tool - http://forum.xda-developers.com/showthread.php?t=2536073
Once you've downloaded it, open the tool and installed the required framework and files for it to decompile and compile properly.
Once done, decompile the apk and head into the projects resource folder. It's labelled as "res".
You will then have to find the image you are looking to edit, using an image editor open the .png file and select the full image. Then just make the image larger with the small points at the end. And then just reposition the image into the center. Also you may need to refine the image after the resizing of it as pngs are used for transparency like images.
Sent from my Nexus 5 using Tapatalk

NHA NI2 System APK's Made so you can theme. QMG's, IPT's & PKM's converted to PNG's

NHA NI2 System APK's Made so you can theme. QMG's, IPT's & PKM's converted to PNG's
Once again Samsung has made it so we cannot change the images on our S5 when theming. I have taken several of the System/apps and privapps and I am the process of making them able to theme. I do so by replacing the QMG, IPT & PKM image files with PNG image files. I am not able to do them all, but managed 95% of them. What we need is a program to convert QMG, IPT & PKM to PNG's. Or at least be able to edit the new images. This is very time consuming LOL!!!!
Let me know if I missed any you want done.
Enjoy Themers!!!!
All APK's are Deodexed Only!!!!
Download: Samsung S5 NI2 Framework-res, SystemUI, SecSettings
Download: twframework-res.apk
Download: Keyguard.apk
Download: SecDownloadProviderUi.apk
Download: SecCalculator2.apk
Download: Samsung Camera3.apk
Download: SecGallery2014.apk
Download: SecMms_Blue.apk
Download: SecTeleService.apk
Download: InCallUI.apk
Download: SecEmail_K.apk
Download: ClockPackage.apk
Download: SecContacts_Phone_FLAGSHIP_USA (ASU themed) do not have stock.
Download: SamsungIME.apk
Download: MutliWindowTrayService.apk
I will post more as I finish them.
Please don't forget to hit THANKS!!!!
EMSpilot said:
Once again Samsung has made it so we cannot change the images on our S5 when theming. I have taken several of the System/apps and privapps and I am the process of making them able to theme. I do so by replacing the QMG image files with PNG image files. I am not able to do them all, but managed 95% of them.
Enjoy Themers!!!!
Download: Samsung S5 NI2 Framework-res, SystemUI, SecSettings download Deodexed Only!!!
Downlaod: Keyguard.apk
I will post more as I finish them.
Please don't forget to hit THANKS!!!!
Click to expand...
Click to collapse
Wonderful. Thanks!
Thank you for your hard work!
Sent from my SM-G900V using Tapatalk
Good job and I assume extremely time consuming. What we really need is a tool to convert these files into pngs. Albeit as of right now that is currently impossible without dropping a ton of money to quramsoft.com, but like everything else once a demand is in place a leak usually happens look at IDA pro for example. (Reverse engineering tool)
EMS, you are awesome... Thank you for taking the time to figure this out, then share... Very very kool of you.. Thank you
Thanks EMSPilot these worked wonderfully for the flashlight mod. The toggles match with this where they didn't with the original files. Great job.
@EMSpilot Hey what's up there?
Question, so all these apks were converted to PKM files in Verizons Newest update?
Just asking, that's all! One version back there were only a few apks that were converted to using PKM files. This time around, if they really up'ed the amount, I'm sure we'll see this from here on in. Not happy about that for sure. Appreciate the conversion man. Sure is alotta work!
Sent from my SM-G900P using Tapatalk
This is awesome. Thank you for all the hard work.
yes this is just a d**ck move that samsung made! i have a tab 3 7 inch wifi and when it got kitkat update this september all the images were qmgs instead of pngs. It totally makes want to throw my tablet at the wall but I don't because it is at least better than a piece of crap apple steve jobs product like the iphone. LOL!
Thank You For Doing This!
@EMSpilot, has anything been found that can successfully convert a .qmg back to a .png file, or any of the other file formats?
Our 4.4.4 OTA hasn't quite reached us but we do have a leaked release to play with.
Something for anyone trying to do their own conversion that may help...
1. Decompile your 4.4.4 apk with apktool 2.0.x (1.5.2 doesn't play nice with 4.4.4 files).
2. Make a copy of the decompiled folder so you have the original.
3. Track down any folders than contain image files in the res folder. I've found it's easiest to remove all non-image folders to make things easier. Check every folder. For instance, res/drawables contains a few image files but its mostly .xml files. Delete all folders that do not contain image files. I even went as far as deleting all the extra non-image files that are in folders such as res/drawables.
4. Once we're down to just image files (.qmg, .pkm, .IPT), we're going to bulk rename all of them to .png files.
5. In each folder, press Shift Key & Right Click Mouse, select Open command window here. This is the command to bulk rename:
ren *.qmg *.png
This will rename all .qmg files to .png.
6. Open Winmerge (awesome tool, it's free, learn how to use it) and diff the stock image folder from your 4.4.2 build with the image folder we just converted. See screenshot where I've selected files that are showing as different.
7. Now we are going to copy all files that match but are different.
Right click on the selected area and select 'Copy Left to' (or 'Copy Right to' depending on which side contains your stock 4.4.2 files) and copy the different files to a folder somewhere for safekeeping.
8. Now we have most of the files that match 4.4.4 so we can start doing direct file replacements.
Note:
This does not include .9.png files. You will have to separate out all .9 files from the 4.4.2 and rename them to diff separately.
Now you know just part of what EMSpilot had to go through!
Not Yet
tdunham said:
@EMSpilot, has anything been found that can successfully convert a .qmg back to a .png file, or any of the other file formats?
Our 4.4.4 OTA hasn't quite reached us but we do have a leaked release to play with.
Something for anyone trying to do their own conversion that may help...
1. Decompile your 4.4.4 apk with apktool 2.0.x (1.5.2 doesn't play nice with 4.4.4 files).
2. Make a copy of the decompiled folder so you have the original.
3. Track down any folders than contain image files in the res folder. I've found it's easiest to remove all non-image folders to make things easier. Check every folder. For instance, res/drawables contains a few image files but its mostly .xml files. Delete all folders that do not contain image files. I even went as far as deleting all the extra non-image files that are in folders such as res/drawables.
4. Once we're down to just image files (.qmg, .pkm, .IPT), we're going to bulk rename all of them to .png files.
5. In each folder, press Shift Key & Right Click Mouse, select Open command window here. This is the command to bulk rename:
ren *.qmg *.png
This will rename all .qmg files to .png.
6. Open Winmerge (awesome tool, it's free, learn how to use it) and diff the stock image folder from your 4.4.2 build with the image folder we just converted. See screenshot where I've selected files that are showing as different.
7. Now we are going to copy all files that match but are different.
Right click on the selected area and select 'Copy Left to' (or 'Copy Right to' depending on which side contains your stock 4.4.2 files) and copy the different files to a folder somewhere for safekeeping.
8. Now we have most of the files that match 4.4.4 so we can start doing direct file replacements.
Note:
This does not include .9.png files. You will have to separate out all .9 files from the 4.4.2 and rename them to diff separately.
Now you know just part of what EMSpilot had to go through!
Click to expand...
Click to collapse
Nothing that I am aware of. I am sure it will happen soon!!!
Thanks for the write up.
I wish those out there making Roms would use your stuff as a base. I love some of those Roms out there but you can't change some things that I like to ( namely the toggle background). It works with your systemui but of course that overwrites theirs and of course you lose some things in the transition. Great work by the way.
QMG to PNG
Here is a great tool to help us get this done without all the hassle. I am getting a Verizon Note 4 and will convert and post all soon,
http://forum.xda-developers.com/note-4/themes-apps/app-qmg2png-tool-t2921009
so do u have to recompile the apk using the pc after editing? so i use the app to convert qmg to edit, transfer to pc and edit then recompile? or do i just convert using the apk on the link and push to rom.zip?
EMSpilot said:
Once again Samsung has made it so we cannot change the images on our S5 when theming. I have taken several of the System/apps and privapps and I am the process of making them able to theme. I do so by replacing the QMG, IPT & PKM image files with PNG image files. I am not able to do them all, but managed 95% of them. What we need is a program to convert QMG, IPT & PKM to PNG's. Or at least be able to edit the new images. This is very time consuming LOL!!!!
Let me know if I missed any you want done.
Enjoy Themers!!!!
I will post more as I finish them.
Please don't forget to hit THANKS!!!!
Click to expand...
Click to collapse
@EMSpilot will these apk's work on the t-mobile 5.0 DOB1 firmware.

Framework-res.apk -- where to get?

Hi all,
I'm trying to fiddle with a Google apk file that I'm reskinning. Essentially there are multiple versions of the app in the wild already, but one has a dark grey background and I'm trying trying to make it all black.
I figure I need to change the xml file contained within the app. I guess I can just root and edit the xml file that way but I want to stay un-rooted if possible. That means editing the APK.
I downloaded Android Multitool and am trying to unpack the APK, make the necessary changes, and repack it. I'll probably run into signature issues down the road but currently I'm stil struggling with repacking. Specifically, I think I need a framework-res.apk, which I don't know how to find.
I'm assuming I need a stock Android framework-res.apk given the nature of the app, but I don't know where to find one....

[Q] Need info about icon android 10

Hello, I would like to ideally modify the icons of the status bar and the icons of the quick setting.
I have some knowledge and I have already made modifications on these icons but on Android 7 using the very good Tickle my Android tools.
But on android 10 (customn havoc rom) I made modifications but could not apply them in the phone.
my question does anyone know the location (android 10) of the icons (png or xml) for the status bar and quick settings and above all is it always possible to modify them on android 10?
thank you in advance
Bradco said:
Hello, I would like to ideally modify the icons of the status bar and the icons of the quick setting.
I have some knowledge and I have already made modifications on these icons but on Android 7 using the very good Tickle my Android tools.
But on android 10 (customn havoc rom) I made modifications but could not apply them in the phone.
my question does anyone know the location (android 10) of the icons (png or xml) for the status bar and quick settings and above all is it always possible to modify them on android 10?
thank you in advance
Click to expand...
Click to collapse
Hi,
Yes it's possible to modify it. TMA is an amazing tool indeed . And you'll find those icons in the drawable folder of the SystemUI.apk of your ROM. You'll just have to replace them with the images(.png) you want. Remeber to keep the same resolution as the original icons and remember to keep the signature unchanged when recompiling the apk, since it's a system app it will crash repeatedly if the signature isn't kept.
Have a good day
Edit#1: You have to change the pics in every drawable folders.
E.g: drawable-hdpi....
And you have to keep the name of the files.png unchanged.
Raiz said:
Hi,
Yes it's possible to modify it. TMA is an amazing tool indeed . And you'll find those icons in the drawable folder of the SystemUI.apk of your ROM. You'll just have to replace them with the images(.png) you want. Remeber to keep the same resolution as the original icons and remember to keep the signature unchanged when recompiling the apk, since it's a system app it will crash repeatedly if the signature isn't kept.
Have a good day
Edit#1: You have to change the pics in every drawable folders.
E.g: drawable-hdpi....
And you have to keep the name of the files.png unchanged.
Click to expand...
Click to collapse
Thanks raiz for your precision but lot of icon are vectorial in .XML files in drawable folder, in XML the size is in dip i don't know how convzrtz ( if it possible ) in pixel. Another thing my systemUI is in system/product/priv-app/systemUI for recompile I don't this directory, normally it is in system/priv-app/systemUI.
To finish in the rom I can choose différente style like file attached which one correspond to icon in systemUI.apk ?
Bradco said:
Thanks raiz for your precision but lot of icon are vectorial in .XML files in drawable folder, in XML the size is in dip i don't know how convzrtz ( if it possible ) in pixel. Another thing my systemUI is in system/product/priv-app/systemUI for recompile I don't this directory, normally it is in system/priv-app/systemUI.
To finish in the rom I can choose différente style like file attached which one correspond to icon in systemUI.apk ?
Click to expand...
Click to collapse
Hi,
Attachment aren't working apparently, can you upload the screenshot on imgur ( imgur.com/upload )
For the drawables in vector format, you can use shapeshifter.design which can convert svg to xml, and xml to svg. Create svg files with an image editing software (like inkscape) and make svg files out of the icons you want and convert them to xml with this really convenient website.
If you come across binary XML files (xml files with numbers and letters, not xml code) , you can use axmldec ( https://github.com/ytsutano/axmldec ) to decode them.
PS: The accent in "différent" betrayed your origins lol, you're a fellow French as I can see
Raiz said:
Hi,
Attachment aren't working apparently, can you upload the screenshot on imgur ( imgur.com/upload )
For the drawables in vector format, you can use shapeshifter.design which can convert svg to xml, and xml to svg. Create svg files with an image editing software (like inkscape) and make svg files out of the icons you want and convert them to xml with this really convenient website.
If you come across binary XML files (xml files with numbers and letters, not xml code) , you can use axmldec ( https://github.com/ytsutano/axmldec ) to decode them.
PS: The accent in "différent" betrayed your origins lol, you're a fellow French as I can see
I upload the image
https://drive.google.com/file/d/1-dFu3EGK8BwWVARoHWsgIjXePvy16pKX/view?usp=drivesdk
Click to expand...
Click to collapse

Categories

Resources