Related
Hey so I got kind of tired of adding in a battery mod for ever framework leak and such so I thought I could make it easier. And oh man, it's pretty damn easy now .
First, this is for developers/themers, if you don't understand any of the terms used here, that means you probably have no use for this.
Developers, you may or may not develop a strong love for me.
Code:
java -jar framework_helper.jar [path to public xml file] [COLOR="Magenta"][# of battery images][/COLOR][COLOR="green"][# of charging images][/COLOR] [COLOR="DarkOrchid"][optional file to pull custom entries from][/COLOR]
Let me explain some of these real quick
[# of battery images] - usually you guys are going to have this at 100, it's the TOTAL number of images for percentage (some may want to have it at 20, but i left it flexible)
[# of charging images] - however many you want, 20 for 5% increments, or maybe just 100. note: it starts at 0, so if you want 100 charging images, the last one should be named 99. please ask if you need clarification on this.
[optional file to pull custom strings from] - if you are someone like Whitehawkx and does mods constantly, this may be of use, besides the battery images, it can add more resource IDs for whatever you might want.
To use it, please place the entries in a separate file in the format "type name"
Say I have a file called custom.txt, in the file are the following:
drawable hawk_reboot
drawable hawk_recovery
drawable hawk_download
id testid1
id testid2
Click to expand...
Click to collapse
Click to expand...
Click to collapse
It should support ALL of the different types for public xml and assign them a proper id so you don't have to.
Supported types: "attr", "id", "style", "string", "dimen", "color", "array", "drawable", "layout", "anim", "xml", "raw", "bool", "integer", "plurals"
Then here are my inputs:
Code:
java -jar framework_helper.jar public.xml 100 20 custom.txt
The following is ADDED to your existing public.xml with PROPER resource Ids and in theproper location (the program does extensive checking to make sure no ids are duplicated )
Code:
<public type="drawable" name="hawk_reboot" id="0x01080404" />
<public type="drawable" name="hawk_recovery" id="0x01080405" />
<public type="drawable" name="hawk_download" id="0x01080406" />
<public type="drawable" name="stat_sys_battery_1" id="0x01080423" />
<public type="drawable" name="stat_sys_battery_2" id="0x01080424" />
<public type="drawable" name="stat_sys_battery_3" id="0x01080425" />
<public type="drawable" name="stat_sys_battery_4" id="0x01080426" />
<public type="drawable" name="stat_sys_battery_5" id="0x01080427" />
<public type="drawable" name="stat_sys_battery_6" id="0x01080428" />
<public type="drawable" name="stat_sys_battery_7" id="0x01080429" />
<public type="drawable" name="stat_sys_battery_8" id="0x0108042a" />
<public type="drawable" name="stat_sys_battery_9" id="0x0108042b" />
<public type="drawable" name="stat_sys_battery_11" id="0x0108042c" />
<public type="drawable" name="stat_sys_battery_12" id="0x0108042d" />
<public type="drawable" name="stat_sys_battery_13" id="0x0108042e" />
<public type="drawable" name="stat_sys_battery_14" id="0x0108042f" />
<public type="drawable" name="stat_sys_battery_15" id="0x01080430" />
<public type="drawable" name="stat_sys_battery_16" id="0x01080431" />
<public type="drawable" name="stat_sys_battery_17" id="0x01080432" />
<public type="drawable" name="stat_sys_battery_18" id="0x01080433" />
<public type="drawable" name="stat_sys_battery_19" id="0x01080434" />
<public type="drawable" name="stat_sys_battery_21" id="0x01080435" />
<public type="drawable" name="stat_sys_battery_22" id="0x01080436" />
<public type="drawable" name="stat_sys_battery_23" id="0x01080437" />
<public type="drawable" name="stat_sys_battery_24" id="0x01080438" />
<public type="drawable" name="stat_sys_battery_25" id="0x01080439" />
<public type="drawable" name="stat_sys_battery_26" id="0x0108043a" />
<public type="drawable" name="stat_sys_battery_27" id="0x0108043b" />
<public type="drawable" name="stat_sys_battery_28" id="0x0108043c" />
<public type="drawable" name="stat_sys_battery_29" id="0x0108043d" />
<public type="drawable" name="stat_sys_battery_30" id="0x0108043e" />
<public type="drawable" name="stat_sys_battery_31" id="0x0108043f" />
<public type="drawable" name="stat_sys_battery_32" id="0x01080440" />
<public type="drawable" name="stat_sys_battery_33" id="0x01080441" />
<public type="drawable" name="stat_sys_battery_34" id="0x01080442" />
<public type="drawable" name="stat_sys_battery_35" id="0x01080443" />
<public type="drawable" name="stat_sys_battery_36" id="0x01080444" />
<public type="drawable" name="stat_sys_battery_37" id="0x01080445" />
<public type="drawable" name="stat_sys_battery_38" id="0x01080446" />
<public type="drawable" name="stat_sys_battery_39" id="0x01080447" />
<public type="drawable" name="stat_sys_battery_41" id="0x01080448" />
<public type="drawable" name="stat_sys_battery_42" id="0x01080449" />
<public type="drawable" name="stat_sys_battery_43" id="0x0108044a" />
<public type="drawable" name="stat_sys_battery_44" id="0x0108044b" />
<public type="drawable" name="stat_sys_battery_45" id="0x0108044c" />
<public type="drawable" name="stat_sys_battery_46" id="0x0108044d" />
<public type="drawable" name="stat_sys_battery_47" id="0x0108044e" />
<public type="drawable" name="stat_sys_battery_48" id="0x0108044f" />
<public type="drawable" name="stat_sys_battery_49" id="0x01080450" />
<public type="drawable" name="stat_sys_battery_50" id="0x01080451" />
<public type="drawable" name="stat_sys_battery_51" id="0x01080452" />
<public type="drawable" name="stat_sys_battery_52" id="0x01080453" />
<public type="drawable" name="stat_sys_battery_53" id="0x01080454" />
<public type="drawable" name="stat_sys_battery_54" id="0x01080455" />
<public type="drawable" name="stat_sys_battery_55" id="0x01080456" />
<public type="drawable" name="stat_sys_battery_56" id="0x01080457" />
<public type="drawable" name="stat_sys_battery_57" id="0x01080458" />
<public type="drawable" name="stat_sys_battery_58" id="0x01080459" />
<public type="drawable" name="stat_sys_battery_59" id="0x0108045a" />
<public type="drawable" name="stat_sys_battery_61" id="0x0108045b" />
<public type="drawable" name="stat_sys_battery_62" id="0x0108045c" />
<public type="drawable" name="stat_sys_battery_63" id="0x0108045d" />
<public type="drawable" name="stat_sys_battery_64" id="0x0108045e" />
<public type="drawable" name="stat_sys_battery_65" id="0x0108045f" />
<public type="drawable" name="stat_sys_battery_66" id="0x01080460" />
<public type="drawable" name="stat_sys_battery_67" id="0x01080461" />
<public type="drawable" name="stat_sys_battery_68" id="0x01080462" />
<public type="drawable" name="stat_sys_battery_69" id="0x01080463" />
<public type="drawable" name="stat_sys_battery_70" id="0x01080464" />
<public type="drawable" name="stat_sys_battery_71" id="0x01080465" />
<public type="drawable" name="stat_sys_battery_72" id="0x01080466" />
<public type="drawable" name="stat_sys_battery_73" id="0x01080467" />
<public type="drawable" name="stat_sys_battery_74" id="0x01080468" />
<public type="drawable" name="stat_sys_battery_75" id="0x01080469" />
<public type="drawable" name="stat_sys_battery_76" id="0x0108046a" />
<public type="drawable" name="stat_sys_battery_77" id="0x0108046b" />
<public type="drawable" name="stat_sys_battery_78" id="0x0108046c" />
<public type="drawable" name="stat_sys_battery_79" id="0x0108046d" />
<public type="drawable" name="stat_sys_battery_81" id="0x0108046e" />
<public type="drawable" name="stat_sys_battery_82" id="0x0108046f" />
<public type="drawable" name="stat_sys_battery_83" id="0x01080470" />
<public type="drawable" name="stat_sys_battery_84" id="0x01080471" />
<public type="drawable" name="stat_sys_battery_85" id="0x01080472" />
<public type="drawable" name="stat_sys_battery_86" id="0x01080473" />
<public type="drawable" name="stat_sys_battery_87" id="0x01080474" />
<public type="drawable" name="stat_sys_battery_88" id="0x01080475" />
<public type="drawable" name="stat_sys_battery_89" id="0x01080476" />
<public type="drawable" name="stat_sys_battery_90" id="0x01080477" />
<public type="drawable" name="stat_sys_battery_91" id="0x01080478" />
<public type="drawable" name="stat_sys_battery_92" id="0x01080479" />
<public type="drawable" name="stat_sys_battery_93" id="0x0108047a" />
<public type="drawable" name="stat_sys_battery_94" id="0x0108047b" />
<public type="drawable" name="stat_sys_battery_95" id="0x0108047c" />
<public type="drawable" name="stat_sys_battery_96" id="0x0108047d" />
<public type="drawable" name="stat_sys_battery_97" id="0x0108047e" />
<public type="drawable" name="stat_sys_battery_98" id="0x0108047f" />
<public type="drawable" name="stat_sys_battery_99" id="0x01080480" />
<public type="drawable" name="stat_sys_battery_charge_anim6" id="0x01080481" />
<public type="drawable" name="stat_sys_battery_charge_anim7" id="0x01080482" />
<public type="drawable" name="stat_sys_battery_charge_anim8" id="0x01080483" />
<public type="drawable" name="stat_sys_battery_charge_anim9" id="0x01080484" />
<public type="drawable" name="stat_sys_battery_charge_anim10" id="0x01080485" />
<public type="drawable" name="stat_sys_battery_charge_anim11" id="0x01080486" />
<public type="drawable" name="stat_sys_battery_charge_anim12" id="0x01080487" />
<public type="drawable" name="stat_sys_battery_charge_anim13" id="0x01080488" />
<public type="drawable" name="stat_sys_battery_charge_anim14" id="0x01080489" />
<public type="drawable" name="stat_sys_battery_charge_anim15" id="0x0108048a" />
<public type="drawable" name="stat_sys_battery_charge_anim16" id="0x0108048b" />
<public type="drawable" name="stat_sys_battery_charge_anim17" id="0x0108048c" />
<public type="drawable" name="stat_sys_battery_charge_anim18" id="0x0108048d" />
<public type="drawable" name="stat_sys_battery_charge_anim19" id="0x0108048e" />
I can also do
Code:
java -jar framework_helper.jar public.xml 100 20
And it will just add the battery mod.
Notes
-If you try and add something that already exists, the program will skip it properly. for instance stat_sys_battery_20 40 60 80 will not get added because it already exists in the public xml.
I'm sure that was confusing as hell, please read over and let me know if you have any questions
First!!! <<<< WHO AM I?
Whitehawkx said:
First!!! <<<< WHO AM I?
Click to expand...
Click to collapse
hahaaha
thanks BG for this.
now if only this script also generated the images the way we want them
thanks a bunch this will make setting up accurate battery mods alot easier
Whitehawkx said:
First!!! <<<< WHO AM I?
Click to expand...
Click to collapse
I seriously just laughed at that comment lol
Sent from my SGH-T959 using XDA App
In before the lock!
^^^^^^^
I always wanted to say that.
Very cool Roman. Thanks!
Awesome!! This should come in handy for sure
Damn romann, this is some good shizz. Thanks brother.
First roman, cheers on great work, =)
Ironically though, this is something apk tool already does, lol.
If you have a framework without a battery mod, just drop in the new xml files in /res/drawable and then drop the new png files in /drawable-whatever and compile. Apktool will automatically assign resource id's to every new png without duplicating anything.
If you have a framework with a battery mod, and you're only adding new files to it, the exact same steps work. If you're removing files, just go into /res/values/public.xml and delete all the stat_sys_battery_xxxx and stat_sys_battery_charge_anim_xxx lines that appear after (and including the line) stat_sys_battery_1 then compile.
I've never had a problem with this method.
Cheers, =)
Well... just in case anyone wants to use this for porting over themes or anything, I've updated this
birgertime said:
Well... just in case anyone wants to use this for porting over themes or anything, I've updated this
Click to expand...
Click to collapse
Why have I not seen this sooner. Sounds good I'll give it a go tonight.
Sent from my GT-I9000 using XDA Premium App
Tried it but it created the same ID for all the images...
Shermer321 said:
Tried it but it created the same ID for all the images...
Click to expand...
Click to collapse
Sounds like you didn't put the total number of images into the command, I'd copy and paste for you, but thats a pita on the app. Refer to the OP, and be sure to include the total number of images your adding in the proper place in your command.
Sent from my ZenDroid, meditating on the XDA App
Shermer321 said:
Tried it but it created the same ID for all the images...
Click to expand...
Click to collapse
Me too.
I used
PHP:
java -jar framework_helper.jar public.xml 100 100
and this is what I get:
Code:
<public type="drawable" name="stat_sys_battery_1" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_2" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_3" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_4" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_6" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_7" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_8" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_9" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_11" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_12" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_13" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_14" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_16" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_17" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_18" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_19" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_21" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_22" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_23" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_24" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_26" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_27" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_28" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_29" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_31" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_32" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_33" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_34" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_36" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_37" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_38" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_39" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_41" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_42" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_43" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_44" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_46" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_47" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_48" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_49" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_51" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_52" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_53" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_54" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_56" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_57" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_58" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_59" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_61" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_62" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_63" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_64" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_66" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_67" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_68" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_69" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_71" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_72" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_73" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_74" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_76" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_77" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_78" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_79" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_81" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_82" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_83" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_84" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_86" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_87" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_88" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_89" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_91" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_92" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_93" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_94" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_96" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_97" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_98" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_99" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim6" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim7" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim8" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim9" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim10" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim11" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim12" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim13" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim14" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim15" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim16" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim17" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim18" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim19" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim20" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim21" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim22" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim23" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim24" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim25" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim26" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim27" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim28" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim29" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim30" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim31" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim32" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim33" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim34" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim35" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim36" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim37" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim38" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim39" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim40" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim41" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim42" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim43" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim44" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim45" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim46" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim47" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim48" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim49" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim50" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim51" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim52" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim53" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim54" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim55" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim56" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim57" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim58" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim59" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim60" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim61" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim62" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim63" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim64" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim65" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim66" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim67" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim68" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim69" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim70" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim71" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim72" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim73" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim74" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim75" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim76" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim77" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim78" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim79" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim80" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim81" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim82" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim83" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim84" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim85" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim86" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim87" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim88" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim89" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim90" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim91" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim92" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim93" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim94" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim95" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim96" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim97" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim98" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim99" id="0x01080117" />
I should have the newest version of the jar on my github downloads, scour it out and download it from there and try
birgertime said:
I should have the newest version of the jar on my github downloads, scour it out and download it from there and try
Click to expand...
Click to collapse
Tried, same thing
Weird... I'll take another look
Sent from my LG-P999 using Tapatalk
this doesnt wanna open on my pc, am i missing something, i have like 4 kinds of java installed but dont know if im missig something to make this work, any suggestions guys ?
vincenzo91 said:
Me too.
I used
PHP:
java -jar framework_helper.jar public.xml 100 100
and this is what I get:
Code:
<public type="drawable" name="stat_sys_battery_1" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_2" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_3" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_4" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_6" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_7" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_8" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_9" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_11" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_12" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_13" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_14" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_16" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_17" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_18" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_19" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_21" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_22" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_23" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_24" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_26" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_27" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_28" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_29" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_31" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_32" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_33" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_34" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_36" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_37" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_38" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_39" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_41" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_42" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_43" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_44" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_46" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_47" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_48" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_49" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_51" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_52" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_53" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_54" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_56" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_57" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_58" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_59" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_61" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_62" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_63" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_64" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_66" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_67" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_68" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_69" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_71" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_72" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_73" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_74" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_76" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_77" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_78" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_79" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_81" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_82" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_83" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_84" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_86" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_87" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_88" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_89" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_91" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_92" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_93" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_94" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_96" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_97" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_98" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_99" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim6" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim7" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim8" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim9" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim10" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim11" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim12" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim13" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim14" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim15" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim16" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim17" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim18" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim19" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim20" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim21" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim22" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim23" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim24" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim25" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim26" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim27" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim28" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim29" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim30" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim31" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim32" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim33" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim34" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim35" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim36" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim37" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim38" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim39" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim40" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim41" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim42" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim43" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim44" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim45" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim46" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim47" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim48" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim49" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim50" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim51" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim52" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim53" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim54" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim55" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim56" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim57" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim58" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim59" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim60" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim61" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim62" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim63" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim64" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim65" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim66" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim67" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim68" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim69" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim70" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim71" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim72" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim73" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim74" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim75" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim76" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim77" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim78" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim79" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim80" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim81" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim82" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim83" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim84" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim85" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim86" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim87" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim88" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim89" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim90" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim91" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim92" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim93" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim94" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim95" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim96" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim97" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim98" id="0x01080117" />
<public type="drawable" name="stat_sys_battery_charge_anim99" id="0x01080117" />
Click to expand...
Click to collapse
Same here man all the ID,s are named the same and copied the ids from BTN_normal.
9lockscreen mod by whitehawkz
hand built into the KH3 i897 for fusion by me.
first time it took me 6hours to build the id's proper like
But for the release of the KI2 fusion i took 40 minutes to build this custom.txt
and ran the jar.
PHP:
id zzz_puzzlelockpuzzlebg
id zzz_puzzlenotivvmlayout
id zzz_puzzlenotivvmtext
id zzz_puzzlenotiUnlocklayout
id unlock_missedevent_layout
id unlock_missedevent_icon
id unlock_missedevent_text
id unlock_missedevent_count
id unlock_missedevent_layout2
id unlock_missednoticall_layout
id unlock_missednoticall_text
id unlock_missednoticall_count
id unlock_missednotimail_layout
id unlock_missednotimail_text
id unlock_missednotimail_count
id unlock_lock_button
id unlock_arrow
id unlock_event_arrow
id missed_call_arrow
id event_arrow
id missed_txt_arrow
id rotary
id musicControlPlay
id musicControlPause
id musicControlPrevious
id musicControlNext
id tab_selector2
id gestures
id albumArt
id musicNowPlaying
id customMsg
id line1
id duration
id info
id album
id timeroot
id common_root
id wave_view
id timeDisplayBackground
id timeDisplayForeground
id alarm_status
id propertyOf
id glasslock_root
id glasslock_panel
id glasslock_wallpaper
id glasslock_top
id glasslock_middle
id glasslock_bottom
id zzz_date_month
id musicwidget_root
id MusicInfoText
id MaxMusicController
id MinMusicControllerHandle
id BoxInMaxMusicController
id AlbumArtWithImage
id lockscreenwallpaper_root
id lockscreenwallpaper_image
id lockscreen_clock
id MusicInfoBox
id MusicInfoTextInMax
id MusicInfoTextInMin
id missedeventwidget_root
id glasslock_shadow
id mMissedEventHandle
id MusicInfoLine
id temp_clockspace
id zzz_pmam
string missed_call
string missed_text
string missed_calls
string missed_texts
string lockscreen_phone_label
string lockscreen_messaging_label
string lockscreen_discharging
string callNoAnswerTimeFormat
string date_day
string private_num
string payphone
string lunar_yue
string lunar_zheng
string lunar_yi
string lunar_er
string lunar_san
string lunar_si
string lunar_wu
string lunar_liu
string lunar_qi
string lunar_ba
string lunar_jiu
string lunar_shi
string lunar_shi_yi
string lunar_shi_er
string lunar_chu_shi
string lunar_er_shi
string lunar_san_shi
string lunar_chu
string lunar_nian
string country_name_us_ca
string lockscreen_one_missed_call_count
string lockscreen_one_unread_message_count
string lockscreen_n_missed_calls_count
string lockscreen_n_unread_messages_count
color lockscreen_clock_background
color lockscreen_clock_foreground
color lockscreen_clock_am_pm
color lockscreen_owner_info
color background_holo_dark
color background_holo_light
color bright_foreground_holo_dark
color bright_foreground_holo_light
drawable jog_hawk_tab_bar_left_unlock
drawable jog_hawk_tab_bar_right_sound_off
drawable jog_hawk_tab_bar_right_sound_on
drawable jog_hawk_tab_left_unlock
drawable jog_hawk_tab_right_sound_off
drawable jog_hawk_tab_right_sound_on
drawable keyguard_screen_music_next
drawable keyguard_screen_music_pause
drawable keyguard_screen_music_play
drawable keyguard_screen_music_previous
drawable lockscreen_bar_phone_button
drawable lockscreen_bar_home_button
drawable lockscreen_bar_sms_button
drawable jog_tab_bar_left_missed_call
drawable jog_tab_left_unlock_missed_call
drawable jog_tab_bar_right_unread_msg
drawable jog_tab_right_unlock_unread_msg
drawable zz_event_arrow
drawable zz_missed_call_arrow
drawable zz_missed_txt_arrow
drawable zz_unlock_arrow
drawable zz_unlock_arrow_msg
drawable zz_unlock_arrow_msg_es
drawable zz_unlock_icon_lock
drawable zz_unlock_lockbg
drawable zz_unlock_lockbg_press
drawable zz_unlock_missed_event_bg
drawable zz_unlock_missedcall_icon
drawable zz_unlock_missedtxt_icon
drawable zzz_unlock_puzzle_bg_land
drawable zzz_unlock_puzzle_noti_icon_visual_voice_mail
drawable zz_hawk_jog_tab_bar_left_begin
drawable zz_hawk_jog_tab_bar_left_begin_pressed
drawable zz_hawk_jog_tab_bar_left_begin_normal
drawable zz_hawk_jog_tab_bar_left_begin_confirm
drawable zz_hawk_jog_tab_bar_left_end_confirm_off
drawable zz_hawk_jog_tab_bar_left_end_pressed
drawable zz_hawk_jog_tab_bar_left_end_normal
drawable zz_hawk_jog_tab_bar_left_end_confirm
drawable zz_hawk_jog_tab_bar_right_begin
drawable zz_hawk_jog_tab_bar_right_begin_pressed
drawable zz_hawk_jog_tab_bar_right_begin_normal
drawable zz_hawk_jog_tab_bar_right_begin_confirm
drawable zz_hawk_jog_tab_bar_right_end
drawable zz_hawk_jog_tab_bar_right_end_pressed
drawable zz_hawk_jog_tab_bar_right_end_normal
drawable zz_hawk_jog_tab_bar_right_end_confirm
drawable zz_hawk_jog_tab_bar_right_mute_begin
drawable zz_hawk_jog_tab_bar_right_mute_begin_pressed
drawable zz_hawk_jog_tab_bar_right_mute_begin_normal
drawable zz_hawk_jog_tab_bar_right_mute_begin_confirm
drawable zz_hawk_jog_tab_bar_right_vibe_begin_confirm
drawable zz_hawk_jog_tab_bar_vibrate_right_begin
drawable ic_jog_dial_edt
drawable ic_lock_idle_discharging
drawable sliding_panel_bg
drawable sliding_panel_bg_pressed
drawable sliding_panel_bg_control
drawable sliding_panel_bg_control_pressed
drawable lock_screen_battery_charging_bar
drawable lock_screen_battery_charging_light
drawable sliding_panel_bg_battery_charging
drawable sliding_panel_bg_battery_charging_pressed
drawable sliding_panel_bg_control_battery_charging
drawable sliding_panel_bg_control_battery_charging_p
drawable sliding_panel_bg_battery_low
drawable sliding_panel_bg_battery_low_pressed
drawable lock_screen_battery_low_bar
drawable lock_screen_battery_low_light
drawable sliding_panel_bg_control_battery_low
drawable sliding_panel_bg_control_battery_low_p
drawable sliding_panel_bg_phone
drawable sliding_panel_visualization_dot_bar
drawable sliding_panel_visualization_bg
drawable lockscreen_bar_phone_button_n
drawable lockscreen_bar_phone_button_p
drawable lockscreen_bar_sms_button_n
drawable lockscreen_bar_sms_button_p
drawable lockscreen_bar_home_button_n
drawable lockscreen_bar_home_button_p
drawable listview_dotted_line
drawable keyguard_screen_music_bg
drawable keyguard_screen_music_next_d
drawable keyguard_screen_music_next_n
drawable keyguard_screen_music_next_p
drawable keyguard_screen_music_pause_n
drawable keyguard_screen_music_pause_p
drawable keyguard_screen_music_play_n
drawable keyguard_screen_music_play_p
drawable keyguard_screen_music_previous_d
drawable keyguard_screen_music_previous_n
drawable keyguard_screen_music_previous_p
drawable emergency_btn_bg
drawable lockscreen_preview_count
drawable unlock_default
drawable unlock_halo
drawable unlock_ring
drawable unlock_wave
drawable unlock_music_bg_bottom
drawable unlock_music_bg_top
drawable zzzzzzzz_default_lockscreenw
drawable unlock_music_icon
drawable unlock_music_play_grid_thumb_01
drawable unlock_music_play_grid_thumb_02
drawable unlock_music_play_grid_thumb_03
drawable unlock_music_play_grid_thumb_04
drawable unlock_music_play_grid_thumb_05
drawable unlock_clock_0
drawable unlock_missed_call_icon
drawable unlock_cue_left
drawable unlock_unread_message_icon
drawable unlock_cue_right
drawable unlock_left
drawable unlock_left_press
drawable unlock_music_line
drawable unlock_right
drawable unlock_right_press
drawable unlock_shadow_03
drawable unlock_shadow_02
drawable unlock_shadow_01
layout zzz_keyguard_screen_epic_lock
layout zzz_keyguard_screen_epic_lock_land
layout zzz_keyguard_screen_epic_clock
layout zzz_keyguard_screen_epic_clock_land
layout zzz_keyguard_screen_rotary_unlock
layout zzz_keyguard_screen_rotary_unlock_land
layout hawk_screen_tab_unlock
layout hawk_screen_tab_unlock_land
layout keyguard_screen_tab_unlock2
layout keyguard_screen_tab_unlock_land2
layout keyguard_screen_music_control
layout lockscreen_calls_preview_list_item
layout lockscreen_sms_preview_list_item
layout keyguard_screen_tab_unlock_miui
layout keyguard_screen_tab_unlock_miui_date
layout hckeyguard_screen_tab_unlock
layout hckeyguard_screen_tab_unlock_land
layout keyguard_screen_status_land
layout keyguard_screen_status_port
layout zzz_keyguard_screen_sgs2lock
layout zzz_keyguard_screen_clock_gb
layout zzz_keyguard_screen_media_controller_sgs2
layout zzz_keyguard_screen_lockscreenwallpaper
layout zzz_keyguard_screen_missed_event_center
layout zzz_keyguard_screen_missed_event_center_clocktop
layout zzz_keyguard_screen_missed_event
in one second i had a new public xml
perfect and pretty
recompiled with out error.....This is the SHIZZ!!!
Thanks Romanbb
Hi @all,i just decompiled my framework with apkmanager and modified stat_sys_battery.xml. Now it's like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
<item android:drawable="@drawable/stat_sys_battery_6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_49" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_94" android:maxLevel="94" />
<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
. Recompiled with apkmanager,flashed framework but i can't see battery icons in statusbar,but in the framework there are all of the 100 pngs of battery icons. Do i need to delete resources.arsc before recompiling?
ciaox said:
Hi @all,i just decompiled my framework with apkmanager and modified stat_sys_battery.xml. Now it's like this:
Recompiled with apkmanager,flashed framework but i can't see battery icons in statusbar,but in the framework there are all of the 100 pngs of battery icons. Do i need to delete resources.arsc before recompiling?
Click to expand...
Click to collapse
no need to delete anything.
make zzz_stat_sys_battery_1.xml same as stat_sys_battery.xml
and use Apk Manager 4.8 (not 4.9)
Thanks,but where i can find apkmanager 4.8? i only find 4.9. And BTW,i don't have any zzz_stat_sys_battery_1.xml,i only have stat_sys_battery.xml.
Up. (((((((())))))
mendozinas said:
no need to delete anything.
make zzz_stat_sys_battery_1.xml same as stat_sys_battery.xml
and use Apk Manager 4.8 (not 4.9)
Click to expand...
Click to collapse
Would you have to do this for like everything you do in XML files?
Like:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim0" />
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim1" />
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim2" />
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim3" />
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim4" />
<item android:duration="200" android:drawable="@drawable/stat_sys_upload_anim5" />
</animation-list>
Or:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:maxLevel="14">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="2000" android:drawable="@drawable/stat_sys_battery_charge_anim0" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim3" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
</animation-list>
</item>
<item android:maxLevel="29">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="2000" android:drawable="@drawable/stat_sys_battery_charge_anim1" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim3" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
</animation-list>
</item>
<item android:maxLevel="49">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="2000" android:drawable="@drawable/stat_sys_battery_charge_anim2" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim3" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
</animation-list>
</item>
<item android:maxLevel="69">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="2000" android:drawable="@drawable/stat_sys_battery_charge_anim3" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
</animation-list>
</item>
<item android:maxLevel="89">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="2000" android:drawable="@drawable/stat_sys_battery_charge_anim4" />
<item android:duration="1000" android:drawable="@drawable/stat_sys_battery_charge_anim5" />
</animation-list>
</item>
<item android:drawable="@drawable/stat_sys_battery_charge_anim5" android:maxLevel="101" />
</level-list>
Sorry man i can't understand very well english. How can i fix this ugly trouble???
I'm working on fix from almost one week,and got nothing. Help guys this is really important.
Up..
Sent from my LG Optimus One P500 using Tapatalk
I did this on the Eris a while back... Yes, you have to delete resources.arsc before recompiling...
Sent from my Ginger Tazz using XDA App
Macrodroid said:
I did this on the Eris a while back... Yes, you have to delete resources.arsc before recompiling...
Sent from my Ginger Tazz using XDA App
Click to expand...
Click to collapse
Does that extend to framework-res.apk too? Isd that why I get a boot loop if I drop a replacement xml file in?
rootSU said:
Does that extend to framework-res.apk too? Isd that why I get a boot loop if I drop a replacement xml file in?
Click to expand...
Click to collapse
I get the same thing... I've been searching for an answer till this day
Chinam4n said:
I get the same thing... I've been searching for an answer till this day
Click to expand...
Click to collapse
Ive been looking at this:
http://forum.xda-developers.com/showthread.php?t=916814
Particularly post 2
All I need to do is put progress_horizontal.xml into my new theme but even with apk manager decompile and compile, I get a boot loop.
I did the whole delete the modified files from "keep" folder and resources.arsc but no joy.
Dont really know what I am doing.
I know it worked on my previous framework, when mendozinas (UOT) ported it from a theme chooser apk.
Now I just want to move it over to the new framework. There aare alternative progress bar images. I assume all that is needed is the xml, but just cannot do it.
rootSU said:
Ive been looking at this:
http://forum.xda-developers.com/showthread.php?t=916814
Particularly post 2
All I need to do is put progress_horizontal.xml into my new theme but even with apk manager decompile and compile, I get a boot loop.
I did the whole delete the modified files from "keep" folder and resources.arsc but no joy.
Dont really know what I am doing.
I know it worked on my previous framework, when mendozinas (UOT) ported it from a theme chooser apk.
Now I just want to move it over to the new framework. There aare alternative progress bar images. I assume all that is needed is the xml, but just cannot do it.
Click to expand...
Click to collapse
I tried to just make simple edits in the XML, like the battery stats, even adding the "zzz" file I receive a bootloop.
I found quite a few themes, but the original creators don't provide a guide, or leave you to decompile theirs which seems to cause issues with a rebuilt version. In light of this, I will provide a guide on the easy process of developing a theme for TSF Shell.
You will need Eclipse and all the usual Android app development stuff installed. This guide will not be covering that aspect.
Set up a basic app, you also need to include an empty activity. This part is not overly important.
AndroidManifest.xml
Your empty activity needs to specify that it is a theme
Code:
<intent-filter>
...
<action android:name="com.tsf.shell.themes" />
...
</intent-filter>
You will need an assets folder, which will be the base of your theme. It will include:
A subfolder named theme, with subfolders preview, widget, shell, and icon. These will be where the theme parts go.
PreviewDescription.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<version value="1" />
<info date="CREATION_DATE" author="YOUR_NAME" name="THEME_NAME"/>
<preview frontcover="IMAGE_FOR_THEME_ICON">
<item image="PREVIEW_IMAGE" />
<item image="PREVIEW_IMAGE" />
<item image="PREVIEW_IMAGE" />
</preview>
</theme>
The capitalized words should be replaced by the file names of the files that will be placed in the preview folder. These file names can be whatever you like, as long as they match the values listed here.
The widget folder is somewhat specific. It contains a subfolder named "com.tsf.shell.widget.folder" with the files "widget_folder_bg.png", "widget_folder_front.png", and "widget_folder_icon.png" which should be replaced by the images you want for each of these items.
ThemeDesription.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<version value="1" />
<icon-default scale="0.70" leftOffset="0" rightOffset="0"
topOffset="0" bottomOffset="0">
<item image="default" />
<item image="default2" />
<item image="default3" />
<item image="default4" />
<item image="default5" />
</icon-default>
<icon-filter>
<item component="com.android.vending/com.android.vending.AssetBrowserActivity"
image="gplay" />
<item component="com.android.vending/com.google.android.finsky.activities.PlayLauncherActivity"
image="gplay" />
<item component="com.android.mms/com.android.mms.ui.ConversationList"
image="messaging" />
</icon-filter>
<widget>
<item type="widget_system_folder">
<icon image="widget_folder_icon"/>
<nameText size="14" color="#FF333333" x="20" y="-6" width="86" height="23"/>
<sizeText size="14" color="#FF99CC00" colorFull="#FFFF3300" width="16" height="20" x="101" y="9"/>
<frame image="widget_folder_windows_bg"/>
<order>
<backPlane x="0" y="17" width="128" height="32" image="widget_folder_bg"/>
<childContainer x="0" y="-23"/>
<frontPlane x="0" y="-31" width="128" height="64" image="widget_folder_front"/>
<textPlane x="0" y="-43" width="128" height="32"/>
<cachePlane width="128" height="128"/>
</order>
<child>
<item x="0" y="-5" z="0" rx="0" ry="0" rz="0" sx="1" sy="1" sz="1" />
<item x="-2" y="5" z="0" rx="0" ry="0" rz="-20" sx="1" sy="1" sz="1" />
<item x="5" y="15" z="0" rx="0" ry="0" rz="20" sx="1" sy="1" sz="1" />
</child>
</item>
</widget>
<shell>
<pageController image="page_controller_miui_w"/>
<pageControllerIndicator image="page_controller_indicator_miui_w" offsetX="14" offsetY="7" angleUnit="23" angleOffset="1"/>
<deleteController imageOpen="control_del_open_miui_w" imageClose="control_del_close_miui_w"/>
<menu toolButton="menu_tool_button_miui_w" themeButton="menu_theme_button_miui_w" userButton="menu_user_button_miui_w" settingButton="menu_setting_button_miui_w" bg="menu_bg_miui_w" bgOffsetX="1" />
<applicationPage effectButton="application_page_effect_button_miui_w"
nvPoint="application_page_nv_point" />
<pagePreview select="shell_select_page_bg_select_miui_w"
unselect="shell_select_page_bg_unselect_w" transitionButton="application_transition_button_miui" />
<transitionButton image="application_transition_button_miui" />
<linePickerMenu image="shell_picker_menu_item_miui_w" notic="shell_picker_menu_item_text_bg_miui_w" />
<interactiveArrange bg="shell_interactive_grid_bg_miui_w"
scaleButton="shell_interactive_grid_scale_button_miui_w" />
<publicButton close="public_button_close_miui_w" return="public_button_return_miui_w" />
<app multiChoice="shell_multi_choice_miui" />
</shell>
<wallpaper default="1">
<item image="wallpaper1" thumb="wallpaper1_thumb" />
<item image="wallpaper2" thumb="wallpaper2_thumb" />
<item image="wallpaper3" thumb="wallpaper3_thumb" />
<item image="wallpaper4" thumb="wallpaper4_thumb" />
</wallpaper>
</theme>
The above is an excerpt from an existing theme to help you determine what goes where. The important parts are icon-default scale="0.70" which is the size of the original icon that will be placed within the "generic" background, which is specified by the item image values within the icon-default class. Everything surrounds the ThemeDescription, so if you want to change something, this is usually where.
Back to the icon and shell folders. This is where you will place images you want used for each app and the parts of the interface. How the theme will handle missing icons was covered by the theme description so don't worry if you don't have one for everything. These items should already have been specified by the ThemeDescription, so now it is just filling in the pictures.
Sent from my Jailbroken iPad 3
twistedumbrella said:
I found quite a few themes, but the original creators don't provide a guide, or leave you to decompile theirs which seems to cause issues with a rebuilt version. In light of this, I will provide a guide on the easy process of developing a theme for TSF Shell.
You will need Eclipse and all the usual Android app development stuff installed. This guide will not be covering that aspect.
Set up a basic app, you also need to include an empty activity. This part is not overly important.
AndroidManifest.xml
Your empty activity needs to specify that it is a theme
Code:
<intent-filter>
...
<action android:name="com.tsf.shell.themes" />
...
</intent-filter>
You will need an assets folder, which will be the base of your theme. It will include:
A subfolder named theme, with subfolders preview, widget, shell, and icon. These will be where the theme parts go.
PreviewDescription.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<version value="1" />
<info date="CREATION_DATE" author="YOUR_NAME" name="THEME_NAME"/>
<preview frontcover="IMAGE_FOR_THEME_ICON">
<item image="PREVIEW_IMAGE" />
<item image="PREVIEW_IMAGE" />
<item image="PREVIEW_IMAGE" />
</preview>
</theme>
The capitalized words should be replaced by the file names of the files that will be placed in the preview folder. These file names can be whatever you like, as long as they match the values listed here.
The widget folder is somewhat specific. It contains a subfolder named "com.tsf.shell.widget.folder" with the files "widget_folder_bg.png", "widget_folder_front.png", and "widget_folder_icon.png" which should be replaced by the images you want for each of these items.
ThemeDesription.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<version value="1" />
<icon-default scale="0.70" leftOffset="0" rightOffset="0"
topOffset="0" bottomOffset="0">
<item image="default" />
<item image="default2" />
<item image="default3" />
<item image="default4" />
<item image="default5" />
</icon-default>
<icon-filter>
<item component="com.android.vending/com.android.vending.AssetBrowserActivity"
image="gplay" />
<item component="com.android.vending/com.google.android.finsky.activities.PlayLauncherActivity"
image="gplay" />
<item component="com.android.mms/com.android.mms.ui.ConversationList"
image="messaging" />
</icon-filter>
<widget>
<item type="widget_system_folder">
<icon image="widget_folder_icon"/>
<nameText size="14" color="#FF333333" x="20" y="-6" width="86" height="23"/>
<sizeText size="14" color="#FF99CC00" colorFull="#FFFF3300" width="16" height="20" x="101" y="9"/>
<frame image="widget_folder_windows_bg"/>
<order>
<backPlane x="0" y="17" width="128" height="32" image="widget_folder_bg"/>
<childContainer x="0" y="-23"/>
<frontPlane x="0" y="-31" width="128" height="64" image="widget_folder_front"/>
<textPlane x="0" y="-43" width="128" height="32"/>
<cachePlane width="128" height="128"/>
</order>
<child>
<item x="0" y="-5" z="0" rx="0" ry="0" rz="0" sx="1" sy="1" sz="1" />
<item x="-2" y="5" z="0" rx="0" ry="0" rz="-20" sx="1" sy="1" sz="1" />
<item x="5" y="15" z="0" rx="0" ry="0" rz="20" sx="1" sy="1" sz="1" />
</child>
</item>
</widget>
<shell>
<pageController image="page_controller_miui_w"/>
<pageControllerIndicator image="page_controller_indicator_miui_w" offsetX="14" offsetY="7" angleUnit="23" angleOffset="1"/>
<deleteController imageOpen="control_del_open_miui_w" imageClose="control_del_close_miui_w"/>
<menu toolButton="menu_tool_button_miui_w" themeButton="menu_theme_button_miui_w" userButton="menu_user_button_miui_w" settingButton="menu_setting_button_miui_w" bg="menu_bg_miui_w" bgOffsetX="1" />
<applicationPage effectButton="application_page_effect_button_miui_w"
nvPoint="application_page_nv_point" />
<pagePreview select="shell_select_page_bg_select_miui_w"
unselect="shell_select_page_bg_unselect_w" transitionButton="application_transition_button_miui" />
<transitionButton image="application_transition_button_miui" />
<linePickerMenu image="shell_picker_menu_item_miui_w" notic="shell_picker_menu_item_text_bg_miui_w" />
<interactiveArrange bg="shell_interactive_grid_bg_miui_w"
scaleButton="shell_interactive_grid_scale_button_miui_w" />
<publicButton close="public_button_close_miui_w" return="public_button_return_miui_w" />
<app multiChoice="shell_multi_choice_miui" />
</shell>
<wallpaper default="1">
<item image="wallpaper1" thumb="wallpaper1_thumb" />
<item image="wallpaper2" thumb="wallpaper2_thumb" />
<item image="wallpaper3" thumb="wallpaper3_thumb" />
<item image="wallpaper4" thumb="wallpaper4_thumb" />
</wallpaper>
</theme>
The above is an excerpt from an existing theme to help you determine what goes where. The important parts are icon-default scale="0.70" which is the size of the original icon that will be placed within the "generic" background, which is specified by the item image values within the icon-default class. Everything surrounds the ThemeDescription, so if you want to change something, this is usually where.
Back to the icon and shell folders. This is where you will place images you want used for each app and the parts of the interface. How the theme will handle missing icons was covered by the theme description so don't worry if you don't have one for everything. These items should already have been specified by the ThemeDescription, so now it is just filling in the pictures.
Sent from my Jailbroken iPad 3
Click to expand...
Click to collapse
This is a great guide! Thanks for this! I must say tfs shell is just great and some minor bugs but it can be solved with proper attention and spare time for decompile and recompile!
How to create Icon Packs for Go/Apex/Nova/Holo/ADW/Launcher Pro/Xperia Home Launchers​However, there are many guides on Apex Launcher, Nova. ADW but when someone starts, he finds himself rather confused on which launcher to start working with and then how to add support of other launchers in it.
I was confused too on how to create Holo Launcher icon pack, then I found out LauncherPro guide which worked on Holo Launcher. Then, I further went on adding launchers as people requested for my Metrosphere Icon Pack. I got great help from DSaif's guide here. Then, I took the Apex Sample Pack from here and added support of other launchers in it. You can check that guide if are further looking onto advanced options of icon packs in Apex or creating themes for Apex, this guide will concentrically based on Icon apk CreationYou can also add support of different launchers from there, but if you are lazy like me, then you can follow this guide which has a sample pack with support already added and I'll be guiding you on how to further add icons in it ​Pre-Requisites​
Eclipse with ADT Plugin
Icons which you want to add
Time and Patience
Guide​
1. Downloading the sample
Download the Sample Icon Pack Source zip from below and extract it in any accessible local directory.
2. Importing the Project
Now open Eclipse and select File>Import
A window will pop up, drop down the Android Category and select Existing Android Code Into Workspace and Click Next
It will ask you to chose the root directory. Browse to where you extracted the Sample Icon Pack
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click on OK. And select Copy projects into workspace and then click on Finish.
3. Renaming Package Name
Now, you'll see the IconProject dropdown in Package Explorer window in Eclipse.
Now, you want to rename your Icon Pack's Package name as desired. For that, right click on IconProject and select Android Tools>Rename Application Package, and type in the name you want and click OK.
Also, Expand the IconProject Folder by clicking on drop down button and then, expand src folder, and you'll see areeb.apex.metrosphere.iconpack named file. Right click on it and Choose Refractor>Rename and type in the same package name you typed in previously, and Click OK
Name, the above steps for renaming package name can be omitted if you have yourself replaced the name evrywhere manually such as mainactivity.java, AndroidManifest.xml, etc
4. Naming your Icon Pack and changing description
Now, go to /res/values/strings.xml and change the name of Icon Pack from Sample Icon Pack to anything you want
There are also description of theme, you contact info, etc that can be changed in strings.xml
In AndroidManifest.xml, you can change some more informations such as version number, etc
5. Adding icons to your icon pack-
Now, we will be adding our icons in the icon pack but first, some things to clear-
For Go, Holo, Nova, Apex or other launchers - iconbase, iconmask, iconupon pngs can be used to provide a uniform look across icons on the device (More info is provided in Apex Launcher Icon Pack Tutorial). If you don't want them, just go to /res/xml/appfilter.xml and delete these lines accordingly:
Code:
<iconback img1="iconback" />
<iconmask img1="iconmask" />
<iconupon img1="iconupon" />
Now, how to add icons in icon pack? Ok, let's come to the point.
Add all your icons in drawable-xdpi (x=xh,h,m,l) folder depending upon for which dpi you have created them. XHDPI are normally 144x144, and HDPI are mainly 90x90.
You don't need to resize your icons for different DPI. For let's say, you made HDPI icons, now, you don't have to resize them for MDPI or LDPI devices, android does it on it's own. But definitely, HDPI icons will look pixelated on XHDPI, so it's recommended to make icons of as high resolution as possible.
Once added in the folder, let's say drawable-hdpi, we'll start the renaming process.
Holo Launcher updated it's theming engine, so it's very easy to put icon names now
You can put any name for your icons like browser for Browser and opera_mini for Opera Mini. It's your choice. Now, keep in mind that your icons should only be in lower case and no character like .,?/\|:";<>{}][ etc should come in their name, only underscore _ is allowed
6.
I) Open /res/xml/drawable.xml and add all the new icon names in it in this format
Code:
<item drawable="opera_mini" />
<item drawable="browser" />
<item drawable="fruit_ninja" />
(Required for icons to appear in Icon Selector Menu, controls icons position in it too, i.e, icon registered above in xml also appears above in Icon Selector)
II) Open /res/values/iconpack.xml and add all the new icons in this format
Code:
<item>opera_mini</item>
<item>browser</item>
<item>fruit_ninja</item>
(Does same thing as above in Apex Launcher. Deleting any one of the above two breaks functionality in one of the launchers)
Order of icons in these xml decide the order of icons in Icon Selector
III)
Find ComponentInfo name first by going in activities.droidicon.com
Edit : Above site doesn't work as reported by many people. Here are some other sites:
http://forum.xda-developers.com/showpost.php?p=54038742&postcount=369
Search your app name. For example Opera Mini. You'll get search results like this
Opera Mini
com.opera.mini.android
com.opera.mini.android.Browser
com_opera_mini_android_browser
com.opera.mini.android/com.opera.mini.android.Browser
The last name is what you want to get
Open /res/xml/appfilter.xml and add all new icons in this format
Code:
<item component="ComponentInfo{[COLOR=Red]com.mobint.hololauncher/com.mobint.hololauncher.Launcher[/COLOR]}" drawable="[COLOR=DeepSkyBlue]holo_launcher[/COLOR]" />
Place the name you got from activities.droidicon.com in the red field you see above and in blue field, add the icon name of that app. For example, for Opera Mini, we took name as opera_mini, so the line will be like this
Code:
<item component="ComponentInfo{[COLOR=Red]com.opera.mini.android/com.opera.mini.android.Browser[/COLOR]}" drawable="[COLOR=DeepSkyBlue]opera_mini[/COLOR]" />
In the same way, resultant will look like this
Code:
<item component="ComponentInfo{[COLOR=Red]com.opera.mini.android/com.opera.mini.android.Browser[/COLOR]}" drawable="[COLOR=DeepSkyBlue]opera_mini[/COLOR]" />
<item component="ComponentInfo{[COLOR=Red]com.android.browser/com.android.browser.BrowserActivity[/COLOR]}" drawable="[COLOR=DeepSkyBlue]browser[/COLOR]" />
<item component="ComponentInfo{[COLOR=Red]com.halfbrick.fruitninja/com.halfbrick.fruitninja.FruitNinjaActivity[/COLOR]}" drawable="[COLOR=DeepSkyBlue]fruit_ninja[/COLOR]" />
(Used in Go, Holo, Nova and Apex to apply icons. Also, saves a lot of icons if you want to apply same icon to many apps)
Some example from third xml, and how can we use it:
1. Applying single icons to many apps:
Here, same contacts has been applied to MANY apps that had different activity names in different devices.
Code:
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.DialerEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsContactsEntryActivityForDialpad}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.BbDialtactsMainFrameActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallListEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallLogActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsPhoneEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsRecentEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.PhoneDialtactsActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.SmartDialerActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.htcdialer/com.android.htcdialer.Dialer}" drawable="com_android_contacts_dialtactsactivity" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.DialerTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.phone/com.android.phone.DialtactsCallLogActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.phone/com.android.phone.DialtactsContactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.huawei.android.dialer/com.huawei.android.dialer.TwelveKeyDialer}" drawable="contacts" />
<item component="ComponentInfo{com.motorola.dialer/com.motorola.dialer.CallLogShortcut}" drawable="contacts" />
<item component="ComponentInfo{com.motorola.dialer/com.motorola.dialer.DialtactsContactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.samsung.android.app.dialertab/com.samsung.android.app.dialertab.DialerTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.samsung.dialer/com.samsung.dialer.SplashScreen}" drawable="contacts" />
<item component="ComponentInfo{com.sec.android.app.dialertab/com.sec.android.app.dialertab.DialerTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="contacts" />
2. Some miscellaneous examples of this code:
Code:
<item component="ComponentInfo{com.rovio.angrybirds/com.rovio.fusion.App}" drawable="angry_birds" />
<item component="ComponentInfo{com.rovio.angrybirdsseasons/com.rovio.fusion.App}" drawable="angry_birds" />
<item component="ComponentInfo{com.rovio.angrybirdsspace.ads/com.rovio.fusion.App}" drawable="angry_birds" />
<item component="ComponentInfo{com.rovio.angrybirdsspace.premium/com.rovio.fusion.App}" drawable="angry_birds" />
<item component="ComponentInfo{com.rovio.angrybirdsstarwars.ads.iap/com.rovio.fusion.App}" drawable="angry_birds" />
<item component="ComponentInfo{com.rovio.angrybirdsstarwarshd.premium.iap/com.rovio.fusion.App}" drawable="angry_birds" />
Here, we have applied same icon to all Angry Birds icons. But, if we want different one for each, we can do that too:
Code:
<item component="ComponentInfo{com.rovio.angrybirds/com.rovio.fusion.App}" drawable="angrybirds" />
<item component="ComponentInfo{com.rovio.angrybirdsseasons/com.rovio.fusion.App}" drawable="seasons" />
<item component="ComponentInfo{com.rovio.angrybirdsspace.ads/com.rovio.fusion.App}" drawable="space" />
<item component="ComponentInfo{com.rovio.angrybirdsspace.premium/com.rovio.fusion.App}" drawable="spacepre" />
<item component="ComponentInfo{com.rovio.angrybirdsstarwars.ads.iap/com.rovio.fusion.App}" drawable="stars" />
<item component="ComponentInfo{com.rovio.angrybirdsstarwarshd.premium.iap/com.rovio.fusion.App}" drawable="starshd" />
Click to expand...
Click to collapse
Code:
<item component="ComponentInfo{eu.chainfire.supersu/eu.chainfire.supersu.MainActivity}" drawable="supersu" />
<item component="ComponentInfo{eu.chainfire.supersu/eu.chainfire.supersu.MainActivity[COLOR=Red]-[/COLOR]Emblem}" drawable="supersu" />
Click to expand...
Click to collapse
7. Testing your app
Once, this all process is complete, I hope many things would have become clear to you, now what you have to do is, test your app. For that,
Connect your phone to PC. Make sure USB Debugging is turned on (Omit, if you plan to use Emulator)
Click on the little drop down arrow and select Run Configurations...
Make sure, the project is same as your icon pack
Click on Run
Now, your device ADB ID will appear, or Emulator's if you are using it instead. Select it and Click on OK.
Your app will be installed accordingly, Test it thoroughly and on different launchers
8. Creating your app
When you have tested it thouroughly and want to make it an app, Select File>Export>Export Android Application and Select your IconProject.
Click on next and choose Create New Keystore and choose the location where you want it to be created. Enter any password you want.
Click next, now, enter any name you want in alias, password, set Validity to 25 years(your choice), First and Last Names. Other Fields are Optional.
You might want to remember those key location, alias and passwords for both as you will be signing upcoming updated of your icon pack with the same key so your fans don't have to uninstall older app before installing the new one
Click next, then choose where you want your app to be created and click on Finish
9. Enjoy
Download Sample Icon Pack Source​
UPDATE
For those who can manage without a guide, I have created another source which has VPI Indicators in Icon Chooser.
I will write the guide after some time as I am busy nowadays, more information here​
I am human and tend to make mistakes, please point out if you see any.
Feel free to ask any Questions
Credits
DSaif
dennisxl
vanessaem
the1dynasty
Common appfilters
How to report errors?
​
I'll soon write up the text too... :highfive:
Common appfilter tags for system apps​
Contacts
Code:
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.app.contacts.PhoneBookTopMenuActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.PeopleActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.ContactsFrontDoor}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.ContactTabBrowserActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.ContactsTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.BrowseLayerCarouselActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.ContactSearchEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.motorola.blur.contacts/com.motorola.blur.contacts.ViewIdentitiesFacetActivity}" drawable="contacts" />
<item component="ComponentInfo{com.motorola.blur.contacts/com.motorola.blur.contacts.ViewIdentitiesTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.contacts/com.sonyericsson.contacts.ContactTabActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.SocialPhonebookActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.LaunchActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.DialerEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.ContactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.PhoneBookTopMenuActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.PeopleActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallLogEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.ContactsFrontDoor}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.PhoneBookSplitTopMenuActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.ContactTabBrowserActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsRecentCallsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.RecntcallEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.RecentCallsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.PhoneFrontDoor}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsPhoneEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.tmo.LaunchCommunityActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.BbDialtactsMainFrameActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactsActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactsListActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactHostActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsRecentEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallListEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsRecentCallEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallsEntryActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactsMainFromHomeActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.RecentCallLogLaunchActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.TransparentActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.SmartDialerListActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.BaiJiaXingActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.SmartDailerActivity}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactsListActivityLauncher}" drawable="contacts" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.ContactsListActivityEx}" drawable="contacts" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.BrowseLayerCarouselActivity}" drawable="contacts"/>
Dialer
Code:
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.sec.android.app.contacts.DialerEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsContactsEntryActivityForDialpad}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.activities.TwelveKeyDialer}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.BbDialtactsMainFrameActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallListEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsCallLogActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsPhoneEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.DialtactsRecentEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.PhoneDialtactsActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.contacts/com.android.contacts.SmartDialerActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.htcdialer/com.android.htcdialer.Dialer}" drawable="dialer" />
<item component="ComponentInfo{com.android.htccontacts/com.android.htccontacts.DialerTabActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.phone/com.android.phone.DialtactsCallLogActivity}" drawable="dialer" />
<item component="ComponentInfo{com.android.phone/com.android.phone.DialtactsContactsEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.huawei.android.dialer/com.huawei.android.dialer.TwelveKeyDialer}" drawable="dialer" />
<item component="ComponentInfo{com.motorola.dialer/com.motorola.dialer.CallLogShortcut}" drawable="dialer" />
<item component="ComponentInfo{com.motorola.dialer/com.motorola.dialer.DialtactsContactsEntryActivity}" drawable="dialer" />
<item component="ComponentInfo{com.samsung.android.app.dialertab/com.samsung.android.app.dialertab.DialerTabActivity}" drawable="dialer" />
<item component="ComponentInfo{com.samsung.dialer/com.samsung.dialer.SplashScreen}" drawable="dialer" />
<item component="ComponentInfo{com.sec.android.app.dialertab/com.sec.android.app.dialertab.DialerTabActivity}" drawable="dialer" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="dialer" />
Email
Code:
<item component="ComponentInfo{com.android.email/com.android.email.activity.Welcome}" drawable="email" />
<item component="ComponentInfo{com.google.android.email/com.android.email.activity.Welcome}" drawable="email" />
<item component="ComponentInfo{com.htc.android.mail/com.htc.android.mail.MailListTab}" drawable="email" />
<item component="ComponentInfo{com.htc.android.mail/com.htc.android.mail.MultipleActivitiesMain}" drawable="email" />
<item component="ComponentInfo{com.lge.email/com.lge.email.activity.AccountList}" drawable="email" />
<item component="ComponentInfo{com.lge.email/com.lge.email.activity.ActEmailStarter}" drawable="email" />
<item component="ComponentInfo{com.lge.email/com.lge.email.activity.ActMain}" drawable="email" />
<item component="ComponentInfo{com.motorola.blur.email/com.motorola.blur.email.mailbox.ViewFolderActivity}" drawable="email" />
<item component="ComponentInfo{com.motorola.blur.email/com.motorola.blur.email.mailbox.MailListActivity}" drawable="email" />
<item component="ComponentInfo{com.motorola.motoemail/com.android.email.activity.Welcome}" drawable="email" />
<item component="ComponentInfo{com.sonyericsson.email/com.sonyericsson.email.ui.Main}" drawable="email" />
Gallery
Code:
<item component="ComponentInfo{com.android.gallery/com.android.camera.GalleryPicker}" drawable="gallery" />
<item component="ComponentInfo{com.android.gallery/com.android.gallery.ui.MainActivity}" drawable="gallery" />
<item component="ComponentInfo{com.android.gallery3d/com.android.gallery3d.app.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.android.sec.gallery3d/com.android.sec.gallery3d.app.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.cooliris.media.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.cooliris.media.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.cooliris.media.GalleryForVideo}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.cooliris.media.VideoStubActivity}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.tapntap.photos.PhotosActivity}" drawable="gallery" />
<item component="ComponentInfo{com.cooliris.media/com.tapntap.videos.VideosActivity}" drawable="gallery" />
<item component="ComponentInfo{com.google.android.gallery3d/com.cooliris.media.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.google.android.gallery3d/com.android.gallery3d.app.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.htc.album/com.htc.album.AlbumTabSwitchActivity}" drawable="gallery" />
<item component="ComponentInfo{com.htc.album/com.htc.album.AlbumMain.ActivityMainDropList}" drawable="gallery" />
<item component="ComponentInfo{com.motorola.blurgallery/com.motorola.cgallery.Dashboard}" drawable="gallery" />
<item component="ComponentInfo{com.motorola.gallery/com.motorola.gallery.LaunchActivity}" drawable="gallery" />
<item component="ComponentInfo{com.motorola.gallery/com.motorola.gallery.TopScreen}" drawable="gallery" />
<item component="ComponentInfo{com.motorola.motgallery/com.motorola.cgallery.Dashboard}" drawable="gallery" />
<item component="ComponentInfo{com.motorola.MotGallery2/com.android.gallery3d.app.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.sonyericsson.album/com.sonyericsson.album.MainActivity}" drawable="gallery" />
<item component="ComponentInfo{com.sonyericsson.gallery/com.sonyericsson.gallery.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.sec.android.gallery3d/com.sec.android.gallery3d.app.Gallery}" drawable="gallery" />
<item component="ComponentInfo{com.moblynx.galleryics/com.moblynx.galleryics.app.Gallery}" drawable="gallery" />
Messaging
Code:
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.ConversationList}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.MainUISelection}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.MultipleActivitiesMain}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.ConversationComposer}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.MainLayerTabSwitchActivity}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.MessageTabActivity}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.MmsTabActivity}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.ModeActivity}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.UiController}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.ViewControllerActivity}" drawable="sms" />
<item component="ComponentInfo{com.android.mms/com.android.mms.ui.VissageActivity}" drawable="sms" />
<item component="ComponentInfo{com.mms.ics.ext/com.mms.ics.ext.ui.ConversationList}" drawable="sms" />
<item component="ComponentInfo{com.motorola.blur.conversations/com.motorola.blur.conversations.ui.ConversationList}" drawable="sms" />
<item component="ComponentInfo{com.motorola.messaging/com.motorola.messaging.activity.ConversationListActivity}" drawable="sms" />
<item component="ComponentInfo{com.sec.mms/com.sec.mms.Mms}" drawable="sms" />
<item component="ComponentInfo{com.sonyericsson.conversations/com.sonyericsson.conversations.ui.ConversationListActivity}" drawable="sms" />
Music
Code:
<item component="ComponentInfo{com.android.music/com.android.music.MusicBrowserActivity}" drawable="music" />
<item component="ComponentInfo{com.android.hpl.music/com.android.hpl.music.MusicBrowserActivity}" drawable="music" />
<item component="ComponentInfo{com.android.music/com.android.music.MusicBrowserActivity}" drawable="music" />
<item component="ComponentInfo{com.android.music/com.android.music.list.activity.MpMainTabActivity}" drawable="music" />
<item component="ComponentInfo{com.android.music/com.android.music.ArtistAlbumBrowserActivity}" drawable="music" />
<item component="ComponentInfo{com.htc.music/com.htc.music.HtcMusic}" drawable="music" />
<item component="ComponentInfo{com.htc.music/com.htc.music.browserlayer.MusicBrowserTabActivity}" drawable="music" />
<item component="ComponentInfo{com.motorola.blur.music/com.motorola.blur.music.DashboardActivity}" drawable="music" />
<item component="ComponentInfo{com.motorola.motmusic/com.motorola.motmusic.DashboardActivity}" drawable="music" />
<item component="ComponentInfo{com.pantech.app.music.verizon/com.pantech.app.music.verizon.library.MusicLibraryList}" drawable="music" />
<item component="ComponentInfo{com.sec.android.app.music/com.sec.android.app.music.list.activity.MpMainTabActivity}" drawable="music" />
<item component="ComponentInfo{com.sec.android.app.music/com.sec.android.app.music.MusicBrowserTabActivity}" drawable="music" />
<item component="ComponentInfo{com.sec.android.app.music/com.sec.android.app.music.MusicActionTabActivity}" drawable="music" />
<item component="ComponentInfo{com.hisense.music/com.hisense.music.MusicBrowserActivity}" drawable="music" />
Memo
Code:
<item component="ComponentInfo{com.sec.android.app.memo/com.sec.android.app.memo.Memo}" drawable="memo" />
<item component="ComponentInfo{com.sec.android.app.memo/com.sec.android.app.memo.MemoMainActivity}" drawable="memo" />
<item component="ComponentInfo{com.socialnmobile.dictapps.notepad.color.note/com.socialnmobile.colornote.activity.NoteList}" drawable="com_socialnmobile_colornote_activity_main" />
<item component="ComponentInfo{org.openintents.notepad/org.openintents.notepad.noteslist.NotesList}" drawable="memo" />
<item component="ComponentInfo{com.sonyericsson.notes/com.sonyericsson.notes.Notes}" drawable="memo" />
<item component="ComponentInfo{mobisle.mobisleNotesADC/mobisle.mobisleNotesADC.TodoMain}" drawable="memo" />
<item component="ComponentInfo{com.mobisleapps.notespro/com.mobisleapps.notespro.TodoMain}" drawable="memo" />
<item component="ComponentInfo{com.lge.memo/com.lge.memo.MemoMain}" drawable="memo" />
<item component="ComponentInfo{com.miui.notes/com.miui.notes.ui.NotesListActivity}" drawable="memo" />
<item component="ComponentInfo{com.socialnmobile.dictapps.notepad.color.note/com.socialnmobile.colornote.activity.Main}" drawable="memo" />
<item component="ComponentInfo{com.workpail.inkpad.notepad.notes/com.workpail.inkpad.notepad.notes.NotesList}" drawable="memo" />
<item component="ComponentInfo{com.flufflydelusions.app.extensive_notes_donate/com.flufflydelusions.app.extensive_notes_donate.Notes}" drawable="memo" />
<item component="ComponentInfo{com.flufflydelusions.app.extensive_notes/com.flufflydelusions.app.extensive_notes.Notes}" drawable="memo" />
<item component="ComponentInfo{org.mightyfrog.android.simplenotepad/org.mightyfrog.android.simplenotepad.SimpleNotepad}" drawable="memo" />
<item component="ComponentInfo{com.flufflydelusions.app.enotesclassiclite/com.flufflydelusions.app.enotesclassiclite.Notepadv3}" drawable="memo" />
<item component="ComponentInfo{com.flufflydelusions.app.enotesclassic/com.flufflydelusions.app.enotesclassic.Notepadv3}" drawable="memo" />
Radio
Code:
<item component="ComponentInfo{com.android.fm/com.android.fm.radio.FMRadio}" drawable="radio" />
<item component="ComponentInfo{com.htc.fm/com.htc.fm.FMRadio}" drawable="radio" />
<item component="ComponentInfo{com.htc.fm/com.htc.fm.ap.activity.FMRadioMain}" drawable="radio" />
<item component="ComponentInfo{com.lge.fmradio/com.lge.fmradio.FmRadio}" drawable="radio" />
<item component="ComponentInfo{com.miui.fmradio/com.miui.fmradio.FMRadioMain}" drawable="radio" />
<item component="ComponentInfo{com.motorola.fmradio/com.motorola.fmradio.FMRadioMain}" drawable="radio" />
<item component="ComponentInfo{com.motorola.motofmradio/com.motorola.motofmradio.FMPlayer}" drawable="radio" />
<item component="ComponentInfo{com.samsung.app.fmradio/com.samsung.app.fmradio.FmRadioPlaybackActivity}" drawable="radio" />
<item component="ComponentInfo{com.sec.android.app.fm/com.sec.android.app.fm.MainActivity}" drawable="radio" />
<item component="ComponentInfo{com.sonyericsson.fmradio/com.sonyericsson.fmradio.FMRadioActivity}" drawable="radio" />
<item component="ComponentInfo{com.sonyericsson.fmradio/com.sonyericsson.fmradio.ui.FmRadioActivity}" drawable="radio" />
<item component="ComponentInfo{com.quicinc.fmradio/com.quicinc.fmradio.FMRadio}" drawable="radio" />
Settings
Code:
<item component="ComponentInfo{com.android.development/com.android.development.Development}" drawable="com_android_settings_settings" />
<item component="ComponentInfo{com.android.settings/com.android.settings.Settings}" drawable="settings" />
<item component="ComponentInfo{com.android.settings/com.android.settings.framework.activity.HtcSettings}" drawable="settings" />
<item component="ComponentInfo{com.android.settings/com.android.settings.MiuiSettings}" drawable="settings" />
Nice write up :thumbup:
TEAM MiK
MikROMs Since 3/13/11
This is one Awesome guide.......
Proud to be a part of the Wolf pack
Awesime guide Will give a Try after I make my first Icon Pack.
--------------------Signature--------------------
Don't Ever Post A Thanks Post,
If I Helpes You, Your Hand Will Automatically Hit THANKS
Do Visit My Website For More Information.
www.gfxbandits.com
HELP!
OKAY i followed it up to step 4. But i am lost on step step 5 about adding icons and changing the names to activities. Can you give me a example if the icon were for say... google drive? Thanks
cubsfanshivam said:
OKAY i followed it up to step 4. But i am lost on step step 5 about adding icons and changing the names to activities. Can you give me a example if the icon were for say... google drive? Thanks
Click to expand...
Click to collapse
As I said, find it's activity name from activities.droidicon.com and rename it accordingly as stated in guide
For eg:
Package name : com.areeb.app
Main Activity : HomeActivity
com.areeb.app.HomeActivity
So the icon name will be com_areeb_app_homeactivity.png
This one will run smoothly on your HTC , I got it on my SGS4 and its soooo nice and clean
http://www.youtube.com/watch?v=MOI-iIlnkYA
I will definitely give this a go, thank you for your hard work.
Sent from my ASUS Transformer Pad TF300T using XDA Premium 4 mobile app
where can i create a .xml to modify the ui of the iconpack app?
Would it be possible to make a video guide??? And where can I download the eclipse ADT plugin
Sent from my SCH-I545 using Tapatalk
saul1991 said:
Would it be possible to make a video guide??? And where can I download the eclipse ADT plugin
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
http://www.xda-developers.com/xda-t...-1-setting-up-eclipse-and-android-sdk-xda-tv/
This explains it pretty well
And it's also with Nyan Cat
I`m finding this fairly complicated, I get so far then run into problems, or errors, it`s deterring, I`m trying to stick with it, but coming from absolutely no experience, it`s not easy.
mloc33 said:
I`m finding this fairly complicated, I get so far then run into problems, or errors, it`s deterring, I`m trying to stick with it, but coming from absolutely no experience, it`s not easy.
Click to expand...
Click to collapse
Please tell which errors are you getting?
I'll try my best to help you
Hey I notice when you're importing the Icon Project, the window shows both 'gen' and 'bin' folders. I don't get that when I'm doing it and I think this might be the reason why I always get errors after I import the folder. Any ideas or suggestions?
iamareebjamal said:
Please tell which errors are you getting?
I'll try my best to help you
Click to expand...
Click to collapse
I`m just not understanding how to name the icons before I add them, I`ve tried understanding it and tried what I thought where the correct names, but I`ve no idea what I`m doing.
Any chance of a video, for the complete rookies...like me?
mloc33 said:
I`m just not understanding how to name the icons before I add them, I`ve tried understanding it and tried what I thought where the correct names, but I`ve no idea what I`m doing.
Any chance of a video, for the complete rookies...like me?
Click to expand...
Click to collapse
Yeah a video would great +1
Sent from my SCH-I545 using Tapatalk
mloc33 said:
I`m just not understanding how to name the icons before I add them, I`ve tried understanding it and tried what I thought where the correct names, but I`ve no idea what I`m doing.
Any chance of a video, for the complete rookies...like me?
Click to expand...
Click to collapse
Well, there's a good news that you don't need to rename icons in that ridiculous way now as Holo Launcher has updated it's theming engine.
I'll update the thread soon
iamareebjamal said:
Well, there's a good news that you don't need to rename icons in that ridiculous way now as Holo Launcher has updated it's theming engine.
I'll update the thread soon
Click to expand...
Click to collapse
Updated the thread as in a video??
mloc33 said:
Updated the thread as in a video??
Click to expand...
Click to collapse
I have a 16 kb/s net connection
It's not possible for me to create a video and upload.
However I can answer any questions if you have, as many times you want.
Guide for CyanogenMod11 KOT49H
HOW TO PORT "Mokee ListView Animations" for CyanogenMod11 only !!
Hello guys, I want to share to you smali Guide how to port with settings. custom Mokee ListView Animation,.
credit to Mokee rom
ok lets go to Guide:
first of all need some requirement for this MOD-GUIDE
REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk and JAR file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else
Settings.apk
Decompile your CM11 Settings.apk
1. Settings.apk\res\values\arrays.xml
add this to end of it before
Code:
</resources>
so it will be like this
Code:
<string-array name="listview_animation_entries">
<item>@string/listview_off</item>
<item>@string/listview_wave_left</item>
<item>@string/listview_wave_right</item>
<item>@string/listview_scale</item>
<item>@string/listview_alpha</item>
<item>@string/listview_stack_top</item>
<item>@string/listview_stack_bottom</item>
<item>@string/listview_unfold</item>
<item>@string/listview_fold</item>
<item>@string/listview_translate_left</item>
<item>@string/listview_translate_right</item>
<item>@string/listview_rotate</item>
</string-array>
<string-array name="listview_animation_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
</string-array>
<string-array name="listview_interpolator_entries">
<item>@string/listview_off</item>
<item>@string/listview_accelerate_interpolator</item>
<item>@string/listview_decelerate_interpolator</item>
<item>@string/listview_accelerate_decelerate_interpolator</item>
<item>@string/listview_anticipate_interpolator</item>
<item>@string/listview_overshoot_interpolator</item>
<item>@string/listview_anticipate_overshoot_interpolator</item>
<item>@string/listview_bounce_interpolator</item>
</string-array>
<string-array name="listview_interpolator_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
</string-array>
[COLOR="Blue"]</resources>[/COLOR]
2. Settings.apk\res\values\strings.xml
add this to end of it before
Code:
</resources>
so it will be like this
Code:
<string name="listview_animation_title">ListView animation</string>
<string name="listview_off">Off</string>
<string name="listview_wave_left">Wave (left)</string>
<string name="listview_wave_right">Wave (right)</string>
<string name="listview_alpha">Alpha</string>
<string name="listview_scale">Scale</string>
<string name="listview_stack_top">Stack (top)</string>
<string name="listview_stack_bottom">Stack (bottom)</string>
<string name="listview_unfold">Unfold</string>
<string name="listview_fold">Fold</string>
<string name="listview_translate_left">Translate (left)</string>
<string name="listview_translate_right">Translate (right)</string>
<string name="listview_rotate">Rotate</string>
<string name="listview_interpolator_title">ListView interpolator</string>
<string name="listview_accelerate_interpolator">Accelerate</string>
<string name="listview_decelerate_interpolator">Decelerate</string>
<string name="listview_accelerate_decelerate_interpolator">Accelerate decelerate</string>
<string name="listview_anticipate_interpolator">Anticipate</string>
<string name="listview_overshoot_interpolator">Overshoot</string>
<string name="listview_anticipate_overshoot_interpolator">Anticipate overshoot</string>
<string name="listview_bounce_interpolator">Bounce</string>
[COLOR="Blue"]</resources>[/COLOR]
3. Settings.apk\res\xml\system_ui_settings.xml
add this line
Code:
<PreferenceScreen android:title="@string/listview_animation_title" android:key="listview_animation_settings" android:fragment="com.android.settings.adi.ListViewSettings" />
this is the example :
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/system_interface_title"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceScreen android:title="@string/status_bar_title" android:key="status_bar" android:fragment="com.android.settings.cyanogenmod.StatusBar" />
<PreferenceScreen android:title="@string/quick_settings_panel_title" android:key="quick_settings_panel" android:fragment="com.android.settings.quicksettings.QuickSettings" />
<PreferenceScreen android:title="@string/notification_drawer_title" android:key="notification_drawer" android:fragment="com.android.settings.cyanogenmod.NotificationDrawer" />
<PreferenceCategory android:title="@string/power_menu_expanded_desktop" android:key="expanded_desktop_category">
<ListPreference android:persistent="false" android:entries="@array/expanded_desktop_entries" android:title="@string/expanded_desktop_style" android:key="expanded_desktop" android:entryValues="@array/expanded_desktop_values" />
<com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/expanded_desktop_system_bars_visibility" android:key="expanded_desktop_system_bars_visibility" android:summary="@string/expanded_desktop_system_bars_visibility_summary" android:defaultValue="false" />
</PreferenceCategory>
<Preference android:key="touch_screen_gesture_settings">
<intent android:targetPackage="com.cyanogenmod.settings.device" android:action="com.cyanogenmod.action.LAUNCH_TOUCHSCREEN_GESTURE_SETTINGS" android:targetClass="com.cyanogenmod.settings.device.TouchscreenGestureSettings" />
</Preference>
[COLOR="Red"]<PreferenceScreen android:title="@string/listview_animation_title" android:key="listview_animation_settings" android:fragment="com.android.settings.adi.ListViewSettings" />[/COLOR]
<PreferenceScreen android:title="@string/ram_bar" android:key="recents_panel" android:fragment="com.android.settings.adi.RecentsPanelSettings" />
<PreferenceCategory android:title="@string/navigation_bar_category">
<CheckBoxPreference android:title="@string/navbar_enable_bar" android:key="enable_nav_bar" android:summary="@string/navbar_enable_bar_summary" android:defaultValue="true" />
<PreferenceScreen android:title="@string/navbar_style_dimen_title" android:key="navbar_dimen_settings" android:dependency="enable_nav_bar" android:fragment="com.android.settings.adi.NavbarDimenSettings" />
<PreferenceScreen android:title="@string/navigation_bar_title" android:key="navigation_bar" android:dependency="enable_nav_bar" android:fragment="com.android.settings.cyanogenmod.NavBar" />
<PreferenceScreen android:title="@string/navigation_ring_title" android:key="navigation_ring" android:dependency="enable_nav_bar" android:fragment="com.android.settings.cyanogenmod.NavRing" />
<com.android.settings.cyanogenmod.SystemSettingCheckBoxPreference android:title="@string/navigation_bar_left_title" android:key="navigation_bar_left" android:summary="@string/navigation_bar_left_summary" android:dependency="enable_nav_bar" android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/hw_keys_title" android:key="hw_keys_on_navbar">
<CheckBoxPreference android:title="@string/key_back_enabled" android:key="key_back_enabled" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/key_menu_enabled" android:key="key_menu_enabled" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/key_home_enabled" android:key="key_home_enabled" android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>
4. Download attached file and merge to your decompiled Settings.apk, done and recompile it
5. Decompile the newly Recompiled APK again
- Next go to res/values/public.xml
open it with Notepad++
search for this line
Code:
<public type="xml" name="adi_mokee_listview_animations" id="[COLOR="Red"]??????????[/COLOR]" />
and pay attention to this ??????????
leave it, but keep it open
6. from the second decompiled Settings.apk , go to Settings.apk\smali\com\android\settings\adi\ListViewSettings.smali
search for this line
Code:
const v6, 0x7f050076
change this ids value 0x7f050076 in the smali
from here
Code:
<public type="xml" name="adi_mokee_listview_animations" id="[COLOR="Red"]??????????[/COLOR]" />
7. Done and recompile your settings.apk
framework.jar
1. Decompile your CM11 framework.jar
go to framework.jar\classout\android\widget\
remove all AbsListView.smali and its subs file
replace them with attached file
2. Decompile your CM11 framework-res.apk
go to \framework-res.apk\res\values\public.xml
search for this lines :
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
pay attention to the red highlight the last 5 digits of each line 0x010?????
3. open AbsListView.smali file I gave
and search for this
- const v0, 0x101006a
change the last 5 digits ids 1006a in the smali according to your own have in
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
do it too to all of line below
- const v2, 0x10301ed
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10301ee
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x10900b8
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x1080062
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0005
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0006
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0004
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0007
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0008
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0009
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a000a
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
4. Done and compile your framework.jar
That's it, have a nice moding
good luck
Screenshot
youtube : http://youtu.be/y_dhcNnueB8
Attention !
if you guys, having such of problem when compiling , try to use this smali file http://forum.xda-developers.com/showpost.php?p=51213812&postcount=14
credit to @lacoursiere18
don't forget to press his thanks button
fertamax!!
hope work jb 4.1 om
dugeriss said:
fertamax!!
hope work jb 4.1 om
Click to expand...
Click to collapse
if the framework jar smali file doesn't work on JB 4.1 .
try to use file from my JB 4.2/CM10.1 rom http://forum.xda-developers.com/showthread.php?t=2584348
also for non CyanogenMod 11, if you dont have
Settings.apk\res\xml\system_ui_settings.xml
you can put the line in other xml , eg.
display_settings.xml
system_settings.xml
etc
in doing comparisons of beanning v2 rom this can be anything not host
I hope it will work at cm11 Gt-I9082 bro..
Good job bro.... i think you should get Recognized Themer..
Adi Aisiteru Reborn said:
That's it, have a nice moding
good luck
Screenshot
youtube : http://youtu.be/y_dhcNnueB8
Click to expand...
Click to collapse
try in ics 4.04 and stay in bootlop
you think you can carry for ics?
Greetings.
uriel_zo said:
try in ics 4.04 and stay in bootlop
you think you can carry for ics?
Greetings.
Click to expand...
Click to collapse
compare CM11 stock smali with this guide smali, I use/push all Mokee 4.4. smali in this guide withoout any editting to the smali
then see what is the different.
am not sure, but as long as the line in public.xml I mention in this guide is exist in ICS public.xml , it should work.
Good luck
very nice guide
Working at CM11 Dualsim, tanks a lot bro Adi .. :good::good:
With permission from @Adi Aisiteru Reborn..
Here is all his smali that was moddified.. I made it so it compiles fine. You don't have to go through and remove any lines..
YOU do NEED to add your correct public id's though!
View attachment ListView_Settings.apk.zip
View attachment ListView_framework.jar.out.zip
Thanks again for this guide @Adi Aisiteru Reborn.. :good:
lacoursiere18 said:
With permission from @Adi Aisiteru Reborn..
Here is all his smali that was moddified.. I made it so it compiles fine. You don't have to go through and remove any lines..
YOU do NEED to add your correct public id's though!
View attachment 2639109
View attachment 2639110
Thanks again for this guide @Adi Aisiteru Reborn.. :good:
Click to expand...
Click to collapse
added to Post #4 http://forum.xda-developers.com/showpost.php?p=51174473&postcount=4
as I written in first post , this guide need :
REQUIREMENT:
- BRAIN
- Patient
- experience
Thank YOU
Thanks for the guide sir it work on my My|Phone a919i aka micromax a116 mt6589
Adi Aisiteru Reborn said:
framework.jar
1. Decompile your CM11 framework.jar
go to framework.jar\classout\android\widget\
remove all AbsListView.smali and its subs file
replace them with attached file
2. Decompile your CM11 framework-res.apk
go to \framework-res.apk\res\values\public.xml
search for this lines :
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
pay attention to the red highlight the last 5 digits of each line 0x010?????
3. open AbsListView.smali file I gave
and search for this
- const v0, 0x101006a
change the last 5 digits ids 1006a in the smali according to your own have in
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
do it too to all of line below
- const v2, 0x10301ed
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10301ee
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x10900b8
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x1080062
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0005
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0006
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0004
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0007
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0008
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0009
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a000a
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
4. Done and compile your framework.jar
Click to expand...
Click to collapse
Try it to JB 4,2, but in framework.jar nothing see framework/classout/android/widget/
A mod ? There is a simplest way to add it ! With XPosed, install XuiMod module for Xposed and enable ListView Animation in Xuimod’s options.
http://forum.xda-developers.com/showpost.php?p=46337056
Adi Aisiteru Reborn said:
framework.jar
1. Decompile your CM11 framework.jar
go to framework.jar\classout\android\widget\
remove all AbsListView.smali and its subs file
replace them with attached file
2. Decompile your CM11 framework-res.apk
go to \framework-res.apk\res\values\public.xml
search for this lines :
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
pay attention to the red highlight the last 5 digits of each line 0x010?????
3. open AbsListView.smali file I gave
and search for this
- const v0, 0x101006a
change the last 5 digits ids 1006a in the smali according to your own have in
Code:
<public type="attr" name="absListViewStyle" id="0x010[COLOR="Red"]?????[/COLOR]" />
do it too to all of line below
- const v2, 0x10301ed
Code:
<public type="style" name="Animation.TypingFilter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10301ee
Code:
<public type="style" name="Animation.TypingFilterRestore" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x10900b8
Code:
<public type="layout" name="typing_filter" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v1, 0x1080062
Code:
<public type="drawable" name="list_selector_background" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0005
Code:
<public type="anim" name="accelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0006
Code:
<public type="anim" name="decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0004
Code:
<public type="anim" name="accelerate_decelerate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0007
Code:
<public type="anim" name="anticipate_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0008
Code:
<public type="anim" name="overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a0009
Code:
<public type="anim" name="anticipate_overshoot_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
- const v2, 0x10a000a
Code:
<public type="anim" name="bounce_interpolator" id="0x010[COLOR="Red"]?????[/COLOR]" />
4. Done and compile your framework.jar
Click to expand...
Click to collapse
Succes on Stock JB 4.2 sir :good: :laugh: MTK device
Thanks for your guide
ported successfully to MIUI in my xiaomi mi3w.
:victory:
thank you