[GUIDE] [APP] [XPOSED PLUG-IN] Xperia™ Home Launcher Icon Packs - v1.2 - 08/03/2015 - Sony Cross-Device Development Themes and Apps

I proudly present you a simple guide showing how you can create your own icon packs application.
{
"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"
}
Final app created using this guide will be a plug-in to be used in conjunction with my xposed module, Xperia™ Xposed (KK), in which manages and injects chosen icon pack on Xperia™ Z3 stock home launcher (Home.apk) since its version 3.4 (see changelog).
The "Icon Packs" feature present on Xperia™ Xposed (KK) module can inject icon packs from most of known 3rd-party launchers (free and paid ones).
But I wonder, why I do not give users a way of themselves to create their own icon packs? This is the main goal of all this!!
Are you ready? Yep! ... So here we go:
Requirements:
- Exactly the same requirements of the Xperia™ Xposed (KK) module
- Some basic skills on how to decompile and recompile apks
- Being creative
Instructions:
1. Download attached v1.2_SerajrXperiaXposedHomeIconPacks.apk (it will be your template app)
2. Decompile it (it requires no special framework files to be processed with)
3. Open AndroidManifest.xml file (with Notepad++ or another good text file editor) and
change the package name attribute value (in red) to your own one, eg.: my.own.icon.pack (it must be unique):
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" [B][COLOR="Blue"]package[/COLOR][/B]="[B][COLOR="red"]serajr.xperia.xposed.home.icon.packs[/COLOR][/B]"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="21" />
<supports-screens android:anyDensity="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" />
<application android:label="@string/app_name" android:icon="@drawable/app_icon" android:debuggable="true" android:allowBackup="true">
<activity android:name="serajr.xperia.xposed.home.icons.pack.MainActivity">
<intent-filter>
<action android:name="com.serajr.xperia.xposed.home.ICONS_PACK" />
</intent-filter>
<meta-data android:name="icons_pack_description" android:value="@string/app_description" />
</activity>
</application>
</manifest>
4. Open strings.xml file (\res\values) and do change the app_name and app_description attributes values (self explanatory)
5. Open app_icon.png file (\res\drawable-xhdpi) with any picture/photo editor and create your own icon (96x96 pixels big)
(optional, but I think you want to have your own icon)
6. Open appfilter.xml file (\res\xml). You will see:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item [B][COLOR="Blue"]component[/COLOR][/B]="drawer" [B][COLOR="blue"]drawable[/COLOR][/B]="drawer" />
<item [B][COLOR="blue"]component[/COLOR][/B]="folder" [B][COLOR="blue"]drawable[/COLOR][/B]="folder" />
<item [B][COLOR="Blue"]component[/COLOR][/B]="ComponentInfo{com.android.settings/com.android.settings.Settings}" [B][COLOR="blue"]drawable[/COLOR][/B]="settings" />
</resources>
First two items (drawer and folder) are fixed ones, DO NOT REMOVE THEM!
If you don't want to include these on your own icon packs, simple change their drawable attribute values with a empty string:
Code:
<item [B][COLOR="Blue"]component[/COLOR][/B]="drawer" [B][COLOR="blue"]drawable[/COLOR][/B]=[B][COLOR="Red"]""[/COLOR][/B] />
<item [B][COLOR="blue"]component[/COLOR][/B]="folder" [B][COLOR="blue"]drawable[/COLOR][/B]=[B][COLOR="red"]""[/COLOR][/B] />
appfilter.xml file is the main link between the apps you want to replace icons for and their new icons (drawables)
Each app is represented by a item (line) inside the file, containing two attributes each, they are:
- component = a formated string in which the app launcher intent component is represented
- drawable = the drawable name for this app inside drawable-xxhdpi folder (144x144 pixels big)
The component attribute value is compound by:
- package name/full path class name
Let's add a new item (line) in appfilter.xml for Calculator app. For that, we need to know its exactly startup intent filter (component) in which it has the info we're looking for.
For that, see 2nd post, or:
A simple way to get it, it's the logcat. Everytime an app is launched, ActivityManager reports its launch intent on logcat, and by launching Calculator app, we get this line reported out:
Code:
03-05 11:16:34.222: I/ActivityManager(1250): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=[B][COLOR="red"]com.android.calculator2/.Calculator[/COLOR][/B]} from pid 13733
The info we need is marked in red above, and it is:
Code:
[B][COLOR="red"]com.android.calculator2/.Calculator[/COLOR][/B]
Let's now turn the simple class name into a full path class name, by adding the package name just before .Calculator, and we will get:
Code:
[B][COLOR="red"]com.android.calculator2/com.android.calculator2.Calculator[/COLOR][/B]
Now we have part of our component attribute, so, the new item (line) will be:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item [B][COLOR="Blue"]component[/COLOR][/B]="drawer" [B][COLOR="blue"]drawable[/COLOR][/B]="drawer" />
<item [B][COLOR="blue"]component[/COLOR][/B]="folder" [B][COLOR="blue"]drawable[/COLOR][/B]="folder" />
<item [B][COLOR="blue"]component[/COLOR][/B]="ComponentInfo{com.android.settings/com.android.settings.Settings}" [B][COLOR="blue"]drawable[/COLOR][/B]="settings" />
[B]<item [COLOR="Blue"]component[/COLOR]="ComponentInfo{[COLOR="Red"]com.android.calculator2/com.android.calculator2.Calculator[/COLOR]}" [COLOR="blue"]drawable[/COLOR]="[COLOR="Red"]calculator[/COLOR]" />[/B]
</resources>
7. Do the same for each app you want to add in your icon pack.
8. Recompile, sign (very important) and rename your newly created apk!
Do you want it even more simple?
- Download attached v1.2_SerajrXperiaXposedHomeIconPacks_Eclipse_Project.zip
- Import its contents into Eclipse workspace
- Refactor > Rename
- Android Tools > Rename application package
Credits:
- Sony
- Me
- @niaboc79
- AroundLite's creators (for some icons used in the template app)
That's it!
And don't forget to share your icon packs with us!!
Hope you've enjoyed it!! And if so, simple press the "Thanks" button...
.

Application's info
How can I easily collect info from all my installed apps?
- Install and run attached apk (source code available too)!!
Screenshots:
.

v1.2 - 13/03/2015
- Updated OP's attachments and instructions
v1.1 - 08/03/2015
- Get All Apps Info - App to collect info from all your installed apps (apk ready to install and its source code - 2nd post)
v1.0 - 05/03/2015
- Initial release
.

wow nice tut bro @serajr
Just great and nice explanation ^^

Nice mod tutorial as always serajr
Sent from my C6802 using XDA Free mobile app

I got errors related to puplic.xml
and I cannot recompile the apk
E:\apktool\SerajrXperiaXposedHomeIconPacks\res\values\public.xml:14: error: Erro
r parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [G:\Users\AHMEDR
~1\AppData\Local\Temp\brut_util_Jar_6240775003846480178.tmp, p, --debug-mode, --
forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 19, --versi
on-code, 1, --version-name, 1.0, -F, G:\Users\AHMEDR~1\AppData\Local\Temp\APKTOO
L8553716167516902532.tmp, -0, arsc, -I, G:\Users\Ahmed Rahmy\apktool\framework\1
.apk, -S, E:\apktool\SerajrXperiaXposedHomeIconPacks\res, -M, E:\apktool\SerajrX
periaXposedHomeIconPacks\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [G:\Users\AHMEDR~1\AppData\Local\Temp\brut_util_Jar_6240775003846
480178.tmp, p, --debug-mode, --forced-package-id, 127, --min-sdk-version, 17, --
target-sdk-version, 19, --version-code, 1, --version-name, 1.0, -F, G:\Users\AHM
EDR~1\AppData\Local\Temp\APKTOOL8553716167516902532.tmp, -0, arsc, -I, G:\Users\
Ahmed Rahmy\apktool\framework\1.apk, -S, E:\apktool\SerajrXperiaXposedHomeIconPa
cks\res, -M, E:\apktool\SerajrXperiaXposedHomeIconPacks\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:504)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [G:\Users\AHMEDR~1
\AppData\Local\Temp\brut_util_Jar_6240775003846480178.tmp, p, --debug-mode, --fo
rced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 19, --version
-code, 1, --version-name, 1.0, -F, G:\Users\AHMEDR~1\AppData\Local\Temp\APKTOOL8
553716167516902532.tmp, -0, arsc, -I, G:\Users\Ahmed Rahmy\apktool\framework\1.a
pk, -S, E:\apktool\SerajrXperiaXposedHomeIconPacks\res, -M, E:\apktool\SerajrXpe
riaXposedHomeIconPacks\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:498)
... 6 more

I will create a Z4 icon pack soon, here's a preview

Mysteryagr said:
I got errors related to puplic.xml
and I cannot recompile the apk
Click to expand...
Click to collapse
You don't need to edit it!

niaboc79 said:
I will create a Z4 icon pack soon, here's a preview
Click to expand...
Click to collapse
WOW.. Nice Job :good:
serajr said:
You don't need to edit it!
Click to expand...
Click to collapse
I removed gmail and walkman icons, so I get error.
E:\apktool>apktool b SerajrXperiaXposedHomeIconPacks
I: Using Apktool 2.0.0-RC4
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
E:\apktool\SerajrXperiaXposedHomeIconPacks\res\values\pub
c symbol drawable/gmail declared here is not defined.
E:\apktool\SerajrXperiaXposedHomeIconPacks\res\values\pub
c entry identifier 0x7f020006 entry index is larger than
x 6, total symbols 6).
E:\apktool\SerajrXperiaXposedHomeIconPacks\res\values\pub
c symbol drawable/settings declared here is not defined.
E:\apktool\SerajrXperiaXposedHomeIconPacks\res\values\pub
ic symbol drawable/walkman declared here is not defined.
Click to expand...
Click to collapse
Here is my appfilter.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item component="ComponentInfo{com.sonyericsson.conversations/com.sonyericsson.conversations.ui.ConversationListActivity}" drawable="messaging" />
<item component="ComponentInfo{com.sonyericsson.android.camera/com.sonyericsson.android.camera.CameraActivity}" drawable="camera" />
<item component="ComponentInfo{com.android.calendar/com.android.calendar.LaunchActivity}" drawable="calendar" />
<item component="ComponentInfo{com.android.providers.downloads.ui/com.android.providers.downloads.ui.DownloadList}" drawable="downloads" />
<item component="ComponentInfo{com.android.settings/com.android.settings.Settings}" drawable="settings" />
<item component="ComponentInfo{com.android.calculator2/com.android.calculator2.Calculator}" drawable="calculator" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.LaunchActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="phone" />
<item component="ComponentInfo{com.sonyericsson.organizer/com.sonyericsson.organizer.Organizer}" drawable="alarmclock" />
<item component="ComponentInfo{com.android.email/com.android.email.activity.EmailActivity}" drawable="email" />
</resources>

Mysteryagr said:
WOW.. Nice Job :good:
I removed gmail and walkman icons, so I get error.
Here is my appfilter.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item component="ComponentInfo{com.sonyericsson.conversations/com.sonyericsson.conversations.ui.ConversationListActivity}" drawable="messaging" />
<item component="ComponentInfo{com.sonyericsson.android.camera/com.sonyericsson.android.camera.CameraActivity}" drawable="camera" />
<item component="ComponentInfo{com.android.calendar/com.android.calendar.LaunchActivity}" drawable="calendar" />
<item component="ComponentInfo{com.android.providers.downloads.ui/com.android.providers.downloads.ui.DownloadList}" drawable="downloads" />
<item component="ComponentInfo{com.android.settings/com.android.settings.Settings}" drawable="settings" />
<item component="ComponentInfo{com.android.calculator2/com.android.calculator2.Calculator}" drawable="calculator" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.LaunchActivity}" drawable="contacts" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="phone" />
<item component="ComponentInfo{com.sonyericsson.organizer/com.sonyericsson.organizer.Organizer}" drawable="alarmclock" />
<item component="ComponentInfo{com.android.email/com.android.email.activity.EmailActivity}" drawable="email" />
</resources>
Click to expand...
Click to collapse
Please bro, download apk again (updated).
Now it has just one item (Settings), so you won't face recompile erros anymore!

serajr said:
Please bro, download apk again (updated).
Now it has just one item (Settings), so you won't face recompile erros anymore!
Click to expand...
Click to collapse
Now it is easier to do xD
Many many thanks :good:

Awesome:fingers-crossed:.I love it :good::good::good:

serajr said:
v1.0 - 05/Mar/2015
- Initial release
Click to expand...
Click to collapse
hello mate, could you implement the option to edit and change the icon from Home launcher xperia greetings as well as pictures, Greetings

v1.1
Changelog:
v1.1 - 08/Mar/2015
- Get All Apps Info - App to collect info from all your installed apps (apk ready to install and its source code - 2nd post)
Click to expand...
Click to collapse
Now it's much more easy to get info from all your installed apps!

@serajr
I'm trying to use Icons for phone and contacts
put after I apply the icon pack, the phone is having the same icon as contacts.
I used logcat to get apps info
Code:
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="phone" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.LaunchActivity}" drawable="contacts" />

Mysteryagr said:
@serajr
I'm trying to use Icons for phone and contacts
put after I apply the icon pack, the phone is having the same icon as contacts.
I used logcat to get apps info
Code:
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.DialerEntryActivity}" drawable="phone" />
<item component="ComponentInfo{com.sonyericsson.android.socialphonebook/com.sonyericsson.android.socialphonebook.LaunchActivity}" drawable="contacts" />
Click to expand...
Click to collapse
This is happening with all icon packs, I really don't know if this is an issue as well, just let me check it out!

Xperia Material icons pack
what is included in the icons pack?​
Settings
Messaging
Camera
Calendar
Downloader
Calculator
Clock
Walkman
Backup & Restore
Note: I didn't theme "Phone" and "Contacts" because contacts.png appear for both of them (serajr is looking into it although it may not be an issue; I think because they're linked together)
Credits:
 @serajr (For xposed module and this mod)
 @envy~ (for his icons)
 @Mysteryagr (Me - for doing this xD)
Download from attachments

Mysteryagr said:
what is included in the icons pack?​
Settings
Messaging
Camera
Calendar
Downloader
Calculator
Clock
Walkman
Backup & Restore
Note: I didn't theme "Phone" and "Contacts" because contacts.png appear for both of them (serajr is looking into it although it may not be an issue; I think because they're linked together)
Credits:
 @serajr (For xposed module and this mod)
 @envy~ (for his icons)
 @Mysteryagr (Me - for doing this xD)
Download from attachments
Click to expand...
Click to collapse
Just awesome... congrats!!!
Keep rocking \m/
Yep... I'm looking into phone and contacts "issue" and asap I'll release new XX module with proper fix!

CM12 - Lollipop - Icons Pack
what is included in the icons pack?​
Settings
Messaging
Camera
Calendar
Downloader
Calculator
Clock
Walkman
Backup & Restore
STK
Album
Movies
Notes
Email
Credits:
serajr
Google / CM12
Me
Download from attachments

\m/

Related

[TOOL] Apktool for HC 3.2 (SDK v13)

Hi,
I fixed up apktool to accept v13 apks. Thats all there is to say I submitted my patch to Brut.all, but for the time beeing, I'll attach the binary and the according Source patch here. Have fun with it ... and let the Hacking/Themeing begin.
You rock.
Sent from my Xoom using Tapatalk
can I just trow this with my other apktool, in platform tool?
MitchTank said:
can I just trow this with my other apktool, in platform tool?
Click to expand...
Click to collapse
Yes, but you need to install your 3.2 framework-res.apk by apktool if and have the newest aapt in PATH, otherwise its a drop-in replacement.
thanks, top work
Well done, thanks for this!
I still can't seem to get that systemui.apk anyone able to decode?
zone23 said:
I still can't seem to get that systemui.apk anyone able to decode?
Click to expand...
Click to collapse
you need to apktool if framework3.2-res.apk
otherwise it cannot decode the new values
I can decompile new setings.apk now, but cant build again!
Code:
d:\hapk>hnytool b ./settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: d:\hapk\.\settings\res/layout-sw600dp
invalid resource directory name: d:\hapk\.\settings\res/layout-sw600dp-land
invalid resource directory name: d:\hapk\.\settings\res/layout-sw720dp
invalid resource directory name: d:\hapk\.\settings\res/values-sw600dp
invalid resource directory name: d:\hapk\.\settings\res/values-sw600dp-land
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ADMIN\AppData\Local\Temp\A
ers\ADMIN\apktool\framework\1.apk, -S, d:\hapk\.\settings\res, -M, d:\hapk\.\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\ADMIN\AppData\Local\Temp\APKTOOL5387853825983380890.tmp, -I, C:\Users\ADMIN
settings\res, -M, d:\hapk\.\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
d:\hapk>
you need to use the new aapt binary from ththe updated sdk to recompile.
Thanks!!!!!!
SytemUI Issues
The problem that I am having with systemui.apk is when I make the xml change for the clock color and recompile...I get no errors..but when I flash my theme...the systemUI dissapers...I had this same problem with Gmail and finsky and vending so I had to sign those...tried to sign this one but still did not flash...if I just add my themed png's to the one that came with 3.2 it flashes fine...not sure what is going on. But this is stopping me from releasing my themes.
Sorry to bump an old thread, but I just downloaded the patch thinking it was new. However, it's the same one I've been using for a while.
The problem I'm having is with the Values xml files. Any time I recompile (even without changes to the XML files) moving the new .src file over in order to get the new values into the apk causes strange forcecloses and even boot loops in some cases.
I originally got this patch from the apktool google code page, and someone else had the same issue as me there, and reported it. I had a look at my XML output and, sure enough, there were missing definitions in it just like it was reported in the linked issue thread.
Is there any way this can be resolved with the current SDK, or is there something you need in order for those "APKTOOL_DUMMY" lines to be filled in? I can't finish my theme without being able to edit the values.
arrtoodeetoo said:
Sorry to bump an old thread, but I just downloaded the patch thinking it was new. However, it's the same one I've been using for a while.
The problem I'm having is with the Values xml files. Any time I recompile (even without changes to the XML files) moving the new .src file over in order to get the new values into the apk causes strange forcecloses and even boot loops in some cases.
I originally got this patch from the apktool google code page, and someone else had the same issue as me there, and reported it. I had a look at my XML output and, sure enough, there were missing definitions in it just like it was reported in the linked issue thread.
Is there any way this can be resolved with the current SDK, or is there something you need in order for those "APKTOOL_DUMMY" lines to be filled in? I can't finish my theme without being able to edit the values.
Click to expand...
Click to collapse
Perhaps you can be more specific with your procedure. I have used this apktool to edit every apk worth editing. Part of the issue may be that, if you are working with the Tiamat rom as a base, we have testsigned the base apks. Clone our rom git and review the make file to see which apks must be test signed.
This is actually a problem I'm having with stock 3.2 (US 3G). The guys who are porting the theme to Tiamat are getting boot loops while I'm just getting force closes.
My procedure hasn't changes since I started theming (back on 3.0.1). Here's what I'm doing. Maybe you have a better way to do it.
1. Decomp the apk.
2. Edit the color values in the xml files from the res/values folder(s) that apply.
3. Recompile the apk.
4. Move all of the edited files (images, xml files) over to a clean, stock .apk
5. Remove the original .src file in the stock apk and replace it with the new one with the edited data.
6. push the new apk.
I've done it this way since the beginning, and this is the first time I've ran into a problem like this. Like I said, I think it has something to do with the dummy definitions that the patch creates. For example, this is in the drawables.xml from systemui.apk (res/values folder)
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="drawable" name="notification_number_text_color">#ff89bade</item>
<item type="drawable" name="notification_item_background_color">#ff89bade</item>
<item type="drawable" name="ticker_background_color">#ff0b1222</item>
<item type="drawable" name=[B]"APKTOOL_DUMMY_0011">[/B]false</item>
</resources>
And this is from Framework-res.apk
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<drawable name="alert_dark_frame">@drawable/popup_full_dark</drawable>
<drawable name="alert_light_frame">@drawable/popup_full_bright</drawable>
<drawable name="dialog_frame">@drawable/panel_background</drawable>
<drawable name="editbox_dropdown_dark_frame">@drawable/editbox_dropdown_background_dark</drawable>
<drawable name="editbox_dropdown_light_frame">@drawable/editbox_dropdown_background</drawable>
<drawable name="menu_frame">@drawable/menu_background</drawable>
<drawable name="menu_full_frame">@drawable/menu_background_fill_parent_width</drawable>
<drawable name="stat_notify_sync_noanim">@drawable/stat_notify_sync_anim0</drawable>
<drawable name="stat_sys_download_done">@drawable/stat_sys_download_anim0</drawable>
<drawable name="stat_sys_upload_done">@drawable/stat_sys_upload_anim0</drawable>
<item type="drawable" name="screen_background_dark">#ff000000</item>
<item type="drawable" name="screen_background_light">#fff3f3f3</item>
<item type="drawable" name="screen_background_dark_transparent">#80000000</item>
<item type="drawable" name="screen_background_light_transparent">#80ffffff</item>
<drawable name="dialog_holo_dark_frame">@drawable/dialog_full_holo_dark</drawable>
<drawable name="dialog_holo_light_frame">@drawable/dialog_full_holo_light</drawable>
<item type="drawable" name="status_bar_closed_default_background">#ff000000</item>
<item type="drawable" name="status_bar_opened_default_background">#ff000000</item>
<item type="drawable" name="search_bar_default_color">#ff000000</item>
<item type="drawable" name="safe_mode_background">#60000000</item>
<item type="drawable" name="input_method_fullscreen_background">#fff9f9f9</item>
<item type="drawable" name="selected_day_background">#ff0092f4</item>
<item type="drawable" name="screen_background_holo_light">#fff3f3f3</item>
<item type="drawable" name="screen_background_holo_dark">#ff000000</item>
[B] <item type="drawable" name="APKTOOL_DUMMY_04b5">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04b8">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04ba">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04bd">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04bf">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c3">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c6">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c8">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c9">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04cb">false</item>[/B]
</resources>
As you can see, I've been able to edit some of the colors, and those work just fine, but using the edited .src file in this Framework-res.apk causes the settings menu in any app I open to force close the app.
solarnz said:
you need to use the new aapt binary from ththe updated sdk to recompile.
Click to expand...
Click to collapse
Hi there,
Please could you tell me where i can find this file, as i have downloaded the newest SDK and it isn't in there!
Alternatively, is it uploaded somewhere?
Thanks
I'm definitely using the correct aapt file.
I would say at this point hop on #xoom so we can chat and get more in detail and narrow this thing down. We really want to get all the themers up and running.

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

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

[GUIDE][GB]How to place a custom icon on the title bar of a certain app

Hey guys!
After some of @SpaceCaker 's modifications, we found out how to place a custom icon on the title bar of any app. You can use your app's iconfor reference. So, one of the synonyms that could be said for this guide is JellyBean Title Bar. The modification is very easythough, but the hard part is wether you find the right file which controls the title bar on a specified window. But, I can help you in this
After following the guide, if you didn't understand it properly, just give me the app and I will place the custom JB title bar on it as per your request.
Requirments :
- Basic XML knowledge
- APK Multi TOOL/Whichever decompiling tool
- Sources on attachments
Click to expand...
Click to collapse
There are 2 different methods to make this.
First method means that the custom windows are located on layouts folder.
Second method means that the windows are located on XML folder.
The first method is very good and is bugfree, but unfortunately it depends on the app. If wether he has the windows located
on layouts folder or XML folder
The second method is not fully bugfree. If the app's windows are located on XML folder then the title bar is going to be scrolled with the chooserboxes too. The only way to fix it is to create a layout for the window.
Click to expand...
Click to collapse
Screenshots of both methods:
One of HelpCentre (1st method) example given below and the second of DSP manager (2nd method).
{
"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"
}
Click to expand...
Click to collapse
1. Decompile the app you want to place the custom title bar. I will take a custom built app "HelpCentre.apk"
2. Download the sources on the attachments and place the layout "title" on the layout folder
and the custom id on ids.xml file on values folder.
Code:
<item type="id" name="imageView1">false</item>
Click to expand...
Click to collapse
3.
a) In the first method the windows are located on the layouts. So see the following :
Go to layouts folder and now find the layout which is resposnible for the first window
Let's use an example :
I have credits.xml file on the layout folder. Now on this window, i want to place a custom title bar.
To do this i should include the custom title on layout folder on the first lines.
To make this, paste this code after xmlns:android="http://schemas.android.com/apk/res/android">
Code:
<include android:layout_width="fill_parent" android:layout_height="50.0dip" layout="@layout/title" />
Be sure to place it on the correct order.
I also, have FAQ.xml too. If i want edit this file too, there will be no title bar as on the end of the guide we will add
NoTitleBar theme on AndroidManifest.xml So, therefore i have to place the same value on it too.
Again, after the code xmlns:android="http://schemas.android.com/apk/res/android"> place this one :
Code:
<include android:layout_width="fill_parent" android:layout_height="50.0dip" layout="@layout/title" />
What if you want to use a custom title for the another window?
Easy, we are going to create another exact file as title.xml just that we will rename it different, like titleFAQ.xml.
On this XML we will change the android:icon value. We can use whatever value for the icon. For example,
"@drawable/ic_credits" Then, we will paste the png you want to place on the drawable-mdpi.
Now in the FAQ.xml file you want to place another icon title we should change the layout target so according to what I did so far on the file, this is the target i should place.
Code:
<include android:layout_width="fill_parent" android:layout_height="50.0dip" layout="@layout/titleFAQ" />
Click to expand...
Click to collapse
b) In the second method the windows are located on the XML folder. So follow below :
Go to XML folder and now find the XML which is responsible for the window.
So I will use the same example.
So let's say that the Credits.xml is on the XML folder. Now instead of including <include android:layout_width="fill_parent"......
you should include this code below xmlns:android="http://schemas.android.com/apk/res/android">
Code:
<CheckBoxPreference android:layout="@layout/title" android:title="Help Centre" android:key="Help_title_Centre" />
Android:title is the name of the title bar. You can set it to whatever name you want. Same goes with android:key.
To use another icon for the another title bar which is located on FAQ.xml like i mentioned before, change
Code:
<CheckBoxPreference android:layout="@layout/titleFAQ" android:title="Help Centre" android:key="Help_title_Centre" />
Click to expand...
Click to collapse
4. Now the final step is to go to AndroidManifest.xml and after the specified activity place the NoTitleBar theme
I edited Credits.xml and FAQ.xml so let's find their activity in there.
Code:
<activity android:name="Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:name="FAQ">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
I now will add the theme value on both activities. This is the code
Code:
android:theme="@*android:style/Theme.Black.NoTitleBar"
After all it will look like this
Code:
<activity android:theme="@*android:style/Theme.Black.NoTitleBar" android:name="Credits">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:theme="@*android:style/Theme.Black.NoTitleBar" android:name="FAQ">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
Now we're done working.
5. Recompile the apk
6. Sign it (Always sign if you edit AndroidManifest.xml)
Click to expand...
Click to collapse
Credits :
Full credits goes to the most amazing themer I have ever seen, @SpaceCaker!
He made many works for Touchwiz Resurrection ROM and I have based the guide upon that modifications just that I have edited
the code and fully explained it.
Also, Touchwiz Resurrection Team members @Vishnu pv and @radichification for their support!
Click to expand...
Click to collapse
Enjoy!
Regards,
Teddy
Sweet u posted the guide :3 Good Good
If u are building app from source in a java based app or such
PHP:
public void onCreate(Bundle bundle)
{
super.onCreate(bundle);
addPreferencesFromResource(R.xml.twdevs);
setContentView(R.layout.twdevelopers);
add the
PHP:
setContentView(R.layout.twdevelopers);
line or such so u can have a Layout in the preferences app with
PHP:
extends PreferenceActivity{
and add a custom layout wich looks close to this
PHP:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" >
<include android:layout_width="fill_parent"
android:layout_height="50.0dip"
layout="@layout/title" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="345dp" />
</LinearLayout>
</LinearLayout>
If you want to change the background target you should change something on title.xml or any other title xml you have created for your window.
Find :
Code:
<LinearLayout android:gravity="center_vertical"
Change :
Code:
android:background="@drawable/title_background"
to a different png target like :
Code:
android:background="@drawable/ics_title_background"
or :
Code:
android:background="@drawable/touchwiz_title_background"
And put the png on drawable-mdpi.
Also, I have included a normal icon for the title bar, but you can change it anytime, just replace it with another icon.
If you want to change the target of the icon find :
Code:
<ImageView android:id="@id/imageView1"
Change :
Code:
android:background="@drawable/title_icon"
To :
Code:
android:background="@drawable/ics_title_icon"
Or :
Code:
android:background="@drawable/touchwiz_title_icon"
And then like I mentioned before put the png on drawable-mdpi
Currently on the zip source I have included a Touchwiz title background as that's what I have atm, but you can get another one ICS or JB themed. I will provide them later. As per now, only touchwiz title background is available.
Download ZIP on attachments.
Don't forget to put correct credits if you are going to include this into your ROM/MOD/Theme.
Or just add a simple style with 9 png.
Which can be also changed as HomeDisabled as in non-launcher Activity like in ActionBar
Reserved for a simpler Guide
iamareebjamal said:
Or just add a simple style with 9 png.
Which can be also changed as HomeDisabled as in non-launcher Activity like in ActionBar
Reserved for a simpler Guide
Click to expand...
Click to collapse
we do know about this one
but it didnt really always worked and also this way it makes it bit easier to layout the icon properly and bg
because there are a lot of people who try this but fail with photoshoping the icon in background.
i also said that teddy shouldnt include the third method because that would be * to complex* lol
iamareebjamal said:
Or just add a simple style with 9 png.
Which can be also changed as HomeDisabled as in non-launcher Activity like in ActionBar
Reserved for a simpler Guide
Click to expand...
Click to collapse
The guide on the OP is more stable and working proof. Also, more detailed, with opportunity of changing the title's bar background and the title's bar icon.
Sniper Killer said:
The guide on the OP is more stable and working proof. Also, more detailed, with opportunity of changing the title's bar background and the title's bar icon.
Click to expand...
Click to collapse
lol. I don't know what you mean by "STABLE", so I can't speak on that
About working proof, what can be better working proof than Cosmic v3
Title Bar's background and icon both can be changed by that method
Don't misunderstand me, just trying to share another method with people.
PS - You will want to include (if not already) that editing AndroidManifest.xml of system app will require to sign it, and if you want it working on your device, you'll have to disable signature check from service.
Usefull guide for users and also new rising themers Keep it up

[DEV]How to replace navbar icons on stock ROMs [SOLVED!]

I start this thread in order to share with you the information I already collected regarding the theming the navbar keys on stock roms. You should have realized that after Lollipop upgrade there is not even one stock based ROM or theme which contains themed navbar icons. The reason for this is:
1. Apktool RC3 is buggy on LG system apps, including LGSystemUI.apk. There is no way recently to decompile systemui and have access to the source code of the navbars.
2. With the Lollipop upgrade LG changed its approach regarding definition of the navbar icons using Google's new public classes of VectorDrawables.
Code:
java.lang.Object
↳android.graphics.drawable.Drawable
↳android.graphics.drawable.VectorDrawable
VectorDrawables are specific xml files that define vector graphics via vector coordinates.
The three main navbar icons are defined in LGSystemUI.apk as follows:
ic_sysbar_back_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M124.125,120.827h-76c-1.358,0-2.667-1.789-2.667-4c0-2.209,1.273-4,2.667-4h76c11.045,0,20-8.953,20-20 c0-11.046-8.955-19.999-20-19.999h-96v-8h96c15.463,0,28,12.535,28,27.999C152.125,108.292,139.588,120.827,124.125,120.827z" />
<path android:fillColor="#ffffffff" android:pathData="M45.447,54.302L30.36,66.189c0,0-1.581,1.291-0.553,2.639c-1.028,1.346,0.553,2.639,0.553,2.639 l15.086,11.886c0,0,3.054,2.04,0,5.447c-2.114,2.359-4.366,1.172-5.865,0L17.741,71.466c-1.291-1.074-1.616-2.639-1.616-2.639 s0.326-1.564,1.616-2.639l21.842-17.334c1.499-1.172,3.75-2.359,5.865,0C48.5,52.263,45.447,54.302,45.447,54.302z" />
</vector>
ic_sysbar_home_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="48.0dip" android:width="48.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M159.881,87.102l-0.541,1.217c-0.898,2.02-3.264,2.927-5.281,2.027L144.5,86.09c0,14.906,0,28.396,0,28.396 c0,2.209-1.791,4-4,4h-112c-2.209,0-4-1.791-4-4V86.09l-9.559,4.256c-2.018,0.898-4.382-0.009-5.281-2.027l-0.542-1.217 c-0.898-2.02,0.009-4.384,2.027-5.282l70.647-31.455c0.889-0.395,1.839-0.423,2.708-0.178c0.868-0.245,1.818-0.217,2.708,0.178 l70.647,31.455C159.873,82.718,160.781,85.082,159.881,87.102z M32.5,109.154c0,1.27,0.038,1.332,1.333,1.332h101.333 c1.244,0,1.334-0.047,1.334-1.332V82.528l-52-23.152l-52,23.152C32.5,95.766,32.5,109.154,32.5,109.154z" />
</vector>
ic_sysbar_recent_button.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="42.0dip" android:width="42.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M149,51.5H37c-2.209,0-5,1.027-5,3.236c0,0,0,5.764,0,10.764H21c-2.209,0-5,1.027-5,3.236v42.998 c0,2.211,2.791,4.766,5,4.766h112c2.209,0,3-2.555,3-4.766V101.5c8,0,13,0,13,0c2.209,0,3-2.555,3-4.766V54.736 C152,52.527,151.209,51.5,149,51.5z M128,106.402c0,1.285,0.91,2.098-0.333,2.098H26.333c-1.296,0-2.333-0.828-2.333-2.098V74.068 c0-1.27,1.038-0.568,2.333-0.568h101.333c1.243,0,0.333-0.716,0.333,0.568L128,106.402L128,106.402z M144,91.402 c0,1.285,0.91,2.098-0.333,2.098H136V68.736c0-2.209-0.791-3.236-3-3.236H40v-5.432c0-1.269,1.038-0.568,2.333-0.568h101.334 c1.243,0,0.333-0.716,0.333,0.568V91.402L144,91.402z" />
</vector>
I spent many dozen hours on finding/creating vector graphics of Lollipop navbar keys as SVG files. I tried many times and many ways to save the corresponding SVG files and convert them to VectorDrawable using this site: http://inloop.github.io/svg2android/
Used a trick to recompile the new xmls and replaced them in the LGSystemUI.apk with my vrtheme engine. But still no success. When the shape of the icon was OK the size of them was never.
Basically I am fully confused why the virtual canvas of the stock icons is 168x168. I am struggling with the fill and stroke color definition as well.
This is the status quo. I hope by starting this thread that together we can solve the problem and get the working source code of the Lollipop navbars. I look forward for any help.
Please note that skin1980 is already involved in the project and I got from him huge help with his intelligent hints.
This is a development thread please do not post comments and remarks that are not intended to provide professional help.
Merry Xmas to all of you!
Vector codes
REAL SOLUTION
Since the release of 20H software version LG also introduced the Lollipop navbar icons. These are defined in LGSystemUI.apk res/drawables folder by xml files [email protected]_button.xml where @ is the corresponding function name (for example ic_sysbar_back_button.xml.
{
"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"
}
Back button:
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M122.132,132c-0.921,0-1.759-0.324-2.435-0.847L44.916,87.979c-0.965-0.499-1.956-0.894-2.525-1.88c-0.338-0.586-0.492-1.221-0.516-1.852c-0.007-0.082-0.004-0.165-0.007-0.247c0.003-0.082,0-0.165,0.007-0.247c0.023-0.632,0.178-1.266,0.516-1.852c0.569-0.987,1.623-1.35,2.525-1.88l74.781-43.175c0.676-0.523,1.514-0.847,2.435-0.847c2.209,0,4,1.791,4,4v88C126.132,130.209,124.341,132,122.132,132zM54.025,84l64.106,37.012V46.988L54.025,84z" />
</vector>
Dual window
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M120,36H48c-6.627,0-12,5.373-12,12v72c0,6.627,5.373,12,12,12h72c6.627,0,12-5.373,12-12V48C132,41.373,126.627,36,120,36zM124,120c0,2.209-1.791,4-4,4H48c-2.209,0-4-1.791-4-4V88h80V120zM124,80H44V48c0-2.209,1.791-4,4-4h72c2.209,0,4,1.791,4,4V80z" />
<path android:fillColor="#ffffffff" android:pathData="M85.871,73.958h-4.795V55.041H76.23v-3.065l9.641-2.01V73.958z" />
<path android:fillColor="#ffffffff" android:pathData="M92.177,118.375h-16.38v-3.147l7.762-8.322c1.143-1.307,1.944-2.395,2.406-3.263c0.461-0.868,0.691-1.687,0.691-2.455c0-1.033-0.267-1.865-0.799-2.497c-0.533-0.632-1.31-0.947-2.332-0.947c-1.131,0-1.979,0.371-2.545,1.112c-0.566,0.741-0.85,1.75-0.85,3.023h-4.812c0-2.252,0.73-4.122,2.192-5.61c1.461-1.489,3.465-2.233,6.014-2.233c2.516,0,4.469,0.632,5.858,1.896s2.085,2.988,2.085,5.174c0,1.473-0.388,2.808-1.162,4.005s-2.101,2.807-3.979,4.828l-4.351,4.746h10.2V118.375z" />
</vector>
Home button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M84,131.916c-26.464,0-47.917-21.453-47.917-47.916c0-26.463,21.453-47.917,47.917-47.917S131.917,57.537,131.917,84C131.917,110.465,110.463,131.916,84,131.916zM84,44.333c-21.908,0-39.667,17.76-39.667,39.667c0,21.908,17.76,39.667,39.667,39.667s39.667-17.76,39.667-39.667C123.667,62.093,105.908,44.333,84,44.333z" />
</vector>
Menu button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M40,54h88c2.209,0,4-1.791,4-4s-1.791-4-4-4H40c-2.209,0-4,1.791-4,4S37.791,54,40,54zM128,80H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,80,128,80zM128,114H40c-2.209,0-4,1.791-4,4s1.791,4,4,4h88c2.209,0,4-1.791,4-4S130.209,114,128,114z" />
</vector>
Notification down
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M123,44.179H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,44.179,123,44.179zM51.181,90.828L79,118.647V58.379c0-2.209,1.791-4,4-4s4,1.791,4,4v60.557l28.025-28.026c1.563-1.562,4.096-1.562,5.656,0c1.563,1.563,1.563,4.096,0,5.658L86.59,130.66c-1.018,1.018-2.445,1.359-3.75,1.052c-1.151,0.114-2.342-0.253-3.224-1.134L45.524,96.486c-1.562-1.563-1.562-4.096,0-5.658C47.086,89.267,49.619,89.267,51.181,90.828z" />
</vector>
Notification up
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M123,131.82H45c-2.209,0-4-1.791-4-4s1.791-4,4-4h78c2.209,0,4,1.791,4,4S125.209,131.82,123,131.82zM115.025,77.09L87,49.064v60.556c0,2.209-1.791,4-4,4s-4-1.791-4-4V49.354L51.181,77.172c-1.562,1.563-4.095,1.563-5.657,0c-1.562-1.562-1.562-4.095,0-5.657l34.092-34.092c0.882-0.882,2.073-1.248,3.224-1.134c1.305-0.309,2.733,0.034,3.75,1.052l34.092,34.092c1.563,1.562,1.563,4.095,0,5.657C119.121,78.652,116.588,78.652,115.025,77.09z" />
</vector>
Qmemo button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M87.637,123.2c-19.2,0-43.168,0-43.168,0c-5.523,0-10-4.478-10-10v-66c0-5.523,4.477-10,10-10h66c5.522,0,10,4.477,10,10c0,0,0,23.578,0,42.833c0,7.74-0.167,1.55-0.167,3.667c0,2.116-1.716,3.833-3.833,3.833s-3.832-1.717-3.832-3.833c0-2.117-0.168,1.901-0.168-3.5c0-16.292,0-39,0-39c0-3.313-2.687-6-6-6h-58c-3.313,0-6,2.687-6,6v58c0,3.313,2.688,6,6,6c0,0,22.708,0,39,0c5.402,0-0.117,0.237,2,0.237s3.833,1.717,3.833,3.834s-1.716,3.834-3.833,3.834S95.198,123.2,87.637,123.2z" />
<path android:fillColor="#ffffffff" android:pathData="M102.559,110.938c-3.443-3.053-8.367-8.672-10.938-12.484l-2.563-3.801c-2.572-3.813-1.324-5.215,2.772-3.113l4.082,2.094c4.098,2.102,10.269,6.319,13.711,9.372l22.323,18.669c1.951,1.73,2.128,4.713,0.395,6.661l-0.783,0.881c-1.734,1.947-4.723,2.124-6.675,0.394L102.559,110.938z" />
</vector>
Qslide button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M98,74h26c2.209,0,4-1.791,4-4s-1.791-4-4-4h-16.302l19.515-19.515c1.563-1.562,1.563-4.095,0-5.657c-1.563-1.563-4.095-1.563-5.656,0L102,60.385V44c0-2.209-1.791-4-4-4s-4,1.791-4,4v26C94,72.209,95.791,74,98,74z" />
<path android:fillColor="#ffffffff" android:pathData="M70,94H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h16.301l-19.515,19.516c-1.562,1.563-1.562,4.094,0,5.656c1.563,1.563,4.095,1.563,5.657,0L66,107.615V124c0,2.209,1.791,4,4,4s4-1.791,4-4V98C74,95.791,72.209,94,70,94z" />
<path android:fillColor="#ffffffff" android:pathData="M107.698,102H124c2.209,0,4-1.791,4-4s-1.791-4-4-4H98c-2.209,0-4,1.791-4,4v26c0,2.209,1.791,4,4,4s4-1.791,4-4v-16.385l19.557,19.557c1.563,1.563,4.096,1.563,5.656,0c1.563-1.563,1.563-4.095,0-5.656L107.698,102z" />
<path android:fillColor="#ffffffff" android:pathData="M70,40c-2.209,0-4,1.791-4,4v16.385L46.443,40.829c-1.562-1.563-4.094-1.563-5.657,0c-1.562,1.562-1.562,4.095,0,5.657L60.301,66H44c-2.209,0-4,1.791-4,4s1.791,4,4,4h26c2.209,0,4-1.791,4-4V44C74,41.791,72.209,40,70,40z" />
</vector>
Recent button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M128.041,36.042H39.958c-2.209,0-4,1.791-4,4v87.917c0,2.209,1.791,4,4,4h88.083c2.211,0,4-1.791,4-4V40.042C132.041,37.833,130.252,36.042,128.041,36.042zM123.791,123.041c0,0.553-0.447,1-1,1H44.792c-0.553,0-1-0.447-1-1v-78c0-0.552,0.447-1,1-1h77.999c0.553,0,1,0.448,1,1V123.041z" />
</vector>
Simswitch button
Code:
<?xml version="1.0" encoding="utf-8"?>
<vector android:height="34.0dip" android:width="34.0dip" android:viewportWidth="168.0" android:viewportHeight="168.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#ffffffff" android:pathData="M137.348,121.033h-54.71c-2.569,0-4.653-2.09-4.653-4.668V94.984h-14.7l3.836,3.852c1.558,1.563,1.558,4.096,0,5.656c-0.779,0.781-1.799,1.172-2.82,1.172s-2.042-0.391-2.82-1.172l-10.368-10.41c-1.558-1.563-1.558-4.094,0-5.654l10.369-10.406c1.558-1.563,4.082-1.563,5.64,0c1.558,1.562,1.558,4.095,0,5.656l-3.272,3.285h17.501c2.569,0,4.653,2.09,4.653,4.666v21.352h48.004V67.817l-14.582-12.892H91.881c-2.57,0-4.279-1.465-4.279-4.042c0-2.577,1.709-3.917,4.279-3.917h28.49c1.135,0,2.229,0.416,3.078,1.167l16.979,15.08c1,0.885,1.572,2.16,1.572,3.499v49.653C142,118.943,139.918,121.033,137.348,121.033zM89.988,66.711v6.292h14.457l-3.563-3.576c-1.559-1.561-1.559-4.095,0-5.656c1.559-1.563,4.082-1.563,5.641,0l10.367,10.405c1.559,1.562,1.559,4.094,0,5.656L106.523,90.24c-0.777,0.781-1.801,1.172-2.82,1.172s-2.041-0.391-2.818-1.172c-1.559-1.563-1.559-4.094,0-5.656l3.662-3.677H86.654c-2.569,0-4.653-2.09-4.653-4.667v-8.509L67.605,54.963H33.993v58.017h31.566c2.569,0,4.153,1.434,4.153,4.01s-1.584,4.012-4.153,4.012H30.653c-2.569,0-4.653-2.09-4.653-4.668V51.633c0-2.577,2.083-4.667,4.653-4.667h37.644c1.133,0,2.228,0.416,3.078,1.167l17.04,15.08C89.414,64.098,89.988,65.373,89.988,66.711z" />
</vector>
For all button there is a different code for the transparent version. The above codes are already modified by me because the stock buttons are way too big. See here.
The button size is defined by vector android:height="42.0dip" android:width="42.0dip" and I decreased those values for my Lollipop theme.
In ChupaChups 4.1 you will be able to reduce the navigation bar height which requires the change of the corresponding button height as well.
I hope I helped. Good work with this icons.
Missing codes fixed. We need a proper pathdata for the lollipop icons and the right size definitions.
one might try to rebuild a customized in another lgsystemui with new icons and put them with full apk buttons.
I try this but I'm a little confused. buttons you create are not the photo. I still investigating
forgiveness. My English is the translator of google.
se podria intentar recompilar unos botones customizados en otro lgsystemui con iconos nuevos y meterlos con la apk completa.
yo intente hacer esto pero estoy un poco confuso. los botones que cree no son los de la foto. sigo investigando..
perdon. mi ingles es del traductor de google.
forgive my English.
first.
decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml
second
decompile framework of kitkat and open values/public
third
decompile framework-res.apk of lollipop and open values/public
ok. ready.
first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable.
Code:
<public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" />
on lollipop
Code:
<public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" />
on kitkat
ok now go to ic_sysbar_back and replace your drawable
Code:
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
<item android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
</selector>
now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop
replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk.
now put LGSystemUI.apk into your phone with root explorer and permission.
flash framework-res.apk with the new icons and voila
View attachment 3090021View attachment 3090024
if you want a tutorial in spanish ask to me:good:
edit. if you want test. here have my work.
first put lgsystemui.apk with root explorer and permision
after flash zip keytest.zip
http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk
http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip
enjoy
ffalete said:
forgive my English.
first.
decompile a LGSystemUI.apk ok kitkat and open ic_sysbar_back.xml
second
decompile framework of kitkat and open values/public
third
decompile framework-res.apk of lollipop and open values/public
ok. ready.
first wanted png that android not use. for example "ic_jog_dial_answer". now, Go to values of lollipop and wanted id public and copy your id. Wanted on public of kitkat and copy your drawable.
Code:
<public type="drawable" name="ic_jog_dial_answer"[COLOR="Red"] id="0x01080371[/COLOR]" />
on lollipop
Code:
<public type="drawable" name="[COLOR="lime"]ic_perm_group_bluetooth[/COLOR]" [COLOR="red"]id="0x0108037[/COLOR]1" />
on kitkat
ok now go to ic_sysbar_back and replace your drawable
Code:
<item android:state_enabled="true" android:state_pressed="false" android:drawable="@[COLOR="Cyan"]*android:[/COLOR]drawable/[COLOR="Lime"]ic_perm_group_bluetooth[/COLOR]" />
<item android:state_enabled="true" android:state_pressed="true" android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
<item android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
</selector>
now recompile your systemui of kitkat and replace ic_sysbar_back on LGsystemUI.apk of lollipop
replace ic_jog_dial_answer.png for your png with this name and copy into framework-res.apk.
now put LGSystemUI.apk into your phone with root explorer and permission.
flash framework-res.apk with the new icons and voila
View attachment 3090021View attachment 3090024
if you want a tutorial in spanish ask to me:good:
View attachment 3090234View attachment 3090235
edit. if you want test. here have my work.
first put lgsystemui.apk with root explorer and permision
after flash zip keytest.zip
http://www.mediafire.com/download/rabr0kmwv2l8g5g/LGSystemUI.apk
http://www.mediafire.com/download/oeyr76k15vbyye9/keys-test.zip
enjoy
Click to expand...
Click to collapse
Many thanks ffalete. I followed your guide but got the following result:
I am confused with the following steps:
1. When changing the reference in ic_sysbar_(...).xml you said
Code:
android:drawable="@*android:drawable/ic_perm_group_bookmarks" />
I used:
Code:
android:drawable="@drawable/ic_perm_group_bookmarks" />
The * is not required, isn't it?
The navbar icons are 128X128. I put them into the xhdpi folder of framework-res.apk with the name "ic_perm_group_bookmarks".
What am I doing wrong? I had the same problems before the system loads different icons.
Do you know how to change the keys in the appdrawer?
*android: is requiered because this command is for framework.
if you do not put the framework will read
ffalete said:
*android: is requiered because this command is for framework.
if you do not put the framework will read
Click to expand...
Click to collapse
here you have the mod whith your vrtheme.
open the zip and decompile the xml of lgsystemui for compare.:good:
the vrtheme is funtional. you can flash on your phone
Great job! It works. Next step is to make the navbar transparent.
That is already more complicated jejejejeje.
For now we have to settle for this. you know
:laugh::laugh:
ffalete said:
That is already more complicated jejejejeje.
For now we have to settle for this. you know
:laugh::laugh:
Click to expand...
Click to collapse
Can you add up / down buttons and menu?
Here you have[emoji1]
http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip
ffalete said:
Here you have[emoji1]
http://www.mediafire.com/download/428x3w987mne9ck/test_navvar2.zip
Click to expand...
Click to collapse
Can you, please, NavBar botton "Menu" to activate?
According to your instructions, I did not get
There is no need for menu button just longpress recent button.
Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking.
Sent from my LG-D855 using XDA Premium 4 mobile app
jeffzmagboo said:
Is theres a way to resize the Navigation Bar Icons on Lollipop Custom ROM (AHD9.1) its way too big for my liking.
Sent from my LG-D855 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, use ChupaChups4.
OP updated with useful information.
thanks for share my friend just a small question on post 2 why back buttom have different size from the rest?
hugs !
Crash said:
thanks for share my friend just a small question on post 2 why back buttom have different size from the rest?
hugs !
Click to expand...
Click to collapse
Hey, my mistake, fixed.
Kickoff said:
Hey, my mistake, fixed.
Click to expand...
Click to collapse
Don´t worry jus one more question hehe sorry for disturb theres two files for example
ic_sysbar_back_button and ic_sysbar_back_button_trans do we have to change the size on both files or just in the file without the "transparent" ?
Hugs my friend
Both

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

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

Categories

Resources