FORUMS

Make Your Network Smart – XDA Xposed Tuesday

We rave about the features and abilities of our smartphones. However, in order for … more

Dr.Ketan Brings The S6 Theme Store To The Note 4

Dr.Ketan has submitted a video to the forums showing a functional port of the Galaxy S6 … more

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships … more

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat … more

[TUTORIAL] Easy method to change framework-res.apk with shell script

257 posts
Thanks Meter: 129
 
By propc, Senior Member on 27th December 2010, 10:05 PM
Post Reply Subscribe to Thread Email Thread
I created script to change framework-res.apk

--New-- Script with safer operation uploaded.

Requirements
-rooted
-busybox installed

1-copy framework-res.apk that you want to replace to the root of your sdcard (make sure it's in root)
2-extract reframe.zip(attachment) to root of your sdcard

in adb shell, use this command:
Code:
su
cd /sdcard
sh reframe.sh
your phone will reboot. and done! your framework-res.apk replaced safely.
Original framework-res.apk backed up as framework-res.apk.orig in /sdcard
Attached Files
File Type: zip reframe.zip - [Click for QR Code] (554 Bytes, 10706 views)
Last edited by propc; 31st December 2010 at 03:19 PM.
The Following 44 Users Say Thank You to propc For This Useful Post: [ View ]
 
 
29th December 2010, 05:02 PM |#2  
Senior Member
Żywiec
Thanks Meter: 10
 
More
Is there any method to get back original framework from SDCard, and paste it to /system, when my phone doesn't want to boot?
29th December 2010, 05:18 PM |#3  
propc's Avatar
OP Senior Member
Thanks Meter: 129
 
Donate to Me
More
Quote:
Originally Posted by hugerth

Is there any method to get back original framework from SDCard, and paste it to /system, when my phone doesn't want to boot?

Use xrecovery..

Sent from my E15i using XDA App
The Following User Says Thank You to propc For This Useful Post: [ View ]
29th December 2010, 05:28 PM |#4  
Senior Member
Żywiec
Thanks Meter: 10
 
More
Can't install... ok... I reflash 1.6 and root it again, install 2.1 and xRecovery for the future...
29th December 2010, 05:48 PM |#5  
propc's Avatar
OP Senior Member
Thanks Meter: 129
 
Donate to Me
More
Quote:
Originally Posted by hugerth

Can't install... ok... I reflash 1.6 and root it again, install 2.1 and xRecovery for the future...

ops.if you have working rootshell, you can replace it using rootshell. but, since you've go back to 1.6, it doesn't matter. just install xrecovery in the future, quite useful.
The Following 2 Users Say Thank You to propc For This Useful Post: [ View ]
29th December 2010, 08:35 PM |#6  
Senior Member
Żywiec
Thanks Meter: 10
 
More
Now I have system back (after about 2h) with working xRecovery and... God!.. why I haven't noticed it before...
31st December 2010, 09:56 AM |#7  
Member
Thanks Meter: 2
 
More
i wanna ask how to recover the framework-res.apk from the xrecovery??
31st December 2010, 11:04 AM |#8  
propc's Avatar
OP Senior Member
Thanks Meter: 129
 
Donate to Me
More
mount /system and use adb push

edit:
new script. revised operation
Last edited by propc; 31st December 2010 at 02:50 PM.
1st January 2011, 05:06 PM |#9  
deconfrost's Avatar
Senior Member
Thanks Meter: 116
 
Donate to Me
More
D:\adb>adb remount
remount failed: Operation not permitted


any help here? I need to replace the framework


nm, forgot to chmod 06777 /system/framework
Last edited by deconfrost; 1st January 2011 at 05:20 PM.
The Following User Says Thank You to deconfrost For This Useful Post: [ View ]
10th January 2011, 12:56 PM |#10  
Senior Member
Thanks Meter: 3
 
More
Thank you for you work. I hope to see this work Just rebooted my phone after applying your script.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes