{
"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"
}
This is my circle battery mod for the international G3 (D855) running 20E or 20F systems.
The below file contains an Aroma installer: it let you choose between modded and unmodded LGSystemUI.apk-s for 20E or 20F.
The new vrtheme version can be used stock based custom (Lollipop) ROMs as well, however it does not contain an 1% battery mod. Stock steps are 5%.
Credit:
I learned how to get the 1% percentage battery from Mr.Yawnie’s Modding School. http://echoerom.com/modding-school-part-2-create-1-battery-mod/
All icons are created by myself so no others work has been used for the mod.
The numbers within the circle are designed with Cocon font. The circle changes it colors depending form the battery value.
Please do not request different colors.
If you want to learn how to create a similar mod you need to decompile LGSystemUI.apk and look at the folder data/res/drawable for the file stat_sys_battery.xml
Here is my code:
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_00" android:maxLevel="0" />
<item android:maxLevel="0">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="400" android:drawable="@drawable/stat_sys_battery_00" />
<item android:duration="400" android:drawable="@drawable/stat_sys_battery_blank" />
</animation-list>
</item>
<item android:drawable="@drawable/stat_sys_battery_01" android:maxLevel="01" />
<item android:drawable="@drawable/stat_sys_battery_02" android:maxLevel="02" />
<item android:drawable="@drawable/stat_sys_battery_03" android:maxLevel="03" />
<item android:drawable="@drawable/stat_sys_battery_04" android:maxLevel="04" />
<item android:drawable="@drawable/stat_sys_battery_05" android:maxLevel="05" />
<item android:drawable="@drawable/stat_sys_battery_06" android:maxLevel="06" />
<item android:drawable="@drawable/stat_sys_battery_07" android:maxLevel="07" />
<item android:drawable="@drawable/stat_sys_battery_08" android:maxLevel="08" />
<item android:drawable="@drawable/stat_sys_battery_09" android:maxLevel="09" />
<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>
Then look for battery_charge.xml and change it as follows:
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_blank" android:maxLevel="0" />
<item android:maxLevel="99">
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_0" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_1" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_2" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_3" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_4" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_5" />
<item android:duration="500" android:drawable="@drawable/stat_sys_battery_charge_6" />
</animation-list>
</item>
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
This is a simple solution because no different animations are created for different battery levels. If you look at the stock code you will understand what I mean.
Download:
Circle Battery Vrtheme
Circle Battery Mod
Changelog:
The new vrtheme version contains fixes: right padding, blank battery icon (no more red cross while charging), better charging animation.
Disclaimer: Download at your own risk. I am not responsible for any damage/data loss etc from flashing this mod.
Enjoy!
And do not forget to donate my work if you like it.
Looks nice! But is this mod only for pure stock rom? Because when I flashed it over your lollipop theme I get stock toggles and stock icons back. I'm running anhd 8.4 se by the way.
What can i say.. Superb job !!!
Ok its killing your lolipop theme , system UI and lilipop navbar ,Control panel is ok.
After a theme flash again, only system UI is stock. Lolipop nav bar is back.
Big up ! Im Fan !
I love your work!
Great one! I love your work so much! Always updating and clean! PS: the title says 2014
WIIstpM said:
Great one! I love your ork so much! Always updating and clean! PS: the title says 2014
Click to expand...
Click to collapse
many thanks! corrected...
thanks a lot.
D855 20F androidnow on working
New version with vrtheme modul released. This is NOT A 1% BATTERY MOD, replaces only the stock icons. Contains many fixes, see changelog.
The VR theme did not work on the V10L-EUR-XX stock rom on my D855
Any idea ?
bluedragon38 said:
The VR theme did not work on the V10L-EUR-XX stock rom on my D855
Any idea ?
Click to expand...
Click to collapse
I will correct the OP, it works only on 20 (Lollipop) ROMs.
Kickoff said:
I will correct the OP, it works only on 20 (Lollipop) ROMs.
Click to expand...
Click to collapse
Ho okay , did not notice dat :/ its possible to do it on 4.4.2 :??:
bluedragon38 said:
Ho okay , did not notice dat :/ its possible to do it on 4.4.2 :??:
Click to expand...
Click to collapse
I am on Lollipop, cannot test, but made a zip for you. Try it please.
Kickoff said:
I am on Lollipop, cannot test, but made a zip for you. Try it please.
Click to expand...
Click to collapse
No probs i will try it now i have a backup ;D i will say if its ok or not
---------- Post added at 09:27 PM ---------- Previous post was at 09:15 PM ----------
Kickoff said:
I am on Lollipop, cannot test, but made a zip for you. Try it please.
Click to expand...
Click to collapse
So it's works but when i'm recharge it , it take the old animation of battery..
I will try it during one completly day to see if color change !
return to stock battery ?
Could You PLEASE make a flashable zip for 20F to return battery to stock. Hope to do this whithout having to wipe/reflash the whole ROM.
3minit screwed my stock battery. Please help
PS. Im in AN HD 8.4 SE
.
Rastko said:
Could You PLEASE make a flashable zip for 20F to return battery to stock. Hope to do this whithout having to wipe/reflash the whole ROM.
3minit screwed my stock battery. Please help
PS. Im in AN HD 8.4 SE
.
Click to expand...
Click to collapse
Try this. You can choose between my circle battery and stock.
Thanks kickoff!
Great work mate.
Rastko said:
Could You PLEASE make a flashable zip for 20F to return battery to stock. Hope to do this whithout having to wipe/reflash the whole ROM.
3minit screwed my stock battery. Please help
PS. Im in AN HD 8.4 SE
.
Click to expand...
Click to collapse
Reflash the ROM without wiping.
I tried flashing this cause the Theme from the other thread didnt work, as im on AN 8.0, it worked but it changes the rest of the framework back to stock, and reflashing an older version of Kickoffs theme wont change it back - so i had to restore a nandroid backup
Stink.
Hello, i flashing this mod with the actually cloudy Rom (2.1). The percent from this mod is not correct and after to stock is my battery symbol lost. I have now no battery symbol. Can you help me?
Black-Angel1 said:
Hello, i flashing this mod with the actually cloudy Rom (2.1). The percent from this mod is not correct and after to stock is my battery symbol lost. I have now no battery symbol. Can you help me?
Click to expand...
Click to collapse
Reflash your ROM without wiping.
Related
Purpose : Create a live-wallpaper out of a bunch of images
Instructions :
- Download zip
- Extract zip
- Run Run.bat (follow instructions)
- Once done, install the resulting apk
Tip : Pre-attached with the zip comes the "haters gonna hate" animation, so if u want to test it, just Run.bat and enter 14 as the # of images.
Requirements :
- Java in ur environmental path (to check go start -> run -> cmd -> java -jar
Do u see "command not found" ? if so go to java.com and install it, otherwise ur fine.
Capabilities :
- Customizable live wallpaper w/o coding
- Change application name / icon
- Adjust loop invariant to ensure no skipping
- Change app description
- Now u have up to 100 images to use
- Automatically inserts the place-holders
- Change package name
- Apk produced now takes on the package name (easier to identify)
- Option to install the app to ur phone at end of script
- Added java check, it'll tell u if java is in ur path or not
- Now u have up to 300 images to use (thanks olivvv59)
- Added vista compatibility (delete's $.tmp files if they exist)
- Cleaned up the code a bit.
Note : The naming convention of the images are n01.png,n02.png,n03.png..n32...n100.png
Thanks : Goes to the andrew121 who created this link I just took his apk, modified it and made it customizable.
Heres his site : Link
once done, where do we find the .apk file?
mytouch slide
cant get ./loop running on my phone
h_zee13 said:
once done, where do we find the .apk file?
Click to expand...
Click to collapse
U'll find it in the root directory where u extracted the zip. It'll b called repackaged-signed.apk.
pbedard said:
cant get ./loop running on my phone
Click to expand...
Click to collapse
Im confused, please clarify ur post.
h_zee13 said:
once done, where do we find the .apk file?
Click to expand...
Click to collapse
pbedard said:
cant get ./loop running on my phone
Click to expand...
Click to collapse
Just realized i hadn't posted requirements, u need java on ur machine and in ur path.
Ive updated the OP so please use the "check method" and then proceed.
ok let me try again
Alright so here is a little TEST LWP
First thing I realized is that when when we add a name to the LWP, it never appears anywhere so it's useless....other than that it works great and its really easy
do you think you can make full size LWP with this? like currently its only like a static LWP...any chance to make it move when you change screens?
{
"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"
}
thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out
ogdobber said:
thats awesome! why only 49 pngs? I tried more and obviously it didn't work...
*edit nevermind I figured it out
Click to expand...
Click to collapse
dude what did you figure out? Share with us......
h_zee13 said:
dude what did you figure out? Share with us......
Click to expand...
Click to collapse
its in the >public.xml< more pngs can be added with a change here
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<public type="drawable" name="icon" id="0x7f020000" />
<public type="drawable" name="n01" id="0x7f020001" />
<public type="drawable" name="n02" id="0x7f020002" />
<public type="drawable" name="n03" id="0x7f020003" />
<public type="drawable" name="n04" id="0x7f020004" />
<public type="drawable" name="n05" id="0x7f020005" />
<public type="drawable" name="n06" id="0x7f020006" />
<public type="drawable" name="n07" id="0x7f020007" />
<public type="drawable" name="n08" id="0x7f020008" />
<public type="drawable" name="n09" id="0x7f020009" />
<public type="drawable" name="n10" id="0x7f02000a" />
<public type="drawable" name="n11" id="0x7f02000b" />
<public type="drawable" name="n12" id="0x7f02000c" />
<public type="drawable" name="n13" id="0x7f02000d" />
<public type="drawable" name="n14" id="0x7f02000e" />
<public type="drawable" name="n15" id="0x7f02000f" />
<public type="drawable" name="n16" id="0x7f020010" />
<public type="drawable" name="n17" id="0x7f020011" />
<public type="drawable" name="n18" id="0x7f020012" />
<public type="drawable" name="n19" id="0x7f020013" />
<public type="drawable" name="n20" id="0x7f020014" />
<public type="drawable" name="n21" id="0x7f020015" />
<public type="drawable" name="n22" id="0x7f020016" />
<public type="drawable" name="n23" id="0x7f020017" />
<public type="drawable" name="n24" id="0x7f020018" />
<public type="drawable" name="n25" id="0x7f020019" />
<public type="drawable" name="n26" id="0x7f02001a" />
<public type="drawable" name="n27" id="0x7f02001b" />
<public type="drawable" name="n28" id="0x7f02001c" />
<public type="drawable" name="n29" id="0x7f02001d" />
<public type="drawable" name="n30" id="0x7f02001e" />
<public type="drawable" name="n31" id="0x7f02001f" />
<public type="drawable" name="n32" id="0x7f020020" />
<public type="drawable" name="n33" id="0x7f020021" />
<public type="drawable" name="n34" id="0x7f020022" />
<public type="drawable" name="n35" id="0x7f020023" />
<public type="drawable" name="n36" id="0x7f020024" />
<public type="drawable" name="n37" id="0x7f020025" />
<public type="drawable" name="n38" id="0x7f020026" />
<public type="drawable" name="n39" id="0x7f020027" />
<public type="drawable" name="n40" id="0x7f020028" />
<public type="drawable" name="n41" id="0x7f020029" />
<public type="drawable" name="n42" id="0x7f02002a" />
<public type="drawable" name="n43" id="0x7f02002b" />
<public type="drawable" name="n44" id="0x7f02002c" />
<public type="drawable" name="n45" id="0x7f02002d" />
<public type="drawable" name="n46" id="0x7f02002e" />
<public type="drawable" name="n47" id="0x7f02002f" />
<public type="drawable" name="n48" id="0x7f020030" />
<public type="drawable" name="n49" id="0x7f020031" />
<public type="xml" name="settings" id="0x7f030000" />
<public type="xml" name="wallpaper" id="0x7f030001" />
<public type="array" name="size_names" id="0x7f040000" />
<public type="array" name="size_values" id="0x7f040001" />
<public type="string" name="app_name" id="0x7f050000" />
<public type="string" name="settings_title" id="0x7f050001" />
<public type="string" name="description" id="0x7f050002" />
<public type="string" name="preference_fps_title" id="0x7f050003" />
<public type="string" name="preference_fps_summary" id="0x7f050004" />
<public type="string" name="preference_size_title" id="0x7f050005" />
<public type="string" name="preference_size_summary" id="0x7f050006" />
</resources>
Click to expand...
Click to collapse
h_zee13 said:
Alright so here is a little TEST LWP
First thing I realized is that when when we add a name to the LWP, it never appears anywhere so it's useless....other than that it works great and its really easy
do you think you can make full size LWP with this? like currently its only like a static LWP...any chance to make it move when you change screens?
Click to expand...
Click to collapse
Ok, firstly the name changing does work, atleast on my end. The name should change when u go into the live wallpaper picker. Second, the static property is tied to the apk, remember i have not created this app, just modified it for our needs.
ogdobber said:
its in the >public.xml< more pngs can be added with a change here
Click to expand...
Click to collapse
Ur on the right path but not that easy, those are just identifiers, u still gotta implement them Dont worry i'll try to make the next version have 100 images, that should be more than enough lol
Daneshm90 said:
Dont worry i'll try to make the next version have 100 images, that should be more than enough lol
Click to expand...
Click to collapse
This would be awesome! 100 images should suffice!
Thanks and great stuff!
notxel21 said:
This would be awesome! 100 images should suffice!
Thanks and great stuff!
Click to expand...
Click to collapse
Guess wht i just did it
Gonna post it soon, yea 100 should b enough u hungry ppl
Daneshm90 said:
Guess wht i just did it
Gonna post it soon, yea 100 should b enough u hungry ppl
Click to expand...
Click to collapse
You have a Twitter account? I need to keep up and you have great stuff (mods) all over the place!
Thanks!
notxel21 said:
You have a Twitter account? I need to keep up and you have great stuff (mods) all over the place!
Thanks!
Click to expand...
Click to collapse
I do but i barely post lol. its @daneshm if ur interested.
Ugh 100 images are taking long. Just to give u an idea i have to
change stuff like this
from .field public static final n50:I = 0x7f020032 increment it all the way to
.field public static final n100:I = 0x7f020032(diff id as well)
in 3 files
Daneshm90 said:
Ok, firstly the name changing does work, atleast on my end. The name should change when u go into the live wallpaper picker. Second, the static property is tied to the apk, remember i have not created this app, just modified it for our needs.
Click to expand...
Click to collapse
K maybe i missed something....but so far everything else is good oh and yeah 100 images would be great...keep up the good work
Daneshm90 said:
I do but i barely post lol. its @daneshm if ur interested.
Ugh 100 images are taking long. Just to give u an idea i have to
change stuff like this
from .field public static final n50:I = 0x7f020032 increment it all the way to
.field public static final n100:I = 0x7f020032(diff id as well)
in 3 files
Click to expand...
Click to collapse
Totally understandable! (Take your time and much appreciated)
At least post on your mod updates on Twitter if anything at all!
Now following! (twitter)
Alright guys i posted v2.0. New features are highlighted in green. Let me know how it goes.
Daneshm90 said:
Alright guys i posted v2.0. New features are highlighted in green. Let me know how it goes.
Click to expand...
Click to collapse
Going to do a test now.
The images in the "placeimages" folder are referred to as placeholder images and must stay there when I add my own images?
Thanks!
You can make screen captures of your Galaxy R screen by pressing:
Home + Power
Post here your coolest screen capture from your Galaxy R!
Just upload it on http://imageshack.us/ and give us the link or embed it like an image.
{
"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"
}
Good idea, I'm really impressed about some people's taste. I can spend all day, and it doesn't look good enough, while others do better within one quarter.
For the very beginning, I'll share better ones soon:
wow this next alarm looks totally different on my screen, it's almost dark violet there, no idea why it looks almost like pink here.
```
it is snowing
Uploaded with ImageShack.us
Nice girls, next I'll share my screen.
---------- Post added at 06:58 PM ---------- Previous post was at 06:11 PM ----------
It's here.
Screen lock
Status bar
And how to get screenshot from CWM/other screen?
D4rKiTo said:
Screen lock
Status bar
Click to expand...
Click to collapse
Very nice....
Wanna share with the rest of us on how u got the battery meter with percentage showing ??
I know only CM Roms have that.
Cheers !
s4sixty said:
Very nice....
Wanna share with the rest of us on how u got the battery meter with percentage showing ??
I know only CM Roms have that.
Cheers !
Click to expand...
Click to collapse
Decompile /system/framework-res.apk
Add battery icons with 7-zip to framework-res.apk\res\drawable-hdpi (stat_sys_battery_1.png....stat_sys_battery_100.png)
Edit stat_sys_battery.xml and reemplace with that:
PHP:
<?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>
Recompile.
Push to phone.
There are lot guides on xda to do all this.
Rejwen said:
And how to get screenshot from CWM/other screen?
Click to expand...
Click to collapse
press the HOME and the power button on the same time
---------- Post added at 01:16 AM ---------- Previous post was at 01:11 AM ----------
Status bar transparent
polomalkin said:
it is snowing
Uploaded with ImageShack.us
Click to expand...
Click to collapse
WOW man is this transparent status bar???
nedooo said:
WOW man is this transparent status bar???
Click to expand...
Click to collapse
Yes. Transparent.
And -16...
Hehe
legion1911 said:
Yes. Transparent.
And -16...
Hehe
Click to expand...
Click to collapse
How to get transparent status bar?
Please
~~~
no transparent! it is a program (from russian forum) that shows the snow on top of all applications. )) F.E. I play GTA III and it is snowing and frost at the corners of the screen ))) +Live wall "Luma".
Well, a messy desktop...
I hope you like my customization ;-)
Salu2,
Siwy ;-)
Enviado desde mi mákina usando trakatrá...
D4rKiTo said:
Screen lock
Status bar
Click to expand...
Click to collapse
Nice one, D4rKiTo...
my simple desktop ...
Uploaded with ImageShack.us
How to increase the font size?
Not with a App! I need it for my rom ...
I need a how to ;-)
Cheers DQiB
Sent from my GT-S5670 using XDA
i don no how to for a rom but do for an app even without root
Spare parts pro wil do it
Maybe romtool box will help you,!!!
Sent from my GT-S5670 using XDA
Font size in style.xml of framework-res or twframework-res
But Mostly it is in style.xml or in side a xml in layout-abcxyz folder of each apk
Detail:
with system apk: most using style in framework
So just find TextAppearance and change font size
Code:
<style name="TextAppearance.Medium" parent="@style/TextAppearance">
<item name="textSize">[COLOR="Red"]18.0sp[/COLOR]</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
</style>
If an apk dont use style.xml to define font side, you have to change font size in layout folder
Code:
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="76.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<TextView android:textSize="[COLOR="red"]12.0dip[/COLOR]" android:textStyle="bold" android:textColor="#ff000000" android:lineSpacingExtra="-5.0dip" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="45.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:scaleType="fitXY" />
</FrameLayout>
This guide will show how to add some extra information in about device menu with header category..
Needed tools:
1) APK decompiler tool (and ability to use it). You can download APK-Multi-Tool from here.
2) Notepad++ for xml editing from here.
3) OREO biscuit to make you high :cyclops:
The method:
- Decompile SecSettings.apk
- Navigate to res\values\ folder and open strings.xml file by Notepad++ and keep it open, we will need it later.
- Navigate to res\xml\ folder and open device_info_settings.xml file by Notepad++.
Now, I will divide the tutorial into 2 sections..
Section One: Adding header category for about device menu.
{
"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"
}
- In device_info_settings.xml, at the top, do these changes (remove the red > and add blue lines):
before:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"[B][COLOR="Red"]>[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
after:
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android"
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
Explaination: we added header category with dummy key reference.
- Now we need to add strings resources, open strings.xml and add this line string resource before </resources> line:
Code:
<string name="about_gen">[B][COLOR="Green"]General information[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section one.
Section Two: Adding About ROM new information.
- In device_info_settings.xml, go to the end and add these lines before </PreferenceScreen> line:
Code:
<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>
N.B: all referred android:key here are dummy ones; i.e, don't do anything and it can be anything since it has no reference. You can't delete android:key; it must be there to prevent code fragmentation.
Click to expand...
Click to collapse
- Now we need to add strings resources, open strings.xml and add these lines string resources before </resources> line:
Code:
<string name="rom_info">[B][COLOR="Green"]About ROM[/COLOR][/B]</string>
<string name="rom_name">[B][COLOR="Green"]ROM name[/COLOR][/B]</string>
<string name="rom_name_details">[B][COLOR="Green"]GloryROM[/COLOR][/B]</string>
<string name="rom_ver">[B][COLOR="Green"]ROM version[/COLOR][/B]</string>
<string name="rom_ver_details">[B][COLOR="Green"]v4.5 with Multi-Languages and Multi-CSC[/COLOR][/B]</string>
<string name="rom_date">[B][COLOR="Green"]Release date[/COLOR][/B]</string>
<string name="rom_date_details">[B][COLOR="Green"]March 2013[/COLOR][/B]</string>
<string name="rom_developer">[B][COLOR="Green"]ROM developer[/COLOR][/B]</string>
<string name="rom_developer_name">[B][COLOR="Green"]majdinj - xda.developers.com[/COLOR][/B]</string>
<string name="dev_thanks">[B][COLOR="Green"]Thanks to[/COLOR][/B]</string>
<string name="dev_thanks_name">[B][COLOR="Green"]ThaiDai for his ML ROM base[/COLOR][/B]</string>
You can change the green color text to whatever you want to display
Click to expand...
Click to collapse
- We have finished from section two.
- Save changes.
Now recompile your SecSettings.apk, push it to your phone, fix permissions (644) and reboot.
So what to do now.. nothing except to eat OREO.. mm
The secret:
Anyone else could do this mod. If you just looked into other xml files, you will figure out how it is done. Here, I used accessibility_settings.xml and display_settings.xml as my references to achieve this..!!
If you think you are lost from all these information, here is my device_info_settings.xml; you can use it as a template for you..
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings" android:key="about_device"
xmlns:android="http://schemas.android.com/apk/res/android" [B][COLOR="Green"]<!---- I removed [COLOR="Red"]>[/COLOR] sign from this line[/COLOR][/B]
[B][COLOR="Blue"]xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/about_gen" android:key="dummy_gen" />[/COLOR][/B]
<PreferenceScreen android:title="@string/help_title" android:key="help" android:summary="@string/help_title_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.HelpActivity" />
</PreferenceScreen>
<Preference android:title="@string/software_version" android:key="software_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version_spr" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings" android:fragment="com.android.settings.SoftwareUpdateSettings" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="software_update_settings_no_subtree" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_na_gsm" />
<PreferenceScreen android:title="@string/software_update_settings_list_item_title" android:key="system_update_settings_vzw">
<intent android:action="android.intent.action.OMADM.UPDATE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_system_update_settings_list_item_title" android:key="additional_system_update_settings">
<intent android:targetPackage="@string/additional_system_update" android:action="android.intent.action.MAIN" android:targetClass="@string/additional_system_update_menu" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/diagnostics_and_usage_title" android:key="diagnostics_and_usage">
<intent android:action="android.intent.action.SAMSUNG_CRASHREPORT_SETTING" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/device_status" android:key="status_info" android:summary="@string/device_status_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.deviceinfo.Status" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/epush_settings" android:key="ctc_epush">
<intent android:targetPackage="com.ctc.epush" android:action="android.intent.action.MAIN" android:targetClass="com.ctc.epush.IndexActivity" />
</PreferenceScreen>
<Preference android:title="@string/sprint_4g_settings" android:key="sprint_4g_settings" android:fragment="com.android.settings.deviceinfo.Sprint4GSettings" />
<PreferenceScreen android:title="@string/legal_information" android:key="container">
<PreferenceScreen android:title="@string/copyright_title" android:key="copyright">
<intent android:action="android.settings.COPYRIGHT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_title" android:key="license">
<intent android:action="android.settings.LICENSE" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/terms_title" android:key="terms">
<intent android:action="android.settings.TERMS" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/privacy_alert" android:key="privacy_alert">
<intent android:action="android.settings.PRIVACY_ALERT" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/license_settings" android:key="divx_license_settings">
<intent android:action="android.intent.action.DIVX_LICENSE_SETTINGS" />
</PreferenceScreen>
</PreferenceScreen>
<PreferenceScreen android:title="@string/settings_safetylegal_title" android:key="safetylegal">
<intent android:action="android.settings.SAFETY" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/activate_this_device" android:key="telespree_activation">
<intent android:action="com.telespree.android.client.ssa" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/label_settings" android:key="key_label_settings" />
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/installed_variant_version" android:key="installed_variant_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/hardware_version" android:key="hardware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="United Arab Emirates" android:key="country_certification_info" android:summary="TRA ID : 0016333/08\nTA : 000000000/00" style="?android:preferenceInformationStyle" />
[B][COLOR="Blue"]<PreferenceCategory android:title="@string/rom_info" android:key="dummy_key">
<Preference android:title="@string/rom_name" android:key="rom_name" android:summary="@string/rom_name_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_ver" android:key="rom_ver" android:summary="@string/rom_ver_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_date" android:key="rom_date" android:summary="@string/rom_date_details" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:key="rom_developer" android:summary="@string/rom_developer_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/dev_thanks" android:key="dev_thanks" android:summary="@string/dev_thanks_name" style="?android:preferenceInformationStyle" />
</PreferenceCategory>[/COLOR][/B]
</PreferenceScreen>
Cheers
Thanks mate.
Really useful
Works perfect.
Thanks.
Thanks a lot dude !!!!
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Thank you. majdini great. now my ego is flying! :laugh:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
mjrifath said:
Thanks mate.
Really useful
Click to expand...
Click to collapse
kenet said:
Works perfect.
Thanks.
Click to expand...
Click to collapse
Thanks for testing.
Immortal Nerd said:
Thanks a ton to satisfy my ego , Now you are the one who I can blame for adding a bit more ego to this attitude !!! :silly: :highfive:
Click to expand...
Click to collapse
asmanao said:
Thank you. majdini great. now my ego is flying! :laugh:
Click to expand...
Click to collapse
wow, ego just did its magic
kmokhtar79 said:
Thanks majdini for your guides, really helpful, just wondered why not offering your apk-multi-tools pack, I am always using it and have never had any problem with. Thanks again for your utilities, tools and mods. :good:
Click to expand...
Click to collapse
Mine is only repacked of stable java files at that time, but the actual tool was written by the inventor of APK multi-tool manager. I am still using my repack by the way but the new APK multi-tool manager has new features that deserve trying,,, by this way I think it is fair for the developer, so you can thank him for his master piece.
Samsung Note 3 clock widget on lockscreen .
Description
{
"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"
}
Steps
1.) Decompile framework-res.apk
2.) Download s4clokwidget.zip ,get the pngs and put it inside res/drawable of framework.
3.) Go to res/values/ids.xml and open it. And BEFORE </resources> put this code:
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
[COLOR=Red]<item type="id" name="first_digital">false</item>
<item type="id" name="second_digital">false</item>
<item type="id" name="dot_digital">false</item>
<item type="id" name="third_digital">false</item>
<item type="id" name="fouth_digital">false</item>
<item type="id" name="current_date">false</item>
<item type="id" name="time2">false</item>[/COLOR]
</resources>
and go to res/value/bool.xml open it add this code
<bool name="config_lock_screen_battery_animation_horizontal">true</bool>
Click to expand...
Click to collapse
before resources.
Now layout step
open res/layout/keyguard_screen_unlock_portrait.xml :
search for this
Code:
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="15.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="70.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="18.0sp" android:ellipsize="none" android:gravity="bottom" android:id="@id/am_pm" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="4.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
</com.android.internal.widget.DigitalClock>
Replace it with
Code:
<com.ninjask.internal.policy.impl.LockScreenDigitalClock android:gravity="center" android:layout_gravity="center" android:orientation="vertical" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="25.0dip">
<LinearLayout android:id="@id/time2" android:layout_width="wrap_content" android:layout_height="58.0dip" android:layout_marginTop="40.0dip" android:layout_alignParentTop="true" android:layout_centerHorizontal="true">
<ImageView android:id="@id/first_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/second_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/dot_digital" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/zzz_unlock_clock_colon_s" />
<ImageView android:id="@id/third_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
<ImageView android:id="@id/fouth_digital" android:layout_width="wrap_content" android:layout_height="58.0dip" />
</LinearLayout>
<TextView android:textSize="21.0sp" android:textColor="#fff0ffbb" android:gravity="center" android:id="@id/current_date" android:layout_width="fill_parent" android:layout_height="wrap_content" android:shadowColor="#ff000000" android:shadowDx="0.0" android:shadowDy="1.0" android:shadowRadius="2.5" android:layout_below="@id/time2" android:layout_alignParentTop="true" />
</com.ninjask.internal.policy.impl.LockScreenDigitalClock>
</LinearLayout>
4.) Save and recompile it THEN get the recompiled framework-res.apk and decompile it AGAIN.
5.)Open framework-res/res/values/public.xml and REMEMBER this codes:
Code:
<public type="id" name="first_digital" id="public1" />
<public type="id" name="second_digital" id="public2" />
<public type="id" name="third_digital" id="public3" />
<public type="id" name="fouth_digital" id="public4" />
<public type="id" name="current_date" id="public5" />
<public type="string" name="full_wday_month_day_no_year" id="public6" />
<public type="bool" name="config_lock_screen_battery_animation_horizontal" id="public7" />
<public type="drawable" name="zzz_unlock_clock_0" id="clock0" />
<public type="drawable" name="zzz_unlock_clock_1" id="clock1" />
<public type="drawable" name="zzz_unlock_clock_2" id="clock2" />
<public type="drawable" name="zzz_unlock_clock_3" id="clock3" />
<public type="drawable" name="zzz_unlock_clock_4" id="clock4" />
<public type="drawable" name="zzz_unlock_clock_5" id="clock5" />
<public type="drawable" name="zzz_unlock_clock_6" id="clock6" />
<public type="drawable" name="zzz_unlock_clock_7" id="clock7" />
<public type="drawable" name="zzz_unlock_clock_8" id="clock8" />
<public type="drawable" name="zzz_unlock_clock_9" id="clock8" />
REMEMBER THIS: when you remeber the public ids, remove the 0 next to x, (FOR EXAMPLE: 0x01234567 change it to this: 0x1234567).
6.) Decompile android.policy.jar.
7.) Download ninjask.zip and extract it to smali folder.
8.) Now..... (I hate this ids ids ids... xD) Open LockScreenDigitalClock.smali FIND this line and REPLACE the highlighted code:
Code:
const v2, [COLOR=Red]0x108048b[/COLOR]
REPLACE 0x 0x108048b with your YOUR clock0
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048c[/COLOR]
REPLACE 0x108048c with your YOUR clock1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048d[/COLOR]
REPLACE 0x108048d with your YOUR clock2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, [COLOR=Red]0x108048e[/COLOR]
REPLACE 0x 0x108048ewith your YOUR clock3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]108048f [/COLOR]
REPLACE 0x 0x108048f with your YOUR clock4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080490 [/COLOR]
REPLACE 0x 0x1080490 with your YOUR clock5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080491 [/COLOR]
REPLACE 0x 0x1080491 with your YOUR clock6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080492 [/COLOR]
REPLACE 0x 0x1080492 with your YOUR clock7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080493 [/COLOR]
REPLACE 0x 0x1080493 with your YOUR clock8
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v2, 0x[COLOR=Red]1080494 [/COLOR]
REPLACE 0x 0x1080494 with your YOUR clock9
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v8, 0x[COLOR=Red]10400a7 [/COLOR]
REPLACE 0x10400a7 with your YOUR public6
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020254 [/COLOR]
REPLACE 0x1020254 with your YOUR public1
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020255 [/COLOR]
REPLACE 0x1020255 with your YOUR public2
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020257 [/COLOR]
REPLACE 0x1020257 with your YOUR public3
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020258 [/COLOR]
REPLACE 0x1020258 with your YOUR public4
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v0, [COLOR=Red]0x1020259 [/COLOR]
REPLACE 0x1020259 with your YOUR public5
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
Code:
const v1, [COLOR=Red]0x10d0021 [/COLOR]
REPLACE 0x10d0021 with your YOUR public7
Click to expand...
Click to collapse
THEN AFTER THAT, FIND THIS LINE AND ALSO REPLACE THE HIGHLIGHTED CODE:
Click to expand...
Click to collapse
9.) Save LockScreenDigitalClock.smali.
10.) Almost There! recompile android.policy.jar.
11.) Flash your recompiled android.policy.jar and framework-res.apk
12.) If it works, JUMP! if not, tell me, maybe i forgot somethin
I provided this flashable zip you can use it for your Flashing lockscreen (FLASHABLE.ZIP)
Now thread is updated:fingers-crossed:
1 .if you are using my work so plz give me credit . because i spend many night and days for getting success.
and
If you are porting this guide to To another inform me first . then i will create a seprate guide for your device.
by giving you credit and tester
nice guide trying tommorow
Great JOB
awesome guide bro
trying now & let me inform u whats the result:laugh:
no link to download s4clokwidget.zip... ¿?
soory now link updated
Carl_47 said:
no link to download s4clokwidget.zip... ¿?
Click to expand...
Click to collapse
sorry link updated now
No more of it...??
Wanna try it in A63..!!