Compiling two SystemUI.apk's into one - Samsung Galaxy Nexus

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...

Related

How can i make theme by myself for g1?

How can i make theme by my self for my g1 because i want all kind of connect full. wifi full, bluetooth, 3g, signal full, it must fixed always full. Or someone made can share for me, please?
minim0g said:
How can i make theme by my self for my g1 because i want all kind of connect full. wifi full, bluetooth, 3g, signal full, it must fixed always full. Or someone made can share for me, please?
Click to expand...
Click to collapse
I really don't have a clue of what your asking.
You want to know how to theme or how to make a rom?
The best thing to do is start off small. Very small. For example try to theme Launcher.apk.
Open it with WinRAR and extract it.
Replace ONLY the .png files. (NOT 9.PNG files because those will mess up when you start your phone and can cause it to crash!)
Move your modified files back over to the location in WinRAR and replace the original.
Sign your modified file.
Create a flashable zip file with an update-script in the META-INF folder (better use an existing theme to figure that out)
Sign the zip file
Try to flash it. If you see the changes in your Launcher (that is the tab at the bottom of your screen that holds your apps) then it worked and you did it right. If not then search (PLEASE SEARCH) and read (PLEASE READ) before you post a question. This is a lot of time consuming and hard work for a noob. Not to be taken lightly.
Once you have the Launcher down you can do other apps (browser, gallery, music, phone, contacts, etc).
Once you have those down then we get to the GUTS of the phone. The framework! This is the status bar and everything in it. This is also other critical parts for your Android in this folder. Over 400 to be exact. Mess up just 1 of those and it can cause some serious problems! This is the /system/framework/framework-res.apk file. Treat it just like any other apk file.
By the way... don't ask us to help you with out searching first. Fair warning. This is a complicated process to explain in detail. I've made and modified my share of themes and I can tell you that even with everything already made and done it still takes about an hour to port everything over for a new rom. So again... this will take time and you can find all your answers by searching and reading but we will not spoon feed anyone nor will we do it for you. We're here to help but not to do everything for you.
Have fun and good luck.
Binary100100 said:
I really don't have a clue of what your asking.
You want to know how to theme or how to make a rom?
The best thing to do is start off small. Very small. For example try to theme Launcher.apk.
Open it with WinRAR and extract it.
Replace ONLY the .png files. (NOT 9.PNG files because those will mess up when you start your phone and can cause it to crash!)
Move your modified files back over to the location in WinRAR and replace the original.
Sign your modified file.
Create a flashable zip file with an update-script in the META-INF folder (better use an existing theme to figure that out)
Sign the zip file
Try to flash it. If you see the changes in your Launcher (that is the tab at the bottom of your screen that holds your apps) then it worked and you did it right. If not then search (PLEASE SEARCH) and read (PLEASE READ) before you post a question. This is a lot of time consuming and hard work for a noob. Not to be taken lightly.
Once you have the Launcher down you can do other apps (browser, gallery, music, phone, contacts, etc).
Once you have those down then we get to the GUTS of the phone. The framework! This is the status bar and everything in it. This is also other critical parts for your Android in this folder. Over 400 to be exact. Mess up just 1 of those and it can cause some serious problems! This is the /system/framework/framework-res.apk file. Treat it just like any other apk file.
By the way... don't ask us to help you with out searching first. Fair warning. This is a complicated process to explain in detail. I've made and modified my share of themes and I can tell you that even with everything already made and done it still takes about an hour to port everything over for a new rom. So again... this will take time and you can find all your answers by searching and reading but we will not spoon feed anyone nor will we do it for you. We're here to help but not to do everything for you.
Have fun and good luck.
Click to expand...
Click to collapse
Or he can make a metamorph which is basicly the same thing. The only differences are that you don't need to make a META-INF file or an Update-script. Pretty much all you need are the pictures that you want to use and your imagination.
Macrophage001 said:
Or he can make a metamorph which is basicly the same thing. The only differences are that you don't need to make a META-INF file or an Update-script. Pretty much all you need are the pictures that you want to use and your imagination.
Click to expand...
Click to collapse
I can make a theme easily... but my metamorphs never seem to work for some reason. Maybe I'm just trying too hard.
Or he can make a metamorph which is basicly the same thing. The only differences are that you don't need to make a META-INF file or an Update-script.
Click to expand...
Click to collapse
I can make a theme easily... but my metamorphs never seem to work for some reason. Maybe I'm just trying too hard.
Click to expand...
Click to collapse
One of the most common mistakes is when you are writing the .thm file.
When you are writing the location of the apk file, you have to put the forward-slash at the end.
Example:
/system/app/
how to create themes for metamorph
Macrophage001 said:
One of the most common mistakes is when you are writing the .thm file.
When you are writing the location of the apk file, you have to put the forward-slash at the end.
Example:
/system/app/
Click to expand...
Click to collapse
hey bro, good day, I just want to ask if how could I make a theme for my rooted G1 which is running a CM7 rom. I've seen you say that it is easier to create metamorph themes, with just a pictures and imagination?? how will I do that? sorry for that question but I'm really a new on this things,,

