Saturday, 17 October 2015

[Q] re-compile framework-res.apk issue



Hey, i am trying to de-compile and them re-compile the framework-res.apk but i got always a bootloop.


what i done so far:

use this commands:


Code:


1. apktool if framework-res.apk


Code:


apktool d framework-res.apk

(de-compile it)

put the "resources.arsc" file from the original apk to framework-res folder
(otherwise it will give me a error while i re-compile the file)
in this step i didnt change anything in the framework-res.apk just want to recompile it to see if it works/


Code:


apktool b framework-res

(re-compile it)
after that i put the META-INF and AndroidManifest.xml to the build/apk folder
(to sign it with the old signature) and then re-compile it with


Code:


apktool b framework-res

I got the apk,put it on the sdcard and then move it to system folder,
chmod it with 644 and then overwrite with the exiting file.

after that i got errors and when i try to restart the phone its going to bootloop

I tried different methods but always fail,any help please



No comments:

Post a Comment