[mod][guide]gt_i9500 - ink effect on ripple lockscreen - Galaxy S 4 i9500 Android Development

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 :/

Related

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

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

[MOD]How to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs

[MOD]How to Set Logs type to "View by All Call Logs" - Hide SMS from Call Logs
I made this mod to fix Homam's mod,
Homam tried in his mod to prevent sms from being logged, this mod
worked well for GB Roms, but is not compatible with Stock Email app on
ICS Roms.
So i followed karl999999's idea, and i made a more clean and stable changes.
This mod will :
Not remove any log
Set the Default Call logs type to "View All Call logs" (no SMS)
Let you view/edit all other logs types
You have to decompile "SecContacts.apk" (use my repackedApk_Manager if you have any issue with your apktool).
Edit "Contacts.apk\smali\com\android\contacts\activitie s\DialtactsActivity.smali", search for "onBackPressed" method and make these changes :
Code:
:cond_4
iget-object v0, p0, Lcom/android/contacts/activities/DialtactsActivity;->mCallLogFragment:Lcom/sec/android/app/dialertab/calllog/CallLogFragment;
iget-object v1, p0, Lcom/android/contacts/activities/DialtactsActivity;->mCallLogFragment:Lcom/sec/android/app/dialertab/calllog/CallLogFragment;
const/4 v1, 0x1
[COLOR=SeaGreen]++iput v1, v0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
[COLOR=Red]--iput v0, v0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
goto :goto_0
:cond_5
invoke-virtual {p0}, Lcom/android/contacts/activities/DialtactsActivity;->isTaskRoot()Z
move-result v0
Then edit "Contacts.apk\smali\com\sec\android\app\dialertab\ calllog\CallLogFragment.smali":
Code:
.method public constructor <init>()V
.locals 3
const/4 v0, 0x1
const/4 v2, 0x0
const/4 v1, 0x0
invoke-direct {p0}, Lcom/sec/android/app/dialertab/widget/DialtactsListFragment;-><init>()V
iput-boolean v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mSweepActionEnabled:Z
iput-object v1, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->unlockReceiver:Lcom/sec/android/app/dialertab/calllog/CallLogFragment$UnlockReceiver;
iput-boolean v2, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mResetMissedCheck:Z
[COLOR=SeaGreen]++iput v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
[COLOR=Red]--iput v2, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->mWhichButton:I[/COLOR]
iput v0, p0, Lcom/sec/android/app/dialertab/calllog/CallLogFragment;->CONTEXTMENU_CALL:I
That's all, compile and enjoy.
If you get a different Registers number, you just need to check at the beginning of each method what register has the value "0x1" and put it on "mWhichButton".
GT-I9300_WanamLite.ZSALED.Hide.SMS.From.Call.Logs.zip
Uploaded patches to be used on deodexed Roms.
I'm sure a lot of folks will like this mod. Looks a little too tricky for me but maybe I'll take a stab at it in the future!
sent from my Galaxy S III
Great work, thank you wanam.
..or maybe the great devs in our community can incorporate this mod into their ROM(s) ^^^
sent from my Galaxy S III
Coreym said:
..or maybe the great devs in our community can incorporate this mod into their ROM(s) ^^^
sent from my Galaxy S III
Click to expand...
Click to collapse
It's already included on my WanamLite V1.0.
wanam said:
It's already included on my WanamLite V1.0.
Click to expand...
Click to collapse
Awesome.. I'm still stock rooted. First time in a long time I've stayed stock. I'm enjoying it for the moment but will eventually start flashing and am def gonna be giving this a run. I think I'm gonna enjoy stock ROMs with this phone!
sent from my GummyROM'd Prime
May i ask how to install this mod?
Dovern said:
May i ask how to install this mod?
Click to expand...
Click to collapse
Yes, is there a simpler way to do this (flashing zip with CWM maybe)?
Thanks
Very useful mod. Stock roms should have this as an option.
jerricson said:
Very useful mod. Stock roms should have this as an option.
Click to expand...
Click to collapse
They have... On log screen press menu, press View by, then All calls... Or am I missing something???
CalInTheZone said:
They have... On log screen press menu, press View by, then All calls... Or am I missing something???
Click to expand...
Click to collapse
Your choice won't be saved .
g4rvd4 said:
Yes, is there a simpler way to do this (flashing zip with CWM maybe)?
Click to expand...
Click to collapse
+1
Please give me the instruction how to install it. I tried 10 times
removing
salam WANAM
i flashed your mod from CWM on my stock/rooted firmware
yes i did
and ended up messing my phone app. , it is totally my mistake , is there a way to remove this mod or re-flash the phone app ?
great work by the way
Will this mod work with XXLFB?
Many thanks
Kam
dr.kam said:
Will this mod work with XXLFB?
Many thanks
Kam
Click to expand...
Click to collapse
i am on a rom based on XXLFB
and it works for me
Sent from my GT-I9300 using xda premium
Is it possible to flash that zip file through CWM recovery, or do i have to do all the changes listed above (e.g. changing code and decompiling)
Thanks again guys
Kam
Stock ROM Success
On my stock rooted AT&T rom, I deleted the existing SecContacts.apk and SecContacts.odex and then copied the version from the attached zip. I had to re-add the icons to my home screen, but otherwise it seems to work fine.
edit
solved (thanks Wanam)
_neutron_ said:
can ayone help with this?
Code:
--------------------------------------------------------------------------
|20/07/2012 -- 17:00:35.98|
--------------------------------------------------------------------------
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/signedSecContacts.apk
Could Not Find C:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-f
or-modding/unsignedSecContacts.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\****\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'phone_call_prohibited' has no default translation in C:\A
pk_Manager_ICS\other\..\projects\SecContacts.apk\res; found: es pt
C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\res\layout\delete_contacts_
activity.xml:5: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/common_custom_action_bar').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\****\AppData\Local\Temp\APK
TOOL9055894213858941346.tmp, -I, C:\Users\****\apktool\framework\1.apk, -S, C:\Ap
k_Manager_ICS\other\..\projects\SecContacts.apk\res, -M, C:\Apk_Manager_ICS\othe
r\..\projects\SecContacts.apk\AndroidManifest.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\****\AppData\Local\Temp\APKTOOL9055894213858941346.tmp, -I, C:\Users\****\apk
tool\framework\1.apk, -S, C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\r
es, -M, C:\Apk_Manager_ICS\other\..\projects\SecContacts.apk\AndroidManifest.xml
]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
The system cannot find the file specified.
Press any key to continue . . .
C:\Apk_Manager_ICS>
Click to expand...
Click to collapse
Edit "SecContacts.apk\res\values\layouts.xml" and add missing layout :
Code:
<item type="layout" name="common_custom_action_bar">false</item>

[Q] I cant compile system apps...PLZ help me

Hi,
Its a long time that I am tryeing edit system apps with apktool..
I can decompile files without any problem..But when I even add a new line in styles.xml or a new image I cant compile file anymore...Is there any steps that I forgot to do?
For example here I have add lines to style.xml file and got this
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b settings
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:146:
error: Error retrieving parent for item: No resource found that matches the give
n name '@android:style/Theme.Holo.Dialog.Alert'.
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:150:
error: Error retrieving parent for item: No resource found that matches the give
n name '@com.sonyericsson.uxp:style/SEMCTheme'.
F:\Program Files (x86)\Android\Apktool1.5.2\settings\res\values\styles.xml:162:
error: Error retrieving parent for item: No resource found that matches the give
n name '@android:style/Theme.Holo.Dialog.Alert'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\T
emp\APKTOOL982444968840542437.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.
apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\settings\res, -M, F:\Progra
m Files (x86)\Android\Apktool1.5.2\settings\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, 15, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL982444968840542437.tmp, -I, C:\Users\C
razy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1.
5.2\settings\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\settings\Andro
idManifest.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, 15, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\Tem
p\APKTOOL982444968840542437.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.ap
k, -S, F:\Program Files (x86)\Android\Apktool1.5.2\settings\res, -M, F:\Program
Files (x86)\Android\Apktool1.5.2\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
or this one is for another app:
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>cmd
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.ap
k
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b Conversations
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
25: error: Error: No resource found that matches the given name: attr 'android:s
emcWindowShowGlobalAppBackground'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\T
emp\APKTOOL3280165132194446604.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1
.apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\
Program Files (x86)\Android\Apktool1.5.2\Conversations\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, 14, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL3280165132194446604.tmp, -I, C:\Users\
Crazy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1
.5.2\Conversations\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\Conversa
tions\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, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\Tem
p\APKTOOL3280165132194446604.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.a
pk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\Pr
ogram Files (x86)\Android\Apktool1.5.2\Conversations\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
F:\Program Files (x86)\Android\Apktool1.5.2>
Can some one please help me abut this problem
See the second link in my sig.
Sent from Myushi
Thanks a lot..I have already seen your topic but I cant fix my problem...
When I try to compile file without any change I still get this error ..I dont know what I must do now..I trued diffrent apktools and apk manager and .. but I cant compile system apps while I can decompile theme without any problem
Code:
F:\Program Files (x86)\Android\Apktool1.5.2>cmd
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d conversations.apk
Destination directory (F:\Program Files (x86)\Android\Apktool1.5.2\conversations
) already exists. Use -f switch if you want to overwrite it.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk
Destination directory (F:\Program Files (x86)\Android\Apktool1.5.2\Conversations
) already exists. Use -f switch if you want to overwrite it.
F:\Program Files (x86)\Android\Apktool1.5.2>apktool d Conversations.apk -f
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Crazy Virus\apktool\framework\1.ap
k
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
F:\Program Files (x86)\Android\Apktool1.5.2>apktool b Conversations
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
8: error: Error: No resource found that matches the given name: attr 'android:su
pportsRtl'.
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
15: error: Error: No resource found that matches the given name: attr 'android:s
upportsRtl'.
F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res\values\styles.xml:
22: error: Error: No resource found that matches the given name: attr 'android:s
upportsRtl'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\T
emp\APKTOOL5370304368205710480.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1
.apk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\
Program Files (x86)\Android\Apktool1.5.2\Conversations\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, 14, --target-sdk-version, 15, -F, C:
\Users\CRAZYV~1\AppData\Local\Temp\APKTOOL5370304368205710480.tmp, -I, C:\Users\
Crazy Virus\apktool\framework\1.apk, -S, F:\Program Files (x86)\Android\Apktool1
.5.2\Conversations\res, -M, F:\Program Files (x86)\Android\Apktool1.5.2\Conversa
tions\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, 14, --target-sdk-version, 15, -F, C:\Users\CRAZYV~1\AppData\Local\Tem
p\APKTOOL5370304368205710480.tmp, -I, C:\Users\Crazy Virus\apktool\framework\1.a
pk, -S, F:\Program Files (x86)\Android\Apktool1.5.2\Conversations\res, -M, F:\Pr
ogram Files (x86)\Android\Apktool1.5.2\Conversations\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
F:\Program Files (x86)\Android\Apktool1.5.2>

[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

[GUIDE]How to add EDT Tweak support on your SystemUI

Hi guys
This time I will make a tutorial on how to add "EDT" tweak support on your SystemUI
Features of EDT Tweaks
Battery Options
Click to expand...
Click to collapse
Show/Hide Battery Icon (Doesn't work)
Battery Text Style (Regular,Hide and Small %)
Prepend/Append Battery Text
Change Charging Color (For Battery Text)
Change Regular Color (For Battery Text)
Change Medium Level Color (For Battery Text)
Change Low Level Color (For Battery Text)
Clock Options
Click to expand...
Click to collapse
Show AM/PM
Small AM/PM
Hide AM/PM
Hide Clock
Signal Options
Click to expand...
Click to collapse
Show Signal Bars (Doesn't work)
Show Signal Strength (Not available yet)
Show dBm Text (Not released)
Bug List
Click to expand...
Click to collapse
Show/Hide Battery Icon
Show Signal Bars
Show Signal Strength
Show dBm Text
Requirements
Click to expand...
Click to collapse
EDT Files (download in attachment)
EDT Tweaks apk (download in attachment)
SystemUI.apk
Apktool or similar
How to Install
Click to expand...
Click to collapse
Download the EDT Files zip package on your Computer and extract it anywhere in your desktop
Now on your phone, Pull your SystemUI.apk and paste it on your sd card
Now connect your phone to your Computer and Connect USB Storage
Copy the pulled SystemUI.apk and paste it on your apktool folder
Decompile your SystemUI.apk (You know how to do it right?)
Now copy the extracted smali from the EDT Files zip package and paste it on smali/com/android/systemui/statusbar/. Replace if asked
Go to res/layout/ and open status_bar.xml
Copy this code
Code:
<com.android.systemui.statusbar.BatteryText android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
Paste it belowabove this code
Code:
com.android.systemui.statusbar.Clock
Compile the SystemUI.apk (You know how to do it right?)
On your phone, push the SystemUI.apk to system/app using Root Explorer or similar.
Now install EDT.apk and you can now use it's features
Credits
Click to expand...
Click to collapse
Romanbb
BarJei
on my last ROM, edt fully working except show/hide signal bar heheheheh
FIX for the BUG
At the StatusBarPolicy.smali at /smali/com/android/systemui/statusbar/policy
Search for this,
Code:
invoke-virtual {v6, v7, v2, v3}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
Below it, add these
Code:
iget-object v2, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mContext:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v2
const-string v3, "show_battery_icon"
invoke-static {v2, v3, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v2
if-nez v2, :cond_0
const v2, 0x0
invoke-virtual {v6, v7, v2}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
return-void
Credits to [email protected]
3r41nl33n said:
At the StatusBarPolicy.smali at /smali/com/android/systemui/statusbar/policy
Search for this,
Code:
invoke-virtual {v6, v7, v2, v3}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
Below it, add these
Code:
iget-object v2, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mContext:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v2
const-string v3, "show_battery_icon"
invoke-static {v2, v3, v10}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v2
if-nez v2, :cond_0
const v2, 0x0
invoke-virtual {v6, v7, v2}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
return-void
Credits to [email protected]
Click to expand...
Click to collapse
Thanks will add it right away :highfive:
Bug fixer tutorial added Thanks to 3r41nl33n :angel:
It works for you sir?
Help!
PineappleOwl said:
It works for you sir?
Click to expand...
Click to collapse
small am/pm doesn't work.
Edit: Problem Solved
recompiling error
I: Smaling...
I: Building resources...
/sdcard/apktool/1app/SystemUI_src/res/layout/status_bar.xml:9: error: Error parsing XML: not well-formed (invalid token)
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:4: error: No resource identifier found for attribute 'sidebuffer' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:4: error: No resource identifier found for attribute 'cycleType' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'cRadius' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'fadeOut' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'inactiveType' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'slide' in package 'android'
/sdcard/apktool/1app/SystemUI_src/res/layout/topwise_viewflow.xml:5: error: No resource identifier found for attribute 'separation' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/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: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.4, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, /data/data/per.pqy.apktool/APKTOOL7651502029082542169.tmp, -I, /apktool/framework/1.apk, -S, /sdcard/apktool/1app/SystemUI_src/res, -M, /sdcard/apktool/1app/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Actually i am confused
pranavaryans said:
Actually i am confused
Click to expand...
Click to collapse
Why?
Ok but clock so big and.somes bug
Gửi từ GT-S5360 của tôi bằng cách sử dụng Tapatalk 2
its work sirr.. thankz:good:

Categories

Resources