5,601,223 Members 51,762 Now Online
XDA Developers Android and Mobile Development Forum

[TUT] How to MOD 4.3 themes

Tip us?
 
Random Username
Old
(Last edited by Random Username; 17th April 2014 at 08:53 PM.)
#261  
Senior Member
Thanks Meter 21
Posts: 207
Join Date: Jan 2013
Hello,

I have trouble getting the systemui part of my theme to work. It always shows the default icons. Could someone help me with that?
Apart from that, my first theme works fine. Thanks for this guide

Regards,
Random
 
aungmyothein
Old
#262  
aungmyothein's Avatar
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Nov 2013
I'm using stock rom,if u turn to superuser mode will it work?
thanks
 
funky0308
Old
#263  
funky0308's Avatar
Recognized Themer - OP
Thanks Meter 4226
Posts: 5,106
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Quote:
Originally Posted by aungmyothein View Post
I'm using stock rom,if u turn to superuser mode will it work?
thanks
You have to be rooted first, of course and then install superuser mod.

Deodexed ROM is also important thing, some users said it's working on odexed but for me - it won't work on odexed.

Sent from my C6903 using Tapatalk
 
nevadasaga
Old
#264  
nevadasaga's Avatar
Senior Member
Thanks Meter 50
Posts: 266
Join Date: Mar 2013
Location: Tangerang

 
DONATE TO ME
Quote:
Originally Posted by funky0308 View Post
You have to be rooted first, of course and then install superuser mod.

Deodexed ROM is also important thing, some users said it's working on odexed but for me - it won't work on odexed.

Sent from my C6903 using Tapatalk

Good tutor sir. Decompiled my theme, and when go to assests only A, B, C, D(example). My question is "How to add another assest, like E, F, G?" in this case for Icon pack. Thanks. I use this for theming theme for Xperia SP 4.3.
"I will try. It must be done."
--Faceless Void a.k.a. Darkterror [DotA]--

 
funky0308
Old
(Last edited by funky0308; 18th April 2014 at 08:12 PM.)
#265  
funky0308's Avatar
Recognized Themer - OP
Thanks Meter 4226
Posts: 5,106
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Quote:
Originally Posted by nevadasaga View Post
Good tutor sir. Decompiled my theme, and when go to assests only A, B, C, D(example). My question is "How to add another assest, like E, F, G?" in this case for Icon pack. Thanks. I use this for theming theme for Xperia SP 4.3.
To add new asset in theme or to theme new app is very simple.
You just need to add informations from app you wanna add (decompile app and check for all information in aok android.manifest.xml) to theme android.manifest.xml.

And of course to add that apk in assets folder.

Decompile one if my older themes (blue KitKat 2.0) and you'll see on example how I add assets for phone modif.

Theme changes call button to blue color...

Best way to learn is to use reverse engineering...
You have plenty themes to torture and learn

Use mine -I'm OK with it but, please, if you are planing to release something based on my or other devs work - give credits, that's cool thing to do

Sent from my C6903 using Tapatalk
The Following User Says Thank You to funky0308 For This Useful Post: [ Click to Expand ]
 
nevadasaga
Old
#266  
nevadasaga's Avatar
Senior Member
Thanks Meter 50
Posts: 266
Join Date: Mar 2013
Location: Tangerang

 
DONATE TO ME
Quote:
Originally Posted by funky0308 View Post
To add new asset in theme or to theme new app is very simple.
You just need to add informations from app you wanna add (decompile app and check for all information in aok android.manifest.xml) to theme android.manifest.xml.

And of course to add that apk in assets folder.

Decompile one if my older themes (blue KitKat 2.0) and you'll see on example how I add assets for phone modif.

Theme changes call button to blue color...

Best way to learn is to use reverse engineering...
You have plenty themes to torture and learn

Use mine -I'm OK with it but, please, if you are planing to release something based on my or other devs work - give credits, that's cool thing to do

Sent from my C6903 using Tapatalk
Really sorry sir, but i cannot still get you. Already give addition to AndoridManifest.xml
Example : i want to make a icon change for 9gag.

>> com.ninegag.android.app.apk

...Checking and removing previous project folder
The directory name is invalid.

...Decompiling com.ninegag.android.app.apk

Exception in thread "main" java.lang.NullPointerException
at brut.util.OS.rmdir(OS.java:33)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:73 )
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

an there is error...And would you like to add tutorial for adding assets?
"I will try. It must be done."
--Faceless Void a.k.a. Darkterror [DotA]--

 
funky0308
Old
(Last edited by funky0308; 19th April 2014 at 10:04 AM.)
#267  
funky0308's Avatar
Recognized Themer - OP
Thanks Meter 4226
Posts: 5,106
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Quote:
Originally Posted by nevadasaga View Post
Really sorry sir, but i cannot still get you. Already give addition to AndoridManifest.xml
Example : i want to make a icon change for 9gag.

>> com.ninegag.android.app.apk

...Checking and removing previous project folder
The directory name is invalid.

...Decompiling com.ninegag.android.app.apk

Exception in thread "main" java.lang.NullPointerException
at brut.util.OS.rmdir(OS.java:33)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:73 )
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)

an there is error...And would you like to add tutorial for adding assets?

There's really no need for that tutorial, it's really simple.

Just check how I named other assets in Android Manifest.

For your app, leave only
1. Folder res/drawable-xxhdpi/xhdpi/hdpi/mdpi/nodpi (in each folder leave only icon)
2. Android Manifest
3. Resources.arsc

That's all you need.
If you are working on, let say Conversation.apk and you want to theme some buttons in it - you'll delete everything except that buttons you wanna change.
Manifest and procedures are always same.

Now open Android Manifest.xml and add this:

Code:

Important
App you are adding in assets folder MUST be in ZIP format!
If you have xxx.apk, delete all unnecessary files and folders in it (to optimize your theme and reduce final size of theme) and rename it to xxx.zip.

One more thing -
Add that line I just wrote where all other assets are.

Don't add it to the end od Manifest - it'll not work.
It must be somewhere between two statements.

Sent from my C6903 using Tapatalk
The Following User Says Thank You to funky0308 For This Useful Post: [ Click to Expand ]
 
nevadasaga
Old
#268  
nevadasaga's Avatar
Senior Member
Thanks Meter 50
Posts: 266
Join Date: Mar 2013
Location: Tangerang

 
DONATE TO ME
Quote:
Originally Posted by funky0308 View Post
There's really no need for that tutorial, it's really simple.

Just check how I named other assets in Android Manifest.

For your app, leave only
1. Folder res/drawable-xxhdpi/xhdpi/hdpi/mdpi/nodpi (in each folder leave only icon)
2. Android Manifest
3. Resources.arsc

That's all you need.
If you are working on, let say Conversation.apk and you want to theme some buttons in it - you'll delete everything except that buttons you wanna change.
Manifest and procedures are always same.

Now open Android Manifest.xml and add this:

Code:

Important
App you are adding in assets folder MUST be in ZIP format!
If you have xxx.apk, delete all unnecessary files and folders in it (to optimize your theme and reduce final size of theme) and rename it to xxx.zip.

One more thing -
Add that line I just wrote where all other assets are.

Don't add it to the end od Manifest - it'll not work.
It must be somewhere between two statements.

Sent from my C6903 using Tapatalk
OK, i get it works. Now, i added much icon into it. such an whatsapp, 9gag, bbm, etc. Compile, and install it but the icon that only changed is Tasks(recently added into my theme), not for the others. How to fix this?
"I will try. It must be done."
--Faceless Void a.k.a. Darkterror [DotA]--

 
funky0308
Old
#269  
funky0308's Avatar
Recognized Themer - OP
Thanks Meter 4226
Posts: 5,106
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Quote:
Originally Posted by nevadasaga View Post
OK, i get it works. Now, i added much icon into it. such an whatsapp, 9gag, bbm, etc. Compile, and install it but the icon that only changed is Tasks(recently added into my theme), not for the others. How to fix this?
Sorry mate but I don't understand you.
What was changed?

If you meant icons in task bar then you probably changed wrong icons.
Check app folders, maybe there's minimap folder with icons or maybe you changed wrong icon - check all files in apk and you'll find what's wrong.

Sent from my C6903 using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes