Modifying framework-res.apk using ADB pull/push commands

This is a discussion on Modifying framework-res.apk using ADB pull/push commands within the Hacking Help forums, part of the Droid X Development category; Hey guys, Can someone point me in the right direction... The guide that I used to follow is somehow no longer on the web, and ...


Results 1 to 7 of 7

Thread: Modifying framework-res.apk using ADB pull/push commands

  1. #1
    X Conveyor
    Points: 6,788, Level: 54
    Level completed: 19%, Points required for next Level: 162
    Overall activity: 0.6%
    Achievements:
    Created Album pictures31 days registered100 Experience Points7 days registeredTagger Second Class
    greevedogg's Avatar
    Member #
    16608
    Join Date
    Oct 2010
    Location
    CFL
    Posts
    477
    Liked
    33 times

    Modifying framework-res.apk using ADB pull/push commands

    Hey guys,

    Can someone point me in the right direction...
    The guide that I used to follow is somehow no longer on the web, and I don't remember off-hand what the exact commands were/are...

    But I'd like to change a few icons from the drawable-hdpi folder...

    Can someone lay out the ADB commands, or point me to a thread

    Thanks!

  2. Droid X Forums
    Ads


  3. #2
    X Operative
    Points: 18,520, Level: 86
    Level completed: 34%, Points required for next Level: 330
    Overall activity: 4.0%
    Achievements:
    31 days registered250 Experience Points7 days registered100 Experience PointsTagger Second Class
    maderschramm's Avatar
    Member #
    19945
    Join Date
    Nov 2010
    Location
    Madison, WI
    Posts
    125
    Liked
    177 times
    the only way I know how to do this is with ninjamorph...

    but the adb commands to do it would probably be:

    cd [the directory you want to pull the files to]
    adb pull /system/framework/framework-res.apk

    decompile, mess with the files
    recompile

    adb push framework-res.apk /system/framework/framework-res.apk

    I'd just use ninjamorph

  4. #3
    X Conveyor
    Points: 6,788, Level: 54
    Level completed: 19%, Points required for next Level: 162
    Overall activity: 0.6%
    Achievements:
    Created Album pictures31 days registered100 Experience Points7 days registeredTagger Second Class
    greevedogg's Avatar
    Member #
    16608
    Join Date
    Oct 2010
    Location
    CFL
    Posts
    477
    Liked
    33 times
    yeah, i might just have to NM it...but the ADB pull/push would be way faster as I'm changing out 20+ icons....

    i mean, i've done it before, i just can't find the guide that i used before...
    but i think you got it about right, but i think you need to first type 'su' to get superuser, then cd [directory], then pull

    i know you don't need to decompile and recompile the .apk.....just change the .pngs using 7zip to browse the files....
    Last edited by greevedogg; 02-08-2011 at 09:44 PM.

  5. #4
    X Operative
    Points: 18,520, Level: 86
    Level completed: 34%, Points required for next Level: 330
    Overall activity: 4.0%
    Achievements:
    31 days registered250 Experience Points7 days registered100 Experience PointsTagger Second Class
    maderschramm's Avatar
    Member #
    19945
    Join Date
    Nov 2010
    Location
    Madison, WI
    Posts
    125
    Liked
    177 times
    in that case I was right - you're thinking of using adb shell - adb pull is an adb command ran from a terminal or command prompt - thus, you don't need to type SU because you're phone's already rooted and the shell loads it automatically

    so you'd open a terminal

    cd [directory where you want the -res.apk to go] - changes your dir to the one you want
    adb pull /system/framework/framework-res.apk - pulls the framework from your phone onto your computer
    edit files
    open terminal
    cd [directory where changed framework-res.apk is] - goes back to the proper dir
    adb push framework-res.apk /system/framework/framework-res.apk - pushes .apk back into proper position, overwritting old one

    adb pull is an adb command ran outside of the adb shell, so no su required

  6. #5
    Technician X
    Points: 9,994, Level: 66
    Level completed: 86%, Points required for next Level: 56
    Overall activity: 1.2%
    Achievements:
    500 Experience Points31 days registered250 Experience Points100 Experience Points7 days registered
    TideFan22's Avatar
    Member #
    23940
    Join Date
    Jan 2011
    Location
    Florence,Alabama
    Posts
    3,097
    Liked
    64 times
    Listen to mad he knows his stuff.

    Sent from the state with 13 National Championships and the winningest bowl team

  7. #6
    Super Moderator
    Supporting Member
    Points: 51,541, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%
    Achievements:
    3 months registered250 Experience Points100 Experience Points31 days registered7 days registered
    Awards:
    Discussion Ender
    Droid-Xer's Avatar
    Member #
    5096
    Join Date
    Aug 2010
    Location
    El Paso, TX
    Posts
    10,334
    Liked
    786 times
    I've updated my ninjamorph guide to include changing out multiple pngs at once using the PC. Its in post #3.

  8. #7
    Agent X
    Points: 9,805, Level: 66
    Level completed: 39%, Points required for next Level: 245
    Overall activity: 0%
    Achievements:
    Tagger Second Class31 days registered250 Experience Points7 days registered100 Experience Points
    trenton's Avatar
    Member #
    20215
    Join Date
    Nov 2010
    Posts
    1,114
    Liked
    71 times
    Quote Originally Posted by Droid-Xer View Post
    I've updated my ninjamorph guide to include changing out multiple pngs at once using the PC. Its in post #3.
    Muahahah...........muuuaahahahahah


    Sent from my DROIDX using Droid X Forum App

Remove Ads

Ads

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. Need a little help with framework
    By pablo1010 in forum Droid X Themes
    Replies: 0
    Last Post: 01-18-2011, 12:00 AM
  2. Framework.res.apk
    By shelooga in forum Droid X Help
    Replies: 5
    Last Post: 01-13-2011, 05:56 PM
  3. modifying stock lockscreen?
    By Phildo in forum Droid X Hacks
    Replies: 4
    Last Post: 12-08-2010, 01:21 AM
  4. Modifying Widgets?
    By shazbork in forum Droid X Themes
    Replies: 4
    Last Post: 11-01-2010, 01:10 PM
  5. Replies: 8
    Last Post: 10-28-2010, 07:38 PM

Search tags for this page

adb framework-res.apk

,
adb pull /system/framework/framework-res.apk
,

adb pull framework-res.apk

,

adb push framework-res.apk

,
framework-res.apk
,

how to pull framework-res.apk

,

how to push framework-res.apk

,
pull framework res apk
,

pull framework-res.apk

,
push framework-res.apk adb
Click on a term to search our sites for related topics.