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

Thread: Copying framework-res.apk back to phone

  1. Senior Droid
    TechJPC's Avatar
    Member #
    14399
    Join Date
    Dec 2009
    Posts
    195
    Phone
    Motorola Droid
    #1

    Copying framework-res.apk back to phone

    Hi, Ive edited my framework-res.apk file and its now on my sdcard. I want to move it back to my phone.

    I typed this in terminal to move it back to the phone ... cp /sdcard/framework-res.apk /system/framework

    It's telling me that the "file exists"

    How can I overwrite the framework-res.apk on the phone ?

    Thanks
    Joe

  2.  
     
     
     
  3. Theme Developer
    ecsnead69's Avatar
    Member #
    65621
    Join Date
    May 2010
    Location
    Virginia
    Posts
    1,316
    Phone
    Rooted D1 & Fascinate
    DroidForums.net Theme Developer
    Premium Member
    #2
    I believe that command just copies what you already have. The best way to do this is with adb in recovery. This phone does not play well with pushing framework while running! Are you familiar with adb?
  4. Droid
    supersaki's Avatar
    Member #
    35651
    Join Date
    Feb 2010
    Posts
    45
    Phone
    Motorola DROID
    #3
    Quote Originally Posted by TechJPC View Post
    Hi, Ive edited my framework-res.apk file and its now on my sdcard. I want to move it back to my phone.

    I typed this in terminal to move it back to the phone ... cp /sdcard/framework-res.apk /system/framework

    It's telling me that the "file exists"

    How can I overwrite the framework-res.apk on the phone ?

    Thanks
    Joe
    I've always done it through adb:

    adb remount (makes system r/w, I always forget the mount command)
    adb push framework-res.apk /system/framework/framework-res.apk
    adb remount (makes system r/o)

    reboot phone

    --

    maybe you just need to make system r/w and it will let you copy?
    " mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system"
    before the copy should make it r/w.

    to make read-only again, "mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system"
    Last edited by supersaki; 07-29-2010 at 07:04 AM.
  5. Senior Droid
    TechJPC's Avatar
    Member #
    14399
    Join Date
    Dec 2009
    Posts
    195
    Phone
    Motorola Droid
    #4
    Quote Originally Posted by ecsnead69 View Post
    I believe that command just copies what you already have. The best way to do this is with adb in recovery. This phone does not play well with pushing framework while running! Are you familiar with adb?

    I never used adb recovery . How do I get to it ?

    Joe

  6. Developer Relations
    tp7six's Avatar
    Member #
    61666
    Join Date
    Apr 2010
    Posts
    11,512
    Liked
    361 times
    Twitter
    DroidForums
    Phone
    [MDK] S4
    Premium Member
    #5
    If you have Root Explorer go into system/framework and long press on the framework-res.apk and tap "permissions" take note of what the permissions are set at, go to your edited framework-res.apk on your SD long press it and select copy or move and navigate back to system/framework and "paste" your edited framework-res. It will ask you if you would like to "overwrite" the current framework-res, select yes. After that long press on the new framework-res you just pasted and select permissions and set the permissions as they were on the original framework-res then reboot your phone and enjoy

    If you don't have Root Explorer, it is a must for Root Users and you can find it in the Market

  7. Beta Team
    GirLuvsDroid's Avatar
    Member #
    38863
    Join Date
    Feb 2010
    Location
    Wilmington, DE
    Posts
    1,551
    Liked
    5 times
    Phone
    Motorola Droid
    #6
    Although I use Root Explorer constantly to move files in and out of /system/app and to edit scripts, and other system files, I've never had any luck using it to push my framework back to /system/framework.

    However, typing these commands into Terminal Emulator always works for me:

    su
    sys -rw
    busybox cp /sdcard/framework-res.apk /system/framework
    sys -rw

    Then you're going to need to reboot.

    Also, as a warning, this always causes my chosen wallpaper to be obliterated (reverts to stock wallpaper), as well as my Google account. This is very easy to fix -- just choose your wallpaper again and then go into System>Accounts & sync and add back your Google account.
    Verizon Galaxy Nexus
    CodenameAndroid/Leankernel
    ASUS Transformer Prime
    Rooted/unlocked and overclocked
  8. Theme Developer
    ecsnead69's Avatar
    Member #
    65621
    Join Date
    May 2010
    Location
    Virginia
    Posts
    1,316
    Phone
    Rooted D1 & Fascinate
    DroidForums.net Theme Developer
    Premium Member
    #7
    Pushing in recovery has no affect on your google account or wallpaper. It does this because framework is constantly running....
  9. Senior Droid
    TechJPC's Avatar
    Member #
    14399
    Join Date
    Dec 2009
    Posts
    195
    Phone
    Motorola Droid
    #8
    Thanks guys and Girl ... I will post back .

  10. Beta Team
    GirLuvsDroid's Avatar
    Member #
    38863
    Join Date
    Feb 2010
    Location
    Wilmington, DE
    Posts
    1,551
    Liked
    5 times
    Phone
    Motorola Droid
    #9
    Quote Originally Posted by ecsnead69 View Post
    Pushing in recovery has no affect on your google account or wallpaper. It does this because framework is constantly running....
    Yes, true, and it's the preferred method if you have access to adb (which I don't at work). At those times, I'm content with using Terminal Emulator and resetting my wallpaper and Google account.
    Verizon Galaxy Nexus
    CodenameAndroid/Leankernel
    ASUS Transformer Prime
    Rooted/unlocked and overclocked
  11. Rescue Squad
    Tallica's Avatar
    Member #
    48266
    Join Date
    Mar 2010
    Location
    Middleboro, MA
    Posts
    3,259
    Liked
    6 times
    Twitter
    Tallica21
    Phone
    GSIII-Rooted
    Premium Member
    #10
    Adb is the safest way to do it. If you paste the framework-res.apk back to system/framework with root exploerer the screen goes black and you can't change perm.

    I have done it countless times every time works perfect:

    Install the SDK and ADB

    put the modded framework app in your android/tools folder on your pc reboot your phone into recovery, connet to pc with usb, mount system on phone,

    from command prompt on pc:

    cd c:\android\tools (if that is where your tools and the modded app are)
    adb push C:\android\tools\framework-res.apk /system/framework/framework-res.apk (again if that is where the file is)

    unmount system on phone, reboot phone, done
    Last edited by Tallica; 07-29-2010 at 08:21 AM.
Page 1 of 2 12 LastLast

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. copying and pasting
    By Sturim in forum HTC Droid Incredible
    Replies: 5
    Last Post: 06-11-2010, 05:48 AM
  2. plastic on back of phone
    By kpoker in forum Android Tech Support
    Replies: 6
    Last Post: 04-06-2010, 11:27 PM
  3. phone won't turn back on
    By nisquallygirl in forum Android Tech Support
    Replies: 8
    Last Post: 03-26-2010, 11:05 PM
  4. Back-up ROM on non-rooted phone?
    By killabyte in forum Android Hacks and Help
    Replies: 6
    Last Post: 01-31-2010, 12:30 PM
  5. Editing Framework-res (or, how I almost bricked my phone)
    By p0rk burn in forum Android Hacks and Help
    Replies: 7
    Last Post: 12-16-2009, 07:58 AM

Search tags for this page

adb copy file from sdcard to system/framework

,
cara restore framework-res.apk
,

framework res apk permissions

,

how to copy farmwork into sytem

,

how to copy firmwork-res.apk with recovery system

,

how to copy framework-res.apk

,

how to copy framework-res.apk to /system/framework

,

how to overwrite framework-res.apk

,

replace framework-res.apk root explorer

,

root explorer framework-res.apk

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