Modded framework-res.apk with CRT off-animation - Samsung Galaxy Gio GT-S5660

Can someone post a modded framework-res.apk of CM 9 beta 6 with CRT off-animation enabled cuz I can't decompile mine framework-res.apk.
Thanks in advice

Why can't you decompile it?
Apktool download here.
Just pull it from phone and:
apktool if framework-res.apk
apktool d framework-res.apk

hsrars-d said:
Why can't you decompile it?
Apktool download here.
Just pull it from phone and:
apktool if framework-res.apk
apktool d framework-res.apk
Click to expand...
Click to collapse
I get an error while trying to compile it back..

Related

[Q] suggest the tool for apk edition

I have tried apktool and i have edited whole theme apk by decompiling it...then it is unable to recompile and my rhr work is now pending for test...
So suggest here ,i m stucked....
I HAVE TRIED APKTOOL B CODE SO MANY WAYS AND SO MANY TIMRS FROM DIFFERENT THREADs...
So it is better to suggest me other tools..
Using win 7 home edition.
Thanx
Sent from my HTC Wildfire S A510e using XDA
smartboy0668 said:
I have tried apktool and i have edited whole theme apk by decompiling it...then it is unable to recompile and my rhr work is now pending for test...
So suggest here ,i m stucked....
I HAVE TRIED APKTOOL B CODE SO MANY WAYS AND SO MANY TIMRS FROM DIFFERENT THREADs...
So it is better to suggest me other tools..
Using win 7 home edition.
Thanx
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
1)
you know what? if you have just edited the *.png and *.9.png files.. then you just use Winrar or 7zip (7zip i recomend)
first decompile with apktool .. then edit the .png n .9.png and then open the apk file with 7zip n just drag the files you edited.. n you done .. now just flash the file (hope you know how to make a flashable zip , if you dont then go to the index by VBHTT in general section n search there ) but do not try to edit xml files with this method.. it may end up messing your rom..
OR
2)​if you wanna edit xml file then install all resources to your computer..
lets take an example..
you wanna edit framewor-res.apk
then you will need com.htc.resources.apk(from /system/framework) n systemui.apk(from /system/app)
n then install all three of them with apktool on pc with these commands
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
apktoo if systemui.apk
then decompile the framework-res.apk with this code
Code:
apktool d framework-res.apk framework
it will create a new folder named framework n decompile it inside it..
after done editing the xml files n pngs you can compile it with this code
Code:
apktool b framework framework-res(new).apk
now copy this new framework apk file to desktop .. rename it to framework-res n then flash it .. hope i helped.
NOTE:
do not write apktool b framework-res.apk framework
here 'b' means BUILD .. the parameters are wrong. you cant build the apk framework like this.. instead it should be like this..
apktool b framework framework-res(new).apk
here frame work is the folder that is to be built as an apk with file name framework-res(new).apk this is the thing that might be causing you error.. hope i helped
mhrsolanki2020 said:
1)
you know what? if you have just edited the *.png and *.9.png files.. then you just use Winrar or 7zip (7zip i recomend)
first decompile with apktool .. then edit the .png n .9.png and then open the apk file with 7zip n just drag the files you edited.. n you done .. now just flash the file (hope you know how to make a flashable zip , if you dont then go to the index by VBHTT in general section n search there ) but do not try to edit xml files with this method.. it may end up messing your rom..
OR​if you wanna edit xml file then install all resources to your computer..
lets take an example..
you wanna edit framewor-res.apk
then you will need com.htc.resources.apk(from /system/framework) n systemui.apk(from /system/app)
n then install all three of them with apktool on pc with these commands
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
apktoo if systemui.apk
then decompile the framework-res.apk with this code
Code:
apktool d framework-res.apk framework
it will create a new folder named framework n decompile it inside it..
after done editing the xml files n pngs you can compile it with this code
Code:
apktool b framework framework-res(new).apk
now copy this new framework apk file to desktop .. rename it to framework-res n then flash it .. hope i helped.
NOTE:
do not write apktool b framework-res.apk framework
here 'b' means BUILD .. the parameters are wrong. you cant build the apk framework like this.. instead it should be like this..
apktool b framework framework-res(new).apk
here frame work is the folder that is to be built as an apk with file name framework-res(new).apk this is the thing that might be causing you error.. hope i helped
Click to expand...
Click to collapse
Hi mhrsolanki2020
I am agree with your tut, but one thing, are you sure we have to type " apktool If systemui.apk " to edit .xml files ?
Because when i edit .xml in systemui.apk , i always only typed "apktool if framework-res.apk " with "apktool if com.htc.resources.apk" and everything works fine .
Sorry for my english
Mazer.one said:
Hi mhrsolanki2020
I am agree with your tut, but one thing, are you sure we have to type " apktool If systemui.apk " to edit .xml files ?
Because when i edit .xml in systemui.apk , i always only typed "apktool if framework-res.apk " with "apktool if com.htc.resources.apk" and everything works fine .
Sorry for my english
Click to expand...
Click to collapse
no its not neccecasry.. but then its better to install it .. no harm in using 2mb from your harddisk is it
You're right
Sent from my HTC Wildfire S A510e using XDA
I am getting fc of systemui app...status bar gone...ishould look in to deeeeeply......
Sent from my HTC Wildfire S A510e using XDA

[Q] need help with decompilling

every time i'm trying to decompile an APK i get this error:
Code:
Decompiling Apk
testCan't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
"An Error Occured, Please Check The Log (option 24)"
can someone help me?:crying:
someone? anyone?
:crying:
make sure you installed correct framework apps..and then decompile again
arpith.fbi said:
make sure you installed correct framework apps..and then decompile again
Click to expand...
Click to collapse
I already installed the framework-res.apk and the systemui.apk
Sent from my LT18i using xda premium
can you post the 4-5 previous lines in the code before getting error?
arpith.fbi said:
can you post the 4-5 previous lines in the code before getting error?
Click to expand...
Click to collapse
i used used apk multi tool, so i selected a project, chose to decompile, and that are all the lines i get.
install original stock framework-res.apk including other frameworks
First try decompiling and re-compiling the original stock apk before decompiling & recompiling apk of some other roms.
but i still feel framework-res.apk isnt properly installed
Code:
apktool install-framework framework-res.apk
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Erhany said:
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Click to expand...
Click to collapse
thanks, it worked
now i can't compile the apk:crying:
Code:
The system cannot find the file specified.
what can i do to fix that?
please, can someone help me with that?

[Help!!! ] Need help compiling apks...

I have tried multiple guides and apktools with no luck....Please someone point me in the correct direction--->…I have been able to decompile, but no luck on recompile...
What errors are you getting? What OS do you have? Is this on a TW Stock based ROM or AOSP? Which apktool.jar/aapt.exe are you using?
Sent from my SPH-L710 using Tapatalk 2
Sry...windows 7....tw....systemUI.....upon recompile doesn't create new apk in apktool folder....caused by Java.io.File not found exception:....using the apktool found hereandroidforums.com/esteem-all-things...properly-decompile-recompile-aps-apktool.html
Use this apktool and aapt.exe
http://forum.xda-developers.com/showthread.php?t=1755243
Make sure you rename that jar to apktool.jar and place both the jar and exe in your apktool folder
Next, go to C:\User\Owner\apktool\framework and delete whatever resource apk's are in there
Next, get the framework-res.apk and twframework-res.apk from whatever ROM your working on and place them in your apktool folder
CD that apktool folder, after you cd type
apktool if framework-res.apk
apktool if twframework-res.apk
Decompile your SystemUI.apk again, make edits, recompile
Sent from my SPH-L710 using Tapatalk 2
Yes!!!!! :thumbup::thumbup::thumbup:

[Q]How to decompile framework.apk?

