[Q] How to modify the background of settings,contacts etc?? - Galaxy Y GT-S5360 General

The usual method posted in kurotsugi's thread doesnt work for me... it gives an error when compiling framework-res.apk... so is there any work around?

http://forum.xda-developers.com/showthread.php?t=1678241
Click to expand...
Click to collapse
View here.
CLoSe.

Instead of compiling and decompiling just rename the framework-res.apk to zip open up and follow the stuff told by kurotsugi and instead of compiling just rename back to apk and replace it back ur done ....atleast worked for me dnt know about other try it out and tell if it works then it will be officially posted on xda...
Sent from my GT-S5360 using xda premium

Or u can download the xml file from kurotsugi use it....
Another thing copy ur roms framework-res.apk to username/apktool and over there backup the 1.apk if u use apktool or skip this step if using apkmanager
Backup 1.apk and paste ur framework.apk and rename it to 1.apk and then do the remaining steps as in tut it works perfectly for me atleast...
Sent from my GT-S5360 using xda premium

SSSidGGG said:
Or u can download the xml file from kurotsugi use it....
Another thing copy ur roms framework-res.apk to username/apktool and over there backup the 1.apk if u use apktool or skip this step if using apkmanager
Backup 1.apk and paste ur framework.apk and rename it to 1.apk and then do the remaining steps as in tut it works perfectly for me atleast...
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Thanks buddy.. i will use ur method tomorrow..
Sent from my GT-S5360 using xda premium

Related

How to create a theme?

