Problems editing systemUI.apk

tylermich7

Well-known member
Mar 29, 2011
229
25
0
Whenever I try to edit or change the .png of the files. I get a forceclose and status bar disspears, and it will continue the forceclose pop up untill the phone is rebooted.
Oh I'm using ninjamorph since metamorph did the exact same thing.

Sent from my LG-VM701 using Tapatalk
 
Never used it but sounds like you have some bad .9 pngs. Try pulling the file to your PC and decompiling. Then edit the images and compile it back. THEN either push it back to the system via adb.

Sent from my Ice Cream Nexus
 
Never used it but sounds like you have some bad .9 pngs. Try pulling the file to your PC and decompiling. Then edit the images and compile it back. THEN either push it back to the system via adb.

Sent from my Ice Cream Nexus

Here's where the problem resides. System/app/SystemUI.apk/drawable-hdpi

In there it already is edited to the files that I want to show on my status bar, but they're not showing in the status bar. My status bar is still show the ROMS icons. Even tho in the drawable-hdpi its showing the icons that replaced the stock ones when I used metamorph.
So what I'm thinking is I'm going to need a fresh untouched copy of the 11 28 gelato ROMS systemUI.apk

Sent from my LG-VM701 using Tapatalk
 
Here's where the problem resides. System/app/SystemUI.apk/drawable-hdpi

In there it already is edited to the files that I want to show on my status bar, but they're not showing in the status bar. My status bar is still show the ROMS icons. Even tho in the drawable-hdpi its showing the icons that replaced the stock ones when I used metamorph.
So what I'm thinking is I'm going to need a fresh untouched copy of the 11 28 gelato ROMS systemUI.apk

Sent from my LG-VM701 using Tapatalk

Have you tried rebooting the phone?
 
Im no tech savvy mother effer but i do know that our phones arent hdpi but are mdpi so if there is a mdpi file id look for it
 
Im no tech savvy mother effer but i do know that our phones arent hdpi but are mdpi so if there is a mdpi file id look for it

Hdpi. Its right in the systemUI.apk/drawablehdpi

Sent from my LG-VM701 using Tapatalk

thexx is right, this phone is mdpi. Yes, it may have an hdpi folder, that's not where you'd need to be playing.

What I'd personally do is put the apk on a PC, open it with 7 zip, place the new PNGs in their proper directory inside the apk, then GRACEFULLY (keyword) back out of the apk using 7zip .... back, back, back. The reason i say gracefully and not just close out, 7zip will ask you if you want it to update resources for you, select yes.

Now try the apk.

Good luck and hang in there. After enough failures and successes you'll be able to do it with your eyes closed.
 
  • Like
Reactions: jondevere
thexx is right, this phone is mdpi. Yes, it may have an hdpi folder, that's not where you'd need to be playing.

What I'd personally do is put the apk on a PC, open it with 7 zip, place the new PNGs in their proper directory inside the apk, then GRACEFULLY (keyword) back out of the apk using 7zip .... back, back, back. The reason i say gracefully and not just close out, 7zip will ask you if you want it to update resources for you, select yes.

Now try the apk.

Good luck and hang in there. After enough failures and successes you'll be able to do it with your eyes closed.

Thanks lol, I browses through the directory and didn't come across that path for it.
Can I dirty flash the ROM ontop of its self to get me back the original systemUI.apk for the ROM? If I could do that ill feel more secure messing around with the directory being I always or ocassionlly forget to make a back up.

Sent from my LG-VM701 using Tapatalk
 
Yes u can. And u need to mod the mdpi. Do trust I've done this too many times to count. Also... take the rom zip and pull out the sysyemui. No need to reflash.... its mdpi and its in the same folder as the hdpi.

Sent from my Ice Cream Nexus
 
Dirty flash works just fine to get back to "normal", same goes the other way. By placing the modified apk in a copy of the rom zip then flashing it ... your applying the modified apk.

For the super lazy OR those that cant dedicate enough time to do the work by hand (heyyyy im not judging :p ) you could always check out the ultimate online theme kitchen although i feel obligated to offer the following advice:

- Kitchen wasnt around when i started so i did it all by hand. Even still i won't use the kitchen and actually enjoy doing my work by hand. I suggest every understand at least what is happening and how its happening prior to using the kitchen.
- Nothing drives me more crazy then seeing someone, with good intentions no doubt, post a zip for a theme they created in the kitchen. There's nothing wrong with using the kitchen, but posting work from the kitchen makes no sense because .... why not just post a link to the kitchen and let people make their own theme, with their own colors, using their own ideas of what looks good?

Ok, im done :)
 
Yes u can. And u need to mod the mdpi. Do trust I've done this too many times to count. Also... take the rom zip and pull out the sysyemui. No need to reflash.... its mdpi and its in the same folder as the hdpi.

Sent from my Ice Cream Nexus

Ok, ifound it. Lol but question all I want to do is change the color to the ICS blue. Ill need to find .png icons to replace them? Is there a simplier faster way to just simply change the icons color?

Sent from my LG-VM701 using Tapatalk
 
Ok, ifound it. Lol but question all I want to do is change the color to the ICS blue. Ill need to find .png icons to replace them? Is there a simplier faster way to just simply change the icons color?

Sent from my LG-VM701 using Tapatalk
Are you serious?? You just trying to change the icons?? If thats the case there should be a png for the icon within the apk.... Otherwise... If you are like me and wanna change the colors of more than just that... Get photoshop or Gimp. Then open up each png... yes I know... HUNDREDS OF EDITS BY HAND! ... and change the colors from there. The other easy way is like KP said, OUT kitchen. And im not gonna lie. UOT kitchen is easy as hell, but I dont like using it either. Battery Mods are nice tho because there is a lil over 200 images JUST for the Charge and Discharge images.
 
Are you serious?? You just trying to change the icons?? If thats the case there should be a png for the icon within the apk.... Otherwise... If you are like me and wanna change the colors of more than just that... Get photoshop or Gimp. Then open up each png... yes I know... HUNDREDS OF EDITS BY HAND! ... and change the colors from there. The other easy way is like KP said, OUT kitchen. And im not gonna lie. UOT kitchen is easy as hell, but I dont like using it either. Battery Mods are nice tho because there is a lil over 200 images JUST for the Charge and Discharge images.

Yeah ijust need my icons in the status bar along with the clock in the status bar to be blue. That's all that's missing for my ICS theme. This is the only issue I'm having that's left to do for it.
And yes I see all the .png icons.

Sent from my LG-VM701 using Tapatalk
 
ok then you are doin it the right way. That is gonna be the best route. Now here is another thing you need to worry about. The status bar... is it a tiny square image that is duplicated to create the full bar, or is it one big bar that you can just change. The reason I ask this is because back in the Optimus S themin era, me and my team mate jstntp had to figure out that we could replace that tiny image with a full size image. This makes it easier to edit while looking thru tons on png's. ALSO this was how I was able to make a fully textured status bar image. I love having full images on the status bar but thats a personal choice.

ALSO if the status bar image is a small square, which I believe it is, its going to be a .9 png, or should be from what ive seen. This is an image that stretches, aka duplicates itself across one or more plains. Sorry if thats a lil more than you need/want but its fresh on my mind since Ive been reading this today.
 
ok then you are doin it the right way. That is gonna be the best route. Now here is another thing you need to worry about. The status bar... is it a tiny square image that is duplicated to create the full bar, or is it one big bar that you can just change. The reason I ask this is because back in the Optimus S themin era, me and my team mate jstntp had to figure out that we could replace that tiny image with a full size image. This makes it easier to edit while looking thru tons on png's. ALSO this was how I was able to make a fully textured status bar image. I love having full images on the status bar but thats a personal choice.

ALSO if the status bar image is a small square, which I believe it is, its going to be a .9 png, or should be from what ive seen. This is an image that stretches, aka duplicates itself across one or more plains. Sorry if thats a lil more than you need/want but its fresh on my mind since Ive been reading this today.

Another thing. Just messing arround I just simply inverted one of the icons and saved it. (Note I'm using ninjamorph) and when I apply the change my status bar forcecloses and keeps on giving me the forceclose pop up about my status bar and it doesn't go away untill I reboot. After I reboot the image that I inverted (in this case my 3g icon) loaded as it shoulve in the inverted color. What I'm wondering is why does the status bar forceclose and force me to reboot after I apply the change.

Also after this I dirty flashed the ROM over its self, so now I have a fresh untouched systemUI.apk
The invert was just a test.

Sent from my LG-VM701 using Tapatalk
 
Another thing. Just messing arround I just simply inverted one of the icons and saved it. (Note I'm using ninjamorph) and when I apply the change my status bar forcecloses and keeps on giving me the forceclose pop up about my status bar and it doesn't go away untill I reboot. After I reboot the image that I inverted (in this case my 3g icon) loaded as it shoulve in the inverted color. What I'm wondering is why does the status bar forceclose and force me to reboot after I apply the change.

Also after this I dirty flashed the ROM over its self, so now I have a fresh untouched systemUI.apk
The invert was just a test.

Sent from my LG-VM701 using Tapatalk

You are editing a SYSTEM apk. It will forceclose cause you are USING the file when your editing it... once you reboot it should be fine, but then again I never used the apps you are......
 
You are editing a SYSTEM apk. It will forceclose cause you are USING the file when your editing it... once you reboot it should be fine, but then again I never used the apps you are......

Yeah I've noticed. After the reboot it changed the icon to what I changed it to.

Sent from my LG-VM701 using Tapatalk
 
I tried the kitchen. And when I go to install the zip from my sd. It says it was aborted. What's wrong here? I uploaded the framework-res.apk and my systemUI.apk like it says. I selected the optimus selection. It eneded up being a small zip something like 2.30mb

Sent from my LG-VM701 using Tapatalk