Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Xposed Tool] HKThemeManager v7.1- Change Theme CM, Xtheme, HKTheme for rooted Phones

OP hdbk1986

8th January 2014, 10:22 AM   |  #1  
hdbk1986's Avatar
OP Senior Member
Flag Hanoi - Vietnam
Thanks Meter: 538
 
193 posts
Join Date:Joined: Apr 2013
Donate to Me
Hi everyone

I have builded a app HK Theme Manager that sopport CM Theme, XThemeEngine and my Theme (HK Theme) for change style system
As XThemeEngine, It is powered by Xposed Framework by rovo89, Thanks for the great rovo89 Xposed. Please donate for he

But HK Theme manager can read and use direct CM Theme, Xtheme ,... without mod. All Theme use method xml/redirections.xml, HK Theme Manager will support


System equipped
- Android 4.0 +
- System have rooted
- System have installed Xposed framework and active module HK Theme Manager



OK. How to use

1.Install Xposed Installer
2.Install HK Theme Manager from the link at the bottom of this post
3. Open Xposed Installer app and install xposed framework
4.Activate the module HK Theme Manager in Xposed Installer app
5. Now install your Theme
6. Open HK Theme Manager and it will auto search all apps theme for show list
7, Choose a theeme and choose Set Theme, If install successfull, you restart system for change updated.
8., For uninstall Theme, click No set this theme, use default UI and reboot.

So now you can use all guide creat CM Theme or Xtheme, tmobile,...and make your theme, use HK Theme manager for run,

HK Theme manager can support replace resource with Current Limitations of Xposed framework. It is not recommended to replace layout, but you still can use layout replace, If it makes your phone bootloop, you can use file sdcard/HKThemeManager-Restore bootloop.zip (auto create when you click set theme) update from recovery to uninstall theme and your phone could boot normal.




========================
Change in v7.1
- fix Force close not compatible some devices with API
- add support Russian language, thank to kat-kau from xda and 4pda.ru

Change in v7.0
- change style app with support 3tab menu or CM Theme chooser, Reload app for change style
+ 3tab menu support preferences with use swipe or not
+ CM Theme Theme Chooser support coverflow effect and Reflectionimages effect

- add preference apktool settings: support config change apktool source location (long click for choose folder in file explorer), support config framework file

- add some auto fix for hk mod

- add Spanish language . Thank to Jose Artuņedo:
and credit to he: https://t.co/MX4w3AjLJZ

Change in v6.7
- fix icon deviation at menu options
- add Auto-save and auto reload the theme of search results until the refresh button.


change in v6.6
- add auto fix for HK Mod theme
- fix problem install framework the first use.
- Change style options
- Remove icon HK Mod theme, add hk mod theme icon to menu option icon


change in v6.5
- fix FC when use options
- remove auto save start list theme.
- add options allow auto search and reload when start app or not
- add some method for decompile and recompile better and success more

Change in v6.4
-fix Make and fix Theme
- add icon for HK MOD Theme

note: Uninstall apktool, hk theme manager old version. then install HK Theme Manager v6.4
Change in v6.3

- Someone when using the new method instead of V6.2 theme, it do not work, but it work on v6.1, so in this version I've added the old method for mode 1 theme like v6.1, of course it was much more optimal, but it is recommended to use multi-mode is the default theme for a more optimal, multi-mode default theme is still the method used on version v6.2,
- different for each theme. when you checked the items, and then set the theme, it will save the state mark of theme packs and reload this status for next time is to use a theme that, with the new theme it defaults to checked all


- Add 1 functions to make and fix themes . If CM theme not displayed in the list, please enable mode displays all applications and choose it from list , then click Make and fix theme , in this mode I 've added some structure 1 automatic correction for the theme , such as edit file name is not capitalized , it will automatically switch to often .
There are 2 modes to make and fix in the theme options :
- Default is automatically all process make and fix theme :
All process:
1. Copy theme to sdcard/hkthememanager folder and Decompile it
2. Modify with: Replace res folder from Theme choosed decompiled to Sample folder decompiled in sdcard/hkthememanager. Try auto fix some error, make new Androidmanifest.xml and redirections.xml
3. Recompile Sample folder that have modded
4. Sign app that have recompiled
5. Ask for Uninstall and reinstall"

if there are any errors in the above process or completed , it will notify or vibrate , or ring (with the option of the application ) . Whether to show the error report for you to read it .

- The development mode . You can execute the step -by-step process on , This is useful when the theme at fault and should intervene to fix it before doing the next step . (folder for work: sdcard/hkthememanager)

- The options applications that have added:
+ Optional multi- mode or single- theme theme as mentioned above
+ Option automatic mode or step by step in make and fix themes
+ Options screen always on (wake lock) when make and fix a theme , it is good if the theme is the process of making , sleeping system , and the process stops
+ Options notified by vibration , message , tone for error report or when completed reports

Speed ​​theme of creating and editing process can take up to 3-15 minutes depending on :
- Speed ​​Phone
- Size theme

===============
To use this function, we need to use apktool on android:
<b>Download at:<b>
https://apktool.googlecode.com/files...l4.4_armhf.zip

download it and extract it to sdcard, so that the path is:
sdcard / apktool / jvm.tar
please credit to dongfangxunlei@gmail.com

I have used this project to create option make and fix theme , of course I have improved it:
By default, it creates frameworks (apktool if) with 1 framework poor and I have often have problems when decompile themes error, I then modified my app, using the file system / framework / framework-res .apk in phone system to use, of course it is complete and error problem when decompile theme has disappeared



Changes in v6.2:
- more optimal and can use heavier themes
- remove multiple theme options, instead multi-mode theme, multi-theme mode if you only use one theme, it will same one theme mode in old version
- remove automatically search and downloaded theme when the application starts, it automatically search only the first use, then it will automatically save and reload results in the following opening times, to update the new theme select Refresh it


Changes in v6.1:
- Completing the optimal speed for 2 mode of multi-mode and 1 theme, it can faster 50-100ms than v6.0;

Changes in v6.0:

- Has been optimized and the speed increased significantly.
- Use 2 methods to change the theme, A method for optimal speed and fastest mode instead of using one theme. When using multi-mode theme, even though the optimal speed has improved significantly, however compared to the method used to replace one theme it is still slower than 100-300ms depending on the size of the used themes. This is easy to understand when I have to use a lot of loops and conditional control over the selection and installation of multiple simultaneous themes. I will try to improve this for the most perfect possible with later versions. Because of this, if you do not have the need to use multiple themes, I recommend using one theme mode . It should not be too worried about this when in the second mode will increase the speed and stability


Change in v5.2
-With the version of this v5.2 it will fix the one the problem Fatal at version v5.1, which I have detected and quick fix it

at version v5.1, you will not be changed items applications if you do not choose add change android (System framework)

-I have detected a loop excess, i have removed it, i think it is better, more optimal,



Change in v5.1
+ Fix problems not full change of theme icon on v5.0
+ Improves the speed , I think it's a little more flashy v4.0 but of course not comparable as v5.0
+ Adjust some logic in changing the regime has chosen theme for theme packages the same time , this course is not recommended
+ Added option to display all the data or system applications ( Relationship with search options :data , system search) .
I do not recommend for this finding , since the mechanism to find the current theme is very stable and accurate . If there are themes you can not see in the list , then I think your theme is the problem of its activities ( for error or because of incompatible systems ) . It resulted in the system not able to read and receive information resource icon and the whole of it , then the system will display an app 's icon to the default error icon . so HK Theme Manager will not be able to read and get information resource for the theme of change too

Change in v5.0
- fix lag when change theme, reboot faster,... if you are slow, i think your theme is too heavy.
- Add settings options
+ replace with layout, default is not use, it will better if you do not use it when change theme, unless you are sure to replace this layout for your theme is fine
+ add menu support change multi theme, so now you can use multi items in multi theme combined for change
+ it can update change without reboot except when change framework (android) it will quick reboot.

update v4.0, change log

- In this new version I updated to add some new functions
+ Search options only on data or system , or both if both are selected . Default search just with the theme installed on the data , so the search time was much quicker
+ Is the default search with the theme contains redirections.xml , however some CM theme have not it and we can not find it in list theme. So a new option in the search options to try search with all that theme have not redirections.xml, the choice this will take more time searching


+ A new additional functions compared to version v3.0 . This version allows you to select the components to replace , meaning that for each theme will allow alternative image updates , icons on the different applications , with this option you can customize it for replacement with each application instead of updating all of the components and the whole Theme

+ Try replacing with the support framework : twframework - res.apk . I can not yet tried it , I need a response from you






update v 3.0, change log
- change method get theme file, and it can show and list theme that have not xml/redirections.xml (for any CM theme with meta data redirections)
- replace icon with new method with without redirections.xml, or with redirections.xml, you only need checked at : Set theme with use redirections.xml file?
- add view preview image for CM theme
- add button make Redirections.xml file, so if your theme have not redirections.xml, you can make it and add to your theme if you need. file make will in sdcard
- change interface of my app.



=================
Frequently Asked Questions

Q. Theme missing in list of Themes Available
A. Its because your Phone doesn't recognize it at all. Check in Apps Installed if it has the Icon it is meant to have. If it doesn't, that Theme isn't for you

Q. How can you support me?
A. Hit the "Thanks" button below. Use the App with faith that I'd fix all issues one day. Maybe translate it into other languages so that everyone can enjoy it


============================


My English is bad, so i need someone for translate it for English,
This is file String in English translated by JamMasterClay ( thank to JamMasterClay):
http://fs1.d-h.st/download/00095/6gB/strings.xml

new string.xml v7.0
http://d-h.st/vrV

You can use it for translate to your language , send it for me, i will add your language in next version



Credits

rovo89 for his Amazing Xposed Framework
JamMasterClay for English translation of App
credit to dongfangxunlei@gmail.com for apktool on android projects

Credit to Jose Artuņedo:
: https://t.co/MX4w3AjLJZ for support translate to Spanish language

Credit to kat-kau:
for support translate to Russian language





===========================
Have fun

sorry for my bad english!

Screenshot:


















Some of the themes that I have fixed compatibility for it

Download at:
https://drive.google.com/folderview?...W8&usp=sharing



Download my modules:
http://repo.xposed.info/module/com.h...hkthememanager

Download v6.6:
http://d-h.st/ntA

Download v6.5:
http://d-h.st/qKE


Download v6.4:
http://d-h.st/PhM

Download v6.3:
http://d-h.st/q0A

Download v6.2:
http://d-h.st/k9u

Download v6.1:
http://d-h.st/olt

Download v6.0:
http://d-h.st/lHl


Download v5.2:
http://d-h.st/Qem


Download v5.1:
http://d-h.st/XL0

Download V5.0:
http://d-h.st/fKA

Download V4.0:
http://d-h.st/fEY

Download v3.0:
http://d-h.st/zGU
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-05-09-42-28.jpg
Views:	8455
Size:	49.5 KB
ID:	2726262   Click image for larger version

Name:	Screenshot_2014-05-05-09-42-47.png
Views:	7999
Size:	182.9 KB
ID:	2726263   Click image for larger version

Name:	Screenshot_2014-05-05-09-42-17.jpg
Views:	8003
Size:	53.6 KB
ID:	2726264   Click image for larger version

Name:	Screenshot_2014-05-05-09-42-03.png
Views:	7639
Size:	176.5 KB
ID:	2726265   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-59.png
Views:	7545
Size:	120.5 KB
ID:	2726266   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-51.png
Views:	7358
Size:	197.2 KB
ID:	2726267   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-47.png
Views:	7246
Size:	162.9 KB
ID:	2726268   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-43.png
Views:	7167
Size:	204.6 KB
ID:	2726269   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-38.png
Views:	7076
Size:	198.8 KB
ID:	2726270   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-34.png
Views:	7006
Size:	197.7 KB
ID:	2726271   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-31.png
Views:	6922
Size:	172.5 KB
ID:	2726272   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-26.png
Views:	6898
Size:	170.4 KB
ID:	2726273   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-12.png
Views:	6777
Size:	215.0 KB
ID:	2726274   Click image for larger version

Name:	Screenshot_2014-05-05-09-41-08.png
Views:	6806
Size:	197.7 KB
ID:	2726275   Click image for larger version

Name:	Screenshot_2014-05-05-09-40-57.png
Views:	6915
Size:	248.4 KB
ID:	2726276  
Attached Files
File Type: apk HKThemeManager-v6.7.apk - [Click for QR Code] (1.16 MB, 2842 views)
File Type: apk HKThemeManagerv7.0.apk - [Click for QR Code] (1.94 MB, 502 views)
File Type: apk HKThemeManagerv7.1.apk - [Click for QR Code] (1.96 MB, 7264 views)
Last edited by hdbk1986; 14th May 2014 at 06:39 AM.
The Following 256 Users Say Thank You to hdbk1986 For This Useful Post: [ View ]
8th January 2014, 12:59 PM   |  #2  
reversegear's Avatar
Senior Member
Thanks Meter: 595
 
1,191 posts
Join Date:Joined: Jul 2011
More
Amazing..
Still what are the things xposed framework can do.
Thank you

---------- Post added at 12:59 PM ---------- Previous post was at 12:53 PM ----------

Amazing..
Still what are the things xposed framework can do.
Thank you
The Following 4 Users Say Thank You to reversegear For This Useful Post: [ View ]
8th January 2014, 01:54 PM   |  #3  
Senior Member
Flag 30530
Thanks Meter: 19
 
232 posts
Join Date:Joined: Dec 2012
Thanks. Awesome

Enviado desde mi Zopo 980 32gb. Usando Tapatalk
The Following User Says Thank You to liver20 For This Useful Post: [ View ]
10th January 2014, 11:39 AM   |  #4  
hdbk1986's Avatar
OP Senior Member
Flag Hanoi - Vietnam
Thanks Meter: 538
 
193 posts
Join Date:Joined: Apr 2013
Donate to Me
hi, today i have update version v3.0

update v 3.0, change log
- change method get theme file, and it can show and list theme that have not xml/redirections.xml (for any CM theme with meta data redirections)
- replace icon with new method with without redirections.xml, or with redirections.xml, you only need checked at : Set theme with use redirections.xml file?
- add view preview image for CM theme
- add button make Redirections.xml file, so if your theme have not redirections.xml, you can make it and add to your theme if you need. file make will in sdcard
- change interface of my app.


you can download it at topic 1 this thread,

have fun
The Following 10 Users Say Thank You to hdbk1986 For This Useful Post: [ View ]
10th January 2014, 04:29 PM   |  #5  
Senior Member
Flag 30530
Thanks Meter: 19
 
232 posts
Join Date:Joined: Dec 2012
Any web for cm themes ? ?

Enviado desde mi Zopo 980 32gb. Usando Tapatalk
10th January 2014, 04:49 PM   |  #6  
KingWickedd's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 50
 
202 posts
Join Date:Joined: Sep 2011
More
Thumbs up
Whoa!! Looks amazing!!! i'll check it out...
btw, thanks!!
10th January 2014, 05:25 PM   |  #7  
Senior Member
Thanks Meter: 92
 
114 posts
Join Date:Joined: Jan 2013
Hey man, great stuff! I have a small problem though. Some CM themes (actually most of them) make my Nexus 4 (stock ROM) slower. For example, try applying a theme and then open 'Apps' under Settings. The list of apps take a long time to load.. Some of the themes that give this behavior are Alloy Blue, Simplex Blue, etc..

Thanks man! By the way, i don't mean any disrespect to the developers of the themes i mentioned above..

Sent from my Nexus 4 using XDA Premium 4 mobile app
10th January 2014, 10:24 PM   |  #8  
Member
Thanks Meter: 5
 
46 posts
Join Date:Joined: May 2010
Thanx Man for your work
Thank you man for your help and support.

May I know from where I can download them shown in screenshot shared by you. And basically what kind of themes I can use with this. I tried 2 CM11 Themes from play store but after that settings become very slow and search of installed app in you app also crashed for 3 time and then showed installed app.
10th January 2014, 10:45 PM   |  #9  
Senior Member
Thanks Meter: 36
 
412 posts
Join Date:Joined: Jun 2012
i want to install Crimson cobalt theme from play store but is not shown in hk theme manager. (after i did all the steps). What can I do?
The Following User Says Thank You to iulian vu For This Useful Post: [ View ]
11th January 2014, 02:25 AM   |  #10  
hdbk1986's Avatar
OP Senior Member
Flag Hanoi - Vietnam
Thanks Meter: 538
 
193 posts
Join Date:Joined: Apr 2013
Donate to Me
Quote:
Originally Posted by liver20

Any web for cm themes ? ?

Enviado desde mi Zopo 980 32gb. Usando Tapatalk

I think it is not difficult to find the CM theme, play store, xda forum .... and you can search in google.com.

The Following 6 Users Say Thank You to hdbk1986 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
android, cm theme, cyanogenmod, hk theme manager, themes, xposed, xtheme
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes