How can I change the background to a custom picture?
the easiest way to do it is to unzip the rom with winrar. Then click on the Framework-res.apk in the system/framework folder but don't unzip it. Navigate to /res/drawable-hdpi from within winrar...click add from the winrar menu and choose the "status_bar_background.png" that you want to use like the one I attached..(I took this from some rom for the G1) let it replace the original one. Then use this tool to make the rom into an update.zip again.http://forum.xda-developers.com/showthread.php?t=717437
Follow the directions in the thread.. If you do this then flash like normal and you can have the pull down background that you want.... If you want to make your own status_bar_background.png then you are on your own.... I have know idea... But this is how you can take from a rom and put it in another rom.. also the last steps would obviously be the same even if you make your own .png.
Remember to make nandroid backup before you flash anything....
PS... This has been asked many times before so you could try the search button if you need more info...
Thanks a lot! Sorry for not searching, I tried google and couldn't find much.
Sent from my HTC Vision using XDA App
Related
I'm trying to remove some transitions from a rom ZIP and perhaps replace them with some taken out of another. Does anyone know where they are located in the .ZIP or some other way to remove/replace them? A little help would be greatly appreciated.
crimeslunk said:
I'm trying to remove some transitions from a rom ZIP and perhaps replace them with some taken out of another. Does anyone know where they are located in the .ZIP or some other way to remove/replace them? A little help would be greatly appreciated.
Click to expand...
Click to collapse
Use 7zip. You need to pull the framework-res.apk from the phone and put it on your computer. Open with 7zip. You'll see a folder called 'res'. Open it. The first folder you see is then 'anim'. That folder contains your animations/transitions. So you would take the animations folder you want, and copy them to the anim folder in your framework-res.apk (replacing the existing). Then push your framework-res.apk to /system/app . That should give you your new animations. That's how I do it, and Myn posted up on how to do that in his thread, teaching us how to do that. Cool.
Sent from my PC36100 using XDA App
Or you can do it with astro file manager. Just copy the apk and take it out of a zip and swap the files. Then copy the updated apk where it would go in the zip.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Thanks alot guys I really appreciate it. I'm wondering if I use winrar can I just insert the transitions over the old ones the completely reflash the rom?
Edit: Ok if have found the framework-res.apk but I'm not exactly sure how to open it and look "inside" I'm using Winrar I'm thinking this is the same as 7zip for the purposes of searching through the zip but I'm not seeing compatibility with the .apk.
crimeslunk said:
Thanks alot guys I really appreciate it. I'm wondering if I use winrar can I just insert the transitions over the old ones the completely reflash the rom?
Edit: Ok if have found the framework-res.apk but I'm not exactly sure how to open it and look "inside" I'm using Winrar I'm thinking this is the same as 7zip for the purposes of searching through the zip but I'm not seeing compatibility with the .apk.
Click to expand...
Click to collapse
I can't say, because I don't use winrar. However, I know it works with 7zip, I change animations all the time. I can never decide if I like the flip or the fold animations. Anyways, try 7zip, I don't have a download link, but Google should take care of ya. 7zip allows you to open the .apk, so you can navigate to the 'res' folder, and then find the 'anim' folder. Good luck.
Yeah it worked great thanks. Stupid amon was giving me problems at first about it being signed but I just turned off verification. Btw how do you go about signing something?
Hi everyone,
I'm having a few questions regarding the theming of framework-res.apk on Android Revolution (No-Sense/Sense)..
After I pull the .apk, and decompile it, I edit the images so that the .9.png files stay intact. Then after that I compile the entire .apk and use WinRar to only push the images to the origional framework-res.apk..
But everytime I flash it I get bootloops and it won't boot into Android, any idea what I do wrong in the proces?
Thanks in advance!
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
leith51 said:
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
Click to expand...
Click to collapse
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
deanr1977 said:
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
Click to expand...
Click to collapse
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
apaquette420 said:
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
Click to expand...
Click to collapse
I find it much easyer this way. Can i ask you a question if you know abit about framework modding can you see were i have gone wrong here - http://forum.xda-developers.com/showthread.php?t=1195549
I can live with it but i would rather change it to a light gray or a different color? Any help would be very nice & not had a reply about this yet? Can you help?
i had the same issue and i found it easier to update the old framework and overwrite existing files. once you have completed compiling your new framework APK extract the contents and copy into the old framework... and that seems to work fine
ok so i tried readin the guides and i have to say i was completely lost. might be cuz i havnt gotten any rest in a while but anyways i was looing for a way to be able to combine 2 themes. i really like the status bar icons on one theme like the bluetooth and wifi however i like everythig else from the other one also one is using launcher pro the other one tw launcher. would like to keep the one with launcher pro and just changethe top icons that always show. if i missed something please let me know any help would be greatly appreciated
Make a copy of the original themes to fall back on first.
What you have to do is open up the zip files of the themes. Extract the res folders from each themes framework-res.apk. Obviously you will have to rename one of them to something like res1 or put it in another place. Once you have the two folders extracted make the launcherpro one your base. Copy the images that you want to keep from the other theme (probably located in drawable-hdpi or drawable-hdpi-v4) and paste them into the same folder of the launcherpro theme and overwrite them. Once you have everything copied the way you want it open the framework-res.apk of the launcherpro theme. Go to the res folder and remove whatever folder you are adding back in (drawable.hdpi for example). Now drag the launcherpro folder that you made all of the changes to (drawable.hdpi or whatever) into the res folder of framework-res.apk. If you took the framework-res.apk file out of the zip file to begin with you have to also add it back into the themes zip file. Otherwise you just put the zip back on the phone and flash. It is always a good idea to put the original theme zip file on the phone also just in case something goes wrong you can just reflash the original theme and start over. If you need any additional help let us know.
^^^What he said
What you're really trying to do is essentially to create your own theme. If those instructions seem overwhelming or dont work, go to the top of this forum and start reading up on theming. Its a fairly simple concept but you might want to familiarize yourself with what it is exactly that you are doing. Everything visual on the phone is stored in image files, you're just swapping out the images. Maybe you'll get inspired and create something totally new that you can share with the community.
I tried reading theming on the top but I guess all that info at once was kind of overwhelming at the moment I was almost dead asleep however the info here seems more direct to the point so ill go ahead and see if I have time to mess with it today. I might also need to install gimp because I only saw like 1 or 2 image files when I opened up the zips with 7zip. Thanks for the help guys ill go ahead and give an update when I'm done maybe post some screen shots
jsredlineracer said:
I tried reading theming on the top but I guess all that info at once was kind of overwhelming at the moment I was almost dead asleep however the info here seems more direct to the point so ill go ahead and see if I have time to mess with it today. I might also need to install gimp because I only saw like 1 or 2 image files when I opened up the zips with 7zip. Thanks for the help guys ill go ahead and give an update when I'm done maybe post some screen shots
Click to expand...
Click to collapse
You will only need gimp if you are editing images. Make sure you are looking in the right directory. You should see a ton of png files. The bulk of the images are located in drawable-hdpi (the native folder) or drawable-hdpi-v4 (some themes have this folder instead). The only tool you need for moving images from one theme to the other is a zip program. I haven't used 7zip but maybe it didn't extract all of the files. I use winrar myself. Let us know how it works out.
OK I made a really quick video. Nothing fancy but puts a visual to the text I wrote. Hope it helps.
Well here are the screenies. Thanks for the help. And also thanks to those who created the original themesblue one is after changes
Sent from my SPH-D700 using XDA App
sorry was having some issues. i couldnt upload pics from my phone
Sent from my SPH-D700 using XDA App
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Albinoman said:
You can't edit apk's with any zip extractors
Sent from my Incredible using xda premium
Click to expand...
Click to collapse
Not true, regular image files can (should) be able to be draged out, edited, and droped back in an apk using 7-zip.
nighthawklude99 said:
I am looking to modify my phone.apk to change the color of a few buttons and the android guy that shows up when in a call. I have done this in the past and it seemed like then it was as simple as deleting the files in 7-zip and replacing with the file I wanted. Am I missing something or is it not that simple. Every time I try to move a file or delete it its says "not Implimented" or un supported compression method. I know how to push and pull files through adb so if I could just get the .png images where I want them then I would be all set. I have looked everywhere but cant seem to come up with a solution.
Thanks Jason
PS. the files are from another rom I am simply trying to use them in my current rom so the .png file should not be corrupt or broken.
Click to expand...
Click to collapse
My guess would be that the apk was decompiled at some point before, but not recompiled right, or with the right program. Which phone.apk are you having issues with, the one on your phone or the one your pulling the pngs from?
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
nighthawklude99 said:
I am having problems with the phone.apk I pull from my phone with adb, with the phone.apk that is in the original rom, and the phone.apk that is in a nanadroid back up. The rom I am running is anthem 3.3. I am starting to think that there is a problem with 7-zip on my computer. Is there a setting I need to change? I have even ran 7-zip as administrator to see if that helped.
Click to expand...
Click to collapse
Sounds like your install of 7z may be messed up. I just tried it to make sure something didnt change in an update and it works fine for me still with default configuration.
Hello. I would like to know how to compile two SystemUI.apk's into one .apk
I found two mods here on XDA-one is a NavBar theme, and the second one is a mod to show battery stats in the notification bar.
Im not a real expert about these stuff but Im willing to try, so if someone could tell me how to do it, instead of doing it for me, I would be glad
Thanks!
Use 7zip to extract the navbar mod and find the images (right click the apk and extract like a zip file). Now place those images into the battery mod system.apk my right clicking and opening with 7zip (don't extract). Then just sign the apk and push it back to the phone. The reason to do it this way is that disassembling SystemUI.apk can cause issues if done wrong, simply replacing images is safer.
Thanks for the quick replay! I have one last question-do I really need to sign the .apk? Or it can work even without singing it.
[EDIT] Never mind, did everything u said about copying the .png's but without singing-and it worked. Thank you so much!
problem
hi good day!
i have a very big problem with my android phone i wiped out all data including system files with out back up..how to fix it and restore the original files..can somebody help me...