1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Ok, so what is the right way to mod framework-res.apk

Discussion in 'Android Themes' started by Coolsaber57, Jul 15, 2010.

  1. Coolsaber57
    Offline

    Coolsaber57 New Member

    Joined:
    Jan 7, 2010
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    0
    I basically wanted to change the battery icons to a different set.

    I tried Ninjamorph. It didn't work.

    I tried to open with 7zip and just copy the images in. This worked, but when I booted my phone, facebook and gtalk authentication broke. I could fix facebook, but it took forever to fix gtalk authentication.

    So how am I supposed to do it? Am I screwing up the permissions of the framework-res.apk file when I modify it in 7zip?
  2. bgill55
    Offline

    bgill55 Beta Team Theme Developer

    Joined:
    Feb 8, 2010
    Messages:
    2,345
    Likes Received:
    8
    Trophy Points:
    0
    how are you putting the frameworkres.apk back on your phone?
  3. Coolsaber57
    Offline

    Coolsaber57 New Member

    Joined:
    Jan 7, 2010
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    0
    First, I used Root Explorer, but it wouldn't let me boot up that way.

    Then I tried using adb to cp from the sdcard to the /system/framework folder.
  4. bgill55
    Offline

    bgill55 Beta Team Theme Developer

    Joined:
    Feb 8, 2010
    Messages:
    2,345
    Likes Received:
    8
    Trophy Points:
    0

    yeah sounds like you permissions are getting jacked best way throw the apk in a update zip and flash it like a rom, or use your cpu to push it to your phone from your computer!
  5. Coolsaber57
    Offline

    Coolsaber57 New Member

    Joined:
    Jan 7, 2010
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    0
    Hmm, ok, so when I ADB pushed it to /system/framework and rebooted, LauncherPro is now screwed. It just FC's as soon as you unlock it.

    I can't even get to the homescreen.
  6. erikfig
    Offline

    erikfig New Member

    Joined:
    May 12, 2010
    Messages:
    544
    Likes Received:
    0
    Trophy Points:
    0
    Maybe you are doing something wrong with NM, I fully customised my theme with ninjamorph with no issues at all. I have 3 themes in one, including battery icons.
  7. Tallica
    Offline

    Tallica Premium Member Premium Member

    Joined:
    Mar 17, 2010
    Messages:
    3,259
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Middleboro, MA
    copy the framework app to sd card then to pc desktop
    use 7zip to open archive of app
    change out .pngs
    reboot recovery (make sure you r still connected by usb to pc)
    mount options
    mount system
    adb push the framework back to system/framework
    unmount system
    reboot

    Works everytime for me and I do it ALOT!!
  8. Coolsaber57
    Offline

    Coolsaber57 New Member

    Joined:
    Jan 7, 2010
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    0
    That's exactly what I did, but it seems that launcher pro has become dependent on framework-re.apk. I'll keep trying though. It's a pain to recover though.
Search tags for this page

battery framework-res.apk 15 5 20

,

framework.res.apk battery & network icon changing

,

permissions of framework-res.apk?