I tried SO HARD changing the black background like in the Settings and all but no joy.
I followed this for decompiling :
http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
I followed this for changing for changing the desired background :
http://forum.xda-developers.com/showthread.php?t=1343484
All turned out well till I wanted to re-compile back, i got errors as in the attachment below.
have you set the framework file? "apktool if framework-res.apk" before recompiling?
if it doesnt work, try
pull twframework.apk from your phone, and use it as above.
Hope it works, again, I'm nowhere near my laptop
Sent from my GT-I8150 using XDA
you must add a picture into drawable-hdpi and name it as 'mybackground' just like the name what you set in styles.xml
reidzeibel said:
have you set the framework file? "apktool if framework-res.apk" before recompiling?
if it doesnt work, try
pull twframework.apk from your phone, and use it as above.
Hope it works, again, I'm nowhere near my laptop
Sent from my GT-I8150 using XDA
Click to expand...
Click to collapse
Yes I did, already! You mean I should now use twframework.apk instead of framework-res.apk?? :ekk:
Sent from my GT-I8150 using xda premium
skys415 said:
you must add a picture into drawable-hdpi and name it as 'mybackground' just like the name what you set in styles.xml
Click to expand...
Click to collapse
I already added the picture named "mybackground.png". I followed exactly as the tutorial but yet failed. Hmmm..
Sent from my GT-I8150 using xda premium
Guys, I'm confused on the replacing part of "resource.arcs" and "modified files".
1. I already replaced "resources.arcs" in the original framework-res.apk with the " resources.arcs" from the build > apk.
2. As for the "styles.xml" that I modified, I have no idea where to put it.
Sent from my GT-I8150 using xda premium
SyzwnFrzRdz said:
Guys, I'm confused on the replacing part of "resource.arcs" and "modified files".
1. I already replaced "resources.arcs" in the original framework-res.apk with the " resources.arcs" from the build > apk.
2. As for the "styles.xml" that I modified, I have no idea where to put it.
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
You no need to replace "styles.xml", you are never find it inside apk after recompiled.
As he said, just replace "resources.arcs" and the "modified files".
Related
Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
phadly said:
which tool do you use to decompile apk?
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
APK Manage 5.0.2 (Apk tool)
_FroX_ said:
APK Manage 5.0.2 (Apk tool)
Click to expand...
Click to collapse
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
phadly said:
you need to delete which files you have edit in keep folder including images..then press enter..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
_FroX_ said:
I do this. Now I explore twframework-res.apk with root explorer and I've seen are the images that I have modified, so all ok, however not work...
Click to expand...
Click to collapse
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
phadly said:
you also need to modified images in framework-res.apk..there are same images in both twframework-res.apk and framework-res.apk..search for it..
Sent from my eyes to your eyes using xda premium
Click to expand...
Click to collapse
Ok, the same images in the two files (twframework-res.apk and framework-res.apk) but, xml files? I edit one xml but there isn't any change (twframework-res.apk), that xml is neither in framework-res.apk or SystemUI.apk
Edit: Ok, I don't need to edit twframework-res.apk, i need to edit apk xml (in this case, Music.apk) I found the same xml inside, i'll try if work.
Edit2: It's work.
_FroX_ said:
Hi all!
I try edit twframework-res.apk (some images + some xml's) but it has no effect. I try doing wipe dalvik-cache and wipe cache, but nothing, images no change... xml no apply... i dunno what to do.
Any idea?
Thanks!
Click to expand...
Click to collapse
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
colour change
maxx35000 said:
hi ,
first what do you want to change exactly ?
in Tw rom the Framework-res.apk is not the same as stock google phone so maybe you have to look inside
Click to expand...
Click to collapse
hi i want to edit the system font color which apk should i edit..framework,systemUI
ngaihomasailo said:
hi i want to edit the system font color which apk should i edit..framework,systemUI
Click to expand...
Click to collapse
framework-res.apk.."res/color/ folder" and "res/values/styles.xml"..
Sent from my eyes to your eyes using xda premium
thanks
Sent from my GT-S5830 using Tapatalk 2
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
kanchudeep said:
Can either of the apks be modified the change the 'theme' of TouchWiz?
Basically to get stock JellyBean look on Samsung Galaxy S2+. For eg, certain menus, radio buttons, preference activities etc...
Click to expand...
Click to collapse
Yes.
For 99% controls of ui you would need to edit framework-res.apk
Though i prefer apktool + 7zip
Sent from my LG-D722 using XDA Free mobile app
Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
what tool u use? link please..
can u provide some SS guide?
thanks
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
CahBagoes354 said:
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
help me enable ripple effect please ,
heres my framework http://www.mediafire.com/?gdr089y8t6xl1y2
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
you change the image .9. png
AW: [MOD][GUIDE] 4.1.2 Enable Ripple Effect
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
cheech01 said:
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
you have to patch it back in the picture, use draw9patch.
Sent from my GT-I8190 using xda premium
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
Which version of apktool do you have? It needs to be 1.5.2. Update your aapt as well.
finally managed to make the changes to my framework-res.apk
apktool version needed to be updated and then it worked
thanks to CahBagoes354
This don't work for me! I use apk-multi-tool to decompile and recompile framework-res.apk but when i push it i get bootloop.
Decompile and compile without any error. Do i need to do something more?
same here :/
Sent from my GT-I8190 using xda app-developers app
same here too...
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
burak185 said:
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
Click to expand...
Click to collapse
how do you manage to compile i always get error apktool didnt find sorces
hello , no find this file in framework-res values-hdpi ... how to search this ? i have xxamg4 stock rom
halfnakedprince said:
how do you manage to compile i always get error apktool didnt find sorces
Click to expand...
Click to collapse
This guide worked for me
CahBagoes354 said:
Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Mod Edit Quote shortened
thanks...its work for me..
khaisttj92 said:
thanks...its work for me..
Click to expand...
Click to collapse
help me please ! thanx i have xxamj2
is there any1 here have deodexed framework-res.apk s3 mini xxAMG4.....i need it pls....tq
Can anyone make this mod? Or help me how to make this mode.
Im using MC3 and I love the Cyan colour on my phone than this stock green.
I want ro Stock batter and Stock Internet & Wifi Arrows but just in Cyan Colur.
Like This pic.
Can anyone Help me about it please?
I decompiled the framework-res.apk but couldnt find anyting to change colour
Joy` said:
I decompiled the framework-res.apk but couldnt find anyting to change colour
Click to expand...
Click to collapse
Look into SystemUI.apk, not in framework
I decompiled SystemUi.apk
Its about 2.4 Mb. change my battery colours (you can see on the attach)
But when i compile again it was 1.7 Mb. Unsigned
I signed Apk and still same 1.7 Mb.
Its my first time to decompile any apk.
I think i made something wrong
Any idea for this Noob User? :angel:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I replaced the new systemUI.apk to system/app give permission rw-r--r-- but. Status bar dont shown and systemUI force close
Sent from my GT-I9300 using xda premium
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Hahaha. IT work Lol. I did not thinks thats easy like this.
You are Parfect Mate.! Very Thanks :good:
yep, very easy if only images.
And Ta taa!!
Sent from my GT-I9300 using xda premium
I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Then decompiled Settings.apk of Xperia pro stock ics Rom.
After that ,without making any change I compiled the apk. Then I surprisingly noticed that the size compiled apk is 1/3 of original stock settings.apk .
Then I flashed the apk using cwm to my phone to test if it work .after flashing, the setting icon is invisible in launcher menu !
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
shouvo said:
I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
Click to expand...
Click to collapse
take a look here
cosmyndemeter said:
take a look here
Click to expand...
Click to collapse
On that post I found something like this
"2-STEP hope u guys know how to decompile iam not going to explain it so decompile the settings.apk (make sure u set the compression level 128mb)"
Then explain me how set compression level in apktool??
Sent from my MK16i using xda premium
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
shouvo said:
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Erhany said:
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Click to expand...
Click to collapse
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
shouvo said:
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Erhany said:
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Click to expand...
Click to collapse
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
shouvo said:
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
You r welcom. Im glad
I was just wondering if anyone with the UAMDL software has been able to decompile and recompile the framework on here yet.
I have tried with the APK multi tool and the decompile works fine but when I try to recompile it errors our right away.
Anyone have any luck with this?
If so what tool did you use?
Yes I have.
Sent from my SGH-M919 using Tapatalk 2
I'd like to know this as well, and how people have been successful. I haven't had any luck installing framework-res.apk or recompiling a modified app. From my understanding, it's an issue with apktool and aapt that needs to be updated.
TheArtiszan said:
I was just wondering if anyone with the UAMDL software has been able to decompile and recompile the framework on here yet.
I have tried with the APK multi tool and the decompile works fine but when I try to recompile it errors our right away.
Anyone have any luck with this?
If so what tool did you use?
Click to expand...
Click to collapse
That and SystemUI.apk are both missing files needed for them to decompile and recompile right
evil..............out
elesbb said:
Yes I have.
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Can you elaborate on what tools you used and how to set it up please?
I have been stuck trying to get this to work for over a week now.
Sent using xda premium.
evil1art said:
That and SystemUI.apk are both missing files needed for them to decompile and recompile right
evil..............out
Click to expand...
Click to collapse
There are ways for making it work though
TheArtiszan said:
Can you elaborate on what tools you used and how to set it up please?
I have been stuck trying to get this to work for over a week now.
Sent using xda premium.
Click to expand...
Click to collapse
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
elesbb said:
There are ways for making it work though
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
Click to expand...
Click to collapse
Im the one who figured out the missing style for the systemui
evil..............out
evil1art said:
Im the one who figured out the missing style for the systemui
evil..............out
Click to expand...
Click to collapse
Yeah so did I lol. Ive ran into that issue before and thats all you have to do to get around it.
elesbb said:
There are ways for making it work though
I used the tool in my signature and you have to remove some layout paramaters in the xml files then recompile and copy the originals over to the newly compiled apk.
Click to expand...
Click to collapse
We have our own modified apk manger works good
evil..............out
evil1art said:
We have our own modified apk manger works good
evil..............out
Click to expand...
Click to collapse
Ahhh. That makes life a lot easier lol. How did you modify it? Build it from source or edit the jar file?
elesbb said:
Ahhh. That makes life a lot easier lol. How did you modify it? Build it from source or edit the jar file?
Click to expand...
Click to collapse
Modified the original files and changed memory heap etc
evil..............out
Oh okay that makes sense.
I am editing the framework res apk
Making changes only to the arrays.xml file in the values folder.
Which styles should I be commenting out and then which file should I copy to the original?
I tried putting a + in front of a few lines based on the errors I was getting but that seemed to make it worse.
Sent using xda premium.
I think the arrays and other values xml get compiled into the resources file no?
Sent using xda premium.
TheArtiszan said:
I think the arrays and other values xml get compiled into the resources file no?
Sent using xda premium.
Click to expand...
Click to collapse
Everything in the values directory is found in your resources.arsc file in the apk.
Sent from my SGH-M919 using Tapatalk 2
Ah that makes sense.
The changes made for layouts, does that go into the same area though?
Just wondering if that might cause a problem since that is what I would want to move over.
Sent from my HTC VLE_U using xda premium
That is odd.
I can get this to decompile in apk multi tool but not Elesbb's GUI
I get the following error:
Tue 06/25/2013
0:46:56.39
Decompiling.. "C:\Users\Bill\APK GUI\framework-res.apk"
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x010802f4 drawable/ic_ab_back_holo_dark, config=-hdpi
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:197)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:166)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:131)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:106)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:390)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:56)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:48)
at brut.androlib.Androlib.getResTable(Androlib.java:48)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:166)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
-----------------------------------------------------------------
Did I miss something.
Made some progress and decompiling ok now on a different computer.
If I add the + before the layouts would that cause operation issues?
I would like to know too.
Still having trouble.
What did you do too decompile?
Okay I can now get it to recompile adding the +layout to the xml files that were erroring in the compile log and only other change was made was to the arrays.xml file to enable bluetooth tethering like on the GS3 did.
however when I push it to the phone and chmod and try it I get a boot loop.
Did I do something wrong?
Am I supposed to copy out the resource.asrc from the file I compiled like a zip then add it to the original that I pulled using 7zip or something?
Any input would be greatly appreciated.
TheArtiszan said:
Okay I can now get it to recompile adding the +layout to the xml files that were erroring in the compile log and only other change was made was to the arrays.xml file to enable bluetooth tethering like on the GS3 did.
however when I push it to the phone and chmod and try it I get a boot loop.
Did I do something wrong?
Am I supposed to copy out the resource.asrc from the file I compiled like a zip then add it to the original that I pulled using 7zip or something?
Any input would be greatly appreciated.
Click to expand...
Click to collapse
Move the AndroidManifest.xml and Meta-INF folder from the original apk to the modified one.
Sent from my SGH-M919 using xda premium