1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Rename Framework-res.apk

Last Updated:

  1. skapino

    skapino New Member

    Help wanted,
    I do a mistake and renamed the file framework-re.apk in the folder /system/framework, my phone rebooted automatically and now stuck on the Sony Ericsson logo, so the phone is inoperative. Any tip to rename again the file. Phone have root access.
    Thank you.

  2. vasiliss

    vasiliss New Member

    I had this problem also and I found a way to restore the framework-res.apk as follows:

    1st. It needs the ADB command line toos android-sdk_r06-windows.zip for android cell phones.
    2nd. Make an ADB folder in the C:\ drive and save the zip context in.
    3rd. Connect the cell phone with the USB cable and the computer.
    4th. Turn on the cell phone up to the point it freezes the factory logo.
    5th. Run this script line-by-line in CMD prompt:

    adb shell
    mount -o rw,remount /dev/block/stl6 /system
    cp /system/framework/<renamed_file> /system/framework/framework-res.apk

    The <renamed_file> is the old .apk file that has been renamed accidently.
    In order to find the incorrectly file name use the command: ls /system/framework/
    This command will help to list the files in the directory.

    Here is some helpful ADB commands:
    List directory

    Copy file or directory
    Note: To copy or delete files in Android root directories you have to change the directory access mode to &#8216;read and write (rw)&#8217; using command: remount rw


    #remount rw

    #cp /sdcard/libsec-ril.so /system/lib

    #remount ro

    Move file or directory

    Change file/directory permission

    Remove file or directory

    Thank you.

Share This Page