Hi,
I want to create my own Samsung Galaxy S I9000 theme, but how?
Is there any sort of software or can I edit excisting ones?
Ofcourse I will publish the theme for free on XDA
Anyway, Thanks!
Cheers,
Applefaq
Applefaq said:
Hi,
I want to create my own Samsung Galaxy S I9000 theme, but how?
Is there any sort of software or can I edit excisting ones?
Ofcourse I will publish the theme for free on XDA
Anyway, Thanks!
Cheers,
Applefaq
Click to expand...
Click to collapse
This is the guide i normally send when im asked this question:
First of all, get your framework-res.apk and twframework ,(they're located in system/framework). If you are on gingerbread you also need systemui.apk (in system/app)
Then, download 7zip in case you dont have it.
Right click on framework-res.apk and with 7zip click to extract to /framework-res
You will now have a new folder.
Open it, then open /res and then /drawable-hdpi (framework-res/res/drawable-hdpi)
There are most pngs you'll need to theme.
Edit them and when you've finished editing them, open framework-res.apk with 7zip, delete the res folder, and drag the res from framework-res folder onto it. (Make sure it has copied correctly)
You should now have a framework-res with a new theme
do this also for the other two apks.
There are too many pngs to tell you the function of each, but you can pm me about some
To copy it onto your phone, you can use root explorer or a cwm installable zip.
For cwm, you'll need an updater-script and update-binary or update-script. If you want, i'll make you one.
Damn thanks for your great reply, im gonna read this!
Thanks for the reply I will post my theme next week!
Cheers,
Applefaq
how can I modified the update-binary?
Thanks for the info on gingerbread theming. Is it also safe to swap one 2.33 framework for another while on your cell?
Or is this strictly pc based? I'd like to try exact one already made and replace mine.. Or is that gonna bootloop
Sent from my GT-I9000 using Tapatalk
Dont unzip. Use apkManager to decompile. This way you will decompile the 9patch png's too.
When compiling remember to say its a system file and delete the modified files from the keep folder.
And convert the 8 bit pngs to rgb 32 bit before editing. Then convert them back to 8bit before recompiling. Or find an editor that supports 8bit. But Adobe Photoshop does not!
Sent from my GT-I9000 using XDA Premium App
If the OP needs any help im glad to give it.
But one question for you other theme gurus:
When decompiling with dependencies do you use twframework or systemui? I always use tw but with gingerbread im getting some wierd errors.
Cheers
Sent from my GT-I9000 using XDA Premium App
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
ronhoover88 said:
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Decompile twframeworkres.apk and change "twcolor3" in res/values/color.xml(should be close enough).
Frameworkres.apk res/color/zzz_tw_secondary_text_sub.xml
Sent from my GT-P1000 using XDA App
tids2k said:
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Click to expand...
Click to collapse
________________________________________________________________
racerboy3801 said:
If the OP needs any help im glad to give it.
But one question for you other theme gurus:
When decompiling with dependencies do you use twframework or systemui? I always use tw but with gingerbread im getting some wierd errors.
Cheers
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
I dont understand the question. You decompile with the files it depends on. That's all. SystemUI.apk needs framework-res.apk for example.
racerboy3801 said:
Decompile twframeworkres.apk and change "twcolor3" in res/values/color.xml(should be close enough).
Frameworkres.apk res/color/zzz_tw_secondary_text_sub.xml
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Thanks a lot does it change the text of all the frameworks...when i edit the xml my phone goes into bootloop
Sent from my GT-I9003 using XDA App
_JKay_ said:
I dont understand the question. You decompile with the files it depends on. That's all. SystemUI.apk needs framework-res.apk for example.
Click to expand...
Click to collapse
I mean that when you decompile frameworkres did you select either.twframeworkres or systemui for the dependancy.
Sent from my GT-I9000 using XDA Premium App
racerboy3801 said:
I mean that when you decompile frameworkres did you select either.twframeworkres or systemui for the dependancy.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
No. framework-res.apk does not depend on any file.
tids2k said:
and how to theme odex versions ... do u delete odex files before themes them or jyst decompiling with apk manager will work ?
Click to expand...
Click to collapse
If you only want to change image files then just decompile the apk file and forget about the odex file.
ronhoover88 said:
Any help regarding changing text colours
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
If you want to know how to change the color of the clock in the statusbar then look at my thread. 3rd post.
http://forum.xda-developers.com/showthread.php?t=1037157
RobZarzecki said:
Thanks for the info on gingerbread theming. Is it also safe to swap one 2.33 framework for another while on your cell?
Or is this strictly pc based? I'd like to try exact one already made and replace mine.. Or is that gonna bootloop
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Sent from my GT-I9000 using Tapatalk
RobZarzecki said:
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
You can make a cwm flash but that will require a reboot.
Sent from my GT-I9000 using XDA Premium App
racerboy3801 said:
You can make a cwm flash but that will require a reboot.
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
Thanks.. So it has to be flashed? Cannot just extract and switch one framework for another?? Not sure how to zip, sign a framework
Sent from my GT-I9000 using Tapatalk

Having problems in recompiling systemui.apk

Hey guys as the title says I have been having some problems while recompilling systemui.apk .
Well the decompiling and everything else goes well but when I try to recompile it it just gives some errors and says 11 more errors.
Please can someone help me .
For the note I didn't change even a single letter in any file just decompiled and tried to recompile.
Sent from my HTC Wildfire S A510e using XDA
I used to have this problem but fixed it easily, can you confirm what OS you are using? (Linux, windows, Mac OS X)
Sent from my Wildfire S using XDA
rohil surana said:
Hey guys as the title says I have been having some problems while recompilling systemui.apk .
Well the decompiling and everything else goes well but when I try to recompile it it just gives some errors and says 11 more errors.
Please can someone help me .
For the note I didn't change even a single letter in any file just decompiled and tried to recompile.
Sent from my HTC Wildfire S A510e using XDA
Click to expand...
Click to collapse
plz tell the code you used to compile
mostly it is becuz you wrote it in wrong syntax..
see this .. it will help
http://forum.xda-developers.com/showpost.php?p=27340150&postcount=2
if you are editing ics apk, try to decompile with apktool 1.4.2 and recompile with apktool 1.4.3 or vice versa, i read somewhere apktool has issues
with ics apks and that is the trick to make it work
Sent from my HTC Wildfire S
VigiDroid said:
I used to have this problem but fixed it easily, can you confirm what OS you are using? (Linux, windows, Mac OS X)
Sent from my Wildfire S using XDA
Click to expand...
Click to collapse
my OS is Windows 7
mhrsolanki2020 said:
plz tell the code you used to compile
mostly it is becuz you wrote it in wrong syntax..
see this .. it will help
http://forum.xda-developers.com/showpost.php?p=27340150&postcount=2
Click to expand...
Click to collapse
as I told I didn't even edit any code, then also its giving the errors
mstfkaratas said:
if you are editing ics apk, try to decompile with apktool 1.4.2 and recompile with apktool 1.4.3 or vice versa, i read somewhere apktool has issues
with ics apks and that is the trick to make it work
Sent from my HTC Wildfire S
Click to expand...
Click to collapse
Nope systemui.apk from stock DEODEXED ROM
Sent from my HTC Wildfire S A510e using XDA
Please see this post.
http://forum.xda-developers.com/showthread.php?p=27610101
It's just that I created a theme with transparent background and black colour notifications.
So the text is not visible on the notifications.I tried to change with the option in uot but it just doesn't change.
So I decided to recompile the apk gold the xml responsible and then edit and recompile it.
This is the story hope anyone can help.
Sent from my HTC Wildfire S A510e using XDA
You have to set the path, I'm not sure about windows if you can set the path in cmd. I will have a look when I get to my PC
Sent from my Wildfire S using xda app-developers app
What are you talking about I started command prompt in apk tool directory then
gave APk tool both the dependency files
Then decompiled then didn't edit anything just recompiled and got errors if any one could try please take the system UI apk from uot pack from the link in my last post.
Sent from my HTC Wildfire S A510e using XDA

How to decompile and compile framework

Hi, i have problem with compiling GB framework-res.apk. Im using APK Multi Tool 1.0.6 and i decompile and compile stock framework without any problem's and i dont change anythink just to test. But rom allways got bootloop. I change compression to 0, didnt help. Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB. I allways remove resources.arsc from keep folder then continue. Any solution ? :/ i can't solve this problem, i rly dont touch anythink inside framework.
System apks such as framework should be signed. Apk tool compiles unsigned apks. You have to sign it manually.
Sent from my LT18i using xda app-developers app
popthosegaskets said:
System apks such as framework should be signed. Apk tool compiles unsigned apks. You have to sign it manually.
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
did you noticed what i write ? "Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB" i signed using apk tool
What commands did you use? If I am not mistaken, framework had some other ones to be used.
Sent from my Xperia Arc S using xda premium
default in apk multi tool
OmenHTX said:
did you noticed what i write ? "Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB" i signed using apk tool
Click to expand...
Click to collapse
You did push it into system/framework with permissions set? rw-r--r--
Sent from my LT18i using xda app-developers app
popthosegaskets said:
You did push it into system/framework with permissions set? rw-r--r--
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
i set permission moving to system, then i copied this framework to ZIP and flash rom by CWM. Full wipe > install rom > and bootloop
OmenHTX said:
i set permission moving to system, then i copied this framework to ZIP and flash rom by CWM. Full wipe > install rom > and bootloop
Click to expand...
Click to collapse
Maybe I can have a look at your framework or zip file?
Sent from my LT18i using xda app-developers app
popthosegaskets said:
Maybe I can have a look at your framework or zip file?
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
http://www.4shared.com/dir/P81lXwiQ/NeoV_402A0.html
Im using clean framework from .62 rom. I only decompile and compile without change's and i allways get bootloop.
Maybe i should use older version apkmanager and replace it on apk multi tool ?
o change apktool to 1.4.3,1.4.5,1.4.9 = allways bootloop, allways diference size of file
OmenHTX said:
http://www.4shared.com/dir/P81lXwiQ/NeoV_402A0.html
Im using clean framework from .62 rom. I only decompile and compile without change's and i allways get bootloop.
Maybe i should use older version apkmanager and replace it on apk multi tool ?
o change apktool to 1.4.3,1.4.5,1.4.9 = allways bootloop, allways diference size of file
Click to expand...
Click to collapse
Ok, I'll have a look at it tonight.
Sent from my LT18i using xda app-developers app
OmenHTX said:
I change compression to 0, didnt help. Stock framework have 9.5MB , and signed (with no changes, compressio 0) has 6.6MB. I allways remove resources.arsc from keep folder then continue. Any solution ? :/ i can't solve this problem, i rly dont touch anythink inside framework.
Click to expand...
Click to collapse
Extract the resources.arsc from the compiled framework-res then add it back using store as the compression method.
XperienceD said:
using store as the compression method
Click to expand...
Click to collapse
sry, i dont understand this part :/
OmenHTX said:
sry, i dont understand this part :/
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1374394

Themeing

I wanted to theme my r800x stock rom but I was reading about it and it says you have to deodex it first. Is it possible to do that from the phone and can someone link me to a good guide for themeing and for deodexing? I know how to do it with a flashable zip but I don't have one for stock rom. So if somebody knows how to turn nandroid backups into flashable zips or has a guide on how to do so please share. Thank you.
Sent from my r800x using xda developers app
might not be what you need exactly but could help you, this helped me in most of the ICS rom that i customized http://forum.xda-developers.com/showthread.php?t=1598829:good:
Thanks but do you know how to deodex a ROM because I'm on stock gb (which I believe is odexed) so I can't use that theming guide.
Sent from my R800x using xda app-developers app
abdel12345 said:
Thanks but do you know how to deodex a ROM because I'm on stock gb (which I believe is odexed) so I can't use that theming guide.
Sent from my R800x using xda app-developers app
Click to expand...
Click to collapse
im not that familiar with r800at and cm,miui or aokp but this heres a very nice guide for stock roms or stock based one http://forum.xda-developers.com/showthread.php?t=1600805
Thanks again
Sent from my R800x using xda app-developers app
Try a stock based ROM like cola or gbtweaked those were costimized ROMs and well if those don't suit you then try cm7 as that's got full theming support
sent from my Sony Ericsson Xperia Play™(r800x) Running Slimbean 3.0 using Tapatalk 2™
abdel12345 said:
I wanted to theme my r800x stock rom but I was reading about it and it says you have to deodex it first. Is it possible to do that from the phone and can someone link me to a good guide for themeing and for deodexing? I know how to do it with a flashable zip but I don't have one for stock rom. So if somebody knows how to turn nandroid backups into flashable zips or has a guide on how to do so please share. Thank you.
Sent from my r800x using xda developers app
Click to expand...
Click to collapse
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
sewer56lol said:
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
havent tried Yaffey is there a possibility you can post where i can download that?
sewer56lol said:
Nandroid》Zip
1. All sony stock roms are deodex.
2. Backup format is yaffs, and your backups are stored on sdcard/clockworkmod/backup.
3. You can extract those with programs like Yaffey, Flashtool and even with android apps.
4. You can make a zip from that.
Theming
1. Get an app that can decompile I reccomend Apk Multi Tools or APKTOOL
2. Extract your framework-res and get table codes.
Apk Multi Tools can do it with Adb automatically.
In APKTOOL it goes apktool if framework-res.apk
3.Decompile apk
Apktool d framework-res.apk
4.Make image changes.
5. Recompile then push with adb.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Thanks
Sent from my r800x using xda developers app

Recompiling and signing app again

Hi there...........i used the smart apk tool to decompile the apk, i did all the necessary work that was to be done but know i have a prob. What the hell i have to do with decompiled folder to recompile it and then how to sign it....... I wan't some to guide me...... ^_^
Sent from my GT-N7100 using xda premium

Categories

Resources