Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
12-21-2011 08:53 PM
20 replies
  1. Thread Author  Thread Author    #1  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default Problems editing systemUI.apk

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

    Default

    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
  3. Thread Author  Thread Author    #3  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    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
  4. #4  
    danieljc1's Avatar
    Sith Lord

    Posts
    201 Posts

    Default Re: Problems editing systemUI.apk

    Quote Originally Posted by tylermich7 View Post
    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?
  5. #5  
    thexxoffspring's Avatar

    Posts
    378 Posts
    Global Posts
    379 Global Posts
    Carrier
    Gelaton 11-28

    Default Re: Problems editing systemUI.apk

    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
  6. Thread Author  Thread Author    #6  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by thexxoffspring View Post
    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
  7. Thread Author  Thread Author    #7  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by danieljc1 View Post
    Have you tried rebooting the phone?
    Yes.

    Sent from my LG-VM701 using Tapatalk
  8. #8  

    Default Re: Problems editing systemUI.apk

    Quote Originally Posted by thexxoffspring View Post
    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
    Quote Originally Posted by tylermich7 View Post
    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.
    jondevere likes this.
  9. Thread Author  Thread Author    #9  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by KSmithInNY View Post
    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
  10. #10  

    Default

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

    Default Re: Problems editing systemUI.apk

    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 ) 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
  12. Thread Author  Thread Author    #12  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    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
  13. #13  

    Default Re: Problems editing systemUI.apk

    Quote Originally Posted by tylermich7 View Post
    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.
  14. Thread Author  Thread Author    #14  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    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
  15. #15  

    Default Re: Problems editing systemUI.apk

    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.
  16. Thread Author  Thread Author    #16  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    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
  17. #17  

    Default Re: Problems editing systemUI.apk

    Quote Originally Posted by tylermich7 View Post
    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......
  18. Thread Author  Thread Author    #18  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    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
  19. Thread Author  Thread Author    #19  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

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

    Default Re: Problems editing systemUI.apk

    Prob wrong script
  21. Thread Author  Thread Author    #21  
    tylermich7's Avatar

    Posts
    229 Posts
    Carrier
    [AOSP] LIQUIDSMOOTH-v1.25

    Default

    Quote Originally Posted by jondevere View Post
    Prob wrong script
    I had to go off the default for the script not the optimus. But I posted a thread for theme I made hopefully someone can give me feedback on what's going on with the signal bars, that's the only icon that won't change.

    Sent from my LG-VM701 using Tapatalk

Posting Permissions