FORUMS
Remove All Ads from XDA

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

257 posts
Thanks Meter: 130
 
By propc, Senior Member on 27th December 2010, 11:05 PM
Post Reply 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, 11470 views)
The Following 45 Users Say Thank You to propc For This Useful Post: [ View ] Gift propc Ad-Free
 
 
29th December 2010, 06: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, 06:18 PM |#3  
propc's Avatar
OP Senior Member
Thanks Meter: 130
 
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 ] Gift propc Ad-Free
29th December 2010, 06: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, 06:48 PM |#5  
propc's Avatar
OP Senior Member
Thanks Meter: 130
 
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 ] Gift propc Ad-Free
29th December 2010, 09: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, 10:56 AM |#7  
Member
Thanks Meter: 2
 
More
i wanna ask how to recover the framework-res.apk from the xrecovery??
31st December 2010, 12:04 PM |#8  
propc's Avatar
OP Senior Member
Thanks Meter: 130
 
Donate to Me
More
mount /system and use adb push

edit:
new script. revised operation
1st January 2011, 06:06 PM |#9  
deconfrost's Avatar
Senior Member
Thanks Meter: 120
 
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
The Following User Says Thank You to deconfrost For This Useful Post: [ View ] Gift deconfrost Ad-Free
10th January 2011, 01: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.
15th January 2011, 04:54 AM |#11  
Member
Flag St John's
Thanks Meter: 9
 
More
Quote:
Originally Posted by propc

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

Can u tell me where to find the adb shell

Sent from my E15i using XDA App
The Following User Says Thank You to oubsty For This Useful Post: [ View ] Gift oubsty Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes