{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
--==--
As far as I know, this is the first time this has been accomplished on Sense framework for Froyo. I spent a considerable amount of time getting this to work, so I hope everyone likes it. I attempted to make this a MetaMorph theme so it would be easy to apply to any ROM, but I did not have any success. Thus, I will release this with links to framework for different ROMs.
Thanks goes to koush and cyanogen and everyone else that put code into CM6. I started with code from CM6 so it's only fair to show my gratitude for the great dev work they do for this community.
WARNING: I am not responsible for any harm this may directly or indirectly do to your phone. It is always wise to do a backup before applying a mod of this magnitude.
NOTE: You must remove the HTC Lockscreen if you have not done so already. This can be done by running the code below. This mod may also undo some theming you may have done to your rom. After flashing this mod, DO NOT replace your framework-res.apk file with another one or you will end up with a boot loop. I suggest you pull the new one from this mod and theme it manually. Otherwise, run the revert script and then flash whatever theme you want.
Remove HTC lock screen:
Code:
adb shell
mv /system/app/HtcLockScreen.apk /system/app/HtcLockScreen.bak
Install DeskClock.apk:
Code:
adb remount
adb push DeskClock.apk /system/app
Requirements:
You must be using one of the supported ROMs.
Your ROM must be deodexed.
If you are using the HTC clock for your alarms, you will have to install the vanilla clock and use it's alarms instead.
If you have a request for support on another ROM, just ask. I may even put a tutorial together on how to mod your own framework.
Install Instructions:
Remove the HTC lock screen if necessary
Install the vanilla clock if necessary
Download the framework zip for the ROM you are running
Download either the Rotary_Music or Rotary_NoMusic zip
Flash both of the zips in recovery
Reboot
Profit
--==--
Thanks to everyone that has donated
Supported ROMs and Their Framework Zip:
SkyRaider Sense 3.x -- SkyRaider_Sense_Rotary.zip (Mirror)
SkyRaider Vanilla 3.x -- SkyRaider_Vanilla_Rotary.zip (Mirror)
Virtuous 2.6 or Stock OTA -- Virtuous_Rotary.zip (Mirror)
Frankenrom -- FrankenRom_Rotary.zip (Mirror)
Themes:
Smooth Sense 1.0 (framework only; use for stock ROM) -- Smooth_Sense_Rotary.zip (Mirror) -- Original Thread
INCredible REVOlution -- Manup456_REVOlution_1_2r1-INC-rotary.zip
INCredible REVOlution (framework only) -- INCredible_REVOlution_rotary_framework.zip
Theme based on this thread with fixes -- original thread
Fixed Gmail/Voice Search
Fixed emmc not mounting
Lock Screen Options:Sense UI
Rotary w/ Music Controls -- Rotary_Music.zip (Mirror)
Rotary w/ Music Controls & Menu Unlock -- Rotary_Music_MenuUnlock.zip (Mirror)
Rotary w/ No Controls -- Rotary_NoMusic.zip (Mirror)
Revert to Tab Unlock -- Revert.zip (Mirror)
CyanogenMod
Coming soon ...
Complete Roms with Lock Screen:
CyanogenMod 6.0.2 - TouchPro Mod -- cm-6.0.2-Inc-tp-mod.zip
Additional Resources:
Vanilla Desk Clock -- DeskClock.apk
HTC Lock Screen -- HtcLockScreen.apk
TUTORIAL: How to mod your own frameworkFor this mod to work with your framework, you must alter your framework-res.apk file. It requires only editing /res/values/ids.xml and /res/values/public.xml. You need to add lines to both. There are also a couple layouts you need to add to /res/layout. Keep in mind, this tutorial only applies to dinc Sense framework.
Disclaimer: This requires knowledge of some advanced Android tools. I will not explain how to install or use them in this tutorial. I will only outline on a high level what needs to be done.
REQUIRED RESOURCES:
apktool - http://code.google.com/p/android-apktool/
DIRECTIONS:
Decompile framework-res.apk
Make the changes outlined below
Recompile
Open the original apk and delete the /res folder and resources.arsc file
Open up the newly compiled apk and copy over the /res folder and resources.arsc file into the original apk
At this point, you can push it over to your phone for testing
REQUIRED CHANGES:For ids.xml, add the following:
Code:
<item type="id" name="musicControlPlay">false</item>
<item type="id" name="musicControlPause">false</item>
<item type="id" name="musicControlPrevious">false</item>
<item type="id" name="musicControlNext">false</item>
<item type="id" name="fill_parent">false</item>
<item type="id" name="rotary">false</item>
For public.xml, add the following:
Code:
<public type="id" name="musicControlPlay" id="0x0102021e" />
<public type="id" name="musicControlPause" id="0x0102021f" />
<public type="id" name="musicControlPrevious" id="0x01020220" />
<public type="id" name="musicControlNext" id="0x01020221" />
<public type="id" name="rotary" id="0x01020222" />
And ...
Code:
<public type="layout" name="keyguard_screen_rotary_unlock" id="0x01090076" />
<public type="layout" name="keyguard_screen_rotary_unlock_land" id="0x01090077" />
Last, add these two files to /res/layout:
keyguard_screen_rotary_unlock_land.xml
keyguard_screen_rotary_unlock.xml
As always, great work ihtfp69. Do the music controls always stay on screen even if there is no music playing? I'm assuming the controls only work for the default music program?
do i need to install vanilla clock if im using your SR 2.5.2 or SR 3.0?
Nice job ihtfp69. You've been doing good things for the Inc.
You rock......
Sent from my ADR6300 using XDA App
TheWhiteBandito said:
As always, great work ihtfp69. Do the music controls always stay on screen even if there is no music playing? I'm assuming the controls only work for the default music program?
Click to expand...
Click to collapse
They are always on. They will work with whatever your default player is. It works with HTC Music, MusicMod, the stock Android Music, etc ...
zeke1988 said:
do i need to install vanilla clock if im using your SR 2.5.2 or SR 3.0?
Click to expand...
Click to collapse
Only if you are using the Sense version as you likely do not have it installed. It is already included with SkyRaider Vanilla 3.x.
Awesome.
Will this overwrite existing customizations such as status bar mods?
OSully said:
Awesome.
Will this overwrite existing customizations such as status bar mods?
Click to expand...
Click to collapse
It will not undo some status bar mods (like the ones that remove icons from the status bar or change the color of your clock), but may undo some themes like custom battery graphics.
This mod can be applied to any framework, though. It just takes five minutes of work. Currently, I have only done three. I may post a tutorial later if there is interest.
ihtfp69 said:
It will not undo some status bar mods (like the ones that remove icons from the status bar or change the color of your clock), but may undo some themes like custom battery graphics.
This mod can be applied to any framework, though. It just takes five minutes of work. Currently, I have only done three. I may post a tutorial later if there is interest.
Click to expand...
Click to collapse
It did overwrite the Revolution theme on Virtuous 2.6 rom, and I tried overwriting it by reinstalling the theme, which caused a force close on boot up and a boot loop, lol.
Nandroid ftw.
Any theme that includes a framework-res.apk file will either have to be patched or re-applied to the framework in the second post. Just post a request or have the themer pm me. To avoid boot loops, flash the revert script before flashing another theme. It will put things back.
Nothing for CM6?
ihtfp69 said:
Any theme that includes a framework-res.apk file will either have to be patched or re-applied to the framework in the second post. Just post a request or have the themer pm me. To avoid boot loops, flash the revert script before flashing another theme. It will put things back.
Click to expand...
Click to collapse
I meant no disrespect, just throwing it out there for anyone was in my shoes.
Installed this happily on my SR Vanilla 3.0 RC2! It is delightful.
However, what wasn't so delightful was that it removed my black notification bar with circle battery and replaced it with the white vanilla.
"What the heck, I did not authorize this" I say to myself.
I try to reinstall the black notification bar from rom manager and... boot loops
Color me strange but I prefer the black notification bar to the rotary lockscreen with music controls. I'm all about aesthetics!
Good thing I heeded the warnings and made a backup before install
Nice!!
Thanks ihtfp69 !!
Div033 said:
"What the heck, I did not authorize this" I say to myself.
Click to expand...
Click to collapse
lmao!
10char
Blue Theme
For those that might already have a blue theme for SkyRaider 3.1 RC3 I have ported the blue theme over to the new Rotary Framework that ihtfp69 just released. Just install it via Rom manager or recovery. Also make sure that you are running a blue theme or you will just have only parts of the theme blue. I also ported a blue them over to this rom so you can check it out in the theme section. I take no credit for anything that I did. All I did was copy and paste and rename some files. As always great work ihtfp69
File download -----> http://www.mediafire.com/?pbzs4ddjjvwm1cm
Music controls
So I cannot get the music controls to work. I am just useing the default HTC music player. I start to listen to some music then lock the screen and the pause does nothing. Nor do any of the buttons.
This is a real nice mod.
Thanks!
Related
End of the year Finale, Final Flight. This is it folks, the end of the year is coming and cm9 will be out soon. Everyone will soon abandon theme chooser. But as a new year comes we must move on. However; things will still update here I need to focus on upgrading my phone now so I can add some flavor to MIUI and ICS.
I would like to thank everyone who helped out in the development of this theme, it's been a blast (Huge list of names here ^_^)
Welcome to LunarUi release thread
For Theme Chooser enabled phones
site: redx-mods.co.cc
twitter: @red_gl0w
{
"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"
}
Version 4.2.1 codename: FinalFlight
+ICS styled menus
+button fixes
+multi color releases
MultiColors
Hey guys in case you didn't like the standard magenta color you can now grab one in your favorite color.
Downloads:
NEW LunarUi 4.2.1 cyan
NEW LunarUi 4.2.1 lime
NEW LunarUi 4.2.1 orange
NEW LunarUi 4.2.1 red
NEW LunarUi 4.2.1 pink
Transparent
Donate Version Too
Solid Black
Video Preview
SayIt mClock
Details:
nothing special, just a mclock mod to compliment my final LunarUi release.
Inspired by meizu clock and chris_bans rework
Analog Clocks
Dark
Light
(may get FC on launcher pro not a serious issue)
Icon package with psd
New
Icon Launcher Themes
-Go Launcher ex theme 1.2 (1/7/12)
-Launcher Pro Icons 2.0 (12/28/11)
-Adw Theme 2.0 (1/26/12)
[NEW] Lost Exhibit Collection mClocks
Info: this clock is based off the MIUI style clock but redone with my own personal graphics.
It includes three styles "digital, white panel, and dark panels". They also have different text
colors just load the xmls included. There is also an included date fix to the omega clock.
Enable transparebt Statusbar guide by Fergie 716
fergie716 said:
So I thought I'd write a little guide to help folks experiencing the "Ghosting" issue
(Feel free to link this post to OP if you want. I'll update it if needed)
These might not work for all devices! Really depends what ROM you have
Ok, so the easiest way to get rid of the ghosting in the statusbar
zdunes patcher
*Download the patcher and follow the instructions to set it up
* Place your framework-res.apk (found in /system/framework/) and your SystemUI.apk (found in /system/app/) in the "files_to_patch" folder
*Start "patcher.bat" and select "Browse Statusbar Tweaks" then "Enable only Transparent Statusbar"
*Follow the instructions and after you make the smali edit thats needed select option 5 then 6
*Put the "statusbar_patch.zip" and "statusbar_undo.zip" on your SD card and flash the patch zip in recovery. If something goes wrong, flash the "undo" zip
-UOT Kitchen
*Go to the kitchen and go to the "File Upload" section
*Upload your framework-res.apk and SystemUI.apk from your current ROM
*After apk's are uploaded, goto the "Status bar" tab and select "Use This Mod"
*Select "Enable transparency in status bar"
*Go to the "Summary" tab, then select "Submit work to kitchen"
*Remember your order number then wait to pick it up
*Download your zip form the kitchen when it's done and flash it in recovery
-apktool
*Download apktool and get it set-up. Make sure you meet all the prerequisites
*place your framework-res.apk and SystemUI.apk in your apktool folder (my path is C:\apktool\ )
*in cmd, cd your path to apktool (ex: cd \apktool)
*now enter this
Code:
apktool if framework-res.apk
apktool d SystemUI.apk
*navigate to your decompiled SystemUI folder and go to /res/layout/status_bar.xml
*Open it and scroll towards the bottom. You'll see a line like this
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
*change this line
Code:
android:background="@drawable/statusbar_background
to this:
Code:
android:background="@android:color/transparent"
*Now navigate to smali>com>android>systemui>statusbar>StatusBarService.smali
*Open it with a text editor and search for this line
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
*directly above it you will find:
Code:
const/4 v5, 0x2
*change this to:
Code:
const/4 v5, -0x3
*Save the changes you made. Now back in cmd type
Code:
apktool b SystemUI SystemUI-transparent.apk
*Take your newly compiled apk and rename to SystemUI.apk. Sign it using APKManager or something similar
*make a flashable zip out of it or copy/paste to /system/app/ and change permissions to rw-r--r--
*Reboot
The apktool method is basically the same as zdune's patcher. Just thought I'd write that one up in case someone can't download the patcher
other tips
*If using ADW or ADW EX try going to ADW's System Preferences and disable "Wallpaper Hack"
*Try using a Live Wallpaper or MultiPicture Live Wallpaper
Click to expand...
Click to collapse
Applying dock:
1. In launcher pro choose froyo wide dock
2. set corresponding shortcuts
3. long press and change icon to transparent
This theme includes
+themed icons
+themed framework
+some themed apps
+custom dialer (MDPI only for green)
+transparent statusbar support
+widgets skinned
Bugs/future Tweaks for v2.0
-google serach widget name dosen't show
-plan to make statusbar more transparent (possibly add another one)
(ANYMORE PLEASE ASK ME)
-downsize the signal icons
-theme lpp widgets
-skin adw/launcherpro screen indicators (miui style)
CURRENT REQUESTED ICONS for 2.0:
*done read pages 17 to 19*
CREDITS:
Chris_banks2 - extremely artistic mods
Fergie716 - extremely helpful guy!
Jabbawalkee - keyboard based off matted blues
ZduneX25 - replying emails and teaching me how to theme
Wormdoes - tester and creating general setup + screens used in preview
Kattara - tester + screens
Shadowninty - tester + screens
Djoptimusone - tester
Cyanogen - linux source
Deviantart - inspiration
Guys in the post your homescreen thread - inspiration
FIXED LINKS 1/24/12 *new links to mediafire*
LunarUi 421 (trans)
LunarUi 421 (matte)
Alpha and Omega + (lost exhibit) mClocks
Lunar Simple + Elegant mClocks
Sayit mClock
LunarUi icons V3
LunarUi icons v1 (classic w/ borders)
Custom docks by Chris_Banks
For icons request them here
Don't mirror my links
>if you like hit the thanks button below or donate
>everyone can help by not reuploading my files
>can't download? email me [email protected] or pm
>extract the zip files, don't be an idiot and flash them
Please donate to help me Keep up with android.
My phone cannot use the latest android or MIUI
Really nice looking theme!!!!!! Great job
Very slick.. DL'ing now, thanks!
by the way, do you mind sharing what font that is in the first pic
onedrops said:
by the way, do you mind sharing what font that is in the first pic
Click to expand...
Click to collapse
which font? What words does it say >_<
any 4g icon for us Verizon lte users?
jr4000watts said:
any 4g icon for us Verizon lte users?
Click to expand...
Click to collapse
yeah I'm pretty sure I made a 4g icon. If not let me know
realy nice theme
This looks amazing, really nice work. Might just have to restore my CM backup!
R3D X said:
yeah I'm pretty sure I made a 4g icon. If not let me know
Click to expand...
Click to collapse
nope stock gingerbread icon from cm7, weird tho because when applying it did not give me an error like other themes when stuff is "missing" either way sick theme!!!!
Totally awesome job, Red X!!
jr4000watts said:
nope stock gingerbread icon from cm7, weird tho because when applying it did not give me an error like other themes when stuff is "missing" either way sick theme!!!!
Click to expand...
Click to collapse
that's cause i compiled on linux so it's market officail I'll try to get that 4g themed asap
kattara said:
Totally awesome job, Red X!!
Click to expand...
Click to collapse
Thanks Kat
R3D X said:
which font? What words does it say >_<
Click to expand...
Click to collapse
Sorry about that, the one that says "August 29th" in the first pic
onedrops said:
Sorry about that, the one that says "August 29th" in the first pic
Click to expand...
Click to collapse
you'll have to pm WormDoes That's his screenshot and setup
Thanks!!!
onedrops said:
Sorry about that, the one that says "August 29th" in the first pic
Click to expand...
Click to collapse
It's called Telev2
looks good, not a fan of some of the status bar icons but otherwise awesome job.
mbh87 said:
looks good, not a fan of some of the status bar icons but otherwise awesome job.
Click to expand...
Click to collapse
Thanks which ones don't you like?
R3D X said:
Thanks which ones don't you like?
Click to expand...
Click to collapse
I said that wrong, I should have said I dont like the sizing of some of the icons. The signal especially seemed too big to me.
Hello all.. I have been working on this Mixed Theme Chooser apk for a while now.. It consists of elements from some of my favorite themes for Theme Chooser.. I was using this for personal use but had a lot of requests to share the apk. However since none of it is my personal work (besides a few small things) I wanted to get in touch with the original creators to make sure it was OK I released it.. So I did just that and here I am
False alarm on the MDPI, will fix asap. If anyone can test on an MDPI device please contact me via PM or Gtalk at [email protected] thanks
There are so many people I want to thank (in no particular order)
Credits
-zDunex25 for permission to use work
-R3D X for permission to use work and helping alot!
-Kevin2516 for permission to use work and being awesome!
-Kowalski & Signa Team for Icon Set (www.calque.ch/signa)
-kgill7 for permission to use work and helping me alot! check out his sick themes!
-roi14 for testing
-jr4000watts for testing
-hayhay for testing
-us1graham for testing
-dazedandconfused for testing and support
**If I forgot someone please letme know!!**
SCREENSHOTS of V1
{
"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 the first time I really modded a Theme Chooser apk this much. Remember, this is still in BETA so please report bugs! Also, please support the awesome guys who's work I put together! Take a look at their Themes!
LINKS UPDATED 10/22/11
DOWNLOAD V1.1 HERE
DOWNLOAD V1.1 WITH TRANSPARENT STATUSBAR HERE
UNINSTALL CURRENT MOD BEFORE APPLYING UPDATE
**Please Reboot Twice After Applying Theme**
V2
Here is version 2 of the same theme.. This has more transparency throughout the theme and also a different screen background..
Screenshots of V2
LINKS UPDATED 10/22/11
DOWNLOAD V2.1 HERE
DOWNLOAD V2.1 WITH TRANSPARENT STATUSBAR HERE
Whats Been themed
Code:
framework-res.apk
SystemUI.apk
Phone.apk
Mms.apk
DeskClock.apk
GoSMS
Tapatalk
XDA
Torch
Contacts
Email
Gmail
Keyboard
Settings
DropBox
Root Explorer
Zedge
Voodoo Control App
GTalk
SetCPU
ROM Manager
Maps
Music
Facebook
Gallery
DSP Manager
Dev Tools
Desktop Visualizer
Calendar
Camera
Cache Cleaner NG
Browser
Superuser
WidgetLocker
Minimalistic Text
Twitter
Power Widgets
Market
Calculator
And alot more!
Also added some of my favorite wallpapers! To use them, download Theme Chooser Wallpapers from the Market!
If you can see your alarms in the clock's settings, download this DeskClock.apk and copy/paste to /system/app/ then change permissions to rw-r--r-- and reboot
Enable Transparent Statusbar
So I thought I'd write a little guide to help folks experiencing the "Ghosting" issue
These might not work for all devices! Really depends what ROM you have
Ok, so the easiest way to get rid of the ghosting in the statusbar
zdunes patcher
*Download the patcher and follow the instructions to set it up
* Place your framework-res.apk (found in /system/framework/) and your SystemUI.apk (found in /system/app/) in the "files_to_patch" folder
*Start "patcher.bat" and select "Browse Statusbar Tweaks" then "Enable only Transparent Statusbar"
*Follow the instructions and after you make the smali edit thats needed select option 5 then 6
*Put the "statusbar_patch.zip" and "statusbar_undo.zip" on your SD card and flash the patch zip in recovery. If something goes wrong, flash the "undo" zip
-UOT Kitchen
*Go to the kitchen and go to the "File Upload" section
*Upload your framework-res.apk and SystemUI.apk from your current ROM
*After apk's are uploaded, goto the "Status bar" tab and select "Use This Mod"
*Select "Enable transparency in status bar"
*Go to the "Summary" tab, then select "Submit work to kitchen"
*Remember your order number then wait to pick it up
*Download your zip form the kitchen when it's done and flash it in recovery
-apktool
*Download apktool and get it set-up. Make sure you meet all the prerequisites
*place your framework-res.apk and SystemUI.apk in your apktool folder (my path is C:\apktool\ )
*in cmd, cd your path to apktool (ex: cd \apktool)
*now enter this
Code:
apktool if framework-res.apk
apktool d SystemUI.apk
*navigate to your decompiled SystemUI folder and go to /res/layout/status_bar.xml
*Open it and scroll towards the bottom. You'll see a line like this
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
*change this line
Code:
android:background="@drawable/statusbar_background
to this:
Code:
android:background="@android:color/transparent"
*Now navigate to smali>com>android>systemui>statusbar>StatusBarService.smali
*Open it with a text editor and search for this line
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
*directly above it you will find:
Code:
const/4 v5, 0x2
*change this to:
Code:
const/4 v5, -0x3
*Save the changes you made. Now back in cmd type
Code:
apktool b SystemUI SystemUI-transparent.apk
*Take your newly compiled apk and rename to SystemUI.apk. Sign it using APKManager or something similar
*make a flashable zip out of it or copy/paste to /system/app/ and change permissions to rw-r--r--
*Reboot
The apktool method is basically the same as zdune's patcher. Just thought I'd write that one up in case someone can't download the patcher
other tips
*If using ADW or ADW EX try going to ADW's System Preferences and disable "Wallpaper Hack"
*Try using a Live Wallpaper or MultiPicture Live Wallpaper
very nice.. will it available in MDPI?
hanxgen3 said:
very nice.. will it available in MDPI?
Click to expand...
Click to collapse
Yea it's in the works. I will update the thread title and OP when I get the MDPI version settled
Edit: Apparently it does work on MDPI, however some elements are not there yet. But I should have it all settled by 10-23-11
looks good! Thanks.
Downloading now.
Please please make a transparent top bar version please.
Ethan2011 said:
looks good! Thanks.
Downloading now.
Click to expand...
Click to collapse
Thank you, hope you enjoy
jordan23945bulls said:
Please please make a transparent top bar version please.
Click to expand...
Click to collapse
Funny you said that, I actually did make one but didn't want to hear about "ghosting" issues lol. By "transparent top bar" your referring to the statusbar right?
fergie716 said:
Thank you, hope you enjoy
Funny you said that, I actually did make one but didn't want to hear about "ghosting" issues lol. By "transparent top bar" your referring to the statusbar right?
Click to expand...
Click to collapse
Yes the top bar! Can you please post it? This theme is nice I like the purple stuff dripping down in the pulldown thing
jordan23945bulls said:
Yes the top bar! Can you please post it? This theme is nice I like the purple stuff dripping down in the pulldown thing
Click to expand...
Click to collapse
Thanks! Yea I'll upload transparent statusbar versions for both
And also if you could maybe theme the now playing icon that shows in the top bar for music mod? That would be amazing not many themes have it themed oh and the signal bars could you make them have like the ghost bars too? So it doesn't look so empty?
---------- Post added at 10:00 AM ---------- Previous post was at 09:59 AM ----------
fergie716 said:
Thanks! Yea I'll upload transparent statusbar versions for both
Click to expand...
Click to collapse
Thank you thank you
jordan23945bulls said:
And also if you could maybe theme the now playing icon that shows in the top bar for music mod? That would be amazing not many themes have it themed oh and the signal bars could you make them have like the ghost bars too? So it doesn't look so empty?
---------- Post added at 10:00 AM ---------- Previous post was at 09:59 AM ----------
Thank you thank you
Click to expand...
Click to collapse
Yea I'm always changing stuff so the signal bars will probably be changed at some point
And if you post a link to that app I can probably do it. Your referring to the icon that pops up in the notification bar correct?
fergie716 said:
Yea I'm always changing stuff so the signal bars will probably be changed at some point
And if you post a link to that app I can probably do it. Your referring to the icon that pops up in the notification bar correct?
Click to expand...
Click to collapse
Yes in the top left. Its called Music Mod, I'm going to look for the link since its only xda where I've seen it, thank you. Here is the link. http://forum.xda-developers.com/showthread.php?t=1164334 I noticed the alarm clock icon too, could you change it to the one that looks like the miui theme? Its just that the icon doesn't match with the battery wifi etc.
Wow the settings menu is sweet. Hopefully we see an mdpi version so I can try it out.
Sent from my LG-VM670 using XDA App
Waiting for MDPI version like it
Thanks for the kind words! I will probably have the MDPI versions out by the weekend, maybe earlier
I will post an update ASAP to fix the wi-fi signal (too small). Look for it either later tonight/tomorrow
fergie716 said:
Thanks for the kind words! I will probably have the MDPI versions out by the weekend, maybe earlier
I will post an update ASAP to fix the wi-fi signal (too small). Look for it either later tonight/tomorrow
Click to expand...
Click to collapse
yeah... i'll waiting
Hey fergie can we have multiple apks installed at a time.
Sent from my Google Nexus X 4G using xda premium android app
info[]box1 said:
Hey fergie can we have multiple apks installed at a time.
Sent from my Google Nexus X 4G using xda premium android app
Click to expand...
Click to collapse
You can have V1 and V2 installed at the same time, but you can't have V1 + V1 transparent or V2 + V2 transparent installed at the same time
Sent from my Nexus S 4G using Tapatalk
{
"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"
}
Want to port CM11 themes? Go here:
CMX- Port CM11 themes in one click.
I will update the information whenever time allows.
Please feel free to contribute or discuss.
In this first post I'm going to try and explain what XTheme and the theme apk's are and how they work. Why? Because you'll have a better understanding of the workings, this will hopefully enable better self sufficiency.
In the second post i'll describe how to set up an environment to port themes and the process of how to port CM 10 themes to XTheme.
I'm going to assume you know nothing about anything to try and cover everything. I myself don't know everything, but what i do know I will try to share.
I'm going to try and keep this as basic as possible so anyone with no knowledge can follow along.
There are already some brilliant guides out there that will help if you read them, so i will link to them instead of regurgitating info from them.
[Guide]T-mobile theme engine.
[Tool]XML generator.
[Guide]How to theme CM10.1.
CM 10 theme mega thread.
[How to] XMLGenerator and .bat script
Knowledge is power!
Click to expand...
Click to collapse
You can find the XTheme thread here containing install instructions, compatible devices and more.
Basically it performs in a similar manner to the theme chooser engine for CM based ROM's... but for ROM bases other than just CM. Until now-18/04/13, the theme chooser engine was restricted to CM based ROM's. XTheme makes it possible to theme stock ROM's.
Click to expand...
Click to collapse
The theme chooser engine allows you to choose a theme and apply it whilst your device is turned on without overwriting your stock images (requires a reboot to see full changes).
This is opposed to a different method of theming, zip flashing or Metamorphing. These methods overwrites either whole apk's or just the relevant images depending on the method you use.
The beauty of the theme chooser is if you decide to change theme or remove it, there is no fallout from the theme that was applied, so all the images are returned back to stock. This isn't really possible through Metamorph or zip flashing unless you use VRTheme or the Universal theme zip which creates a backup. Even so i've found this doesn't work 100%. And restoring your original images through Metamorph and zip flashing can be a painful and tiresome task.
The theme chooser works by redirecting images from inside a theme apk, provided that the relevant images and redirection are present.
If the images or redirections are not present for battery icons for example, then the battery icons will not be themed.
A simple and clean method to theme.
Click to expand...
Click to collapse
Now you know how the engine works we'll talk about the theme apk.
Within the apk is a folder named "res", this contains all the images and xml files that is used within the theme.
Inside the "res" directory are a number folders. Depending on the theme you are porting/creating, some folders will not be used. The folders are mainly self explanatory and these include:
anim ~Controls animations, e.g. screen fades, rotations etc.
color ~xmls control colors used in the theme.
drawable ~Contains xmls that control drawables.
drawable-*dpi ~Contains theme images and possibly xml's.
layout ~Contains xml's that controls the layout values of elements in the theme.
mipmap-*dpi ~Houses "ic_launcher" icons.
values ~Contains xmls including strings, styles, drawables which we will discuss later.
xml ~Contains the redirection xmls. This is where the magic happens.
You can find more in depth details here:
http://developer.android.com/guide/topics/resources/providing-resources.html
If you are unsure where to house elements when adding to your theme, simply look inside the original apk.
For example if i want to theme the icon of Gmail, i would extract the Gmail apk and search for the location of the launcher icon. This is located in mipmap-*dpi, so i would add it to the mipmap-*dpi directory in my theme with the relevant redirections.
Click to expand...
Click to collapse
The redirections xml diverts the original package resources to the theme resources.
Here's a little workflow for changing the Gmail launcher icon.
This is achieved by adding the relevant syntax to the redirection.xml like so:
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme-redirections
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
[COLOR=Red]<package-redirections android:name="[COLOR=RoyalBlue]com.google.android.gm[/COLOR]" android:resource="@xml/[COLOR=SeaGreen]com_google_android_gm[/COLOR]" android:minSdkVersion="16" />[/COLOR]
</theme-redirections>
I have highlighted the package redirection above to break it down.
Red= Package redirection syntax.
Blue= Original package name. Found in the "AndroidManifest"
Green= Redirection package name. you can call this anything but i strongly suggest you stick with the original and change "." to "_" as above.
This has told the engine to divert "com.google.android.gm" (Gmail.apk) to use the resources defined in "com_google_android_gm".xml in the theme xml folder.
Now we need to create an xml inside the xml folder named "com_google_android_gm".
Within this xml we add the correct syntax for the resources to be used:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
[COLOR=Red]<item name="[COLOR=Blue]mipmap/ic_launcher_mail[/COLOR]">@[COLOR=SeaGreen]mipmap/com_google_android_gm_ic_launcher_mail[/COLOR]</item>[/COLOR]
</resources>
Red= Resource redirection syntax.
Blue= Original directory and resource
Green= Redirection directory and resource
This is telling the engine to display "com_google_android_gm_ic_launcher_mail".png located in the mipmap-*dpi directory within the theme apk.
Now we add the "com_google_android_gm_ic_launcher_mail".png into the mipmap-*dpi directory to complete the redirection process.
You can see why i suggest to keep the redirection package name the same. it keeps a consistency that's easy to follow.
Click to expand...
Click to collapse
Time Taken:
Setting up 10 minutes
Porting 10 minutes
Difficulty:
Xtheme Engine themes. Most themes in this thread are for Sony devices. To enable these to work fully on other OEM devices, they require proper redirections.
[THEMES]Xposed theme Engine.
[PORT]CM to XThemeEngine.
[[XTHEMES]] THEMES PLANET [4.3 supported].
Port CM Themes to Xtheme Engine in One Click!
Post any other threads here and i will add them to the above list.
Click to expand...
Click to collapse
Now we know the basics of how the engine and redirections work we can start creating/porting some themes.
We need to gather some tools for the process:
Java Link
ApkManager/Multitool Link
CM10 theme to port Take your pick.
SampleTheme.apk Link at bottom of the page.
Notepad++ Link
7zip Link
Weapon of choice- i chose a beverage with alcoholic content. Link
Java.
Download, install and add bin path to your environment variables.
Windows 7.
Select Computer from the Start menu
Choose System Properties from the context menu
Click Advanced system settings > Advanced tab
Click on Environment Variables, under System Variables, click "new".
In the "variable name" field enter JAVA_HOME
In the "variable value" field enter the "bin" location from the java folder.
My location is "C:\Program Files\Java\jre7\bin"
Reboot.
Open a cmd window and type java. If you added the path correctly you will receive an help menu. If not try to add the path again.
For more help see below or use Google.
http://www.java.com/en/download/help/path.xml
ApkManager/Multitool.
Extract and read the "README"
You can also follow instructions here:
http://forum.xda-developers.com/showthread.php?t=1310151
Click to expand...
Click to collapse
Alternative method. Thanks pier10.
Firstly let me say. If you do not have a redirections.xml in the CM theme xml folder you will need to create one.
See this post for details.
Once we have our environment setup we can get started.
XTheme creator ruqqq has described how to port CM themes in his thread but ill try to expand it.
http://forum.xda-developers.com/showpost.php?p=40428425&postcount=2
1 .Run the setup.bat and select option 3 to create directories.
2. Place your CM10 and SampleTheme.apk's in "place-apk-here-for-modding". Sample theme link. CM10 theme link.
3. Run script.bat and choose option 24 to set project.
4. Select your CM 10 theme apk and choose option 9 to decompile.
5. Repeat the process with the sample theme
6. Your now presented with 2 output folders in "projects" with the same name as the apk.
7. Enter "projects/SampleTheme.apk" and delete the "res" folder.
8. Goto the CM10 theme in projects and copy the "res" folder across into the SampleTheme.apk folder.
9. Open both "AndroidManifest.xml" with notepad++
10. In the SampleTheme AndroidManifest change
Code:
package="[COLOR=Red]sg.ruqqq.theme.SampleTheme[/COLOR]"
with the package name from the CM10 AndroidManifest. Add an X or Xtheme to the end of the package name to differentiate it from the original.
Code:
package="sg.ruqqq.theme.SampleTheme"
Becomes
Code:
package="com.vicino.theme.honeycombl.xtheme"
Or
Code:
package="com.vicino.theme.honeycomb.x"
We can also reflect the change in res/values/strings.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HoneycombTheme</string>
<string name="theme_name">HoneycombTheme</string>
<string name="style_appearance_name">HoneycombTheme</string>
<string name="author">vicino</string>
<string name="copyright">vicino</string>
</resources>
Becomes
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">HoneycombTheme X</string>
<string name="theme_name">HoneycombTheme X</string>
<string name="style_appearance_name">HoneycombTheme</string>
<string name="author">vicino</string>
<string name="copyright">vicino</string>
</resources>
11. Check If the theme contains a redirections.xml (res/xml/redirections.xml), if it doesn't you must create one. See the post above headed "redirections.xml" orsee this post for details on editing. You should have a line of code for each package xml file in the xml folder.
This applies to every ROM. If the theme does not contain a redirections.xml it will not redirect resources.
Delete any unused lines of code.
If you are using a "stock" ROM, example TouchWiz(Samsung), Sense(HTC), Semc(Sony), open up "android.xml" in res/xml and add redirections for your OEM images.
For Sony based ROM's you can find my redirections below. For other ROM's you will have to create them or find them
http://forum.xda-developers.com/showpost.php?p=40024969&postcount=5
TIP:
My redirections syntax refer to framework images as "framework_res", if the theme you are porting uses "frameworks_res" for example follow this:
Open up the android xml with NotePad ++.
Click the search tab at the top and select replace.
In the field "Find what" enter @drawable/framework_res.
In the field "Replace with" enter @drawable/frameworks_res.
Click replace all, save and close.
12. Compile the project by selecting 12. When prompted select option 2.
13. You will recieve a "unsignedSampleTheme.apk" in the "place-apk-here-for-modding" folder. Select option 13 to sign the apk.
14. You now have a "signedSampleTheme.apk" in "place-apk-here-for-modding", you can rename this to the CM10 theme name.
15. Place the apk on your device, install, apply and reboot.
Click to expand...
Click to collapse
@ruqqq for the XTheme engine.
CM team for the Theme chooser engine.
All the authors of the guides and posts.
@MrDSL for helping me out with Theme Chooser.
@mcsqwizzys98, @Rycon33, @josephnero, @peetr_ and many others over on the Xperia T forum (sorry if i forgot anyone).
@Brut.all, @iBotPeaches, @JesusFreke, @Daneshm90, and @raziel23x for apktool, smali/ baksmali, apkManager/multiTool,
@rovo89 and @Tungstwenty for making this possible with Xposed framework.
@vicino for using Honeycomb theme as an example.
Everyone else who they credited.
Click to expand...
Click to collapse
Q.Why does the ported theme not look 100% as the original theme?
A.
ruqqq said:
There are 2 reason for this. Firstly, as stated in the previous post, styles.xml is not working for XThemeEngine. Hence, the ported themes would not work 100%. For better success, port a theme which is closer to Holo styles (dark background, bright text). Second reason, which is the most common reason, is that the theme is made for CM10. CM10 is very close to AOSP while your device which is running stock rom only retain some parts of AOSP. The theme need to be properly ported (analyze your stock rom frameworks and redirect the proper files in your ported theme etc.) to fully support your device.
Click to expand...
Click to collapse
Q. My theme is not recognized.
A. Make sure you have permissions in the android.manifest.xml.
Code:
<uses-permission android:name="sg.ruqqq.XThemeEngine.permission.SYSTEM_THEME" />
Q. Nothing is themed!?.
A. You must have a "redirections.xml" and package.xml's in the "res/xml" folder
If you plan on releasing any ported themes then ask the author of the theme for permission and give credits and link back to their thread. Not only is this good community manners, it's XDA rules.
XDA rule 12:
12. Using the work of others.
If you are developing something that is based on the work of another Member, you MUST first seek their permission, and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails then you may contact a moderator with clear evidence that the work was created by you.
Convincing evidence will result in copied work being removed. If there is no clear evidence you created the work then in the spirit of sharing all work will remain posted on the forums.
As an addition, developers have the right to hold exclusivity over their work for as long as it is deemed necessary by the dev or freely share it. However, if the work is claimed as exclusive, it must remain as such. No selective sharing will be allowed (ie allowing certain people to use it and not others). Should the dev decide to start sharing the work with others, the work automatically becomes fair game for all to use.
In regards to permissions, same rules remain for this but if permission was already given, unless there is a very valid reason, it cannot be revoked (same applies to major updates on the work). Under that same premise, permissions cannot be denied unless the work is exclusive or under severe circumstances.
In plain English: If you want to keep your work exclusive, go for it. However, if you are going to share your work, do it fairly.
These rules apply to all software posted on XDA (including but not limited to ROMs, RUUs, apps, games, kernels, themes, icons, etc) unless that software comes with a license that waives these rules.
Click to expand...
Click to collapse
Thanks to @vicino, as i used his "Honeycomb Lite Theme" as an example.
Awesome guide it will help many people!!!
Sent from my LT30p using Tapatalk 4 Beta
you never fail to amaze mate.thank you
very nice guide dully:good:
it's very comprehensible
i'd like to add some redirections for Xperia(coz Sony always do some funny funny things )
at android.xml:
- for screenshot dialog image
Code:
<item name="drawable/semc_ic_dialog_screenshot">@drawable/frameworks_res_ic_lock_screenshot</item>
at com_android_systemui.xml:
- for data H+
Code:
<item name="drawable/stat_sys_data_connected_h_plus">@drawable/com_android_systemui_stat_sys_data_connected_hp</item>
<item name="drawable/stat_sys_data_fully_connected_h_plus">@drawable/com_android_systemui_stat_sys_data_fully_connected_hp</item>
Rycon and his hplus icon
Sent from my LT30p using Tapatalk 4 Beta
mcsqwizzys98 said:
Rycon and his hplus icon
Sent from my LT30p using Tapatalk 4 Beta
Click to expand...
Click to collapse
hahaha, true mate, as you know i'm mostly on mobile
i'll add some more later, those i can remember
EDIT: Another option for ApkManager is TickleMyAndroid tool for de/recompiling, signing apks.
EDIT2: If you want to have a nice Sony accent theme that can blend well to any ported themes, try to mod an existing Sony accent theme. I personally used white accent(ccffffff) so the default toggles, panel clock, etc won't look out of place when using any ported XTheme theme.
Cheers fellas.:good: I've updated the guide to use the SampleTheme method as described in the XTheme thread. It seems to be less temperamental.
i port a theme flowing your guide
Bt when i click apply its shows failed please help
i m using xtheme engine beta5
only i skip step 10 is it mandatory?
Drockk_Xm said:
i port a theme flowing your guide
Bt when i click apply its shows failed please help
i m using xtheme engine beta5
only i skip step 10 is it mandatory?
Click to expand...
Click to collapse
Only if your using an OEM ROM and want the theme to work fully on your device.
Can you post your AndroidManifest.xml or post the contents and wrap code tags around it, thanks.
dully79 said:
Only if your using an OEM ROM and want the theme to work fully on your device.
Can you post your AndroidManifest.xml or post the contents and wrap code tags around it, thanks.
Click to expand...
Click to collapse
AndroidManifest.xml
PHP:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" package="com.gekn.theme.Sense5.xtheme"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
<uses-permission android:name="sg.ruqqq.XThemeEngine.permission.SYSTEM_THEME" />
<application android:label="@string/app_name" android:icon="@drawable/icon" />
</manifest>
Drockk_Xm said:
AndroidManifest.xml
PHP:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:hasCode="false" package="com.gekn.theme.Sense5.xtheme"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:pluto="http://www.w3.org/2001/pluto.html">
<uses-permission android:name="sg.ruqqq.XThemeEngine.permission.SYSTEM_THEME" />
<application android:label="@string/app_name" android:icon="@drawable/icon" />
</manifest>
Click to expand...
Click to collapse
Ok your manifest is fine, can you send me your apk or link to the original?
dully79 said:
Ok your manifest is fine, can you send me your apk or link to the original?
Click to expand...
Click to collapse
apk link
https://www.dropbox.com/s/jvd5sill84i8ga8/Sense 5 CM10.1 signed.apk
apk signed via ZipSigner
and got .zip format
then rename the extension zip to apk
Drockk_Xm said:
apk link
https://www.dropbox.com/s/jvd5sill84i8ga8/Sense%205%20CM10.1%20signed.apk
apk signed via ZipSigner
and got .zip format
then rename the extension zip to apk
Click to expand...
Click to collapse
There is no redirections.xml in res/xml.
Edit: After looking at it more that theme isnt very well constructed.
None of the images have package names designated to them, so it's a bit of a free for all inside res/drawable-*dpi.
Now that I have my Optimus pro g and have been working with this more I gotta say its more frustrating then anything..
Metamorph using zipthemer from the market seems like a better alternative.
Stuff that should work and clearly works in other areas just randomly doesn't work for no known reason.
Very fustrating..
MrDSL said:
Now that I have my Optimus pro g and have been working with this more I gotta say its more frustrating then anything..
Metamorph using zipthemer from the market seems like a better alternative.
Stuff that should work and clearly works in other areas just randomly doesn't work for no known reason.
Very fustrating..
Click to expand...
Click to collapse
Without a doubt. Now you know why I feel like I'm banging my head against a wall.
You definitely need to hide anything that is fragile and within arms reach when messing with xtheme.
dully79 said:
There is no redirections.xml in res/xml.
Edit: After looking at it more that theme isnt very well constructed.
None of the images have package names designated to them, so it's a bit of a free for all inside res/drawable-*dpi.
Click to expand...
Click to collapse
here is my apk link bro
http://d-h.st/9fQ
I have added redirections. Xml as well n added permissions as well then wat is d problem
Sent from my Galaxy GT-I9500 using xda premium
harisaduelite said:
here is my apk link bro
http://d-h.st/9fQ
I have added redirections. Xml as well n added permissions as well then wat is d problem
Sent from my Galaxy GT-I9500 using xda premium
Click to expand...
Click to collapse
Why don't you read the quide and figure it out like most people this honestly isn't really that hard at all you make redirections delete the public file and make sure yo add device specific redirections in android XML and your done-_-
Sent from my LT30p using Tapatalk 4 Beta
harisaduelite said:
here is my apk link bro
http://d-h.st/9fQ
I have added redirections. Xml as well n added permissions as well then wat is d problem
Sent from my Galaxy GT-I9500 using xda premium
Click to expand...
Click to collapse
You've quoted a post that WASN'T directed at you. It was for Drockk. And ive told you, your AndroidManifest is messed up. Use the one from the SampleTheme.apk just like the guide describes and i guarantee it will work.
Just sharing my own setup here, in case others are also still interested in the good old Holo look.
EDIT: Added another version, Holo Theme with Sony Quicksettings.
It also has center-clock and 1%-step circle battery.
Downloads are still on the same shared folder. More info and screenies at this post.
Warning: This is ONLY applicable for DE-ODEX Rom!
What is themed on this setup?
- framework-res.apk (pretty much all[or most] the Sony Semc images are not rendered anymore and replaced with Holo images)
- SystemUI.apk (signal images)
- Settings.apk (icon images)
- framework.jar (for us to de/recompile framework-res.apk properly, also this has the Honami Home mod integrated)
- services.jar (also just for compatibility with Honami Home mod)
Screenies:
{
"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"
}
Download:
Holo Theme for TX
***
Just one caveat though, the notification panel clock and toggles are not themed(I think it's tied in smali).
As a temporary workaround, I edited the Sony Sapphire accent theme, and make it more holo #33b5e5.
Choose it in setting-display-theme-Sapphire after you flashed the theme's zip.
***
thanks to:
@dully79 for all the many knowledge that he shared with me in modding
@mcsqwizzys98 for the same reason as well
@niaboc79 for his Honami Home framework.jar/services.jar
@erorcun for his tut on properly de/recompiling Sony framework without having bootloop
BTW, this mod is XTheme-friendly, that's the reason I still made it as my base.
Switch buttons and backgrounds are changed properly in xTheme just to name a few.
You will notice the difference when you try to flash any XTheme themes, even those without any Sony redirections.
EDIT:
The below version is the one I'm actually personaly using to be much more friendly with xTheme themes
I just made the dialog title white and status bar clock-color white so that they will look neutral and not out of place whenever l apply any xTheme themes.
I did that because they can't be themed in xTheme.
Optional version(more xTheme-friendly, also the status bar clock is at center):
http://www.mediafire.com/folder/u06n5h1qui9he/A_version_more_xTheme_friendly
And ofc, I edited Xperia accent theme to white as well to make the toggles white also.
Select it in settings-display-Theme-Xperia after flashing the zip.
Below is a sample when I apply an xTheme theme:
I know this is for the TX but they're so similar, do you think it'd work on the T?
Not sure Matt, coz some ID 's may be different, that's what I encountered on one of the V mod(although that's for V).
Try it mate, anyway the universal flasher tool will automatically create a backup undo zip also.
Tapatalked from my bricked TX
good to see you are still doing good job mate
Rycon33 said:
Not sure Matt, coz some ID 's may be different, that's what I encountered on one of the V mod(although that's for V).
Try it mate, anyway the universal flasher tool will automatically create a backup undo zip also.
Tapatalked from my bricked TX
Click to expand...
Click to collapse
Yeah, I wouldn't be surprised if it failed, I'll try anyway but make a backup.
I'm a big fan of the holo theme! used it back when skyfri still supported it but it got dropped and is incompatible with later JB versions.
I'll let you know how it works out, good work on this bro!
Generally it was fine on my Xperia T,
a few minor problems, the power menu was pretty screwed up! It looked like this:
I did some editing in the framework and it now looks like this:
I know under airplane mode it still says 'silent mode' but it's a minor detail and not that much of an issue for me personally. I couldn't figure how to change it anyway, may take a look another time!
One last slight minor detail: upon boot it say's 'pin operation failed' in the top right for a few seconds, but then turns to 'emergency calls only' and finally to 'EE' (as that's my network). so once again a very small minor issue but that's expected when cross flashing!
Other than this, it seems to all work fine on the T, haven't found anything else! So I'm keeping it on my device, love the holo theme!
Here is my framework-res: http://www.mediafire.com/?ijo0oz3b0tro679
This makes the power menu as seen above for the Xperia T! feel free to put it in the OP if you want so other T users can grab it easily
Matt, they are only IDs for airplanemode etc, that is being called in smali, should be easy to get a fix
I wonder why Sony really gave different IDs for those few minor things only LoL
Good:good: to know that it's somewhat working on T, I'll try or anybody with T can help me hunt those IDs
Rycon33 said:
Matt, they are only IDs for airplanemode etc, that is being called in smali, should be easy to get a fix
I wonder why Sony really gave different IDs for those few minor things only LoL
Good:good: to know that it's somewhat working on T, I'll try or anybody with T can help me hunt those IDs
Click to expand...
Click to collapse
I'll try have a look later, I did a lazy fix and changed the strings rather than the ids
matt4321 said:
I'll try have a look later, I did a lazy fix and changed the strings rather than the ids
Click to expand...
Click to collapse
I guess the best way is to see the original IDs of those images in public.xml, hunt them in smali, then replace with the new IDs.
I think the hard part is hunting down which smali files they are used and called.
@Rycon33: can you make one version with lidroid status bar?
charmidz said:
@Rycon33: can you make one version with lidroid status bar?
Click to expand...
Click to collapse
I've tried mate, believe me, many times, but for some reason it's way out of my comprehension LoL
The one I tried before is from Leo's SystemUI(based on peetr's mod) but Leo also has so many mods integrated into it that I don't personally like so I didn't stick to it.
To others that knows it, feel FREE to use this mod as your base for integrating other mods as well.
Just share it here if possible once finished LoL, hehehe.
Yep!
hope someone makes it :good:
Thanks for the metion Rycoooon and nice work
To track the id it should be quite simple.
Obtain the id from public.xml.
Open all smali files in notepad++.
Click search>find enter the id and click "find all in all opened documents".
If you dont use notepad++...why? It's the shizz!
I'd help look but i've just finished a 14 hour shift and i cannot be bothered to stare at a screen.
I'll do it some time soon,
Just not motivated enough to do it now as my temp fix looks fine.
Sent from my LT30p using Tapatalk 4
How do the ids not match if your flashing Rycons mod with his framework-res and framework-jar, surely they should match against each other?
What did you flash matt?
dully79 said:
How do the ids not match if your flashing Rycons mod with his framework-res and framework-jar, surely they should match against each other?
What did you flash matt?
Click to expand...
Click to collapse
I flashed the whole package! so had his systemui, settings, framework-res, the jars. all of it. but as my post on the previous screen shows something weird was up. so just edited some strings as a temp fix
matt4321 said:
I flashed the whole package! so had his systemui, settings, framework-res, the jars. all of it. but as my post on the previous screen shows something weird was up. so just edited some strings as a temp fix
Click to expand...
Click to collapse
I'm not particularly clued up with strings and smali etc, but you'd think if you flashed the whole package the ids would correlate with one another.
Ive just decompiled and baksmalied the apk and jar file and this is what i get.
Rycons:
I serached strings.xml- "Do you want to reboot into safe mode?" = <string name="reboot_safemode_confirm"
Then i serached public.xml for reboot_safemode_confirm =
Code:
<public type="string" name="reboot_safemode_confirm" id="[COLOR="Red"]0x0104018e[/COLOR]" />
I opened up deodexed T framework-res public and searched 0x0104018e = "global_action_power_off"
That tells me that Rycons framework apk/jar didnt take.
You could try swapping the public.xmls between your framework-res.apk and Rycons to make the ids match up with the framework.jar
dully79 said:
I'm not particularly clued up with strings and smali etc, but you'd think if you flashed the whole package the ids would correlate with one another.
Ive just decompiled and baksmalied the apk and jar file and this is what i get.
Rycons:
I serached strings.xml- "Do you want to reboot into safe mode?" = <string name="reboot_safemode_confirm"
Then i serached public.xml for reboot_safemode_confirm =
Code:
<public type="string" name="reboot_safemode_confirm" id="[COLOR="Red"]0x0104018e[/COLOR]" />
I opened up deodexed T framework-res public and searched 0x0104018e = "global_action_power_off"
That tells me that Rycons framework apk/jar didnt take.
You could try swapping the public.xmls between your framework-res.apk and Rycons to make the ids match up with the framework.jar
Click to expand...
Click to collapse
I'm pretty sure it did take, no error in cwm and the theme is all in place. I don't know why the id's mismatch. I'll look into it tomorrow, bit late to start now, it could take a while
I got another idea Matt, can you try this,
Decompile my framework-res.apk and get the following:
drawable folder
drawable-xhdpi folder
styles.xml
drawables.xml
Then copy it and paste to your own framework-res.apk and then 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"
}
- Section One -
Hey guys! I'm back again with another contribution to the community, this time I'm posting a guide on behalf of my theme, Svelte UI.
I have noticed there is a very few amount of theme's available for the new CyanogenMod Theme Chooser out there. And hopefully I can change this.
This guide will cover everything needed to create a Theme, from creating the initial project to theming itself. And some tips on how I theme.
And to make all you lovely people even happier. I will provide all code and even a sample .apk
And also I don't want to add screenshots of my desktop to this thread, because the resolution will be way to big. Instead I'll have links. So let's get started shall we?
VIDEO TUTORIALS
[x] One - Create Project
[x] Two - Initial Setup
More coming.
- Section One -
This section is vital for you to accomplish your theme, so please do not skim through it.
For the requirements, you need an IDE. Yes I will be showing you how build the theme from scratch and not a template.
Use an IDE that you're comfortable with, I wont be showing yo how to use it. I will be using Eclipse for this tutorial.
You will need an image editing program, I am going to use Paint.NET. It's free, advanced, and does the job as good as Photoshop.
We are also going to need patience. Yeap. Theming takes allot of time and patience, it is frustrating especially if you're doing precise editing but it's worth it at the end.
One more thing we are going to need is, an APK decompiler. So download one you like, install the required .apk's for it to work properly.
Then get hold of the SystemUI.apk and Framework-res.apk, we're going to use this later.
- Section One -
Okay, now go ahead and open up your IDE, and create a new Project, give it a name and an appropriate package name.
For example mine is "Svelte UI" and "com.ascendapps.sui". [View Screenshot]
Now click next till you end the project setup. Once your project has been created.
- Section Two -
Go ahead and delete the following folders.
[src, layout, menu, values-sw600dp, and values-sw720dp-land also delete drawable-ldpi if you want] [View Screenshot]
Now in the values folder, create a new xml and call it "public.xml" and make sure to delete the "dimens.xml" file.
Inside the xml file (public.xml) add the following code - [View Screenshot]
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="drawable" name="ic_launcher" id="0x7f020000" />
<public type="string" name="app_name" id="0x7f030000" />
<public type="style" name="AppBaseTheme" id="0x7f040000" />
<public type="style" name="AppTheme" id="0x7f040001" />
</resources>
- Section Three -
Now go ahead and save it. Make you save things when working throughout your project, better be safe than sorry.
Open up AndroidManifest.xml, and add the following code and do what it tells you - [View Screenshot]
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="7" android:versionName="1.0" package="com.ascendapps.sui" <!-- Enter the package name of your project that you had done in the setup earlier -->
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature android:name="org.cyanogenmod.theme" android:required="true" />
<application android:label="Svelte" android:icon="@drawable/ic_launcher" android:hasCode="false" /> <!-- Change label to theme name -->
<meta-data android:name="org.cyanogenmod.theme.name" android:value="Svelte" /> <!-- Name of Theme -->
<meta-data android:name="org.cyanogenmod.theme.author" android:value="Krish Gounder" /> <!-- Your Name -->
</manifest>
.
Please make sure to delete the Info statements once you've finished editing the xml.
For example delete the lines in green. Which is the following -
Code:
<!-- Your Name -->
<!-- Name of Theme -->
<!-- Change label to theme name -->
<!-- Enter the package name of your project that you had done in the setup earlier -->
- Section Four -
Now save your project, and close everything. Once closed, navigate to your project workspace. In there you should see your projects name.
Like this . [View Screenshot]
Open the the project then inside the work folder open the "Assets" folder. This is where everything comes to life.
Go ahead, and create the things you want to be included in your theme.
- fonts - If you wish to use different fonts in your theme.
- images - The images that are displayed when applying the theme.
- overlays - You must create this folder, this is where all the theming images are kept.
- wallpapers - If you want to add a wallpaper to your theme. Use .jpg
- bootanimation- Add a .zip file of your bootanimation in here.
- alarms - If you want to add alarm sounds to your theme.
- lockscreen - Add a lockscreen wallpaper. Use .jpg
- notifications - If you want notification sounds.
- ringtones - If you want to have ringtone sounds.
I will be using images, overlays and wallpapers.
So inside the images folder you will need -
lockscreen_preview.jpg if you are having a lockscreen wallpaper.
styles_preview.jpg just add your wallpaper.
wallpaper_preview.jpg Just use the wallpaper and add an icon in the middle of the image.
Add your wallpaper in the wallpapers folder and name it - wallpaper1.jpg
[Screenshot One] - [Screenshot Two] Now we've completed this section.
- Section One -
For theming you'll need a reasonable image editing software, Paint.NET works quite well.
So you want to know how to theme apps and components? Let's start with the framework-res.apk.
Earlier, I had stated that you'll need an APK Decompiler. So using the decompiler, decompile the framework-res.apk.
Open up to decompiled project and navigate to the folder you wish to work on. for example, drawable-xxhdpi.
Now in your theme work folder, go into "overlays" and create a folder called "android"
Inside there, create a folder called "res" and inside "res" create drawable-xxhdpi or the folder you chose.
Now go back to the project you decompiled earlier, and copy in all the .png files that you know you'll theme.
- Section Two -
How to them other apps and get it to work. the way the theme chooser knows what to them is by package names.
So if you want to theme an app you''l need to find out it's package name. For example Instagram is - com.android.instagram
If you make a folder with that name, and inside you have to create the res folder, it's basically the same layout but the initial name is the package name.
- Section Three -
It's often weird to work with .9.png's when you come face to face with it the first time. The best way to edit them is by working with the image inside the borders.
By this I mean, when you open the image in an editor it has these black lines around the edges, using a selecting tool. select everything inside the border, and do not select the border.
These borders help the Android system with stretching the image.
CREDITS -
[x] Me for preparing this guide.
[x] CyanogenMod Team for the Theme Chooser.
[x] Imgur
[x] XDA
[x] Eclipse
[x] QuickMod Dev
[x] And curiosity.
RESERVED
This section is user based, so if you need help with theming something.
Let me know and I'll update this thread post and I'll directly link you to the info.
When theming a specific application, whether it's a system app or a normal app.
You will need to give the folder the package name so the system knows what to theme.
So if you want to theme the settings app you'll have to name the folder "com.android.settings".
Thanks to @Vincentmrl He requested me to add these so people have a better idea and don't get confused.
The names on the left correspond to the app to right.
android (framework-res.apk)
com.android.dialer (Dialer.apk)
com.android.email (Email.apk)
com.android.keyguard (Keyguard.apk , lockscreen theming)
com.android.settings (Settings.apk)
com.android.systemui (SystemUI.apk)
I will be adding more to these. And easy way of finding the apps package name is by looking at its PlayStore url.
Or by checking in android app manager.
- Section One - Add your own custom background
First of all, you'll need to create or find your own image.
Make sure it's a reasonable size, this is basically a common sense statement.
Don't use a really small image. Okay once you've gotten your image.
Change the name of the image to the following - background_holo_dark.png
Place this image in the following folder - /overlays/android/res/drawable-nodpi
Once done, you need a way for the system to find the image, you can do this by creating a new styles.xml in the values folder.
So go ahead and create a file named styles.xml in the values folder.
The next thing you have to do is add this code inside your xml file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Black" parent="@*android:style/Theme">
<item name="android:colorBackground">@color/transparent</item>
<item name="android:windowBackground">@drawable/background_holo_dark</item>
</style>
</resources>
Save the file and you're done.
Thank you guy, I love it, maybe I'll do one
GæxD said:
Thank you guy, I love it, maybe I'll do one
Click to expand...
Click to collapse
Goodluck! let me know when you make it. I'll be glad to check it out. :]
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Goodluck! let me know when you make it. I'll be glad to check it out. :]
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks again
I have one question, how to change this colors? Example, I marked the colors in red:
The switch button can be change in the framework-res.apk.
And the text can be changed in colors.xml. it should be displayed as "primary_text" and "secondary_text".
Edit - You may need to look in Settings.apk for the text colors. If they don't work, then look for it in framework-res.apk.
It will be a trial and error thing, so you'll have to test many times.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
The switch button can be change in the framework-res.apk.
And the text can be changed in colors.xml. it should be displayed as "primary_text" and "secondary_text".
Edit - You may need to look in Settings.apk for the text colors. If they don't work, then look for it in framework-res.apk.
It will be a trial and error thing, so you'll have to test many times.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Okay
You can make a tutorial explaining better this part of colors and others things to put in OP. Other peoples may also have the same doubt =)
GæxD said:
Okay
You can make a tutorial explaining better this part of colors and others things to put in OP. Other peoples may also have the same doubt =)
Click to expand...
Click to collapse
Thanks, I will be sure to add more info about this when I prepare it later.
I look forward
I have a theme in the works. ?
HI thank you for the guide but i keep getting 'Errorublic symbol style/AppBaseTheme declared here is not defined.' while using android studio. how do i solve this? it wont let me compile my apk.
RealiableCandy4 said:
HI thank you for the guide but i keep getting 'Errorublic symbol style/AppBaseTheme declared here is not defined.' while using android studio. how do i solve this? it wont let me compile my apk.
Click to expand...
Click to collapse
Use eclipse dude, with one click you install your apk on device and test the theme
What version of Eclipse are you guys using? I downloaded the Standard version and it keeps me prompting an error whenever I try to create the public.xml file. Any ideas?
torresfelipe said:
What version of Eclipse are you guys using? I downloaded the Standard version and it keeps me prompting a error whenever I try to create the public.xml file. Any ideas?
Click to expand...
Click to collapse
Eclipse Kepler, is the current one. I don't think you need a specific version.
Sent from my Nexus 5 using Tapatalk
torresfelipe said:
What version of Eclipse are you guys using? I downloaded the Standard version and it keeps me prompting an error whenever I try to create the public.xml file. Any ideas?
Click to expand...
Click to collapse
Eclipse Standard/SDK
Version: Kepler Service Release 2
Build id: 20140224-0627
Thanks guys. I might have done something wrong, but it's working now. I'm using the latest release, 4.4 Luna.
GæxD said:
Use eclipse dude, with one click you install your apk on device and test the theme
Click to expand...
Click to collapse
Thanks for the reply i fixed it by adding
Code:
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar"></style>
in the styles.xml file
I used Generator to generate png/9.png files of my theme. Problem is that all of files look like this themename_background.png, themename_tab.png etc. (you know what i mean). How to make theme work with that named images? I need to edit some code to audo add this or how? Its not so easy to rename all pngs (takes alot of time)
I just cant do it.Downloaded eclipse with android SDK and aplication wizzard isnt that easy: next, next, next. Also i dont have folders what you said to delete... For me (newbie) its useless guide.. Just trying and still cant do anything because dont know how...
And finally when i will make any project how to build it to be ready to install?
@baciany Check your Pm
@TheArc;
Which APK Decompiler do you use? Do you think that something simple as http://www.decompileandroid.com/ would work?