[Q] question on editing framework-res.apk

hey guys.
i'm having a frustrating issue when editing framework-res.apk to include the rectangle battery mod.
this is a long post...please DO NOT POST GENERIC ANSWERS WITHOUT READING THE POST FIRST!!!
i'm used to editing framework-res.apk and all other .apks on my phone for various purposes. i use a combination of 7zip and apkmanager 4.9 to extract, replace, decompile/recompile, etc. depending on what i'm doing.
at this point here's what i'm trying to do:
DaGunn provided me with a modified framework-res.apk which includes a buttonized power control widget (from JsChiSurf's thread). this is v2.0 (on the 3.29 ota). previously i had v1.0 which I had fully customized to my liking.
the file provided to me by DaGunn has the buttonized look, and some smooth sense elements, as well as the super circle battery meter.
i opened framework-res.apk he provided with 7zip and replaced all the 901 images in res/drawable-hdpi with my own 901 image files from my existing framework. these files all have the same exact name and same exact extensions. (hence when I drag and drop into the new framework-res.apk in 7zip i get a direct replacement rather than having extra files).
this has worked countless times in the past. as a matter of fact, it worked 99% of the way this time. all the framework images went back to my customized images. except the battery disappeared.
i narrowed it down to the battery images. if i leave his 101 circle battery .pngs and replace every other file in framework-res, it works just fine. all my images show and the battery shows up in the circle style. if i then just replace his 101 circle battery .pngs with my 101 matted blues rectangle battery .pngs, which are the same exact names (i checked!) and extension, and after I optimized them almost exactly the same file size as well, everything goes to crap. the battery doesn't show up at all in the title bar.
if i plug in the phone, the rectangle charging animation works, the download animation works, all other smooth sense animations that I have replaced with the mattedblues files from my previous framework work. except for the battery.
now, if his .pngs work, and mine replace his directly with the same exact name and extension, why would the battery display suddenly disappear?!
I'm being told it has to do with resource IDs, but here's the problem. I was provided a "guide" on how to properly modify framework-res by one of the guys involved in MattedBlues (beatblaster). in it I was told that I only need to recompile framework-res after adding NEW .pngs, that if the .pngs were already accounted for in resources.arsc then trying to recompile would throw errors and instead I should replace those .pngs with 7zip. that's what i'm trying to do but as I said, then the battery meter doesn't work.
if i decompile DaGunn's original file, I'm able to recompile it just fine. keep in mind this file already has a lot of modifications on it as it is. but if i decompile his framework, and I replace his .pngs with mine, and try to recompile, I get thousands of lines of error in the log. all having to do with public.xml, which I'm being told goes back to resource IDs.
what am i missing here? i know how to remove the battery display from the title bar so I dont have that empty space, but I do enjoy my percentage battery and I would like to get this to work!
any input will be greatly appreciated...
+5 points for you if you read this far!
I'm not clear if you are recompiling or just dropping the images in, but if you are recompiling try making all your xml changes without adding the new images. Then after its compiled drop your new images in.
Sent from my PC36100 using XDA App
i'm not modifying any xmls. only replacing .pngs. it's specifically clarified in the OP.
the existing framework, with its modified .xmls and .pngs as given to me decompiles and recompiles just fine. if i decompile, then replace the .pngs with my own, and try to recompile, then it gives error. if i just open it in 7zip and replace the .pngs with my own, the battery disappears, but no force closes or error messages.
anyone else?
Are any of the .png files you are replacing have the 9.png extension? I know modifying these is very tedious and requires a more difficult process. Also can u post the errors in the apkmanager log?
Sent from my DROIDX using XDA App
nope. the files are stat_sys_battery_0 through stat_sys_battery_100. all .png not a single one in any other extension.
i can't post the apk manager log because it is literally thousands of lines of errors.
what I can do is give you the framework as I have it, working with his battery .pngs and a separate .zip with my battery .pngs, so you can try to do it yourself and see the problem/compile errors.
it really is weird...or stupidly simple!
Firstly you SHOULD NOT be decompiling just to swap images, even .9 pngs. You only need to decompile if you are editing xml files which by reading your post you aren't. To change pngs only, you should use option 1 (extract) in apk manager. Then change all your pngs you want changed. Use option 3 to recompress your framework. Make sure to tell it that it is a system apk, and then use option 12 to resign. You should be good to go.
t3project said:
Firstly you SHOULD NOT be decompiling just to swap images, even .9 pngs. You only need to decompile if you are editing xml files which by reading your post you aren't. To change pngs only, you should use option 1 (extract) in apk manager. Then change all your pngs you want changed. Use option 3 to recompress your framework. Make sure to tell it that it is a system apk, and then use option 12 to resign. You should be good to go.
Click to expand...
Click to collapse
+1
The reason I was confused about what you were trying to accomplish is because you don't need to decompile unless changing xml's.
Thats what I do for non system apps. I'll give it a try in the morning and see if it makes a difference.
Swyped from my HTC Evo 4G on the MetroPCS 1X network!
Ok first if you go to recompile something and you get errors usally the first error is the one causing the problem. Look and see what the first error is and fix it, like has been said what you are trying to do using 7 zip is a good way to do it, not decompiling. You said this is how you prefer way to do it anyway so that's good.
Second I have found at times that 7 zip does not properly replace threw images so weird things happen, only happens sometimes. With that said try using apk manager to unzip the apk replace the images and rezip it do not sign it. See if that works
Third. If all else fails download nijamorph from the market. Put the images you want on your scard where I can find them easy. Open nijamorph and start a new project navigate to your framework-res.apk.from here you can do two things first you can press existing project and find what you are looking for and change one at a time or the easy way. Close the app open your favorite file manager find the pngs you are going to use, copy them, then navigate to android themes/workspace in there you will find the framework-resapk folder, in there is everything just like the apk so paste the files were they go (that last step can all be done on the computer if that is easier for you.) Next open your nijamorph app and press finish project follow the prompts and let it do its thing. If your phone does not reboot reboot it.you should be good to go.
Like always do a backup before doing these steps
Good luck
Sent from my unrEVOked using xda app
Max_Pain said:
Thats what I do for non system apps. I'll give it a try in the morning and see if it makes a difference.
Swyped from my HTC Evo 4G on the MetroPCS 1X network!
Click to expand...
Click to collapse
it works the same way when replacing pngs. compiling and recompiling is only needed if making xml/code changes. i had to learn this the hard way too. just make sure you sign system apps with option 12 instead of option 4 like you would with a non-system app.
t3project said:
To change pngs only, you should use option 1 (extract) in apk manager. Then change all your pngs you want changed. Use option 3 to recompress your framework. Make sure to tell it that it is a system apk, and then use option 12 to resign. You should be good to go.
Click to expand...
Click to collapse
this worked!
dont know why I would have to extract, replace, compress, as I've NEVER done that with framework-res.apk, only when editing apps that need to be resigned. oh well, it worked
I think you misunderstood what I told you in the guide I gave you which is you only need to decompile/recompile when you are making XML code changes as stated above in a previous post. When I wrote that guide for you I wrote it thinking you wanted to add more features to the original power control widgets (such as smooth mods). If you want to simply replace PNGs, as stated previously, all you need to do is replace the PNGs without decompiling and recompiling.
In this instance, the problem you're running into is that you're trying to compile the framework using already-customized PNGs which will not work (another point that was stated in the guide as well )
So, in conclusion, if all you want to do is change the PNGs all you gotta do is (and you probably already know this but I'm including it to be thorough):
- Open archive (framework) in 7-zip
- Navigate to framework-res/res/drawable-hdpi
- Add your desired PNGs into the 7-zip window
- Close the 7-zip window and answer yes when 7zip asks if you want to update the archive
- Flash framework onto your phone
- All should be well
- When using this method there is no signing necessary!
Again, as stated previously, the only time you need to decompile/recompile is when you're going to edit an XML (or make any other code changes). So, for a final example of this, let's say you wanted to take DaGunn's power widgets framework but you wanted to change the "text highlight" color. What you would do then is this:
- Decompile DaGunn's framework in APK manager (option 9)
- Navigate to /projects/framework-res.apk/values/styles..xml
- Search for for "<item name="textColorHighlight">" and change the color HEX code
- Save the changes to styles.xml
- Compile the framework in APK manager (option 11)
- When asked if this is a system apk answer Y for yes
- When asked if you want to copy additional files to reduce the amount of errors answer Y for yes
- When prompted about the "keep" folder, open a file manager and navigate to /<apk_manager_folder>/keep and DELETE the resources.arsc file
- Go back to the APK manager window and press any button to finish the compile process
- Back in your file manager, go back to /<apk_manager_folder>/place-apk-here-for-modding/ folder, grab the unsignedFramework-res.apk, rename it to framework-res.apk and flash it however you flash it.
- Test your changes (in this example, the text highlight color)
This concludes my post.
thanks for the clarification beat.
but the problem was I was just opening framework-res.apk with 7zip, doing it like you're saying to do in the first part of your post above, and the battery meter would disappear instead of showing the mattedblues battery images instead of the circle ones.
if i left his .pngs in, the battery would show. if i replaced his with mine using 7zip, the battery would disappear.
this confused me because this is exactly the way that I've been integrating mattedblues into every framework i get. i open in 7zip, replace existing files with my own, and bam, everything works. this time it didnt!
this got fixed by extracting, replacing, and compressing again in apk manager 4.9.
i tried decompiling/recompiling simply because I was so out of ideas as to how else to go about it. I don't need to make any .xml changes to DaGunn's file because he had already integrated most of smooth sense with the percentage battery and v2 of the power widgets
anyways, thanks for the clarification.
beatblaster said:
So, in conclusion, if all you want to do is change the PNGs all you gotta do is (and you probably already know this but I'm including it to be thorough):
- Open archive (framework) in 7-zip
- Navigate to framework-res/res/drawable-hdpi
- Add your desired PNGs into the 7-zip window
- Close the 7-zip window and answer yes when 7zip asks if you want to update the archive
- Flash framework onto your phone
- All should be well
- When using this method there is no signing necessary!
Click to expand...
Click to collapse
max, not sure why this wouldnt work for you.
t3project said:
max, not sure why this wouldnt work for you.
Click to expand...
Click to collapse
no. this method is SUPPOSED TO WORK, as I said in the original post. this is how I've done every single change to framework-res.apk in the past. that is why I felt the need to ask for help. because the same thing that has always worked, suddenly wasn't working anymore!
for some reason, using 7zip WAS NOT WORKING to replace the battery .pngs....but ONLY those files. every other file was replaced using 7zip and they all worked. the only files I ended up having to replace through apk manager extract/compress method you gave me were the battery images.
thanks everyone
Max_Pain said:
no. this method is SUPPOSED TO WORK, as I said in the original post. this is how I've done every single change to framework-res.apk in the past. that is why I felt the need to ask for help. because the same thing that has always worked, suddenly wasn't working anymore!
for some reason, using 7zip WAS NOT WORKING to replace the battery .pngs....but ONLY those files. every other file was replaced using 7zip and they all worked. the only files I ended up having to replace through apk manager extract/compress method you gave me were the battery images.
thanks everyone
Click to expand...
Click to collapse
ohh i know. i use the way i told you because i just like to see the images while im playing with them. that way i know for sure whats up.

Need some help

Hi all I need help I want to start building roms.But I need a good guide for themeing if any one can help me or just show me where to start that would be great ..
Thank you
Sent from my PC36100 using XDA App
There aren't any, try asking this question in the theming section and somebody might be kind enough to help you out...
Are you trying to build a rom or are you trying to theme an existing rom? if you are just trying to change the theme and arent doing any development work it will be much easier on you if you just learn how to make/edit a theme. In fact it can be relatively simple (though very very time consuming) to make your own basic theme.
To start with you will want to get your framework-res.apk file and you will want to decompile it. once you do this you will see several folders in the res folder you should see a drawable folder. this holds all your xml files. These are the actual "code" for a good part of the framework. you should see several other folders drawable-hdpi is the folder that will hold most of your images (in .png or .9.png) these can be replaced with the images you want (keep them same name and same format for .png for .9 it is not suggested that you mess witht hem till you do research and learn how specifically to edit them .once done recompile the framework-res.apk file and put it in your rom or into a flashable zip.
this will let you change a large portion of the framework theme of your phone. it takes a little practice and patients. Obviously there are many other things you an do that are much more difficult but this should get you started at least.
DO NOT EDIT .9s IF YOU DON'T KNOW HOW YET!!
Stick to regular pngs as a starting point.
When decompiling existing themes I have seen them throw errors left and right because of badly edited .9s. These errors won't allow the framework to recompile correctly.
Grab some themes you want to play with and pull the drawable-hdpi folders out of the apk then mix and match the images you want into the apk you are going to use.
Once you get an idea of which images change what in the system then you can start looking at editing .9s. When you get to that point you will see just how amazing it is that themes even work with badly compiled .9s.
I know first hand. I literally had to fix .9 pngs in an entire theme just to be able to edit the xmls myself and have it recompile.
very true i dont sugest editing .9s unless you know how. Most basic icon changes can be made without editing them however if you mess them up it can be a huge pain to get the theme going. Another tip always make a back up of your default untouched framework. this can help save you if you mess something up and need to replace the files.
omegasun18 said:
very true i dont sugest editing .9s unless you know how. Most basic icon changes can be made without editing them however if you mess them up it can be a huge pain to get the theme going. Another tip always make a back up of your default untouched framework. this can help save you if you mess something up and need to replace the files.
Click to expand...
Click to collapse
Another good suggestion.
To add to this, op you should learn to use adb.
It will save you ALOT of time when testing the icon changes.
Instead of having to make a flashable zip file, when you learn adb you can push the one file you are testing and if it bootloops your device guess what, just adb push the original back and your system will boot again.
This prevents you from having to nand restore everytime you boot loop your device.
At this point, the only thing I flash via zips are full roms (mine at least). Everything else I either adb push/pull or fastboot flash it.
Thanks for all your help...I will try to figure this thing out

[Q] Noob question will probably get flamed

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

[Q] Where is the apk that has the phone icon in Jellybean?

Sorry for such a simple question but this is driving me nuts. I'm running the recently released deodexed Jelly Bean 4.1.1 ROM and I am rooted. I want to change some of the system icons and I've found most of them. I'm not having any luck with the phone ico,however.
I found the SecPhone.apk and it looks like that is where it is. But it must be somewhere else because every time I've changed it, I always get the same result...the little green phone.
Here is what I did:
I copied the SecPhone.apk to my computer and replaced the icon with the one I wanted.
I zipped it.
Signed it.
Then changed the zip to apk.
I then pasted the apk to my sdcard on my phone.
I then went into ES Explorer with root access and replaced the apk in /system/app with the new apk and made sure the permissions were correct and then rebooted.
(Note: I tried to install it but it would not let me. I read a how-to that stated placing it in the folder and rebooting would work the same way. Probably not true, looking back on it now.)
After all that (many times) the damn green phone icon pops back up when the phone re-boots, just sitting there, mocking me.
It's probably evident from my post I'm a noob with modding but this seems like it should be much easier than what I'm going through right now. Any help with this is much appreciated. Thank you.
if I'm not mistaken phone n contacts are switchd so to speak.extract the SecContacts.apk like you did phone. find 5 or 6 folders that start with mipmap-xxxx and replace ic_launcher_phone in all of them. Do the same in the drawable folders as well
Thanks for the suggestion. I'll give it a shot. I figured there had to be other copies of that icon and I just hadn't found the right one yet.
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.
Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
evoliphant said:
You were correct. There are about 10 copies of ic_launcher_phone in the different folders exactly where you stated.
Guess I should match the sizes of the icons I'm replacing too. These can't all be the same dimensions, can they? This is an awful lot of work to change one icon. LOL. Thanks again.
Click to expand...
Click to collapse
lol no problem
Pretty sure they're all the same.You should be safe
billard412 said:
lol no problem
Pretty sure they're all the same.You should be safe
Click to expand...
Click to collapse
Sort-of. Only the one for your phone's DPI is going to get used, so if you make them all the same it just means you can't run the same .apk on a tablet. Also, it might screw with you if you use HDMI out and the icons get made smaller to match the lower DPI of a monitor (100 vs 300+ on the SGS3), but I don't have the MHL adapter yet so I haven't tried that myself.
Well, unfortunately it didn't work. I did finally get rid of the green phone icon, but mine was no where to be found! Plus, com.phone.blahblah kept forcing close. Whatever I did, 4.1.1 didn't like one bit.
Oh well.
I followed the same process as I put in the OP for this except I did it for both SecPhone.apk and SecContacts.apk. Pasted both with Root Explorer, rebooted and then the home screen would come up, the phone icon was gone and then it would hang and give me the FC error. I just reflashed and gave up for the time being. Hopefully someone has an answer. The only other thing I might try differently is using adb? Would that be a better option than using the Root Explorer copy/paste method?
I wonder if I took the 4.1.1 Rom and opened it and changed the files in that and then flashed the whole ROM again if that would be any better. Would I basically just do the same process I did with the individual apks, except instead of just installing the single apk, the whole ROM goes in with it.
I just can't for the life of me understand why changing png icon images would cause the com.phone process to FC.
Try to use 7zip to extract the icon located in 'res/mipmap-xhdpi' of SecContacts.apk, edit it, and the use 7zip to drop the edited icon directly into the apk. Don't rezip or sign..
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
evoliphant said:
That did it! Thank you so much. I actually went ahead replaced all the pngs with my icon in all folders of the SecContacts. I did it first in just the folder you suggested but that didn't change anything. I then changed them all using 7 zip and put them in system/app and rebooted. Boom, Green phone gone! Looks like it was zip/signing problem. 7zip is the answer to my modding woes I guess. Thanks again.
Click to expand...
Click to collapse
It may be expecting the file to be uncompressed as well - maybe 7z is putting it in the same way it was. The other issue is it needs to be 4-byte aligned, which you can get via the zipalign program that comes with the SDK - and maybe 7z does that automatically as well.

Categories

Resources