Misc Mods By Rydah805 - G4 Android Development

Welcome To My Mod Thread. I Tend Find A Few Cool Things And Usually Keep Them To Myself (Unintentionally.) Well I Decided To Share Them. More Will Come As I Find More To Post. All Are Flashable In TWRP (For Those Of Us Fortunate To Have TWRP; For Those Without TWRP, Feel Free To Manually Copy The Files Into Their Respected Folders And Set The Proper Permissions. (Proper Permissions Can Be Found Within The Scripts Or By Verifying Them Before Overwriting The Current File.) Flash or Copy At Your Own Risk (Although There Should Be None.)
The Mods:
Busybox + SQLite: This Installs Busybox v.1.24.1 (Osm0sis) And SQLite v. 3.8.11.1.
Stock LG G4 Boot Up/Shut Down Animations + Sounds: This Installs The Stock Boot Up/Shut Down Animations + Sounds Found On The EU Unlocked Version.
Helvetica Font: This Adds The Helvetica Font As A Selectable Font From The System Font Selector, Unlike Other Mods That Replace The Stock System Font Entirely.
Screenshot:
{
"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"
}
Dolby Music Mod: This Doesn't Do Anything Magical, But Does Enable Dolby Digital Audio Effects In The Stock Music App. This Replaces The Stock "LG Effect" Option.
Screen Shot:
More To Come, Hopefully. ???
***Return To Stock Files Will Be Added Soon.***

I'm interested in stock boot ani. When I click link it asks me to open in my es file explorer, but won't let me save it or move the files. A brief how to?
Sent from my LG-H810 using XDA Free mobile app

InflatedTitan said:
I'm interested in stock boot ani. When I click link it asks me to open in my es file explorer, but won't let me save it or move the files. A brief how to?
Sent from my LG-H810 using XDA Free mobile app
Click to expand...
Click to collapse
Sounds like you've oddly set es file explorer as the default. Try clearing the defaults in es and click the link again. When I click the link, it opens chrome.
Sent From My LG G4

I'd like to know if I can add Source Sans Pro as a selectable font

Knowbody42 said:
I'd like to know if I can add Source Sans Pro as a selectable font
Click to expand...
Click to collapse
I'll look into it. Link?

Rydah805 said:
I'll look into it. Link?
Click to expand...
Click to collapse
I just did successfully (as well as Helvetica):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
Added System Default Fonts Family.
-->
<familyset version="22">
<alias name="default_roboto" to="sans-serif" />
<family name="Source Sans Pro">
<font weight="400" style="normal">SourceSansPro-Regular.ttf</font>
<font weight="700" style="normal">SourceSansPro-Bold.ttf</font>
</family>
<family name="Helvetica">
<font weight="400" style="normal">HelveticaNeueLT.ttf</font>
<font weight="700" style="normal">HelveticaNeueLT-Bold.ttf</font>
</family>
<family name="lgtravel">
<font weight="400" style="normal">HYTravel_Regular.ttf</font>
<font weight="700" style="normal">HYTravel_Bold.ttf</font>
</family>
<family name="hyfonxrain">
<font weight="400" style="normal">HYFoxrain_Regular.ttf</font>
<font weight="700" style="normal">HYFoxrain_Bold.ttf</font>
</family>
<family name="hycoffee">
<font weight="400" style="normal">HYCoffee_Regular.ttf</font>
<font weight="700" style="normal">HYCoffee_Bold.ttf</font>
</family>
<family name="hypure">
<font weight="400" style="normal">HYPureWhite_Regular.ttf</font>
<font weight="700" style="normal">HYPureWhite_Bold.ttf</font>
</family>
<family name="lgserif">
<font weight="400" style="normal">HYSerif_Regular.ttf</font>
<font weight="700" style="normal">HYSerif_Bold.ttf</font>
</family>
</familyset>
https://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro
I just copied the .ttf files into /system/fonts, and replaced the /system/etc/fonts_lge.xml file with the above (also made sure permissions were 0644 on all files)

Knowbody42 said:
I just did successfully (as well as Helvetica):
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--
Added System Default Fonts Family.
-->
<familyset version="22">
<alias name="default_roboto" to="sans-serif" />
<family name="Source Sans Pro">
<font weight="400" style="normal">SourceSansPro-Regular.ttf</font>
<font weight="700" style="normal">SourceSansPro-Bold.ttf</font>
</family>
<family name="Helvetica">
<font weight="400" style="normal">HelveticaNeueLT.ttf</font>
<font weight="700" style="normal">HelveticaNeueLT-Bold.ttf</font>
</family>
<family name="lgtravel">
<font weight="400" style="normal">HYTravel_Regular.ttf</font>
<font weight="700" style="normal">HYTravel_Bold.ttf</font>
</family>
<family name="hyfonxrain">
<font weight="400" style="normal">HYFoxrain_Regular.ttf</font>
<font weight="700" style="normal">HYFoxrain_Bold.ttf</font>
</family>
<family name="hycoffee">
<font weight="400" style="normal">HYCoffee_Regular.ttf</font>
<font weight="700" style="normal">HYCoffee_Bold.ttf</font>
</family>
<family name="hypure">
<font weight="400" style="normal">HYPureWhite_Regular.ttf</font>
<font weight="700" style="normal">HYPureWhite_Bold.ttf</font>
</family>
<family name="lgserif">
<font weight="400" style="normal">HYSerif_Regular.ttf</font>
<font weight="700" style="normal">HYSerif_Bold.ttf</font>
</family>
</familyset>
https://www.google.com/fonts#UsePlace:use/Collection:Source+Sans+Pro
I just copied the .ttf files into /system/fonts, and replaced the /system/etc/fonts_lge.xml file with the above (also made sure permissions were 0644 on all files)
Click to expand...
Click to collapse
Nice man. ???
Sent From My LG G4

The boot animations work perfectly. Thank you. Interested in what else you come up with.
Sent from my LG-H811 using Tapatalk

rawdikrik said:
The boot animations work perfectly. Thank you. Interested in what else you come up with.
Sent from my LG-H811 using Tapatalk
Click to expand...
Click to collapse
Glad it worked for you. Stick around.

Hy, on my Lg 815, if I don't have Twrp.. Can i flash the Helvetica font using Falsify?
Sent from my LG-H815 using XDA Free mobile app

KATANA_TEAM said:
Hy, on my Lg 815, if I don't have Twrp.. Can i flash the Helvetica font using Falsify?
Sent from my LG-H815 using XDA Free mobile app
Click to expand...
Click to collapse
Just copy the files to the appropriate folders using a file browser, making sure the permission are all set correctly. Then reboot.
---------- Post added at 21:54 ---------- Previous post was at 21:52 ----------
Rydah805 said:
Helvetica Font: This Adds The Helvetica Font As A Selectable Font From The System Font Selector, Unlike Other Mods That Replace The Stock System Font Entirely.
Screenshot:
Click to expand...
Click to collapse
Can I add any font, by adding the appropriate ttf into the font folder and modifying the xml file with the appropriate details?

Can you be more specific please?
In witch folder and there permissions?
I don't want to brick my phone.
Sent from my LG-H815

KATANA_TEAM said:
Can you be more specific please?
In witch folder and there permissions?
I don't want to brick my phone.
Sent from my LG-H815
Click to expand...
Click to collapse
The files require permission 644 (-rw-r--r--).
The folder structure is in the zip file.
If you don't understand what these things mean then I'd advise against proceeding.

I've done it.. In the end, I think the Helvetica Light I was searching for.. Not ultra Light.
Sent from my LG-H815 using XDA Free mobile app

KATANA_TEAM said:
I've done it.. In the end, I think the Helvetica Light I was searching for.. Not ultra Light.
Sent from my LG-H815 using XDA Free mobile app
Click to expand...
Click to collapse
Yeah me too, hoping the OP will reply to my question as if so, can add any TTF by modding the xml file. I'll get Helvetica Neu Light added and share the xml.
May just try it this evening when have some time to play around and don't need a working device too much lol

KATANA_TEAM said:
Hy, on my Lg 815, if I don't have Twrp.. Can i flash the Helvetica font using Falsify?
Sent from my LG-H815 using XDA Free mobile app
Click to expand...
Click to collapse
You'll need a custom recovery to flash anything.
IIIIkoolaidIIII said:
Just copy the files to the appropriate folders using a file browser, making sure the permission are all set correctly. Then reboot.
---------- Post added at 21:54 ---------- Previous post was at 21:52 ----------
Can I add any font, by adding the appropriate ttf into the font folder and modifying the xml file with the appropriate details?
Click to expand...
Click to collapse
Yup, what he said. . .
KATANA_TEAM said:
Can you be more specific please?
In witch folder and there permissions?
I don't want to brick my phone.
Sent from my LG-H815
Click to expand...
Click to collapse
The files are within folder in the zip, copy those files onto your phone in those specific folders and set the permissions he said. Also, the script in the zips have the permissions as well.
IIIIkoolaidIIII said:
The files require permission 644 (-rw-r--r--).
The folder structure is in the zip file.
If you don't understand what these things mean then I'd advise against proceeding.
Click to expand...
Click to collapse
KATANA_TEAM said:
I've done it.. In the end, I think the Helvetica Light I was searching for.. Not ultra Light.
Sent from my LG-H815 using XDA Free mobile app
Click to expand...
Click to collapse
IIIIkoolaidIIII said:
Yeah me too, hoping the OP will reply to my question as if so, can add any TTF by modding the xml file. I'll get Helvetica Neu Light added and share the xml.
May just try it this evening when have some time to play around and don't need a working device too much lol
Click to expand...
Click to collapse
Yes, exactly. Add your lines for the font file and add the font to the font folder and done.
Sent From My LG G4

I put the 2 ttf files and the xml file in the folders under system. I rebooted and now I only have roboto and another font I downloaded but no helvetica. I lost some fonts and I would like to return to stock. Can anyone post the stock xml file. Thanks
Edit: Found the problem and fixed it. I had the wrong permissions on the xml file.

mcfhsieh said:
I put the 2 ttf files and the xml file in the folders under system. I rebooted and now I only have roboto and another font I downloaded but no helvetica. I lost some fonts and I would like to return to stock. Can anyone post the stock xml file. Thanks
Edit: Found the problem and fixed it. I had the wrong permissions on the xml file.
Click to expand...
Click to collapse
Your issue is likely with the permissions, did you chance the file permissions? Just copying in stock won't help if this is the case.
They should be 644 -rw-r--r--
Also, always make a backup of anything before modifying system files.

IIIIkoolaidIIII said:
Your issue is likely with the permissions, did you chance the file permissions? Just copying in stock won't help if this is the case.
They should be 644 -rw-r--r--
Also, always make a backup of anything before modifying system files.
Click to expand...
Click to collapse
That was his problem, permissions. He edited his post. ?
Sent From My LG G4

mcfhsieh said:
I put the 2 ttf files and the xml file in the folders under system. I rebooted and now I only have roboto and another font I downloaded but no helvetica. I lost some fonts and I would like to return to stock. Can anyone post the stock xml file. Thanks
Edit: Found the problem and fixed it. I had the wrong permissions on the xml file.
Click to expand...
Click to collapse
Rydah805 said:
That was his problem, permissions. He edited his post.
Sent From My LG G4
Click to expand...
Click to collapse
So he did, I missed the edit. Nice to know I'm thinking the right way.

Related

change the color from the font. Is it possible?

hello guys
I have a question: is it possible to change the color from the font of the time in the statusbar? or somewhere else? I see that in other roms and I want to change it manually. When it's possible, can you post a tutorial-link or something to do change that?
Thanks
Sony Ericsson Xperia Play (R800i)
Android: 2.3.4 - Stock
I think thats enough^^
and sorry for my bad english^^ (best regards from germany )
Justin20020 said:
hello guys
I have a question: is it possible to change the color from the font of the time in the statusbar? or somewhere else? I see that in other roms and I want to change it manually. When it's possible, can you post a tutorial-link or something to do change that?
Thanks
Sony Ericsson Xperia Play (R800i)
Android: 2.3.4 - Stock
I think thats enough^^
and sorry for my bad english^^ (best regards from germany )
Click to expand...
Click to collapse
you need to decompile one of the framework apks and edit the smali (i think ) code
Sent from my R800i using Tapatalk 2
fma965 said:
you need to decompile one of the framework apks and edit the smali (i think ) code
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
hey^^
one of the framework apks? I found one in system\framework\ (framework-res.apk) and I don't find a smali code or something I can see in the apk a folder names "color" but I don't know what I change there :/
To change the color of the clock:
1.Decompile the SystemUI.apk
2.Open res/layout/status_bar.xml
3.Find this line
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4. add
Code:
android:textColor="TEXTCOLOR"
"TEXTCOLOR" being your choice of HEX COLOR CODE (EXAMPLE: #ff49E9BD = Electric Turquoise)
Always put "ff" before the the color code.
ATTACK said:
To change the color of the clock:
1.Decompile the SystemUI.apk
2.Open res/layout/status_bar.xml
3.Find this line
Code:
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
4. add
Code:
android:textColor="TEXTCOLOR"
"TEXTCOLOR" being your choice of HEX COLOR CODE (EXAMPLE: #ff49E9BD = Electric Turquoise)
Always put "ff" before the the color code.
Click to expand...
Click to collapse
thanks but how can I Decompile it?
Justin20020 said:
thanks but how can I Decompile it?
Click to expand...
Click to collapse
APKTOOL:
http://code.google.com/p/android-apktool/
HOW TO:
http://forum.xda-developers.com/showpost.php?p=21854312&postcount=1
ATTACK said:
APKTOOL:
http://code.google.com/p/android-apktool/
HOW TO:
http://forum.xda-developers.com/showpost.php?p=21854312&postcount=1
Click to expand...
Click to collapse
sorry but I don't look through it
I've followed the instructions and I copyied overwrite it with the old and then I got errors that systemui is terminated. Then I restarted my phone and my statusbar is not there ._. what should I do?
I've signed the apk and I name it from "SystemUI-signed.apk" to "SystemUI.apk"
here looks my Phone now so:
{
"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"
}
Justin20020 said:
sorry but I don't look through it
I've followed the instructions and I copyied overwrite it with the old and then I got errors that systemui is terminated. Then I restarted my phone and my statusbar is not there ._. what should I do?
I've signed the apk and I name it from "SystemUI-signed.apk" to "SystemUI.apk"
here looks my Phone now so:
Click to expand...
Click to collapse
You don't sign system apk's. If you sign system apk's the signature's wont match. Just re-compile and move the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into original apk.
ATTACK said:
You don't sign system apk's. If you sign system apk's the signature's wont match. Just re-compile and move the 'resources.arcs' file and any other xml files you edited out of the "-new" apk and copy them into original apk.
Click to expand...
Click to collapse
I did it but my statusbar isn't there again ._. I do something wrong :/ but I don't know what
Justin20020 said:
I did it but my statusbar isn't there again ._. I do something wrong :/ but I don't know what
Click to expand...
Click to collapse
Try again, but just move the "status_bar.xml'' only to the original apk.
ATTACK said:
Try again, but just move the "status_bar.xml'' only to the original apk.
Click to expand...
Click to collapse
doesn't work. I got messages that system.ui is terminated. When I put the akku from the phone can I boot. And then is my status bar not visible or not there.
Justin20020 said:
doesn't work. I got messages that system.ui is terminated. When I put the akku from the phone can I boot. And then is my status bar not visible or not there.
Click to expand...
Click to collapse
Ok, could you upload your FRAMEWORK-RES.APK & SYSTEMUI.APK so I can have a look at it.
-just remember to post the link-
QuickFilePost:
http://www.qfpost.com/
ATTACK said:
Ok, could you upload your FRAMEWORK-RES.APK & SYSTEMUI.APK so I can have a look at it.
-just remember to post the link-
QuickFilePost:
http://www.qfpost.com/
Click to expand...
Click to collapse
Framework-res.apk
SystemUI.apk
the color I want is #ff00ffff (its cyan)
Use UOT Kitchen http://uot.dakra.lt/
EDIT: wrong color code ! do you mean #00FFFF
MonY960 said:
Use UOT Kitchen http://uot.dakra.lt/
EDIT: wrong color code ! do you mean #00FFFF
Click to expand...
Click to collapse
uff its so complicated xD
wrong code? I thought I must add "#ff" o.o
Justin20020 said:
uff its so complicated xD
wrong code? I thought I must add "#ff" o.o
Click to expand...
Click to collapse
http://uot.dakra.lt/how_to/
Justin20020 said:
Framework-res.apk
SystemUI.apk
the color I want is #ff00ffff (its cyan)
Click to expand...
Click to collapse
Here's the edited "status_bar.xml" just put it in your original SystemUI.apk.
You are correct, you have to put "FF" or "TT" in front of the color code.
LIKE THIS:
Code:
android:textColor="#ff00ffff"
ATTACK said:
Here's the edited "status_bar.xml" just put it in your original SystemUI.apk.
You are correct, you have to put "FF" or "TT" in front of the color code.
LIKE THIS:
Code:
android:textColor="#ff00ffff"
Click to expand...
Click to collapse
doesn't work. Should I do it with android commander? (I got when I press root access "root unavailable". but my phone is rooted) I overwrited the systemui.apk with root explorer
Justin20020 said:
doesn't work. Should I do it with android commander? (I got when I press root access "root unavailable". but my phone is rooted) I overwrited the systemui.apk with root explorer
Click to expand...
Click to collapse
Try flashing it through recovery [CWM]
ATTACK said:
Try flashing it through recovery [CWM]
Click to expand...
Click to collapse
I got a bootloop .___.

[MOD] Lockscreen Clock Control *Samsung Feature enabled* * added Guide *

well after some playing with sgs i saw some cools in the settings
its clock control
we have the circlelockscreen on all latest firmwares of samsung starting from DDKQ8 to XWKTR now
after investigating the smalis and stuff of sgs i figured it was pretty easy to enable this on ace to
after fixing some errors in smalis and fixing FCS
i have it fully running now
Options :-
1. Top
2. Middle
3. Bottom
Screenshoots
{
"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"
}
This is how it looks when u get an message on the top lockscreen
Note!
from roms starting by DDKQ8 till XWKTR and most probaply all latest fws with the note/circle lockscreen
you can flash this
its universal and will only reset your settings.apk
Downloads :-
Download Here
How to Install :-
Mount system
Mount Data
Install zip
Flash Zip
Reboot
and still
there are many many Samsung features that we need to enable in smali
samsung has disabled most of them because we run a * Low End Device =_= *
but i will try to enable them all
Roms i tested this on :-
DDKQ8
XWKTM
XWKTQ
XWKTR
BGKT4
BUKT2
XWKTE
XXKPT
This Mod also works on all Latest Gio FWS
DXKT4 etc
Guide To Add it to your settings.apk yourself
How to Build this mod yourself
NOTE!! This Mod requires Smali edits in Const Codes for proper working
Files you will need to modify are :-
1. Arrays.xml
2. Strings.xml
3. AndroidManifest.xml
4. display_settings.xml
5. DisplaySettings.smali
6. DisplaySettings$OrientationObserver.smali
7. Display.smali
8. Display$1.smali
9. Public.xml
Files you will need to add ( modify ):-
1. screen_display.xml
2. screen_display_land.xml
3. ScreenDisplay.smali
1. We go and Modify Arrays.xml
open res/values/Arrays.xml and add :-
Code:
<string-array name="clock_position_entries">
<item>Top</item>
<item>Middle</item>
<item>Bottom</item>
</string-array>
<string-array name="clock_position_entries_land">
<item>Left</item>
<item>Center</item>
<item>Right</item>
</string-array>
<string-array name="clock_position_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
Done
2. We go and Modify Strings.xml
Add
Code:
<string name="screen_display">Lockscreen and Fonts</string>
<string name="screen_display_summary" />
<string name="home_screen">Home screen</string>
<string name="wallpaper">Wallpaper</string>
<string name="lock_screen">Lock screen</string>
<string name="clock_position">Clock position</string>
<string name="clock_position_summary">Adjust clock position on lock screen</string>
<string name="weather">Weather</string>
<string name="weather_summary">Adjust weather information settings on lock screen</string>
Done
3. We go and Modify AndroidManifest.xml ( WHY ??? because if you dont you cant open the lockscreen options its sort of key )
Find :-
Code:
<activity android:label="@string/wallpapers" android:name="Wallpapers">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
And above it add
Code:
<activity android:label="@string/screen_display" android:name="ScreenDisplay">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
so it will look like :-
Code:
<activity android:label="@string/screen_display" android:name="ScreenDisplay">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:label="@string/wallpapers" android:name="Wallpapers">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
4. We Go and edit display_settings.xml
Open res/xml
Change :-
Code:
<PreferenceScreen android:title="@string/wallpapers" android:key="wallpapers" android:summary="@string/wallpapers_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.Wallpapers" />
</PreferenceScreen>
to
Code:
<PreferenceScreen android:title="@string/screen_display" android:key="screen_display" android:summary="@string/screen_display_summary">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.ScreenDisplay" />
</PreferenceScreen>
And DELETE !!
Code:
<com.android.settings.flipfont.FontListPreference android:title="@string/monotype_preference_title" android:key="MONOTYPE" android:summary="@string/monotype_preference_summary" />
5. Add Screen_display.xml and Screen_display_land.xml to res/xml
6. Add ScreenDisplay.smali to smali settings/smali/com/android/settings
7. Compile the Apk
8. Now decompile the compiled apk again
and now comes the hard part
in every smali listed
search for const
after it you will see a code like 0x7f03001e
7f03001e <- thats the code we need to change
in public.xml its mostly 07f03001e or 7f03001e
if it is the 07f03001e remove the 0 so it will look like this 7f03001e
after you decompiled the compiled apk you will need to compare every smali and search for these codes and recorrect them
and then you can compile the apk again
if you cant open the display option in settings.apk or it gives errors sign the apk or use ADB Long Logcat or Debug com.android.settings
You must use CTRL + F a lot while searching for correct codes
and i cant give a better guide then this sorry
Resources you will need to add are in the attachements
Nice
It don't work in stock KTM odexed
good job robin !! waiting for what more youll dig out from those smalis!!
Will this screen lock stil work if I am enable the PIN?
Sent from my GT-S5830 using Tapatalk 2
Paolo_lav said:
It don't work in stock KTM odexed
Click to expand...
Click to collapse
Go to root explorrer delete settings.odex from system/app
It gives fc thanks to that
Sent from my GT-S5830 using xda premium
DeadSp1d3r said:
Go to root explorrer delete settings.odex from system/app
It gives fc thanks to that
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I've tried this but don't work
Inviato dal mio GT-S5830 con Tapatalk 2
Even i have problem. After that i've flash zip update, settings app disappear at my system
sorry for my bad english
Maybe there is a problem with settings.apk: odexed apps is about 3,7 MB (only apk!) , modded is 2 MB..
Inviato dal mio GT-S5830 con Tapatalk 2
did not work in SGSII v10....after flashing zip settings icon disappeared from menu
vaibhavx said:
did not work in SGSII v10....after flashing zip settings icon disappeared from menu
Click to expand...
Click to collapse
Same on clean XWKTR deodexed rom with no mods, no settings icon...
Chalenge time
can you do somithing like this:
https://www.dropbox.com/s/39w3qiexc91c221/Untitled1.png
TechNoJerky said:
Chalenge time
can you do somithing like this:
https://www.dropbox.com/s/39w3qiexc91c221/Untitled1.png
Click to expand...
Click to collapse
Yes its almost all i the sgsII v10 jb rom except the brightness bar
But i can add it
Sent from my GT-S5830 using xda premium
DeadSp1d3r said:
Yes its almost all i the sgsII v10 jb rom except the brightness bar
But i can add it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Almost, what if u included this in sgs3 patch???
Sent from my GT-S5830 using xda app-developers app
Are you sure with BGKT4? Not working for me any ideas?
Sent from my GT-S5830 using xda app-developers app
faceliler said:
Are you sure with BGKT4? Not working for me any ideas?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
You removed old settings.apk ? + odex
And do you have circle lock?
Sent from my GT-S5830 using xda premium
DeadSp1d3r said:
You removed old settings.apk ? + odex
And do you have circle lock?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yes i deleted settings.apk but i don't have any .odex i have circle lock... Is it for odexed roms?
Sent from my GT-S5830 using xda app-developers app
faceliler said:
Yes i deleted settings.apk but i don't have any .odex i have circle lock... Is it for odexed roms?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
Weird
its deodexed apk but i tested this on ktr odexed and others also odexed some on deodexed
Sent from my GT-S5830 using xda premium
It works on sperience rom great work robin. Wow without words.
Just needed delete the setings on system/apps.
S'Perience® user...

[Guide] A Comprehensive guide to make APK of Zooper skins

Guys, We often make tons of skins with Zooper and sharing is main concern because when we share .zw file sometimes resources get messed up. So APK has this benefit over standard zw files that resources are stored and work fine (Obviously if file is corrupted no one can help )
Here is well Pictured guide to help you out. I hope you have downloaded Apktool/Tickle my android/Any such kinda tool and Java on your PC/Lappy.
What you will need:
* APK tool/Tickle my android/Auto apk tool
* Notepad++
* and template apk given by me (Attached last).
1. Open the Apktool folder and copy template given by me in that folder. [Please this is not an APK tool thread so I assume that you know how to decompile and recompile. ]
{
"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"
}
2. Open your apktool and decompile the Template-ZWskin.apk
3. Now in Decompiled folder there is a new folder of Teplate ZW skin
4. Now copy your Zip of skin exported from Zooper widget app and extract it like this photo [Prcisely known as APKZip inside Zooper app]
5. Now open that extracted folder in new window and copy all folders from extracted zip to "assets" folder of Template APK [IMPORTANT STEP]
6. Now get back to Template APK folder and see if its like this:
7. Now go to res/values/strings.xml and edit it with Notepad++
8. Go back to Template APK folder , and open AndroidManifest.xml to change name of APK.
9. Now Open APKtool and Recompile the apk and sign it. After Signing you rename APK file. At this stage if you use Tickle my android, signing is done immediately and automatically after Recompiling So thats a benefit for new users:good:
TEMPLATE LINK
Any comments, Requests should be here !
Very nice guide Bro!!!!
Sent from my C2104 using Tapatalk 4
Great job, hopefully this will encourage more sharing!
I'm pretty good at this too if anyone needs any help with it.
Thanks for the write-up!
I tried the guide from the original Forums but instructions don't match
I tried the guide from the original Forums but instructions don't match Android Studio anymore. Could never get it to work.
---------- Post added at 05:53 PM ---------- Previous post was at 05:36 PM ----------
Can you do readable images?
I guess I need to to figure out these tools. Noob
paulpoco said:
I tried the guide from the original Forums but instructions don't match Android Studio anymore. Could never get it to work.
---------- Post added at 05:53 PM ---------- Previous post was at 05:36 PM ----------
Can you do readable images?
I guess I need to to figure out these tools. Noob
Click to expand...
Click to collapse
Images are readable. Open them in separate window form PC...
scottx . said:
I'm pretty good at this too if anyone needs any help with it.
Thanks for the write-up!
Click to expand...
Click to collapse
I'm looking for someone that help me with the creation of an APK of Zooper skin, i've followed step by step a couple o guides but i can't make my own apk...
Can someone help me if i show my problem ?
Hi,
I already follow all the steps including the package name in the .xml file
after recompiling, signing and installing it prompt "App not installed"
The guide on Zooper website using Android Studio doesn't match current studio menus.
Sent from my Nexus 4 using Tapatalk
empol87 said:
I'm looking for someone that help me with the creation of an APK of Zooper skin, i've followed step by step a couple o guides but i can't make my own apk...
Can someone help me if i show my problem ?
Click to expand...
Click to collapse
What errors are you getting?
pingu_c660 said:
Hi,
I already follow all the steps including the package name in the .xml file
after recompiling, signing and installing it prompt "App not installed"
Click to expand...
Click to collapse
Sign it properly
paulpoco said:
The guide on Zooper website using Android Studio doesn't match current studio menus.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Sorry dude bt can't help. Haven't even seen Android studio:cyclops:
Java Error!
When I open AutoAPKToolMain (Windows Batch File), I get the following error!
I was hoping for a more noob friendly guide..
Anyways, thanks for sharing. Guess I'll have to spend my whole life figuring this out
skyinfo said:
When I open AutoAPKToolMain (Windows Batch File), I get the following error!
Click to expand...
Click to collapse
So install java no?
Sent from my C2104 using Tapatalk
vermajai93 said:
I was hoping for a more noob friendly guide..
Anyways, thanks for sharing. Guess I'll have to spend my whole life figuring this out
Click to expand...
Click to collapse
Tell me what u didn't understand?... I can elaborate
Sent from my C2104 using Tapatalk
My Doubts
Crytech said:
Tell me what u didn't understand?... I can elaborate
Sent from my C2104 using Tapatalk
Click to expand...
Click to collapse
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
vermajai93 said:
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
Click to expand...
Click to collapse
For the first two bullet points:
The version code must be numeric and is how the device tells whether the app is older, newer, or the same version. The version name can be whatever you want. It's the user friendly version we see when looking at what version is installed.
The SDK version is the "version code" for Android itself.
Side note: CODE tags preserve formatting.
----
Summon Logcat. It's super effective.
SGS2 - JB 4.1.2 GB27
SGS4 - JB 4.2.2 MF9
vermajai93 said:
I have been following both guides one from zooper website and the other one is this. I found the guide on zooper a little more detailed [for noobs] and I have been checking on this guide too to make sure I don't make any mistakes. I am mostly done with the whole process and my apk is ready, all I need is a few clarifications on some doubts so to make sure I haven't missed anything.
•In androidmenifest.xml android version code was 102 by default and version name was 1.02 So I guessed its my app's version and changed it to:
android:versionCode="100"
android:versionName="1.00" is this how it should be if I want to make my app's version 1.0? Also, If I wanted to change my app's version to 0.98 then would I have to change version code to 98??
•There was this <uses-sdk
android:minSdkVersion="15"
android:targetSdkVersion="15" /> by default and I have no idea what it is apart from that sdk tool is a software so I assumed it has to do something about and left it as is. Hope its not a problem.
•I didn't change anything here either do I have to??
<activity
android:name="org.zooper.zwskin.ZooperTemplate"
android:exported="true">
<intent-filter>
<action android:name="org.zooper.zw.TEMPLATES" />
</intent-filter>
</activity>
Hope I'm not asking too much. Forgive me for these noobish questions I just wanna make sure everything goes smooth. Thank You very much!!
Click to expand...
Click to collapse
1. Yes when you make version 98 will be necessary to make app version 0.98. However No one makes updates in points (Atleast zooper skins are once made, abandoned afterwards..)
2. Min-sdk should not be changed because it shows compatibility of app with Android version. [15 = ICS 4.0+] and Zooper is supporting 4.0+ devices so skin should support the same .
3. No you shouldn't change anything:good:
hi everybody, i have a sort of problem: i created a Zooper .apk and when i try it on my phone it works flawlessly but when i install it on another phone a folder appear instead of the icons, where am i wrong ? can someone help me ? thanks
need erase

[Guide/Tutorial][JB 4.3+]Create Your Own Xperia Theme

Create your own Xperia™ Theme
[Now no need to wait for new themes to come up. Have a look/colour in your mind? Want to have a special theme for yourself? Then why to be dependent upon others? Do it all by yourself with the help of my guide.]
Hello,
I made this guide because there was no official documentation or how to about this. I have gone through the official themes + few other themes from market and got the idea from them.
I have myself tested this guide before posting so its 100% working. I have Stock Xperia Google Android 4.3.
If you just want to change System Accent Colours and/or App BG, Navigation Bar BG, etc. then try this Xposed Module of mine.
Xperia Themes - Xposed Module
​
Note :
Code:
At the time of writing this guide I assume that you have a basic knowledge of Android Developers Tool[ADT]. I also assume that you are familiar with Android apps and their development process.
What things you gonna need to follow my tutorial :
A computer / laptop [seriously speaking it's one of the most important thing lol. ]
Java installed and added to environment path[if you are windows user like me]
ADT + Eclipse [I recommend ADT bundle]
Theme files [check attachment for these]
My guide for sure.
Time and Brain.
FOR FAQ'S PLEASE READ POST #3 BEFORE ASKING THE ALREADY ANSWERED QUESTIONS AGAIN.
The guide / tutorial starts now :
PART ONE : CREATE XPERIA THEME, CHANGE SYSTEM COLOURS.
Start/open ADT
Go to File > New > Android Application Project
{
"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"
}
Give your desired name to the Theme, The Android Application Project.
Give your desired package name to the app.
Set Minimum Android Requirement to Android Jelly Bean 4.3 and Maximum to Android Kitkat 4.4/4.4.2
In the next screen un-tick the option to add app icon and Activity
Choose the workspace folder else tick to set the default one.
Now open AndroidManifest.xml and add this Permission :
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Now replace the <Application ...></application> Node with this code :
Code:
<application
android:label="@string/semc_theme_title"
android:icon="@drawable/semc_theme_lockscreen_wallpaper"
android:allowBackup="false">
<uses-library android:name="com.sonymobile.runtimeskinning" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.image_wallpaper"
android:resource="@drawable/semc_theme_wallpaper" />
<meta-data
android:name="com.sonymobile.runtimeskinning.core.lockscreen_background"
android:resource="@drawable/semc_theme_lockscreen_wallpaper" />
</application>
Please note : You may change the theme icon.
Now just after
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN" />
Add this block of code :
Code:
<runtime-skin version="1">
<asset path="android.zip" target="android">
<laf-version-filter from="1" to="1" />
</asset>
<asset path="com.sonyericsson.uxp.zip" target="com.sonyericsson.uxp">
<laf-version-filter from="1" to="1" />
</asset>
</runtime-skin>
Please note : You will need to push android.zip & com.sonyericsson.uxp.zip files with all theme resources to the asset folder.[You can find these two in attachments]
Note :You can add asset reference for more apps as you extend the theming support.
For Example you can add this to add support for theming SystemUI.apk :
Code:
<asset path="com.android.systemui.zip" target="com.android.systemui">
<laf-version-filter from="1" to="1" />
</asset>
Also note that you will need to push com.android.systemui.zip file with all theme resources to the asset folder.
Now save AndroidManifest.xml
You will get errors. Nothing to worry. Its known and easy to fix.
Open themeProject > values > strings.xml
Change
Code:
<string name="[COLOR=Red]app_name[/COLOR]">Pink</string>
To
Code:
<string name="[COLOR=Red]semc_theme_title[/COLOR]">Pink</string>
Save and close the file.
Now Reopen AndroidManifest.xml
Left Click in between the texts underlined with red, then Right Click and press "Quick Fix" in the pop-up menu. Then You will see a new pop-up menu as in the pic below. Then click on "Disable Check in This Project"
To correct the errors in Application node move Wallpaper and icon pictures to drawable-xxdpi according to your need.
Now download "XperiaThemesApktoolbySArnab©®" zip file from the attachments below and extract it at your desired location.
I specially made this Apktool set folder for Xperia™ Themes.
Inside the extracted folder you will find Apktool files for Windows OS[Linux and MAC users you need to replace Windows specific files with your OS's files.] along with Xperia™ Apps specific folders for making Xperia™ Themes.
All you need to do is add assets to this folders and use provided Apktool to recompile them. They will be automatically get compiled as .zip file instead of .apk file as .zip file is needed for Xperia™ Themes.
In android folder :
You need move theme png resources if you want to change the look, into respective drawable folders.
FOR THIS FOLLOW THE PART TWO OF THE GUIDE IN POST #2
In com.sonyericsson.uxp folder :
You need to edit res > values > colors.xml as per your theme colour preference.
Now when you think you are ready to create the theme use Apktool[Or your desired tool] to recompile android, com.sonyericsson.uxp and all other app specific folders from "XperiaThemesApktoolbySArnab©®".
[*]Now Move all the zip files from specific folders to the assets folder of your project.
[/LIST]
When everything is set your theme project tree should be like this to great extent.
Test the theme through Eclipse else export by signing and share your masterpiece with others.
GUYS AM ATTACHING MY THEME SOURCE SO THAT YOU ALL CAN GO THROUGH THAT IF YOU FELL INTO SOME PROBLEM.
PLEASE RATE THE THREAD WITH 5 STARS IF YOU THINK MY GUIDE IS HELPFUL.
ALSO CLICK ON TIP US SO THAT THIS GUIDE CAN COME UP ON XDA PORTAL.
ADD A LINK TO THIS THREAD IN YOUR SIGNATURE TO EXTEND THE NEWS OF THIS THREAD AND ALSO TO SHOW YOUR SUPPORT.
THANK-YOU.
Update 1 : I have updated the guide at places where users were having problem following it.
I have also added special Xperia Themes ready apktool folder with app specific folders to make it easier to create Xperia Themes.
CREDITS :
@funky0308 [IT WAS HE WHO GAVE ME THE IDEA TO EDIT ASSETS FILES THROUGH HIS GUIDE OF EDITING XPERIA THEMES]
SONY FOR THIS AWESOME OPTION TO THEME OUR MOBILE. @SArnab©® [THAT'S ME] FOR CREATING THIS WHOLE GUIDE.
Adding Image and drawable resources into your Xperia theme.
PART TWO : ADDING DRAWABLE PNGS AND JPEGS TO YOUR XPERIA THEME.
THIS PART OF MY GUIDE WILL HELP YOU IN ADDING IMAGES TO YOUR THEME TO CHANGE THE LOOK TO THE GREATEST POSSIBLE WAY.
BEFORE I START, I WANT YOU ALL TO KNOW ONE SIMPLE THING. IN THIS GUIDE HERE I WILL BE SHOWING YOU HOW TO ADD THEMED IMAGES IN FRAMEWORK APK. THE SAME PROCEDURE WORKS FOR XPERIA HOME AND SYSTEM-UI APK. SO PLEASE DO NOT ASK SILLY QUESTIONS AS HOW TO THEME STATUS-BAR ICONS AND ETC. , ETC.
FOLLOW UP FROM HERE AND SOON YOU WILL BE MAKING PROFESSIONAL THEMES ON YOUR OWN.
STEPS :
De-compile "framework-res.apk"
Open up framework-res/res/drawable-hdpi/ [Or whatever dpi your device supports]
NOTE : HERE I WILL SHOW YOU HOW TO CHANGE :
APPS BACKGROUND
VOLUME BAR SCRUBBER
You can replace any drawable present in this folder. But we are going to change the background images only for this time.
If you go down you will find two pngs named : "semc_bg" & "semc_bg_light". These are the Pngs that we need to replace to replace the App's background.
Now download/create/paint or do whatever you want and get hands on two different pngs, one for Dark Theme [ Like Settings in Android 4.1.x/4.2.x in Sony ] and another for Light Theme [ Like Settings in Android 4.3 in Sony ] and rename them to "semc_bg" & "semc_bg_light" respectively.
Move the two newly renamed pngs to the respective drawable-xxdpi folder of the android folder that you had previously downloaded from the above post : apktool/android/drawable-hdpi/here
NOTE : YOU NEED TO PLACE ALL YOUR DESIRED IMAGES INTO RESPECTIVE DRAWABLE-FOLDERS.
Now you need to do the same thing to theme Scrubbers.
Once you are ready with all the pngs continue with rest of the guide in post #1.
FAQ'S :
Q. HOW TO THEME SYATEMUI?
ANS. FOLLOW THESE STEPS :
Download and extract "XperiaThemesApktoolbySArnab©®" zip file from the attachments in 1st post [You don't need to do it again if you have already done so while following Post #1.].
Open com.android.systemui folder.
Add your desired resources in res/drawable-yourdevicedpifolder.
If you want to change colour then add values folder inside res folder. Create colors.xml file and add color code.
Recompile and copy paste the newly created .zip file from "XperiaThemesApktoolbySArnab©®/com.android.systemui/dist/here" to the assets folder of your Theme Project.
Q. HOW TO THEME ANY OTHER SYSTEM APP?
ANS. FOLLOW THE ABOVE STEPS WITH FEW CHANGES SUCH AS :
I have added options to theme other system apps in my new attachment named "XperiaThemesApktoolbySArnab©®.zip" in 1st post.
Q. HOW TO ADD SUPPORT FOR DIFFERENT APPS THEMEING?
ANS. YOU CAN THEME ALL THE APPS INSTALLED IN YOUR DEVICE. TO DO THAT YOU NEED TO PERFORM 2 ACTIONS.
1. ADD THIS BLOCK OF CODE TO THE MANIFEST FILE SO THAT THE THEME MANAGER KNOWS WHICH APPS ARE SUPPORTED BY YOUR THEME APP :
Code:
<asset path="[COLOR="Red"]com.android.systemui.zip[/COLOR]" target="[COLOR="red"]com.android.systemui[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
THE ABOVE CODE ADDS SUPPORT FOR SYSTEMUI THEMEING.
TO SUPPORT OTHER APPS JUST CHANGE THE TEXTS IN RED.
FOR EXAMPLE FOR SETTINGS APP :
Code:
<asset path="[COLOR="Red"]com.android.settings.zip[/COLOR]" target="[COLOR="red"]com.android.settings[/COLOR]">
<laf-version-filter from="1" to="1" />
</asset>
FOR THIS YOU NEED TO KNOW THE PACKAGE NAME OF THE APP YOU WANT TO THEME.
2. YOU NEED TO CREATE A APP.PACKGANE.NAME.ZIP FILE WITHH ALL THEME RESOURCES FOR THAT CONCERNED APP AND MOVE THE ZIP FILE TO ASSETS FOLDER OF YOUR PROJECT.
PLEASE NOTE THE NAME OF ZIP FILE MUST BE SAME AS STATED IN MANIFEST.
Well done bro
Going to try it asap
dipesh1502 said:
Well done bro
Going to try it asap
Click to expand...
Click to collapse
Sure, go forward and do share whatever you come up with.
I will update the guide very soon to show how to add resources and add more apps support.
Sent from my C2004 using Tapatalk

			
				
great one!!
nice
---------- Post added at 12:28 PM ---------- Previous post was at 12:23 PM ----------
SArnab©® , can u help me find a link for starting cm9/10 themes for galaxy devices ? am intrested in theming
Wow, THIS is a guide, many thanks for that. I downloaded the theme for my wife - she loves pink.
Awsm work arnab!! thanks for creating such a comprehensive guide.
nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????
Sahaab said:
nice guide
btw to be able to install theme do we still need root (superuser mod etc???)????
Click to expand...
Click to collapse
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.
SArnab©® said:
No special requirements.
If your device supports third party theme downloading then the themes you make will also run easily.
Xperia M was not able to install any 3rd party themes.
Used theme fixer and now I can install any number of theme without superuser mod.
Click to expand...
Click to collapse
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/
Sahaab said:
whats theme fixer??
Edit: oh ok found it, sorry
Edit 2: it looks like it needs root?
Edit 3: haha too many edits, and yep a post says root needed so still to no help :-/
Click to expand...
Click to collapse
Yeah if your device is not able to install 3rd party themes by default then you need to root it and then enable theme installation.
This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.
SpaceCaker said:
This didnt really worked.
i used you're Pink theme source but when i only edited the colors from Pink to red nothing changed after applying the theme.
ofcourse i used a NON rooted Xperia phone so i couldnt logcat that .
the Android version used was 4.4.2 on a xperia z1.
Click to expand...
Click to collapse
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk
SArnab©® said:
Try the pink theme once if that works or not.
If not then provide me any stock theme of kk n I assure you to make it work for kk.
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
thanks will try
Sent from my S500 using xda app-developers app
More guides the better. :good:
That’s to take one’s hat off !!
This is definitely the kind of thread we want to see... Leaves us hungering for more knowledge!!!
Thank you!
Awesome
Awesome job. Tutorial is very good and helpful to everyone.
Kudos to OP and XDA. All the best!!! :good:
Great TUT mate...don't know how I didn't see it earlier but never mind.
Easy to follow and it's actually something new - not copy/past old TUT...
Great
?
Sent from my C6903 using Tapatalk

[GUIDE] Add 10 Customizable App Launcher on SystemUI

This guide will let you add 10 customizable app launchers on your SystemUI.
Launch any application from your statusbar panel without exiting your current app and going to your launcher..
Features:​
Change launcher text color
Change launcher text size
Change launcher icon size
Change launcher view (4 views to choose from)
Change launcher background (4 backgrounds to choose from)
Remove/Hide launcher slots
Easy to integrate to your SystemUI
Easy to configure and customize
Support up to API 18 (Jellybean 4.3 see Myth2014's posts), I also confirm it running in API 19 (Kitkat 4.4.2) EMULATOR ONLY, If you have KitKat ROM and tried/tested this mod, please tell me or post it, thank you.
Note: Smali files were decompiled using apktool_2.0.0b9, so pls use the same apktool version in decompiling and recompiling your SystemUI.apk, I also upload smali files to be used with apktool_1.5.2.
Steps:
1. Decompile your SystemUI.apk
2. Download the attachment (it contains the needed smali files, use LATEST VERSIONS and APPROPRIATE FOR THE APKTOOL VERSION you are using).
3. Extract the zip file to your decompiled SystemUI.apk folder (/SystemUI.apk/here).
4. Now, open your status_bar_expanded.xml (/SystemUI.apk/res/layout/status_bar_expanded.xml) then add this code after:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
OR anywhere in your status_bar_expanded layout OR in any free layout/tab if you have, its up to you to layout it as long as it looks like this:
This is the code that you will add:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Warning: DO NOT MAKE <com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI /> a child of a ScrollView because AppLauncherOnSystemUI already extends ScrollView and YOU CANNOT PUT a ScrollView inside another ScrollView.
Tip: If you want to add more Views around the launcher add the attribute android:layout_weight to specify the space occupied by each view and prevent clutter. I will not discuss about it, just search about the usage of android:layout_weight to allocate spaces for your views.
5. Save your edited status_bar_expanded.xml and that's it.
6. Recompile your SystemUI.apk
7. Push or flash your newly recompiled SystemUI.apk
8. Download the attached application.
9. Install the downloaded application and customize your SystemUI app launcher, you can edit/remove shortcuts and add only what you need.
Settings Instructions:
To customize your App Launcher on SystemUI, Open the SystemUIAppLauncher App.
- To change/assign the app shortcut, tap on the list and select the application you want.
- To remove app shortcut from SystemUI, long press on the app from the list and Delete (you can assign another app later if you want).
v0.1 Initial release:
Screenshots:
App Launcher on SystemUI:
OUTDATED (Check updates below)
App Launcher on SystemUI Settings:
OUTDATED (Check updates below)
Attachments:
Needed files: OUTDATED (Check updates below) v0.1
SettingsApp: OUTDATED (Check updates below) version code: 1
Updates:
v0.2 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.2_use_with_apktool_1.5.2.zip v0.2
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.2.zip v0.2
SettingsApp: View attachment SystemUIAppLauncher_v0.2.apk version code: 2
[ADDED] Resize launcher icons using the SettingsApp.
[FIXED] Inconsistency of icon sizes in the launcher. Now the icons have fixed sizes depending on the settings.
[FIXED] Force close of SettingsApp due to clicking of the application list while the program is still loading the installed applications.
View attachment 2893288View attachment 2893289View attachment 2893290
v0.3 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.3_use_with_apktool_1.5.2.zip v0.3
USE WITH APKTOOL v2.0.0b9 = View attachment 2894395 v0.3
SettingsApp: View attachment 2894415 version code: 3
[ADDED] Resize launcher text label sizes using the SettingsApp.
[NEW] SettingsApp layout.
[FIXED] Gone text label when assigning new app launcher if (icon_size < text_label_size).
View attachment 2894457View attachment 2894458View attachment 2894459View attachment 2894460
v0.4 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.4_use_with_apktool_1.5.2.zip v0.4
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.4.zip v0.4
[FIXED] Support to Android API versions higher than 16 (JELLYBEAN 4.2). Can be applied up to Android KitKat without the "not collapsing statusbar panel bug".
LATEST:
v0.5 Update:
Needed files:
USE WITH APKTOOL v1.5.2 = View attachment AppLauncherOnSystemUIFilesv0.5_use_with_apktool_1.5.2.zip v0.5
USE WITH APKTOOL v2.0.0b9 = View attachment AppLauncherOnSystemUIFilesv0.5.zip v0.5
SettingsApp: View attachment SystemUIAppLauncher_v0.4.apk version code: 4
[ADDED] New view layout of the launcher.
[ADDED] 4 launcher backgrounds (I used android default drawables ). You can add any background you want with a simple tweak.
[ADDED] Launcher text colors can now be customized.
[ADDED] SettingsApp About menu added.
[FIXED] Application chooser only displays applications that can be launched.
{
"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"
}
Thanks:
* xda-developers.com
* stackoverflow.com
* Pascal Cans (noobs.com) for his easy to use android-color-picker library (@GitHub)
* Myth2014 for reviewing my work and finding bugs
* and You
Source Codes?
You want to play with the code? Add functions? Explore and Learn? Copy method snippets? You can check it at my GitHub.:good::
Suggestions? Comments? Bugs (I hope none)?
Just post a reply here and I will try to attend to it. (The word "try" always has a "catch" Exception, iykwim.)
How to add all apps in my phone to expanded without SettingsApp?
the_vanya1 said:
How to add all apps in my phone to expanded without SettingsApp?
Click to expand...
Click to collapse
You cant add without the settings app sir, you need the settings app to assign custom apps to launcher and customize its appearance. I programmed it that way so that there is no inconvenience in editing the smali
ale trigoe
73R3WY said:
This guide will let you add 10 customizable app launchers on your SystemUI.
Note: Smali files were decompiled using apktool_2.0.0b9, so pls use the same apktool version in decompiling and recompiling your SystemUI.apk
Steps:
1. Decompile your SystemUI.apk
2. Download the attachment (it contains the needed smali files, use latest version if possible).
3. Extract the zip file to your decompiled SystemUI.apk folder (/SystemUI.apk/here).
4. Now, open your status_bar_expanded.xml (/SystemUI.apk/res/layout/status_bar_expanded.xml) then add this code after:
Code:
xmlns:android="diordna/ser/kpa/moc.diordna.samehcs//:ptth">
Note: I reversed the code above because xda recognizes it as an external link.
OR anywhere in your status_bar_expanded layout OR in any free layout/tab if you have, its up to you to layout it as long as it looks like this:
This is the code that you will add:
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Warning: DO NOT MAKE <com.jeremypacabis.statusbarmods.AppLauncherOnSystemUI /> a child of a ScrollView because AppLauncherOnSystemUI already extends ScrollView and YOU CANNOT PUT a ScrollView inside another ScrollView.
Tip: If you want to add more Views around the launcher add the attribute android:layout_weight to specify the space occupied by each view and prevent clutter. I will not discuss about it, just search about the usage of android:layout_weight to allocate spaces for your views.
5. Save your edited status_bar_expanded.xml and that's it.
6. Recompile your SystemUI.apk
7. Push or flash your newly recompiled SystemUI.apk
8. Download the attached application.
9. Install the downloaded application and customize your SystemUI app launcher, you can edit/remove shortcuts and add only what you need.
Settings Instructions:
To customize your App Launcher on SystemUI, Open the SystemUIAppLauncher App.
- To change/assign the app shortcut, tap on the list and select the application you want.
- To remove app shortcut from SystemUI, long press on the app from the list and Delete (you can assign another app later if you want).
Screenshots:
App Launcher on SystemUI:
View attachment 2889238View attachment 2889239View attachment 2889240View attachment 2889244
App Launcher on SystemUI Settings:
View attachment 2889241View attachment 2889243
Attachments:
Needed files: View attachment 2889235 v0.1
SettingsApp: View attachment 2889245 version code: 1
Click to expand...
Click to collapse
how to make it...because i'm recompil brut on smali's...can you help me sir
aletrigoe said:
how to make it...because i'm recompil brut on smali's...can you help me sir
Click to expand...
Click to collapse
If you want to apply it to your SystemUI, follow the guide above, but if you want to make a mod like this, you will need to program an android application. If you have errors in decompiling/recompiling process, reply and attach a screenshot of the error or attach a log file on the process.
In accordance with the requirements of I can't compile successfully
I: Smaling...
[39,4] Error for input '.param': Invalid directive
[40,4] Error for input '.param': Invalid directive
[39,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /sdcard/apktool/zuiSystemUI_src_src/smali/com/jeremypacabis/statusbarmods/AppLauncherOnSystemUI$1.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Suqi said:
I: Smaling...
[39,4] Error for input '.param': Invalid directive
[40,4] Error for input '.param': Invalid directive
[39,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /sdcard/apktool/zuiSystemUI_src_src/smali/com/jeremypacabis/statusbarmods/AppLauncherOnSystemUI$1.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Click to expand...
Click to collapse
Please specify the apktool version you use, I decompiled the attached smali using apktool_2.0.0b9.jar, so pls use the same version in working with your SystemUI.apk because older version of apktool will output
Code:
.parameter
instead of just
Code:
.param
with apktool_2.0.0b9
To fix this you can use apktool_2.0.0b9, or tell me the apktool version you are using so that I can give you new smali files specific for the apktool version you are using. Thanks
hi,sir,look the pic
this apktool icon is big..
来自我的 vivo Y18L 上的 Tapatalk
Myth2014 said:
hi,sir,look the pic
this apktool icon is big..
来自我的 vivo Y18L 上的 Tapatalk
Click to expand...
Click to collapse
thank you for noticing that sir, i also find some apps that has bigger icon than the others, i will update the smali and the settings app soon.
Sir please use apktool 1.5.2 sir, most of us dont use apktool beta 9 sir. Its because after this tutor, not so many tuts use apktool beta 9 as base :good:
73R3WY said:
thank you for noticing that sir, i also find some apps that has bigger icon than the others, i will update the smali and the settings app soon.
Click to expand...
Click to collapse
yeah,if you update this ,please tell me :fingers-crossed:
Mranggapo said:
Sir please use apktool 1.5.2 sir, most of us dont use apktool beta 9 sir. Its because after this tutor, not so many tuts use apktool beta 9 as base :good:
Click to expand...
Click to collapse
Yes sir, I also noticed that. many smali from guides are decompiled using apktool 1.5.2, I have updated the guide with smali for apktool 1.5.2. Thank you.
Myth2014 said:
yeah,if you update this ,please tell me :fingers-crossed:
Click to expand...
Click to collapse
Update done sir, now you have the option to resize the app launcher icon. I have uploaded latest smali files and settings app (v0.2). Thank you.
73R3WY said:
Update done sir, now you have the option to resize the app launcher icon. I have uploaded latest smali files and settings app (v0.2). Thank you.
Click to expand...
Click to collapse
yeah,nice,thanksir。[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
sir,look this pic[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
Myth2014 said:
sir,look this pic[emoji16]
来自我的 vivo Y18L 上的 Tapatalk
Click to expand...
Click to collapse
Yes sir, i also encounter that problem, this happens when you set the icon size below 36 px (@hdpi) or 24 px (@ldpi/mdpi) because the text size is always fixed at 24.0dip, so when you assign new shortcut, no text is displayed, for now, just set the icon size to be bigger. I will update with new option to customize text size and text color for each launcher.
73R3WY said:
Yes sir, i also encounter that problem, this happens when you set the icon size below 36 px (@hdpi) or 24 px (@ldpi/mdpi) because the text size is always fixed at 24.0dip, so when you assign new shortcut, no text is displayed, for now, just set the icon size to be bigger. I will update with new option to customize text size and text color for each launcher.
View attachment 2894154View attachment 2894155
Click to expand...
Click to collapse
yeah,i waiting:laugh:
Myth2014 said:
yeah,i waiting:laugh:
Click to expand...
Click to collapse
update done sir, check v0.3, Thank you.
73R3WY said:
update done sir, check v0.3, Thank you.
Click to expand...
Click to collapse
yeah,right,work on my android 4.3 ,but have a bug..and your phone version ?:fingers-crossed:
Myth2014 said:
yeah,right,work on my android 4.3 ,but have a bug..and your phone version ?:fingers-crossed:
Click to expand...
Click to collapse
my phone version is still gingerbread, but i have kitkat 4.4 virtual device. just tell me about the bug. is it on the systemui or the settingsapp?

Categories

Resources