FORUMS

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up … more

Intel & Micron Announce “Revolutionary” Storage Tech

Intel & Micron have announced 3D Xpoint technology—”the … more

Google Now Interfaces With Third-Party Messaging Apps

Google has announced that Ok Google voice commands can now be used to send … more

Make Your Lockscreen More Productive With Widgets

Are you running Android Lollipop? Do you miss the ability to add widgets to your lock … 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, 10754 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.
15th January 2011, 03:54 AM |#11  
Member
Flag Guyana
Thanks Meter: 8
 
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 ]

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes