Is there a tutorial for resizing APK's on windows ive read a few threads about it but all of them look like LINUX based i think i have all the software i need but im lost because when i try to decompile the apk i want to resize i cant view the xml or smali files am i doing something wrong??i use brutt.all's apktool and apk manager 5.0
after decompiling the project is moved to the projects folder for you to work on, use something like notebook++ to do the editing works fine like this for me.
Do you mean NOTEPAD++??
Maybe......... lol
Sent from my HTC Wildfire using xda premium
will that read xml and smali???
it will and yes i meant notepad++
thanks and what values do i need to change to resize an apk for the wildfire??
Check this thread http://forum.xda-developers.com/showthread.php?t=697994
ive read that tutorial and the paths it tells me to navigate to are not the same am i missing something
Yeah, beacause this is tutorial on how to resize rosie and change the workspace size, from 4x4 to 5x5. This is just a suggestion on how to resize something. If you want to resize some apps, you should decompile a file, and change every value from MDPI to LDPI. Basically, you have to multiply every value with 0.75. For example, you have value 100px so after you multiply it will be 75px and so on.
so will i have to do that for all APK's the reason i ask is that i want to resize a wildfire s rom to a wildfire VigiDroid has taken over SFM 1.1 and needs help resizing some APK's so i thought i would TRY and help but its not easy
@MarcelXDA
Just noticed you are in contact with VigiDroid
i have decompiled HTC Album.apk which files should i be looking at to resize the images in the album there are supposed to be 3 images in the preview i only get 2 and a bit
Related
I would like to create a theme for htc desire, my idea is just to change the colors of the background applications and change the color of the keyboard, I would have everything with black background and white text.
you can extract the original files and edit them android on htc desire?
you can then apply a skin on the original release of android, I would not installing any ROM.
There are themes for htc original unmodified desire?
My HTC is ROOTED.
sharkboy_torino said:
I would like to create a theme for htc desire, my idea is just to change the colors of the background applications and change the color of the keyboard, I would have everything with black background and white text.
you can extract the original files and edit them android on htc desire?
you can then apply a skin on the original release of android, I would not installing any ROM.
There are themes for htc original unmodified desire?
My HTC is ROOTED.
Click to expand...
Click to collapse
You would need to change
system/app/HTC_IME.apk
system/framework/com.htc.resources.apk
system/framework/framework-res.apk
I don't know how to change the colour of font though, but changing the images is easy, they are all in res/ in the apk
And that's if modifying the original rom is possible
Thanks..
If I can extract them from the phone, this apk files, can I change it with the framework sdk and then install the new apk as a simple application or should I create an update file for use in recovery mode?
sharkboy_torino said:
Thanks..
If I can extract them from the phone, this apk files, can I change it with the framework sdk and then install the new apk as a simple application or should I create an update file for use in recovery mode?
Click to expand...
Click to collapse
Make an update file for use in recovery or push them using adb, they won't install like normal apps
I have take the apk files from HTC, now how can i edit it? If I open apk as if they were zip archive, the files are corrupt, if I open XML files do not see them properly, but they have garbled characters! how can I do?
After opening the apk, go to res/drawable-hdpi folder where you can find all the images/icons.
perfect, I read your fantastic tutorial for images and icons.
But I would change the colors, the background and the text, the size of the text.
I know that these settings are written in XML files, but they are encrypted in the file that I take from my phone or files on any apk.
you have an idea how can I do?
i have this question too...the xml files are all with special characters not readable....i tried utf-8 and ANSI
Fantastic!
I found this tool on the net, the name is android-apktool at http://code.google.com/p/android-apktool/ .I tried it and it works, now I see the XML file! Incredible!
Let me know if you know it and if it is reliable.
I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.
ok so i've read several, several threads on making themes, metamorph files, and what not and just wanted to ask a couple of questions since i'm going to try to start my own theme for my fascinate.
i know i need to be in the framework-res.apk and twframework-res.apk files. Is the twframwork-res.apk only needed if i'm themeing for tw or can i just work in the framework-res.apk? also i've read somewhere not to mess with the .9.png files is this true here or is it ok to change these? also i'm not 100% on how to zip for a clockwork flash. do i just do a normal .zip file or is there something else thats has to be done to be flashable thru clockwork. o and is there anyhting else in the drawable folder i shouldnt touch? thanks for the help in advance
I am a little curious myself, but I haven't taken the time to look into it. You might check out this wonderful pdf:
http://tinyurl.com/2dnt4lv
I hope you get a more proper answer. Bump.
Swyped w/ XDA App. System: http://tinyurl.com/26tmcr9
Best way to learn how to build something is to take it apart. There are many valuable resources on line about android themeing. Knowledge of performing xml edits for font color and graphic placement. And using 7zip to be able to open an apk using the open archive feature and being able to extract and add image files from the drawable-hdpi folder. Make a back up of you phone and utilize some reverse engineering and experiment with some image replacement and give it a flash. Coming from windows mobile and no android knowledge I had things figured with about 3 hours of reading and experimenting.
good day.
You will need both framework files if you intend on getting it fully themed. It all depends on what you want to change. You can mess with the .9's, assuming you know how to do it properly. IE: modify your .9, edit your .9 in draw9patch, then compile in eclipse.
To sign a zip ---> java -jar signapk.jar testkey.x509.pem testkey.pk8 zip-name.zip new-zip-name.zip.zip
ty for the pdf that explains a lot in simple terms, and maybe I'll dive in on my eris first just in case lol, and thanks for the zip signing
Sent from my SCH-I500 using XDA App
Also look up apk manager in search (don't have the link handy)
on the .9.png files do I just open them in gimp/photoshop and then open it again in draw9patch to resave it? lol lil confused on these particular files
Sent from my SCH-I500 using XDA App
Hey just wondering if anyone might know as to where I would be able to change the hue color that is around the recent apps when opened on left side of screen. Would like to change it from being black in ICS, I'm sure that honey comb had pretty much the same setting for this. ANy help is appreciated.
This is in the system UI.APK.. there are lots of icons .png files in there in different folders.. There is a Thread i read here on xda.. I do not think it was in this forum .it was a thread about honeycomb.
I do know you need to be rooted or BE Fairly skilled with adb. I did a search with luck on finding the thread i read. There are also in the themes and apps thread on here some stuff about doing this.
Sorry I am not much help.. Google search is your Best bet.
As Erica said, these options are in the SystemUI.apk
You can unzip the apk, to a folder on your hard drive, and modify the images as you desire (provided you keep the original file-name and PNG format)
Normally, you can change the colors in photoshop or Gimp.
If you wish to modify the xml files, then you will need to de-compile the apk. The good thing, is that PNG's are not really compiled, which makes them relatively easy to alter. After changing the images, just re-zip the entire directory structure, keeping the original file-name, and rename to SystemUI.apk (not systemUI.apk.zip)
Yeah I have gone through and change what I thought was the hue color image in both systemui/res/drawable-mdpi and systemui/res/drawable-sw600dp-mdpi. But the changing the color of that icon had no effect on the hue. Also I would think that it must be a .9.png image but those are not really panning out atm. I have got a dev of themes to get me his apktool he has been using for ICS framework and am going through the .xml files. But I don't have my tab with me a work today so will have to test more when I get home.