DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 10 of 10

Thread: Making a framework-res.apk file: need help!

  1. Senior Droid
    pkdesigns's Avatar
    Member #
    1474
    Join Date
    Nov 2009
    Location
    Leesburg, VA
    Posts
    155
    Phone
    Motorola Droid
    #1

    Making a framework-res.apk file: need help!

    Alright, first off I'm making a set of 3G icons. I've got the folders set right (framework-res/...), I've got the XML file setup (with the correct /system/framework path), yet metamorph didn't install it properly (did a MM loop, yes I've got debugging on)? Any help on what else the file needs would be great!
  2.  
     
     
     
  3. Master Droid
    forkup's Avatar
    Member #
    184
    Join Date
    Oct 2009
    Posts
    317
    #2
    More info please, obviously if it was all setup correctly it would work
  4. Droid
    treminaor's Avatar
    Member #
    25353
    Join Date
    Jan 2010
    Location
    California
    Posts
    57
    Phone
    Motorola Droid
    #3
    Quote Originally Posted by pkdesigns View Post
    Alright, first off I'm making a set of 3G icons. I've got the folders set right (framework-res/...), I've got the XML file setup (with the correct /system/framework path), yet metamorph didn't install it properly (did a MM loop, yes I've got debugging on)? Any help on what else the file needs would be great!
    Are you using a .zip container for your theme? If so, ensure that you selected the /system folder and compressed it as framework-res.apk instead of selecting a framework-res folder CONAINING the system folder and compressed that. ex: a zip file with the structure "/framework-res.zip/system" as opposed to "/framework-res.zip/framework-res/system/".
    -15.4" Macbook Pro Early 2007 2.5GHz Intel Core 2 Duo Processor 2GB 667MHz DDR2 SDRAM 320GB HD-
    -Motorola Droid running 2.2 FRF57 Rooted; BlackLight Theme-
  5. Senior Droid
    pkdesigns's Avatar
    Member #
    1474
    Join Date
    Nov 2009
    Location
    Leesburg, VA
    Posts
    155
    Phone
    Motorola Droid
    #4
    Well I guess I'm asking if I need any other files than the folders containing the .pngs, and the xml file? I'm trying to use metamorph to swap my 'stat_3g' .pngs to make it show up red in my notification bar.
  6. Droid
    FuzzyBeard's Avatar
    Member #
    32270
    Join Date
    Jan 2010
    Posts
    47
    Liked
    4 times
    Phone
    MotoDroid
    #5
    I just put in the files I'm replacing instead of all the .png's keeping in mind I still use the entire folder structure

    /framework-res/res/drawable-hdpi/whatever.png

    two things I found out. I needed to use 7-zip to set the compression to storage. I needed to put framework-res in the /system/framework/ directory
  7. Rescue Squad
    titans's Avatar
    Member #
    11378
    Join Date
    Dec 2009
    Posts
    2,668
    Twitter
    @titans_df
    Phone
    Incredible
    Premium Member
    #6
    All you have to do is adb pull the framework-res.apk, replace the pngs, and adb push it back.
  8. Droid
    treminaor's Avatar
    Member #
    25353
    Join Date
    Jan 2010
    Location
    California
    Posts
    57
    Phone
    Motorola Droid
    #7
    Quote Originally Posted by titans View Post
    All you have to do is adb pull the framework-res.apk, replace the pngs, and adb push it back.
    +1 to this.

    Metamorph is a waste of time IMO. Test your theme using ADB and when it's ready to release, make an update.zip.
    -15.4" Macbook Pro Early 2007 2.5GHz Intel Core 2 Duo Processor 2GB 667MHz DDR2 SDRAM 320GB HD-
    -Motorola Droid running 2.2 FRF57 Rooted; BlackLight Theme-
  9. Senior Droid
    pkdesigns's Avatar
    Member #
    1474
    Join Date
    Nov 2009
    Location
    Leesburg, VA
    Posts
    155
    Phone
    Motorola Droid
    #8
    So just zip the files up that I wanna change in the framework path, and make it update.zip and install from the root? That easy?

    Anyone know of a good mac compressor that does a storage option?
  10. Droid
    treminaor's Avatar
    Member #
    25353
    Join Date
    Jan 2010
    Location
    California
    Posts
    57
    Phone
    Motorola Droid
    #9
    Quote Originally Posted by pkdesigns View Post
    So just zip the files up that I wanna change in the framework path, and make it update.zip and install from the root? That easy?

    Anyone know of a good mac compressor that does a storage option?
    Just use the built-in Right-Click menu compression tool. You don't need any fancy storage compression.

    Find someone else's update.zip and take a look at the hierarchy. And keep in mind that OSX creates a folder to keep the extracted contents in that should not be re-zipped. For example, if you unzipped a zip file that had a structure like this: "/framework-res.apk/system", it would extract it into a folder called framework-res (even though that folder didnt exist). To rezip it correctly, zip up the /system/ folder and name the zip framework-res.apk (and press yes to change the extension.)
    Last edited by treminaor; 05-31-2010 at 07:42 PM.
    -15.4" Macbook Pro Early 2007 2.5GHz Intel Core 2 Duo Processor 2GB 667MHz DDR2 SDRAM 320GB HD-
    -Motorola Droid running 2.2 FRF57 Rooted; BlackLight Theme-
  11. Senior Droid
    pkdesigns's Avatar
    Member #
    1474
    Join Date
    Nov 2009
    Location
    Leesburg, VA
    Posts
    155
    Phone
    Motorola Droid
    #10
    what i tried to do before was:

    make my files under the path of: framework-res/res/drawable-hdpi/whatever.png

    then i tried to drag it right over so Metamorph could run it.

    what you're saying is to do the whole path? /system/framework/framework-res/res/drawable-hdpi/whatever.png, zip that up, then move it over as update.zip? i'm still kinda lost at what you're saying.


    Quote Originally Posted by titans View Post
    All you have to do is adb pull the framework-res.apk, replace the pngs, and adb push it back.
    by adb pull you mean './adb pull /system/framework/framework-res.apk' in terminal right? im not very familiar with adb

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Making SBF file ?
    By tujj99 in forum Android Hacks and Help
    Replies: 64
    Last Post: 02-22-2013, 08:13 PM
  2. Framework.apk
    By o0HERO0o in forum Android Themes
    Replies: 22
    Last Post: 06-06-2010, 10:21 PM
  3. Help with framework-res.apk
    By Shad0w325 in forum Android Themes
    Replies: 10
    Last Post: 04-05-2010, 10:24 PM
  4. need help finding the right file in framework!
    By gotta have that funk in forum Android Themes
    Replies: 0
    Last Post: 04-01-2010, 03:21 PM
  5. Framework-res Batch File
    By dick.fickling in forum Android Themes
    Replies: 0
    Last Post: 03-06-2010, 09:22 AM

Search tags for this page

adb pull framework-res.apk

,
building update.zip framework.apk
,
framework-res zip
,
framework-res.apk compression
,
framework-res.zip
,
framework.res file
,
how to compress apk
,
how to compress file to apk
,

how to extract framework-res.apk

,
make apk mac
Click on a term to search our site for related topics.
Find us on Google+