Go Back   Android Forums > Android Phones > Sony Ericsson Xperia X10 Mini > X10 Mini - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old February 6th, 2011, 10:34 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Rename Framework-res.apk

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.

skapino is offline  
Reply With Quote
sponsored links
Old May 8th, 2012, 08:48 PM   #2 (permalink)
New Member
 
Join Date: May 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default What to do when this happens.

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
su
stop
mount -o rw,remount /dev/block/stl6 /system
cp /system/framework/<renamed_file> /system/framework/framework-res.apk
reboot
exit

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:
ls
List directory

cp
Copy file or directory
Note: To copy or delete files in Android root directories you have to change the directory access mode to ‘read and write (rw)’ using command: remount rw

Example:

#remount rw

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

#remount ro

mv
Move file or directory

chmod
Change file/directory permission

rm
Remove file or directory

-----------------------------------
Thank you.
vasiliss is offline  
Last edited by vasiliss; May 8th, 2012 at 08:55 PM.
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Sony Ericsson Xperia X10 Mini > X10 Mini - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.