[MOD][GUIDE][ICS][JB] Multi Mods Guide | Updated 26/05/13 - Galaxy S II Themes and Apps

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

Related

[MODDING/THEMING] Apktool for ICS apks

If you are an amateur/aficionado modder or themer, this is for you:
Some people are still having problems de/compiling system apks on Samsung ICS builds, most of the errors arising are related to "bad magic values". I googled a little and managed to find a modded Apktool. I’ve tested it and it has worked fine so far with many apks (e.g. framework-res, TouchWiz30Launcher, etc).
I packed all necessary files below, including new aapt from Android SDK 4.0.3. As you may already know, you need latest JDK for this to work.
*** NOTICE *** There are some apks like SystemUI that need special treatment. If errors are found when decompiling an apk with ICS Apktool, you have to try decompiling it using the Original Apktool which I've just uploaded, then for recompiling it you need to use the ICS Apktool (if you run the Original Apktool to recompile, you will probably encounter errors). Remember, both packages contain different aapt executables so it is recommended making two separate folders for each zip content.
Credit goes to Brut.all who developed the original Apktool and gcrut…@gmail.com who modded it.
NOTE: This thread is not intended to be a guide for modding or theming. If you want to start messing with apks, there are many tutorials out there.
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
i04055 said:
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
Click to expand...
Click to collapse
Delete classes.dex from SystemUI.apk before decompiling. If you want to edit classes.dex use smali/baksmali 1.3.2.
i04055 said:
this is not work for me... got error when trying to decompile SystemUI.apk:
Code:
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 35 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
any solution?
Click to expand...
Click to collapse
Do the following:
Decompile SystemUI using "Original Apktool" (already uploaded to the OP). If you try to recompile the apk with the Original Apktool you might find errors so you have to recompile it but this time using the "ICS Apktool". I hope this work for you.
sileshnair said:
Delete classes.dex from SystemUI.apk before decompiling. If you want to edit classes.dex use smali/baksmali 1.3.2.
Click to expand...
Click to collapse
I am succeed decompile it without classes.dex, searching for baksmali now...
-- edit ---
I've tried, but get the same error as below....
xtremesv said:
Do the following:
Decompile SystemUI using "Original Apktool" (already uploaded to the OP). If you try to recompile the apk with the Original Apktool you might find errors so you have to recompile it but this time using the "ICS Apktool". I hope this work for you.
Click to expand...
Click to collapse
I am able to decompile it with original apk tool but when I tried to recompile it using ICS apktool i got this error :
Code:
E:\android\Lab\SystemUI\res\values\public.xml:318: error: Public symbol drawable/tw_stat_sys_6_level_signal_3 declared h
erbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCA
LS~1\Temp\APKTOOL4562847521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\
SystemUI\res, -M, E:\android\Lab\SystemUI\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCALS~1\Temp\APKTOOL4562847
521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\SystemUI\res, -M, E:\and
roid\Lab\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
e is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:319: error: Public symbol drawable/tw_stat_sys_6_level_signal_3_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:320: error: Public symbol drawable/tw_stat_sys_6_level_signal_4 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:321: error: Public symbol drawable/tw_stat_sys_6_level_signal_4_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:322: error: Public symbol drawable/tw_stat_sys_6_level_signal_5 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:323: error: Public symbol drawable/tw_stat_sys_6_level_signal_5_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:324: error: Public symbol drawable/tw_stat_sys_6_level_signal_6 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:325: error: Public symbol drawable/tw_stat_sys_6_level_signal_6_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:99: error: Public symbol drawable/tw_stat_sys_battery_not_charge declared
here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:326: error: Public symbol drawable/tw_stat_sys_signal_null declared here i
s not defined.
E:\android\Lab\SystemUI\res\values\public.xml:327: error: Public symbol drawable/tw_status_bar_close_on declared here is
not defined.
E:\android\Lab\SystemUI\res\values\public.xml:101: error: Public symbol drawable/zzz_stat_vt_signal declared here is not
defined.
E:\android\Lab\SystemUI\res\values\public.xml:102: error: Public symbol drawable/zzz_stat_vt_signal_null declared here i
s not defined.
what's going wrong here?
i04055 said:
I've tried, but get the same error as below....
I am able to decompile it with original apk tool but when I tried to recompile it using ICS apktool i got this error :
Code:
E:\android\Lab\SystemUI\res\values\public.xml:318: error: Public symbol drawable/tw_stat_sys_6_level_signal_3 declared h
erbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCA
LS~1\Temp\APKTOOL4562847521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\
SystemUI\res, -M, E:\android\Lab\SystemUI\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\edp\LOCALS~1\Temp\APKTOOL4562847
521524937175.tmp, -I, C:\Documents and Settings\edp\apktool\framework\1.apk, -S, E:\android\Lab\SystemUI\res, -M, E:\and
roid\Lab\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
e is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:319: error: Public symbol drawable/tw_stat_sys_6_level_signal_3_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:320: error: Public symbol drawable/tw_stat_sys_6_level_signal_4 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:321: error: Public symbol drawable/tw_stat_sys_6_level_signal_4_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:322: error: Public symbol drawable/tw_stat_sys_6_level_signal_5 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:323: error: Public symbol drawable/tw_stat_sys_6_level_signal_5_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:324: error: Public symbol drawable/tw_stat_sys_6_level_signal_6 declared h
ere is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:325: error: Public symbol drawable/tw_stat_sys_6_level_signal_6_fully decl
ared here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:99: error: Public symbol drawable/tw_stat_sys_battery_not_charge declared
here is not defined.
E:\android\Lab\SystemUI\res\values\public.xml:326: error: Public symbol drawable/tw_stat_sys_signal_null declared here i
s not defined.
E:\android\Lab\SystemUI\res\values\public.xml:327: error: Public symbol drawable/tw_status_bar_close_on declared here is
not defined.
E:\android\Lab\SystemUI\res\values\public.xml:101: error: Public symbol drawable/zzz_stat_vt_signal declared here is not
defined.
E:\android\Lab\SystemUI\res\values\public.xml:102: error: Public symbol drawable/zzz_stat_vt_signal_null declared here i
s not defined.
what's going wrong here?
Click to expand...
Click to collapse
Take into account that both packages contents must be in separate folders to retain their respective aapt file which is different for each one. The best way to do this is to decompile SystemUI with Original Apktool then take the generated SystemUI folder and copy it into the ICS Apktool folder and recompile after your modding is done.
Nice thread mate. This will e of great help for new themers
Cheers
xtremesv said:
Take into account that both packages contents must be in separate folders to retain their respective aapt file which is different for each one. The best way to do this is to decompile SystemUI with Original Apktool then take the generated SystemUI folder and copy it into the ICS Apktool folder and recompile after your modding is done.
Click to expand...
Click to collapse
too bad... stil got same error... I'm really confused....
good job, helpful tool.
thank you.
I've solved my problems with apktool v1.4.3 and ICS-JPQ using the original aapt file of the last SDK/plattform-tools and not the aapt file provided by apktool. Now I can decompile/recompile whatever ICS file (at least for now).
Tested with framework-res.apk, SystemUI.apk, Settings.apk, Phone.apk and android.policy.jar
my2cents
i04055 said:
too bad... stil got same error... I'm really confused....
Click to expand...
Click to collapse
The last error you posted seemed related to bad version of aapt.exe. That's why I recommended using both Apktools one for decompiling and the other for rebuilding, that way is how it has worked in my case.
I wish I could've helped you more.
intronauta said:
I've solved my problems with apktool v1.4.3 and ICS-JPQ using the original aapt file of the last SDK/plattform-tools and not the aapt file provided by apktool. Now I can decompile/recompile whatever ICS file (at least for now).
Tested with framework-res.apk, SystemUI.apk, Settings.apk, Phone.apk and android.policy.jar
my2cents
Click to expand...
Click to collapse
this method work for me in the past, while decompiling MIUI's framework, now, can't seem to make it work using stock rom's framework, tried using different version of apktool and apk manager, and the one in this thread, to no avail. im also having that aapt problem
It's really a pain in the ass to find a way to decompile/compile any ics apk file, so hope the tips suggested in this thread work...
Sent from my GT-I9100 using Tapatalk 2 Beta-2
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
TKS wanam
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
Thanks, Wanam. I do really want this tool, too!!!
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
I just tried de-compiling and re-compiling the systemui.apk, which is the only apk I've had issues with since making the transfer to ICS and it worked perfect using this. Thank you SOOO much!!
Tiffany84 said:
I just tried de-compiling and re-compiling the systemui.apk, which is the only apk I've had issues with since making the transfer to ICS and it worked perfect using this. Thank you SOOO much!!
Click to expand...
Click to collapse
Hi, Tiffany. I have trouble when I decompile and compile SystemUI.apk. Can you show me the step? Do I need to pull framework-res.apk and twframework-res.apk first and run "apktool if" command?
Sent from my GT-I9100 using XDA
cyfgeorge said:
Hi, Tiffany. I have trouble when I decompile and compile SystemUI.apk. Can you show me the step? Do I need to pull framework-res.apk and twframework-res.apk first and run "apktool if" command?
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
Yes, only framework-res.apk.
wanam said:
Here is my ApkManager, it's based on ApkManager 4.9 and contain an updated aapt and hacked Apktool 1.4.3 (new magic values) with updated smali (thanks to Ficeto).
I hope this will help you, it should work for all current ICS apps.
Click to expand...
Click to collapse
I'm struggling with this could someone help please? I'm getting the following error when compiling framework-res
--------------------------------------------------------------------------
|24/03/2012 -- 17:09:19.00|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mike\AppData\Local\Temp\APKTOOL4577066397448428082.tmp, -x, -S, C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Android\android-sdk\Apk_Manager_ICS\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Mike\AppData\Local\Temp\APKTOOL4577066397448428082.tmp, -x, -S, C:\Android\android-sdk\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\Android\android-sdk\Apk_Manager_ICS\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
The system cannot find the file specified.
'7za' is not recognized as an internal or external command,
operable program or batch file.
'7za' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
Click to expand...
Click to collapse
Here's the log from decompiling
--------------------------------------------------------------------------
|24/03/2012 -- 17:01:57.71|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Could Not Find C:\Android\android-sdk\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Android\android-sdk\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Click to expand...
Click to collapse

Framework-res.apk theming problems.

I understand the process of theming, but I'm running into errors that I can't seem to fix.
Trying to make some quick XML edits for SlimICS's framework-res....
I assume I have some mis-match of java/apktool/adb/apkmanager... this is what APKmanager returns:
Apk Manager v5.0.2
ApkTool v1.4.1
7za v9.20
Roptipng v0.6.3
Sox v14.3.1
Android Asset Packaging Tool v0.2
I'm getting errors in my log during compile:
Code:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
Could Not Find C:\sdk\apk_manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\sdk\apk_manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-de\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-de\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-fr\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-fr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-it\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\sdk\apk_manager\other\..\projects\framework-res.apk\res\values-it\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\John\AppData\Local\Temp\APKTOOL5962523339435393824.tmp, -x, -S, C:\sdk\apk_manager\other\..\projects\framework-res.apk\res, -M, C:\sdk\apk_manager\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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\John\AppData\Local\Temp\APKTOOL5962523339435393824.tmp, -x, -S, C:\sdk\apk_manager\other\..\projects\framework-res.apk\res, -M, C:\sdk\apk_manager\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
I tried using APKMultitool instead of APKManager, same/similar errors.
Any help would be greatly appreciated...
Hell, if someone has the time to help me via teamviewer, I'll send you a working HD7 with a busted screen for you to tinker with.
i'm having the same problems but with apktool and recompiling well... pretty much anything. the only thing i've successfully recompiled was music2.apk and i didn't even make any changes to it. i get pretty much the same errors. it starts then p00f a bunch of errors.
It's a bug in the version of apktool that adds an extra % to the end of the plurals. Try using the toolset i posted here instead: http://forum.xda-developers.com/showthread.php?t=1566778
Art if this works I'm 100% indebted to you.
I noticed you dont mention loading your framework into memory... is that safe?
JFigure said:
Art if this works I'm 100% indebted to you.
I noticed you dont mention loading your framework into memory... is that safe?
Click to expand...
Click to collapse
I install framework first, yes.
maybe this will be also interesting for you
apktool has some bugs in combination with ics
heres a modded apktool for ics....
http://www.xda-developers.com/android/modified-apktool-for-troublesome-system-apks-on-ics/
that looks good, but in the original post they mention having to swap between two different apktools, quite the PITA.
decompile with the original, compile with the modded..
how do i start this tool?
if i click the .bat a window opens quickly and closes directly, cant read it lol..
pa.pn2 said:
decompile with the original, compile with the modded..
how do i start this tool?
if i click the .bat a window opens quickly and closes directly, cant read it lol..
Click to expand...
Click to collapse
Decompile with apktool 1.4.2 and recompile with 1.4.3 and u need to hold shift and right click and there should b an option to open up CMD and then im sure u knw wat to do n if not let me knw
I can decompile and compile with the same apktool version
Sent from my Galaxy Nexus using xda premium

[GUIDE] ICS HOLO SPINNERS! For GB - ACE[5830/5830i]/ACE DUOS/ Y / Y DUOS

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

[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
------------------------------------------------------

Categories

Resources