When I recompile framework-res.apk,the apktool notice "aapt:...".And the framework-res.apk still be builded.But I replace the resources.arsc and put it in the phone,reboot and always in bootanimation.I used apktool 1.4.10,1.5.0,1.5.1... and so on.I can not solve this problem,I need help.
Sent from my lt28h use sony fw.
kin912 said:
When I recompile framework-res.apk,the apktool notice "aapt:...".And the framework-res.apk still be builded.But I replace the resources.arsc and put it in the phone,reboot and always in bootanimation.I used apktool 1.4.10,1.5.0,1.5.1... and so on.I can not solve this problem,I need help.
Sent from my lt28h use sony fw.
Click to expand...
Click to collapse
I am not clear from what you did. But you need to do it this way.
apktool if ion SemcGenericUxRes.apk
apktool d -t ion framework-res.apk out
make changes to decompiled source
apktool b out new.framework-res.apk
Now open both framework-res.apk and new.framework-res.apk side by side using an archiver. Do not use windows open.
Now you will notice one thing that the new framework does not contain META-INF folder.
Delete the resources.arsc file from the original framework-res. Drag the resources.arsc from the new framework-res and dump it on to the original framework-res. Close both the files.
Now you are ready to use the updated original framework-res.apk
ganeshbiyer said:
I am not clear from what you did. But you need to do it this way.
apktool if ion SemcGenericUxRes.apk
apktool d -t ion framework-res.apk out
make changes to decompiled source
apktool b out new.framework-res.apk
Now open both framework-res.apk and new.framework-res.apk side by side using an archiver. Do not use windows open.
Now you will notice one thing that the new framework does not contain META-INF folder.
Delete the resources.arsc file from the original framework-res. Drag the resources.arsc from the new framework-res and dump it on to the original framework-res. Close both the files.
Now you are ready to use the updated original framework-res.apk
Click to expand...
Click to collapse
No need to install framework-res.apk only just SemcGenericUxpRes.apk?
ganeshbiyer said:
I am not clear from what you did. But you need to do it this way.
apktool if ion SemcGenericUxRes.apk
apktool d -t ion framework-res.apk out
make changes to decompiled source
apktool b out new.framework-res.apk
Now open both framework-res.apk and new.framework-res.apk side by side using an archiver. Do not use windows open.
Now you will notice one thing that the new framework does not contain META-INF folder.
Delete the resources.arsc file from the original framework-res. Drag the resources.arsc from the new framework-res and dump it on to the original framework-res. Close both the files.
Now you are ready to use the updated original framework-res.apk
Click to expand...
Click to collapse
I try to decompile this mod and it's sucessful.--->http://forum.xda-developers.com/showthread.php?t=2047999
Once I do the original framework-res I fail to make it use.
kin912 said:
I try to decompile this mod and it's sucessful.--->http://forum.xda-developers.com/showthread.php?t=2047999
Once I do the original framework-res I fail to make it use.
Click to expand...
Click to collapse
How are you trying to use it. Tell me the steps.
ganeshbiyer said:
How are you trying to use it. Tell me the steps.
Click to expand...
Click to collapse
1.Install framework about framework-res.apk and SemcGenericUxpRes.apk.
2.Decompile framework-res.apk and make change of the source.
3.Recompile framework-res.apk and build the new framework-res.apk.
4.Take the resources.arsc and the raw which I changed from the new framework-res.apk to the original framework-res.apk.
5.Replace the final framework-res.apk in my phone with 644 permission.
I reboot and loop in the bootanimation.
kin912 said:
1.Install framework about framework-res.apk and SemcGenericUxpRes.apk.
2.Decompile framework-res.apk and make change of the source.
3.Recompile framework-res.apk and build the new framework-res.apk.
4.Take the resources.arsc and the raw which I changed from the new framework-res.apk to the original framework-res.apk.
5.Replace the final framework-res.apk in my phone with 644 permission.
I reboot and loop in the bootanimation.
Click to expand...
Click to collapse
What are the sizes of the frameworks-res.apk's
ganeshbiyer said:
What are the sizes of the frameworks-res.apk's
Click to expand...
Click to collapse
Original:21MB
Decompile:14.9MB
If I do nothing change only recompile the frameworks-res.apk,it still has the bug.
kin912 said:
Original:21MB
Decompile:14.9MB
If I do nothing change only recompile the frameworks-res.apk,it still has the bug.
Click to expand...
Click to collapse
If you have followed pepitos tutorial from themes section then it should be ok.
There is nothing else to do.
Sent from my LT28i using xda premium
ganeshbiyer said:
If you have followed pepitos tutorial from themes section then it should be ok.
There is nothing else to do.
Sent from my LT28i using xda premium
Click to expand...
Click to collapse
I make sure the steps are ok because I can decompile the framework.apk of miui.Anyway,thanks a lot!

[Q] How to edit systemui.apk in Stock ROM?

How to edit systemui.apk in Stock ROM?
denisf1981 said:
How to edit systemui.apk in Stock ROM?
Click to expand...
Click to collapse
Decompile it with apktool
Make changes
Recompile with apktool
Push to system with permissions 644 & restart phone or make a flashable zip
Apktool with instructions & usage can be found
https://ibotpeaches.github.io/Apktool/
Can use Ubuntu/Linux or Windows
Obviously requires rooted phone

Categories

Resources