[GUIDE] ICS HOLO SPINNERS! For GB - ACE[5830/5830i]/ACE DUOS/ Y / Y DUOS - Galaxy Ace S5830 Themes and Apps

WELCOME HERE!!!
I PRESENT YOU ALL - HOLO ICS Spinner for ACE/ACE DUOS/Y/Y DUOS And any one with gingerbread.
I am sure 90% This will work on all devices that are running below 4.0.[ICS] , as ics have , but we dont.
credits- i have learned the codes from hyperdroid team for makin the animation smooth for the ginger bread devices.
but then i discovered that why HOLO cant be implemented on our deivces??
i went through the "whatsapp" that had ics holo spinner [ as u have noticed and u loved it!]
{
"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"
}
READ THE PROCEDURE PROPERLY, Failing to this will cause boot loop. Dont try if are a noob. You should know about compiling process properly.
PRE- REQUIREMENT :​-rooted
-notepad++
-some knowledge of xml editing to tweak urself
-knowledge of decompile/recompile
-backup current framework-res.apk in case u pushed unproperly compiled apk
-dont forget to copy metainf folder / android manifiest.xml from orignal framework to modded [ using 7.zip ]
-permissions set to rw-r--r-- after pushing
-copy icons to / framework-res/res/drawable-mdpi
--------------------------------------------------------------------------------------------------------------
codes:
open / framework-res/res/drawable/*******_****.xml : [name as below]
--------------------------------------------------------------------------------------------------------------
After opening XML replace whole code with this one . follow in all XMLs.
You have to edit 6 xmls.
progress_large.xml AND progress_large_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
progress_medium_xml AND progress_meduim_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_48_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_48_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
progress_small.xml AND progress_small_whie.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_16_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_16_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
Now , Copy the icons attached below to framework-res/res/drawable-mdpi
Now Recompile, AFTER THAT OPEN ORIGNAL AND MODDED [UNSIGNEDXXX.APK] IN 7ZIP AND COPY METAINF FOLDER AND ANDROID MANIFIEST.XML FROM ORIGNAL TO MODDED. Rename the modded.
Push to system / framework/ "here"
Set permissions to rw-r--r-- after pushing
Restart....
----------------------------------------------------------------------------------------------------------------
here ="@drawable/spinner_xx_xxxxx_holo represents :
xx= icon which is to be used ; u can change icons of ur choice and put it here and change the name.
<rotate .../> - tells the icon to be rotated from which degree to which.
This is very simple , and u can change it as according to you.
---------------------------------------------------------------------------------------------------------------
--------------FUTURE UPDATE MAY INCLUDE SMOOTH ANIMATION----------------
I am currently using:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<animated-rotate android:drawable="@drawable/spinner_black_76" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="25" android:framesCount="48"
xmlns:android="http://schemas.android.com/apk/res/android" />
Here -
android:frameDuration="25" android:framesCount="48" - gives smooth animation to ur icons.
for this i will attach the ready made xmls. [NON -HOLO]
This are not holo ; this are the modded for smooth animation and this will not give holo look.
to get holo look u have to use the above codes.
About Attachment - non-holo Those who just want to change icons and smooth animation use xml provided. THOSE WHO WANT REAL ICS SPINNERS , FOLLOW ABOVE PROCESS
If u like my work , share ur click on THANKS ..:fingers-crossed::fingers-crossed::laugh:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<animated-rotate android:drawable="@drawable/spinner_16_outer_holo" android:pivotX="50.0%" android:pivotY="50.0%" android:frameDuration="25" android:framesCount="48"
xmlns:android="http://schemas.android.com/apk/res/android" />
I implemented the
Code:
android:frameDuration="25" android:framesCount="48"
in
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_16_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_16_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
But not effective , i will update once i get that work too.

Try looking into build.prop tweaks for animation?
Sent from my SPH-M580BST using Tapatalk 2

ciscogee said:
Try looking into build.prop tweaks for animation?
Sent from my SPH-M580BST using Tapatalk 2
Click to expand...
Click to collapse
no , its in this xmls only.
when I use 'animate-rotation', it works .
but when I use same in <layer>
it dont
www.dadabhagwan.org

nice guide mate !! :good:

Tell here , if its working in lower end phones too..!! do more people get ics look.
www.dadabhagwan.org

Would it work just by renaming your files after the old files and replacing them?

mathm2013 said:
Would it work just by renaming your files after the old files and replacing them?
Click to expand...
Click to collapse
the files which I have attached are not for dual circle , they are for single circle.
if u just want animation smooth, replace d files and recompile.
if u want ics , file d process.
dont forget to hit thanks!
www.dadabhagwan.org

i can't recompail the apk...

icspanneer said:
i can't recompail the apk...
Click to expand...
Click to collapse
you must have done some editing error..
www.dadabhagwan.org

mjp93 said:
you must have done some editing error..
www.dadabhagwan.org
Click to expand...
Click to collapse
no.. dude..
my editing is correctly ....
my "progress_large.xml"is
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>

icspanneer said:
no.. dude..
my editing is correctly ....
my "progress_large.xml"is
Code:
<?xml version="1.0" encoding="utf-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate android:drawable="@drawable/spinner_72_outer_holo" android:fromDegrees="0.0" android:toDegrees="1080.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@drawable/spinner_72_inner_holo" android:fromDegrees="720.0" android:toDegrees="0.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
</layer-list>
Click to expand...
Click to collapse
Please give your log of multi tool
www.dadabhagwan.org

mjp93 said:
Please give your log of multi tool
www.dadabhagwan.org
Click to expand...
Click to collapse
here this error....
Code:
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework>apktool b fram
ework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_large.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_76_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_large_white.xml:2: error: Error: No resource found that ma
tches the given name (at 'drawable' with value '@drawable/spinner_76_inner_holo'
).
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_medium.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_48_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_medium_white.xml:2: error: Error: No resource found that m
atches the given name (at 'drawable' with value '@drawable/spinner_48_inner_holo
').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small.xml:2: error: Error: No resource found that matches
the given name (at 'drawable' with value '@drawable/spinner_16_outer_holo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small_titlebar.xml:2: error: Error: No resource found that
matches the given name (at 'drawable' with value '@drawable/spinner_16_inner_ho
lo').
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\
res\drawable\progress_small_white.xml:2: error: Error: No resource found that ma
tches the given name (at 'drawable' with value '@drawable/spinner_16_inner_holo'
).
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 10, --target-sdk-version, 10, -F, C:\Users\Panneer\AppData\Local\Te
mp\APKTOOL2541621921937326722.tmp, -x, -S, C:\Users\Panneer\Downloads\Compressed
\VET_v4.2_NTP_14MB\framework\framework-res\res, -M, C:\Users\Panneer\Downloads\C
ompressed\VET_v4.2_NTP_14MB\framework\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:
\Users\Panneer\AppData\Local\Temp\APKTOOL2541621921937326722.tmp, -x, -S, C:\Use
rs\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-res\res, -
M, C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework\framework-r
es\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 10, --target-sdk-version, 10, -F, C:\Users\Panneer\AppData\Local\Temp
\APKTOOL2541621921937326722.tmp, -x, -S, C:\Users\Panneer\Downloads\Compressed\V
ET_v4.2_NTP_14MB\framework\framework-res\res, -M, C:\Users\Panneer\Downloads\Com
pressed\VET_v4.2_NTP_14MB\framework\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Panneer\Downloads\Compressed\VET_v4.2_NTP_14MB\framework>

There is no problem in recompiling .. I'll be there is a problem in the framework you are not correctly installed..
www.dadabhagwan.org

mjp93 said:
There is no problem in recompiling .. I'll be there is a problem in the framework you are not correctly installed..
www.dadabhagwan.org
Click to expand...
Click to collapse
okay got it...

Error
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'choose_sim' has no default translation in B:\apktool\fram
ework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
B:\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in B:\apktool\
framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in B:\apktool\fr
amework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
Exception in thread "main" B:\apktool\framework-res\res\drawable\progress_large.
xml:5: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large.xml:8: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/spi
nner_72_inner_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:5: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:8: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_inner_holo').
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590
.tmp, -x, -S, B:\apktool\framework-res\res, -M, B:\apktool\framework-res\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590.tmp, -x, -S, B:\apkto
ol\framework-res\res, -M, B:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??

ardelsan said:
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has chat.... brut.util.OS.exec(OS.java:83)
at
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??
Click to expand...
Click to collapse
I can't do it, but can hint you that - you have not copied the icons on the required folder - error says that given resources are missing, if you don't know then copy icons in all resources folder.
I can't help you because I have no tools to do as I have corrupted my hard drive and I am at great loss
ParanoidAndroid | i9300
www.dadabhagwan.org

ardelsan said:
B:\apktool>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'choose_sim' has no default translation in B:\apktool\fram
ework-res\res; found: zh_CN
aapt: warning: string 'global_action_reboot_phone' has no default translation in
B:\apktool\framework-res\res; found: zh_CN
aapt: warning: string 'reboot_confirm' has no default translation in B:\apktool\
framework-res\res; found: zh_CN
aapt: warning: string 'reboot_phone' has no default translation in B:\apktool\fr
amework-res\res; found: zh_CN
aapt: warning: string 'reboot_progress' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
aapt: warning: string 'sim1_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim2_not_standby' has no default translation in B:\apktoo
l\framework-res\res; found: zh_CN
aapt: warning: string 'sim_not_standby' has no default translation in B:\apktool
\framework-res\res; found: zh_CN
Exception in thread "main" B:\apktool\framework-res\res\drawable\progress_large.
xml:5: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large.xml:8: error: Error: No res
ource found that matches the given name (at 'drawable' with value '@drawable/spi
nner_72_inner_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:5: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_outer_holo').
B:\apktool\framework-res\res\drawable\progress_large_white.xml:8: error: Error:
No resource found that matches the given name (at 'drawable' with value '@drawab
le/spinner_72_inner_holo').
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590
.tmp, -x, -S, B:\apktool\framework-res\res, -M, B:\apktool\framework-res\Android
Manifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Nicx_14\AppData\Local\Temp\APKTOOL2050733108139731590.tmp, -x, -S, B:\apkto
ol\framework-res\res, -M, B:\apktool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Help me.. can you mod my framework-res.apk for me.. please.. can you do it??
Click to expand...
Click to collapse
Firstly have you installed the framework before continuing decompiling it?
I suggest you to use APK Multi Tool as its eaiser and has much more features.

good app

Related

[MOD][GUIDE][ICS][JB] Multi Mods Guide | Updated 26/05/13

Hi guys,
To enable these mods you need:
apktool 1.5.2 or the latest APK Manager
smali/baksmali
Knowledge of decompiling/recompiling
knowledge of how to read logcats
framework-res.apk
services.jar
SecSettings.apk
SecSettingsProvider.apk
framework-res.apk
Navigate to: /res/values/bools.xml
On Screen Nav Buttons (GNexus Style):
Code:
[CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
4 Way Rotation:
Code:
[CENTER]<bool name="config_allowAllRotations">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_allowAllRotations">[COLOR="red"]true[/COLOR]</bool>[/CENTER]
Lock Screen Rotation:
Code:
[CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]true[/COLOR]</bool>[/CENTER]
and
Code:
[CENTER]<bool name="lockscreen_isPortrait">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
change to
Code:
[CENTER]<bool name="lockscreen_isPortrait">[COLOR="red"]false[/COLOR]</bool>[/CENTER]
Disable Keyboard Switch In StatusBar When Typing
Code:
[CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="red"]false[/COLOR]</bool>[/CENTER]
Unplugging From USB doesn't Turn Screen On
Code:
[CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]true[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]false[/COLOR]</bool>[/CENTER]
To remove 'Unlock lockscreen with menu key' For AOSP Lockscreen:
Code:
[CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
To remove Help Overlay for Touchwiz Lockscreen:
Code:
[CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
To permanently disable Multi Windows:
Code:
[CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Brightness Values:
res/values/arrays
Change the following values (Taken from mattiadj's brightness fix thread - thanks)
Code:
<integer-array name="config_autoBrightnessLevels">
<item>0</item>
<item>1</item>
<item>20</item>
<item>150</item>
<item>400</item>
<item>800</item>
<item>1500</item>
<item>3000</item>
<item>6000</item>
<item>9000</item>
<item>15000</item>
</integer-array>
<integer-array name="config_autoBrightnessHysteresisLevels">
<item>0</item>
<item>2</item>
<item>50</item>
<item>110</item>
<item>320</item>
<item>900</item>
<item>2000</item>
<item>6000</item>
<item>8000</item>
<item>10000</item>
<item>12000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>30</item>
<item>30</item>
<item>50</item>
<item>60</item>
<item>80</item>
<item>100</item>
<item>120</item>
<item>150</item>
<item>190</item>
<item>210</item>
<item>230</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>255</item>
<item>200</item>
<item>100</item>
<item>0</item>
<item>0</item>
</integer-array>
<integer-array name="config_autoBrightnessKeyboardBacklightValues ">
<item>255</item>
<item>200</item>
<item>100</item>
<item>0</item>
<item>0</item>
</integer-array>
SecSettingsProvider.apk
To enable installation of non market (3rd party) apps by default:
Navigate to: /res/values/bools.xml
Code:
[CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
To disable the lockscreen completely:
Code:
[CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
To enable Wifi from boot:
Code:
[CENTER]<bool name="def_wifi_on">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]
Change to:
Code:
[CENTER]<bool name="def_wifi_on">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]
SecSettings.apk
To enable Device Status Info "Normal" Instead Of "Modified":
Navigate to: smali/com/android/settings/deviceinfo/Status.smali
Search for:
Code:
.method private changeSysScopeStatus()V
Change entire method to:
Code:
.method private changeSysScopeStatus()V
.locals 2
const-string v0, "sysscope_status"
invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
move-result-object v0
const v1, [COLOR="deepskyblue"]0x7f090128 #sysscope_normal[/COLOR]
invoke-virtual {p0, v1}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
return-void
.end method
Now navigate to /res/values/public
Search for "sysscope_normal" (Without quotes) - take the 0x7 number associated with it and paste it over the number in the above code with #sysscope_normal at the side of it (the one given isn't correct for your phone)
services.jar
To disable signature checks on system apps:
Navigate to: /smali/com/android/server/pm
Search for
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
Change entire method to:
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.locals 7
const-string p0, "DSA:"
const-string p1, "Skip signatures check"
invoke-static {p0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
const/4 v6, 0x0
return v6
.end method
I'll be adding more mods to this over the coming weeks
Please no more requests for ICS/Stock animations, thats not what this thread is for
Update 26/05/13
framework-res.apk:
Added mod for disabling help overlay on Touchwiz lockscreen
Added brightness fix values
Added mod to disable MultiWindow
SecSettingsProvider.apk:
- Enable Wifi from boot
- Install non market apps by default
- To disable the lockscreen completely
SecSettings.apk:
- To enable Device Status Info "Normal" Instead Of "Modified"
Services.jar:
- To disable signature checks on system apps
Update 24/01/13
Added mod for AOSP Lockscreen menu key disable
Reuploaded APK Manager folder for users (Includes apktool 1.5.1 and latest relevant aapt)​
Thanks:
jovy23
Wanam
Mattiadj​
Darkside Agent said:
Hi, i couldn't find this posted anywhere so i thought i would share it
To enable 4 way lockscreen rotation & 4 way screen rotation you need:
Working ics apktool (google it, theres plenty on xda)
framework-res.apk from any deodexed ICS ROM (preferably with ICS lockscreen)
Setup i am using:
Apex launcher
Apex screen rotation set to auto rotate
ICS Lockscreen (Not tested on stock)
Decompile framework-res.apk
Navigate to: /res/values/bools.xml
Recompile.
When recompiling with apktool, you should get an error message just before it finishes the build. When its finished, ignore the created .apk and navigate to C:\Users\'your name'\framework-res\build\apk - take the resources.arsc from that folder, open your existing framework-res.apk with winzip/winrar etc and paste the resources.arsc over the existing one
Done, you now have 4 way lockscreen rotation & 4 way screen rotation
Click to expand...
Click to collapse
Nice one DSA
no worries, always glad to share
Nice
I will include this Mod to my script "new version" if you may
Thnak you.
go for it dude, enjoy!
OP updated with CRT and SIP mods
enjoy
OP updated with new mods
If anyone has problems performing these mods, let me know and i will do it for you
Thanx, always nice to have the mods collected in one place.
Darkside Agent said:
OP updated with new mods
If anyone has problems performing these mods, let me know and i will do it for you
Click to expand...
Click to collapse
I'll take you up on that one OP, I'm trying to do the CRT, disable the keyboard icon on notification
I decompile the apk and made the necessary changes to the xml file, but when I try to compile it again I get several errors and while I can get a general idea of what do they say I don't know how to solve them, could you help me with this?
Hi
Have you followed the instruction regarding recompiling? ie ignore the error...Have you copied the resource.arsc file over?
If you are still having issues, upload the framework file and i will sort it
Hey mate, I take it these steps would work on a custom rom. Looking to add the CRT effect and disable the ime switcher on Crysis Sensation rom.
Don't see why not...give it a go and report back!
I stopped because the option for the CRT effect was already set in the roms framework, although it doesn't work so god knows lol
Have you turned animations off in the developer settings?
Genius lol. On another note, would you have any idea why the screen flashes with the crt effect sometimes. Might just leave it off, kinda annoying when it happens lol
Do you mean it flashes when you lock the screen? I think it's related to open apps or internet connection..but I'm not sure...
Very nice, thanks you .
Still no good, I used my laptop to try again with a fresh install of the sdk and still nothing...
Code:
C:\ICS Apktool>apktool d c:\framework-res.apk c:\frame
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\ICS Apktool>apktool b c:\frame
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation
in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
c:\frame\res\values\plurals.xml:79: error: Multiple substitutions specified in n
on-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is
expected
c:\frame\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plur
als> is expected
c:\frame\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plur
als> is expected
c:\frame\res\values-es\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals>
is expected
c:\frame\res\values-pt\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals>
is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Mario\AppData\Local\Temp\A
PKTOOL8803180150134749875.tmp, -x, -S, c:\frame\res, -M, c:\frame\AndroidManifes
t.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Mario\AppData\Local\Temp\APKTOOL8803180150134749875.tmp, -x, -S, c:\frame\r
es, -M, c:\frame\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Kirot said:
Still no good, I used my laptop to try again with a fresh install of the sdk and still nothing...
Code:
C:\ICS Apktool>apktool d c:\framework-res.apk c:\frame
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\ICS Apktool>apktool b c:\frame
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation
in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
c:\frame\res\values\plurals.xml:79: error: Multiple substitutions specified in n
on-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values\plurals.xml:79: error: Found tag where is
expected
c:\frame\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rGB\plurals.xml:79: error: Found tag where is expected
c:\frame\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rUS\plurals.xml:79: error: Found tag where is expected
c:\frame\res\values-es\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-es\plurals.xml:79: error: Found tag where
is expected
c:\frame\res\values-pt\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-pt\plurals.xml:79: error: Found tag where
is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Mario\AppData\Local\Temp\A
PKTOOL8803180150134749875.tmp, -x, -S, c:\frame\res, -M, c:\frame\AndroidManifes
t.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Mario\AppData\Local\Temp\APKTOOL8803180150134749875.tmp, -x, -S, c:\frame\r
es, -M, c:\frame\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Click to expand...
Click to collapse
Instead of using c:/ framework path, just create cmd shortcut in the folder where you copied apktool
Then simply,
Apktool d framework-res.apk
And
Apktool b framework-res.apk
Sent from my GT-I9100 using xda premium
Big thanks for this howto and the mod.
Question, do you know how to implement notification toggles
in systemui like AOKP to enable / disable wlan, gps etc?
Realy thanks

[How-To]Center Lockscreen Clock on ICS and Jellybean 2 different mods 8/17/12

Lockscreen center clock mods.​
If you are using CM9/CM10 and would like to replace the weather images like I have, I will place instructions at the bottom of this post and attach the images.
Ok you will need to know this first:
1. How to decompile and compile the framework "This is not a how to for that" I will provide links to my tools!
2. How to ADB push or use 7zip to place your modded framework to an update.zip. I will provide a base to use to flash it in recovery after you mod your framework"
3. Edit XML's
That's it!!!
The reason behind doing a how to is because Frameworks change all the time with rom updates and phones all have different values in framework.
If you don't know how to do those things, please learn that before posting questions!!!! "Google is a wonderful thing"
SIMPLE MOD 1​
This is a mod that's easy to make but I only have the values for the Gnex sized screens:
I got this mod from here: [GUIDE][05 AUG] How To Make Lock Screen Clock Allign To Center in Jellybean and ICS
ALL CREDIT GOES TO blindndumb
Go thank/donate to him for finding the location and how to!!! I just wanted to share the values I found for Gnex screens.
This is my screenshot on CM10 JellyBro:
{
"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"
}
Ok here we go:
1. Extract the framework-res.apk from your phone or rom zip located in system/framework
2. Decompile using APK TOOL...here are my tools do decompile ICS or JB Frameworks: Tools
3. Locate the folder res/values inside the decompiled framework-res folder
4. Open the dimens.xml using an XML editor like XML Marker or Notepad++
5. locate the line:
Code:
<dimen name="keyguard_lockscreen_status_line_font_right_margin">42.0dip</dimen>
6. Change it to :
Code:
<dimen name="keyguard_lockscreen_status_line_font_right_margin">82.0dip</dimen>
"This is specific to Gnex phones only..if your phone has a different resolution you might have to change the 82 to something else"
7. Save your changes and compile the apk using the APK Multitool in the Tools zip from above!! ***You will need to move the framework folder to "projects" and the original framework-res.apk to the "place-apk-here-for-modding" of APK Multitool***
8. SIGN IT or Move the META-INF folder from the original apk to the modded one!!!! "I SIGNED MINE USING APK MULITITOOL"
9. Now that it's made you can either push it back with ADB or copy the framework-res.apk you modded to the system/framework folder in my Flashable-zip-template.zip attached at the bottom of the OP using 7zip.
10. Flash in recovery or if you did ADB reboot!!!
11. Enjoy!!!!!
ADVANCED MOD 2:​
This mod was created and given to me from a few guys on my Rootzwiki thread willyjay and bouchigo Go to my rootwiki thread and thank them!!!
Advanced centered clock:
Ok this will be a better looking centered clock but is a bit harder to make.
1. Extract the framework-res.apk from your phone or rom zip located in system/framework
2. Decompile using APK TOOL...here are my tools do decompile ICS or JB Frameworks: Tools
3. Locate the folder res/layout inside the decompiled framework-res folder
4. Open the keyguard_screen_tab_unlock.xml using an XML editor like XML Marker or Notepad++
5. Just to make things easier I will just have you copy and paste the lines to replace:
Take this and paste over lines 1-19
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/root" android:layout_width="match_parent" android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.internal.widget.DigitalClock android:layout_gravity="center" android:id="@id/time" android:layout_marginTop="@dimen/keyguard_lockscreen_status_line_clockfont_top_margin" android:layout_marginBottom="12.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
<LinearLayout android:layout_gravity="center" android:orientation="horizontal">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="horizontal">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="4.0dip" />
<RelativeLayout android:orientation="horizontal" android:id="@id/weather_panel" android:paddingTop="4.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:id="@id/weather_image" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_dialog_alert" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
<RelativeLayout android:orientation="horizontal" android:padding="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/weather_image" android:layout_centerVertical="true">
<TextView android:textSize="14.0sp" android:textStyle="bold" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_city" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentRight="true" />
<TextView android:textSize="12.0sp" android:textColor="?textColorPrimary" android:ellipsize="marquee" android:gravity="right" android:id="@id/weather_condition" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_below="@id/weather_city" android:layout_alignParentRight="true" />
<TextView android:textSize="8.0sp" android:textColor="?textColorSecondary" android:gravity="right" android:id="@id/update_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/weather_condition" android:layout_alignParentRight="true" />
</RelativeLayout>
6. Save your changes and compile the apk using the APK Multitool in the Tools zip from above!! ***You will need to move the framework folder to "projects" and the original framework-res.apk to the "place-apk-here-for-modding" of APK Multitool***
7. SIGN IT or Move the META-INF folder from the original apk to the modded one!!!! "I SIGNED MINE USING APK MULITITOOL"
8. Now that it's made you can either push it back with ADB or copy the framework-res.apk you modded to the system/framework folder in my Flashable-zip-template.zip attached at the bottom of the OP using 7zip.
9. Flash in recovery or if you did ADB reboot!!!
10. Enjoy!!!!!
Weather Images​
I have taken these images from AOKP but themed them Black and White to match the lockscreen font color.
1. Download the Weather Icons.zip from the Bottom of the OP.
2. Use 7zip to open your framework-res.apk "Take it from the rom zip or adb pull yours from the phone"
3. You will see a folder named "res" in the opened framework-res.apk - drop the folder "res" from my
Weather Icons zip into your framework-res.apk "NO NEED TO SIGN THE APK"
4. Close 7zip and place it in the system/framework folder in my Flashable-zip-template.zip attached at the bottom of the OP using 7zip then flash it in recovery - OR adb push it back to your phone.
5. Enjoy!!!!
If you want to add this the the center clock mod, just use these steps after you compile the apk.
Hope you like this mod, I love it!!! :victory:
DJ
Even better mod coming tomorrow.
DarkJelly Gnex on JellyBro sent this from the app.
New mod added
I posted a second mod that I like better but kept the first one for those who like it better!!!
Thanks again willyjay and bouchigo for the help!!!
Can you used this mod with ZipThemer?
motoxxxx said:
Can you used this mod with ZipThemer?
Click to expand...
Click to collapse
No idea, I've never used zipthemer.
Thanks DJ, easy to do and has good results...
When I try to build apk keeps saying an error occured check log 24 i can decompile it using our apktools framework-res fine then i move my decompiled files into multitool to build apk and keep getting error anyone know why?
Kimomini said:
When I try to build apk keeps saying an error occured check log 24 i can decompile it using our apktools framework-res fine then i move my decompiled files into multitool to build apk and keep getting error anyone know why?
Click to expand...
Click to collapse
Did you place .apk on the end of the folder?
djdarkknight96 said:
Did you place .apk on the end of the folder?
Click to expand...
Click to collapse
Yea i put that i dont understand why it won't work:crying:
---------- Post added at 12:20 AM ---------- Previous post was at 12:09 AM ----------
djdarkknight96 said:
Did you place .apk on the end of the folder?
Click to expand...
Click to collapse
--------------------------------------------------------------------------
|28/08/2012 -- 0:18:24.59|
--------------------------------------------------------------------------
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:26: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL8860110860679237268.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL8860110860679237268.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Thats the log im getting on the multi tool
Kimomini said:
Yea i put that i dont understand why it won't work:crying:
---------- Post added at 12:20 AM ---------- Previous post was at 12:09 AM ----------
--------------------------------------------------------------------------
|28/08/2012 -- 0:18:24.59|
--------------------------------------------------------------------------
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:26: error: Error parsing XML: mismatched tag
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL8860110860679237268.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL8860110860679237268.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Thats the log im getting on the multi tool
Click to expand...
Click to collapse
There's something wrong with the XML. Try pasting it in again and rebuild it.
djdarkknight96 said:
There's something wrong with the XML. Try pasting it in again and rebuild it.
Click to expand...
Click to collapse
So do i decompile the apk using jellybean framework-apk tool then mod the xml file then copy the whole decompiled framework file to the project folder in multi tool and then rebuild because that's what i've tried and it doesn't seem to work. When you said paste of lines 1-19 i noticed that it changed the number of lines in xml so i tried pasting over lines 1-21 which kept the number of lines the same and also pasting over 1-19 but neither have worked so far, ill give it another go.
Kimomini said:
So do i decompile the apk using jellybean framework-apk tool then mod the xml file then copy the whole decompiled framework file to the project folder in multi tool and then rebuild because that's what i've tried and it doesn't seem to work. When you said paste of lines 1-19 i noticed that it changed the number of lines in xml so i tried pasting over lines 1-21 which kept the number of lines the same and also pasting over 1-19 but neither have worked so far, ill give it another go.
Click to expand...
Click to collapse
Yes just paste 1-19 there are more lines in the hack then in the stock.
DarkJelly Gnex on JellyBro sent this from the app.
djdarkknight96 said:
Yes just paste 1-19 there are more lines in the hack then in the stock.
DarkJelly Gnex on JellyBro sent this from the app.
Click to expand...
Click to collapse
Did everything again, followed instructions to the T and still getting this
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:30: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Kareem\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Im on AOKP Jellybean build 1 if that affects anything.
---------- Post added at 01:07 AM ---------- Previous post was at 12:52 AM ----------
Kimomini said:
Did everything again, followed instructions to the T and still getting this
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:30: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Kareem\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Im on AOKP Jellybean build 1 if that affects anything.
Click to expand...
Click to collapse
If i decompile and don't edit any files i can recompile fine, so obviously im messing up the xml somehow or other but i dont get why i've edited it with both notepad and xml marker
Kimomini said:
Did everything again, followed instructions to the T and still getting this
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:30: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Kareem\AppData\Local\Temp\APKTOOL975030519696155232.tmp, -x, -S, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\res, -M, C:\Users\Kareem\Downloads\JellyBean-tools\JellyBean-tools\Compile-EVERYTHING-Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Im on AOKP Jellybean build 1 if that affects anything.
Click to expand...
Click to collapse
doesn't AOKP already have the center clock option?
DarkJelly Gnex on JellyBro sent this from the app.
djdarkknight96 said:
doesn't AOKP already have the center clock option?
DarkJelly Gnex on JellyBro sent this from the app.
Click to expand...
Click to collapse
Only for the statusbar not on the lockscreen, when i add your lines in over lines 1-19 and open in an xml editor it says error: unexpeced text so maybe this mod doesn't work with AOKP JB
Kimomini said:
Only for the statusbar not on the lockscreen, when i add your lines in over lines 1-19 and open in an xml editor it says error: unexpeced text so maybe this mod doesn't work with AOKP JB
Click to expand...
Click to collapse
Attach the xml without editing it so I can look.
DarkJelly Gnex on JellyBro sent this from the app.
djdarkknight96 said:
Attach the xml without editing it so I can look.
DarkJelly Gnex on JellyBro sent this from the app.
Click to expand...
Click to collapse
Had to put it in a zip as it wouldnt let me attach the xml for some reason but there you go
Kimomini said:
Had to put it in a zip as it wouldnt let me attach the xml for some reason but there you go
Click to expand...
Click to collapse
Yeah, it won't work the same since they added the lockscreen wallpaper to the xml and have a different setup. BUT I attached a modifyed one for you to try.
Wow, thanks a lot
willl03 said:
Wow, thanks a lot
Click to expand...
Click to collapse
Let me know if that works.
DarkJelly Gnex on JellyBro sent this from the app.

[mod][guide]gt_i9500 - ink effect on ripple lockscreen

As title says, this mod brings you the ink effect with finger touch on ripple lockscreen. This mod is well tested on wanam v1.0 ROM!
Video will be posted here in a while
Min Requirements
1. apktool for compiling and decompile
2. 7zip
3. Notepad ++
4. Patience
Files Targeted
1. framework-res.apk
2. secsettings.apk
3. android.policy.jar (Here you can change as many colors as you need, but it is tedious work)
Note: I have just enabled only blue color at the moment, by following this guide and your knowledge you can assign as many colors as you want!
First copy the attached xml file from the attachment to /etc/permissions/
Target File:
framework-res.apk
1. Decompile the framework-res.apk
2. Navigate to framework-res\res\values and make following changes
PHP:
<bool name="config_isWaterInkEnabled">false</bool>
to
PHP:
<bool name="config_isWaterInkEnabled">true</bool>
3. Thats all! You done it! Recompile it!
Target File:
secsettings.apk
1. Decompile the above file
2. Navigate to smali/com/android/settings/LockscreenMenuSettings.smali and search for
PHP:
iget-object v10, p0, Lcom/android/settings/LockscreenMenuSettings;->mShortcutMenu:Landroid/preference/SwitchPreferenceScreen
- around line 998
and then delete the below line
PHP:
invoke-virtual {v8, v10}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
then search for
PHP:
iget-object v11, p0, Lcom/android/settings/LockscreenMenuSettings;->mRippleEffect:Landroid/preference/CheckBoxPreference;
and delete the following line
PHP:
invoke-virtual {v10, v11}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
search for
PHP:
iget-object v10, p0, Lcom/android/settings/LockscreenMenuSettings;->mInkEffect:Landroid/preference/PreferenceScreen;
and delete following line
PHP:
invoke-virtual {v8, v10}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
and search for 'nop' and make following changes
PHP:
.line 240
+ nop
+
nop
:sswitch_data_0
Thats all! Compile the file
Target File:
android.policy.jar
1. Decompile the above file
2. Navigate to android.policy_mod.jar.out/smali/com/android/internal/policy/impl/keyguard/sec/CircleUnlockRippleRenderer.smali
and make following changes
PHP:
const/16 v1, 0x4002
- if-ne v0, v1, :cond_4
+ if-ne v1, v1, :cond_4
.line 847
iget v0, p0, Lcom/android/internal/policy/impl/keyguard/sec/CircleUnlockRippleRenderer;->mouseX:F
Compile it !
Thats all! You will have a ink effect when you select the ripple in lockscreen!
One can activate any colors, but it needs some more work for which i will put seaprate guide and also i am planning to release the apk to control the colors!
Please rate the thread! If any dev uses this mod, please do give the credit and link to this thread!
If anyone knows any best screen recorder to record the screen videos on s4, please let me know as i cant find any app which supports s4
Nice.... Guide thanks for sharing ....
Time to apply for RC I suppose .Rated as you requested in op and the best free screenrecorder I have tried is ZScreenRecorder.Paid would be screencast
Sent from my GT-N7000 using xda app-developers app
Nice guide bro......
Very easy to understand & to implement
I have problems compiling framework-res.apk firt time ever i installed the twframework and framework res any idea ?
S.a.M.e.R_d said:
I have problems compiling framework-res.apk firt time ever i installed the twframework and framework res any idea ?
Click to expand...
Click to collapse
you need to remove the xml files which is giving errors from layout and compile back and then copy those files back after compiling
grgsiocl said:
you need to remove the xml files which is giving errors from layout and compile back and then copy those files back after compiling
Click to expand...
Click to collapse
After trying your method it did not work i founded out that some layouts defined by publick.xml are not in layouts after all so i deleted them rearranged public.xml and it worked
Thanks for the MOD..I have it working for ATT S4, but how do you go about adding the additional colors that are already their....
I figured it out.....thanks
I tried but I get the error shown in the image!
Is it correct this code ?
Code:
iput-object v0, p0, Lcom/android/settings/LockscreenMenuSettings;->mSafetyZoneObserver:Landroid/database/ContentObserver;
return-void
.line 172
+ nop
+
nop
:sswitch_data_0
:array_0
.array-data 0x4
0xb4t 0xft 0x9t 0x7ft
0xb5t 0xft 0x9t 0x7ft
0xb6t 0xft 0x9t 0x7ft
0xb7t 0xft 0x9t 0x7ft
0xb8t 0xft 0x9t 0x7ft
0xb9t 0xft 0x9t 0x7ft
0xbat 0xft 0x9t 0x7ft
0xbbt 0xft 0x9t 0x7ft
.end array-data
.end method
iepurasu_poznas said:
I tried but I get the error shown in the image!
Is it correct this code ?
Code:
iput-object v0, p0, Lcom/android/settings/LockscreenMenuSettings;->mSafetyZoneObserver:Landroid/database/ContentObserver;
return-void
.line 172
+ nop
+
nop
:sswitch_data_0
:array_0
.array-data 0x4
0xb4t 0xft 0x9t 0x7ft
0xb5t 0xft 0x9t 0x7ft
0xb6t 0xft 0x9t 0x7ft
0xb7t 0xft 0x9t 0x7ft
0xb8t 0xft 0x9t 0x7ft
0xb9t 0xft 0x9t 0x7ft
0xbat 0xft 0x9t 0x7ft
0xbbt 0xft 0x9t 0x7ft
.end array-data
.end method
Click to expand...
Click to collapse
Why adding that + text in smali ??
And for compile dont write .apk after app :thumbup:
Sent from my GT-i9100G using xda premium
like always! you are the best my friend! :good:
thanks!
regards
---------- Post added at 01:58 PM ---------- Previous post was at 01:06 PM ----------
iepurasu_poznas said:
I tried but I get the error shown in the image!
Is it correct this code ?
Code:
iput-object v0, p0, Lcom/android/settings/LockscreenMenuSettings;->mSafetyZoneObserver:Landroid/database/ContentObserver;
return-void
.line 172
+ nop
+
nop
:sswitch_data_0
:array_0
.array-data 0x4
0xb4t 0xft 0x9t 0x7ft
0xb5t 0xft 0x9t 0x7ft
0xb6t 0xft 0x9t 0x7ft
0xb7t 0xft 0x9t 0x7ft
0xb8t 0xft 0x9t 0x7ft
0xb9t 0xft 0x9t 0x7ft
0xbat 0xft 0x9t 0x7ft
0xbbt 0xft 0x9t 0x7ft
.end array-data
.end method
Click to expand...
Click to collapse
no friend, is line .241
and not use symbol "+" only word nop :good:
GT-I9500
i need ink effect on ripple lock screen for gt-i9500 S4
if u have it plz
im just want it as (( zip file )) to flash it via recovery or some thing like that .
cause i didn't understand to do steps in this topic & i hope to use this effect on my S4
i have root
4.2.2 jelly bean
crash room 4.1
:highfive:
grgsiocl said:
Video will be posted here in a while
Click to expand...
Click to collapse
theres no video
dtwao said:
theres no video
Click to expand...
Click to collapse
Hi, can you make a flashable zip of this ?
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>apktool d fra
mework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>apktool b fra
mework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_password_landscape.xml:22: error: Error: No resource
found that matches the given name (at 'layout' with value '@layout/keyguard_tra
nsport_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_password_portrait.xml:22: error: Error: No resource
found that matches the given name (at 'layout' with value '@layout/keyguard_tran
sport_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_tab_unlock.xml:23: error: Error: No resource found t
hat matches the given name (at 'layout' with value '@layout/keyguard_transport_c
ontrol').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_tab_unlock_land.xml:17: error: Error: No resource fo
und that matches the given name (at 'layout' with value '@layout/keyguard_transp
ort_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_unlock_landscape.xml:18: error: Error: No resource f
ound that matches the given name (at 'layout' with value '@layout/keyguard_trans
port_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_unlock_portrait.xml:23: error: Error: No resource fo
und that matches the given name (at 'layout' with value '@layout/keyguard_transp
ort_control').
aapt: warning: string 'default_audio_route_name_hdmi' has no default translation
in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework
-res\res; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in C
:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\
res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in C:\Users\Himans
hu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found: en
_GB es
aapt: warning: string 'perms_show_all' has no default translation in C:\Users\Hi
manshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found
: en_GB es
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework
-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New f
older\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framewor
k-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\fram
ework-res\res; found: zh_CN zh_HK
aapt: warning: string 'tommorrow' has no default translation in C:\Users\Himansh
u\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found: bn_
IN
aapt: warning: string 'webkit_module' has no default translation in C:\Users\Him
anshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found:
de es_ES fr it pl ru
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Himanshu\AppData\Local\T
emp\APKTOOL8359816637460548609.tmp, -x, -0, arsc, -S, C:\Users\Himanshu\Desktop\
APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res, -M, C:\Users\Himansh
u\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\AndroidManifest
.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Himanshu\AppData\Local\Temp\APKTOOL8359816637460548609.tmp, -x, -0, arsc,
-S, C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framewor
k-res\res, -M, C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folde
r\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Himanshu\AppData\Local\Tem
p\APKTOOL8359816637460548609.tmp, -x, -0, arsc, -S, C:\Users\Himanshu\Desktop\AP
K-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res, -M, C:\Users\Himanshu\
Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>
i Always Got this error in Framework-res.apk
dont know why rest is fine
ICS_XD said:
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>apktool d fra
mework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>apktool b fra
mework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_password_landscape.xml:22: error: Error: No resource
found that matches the given name (at 'layout' with value '@layout/keyguard_tra
nsport_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_password_portrait.xml:22: error: Error: No resource
found that matches the given name (at 'layout' with value '@layout/keyguard_tran
sport_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_tab_unlock.xml:23: error: Error: No resource found t
hat matches the given name (at 'layout' with value '@layout/keyguard_transport_c
ontrol').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_tab_unlock_land.xml:17: error: Error: No resource fo
und that matches the given name (at 'layout' with value '@layout/keyguard_transp
ort_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_unlock_landscape.xml:18: error: Error: No resource f
ound that matches the given name (at 'layout' with value '@layout/keyguard_trans
port_control').
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res\layout\keyguard_screen_unlock_portrait.xml:23: error: Error: No resource fo
und that matches the given name (at 'layout' with value '@layout/keyguard_transp
ort_control').
aapt: warning: string 'default_audio_route_name_hdmi' has no default translation
in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework
-res\res; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in C
:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\
res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in C:\Users\Himans
hu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found: en
_GB es
aapt: warning: string 'perms_show_all' has no default translation in C:\Users\Hi
manshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found
: en_GB es
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res
\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework
-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New f
older\framework-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framewor
k-res\res; found: zh_CN zh_HK
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\fram
ework-res\res; found: zh_CN zh_HK
aapt: warning: string 'tommorrow' has no default translation in C:\Users\Himansh
u\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found: bn_
IN
aapt: warning: string 'webkit_module' has no default translation in C:\Users\Him
anshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res; found:
de es_ES fr it pl ru
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Himanshu\AppData\Local\T
emp\APKTOOL8359816637460548609.tmp, -x, -0, arsc, -S, C:\Users\Himanshu\Desktop\
APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res, -M, C:\Users\Himansh
u\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\AndroidManifest
.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\Himanshu\AppData\Local\Temp\APKTOOL8359816637460548609.tmp, -x, -0, arsc,
-S, C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framewor
k-res\res, -M, C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folde
r\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\Himanshu\AppData\Local\Tem
p\APKTOOL8359816637460548609.tmp, -x, -0, arsc, -S, C:\Users\Himanshu\Desktop\AP
K-Multi-Tool\APK-Multi-Tool\New folder\framework-res\res, -M, C:\Users\Himanshu\
Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder\framework-res\AndroidManifest.x
ml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\Users\Himanshu\Desktop\APK-Multi-Tool\APK-Multi-Tool\New folder>
i Always Got this error in Framework-res.apk
dont know why rest is fine
Click to expand...
Click to collapse
whats that mean ??
we need any one to make a flashable zip file to get ink effect in our s4
dtwao said:
whats that mean ??
we need any one to make a flashable zip file to get ink effect in our s4
Click to expand...
Click to collapse
i have done the rest part of the ink efffect but only problme is the Framework-res.apk
ICS_XD said:
i have done the rest part of the ink efffect but only problme is the Framework-res.apk
Click to expand...
Click to collapse
try this
open framework with 7zip extract all the keyguard etc from res/layout save those files in a folder then delete all those files from the framework decompile do the mod then compile the framework and push the keyguard files to the same place res/layout.
See if it works
hugs
Crash 1976 said:
try this
open framework with 7zip extract all the keyguard etc from res/layout save those files in a folder then delete all those files from the framework decompile do the mod then compile the framework and push the keyguard files to the same place res/layout.
See if it works
hugs
Click to expand...
Click to collapse
it wont work :/

[Guide][LP] Theme Accent Colored SystemUI & Power Menu

Hi!
Meet me again with a copy-paste simple mod tutorial (without editing any smali)
to give ur SystemUI runtime theme accent color change
Screenshots:
{
"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"
}
Requirements:
- know how to decompile, recompile, sign apk
- original SystemUI.apk
Steps:
- decompile SystemUI.apk
- open /res/values/colors.xml, add this
PHP:
<color name="somc_color_accent_dark">@android:color/somc_color_accent_dark</color>
- open /res/values/ids.xml, add this
PHP:
<item type="id" name="theme_accent">false</item>
- open /res/values/styles.xml
- find
PHP:
<style name="TextAppearance.StatusBar.Expanded.Clock"
- change
PHP:
<item name="android:textColor">#ffffffff</item>
to
PHP:
<item name="android:textColor">@color/somc_color_accent_dark</item>
- find
PHP:
<style name="TextAppearance.StatusBar.Expanded.Date"
- change
PHP:
<item name="android:textColor">#b2ffffff</item>
to
PHP:
<item name="android:textColor">@color/somc_color_accent_dark</item>
- open /res/drawable-xxhdpi, delete these png's
Code:
ic_edit_settings
ic_qs_auto_sync_on
ic_qs_data_traffic_on
ic_qs_hotspot_on
ic_qs_lte_on
ic_qs_nfc_on
ic_qs_roaming_on
ic_qs_screen_mirroring_on
ic_qs_signal_in
ic_qs_signal_out
ic_qs_stamina_on
ic_qs_throw_on
ic_qs_volte_on
ic_qs_wifi_0
ic_qs_wifi_1
ic_qs_wifi_2
ic_qs_wifi_3
ic_qs_wifi_4
ic_qs_wifi_detail_empty
ic_qs_wifi_full_0
ic_qs_wifi_full_1
ic_qs_wifi_full_2
ic_qs_wifi_full_3
ic_qs_wifi_full_4
ic_qs_wifi_no_network
- open /res/drawable-hdpi, delete ic_tasklist_switch_normal.png
- download attached files, extract, merge it to ur decompiled SystemUI.apk
- save all changes, recompile, sign, push
- done
Note:
- Quick setting tile text isn't colored
- Only affect with themes which don't change quick setting icon
Thanks to: Nathan Ali Ashari & serajr, as my inspirations
Theme Accent Colored Power Menu
Screenshots:
Steps:
- decompile framework-res.apk
- open /res/values/ids.xml, add this
PHP:
<item type="id" name="theme_accent">false</item>
- open /res/drawable-xxhdpi, delete these png's
Code:
ic_lock_restart
semc_ic_dialog_screenshot
somc_ic_dialog_screenrecording
- download attached files, extract, merge it to ur decompiled framework-res.apk
- save all changes, recompile, sign, push
- done
Please report if this work on u
thanks
thanks bro all works great on z1 5.1
Amazing!
can yhu make tha toggles with dis icons here; http://forum.xda-developers.com/cro...d-aosp-systemui-style-themed-z-z1-z2-t3204655...... Good job!
raziel zarafan said:
thanks bro all works great on z1 5.1
Click to expand...
Click to collapse
nice :good:
serajr said:
Amazing!
Click to expand...
Click to collapse
thanks master
whalesplaho said:
can yhu make tha toggles with dis icons here; http://forum.xda-developers.com/cro...d-aosp-systemui-style-themed-z-z1-z2-t3204655...... Good job!
Click to expand...
Click to collapse
yes, I can but I don't like aosp style
idid idamrep said:
nice :good:
thanks master
yes, I can but I don't like aosp style
Click to expand...
Click to collapse
woooooopssss... please can yhu just make for me?
enjoying tha mod.... thanks!:good::good::good:
As far as i know, this code : somc_color_accent_dark from KK, LP is using Material_light ..etc codes, so how it works ?
Added theme accent colored power menu guide
Check post #2
whalesplaho said:
woooooopssss... please can yhu just make for me?
enjoying tha mod.... thanks!:good::good::good:
Click to expand...
Click to collapse
no, bro. sorry. I don't have the icons.
I think u can do it urself
abo hani said:
As far as i know, this code : somc_color_accent_dark from KK, LP is using Material_light ..etc codes, so how it works ?
Click to expand...
Click to collapse
somc_color_accent_dark is exist on LP too, in colors.xml in framework-res.apk or android.zip (theme asset)
in colors.xml, there are:
<color name="somc_color_dark_primary_dark">#ff158597</color> ----> used for status bar color
<color name="somc_color_primary_dark">#ff009faf</color> ----> used for action bar color
<color name="somc_color_accent_dark">#ffd15b40</color> ----> used for tab indicator color, slider color, accent color
<color name="somc_color_accent_light">#ffed6642</color> ----> used for floating action button color
You make very good Tutorials. Thanks for your hard work and keep it up!
Regards
Wolfbreak
Edit: You made a small typo it says delete ic_qs_roaming but it should be ic_qs_roaming_on i guess.
Thanks for sharing.
Quick setting tile text colored!
\SystemUI\res\values\colors.xml
Search:
HTML:
<color name="qs_tile_text">#b3ffffff</color>
Change to:
HTML:
<color name="qs_tile_text">@android:color/somc_color_accent_dark</color>
Power Menu Settings shortcut colored!
delete these png
HTML:
ic_settings.png
Download this file Add to your framework-res Corresponding position.
Download link:
https://mega.nz/#!uZJUyRpQ!iHhlWU1tekjMs6qybqGT_FLlFpIvljXZlpDy1B2AS_g
Thanks bro, use it in upcoming rom?
Wolfbreak said:
You make very good Tutorials. Thanks for your hard work and keep it up!
Regards
Wolfbreak
Edit: You made a small typo it says delete ic_qs_roaming but it should be ic_qs_roaming_on i guess.
Click to expand...
Click to collapse
Thanks for correction
Skies/SANKE said:
Quick setting tile text colored!
\SystemUI\res\values\colors.xml
Search:
HTML:
<color name="qs_tile_text">#b3ffffff</color>
Change to:
HTML:
<color name="qs_tile_text">@android:color/somc_color_accent_dark</color>
Power Menu Settings shortcut colored!
delete these png
HTML:
ic_settings.png
Download this file Add to your framework-res Corresponding position.
Download link:
https://mega.nz/#!uZJUyRpQ!iHhlWU1tekjMs6qybqGT_FLlFpIvljXZlpDy1B2AS_g
Click to expand...
Click to collapse
I know that, but I choose not to coloring them. Anyway, it's ur choice
yuzhengwen said:
Thanks bro, use it in upcoming rom?
Click to expand...
Click to collapse
U mean u wanna use this in ur rom?
Go ahead. No need permission for this
idid idamrep said:
Thanks for correction
I know that, but I choose not to coloring them. Anyway, it's ur choice
U mean u wanna use this in ur rom?
Go ahead. No need permission for this
Click to expand...
Click to collapse
Bro,can u share that overlay apk for customized power menu?
how to add task manager to this?
katibehi said:
how to add task manager to this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/crossdevice-dev/sony-themes-apps/guide-how-to-add-task-manager-panel-to-t3212189
Nice
@idid idamrep i did step right no error recompile but no change at all
i use m4 aqua device
edit systemUI only and not use step ic tasklist, edit setting, clock and date for change. how to fix it
can u edit for me for fix it, at attach my files systemUI already finish like our guide but no change
Any Solution? pls
Log For : SystemUI.apk
Log Type : Recompiling
Log Recorded At : 12 2016-05- 20:40:22.87
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
W: warning: string 'accessibility_quick_settings_airplane' has no default translation.
W: warning: string 'accessibility_quick_settings_bluetooth' has no default translation.
W: warning: string 'battery_low_subtitle' has no default translation.
W: warning: string 'done_button' has no default translation.
W: warning: string 'jelly_bean_dream_name' has no default translation.
W: warning: string 'keyguard_accessibility_status' has no default translation.
W: warning: string 'kg_password_wrong_pin_code' has no default translation.
W: warning: string 'kg_text_message_separator' has no default translation.
W: warning: string 'notifications_off_text' has no default translation.
W: warning: string 'notifications_off_title' has no default translation.
W: warning: string 'quick_settings_wifi_display_label' has no default translation.
W: warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.
W: warning: string 'ssl_ca_cert_dialog_title' has no default translation.
W: warning: string 'ssl_ca_cert_info_message' has no default translation.
W: warning: string 'ssl_ca_cert_settings_button' has no default translation.
W: warning: string 'ssl_ca_cert_warning_message' has no default translation.
W: C:\AdvancedApkTool\3-Out\SystemUI.apk\res\drawable\ic_qs_signal_in.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_qs_signal_in_colored').
W:
W: C:\AdvancedApkTool\3-Out\SystemUI.apk\res\drawable\ic_qs_signal_out.xml:5: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ic_qs_signal_out_colored').
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Osyx\AppData\Local\Temp\brut_util_Jar_2350029730569970630.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1, -F, C:\Users\Osyx\AppData\Local\Temp\APKTOOL6263661773584598833.tmp, -0, arsc, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:371)
at brut.androlib.Androlib.build(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:254)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Osyx\AppData\Local\Temp\brut_util_Jar_2350029730569970630.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1, -F, C:\Users\Osyx\AppData\Local\Temp\APKTOOL6263661773584598833.tmp, -0, arsc, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:436)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Osyx\AppData\Local\Temp\brut_util_Jar_2350029730569970630.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1, -F, C:\Users\Osyx\AppData\Local\Temp\APKTOOL6263661773584598833.tmp, -0, arsc, -0, arsc, -I, C:\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\AdvancedApkTool\3-Out\SystemUI.apk\res, -M, C:\AdvancedApkTool\3-Out\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:430)
... 6 more
------------------------------------------------------

[guide] statusbar and lockscreen animation effect

Animation Mod
{
"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"
}
Hi guys this is my first tutorial or guide.
In this i will show u how to get accent animaton effect on lockscreen and statusbar.
REQUIREMENT
- 4.4+ Device
- Superuser mod
- Know to decompile/recompile
Instructions
- decompile systemui
- download the zip from attachment
- copy drawable and drwable-hdpi to res
- copy android to smali folder
- go to res-layout-msim_statusbar_expanded.xml/statusbar_Expanded.xml
- paste this before </com.android.systemui.statusbar.phone.NotificationPanelView>
Code:
<android.para****.AnimatedImageView android:layout_gravity="center" android:id="@id/bekgron_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/duitblue" android:scaleType="fitXY" />
- ****- change this to s.h.i.t dont add dots i have added because cant type it here
- go to res - values - colors.xml and paste this
Code:
<color name="somc_color_accent_dark">@android:color/somc_color_accent_dark</color>
- than in values folder ids.xml add this
Code:
<item type="id" name="bekgron_image">false</item>
- done recompile.
Credit​- maaadon
- and me for accent and fixing fc
Super bro?
SM-G800H cihazımdan Tapatalk kullanılarak gönderildi
I tried it twice, but receiving these errors:
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue1.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue10.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue11.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue12.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue13.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue14.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue15.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue16.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue2.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue3.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue4.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue5.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue6.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue7.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue8.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
C:\Users\G4B33\Desktop\systemui\decode\res\drawable\duitblue9.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/theme_accent').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\G4B33\AppData\Local\Temp\brut_util_Jar_6929661432006947638.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1xdidi, -F, C:\Users\G4B33\AppData\Local\Temp\APKTOOL616343226343353787.tmp, -0, arsc, -0, arsc, -I, C:\Users\G4B33\apktool\framework\1.apk, -S, C:\Users\G4B33\Desktop\systemui\decode\res, -M, C:\Users\G4B33\Desktop\systemui\decode\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:472)
at brut.androlib.Androlib.buildResources(Androlib.java:410)
at brut.androlib.Androlib.build(Androlib.java:298)
at brut.androlib.Androlib.build(Androlib.java:268)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\G4B33\AppData\Local\Temp\brut_util_Jar_6929661432006947638.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1xdidi, -F, C:\Users\G4B33\AppData\Local\Temp\APKTOOL616343226343353787.tmp, -0, arsc, -0, arsc, -I, C:\Users\G4B33\apktool\framework\1.apk, -S, C:\Users\G4B33\Desktop\systemui\decode\res, -M, C:\Users\G4B33\Desktop\systemui\decode\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:425)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\G4B33\AppData\Local\Temp\brut_util_Jar_6929661432006947638.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-1xdidi, -F, C:\Users\G4B33\AppData\Local\Temp\APKTOOL616343226343353787.tmp, -0, arsc, -0, arsc, -I, C:\Users\G4B33\apktool\framework\1.apk, -S, C:\Users\G4B33\Desktop\systemui\decode\res, -M, C:\Users\G4B33\Desktop\systemui\decode\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
... 6 more
Click to expand...
Click to collapse
I'm using z1c, 5.1.1 .
G4B33 said:
I tried it twice, but receiving these errors:
I'm using z1c, 5.1.1 .
Click to expand...
Click to collapse
<item type="id" name="theme_accent">false</item>
if fc remove this line from all xmls [email protected]/theme_accent'
Thanks, it successfully recompiled it, but It doesn't wanna work
G4B33 said:
Thanks, it successfully recompiled it, but It doesn't wanna work
Click to expand...
Click to collapse
- go to res-layout-msim_statusbar_expanded.xml/statusbar_Expanded.xml
- paste this before </com.android.systemui.statusbar.phone.NotificationPanelView>
Code:
<android.para****.AnimatedImageView android:layout_gravity="center" android:id="@id/bekgron_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/duitblue" android:scaleType="fitXY" />
- ****- change this to s.h.i.t dont add dots i have added because cant type it here
@yash989 I can't understand it. What will it do, I is it something like particle effect? Will it work on cm too or just stock roms?
mayank22 said:
@yash989 I can't understand it. What will it do, I is it something like particle effect? Will it work on cm too or just stock roms?
Click to expand...
Click to collapse
U get this animation effects whem u pull statusbar and lockscreen if u trying on cm11 lockscreen womt work but cm12+ it will
yash989 said:
U get this animation effects whem u pull statusbar and lockscreen if u trying on cm11 lockscreen womt work but cm12+ it will
Click to expand...
Click to collapse
Thnks for reply but I still can't get exactly what animation?
But no worry I will try it today itself.....
mayank22 said:
Thnks for reply but I still can't get exactly what animation?
But no worry I will try it today itself.....
Click to expand...
Click to collapse
Now what to say it somthing like raining on ur statusbar and lockscreen
yash989 said:
Now what to say it somthing like raining on ur statusbar and lockscreen
Click to expand...
Click to collapse
Ohh, I now I got the feel, I it sounds interesting. I am definitely gonna try it
yash989 said:
- go to res-layout-msim_statusbar_expanded.xml/statusbar_Expanded.xml
- paste this before </com.android.systemui.statusbar.phone.NotificationPanelView>
Code:
<android.para****.AnimatedImageView android:layout_gravity="center" android:id="@id/bekgron_image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/duitblue" android:scaleType="fitXY" />
- ****- change this to s.h.i.t dont add dots i have added because cant type it here
Click to expand...
Click to collapse
Thanks man, I tried it, but still nothing..
G4B33 said:
Thanks man, I tried it, but still nothing..
Click to expand...
Click to collapse
compare it https://drive.google.com/file/d/0B9nu7Uret6OkbnZsQi04NmxUVU0/view

Categories

Resources