[GUIDE][4.2+] Replace your statusbar clock with a styled TextClock - Android Themes

This guide assumes that you can decompile & recompile apks.
Whilst theming my statusbar clock and running into a couple of smali problems, @Ticklefish suggested I look at TextClock - an extension to TextView that was introduced in Android 4.2
TextClock can display the current time and/or date as a formatted string using both 12-hour and 24-hour modes and makes a great drop-in replacement for the normal statusbar clock.
The statusbar clock code is contained in the com.android.systemui.statusbar.policy.Clock code block in SystemUI.apk\res\layout\status_bar.xml and we can replace this with a TextClock code block:
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:singleLine="true" />
The important bits here are the format strings:
Code:
android:format12Hour="EEE h:mm a"
which shows as Fri 8:26 PM
Code:
android:format24Hour="EEE HH:mm"
which shows as Fri 20:26
You can use a combination of the options below to create your preferred format:
d.............Day Of Month (single digit) 7
dd.......... Day Of Month (double digit) Zero, 07
EEEE......Day Of Week (Full) Monday
EEE........Week Day (Short) Mon
MMMM....Month (Full) AUGUST
MMM.......Month (Short) AUG
MM..........Month (double digit) 08
M............Month (Single digit) 8
yyyy........Year (Full) 2013
yy............Year (Short) 13
h..............Hour (12 hour, single digit) 8
hh............Hour (12 hour, double digit) 08
H.............Hour (24 hour, single digit) 8 20
HH...........Hour (24 hour, double digit) 08 20 (Note: some roms use kk instead)
m.............Minute (single digit) 9
MM..........Minute (double digit) 09
s..............Second (single digit) 9
ss............Second (double digit) 09
a..............Marker AM/PM
Click to expand...
Click to collapse
One advantage of using TextClock is that if you move the android:format strings into string resources, you can embed simple HTML into the strings to enhance the result
So replace:
Code:
android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm"
with:
Code:
android:format12Hour="@string/status_bar_clock_12hr_format" android:format24Hour="@string/status_bar_clock_24hr_format"
and add two strings to the bottom of SystemUI.apk\res\values\strings.xml,
Code:
<string name="status_bar_clock_12hr_format">EEE h:mm a</string>
<string name="status_bar_clock_24hr_format">EEE HH:mm</string>
these can then be styled using HTML
<b>...</b> ..................................makes the the enclosed text bold
<i>...</i> ...................................makes the the enclosed text italic
<font size ="X">...</font> ............sets the font size of the enclosed text to X.0dip
<font fgcolor ="#ffffffff">...</> ........sets the foreground colour of the enclosed text
<font bgcolor ="#ff000000">...</> .sets the background colour of the enclosed text
Click to expand...
Click to collapse
Example:
Code:
<string name="status_bar_clock_12hr_format"><font size="12">EEE </font>h:mm<font size="12"> a</font></string>
which shows as
{
"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"
}
as the base font size was 18.0dip
Code:
<string name="status_bar_clock_24hr_format"><font size="12">EEE </font>HH:mm</string>
which shows as
as the base font size was 18.0dip
Other styling is handled normally, either in-line or in an external style resource in SystemUI.apk\res\values\styles.xml
Code:
android:textAppearance="@style/TextAppearance.StatusBar.Clock"
Embedding HTML in string resources will also work in a normal TextView and there are a few additional tags you can use. REFERENCE
Note: Setting android:textAllCaps="true" inline or <item name="android:textAllCaps">true</item> in your external style resource will break the HTML embedded in the XML strings as this HAS to be in lowercase for it to be parsed.

Nice work Spannaa :thumbup:
Sent from my GT-I9100 using Tapatalk 2

Great guide mate. Just missed the 4.1+ version.

Nice Guide Bro :thumbup::thumbup::thumbup::thumbup::thumbup:
Sent from my GT-I9500 using Tapatalk 2

_Sale_ said:
Nice work Spannaa :thumbup:
Click to expand...
Click to collapse
ICS_XD said:
Nice Guide Bro :thumbup::thumbup::thumbup::thumbup::thumbup:
Click to expand...
Click to collapse
avirk said:
Great guide mate. Just missed the 4.1+ version.
Click to expand...
Click to collapse
Thanks.
Unfortunately, it won't work on 4.1.2 NeatROM for the S2 as Google only introduced the code in v4.2

thanks Spannaa, great guide
please a helping hand. where am I doing wrong?
this is my clock line
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
and I replaced it with
Code:
<TextClock android:format24Hour="@string/status_bar_clock_24hr_format" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
and in strings.xml I added
Code:
<string name="status_bar_clock_24hr_format">EEE HH:mm</string>
I'd like it to be like your example
and I wish it was Lun and no lun
ps. sorry for my poor english

glfsd said:
thanks Spannaa, great guide
please a helping hand. where am I doing wrong?
this is my clock line
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
and I replaced it with
Code:
<TextClock android:format24Hour="@string/status_bar_clock_24hr_format" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="bottom" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:shadowColor="#ff000000" android:shadowDy="2.0" android:shadowRadius="2.0" />
and in strings.xml I added
Code:
<string name="status_bar_clock_24hr_format">EEE HH:mm</string>
I'd like it to be like your example
and I wish it was Lun and no lun
ps. sorry for my poor english
Click to expand...
Click to collapse
To display the correct hour, try changing the HH to kk (something to do with SimpleDateFormat)
I'm pretty sure that the capitalisation of the day is controlled by your timezone and locale settings so I don't think that's changeable.

Spannaa said:
To display the correct hour, try changing the HH to kk (something to do with SimpleDateFormat)
Click to expand...
Click to collapse
THANK YOU VERY MUCH! with "kk"
Spannaa said:
I'm pretty sure that the capitalisation of the day is controlled by your timezone and locale settings so I don't think that's changeable.
Click to expand...
Click to collapse

glfsd said:
THANK YOU VERY MUCH! with "kk"
Click to expand...
Click to collapse
Since you're not using HTML tags in your string, you could set android:textAllCaps="true" inline or <item name="android:textAllCaps">true</item> in your external style resource to change lun to LUN

Spannaa said:
Since you're not using HTML tags in your string, you could set android:textAllCaps="true" inline or <item name="android:textAllCaps">true</item> in your external style resource to change lun to LUN
Click to expand...
Click to collapse
i had understood this, i would have wanted to try "Lun"
anyway, thanks again!

sorry Spannaa, one last thing.
I can not change the font size of the "LUN"
I put it in strings.xml, this
Code:
<string name="status_bar_clock_24hr_format"><font size="8">EEE </font>kk:mm</string>
is that right? but does not change
this is my styles.xml
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>

glfsd said:
sorry Spannaa, one last thing.
I can not change the font size of the "LUN"
I put it in strings.xml, this
Code:
<string name="status_bar_clock_24hr_format"><font size="8">EEE </font>kk:mm</string>
is that right? but does not change
this is my styles.xml
Code:
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
Click to expand...
Click to collapse
Have you capitalised the string in your TextClock xml?
Now you're using HTML in your string, you can't set android:textAllCaps="true" as the embedded HTML has to be in lowercase for it to be parsed.

Hey mate.
Fantastic.
Simple guide to follow.
Signature under construction.

Spannaa said:
This guide assumes that you can decompile & recompile apks.
The statusbar clock code is contained in the com.android.systemui.statusbar.policy.Clock code block in SystemUI.apk\res\layout\status_bar.xml and we can replace this with a TextClock code block:
Code:
<TextClock android:format12Hour="@string/status_bar_expanded_clock_12hr_format" android:format24Hour="@string/status_bar_expanded_clock_24hr_format" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" />
Click to expand...
Click to collapse
sir this is the error i get :
Code:
I: Building resources...
C:\apktool\systemui\res\layout\status_bar.xml:19: error: Error: No resource foun
d that matches the given name (at 'layout_marginLeft' with value '@dimen/notific
ation_panel_header_clock_margin_left').
aapt: warning: string 'compat_mode_help_body' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo ms
aapt: warning: string 'compat_mode_help_header' has no default translation in C:
\apktool\systemui\res; found: et hy ka km lo ms
aapt: warning: string 'done_button' has no default translation in C:\apktool\sys
temui\res; found: mn
aapt: warning: string 'jelly_bean_dream_name' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'quick_settings_wifi_display_label' has no default transla
tion in C:\apktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'quick_settings_wifi_display_no_connection_label' has no d
efault translation in C:\apktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'ssl_ca_cert_dialog_title' has no default translation in C
:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_info_message' has no default translation in C
:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_settings_button' has no default translation i
n C:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_warning_message' has no default translation i
n C:\apktool\systemui\res; found: mn
aapt: warning: string 'status_bar_help_text' has no default translation in C:\ap
ktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'status_bar_help_title' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo mn ms
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\Home\AppData\Local\Temp\
APKTOOL2380618344831959179.tmp, -I, C:\Users\Home\apktool\framework\1.apk, -S, C
:\apktool\systemui\res, -M, C:\apktool\systemui\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, 19, --target-sdk-version, 19, -F, C:
\Users\Home\AppData\Local\Temp\APKTOOL2380618344831959179.tmp, -I, C:\Users\Home
\apktool\framework\1.apk, -S, C:\apktool\systemui\res, -M, C:\apktool\systemui\A
ndroidManifest.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, 19, --target-sdk-version, 19, -F, C:\Users\Home\AppData\Local\Temp\AP
KTOOL2380618344831959179.tmp, -I, C:\Users\Home\apktool\framework\1.apk, -S, C:\
apktool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool>
all i did was replaced the clock line with :
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" />

yeshwanthvshenoy said:
sir this is the error i get...
all i did was replaced the clock line with :
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" />
Click to expand...
Click to collapse
No need to quote the whole of the first post
There's only one error in your log, the rest are warnings.
C:\apktool\systemui\res\layout\status_bar.xml:19: error: Error: No resource found that matches the given name (at 'layout_marginLeft' with value '@dimen/notification_panel_header_clock_margin_left').
Click to expand...
Click to collapse
which tells you that there is no value called "notification_panel_header_clock_margin_left" in SystemUI.apk\res\values\dimens.xml
so you either need to add this dimen to dimens.xml
Code:
<dimen name="notification_panel_header_clock_margin_left">4.0dip</dimen>
or change the TextClock xml from
Code:
android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left"
to
Code:
android:layout_marginLeft="4.0dip"

yeshwanthvshenoy said:
sir this is the error i get :
Code:
I: Building resources...
C:\apktool\systemui\res\layout\status_bar.xml:19: error: Error: No resource foun
d that matches the given name (at 'layout_marginLeft' with value '@dimen/notific
ation_panel_header_clock_margin_left').
aapt: warning: string 'compat_mode_help_body' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo ms
aapt: warning: string 'compat_mode_help_header' has no default translation in C:
\apktool\systemui\res; found: et hy ka km lo ms
aapt: warning: string 'done_button' has no default translation in C:\apktool\sys
temui\res; found: mn
aapt: warning: string 'jelly_bean_dream_name' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'quick_settings_wifi_display_label' has no default transla
tion in C:\apktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'quick_settings_wifi_display_no_connection_label' has no d
efault translation in C:\apktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'ssl_ca_cert_dialog_title' has no default translation in C
:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_info_message' has no default translation in C
:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_settings_button' has no default translation i
n C:\apktool\systemui\res; found: mn
aapt: warning: string 'ssl_ca_cert_warning_message' has no default translation i
n C:\apktool\systemui\res; found: mn
aapt: warning: string 'status_bar_help_text' has no default translation in C:\ap
ktool\systemui\res; found: et hy ka km lo mn ms
aapt: warning: string 'status_bar_help_title' has no default translation in C:\a
pktool\systemui\res; found: et hy ka km lo mn ms
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\Home\AppData\Local\Temp\
APKTOOL2380618344831959179.tmp, -I, C:\Users\Home\apktool\framework\1.apk, -S, C
:\apktool\systemui\res, -M, C:\apktool\systemui\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, 19, --target-sdk-version, 19, -F, C:
\Users\Home\AppData\Local\Temp\APKTOOL2380618344831959179.tmp, -I, C:\Users\Home
\apktool\framework\1.apk, -S, C:\apktool\systemui\res, -M, C:\apktool\systemui\A
ndroidManifest.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, 19, --target-sdk-version, 19, -F, C:\Users\Home\AppData\Local\Temp\AP
KTOOL2380618344831959179.tmp, -I, C:\Users\Home\apktool\framework\1.apk, -S, C:\
apktool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool>
all i did was replaced the clock line with :
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left" android:singleLine="true" />
Click to expand...
Click to collapse
Please don't quote the entire OP. It's one of the few cardinal sins in xda as it clutters up the screen and makes reading threads a nightmare.
Anyway, your error is basically this:
Code:
C:\apktool\systemui\res\layout\status_bar.xml:19: error: Error: No resource foun
d that matches the given name (at 'layout_marginLeft' with value '@dimen/notific
ation_panel_header_clock_margin_left').
There's also some translation warnings which you can safely ignore and a load of aapt error messages which you can ignore as well. Once you get the hang of reading compiling errors like these, you'll realise that they do actually give you enough information to fix the issue.
Your apk won't recompile because you don't have a dimension called 'notific
ation_panel_header_clock_margin_left'. You can either edit your dimens.xml to put it in or it might be easier to just delete that attribute:
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:singleLine="true" />
---------- Post added at 05:34 PM ---------- Previous post was at 05:31 PM ----------
Spannaa said:
No need to quote the whole of the first post
There's only one error in your log, the rest are warnings.
which tells you that there is no value called "notification_panel_header_clock_margin_left" in SystemUI.apk\res\values\dimens.xml
so you either need to add this dimen to dimens.xml
Code:
<dimen name="notification_panel_header_clock_margin_left">4.0dip</dimen>
or change the TextClock xml from
Code:
android:layout_marginLeft="@dimen/notification_panel_header_clock_margin_left"
to
Code:
android:layout_marginLeft="4.0dip"
Click to expand...
Click to collapse
You beat my reply by six whole minutes. Sigh...you're just too fast for me!

Ticklefish said:
You beat my reply by six whole minutes. Sigh...you're just too fast for me!
Click to expand...
Click to collapse
Maybe, but you added a bit more detail - thanks

I get large font on my defy

Huncriter said:
I get large font on my defy
Click to expand...
Click to collapse
I'll need a lot more detail than that if you need help
Post your TextClock code and any associated lines from strings.xml styles.xml and dimens.xml
Sent from my GT-I9300...

Spannaa said:
I'll need a lot more detail than that if you need help
Post your TextClock code and any associated lines from strings.xml styles.xml and dimens.xml
Sent from my GT-I9300...
Click to expand...
Click to collapse
this is my code
Code:
<TextClock android:format12Hour="EEE h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:layout_marginTop="-3.0dip" android:singleLine="true" />
styles.xml
Code:
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:fontFamily">sans-serif-light</item>
</style>

Related

Animated Pulldowns for GB ROMS - "How to"

First and foremost all credit goes to Alastrionia over at DF for cracking this.. Considering we haven't seen it anywhere else and most devs told us it wasn't possible w/o mega code writing.. but we prevailed (well, Alastrionia did) and he wanted to share it with the Android community... Here is a c&p of his OP over at DF.....
"First off this should work with all GB based roms that use systemui.apk
there may be subtle differences but the basics should be the same all around.
after much trial and error and ripping what little hair I have left out
success was mine and it's time to share this with everyone
and it's so simple that you'll love how fast you can integrate this into ROM's / themes / whatever your heart desires
1. take your systemui.apk and decompile it
2. navigate to layout folder
3. grab "status_bar_tracking.xml" and open it up in your editor
(now for the fun)
4. to the first line - "com.android.systemui.statusbar.TrackingView" add this ""android:background="@drawable/...anim.xml""
<com.android.systemui.statusbar.TrackingView android:background="@drawable/...anim.xml...>
5. after saving that, navigate back into the drawable folder and add your animation.xml file there
5a. next navigate into the drawable/hdpi folder and add your animated images
6. also in the drawable/hdpi folder find and open up the shade_bg.png with your editor and make it 100% transparent
7. now it's time to recompile your apk , following all the usual directions with that
8. enjoy your newly created systemui.apk with a pretty animated background. new and fresh and unlike anything before
that's it. done deal. it's super easy and fast and breathes life into true customization.
I used the stat_sys_upload.xml from the framework-res.apk as my base
all I had to do was change the timing and change the image names.
also you'll notice above - don't copy it word for word on the xml.
I did the "..." meaning whatever you decide to name your file."
*ADDED* - In the xml he says to add to the drawable folder, change the name of the anim_# pngs to something else like pulldown_anim1, pulldown_anim2, etc.. then make your new images that you add to the drawable-hdpi folder named the same, in sequence... Neither I nor Alastronia are responsible for your device so if you try this, it's at your own risk... but well worth that risk.. ... I don't have a video to post but I can confirm that this is legit and I am running one right now... I did test adding new png's via metamorph and zipthemer and it breaks the animation somehow... If I'm allowed to say this, shoot over to DF and locate Alastrionia and show him some donate love.. he very much deserves it... The possibilities are virtually endless as to customizing your pulldown now.. a slide show of loved ones, a cartoon image in motion, your fav boot animation, etc...
{
"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"
}
Here's an example.. My MURDER gradually grows....
Exactly how is the animation(s)? Do you have a video or something?
Sent from my HTC Desire HD using XDA Premium App
I don't... sorry. But on df in the Droid themers section Alastrionia posted this thread and in the posts Mbk posted a video of the matrix one he made... right now we're using 5-8 anim_pngs so its still frame by frame but it's still very cool and totally different... on my screen shots, the "Murder" within the pulldown starts very small and gradually gets bigger....
Sent from my Droid using XDA App
deleted post because I think I know how now.
And here's for froyo and maybe eclair ROMs. My port
You need transparency hack enabled
Decompile framework-res.apk
Go to drawable-hdpi and make status_bar_background.png fully transparent with PS or GIMP
GO to layout and edit the 2nd line of status_bar_tracking.xml like this
<com.android.server.status.TrackingView android:background="@drawable/status_bar_background_animation" androidrientation="vertical" androidaddingLeft="0.0px" androidaddingRight="0.0px" androidaddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
where status_bar_background_animation links to status_bar_background_animation.xml in drawable folder(dont have it? create it), there you set the images and durations.
So pleased
Just got this running on my Htc Desire and should be able to go crazy with animations because of framework-res.apk being on sd-ext.
Thanks go to:
Alastrionia - for the original idea and coding.
santiemanuel - for the Froyo coding
B-boy® - for this thread
Thanks again all
santiemanuel said:
And here's for froyo and maybe eclair ROMs. My port
You need transparency hack enabled
Decompile framework-res.apk
Go to drawable-hdpi and make status_bar_background.png fully transparent with PS or GIMP
GO to layout and edit the 2nd line of status_bar_tracking.xml like this
<com.android.server.status.TrackingView android:background="@drawable/status_bar_background_animation" androidrientation="vertical" androidaddingLeft="0.0px" androidaddingRight="0.0px" androidaddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
where status_bar_background_animation links to status_bar_background_animation.xml in drawable folder(dont have it? create it), there you set the images and durations.
Click to expand...
Click to collapse
I'm with you until the create the xml part. Is it a similar layout to battery charge or sync animation xml?
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
status_bar_background_animation.xml
That had me stumped at first.
Simply edit this xml to have the correct number off lines for your animation images. Also, you might need to edit the duration time before putting it in the /drawable folder.
download zip
LfcFan1977 said:
That had me stumped at first.
Simply edit this xml to have the correct number off lines for your animation images. Also, you might need to edit the duration time before putting it in the /drawable folder.
download zip
Click to expand...
Click to collapse
Sweet. Thank you.
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
[help] idea
Instead of using status_bar_background.png, does anybody know how I might use status_bar_close_on.9.png instead?
@silverxbv2
There is a button for that
LfcFan1977 said:
Instead of using status_bar_background.png, does anybody know how I might use status_bar_close_on.9.png instead?
@silverxbv2
There is a button for that
Click to expand...
Click to collapse
Not from the app for some reason.
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
After I finish steps 1-6, during the recompiling portion I get the following error using APK Manager:
Code:
C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res\layout\status_bar_tracking.xml:2: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DSB\AppData\Local\Temp\APKTOOL3941090156111040610.tmp, -I, C:\Users\DSB\apktool\framework\1.apk, -S, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res, -M, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DSB\AppData\Local\Temp\APKTOOL3941090156111040610.tmp, -I, C:\Users\DSB\apktool\framework\1.apk, -S, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res, -M, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Anyone know wtf I'm doing wrong?
Double check your syntax in status bar tracking xml.
http://www.dropbox.com/referrals/NTEyOTE1MzA3OQ
I think I added it right...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.systemui.statusbar.TrackingView android:background="@drawable/...anim.xml android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<View android:background="@drawable/shade_bg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.CloseDragHandle>
</com.android.systemui.statusbar.TrackingView>
@wewoapsiak
This is wrong.
Code:
<com.android.systemui.statusbar.TrackingView android:background="@drawable/...anim.xml android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
It should be more like.
Code:
<com.android.systemui.statusbar.TrackingView android:background="@drawable/status_bar_background_animation.xml android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
Then you need to create a status_bar_background_animation.xml to go in the /drawable folder.
Using this one (here) should be ok, just change the duration times and rename the pulldown#.png images to match your animation images.
[REQ]@B-boy
Can you please change the thread title to either include Froyo or remove the GB?
Froyo
Here is what I have come up with so far but I really need to figure out how to slimline it, framework-res.apk went from 7mb to 12mb.
LfcFan1977 said:
Here is what I have come up with so far but I really need to figure out how to slimline it, framework-res.apk went from 7mb to 12mb.
Click to expand...
Click to collapse
Wow! That looks amazing.
Thanks
Played about with the durations a little since I made that gif animation so NOTIFICATION" stay on for longer and a longer pause between scrolls.
Working on another version now and hopefully the framework will be smaller.
Is yours working now?
[Q][REQs]Froyo
Does anybody know how I can get transparency enabled for my animation images on Froyo?
Transparency is enable for my status_bar_background.png but if I use transparency on my animation png's I get bootloop and black screen exactly when the lockscreen should appear.
LfcFan1977 said:
Thanks
Is yours working now?
Click to expand...
Click to collapse
No I still get this error while compiling
Code:
C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res\layout\status_bar_tracking.xml:2: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DSB\AppData\Local\Temp\APKTOOL8047304496797767486.tmp, -I, C:\Users\DSB\apktool\framework\1.apk, -S, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res, -M, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\DSB\AppData\Local\Temp\APKTOOL8047304496797767486.tmp, -I, C:\Users\DSB\apktool\framework\1.apk, -S, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\res, -M, C:\Users\DSB\Android\Personalization\Theming stuff\apk_manager_4.9\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
No clue what invalid token is, I made the line look like this:
Code:
<com.android.systemui.statusbar.TrackingView android:background="@drawable/status_bar_background_animation.xml android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
And I'm using Notepad++ to edit the xml file.

[Q] APKTOOL error compile settings.apk

Hi,
I'm new to Android app developing.
I got an error from apktool.
All I just did is decompile JOYSettings.apk(came from CM7.2 iPhone-style ROM) with apktool(NOT apkmultitool) and edit the "strings.xml" in /res/ , just to correct the broken English made by the ROM cooker but got this error when compiling:
C:\Users\pan_2\Desktop\apk>apktool b JOYSettings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Exception in thread "main" aapt: warning: string 'add_device_admin' has no defau
lt translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_ask_enablement_and_lasting_discovery' has no de
fault translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_C
N
aapt: warning: string 'bluetooth_ask_lasting_discovery' has no default translati
on in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_dialog_text' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_notif_message' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_permission_request' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_summary' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_title' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_connected' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_use_for' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_is_discoverable_always' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_profile_hid' has no default translation in C:\U
sers\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_summary_connected_to_hid' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout' has no default translation
in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout_summary' has no default tran
slation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_date_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_time_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'lock_settings_picker_title' has no default translation in
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'system_updata_info' has no default translation in C:\User
s\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.t
mp, -I, C:\Users\pan_2\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\J
OYSettings.apk\res, -M, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManife
st.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\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.tmp, -I, C:\Users\pan_2
\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res, -M
, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Can someone help me please
Sorry for being a noob
U need o put framework installed in apktool
unwritten sentance
Did u include resoures.arsc in compile?
spacecaker said:
U need o put framework installed in apktool
unwritten sentance
Click to expand...
Click to collapse
Sry, not spamming, but pls tell me how please.....
Btw, I think I can use apkmultitool and decompile the apk with dependencies
Btw2, I'm not even in high school yet, so.....
Thx anyway
AashayS said:
Did u include resoures.arsc in compile?
Click to expand...
Click to collapse
No...., not in the file.
panpjp said:
Sry, not spamming, but pls tell me how please.....
Btw, I think I can use apkmultitool and decompile the apk with dependencies
Btw2, I'm not even in high school yet, so.....
Thx anyway
Click to expand...
Click to collapse
Some apk files need to read framework's structure so if it requires, u need to install framework-res. and about ur errors, maybe it's caused by missing framework-res. Try to install original framework-res by following command:
Code:
apktool if framework-res.apk
You have only two errors hope u can figure out :
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
As devilsking stated above,there are just 2 errors and could solved by installing the right framework maybe.
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Caused by ids/values as stated (cant say much because the apk is not provided by you).
The rest of the errors are caused because of not having the exact translations throughout all the languages that the roms supports.
---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------
AashayS said:
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
Click to expand...
Click to collapse
-_- maybe you could point out where resources.arsc is located when an apk is decompiled?
Classes.dex gets decompiled into smali files and resources.arsc gets decompiled into xml files when an apk is decompiled.
devilsking said:
Some apk files need to read framework's structure so if it requires, u need to install framework-res. and about ur errors, maybe it's caused by missing framework-res. Try to install original framework-res by following command:
Code:
apktool if framework-res.apk
You have only two errors hope u can figure out :
Code:
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\lay out-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Click to expand...
Click to collapse
Figured it out before you posted Thanks anyway.
P.S. I hitted Thx already.
Thanks!
Modulüs said:
Solution : open apk file in 7zip and copy resources.arsc to the decompiled dir . Now compile
| Google+ |
Click to expand...
Click to collapse
Thanks so much, but if I am editing XML files, especially in the values folder, will this still be OK. (Isn't the values folder the decompiled .arsc file?)
Hi, i have a big problem. I'm trying to edit settings.apk, i copied the original Resources-arsc in the folder because without that file was not working, then recompiled... everything seems to work, but files inside APK are not encoded!!!!! in fact the apk doens't work anymore...
I've tried to google it but didn't find any help...
panpjp said:
Hi,
I'm new to Android app developing.
I got an error from apktool.
All I just did is decompile JOYSettings.apk(came from CM7.2 iPhone-style ROM) with apktool(NOT apkmultitool) and edit the "strings.xml" in /res/ , just to correct the broken English made by the ROM cooker but got this error when compiling:
C:\Users\pan_2\Desktop\apk>apktool b JOYSettings.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_add.xml:
4: error: Error: No resource type specified (at 'background' with value '@173025
04').
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res\layout-port\device_admin_settings
.xml:4: error: Error: No resource type specified (at 'background' with value '@1
7302504').
Exception in thread "main" aapt: warning: string 'add_device_admin' has no defau
lt translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_ask_enablement_and_lasting_discovery' has no de
fault translation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_C
N
aapt: warning: string 'bluetooth_ask_lasting_discovery' has no default translati
on in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_dialog_text' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_notif_message' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_connection_permission_request' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_summary' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_discoverable_duration_title' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_connected' has no default t
ranslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_hid_profile_summary_use_for' has no default tra
nslation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_is_discoverable_always' has no default translat
ion in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_profile_hid' has no default translation in C:\U
sers\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_summary_connected_to_hid' has no default transl
ation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout' has no default translation
in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'bluetooth_visibility_timeout_summary' has no default tran
slation in C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_date_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'datetime_time_set_text' has no default translation in C:\
Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'lock_settings_picker_title' has no default translation in
C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
aapt: warning: string 'system_updata_info' has no default translation in C:\User
s\pan_2\Desktop\apk\JOYSettings.apk\res; found: zh_CN
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.t
mp, -I, C:\Users\pan_2\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\J
OYSettings.apk\res, -M, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManife
st.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\pan_2\AppData\Local\Temp\APKTOOL6241782532963690871.tmp, -I, C:\Users\pan_2
\apktool\framework\1.apk, -S, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\res, -M
, C:\Users\pan_2\Desktop\apk\JOYSettings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Can someone help me please
Sorry for being a noob
Click to expand...
Click to collapse
Try this process:
1. Open apk file in 7zip
2.Copy RESSOURCES.arsc and META-Inf to the decompiled dir
3. Recompile your Settings apk.
I use apktool but that's true for apkmultitool, VTS, anroidMultitool ....

I Need Help, Will Give Thanks, Please Help Me Change Popup Menu Text Color To White

{
"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"
}
PLEASE HELP ME, I WILL GIVE THANKS, IT WOULD MEAN ALOT, AND PLEASE DONT
SEND ME LINKS TO POST, I HAVE SEARCHED AND TRIED EVERYTHING
THE ROM IS XWLPG FOR I9100 (SGS2) AND THE FRAMEWORK INCLUDES JKAY (IF IT MATTERS),, and when editing the styles.xml and you recompile, to i use old resources.arsc from the old untouched framework-res.apk, or should i just use the new one, or does it not matter?​
Well styles is in values folder which is in resources. So.....if you change styles xml how do you think your changes will take effect if you use the original one?
Depending how jkay implemented the text color though you may find changing that in styles also gives you white text on white backgrounds elsewhere in the rom.
Oh and theres no need FOR THE CAPS!
Sent from my GT-I9100 using Tapatalk 2
that didnt help me well, i will try and not use original resources.arsc file,
and some guides say to delete it before recompile (Wanam_Apk_Manager_ICS),
will the apk still work if i remove that file?
You need to think about what your doing rather than just doing it.
You decompile...change some files.
Then when you compile it says "do you want me to be helpful boss and keep the files you didnt mod?".
So you say "yes please that would be very kind my good sir" and it creates the keep folder. From this folder you delete any files you modded. So if you modded styles you need to delete resources (as its in the values folder that creates resources).
Now it compiles the files named in keep folder and says "hang on boss, I dont have a resources file! I best make one from the modded values files!"
So it uses your values folder to create the new resources and keeps everything else from the original apk.
Make sense?
Alternatively just use apktool on its own instead of apkmanager. No questions about keeping files
Sent from my GT-I9100 using Tapatalk 2
what tool are you using, mine doesn't make a resources.arsc out of my values, maybe because i get an error, but for some reason it lets me finsish up work in the keep folder, than at the end the new apk, has no resources.arsc inside, i knew this could never be, please upload the tool your using for me
You messed up styles then by the sounds of it. Read your log file. It will tell you what the error is
Sent from my GT-I9100 using Tapatalk 2
Try textappearance.holo.large (add an item for text color to that style to stop it inheriting from parent...)
If that's the right one create a new style/textappearance, locate the style for the dialog/popup and direct it towards your textappearance instead of the one its using. That would *I think* work and also prevent any color issues.
Resources.arsc contains styles so you can't delete that if you're making changes...
Sent from my GT-I9100 using xda premium
these error's happend without me even editing a thing, stock framework-res.apk deodexed only, and i get these error's i think there i the tool?
how do i fix
You have a broken .9 file....
Tw_ab_transparent_dark_holo.9.png
And your plurals file is wrong at line 79. You need to replace "$d of $d" with "%1$d of %2$d" in all the plurals mentioned at the top of the log.
Sent from my GT-I9100 using Tapatalk 2
what wrong with the plurals.xml ? i tried editing line 79. something
ok i get this now when i compile after deleting that png image
--------------------------------------------------------------------------
|Thu 06/28/2012 -- 15:53:11.32|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ALIAL-~1\AppData\Local\Temp\APKTOOL6229869327544781716.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\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\ALIAL-~1\AppData\Local\Temp\APKTOOL6229869327544781716.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\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
ok i have fixed the plurals problem
and im still getting the same mistake
--------------------------------------------------------------------------
|Thu 06/28/2012 -- 16:09:39.63|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: sr
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res; found: en_GB es pt
C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\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:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res\values-pt\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\ALIAL-~1\AppData\Local\Temp\APKTOOL3759429166766336930.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\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\ALIAL-~1\AppData\Local\Temp\APKTOOL3759429166766336930.tmp, -x, -S, C:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, C:\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
You meed to fix it in not just Values but in Values-en-rGB etc etc. Just look at the log. It tells you which folder translations are wrong also
Sent from my GT-I9100 using Tapatalk 2
please include more detail, be more specific
There is more than one values folder. The item i said need changing needs changing in ALL plurals files not just one. I cant give more detail than that as there isnt any.
You need a new apktool to stop it happening in future. Googling "line 79 plurals error" found one immediately.
Sent from my GT-I9100 using Tapatalk 2
Hello,
i don't know if this could be helpful but Vertumus had the same problem with his theme ICS DOMINATION. Maybe if you asked him he could give his opinion.
thanks man, this is great, i am now compiling and decompile apks, liked it used to be
on gb, great now that that's covered, let talk about changing that font color
anyone know how to change popup menu txt colors?
any skilled theme rs out there, please
android_isda_**** said:
any skilled theme rs out there, please
Click to expand...
Click to collapse
This guy already told you how....
m1keyb said:
Try textappearance.holo.large (add an item for text color to that style to stop it inheriting from parent...)
If that's the right one create a new style/textappearance, locate the style for the dialog/popup and direct it towards your textappearance instead of the one its using. That would *I think* work and also prevent any color issues.
Resources.arsc contains styles so you can't delete that if you're making changes...
Click to expand...
Click to collapse
By the way, before you said you fixed compiling with the broken .9 by deleting it. If you push a framework-res with a missing image and something tries to use it you will get a reboot.
Sent from my GT-I9100 using Tapatalk 2
i just copied it using winrar from original ,
street smarts
yes but i still need to know the file that contains it, and if i know that
what stopping me from just adding a normal color in hex code, all i need to
know is its location, witch file, what line???

[MOD][GUIDE]WebOS style Task Switcher for Jellybean.

This mod is originally posted HERE by Evilisto and copy-pasting given code works for ICS, but NOT for JB. So, i worked out the little modifications to be done for JB, and it works, only you wont get the WP blue color as background. All actual credits go to Evilisto.​.​This can be done for any device running Jellybean, the only thing you would need to change are the dip values​.​
SETTING UP
REQUIRED STUFF.
-- Apktool. 1.5.0 works best for me, but if not, a previous version is fine too.
-- framework-res.apk from ROM.
-- SystemUI.apk from ROM.
-- Knowledge on decompiling, recompiling apks.
-- Notepad++ recommended.
HOW-TO.
-- Copy framework-res.apk and SystemUI.apk to your folder.
-- Install framework-res.apk. This step is important.
Code:
apktool if framework-res.apk
-- Decompile framework-res.apk
Code:
apktool d framework-res.apk
This will give you a folder called framework-res. This is your decompiled apk.
-- Decompile SystemUI.apk
Code:
apktool d SystemUI.apk
This will give you a folder named SystemUI.
-- Alternatively, you can specify the folder name to be created. For ex : i want framework for framework-res.apk folder :
Code:
apktool d framework-res.apk framework
This will name the folder framework.
OR
Code:
apktool d SystemUI.apk System
This will give you folder named System for decompiled SystemUI.apk
==================================================
THE MODIFICATIONS
IN FRAMEWORK-RES.APK
-- Open framework-res folder. Navigate to res/values, right-click on Dimens.xml and select 'edit with Notepad++' or any other you may prefer.
Find default values of the following values and change it to given values.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
===================================================
IN SYSTEMUI.APK
-- Save file, go back and open your SystemUI folder and open the res/ folder.
-- Copy paste the following code by editing specified files.
res/values/dimens.xml
Code:
<dimen name="thumbnail_height">270.0dip</dimen>
<dimen name="thumbnail_width">192.0dip</dimen>
res/values/drawables.xml
ADD THE FOLLOWING LINE :
Code:
<item type="drawable" name="status_bar_recents_background_solid">#ff33b1e1</item>
res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_centerVertical="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingTop="@dimen/status_bar_recents_item_padding" android:paddingBottom="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_centerInParent="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="192.0dip" android:layout_height="270.0dip" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="0.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:paddingTop="0.0dip" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="95.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" android:layout_alignParentBottom="true" />
</RelativeLayout>
</FrameLayout>
res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background_solid" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|right|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
res/layout-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="@dimen/status_bar_recents_item_padding" android:paddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:paddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentLeft="true" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="125.0dip" android:layout_height="180.0dip" />
</FrameLayout>
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_thumbnail" android:layout_alignLeft="@id/app_thumbnail" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignLeft="@id/app_thumbnail" />
</RelativeLayout>
</FrameLayout>
res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:background="@drawable/status_bar_recents_background_solid" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="20.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
=================================================
-- Recompile SystemUI.apk
Code:
apktool b SystemUI SystemUI2.apk
-- Recompile framework-res.apk
Code:
apktool b framework-res framework-res2.apk
-- Open SystemUI.apk and SystemUI2.apk with 7-zip. Select open archive.
-- Delete resources.arsc, classes.dex and res folder from original SystemUI.apk
-- Copy resources.arsc, classes.dex and res folder from SystemUI2.apk and paste them into the SystemUI.apk archive.[/COLOR]
-- Now, here, i usually use Apk-Multitool but you can use CMD too. Now you need to zipalign SystemUI.apk. There are different methods, best is to download APkMultiTool and do it. Or if you have the SDK, you can do it directly through command prompt or terminal.
-- Connect phone to PC.
-- Copy SystemUI.apk and framework-res2.apk and rename framework-res2.apk to framework-res.apk.
--Move SystemUI.apk to system/app and set rw-r--r-- permissions. Move framework-res.apk to system/framework and set rw-r--r-- permissions.
-- Reboot and you're done.
Credits to Evilisto and others listed in his credits​​
Screenshot please?
Enviado desde mi GT-I9100 usando Tapatalk 2
{
"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"
}
Which Jellybean does this work on; 4.1 or 4.2, if there would be any difference in the procedure, it would be nice if you could make that known
jhtfarquhar said:
Which Jellybean does this work on; 4.1 or 4.2, if there would be any difference in the procedure, it would be nice if you could make that known
Click to expand...
Click to collapse
I've tried with 4.1.x, you could try with 4.2 and tell me if it works..
Can't recompile
I need help, I have verizon galaxy nexus with CM10.1 nightly and I can't recompile apks with TickleMyAndroid, even if I dont change anything!!!
kouta77 said:
I need help, I have verizon galaxy nexus with CM10.1 nightly and I can't recompile apks with TickleMyAndroid, even if I dont change anything!!!
Click to expand...
Click to collapse
Try apktool 1.5.1
Cheers,
K.A.
When I am recompiling the apks for my Nexus 4 (using CM10.1) I get the errors, do you know
Code:
Ryan-McKinneys-MacBook-Pro-2:Mod RyanMcK$ apktool b SystemUI SystemUI2.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/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, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/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: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Wow, Looks Good..
Nice, I Like It,,,.
Btw, I dont Have device running Jb or ics...
qurit said:
When I am recompiling the apks for my Nexus 4 (using CM10.1) I get the errors, do you know
Code:
Ryan-McKinneys-MacBook-Pro-2:Mod RyanMcK$ apktool b SystemUI SystemUI2.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/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, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/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: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /var/folders/m_/jvrkxq0n7dlg81pnltdqljt00000gq/T/APKTOOL411786079513505054.tmp, -0, arsc, -I, /Users/RyanMcK/Library/apktool/framework/1.apk, -S, /Users/RyanMcK/Desktop/Mod/SystemUI/res, -M, /Users/RyanMcK/Desktop/Mod/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Click to expand...
Click to collapse
Read these lines :
Code:
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_background').
/Users/RyanMcK/Desktop/Mod/SystemUI/res/layout-land/status_bar_recent_panel.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/recents_transition_placeholder_icon').
Missing ids. Add the missing ids to values/ids.xml
Has anybody verified if this works on 4.2?
i followed this guide and didn't get any errors while recompiling but only the landscape works properly
look what happened to the portrait view
i am using galaxy s advance JB 4.1.2 stock rooted samsung official
its works bro, in my JB 4.1.2
thanks for your guide.
nice view
Can this guide work on 4.4.2 KitKat?
Inviato dal mio Nexus 4 con Tapatalk 2
You should make this into an xposed Framework module
Sent from my SM-N900V using Tapatalk
117micc said:
You should make this into an xposed Framework module
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
I would love to see an xposed like that . But I don't think it's possible
≪███▓▒Sℵα℘℘εD ₣ℜ✪ℳ ℳψ JεℓℓySℵα℘ ℜ✪ℳ™▒▓███≫
Will this work on KitKat ?
H!
not work on cm10.1 :crying:
If you're going to make it possible ob Kitkat, I'll be one of those guys who wait
Sent from my GT-I8160 using Tapatalk
I vote for an xposed framework too
Sent from my Nexus 4 using Tapatalk

[GT-S6310][GUIDE] how to add lidroid 23toggles

Decompile SystemUI.apk
-Open ids.xml
-paste this code :
Code:
<item type="id" name="exp_power_stat">false</item>
-above code </resources>
-like this :
Code:
<item type="id" name="exp_power_stat">false</item>
</resources>
open tw_status_bar_expande.xml
-paste this ini,
Code:
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
-above :
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller"
N change android:layout_height="0.0dip on <HorizontalScrollView android:id="@id/quicksetting_scroller"
-like this
Code:
[COLOR="Red"]
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/COLOR]
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" [COLOR="Red"]android:layout_height="0.0dip"[/COLOR]>
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
-Done,save
Recompile SystemUI.apk
Decompile SystemUI.apk again
-open PhoneStatusBar.smali
smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
-add code ++ [whitout++]
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
[COLOR="Red"]++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]
.field private mPreviousConfigFontScale:F
find:
Code:
# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
.locals 5
-add code ++
Code:
invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
[COLOR="Red"]++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]
.line 1170
return-void
.end method
-open Public.xml
SystemUI.apk/res/values/public.xml
-find :
public type="id" name="exp_power_stat"
Click to expand...
Click to collapse
put hex public exp_power_stat
Code:
<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d012e[/COLOR]" />
find method
Code:
.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
-Scroll down and find this code
Code:
.line 714
new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;
iget-object v10, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-direct {v9, p0, v1, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
-the above code
paste this,
Code:
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;
.line 444
const v10, [COLOR="Red"]0x7f0d012e[/COLOR]
invoke-virtual {v9, v10}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;
.line 445
move-result-object v9
check-cast v9, Lcom/wanam/systemui/quickpanel/PowerWidget;
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
RED CODE ,PUBLIC "exp_power_stat"
Click to expand...
Click to collapse
next, find :
Code:
.line 869
const-string v9, "android.intent.action.SCREEN_ON"
invoke-virtual {v2, v9}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
-add code ++
Code:
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
[COLOR="Red"] ++iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v9}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
[/COLOR]
-Save,
open "AndroidManifest.xml"
-find
Code:
<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."
-add code
Code:
android:sharedUserId="android.uid.system" android:process="system"
-between
Code:
<manifest android:versioncode=16
-like this :
Code:
<manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."
-find
Code:
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
-below code
add this,
Code:
<uses-permission android:name="android.permission.CAMERA" />
SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM
NEED SIGN, OR DISABLE CHECK SIGNATURE APPS [SERVICE.JAR]
READ HERE : http://forum.xda-developers.com/showthread.php?t=1621289
Download file :
smali :
http://d-h.st/45p
lidroid-res & lidroidsettings:
http://d-h.st/HIa
Credit :
-LIDROID
-WANAM
-Adi Aisiteru Reborn
if You like my GUIDE
Please pool n rate my Device to have Sub Forum
here :
http://forum.xda-developers.com/show....php?t=2550846
Having trouble in recompiling...
I'm using dual sim varient GT-S6312. Decompiled Successfully. But Having These errors when i try to recompile. Please help. I can provide you my systemui.apk, framework-res.apk and anything you need. please compile one forme.
text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1614: error: Public symbol id/new_mobi
le_combo declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1639: error: Public symbol id/noNotifi
cationsText declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1638: error: Public symbol id/noNotifi
cationsTitle declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1533: error: Public symbol id/notifica
tionArea declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1643: error: Public symbol id/notifica
tionCart declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1455: error: Public symbol id/notifica
tionIcons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1645: error: Public symbol id/notifica
tionItems declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1559: error: Public symbol id/notifica
tionTrigger declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1423: error: Public symbol id/notifica
tion_adaptive_wrapper declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1573: error: Public symbol id/notifica
tion_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1453: error: Public symbol id/notifica
tion_icon_area declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1705: error: Public symbol id/notifica
tion_inspect_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1451: error: Public symbol id/notifica
tion_lights_out declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1464: error: Public symbol id/notifica
tion_panel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1565: error: Public symbol id/notifica
tion_scroller declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1474: error: Public symbol id/number d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1640: error: Public symbol id/onGoingC
art declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1642: error: Public symbol id/onGoingI
tems declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1641: error: Public symbol id/onGoingN
otificationText declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1629: error: Public symbol id/operator
LogoIcon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1393: error: Public symbol id/padding
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1575: error: Public symbol id/preview
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1694: error: Public symbol id/quick_la
unch declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1646: error: Public symbol id/quickpan
el_dualsim_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1636: error: Public symbol id/quickset
ting_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1635: error: Public symbol id/quickset
ting_scroller declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1613: error: Public symbol id/readingm
ode_checkbox declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1612: error: Public symbol id/readingm
ode_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1417: error: Public symbol id/recent_a
pps declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1707: error: Public symbol id/recent_i
nspect_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1511: error: Public symbol id/recent_i
tem declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1706: error: Public symbol id/recent_r
emove_item declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1439: error: Public symbol id/recents_
RemoveAll_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1435: error: Public symbol id/recents_
bg_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1515: error: Public symbol id/recents_
callout_line declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1436: error: Public symbol id/recents_
container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1438: error: Public symbol id/recents_
google_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1437: error: Public symbol id/recents_
launch_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1517: error: Public symbol id/recents_
linear_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1440: error: Public symbol id/recents_
no_apps declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1656: error: Public symbol id/recents_
no_apps_string declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1433: error: Public symbol id/recents_
root declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1434: error: Public symbol id/recents_
transition_background declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1516: error: Public symbol id/recents_
transition_placeholder_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1599: error: Public symbol id/right_ic
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1631: error: Public symbol id/right_ic
ons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1413: error: Public symbol id/rot0 dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1422: error: Public symbol id/rot270 d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1421: error: Public symbol id/rot90 de
clared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1585: error: Public symbol id/rotate d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1588: error: Public symbol id/rotate_c
heckbox declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1586: error: Public symbol id/rotate_i
con declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1587: error: Public symbol id/rotate_l
abel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1589: error: Public symbol id/rotate_s
eparator declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1471: error: Public symbol id/rotation
_lock_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1443: error: Public symbol id/s_app_ic
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1442: error: Public symbol id/s_app_ic
on_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1444: error: Public symbol id/s_app_la
bel declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1441: error: Public symbol id/s_app_pa
nel_apps_item_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1447: error: Public symbol id/s_apps_c
ontainer declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1448: error: Public symbol id/s_apps_c
ontainer_settings declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1446: error: Public symbol id/s_apps_p
arent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1445: error: Public symbol id/s_recent
s_bg_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1467: error: Public symbol id/scroll d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1634: error: Public symbol id/scrollCa
rt declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1519: error: Public symbol id/search_b
g_protect declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1518: error: Public symbol id/search_p
anel_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1615: error: Public symbol id/separate
_mobile declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1617: error: Public symbol id/separate
_mobile_inout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1616: error: Public symbol id/separate
_mobile_type declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1595: error: Public symbol id/settings
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1472: error: Public symbol id/settings
_button declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1655: error: Public symbol id/settings
_button_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1700: error: Public symbol id/settings
_label declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1701: error: Public symbol id/settings
_underline declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1660: error: Public symbol id/shortcut
1_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1659: error: Public symbol id/shortcut
1_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1661: error: Public symbol id/shortcut
1_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1663: error: Public symbol id/shortcut
2_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1662: error: Public symbol id/shortcut
2_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1664: error: Public symbol id/shortcut
2_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1666: error: Public symbol id/shortcut
3_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1665: error: Public symbol id/shortcut
3_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1667: error: Public symbol id/shortcut
3_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1669: error: Public symbol id/shortcut
4_icon declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1668: error: Public symbol id/shortcut
4_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1670: error: Public symbol id/shortcut
4_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1657: error: Public symbol id/shortcut
_line declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1457: error: Public symbol id/signal_b
atException in thread "main" tery_cluster declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1458: error: Public symbol id/signal_c
luster declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1618: error: Public symbol id/sim_icon
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1527: error: Public symbol id/slider d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1690: error: Public symbol id/slider_g
roup declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1692: error: Public symbol id/slider_s
plit declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1691: error: Public symbol id/slider_s
plit_layout declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1693: error: Public symbol id/slider_s
plit_text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1678: error: Public symbol id/smallVie
ws declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1677: error: Public symbol id/smallVie
ws_parent declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1427: error: Public symbol id/spacer d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1456: error: Public symbol id/statusIc
ons declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1450: error: Public symbol id/status_b
ar declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1528: error: Public symbol id/status_b
ar_container declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1577: error: Public symbol id/status_b
ar_touch_proxy declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1563: error: Public symbol id/system_b
ar_notification_panel_bottom_space declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1703: error: Public symbol id/systemno
ti declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1598: error: Public symbol id/text dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1683: error: Public symbol id/thumbnai
l declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1461: error: Public symbol id/ticker d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1462: error: Public symbol id/tickerIc
on declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1463: error: Public symbol id/tickerTe
xt declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1600: error: Public symbol id/ticker_e
xpanded declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1633: error: Public symbol id/ticker_t
ext_view_new declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1632: error: Public symbol id/ticker_t
ext_view_old declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1566: error: Public symbol id/title_ar
ea declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1525: error: Public symbol id/toggle d
eclared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1506: error: Public symbol id/top_glow
declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1695: error: Public symbol id/traybar_
handler declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1601: error: Public symbol id/traybar_
handler0 declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1602: error: Public symbol id/traybar_
handler90 declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1552: error: Public symbol id/use_phys
ical_keyboard_label declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1392: error: Public symbol id/user_col
lapsed_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1390: error: Public symbol id/user_exp
anded_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1391: error: Public symbol id/user_loc
k_tag declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1507: error: Public symbol id/veto dec
lared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1399: error: Public symbol id/view_cen
ter_bar declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1400: error: Public symbol id/view_cen
ter_bar_arrow declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1394: error: Public symbol id/warning_
text declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1424: error: Public symbol id/wifi_com
bo declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1570: error: Public symbol id/wifi_dir
ection declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1569: error: Public symbol id/wifi_ico
n declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1426: error: Public symbol id/wifi_ino
ut declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1425: error: Public symbol id/wifi_sig
nal declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1571: error: Public symbol id/wifi_tex
t declared here is not defined.
C:\apktool\SystemUI\res\values\public.xml:1698: error: Public symbol id/wifidire
ct declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-s
dk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL68445917489919198
30.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\apktool\S
ystemUI\res, -M, C:\apktool\SystemUI\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, 16, --target-sdk-version, 16, -F, C:
\Users\Shampod\AppData\Local\Temp\APKTOOL6844591748991919830.tmp, -0, arsc, -I,
C:\Users\Shampod\apktool\framework\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\ap
ktool\SystemUI\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, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp
\APKTOOL6844591748991919830.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framewor
k\1.apk, -S, C:\apktool\SystemUI\res, -M, C:\apktool\SystemUI\AndroidManifest.xm
l]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
C:\apktool>
Help
Dear developers....
I'm continuously getting these error for compiling SystemUI.apk. I just decompiled my stock SystemUI.apk in several ways like apktool, AndroidMultitool and few other methods. all of them successfully decompile. But when i want to recompile it shows the following errror every time. even i dont modify my SystemUI.apk it showsthe same errror. Please help me.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_data_roaming_disable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'quickpanel_data_roaming_enable_toast' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'today' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\AndroidMultitool\Decompiled_apk\SystemUI\res; found: mk
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarNotificationText').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsRow').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsIcon').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsContents').
C:\AndroidMultitool\Decompiled_apk\SystemUI\res\la yout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:353)
at brut.androlib.Androlib.buildResources(Androlib.jav a:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
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, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Shampod\AppData\Local\Temp\APKTOOL7479172 192445785852.tmp, -0, arsc, -I, C:\Users\Shampod\apktool\framework\1.apk, -S, C:\AndroidMultitool\Decompiled_apk\SystemUI\res, -M, C:\AndroidMultitool\Decompiled_apk\SystemUI\Androi dManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:404)
... 6 more
The system cannot find the file specified.
The system cannot find the file specified.
shampod said:
Dear developers....
I'm continuously getting these error for compiling SystemUI.apk. I just decompiled my stock SystemUI.apk in several ways like apktool, AndroidMultitool and few other methods. all of them successfully decompile. But when i want to recompile it shows the following errror every time. even i dont modify my SystemUI.apk it showsthe same errror. Please help me. :
Click to expand...
Click to collapse
Add this to styles.xml above </resources>
<style name="StatusBarNotificationText" />
<style name="StatusBarPanelSettingsRow" />
<style name="StatusBarPanelSettingsPanelSeparator" />
<style name="StatusBarPanelSettingsContents" />
<style name="StatusBarPanelSettingsIcon" />
</resources>
try again to recompile..
goodluck
dugeriss said:
-open PhoneStatusBar.smali
smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
-add code ++ [whitout++]
Code:
.field mPostCollapseCleanup:Ljava/lang/Runnable;
[COLOR="Red"]++.field mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;[/COLOR]
.field private mPreviousConfigFontScale:F
find:
Code:
# virtual methods
-add code ++
Code:
invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
[COLOR="Red"]++iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v1}, Lcom/wanam/systemui/quickpanel/PowerWidget;->updateWidget()V[/COLOR]
.line 1170
return-void
.end method
-open Public.xml
SystemUI.apk/res/values/public.xml
-find :
put hex public exp_power_stat
Code:
<public type="id" name="exp_power_stat" id="[COLOR="Red"]0x7f0d012e[/COLOR]" />
find method
Code:
.method protected makeStatusBarView()Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
-Scroll down and find this code
Code:
.line 714
new-instance v9, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;
iget-object v10, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;
invoke-direct {v9, p0, v1, v10}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
-the above code
paste this,
Code:
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;
.line 444
const v10, [COLOR="Red"]0x7f0d012e[/COLOR]
invoke-virtual {v9, v10}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;
.line 445
move-result-object v9
check-cast v9, Lcom/wanam/systemui/quickpanel/PowerWidget;
iput-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
next, find :
Code:
.line 869
const-string v9, "android.intent.action.SCREEN_ON"
invoke-virtual {v2, v9}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
-add code ++
Code:
.line 872
:cond_7
iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBroadcastReceiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v1, v9, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
[COLOR="Red"] ++iget-object v9, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/wanam/systemui/quickpanel/PowerWidget;
++invoke-virtual {v9}, Lcom/wanam/systemui/quickpanel/PowerWidget;->setupWidget()V
[/COLOR]
-Save,
open "AndroidManifest.xml"
-find
Code:
<manifest android:versioncode=16 android:versionname="4.1.2-blablabla.."
-add code
Code:
android:sharedUserId="android.uid.system" android:process="system"
-between
Code:
<manifest android:versioncode=16
-like this :
Code:
<manifest [COLOR="Red"]android:sharedUserId="android.uid.system" android:process="system"[/COLOR] android:versionCode="16" android:versionName="4.1.2-blablabla.."
-find
Code:
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
-below code
add this,
Code:
<uses-permission android:name="android.permission.CAMERA" />
SAVE,RECOMPILE,SIGN,PUSH TO SYSTEM
Click to expand...
Click to collapse
Not Clear from here. please make it more simplified that i can easily understand. I found my PhoneStatusBar.smali is little diffrent on my GT-S6312. please help me. i provided my systemui.apk, framework-res.apk and twframework-res in the attachment.
Error Again...!
dugeriss said:
Add this to styles.xml above </resources>
<style name="StatusBarNotificationText" />
<style name="StatusBarPanelSettingsRow" />
<style name="StatusBarPanelSettingsPanelSeparator" />
<style name="StatusBarPanelSettingsContents" />
<style name="StatusBarPanelSettingsIcon" />
</resources>
try again to recompile..
goodluck
Click to expand...
Click to collapse
Thank you dear. But again got stuck again. i got the following error.
I: Checking whether sources has changed...
I: Smaling...
[10743,4] The register number must be less than v16
[10746,4] All register args must fit in 4 bits
[10748,4] mismatched tree node: I_STATEMENT_FORMAT21t expecting I_CATCHES
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\AndroidMultitool\Decompiled_apk\SystemUI\smali\com\android\systemui\statusbar\phone\PhoneStatusBar.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:36)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:256)
at brut.androlib.Androlib.buildSources(Androlib.java:217)
at brut.androlib.Androlib.build(Androlib.java:208)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
The system cannot find the file specified.
The system cannot find the file specified.
shampod said:
Not Clear from here. please make it more simplified that i can easily understand. I found my PhoneStatusBar.smali is little diffrent on my GT-S6312. please help me. i provided my systemui.apk, framework-res.apk and twframework-res in the attachment.
Click to expand...
Click to collapse
try this, http://d-h.st/hKX
awesome bro, :good:
Denz Juand said:
awesome bro, :good:
Click to expand...
Click to collapse
ur welcome sir!
dugeriss said:
ur welcome sir!
Click to expand...
Click to collapse
can try this guide for GB??
Denz Juand said:
can try this guide for GB??
Click to expand...
Click to collapse
NO sir, different source with GB, like dormant mode, powersaving mode, etc
ok ,thanks u sir, btw how to grid lidroid on GB,
sorry i cant coment on your trhead about grid lidroid :crying:
Denz Juand said:
ok ,thanks u sir, btw how to grid lidroid on GB,
sorry i cant coment on your trhead about grid lidroid :crying:
Click to expand...
Click to collapse
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
dugeriss said:
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
Click to expand...
Click to collapse
woah.. thnks u very very much, very helpfull :good:
---------- Post added at 08:20 PM ---------- Previous post was at 07:54 PM ----------
dugeriss said:
i think same with JB guide
try here sir ; http://forum.xda-developers.com/showpost.php?p=44182527&postcount=38
Click to expand...
Click to collapse
working sir , thnks :good:
Denz Juand said:
woah.. thnks u very very much, very helpfull :good:
---------- Post added at 08:20 PM ---------- Previous post was at 07:54 PM ----------
working sir , thnks :good:
Click to expand...
Click to collapse
thnks for fb
dugeriss said:
thnks for fb
Click to expand...
Click to collapse
:highfive:
Up papah
Sent from my GT-S6310 using XDA Premium 4 mobile app
belel69 said:
Up papah
Sent from my GT-S6310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
up for whatn
dugeriss said:
up for whatn
Click to expand...
Click to collapse
for future
up again

Categories

Resources