[Q] GenieWidget - Android Themes

Hi everybody!!
Before I tell you my question I want to say that I'm totally new to Android and ofcourse theming it.
This morning I was trying to modify the GenieWidget.apk to make the background transparant. After reading a few topics I was able to change the background. But now I'm a bit stuck...
My question is, is it possible to change the widgets alignment? The GenieWidget is normally on the left of the screen (the content) and what I want is to center the content of the Weather part of this widget. So the weather has to be on the center of te screen... (the whole widget has to be centered...)
Is that possible? I attached my GenieWidget.apk
Kind regards,
Stylooo

Good question.
(BUMP)
- You could always resize the widget with LauncherPro Plus. But that doesn't really fix the 'problem'.

zHk3R said:
Good question.
(BUMP)
- You could always resize the widget with LauncherPro Plus. But that doesn't really fix the 'problem'.
Click to expand...
Click to collapse
That won't work like you said. What I need is just a few padding at the left of the widget... And my guess you have to edit a .XML file, but I don't know how to edit them.

Stylooo said:
..Is that possible? I attached my GenieWidget.apk
Kind regards,
Stylooo
Click to expand...
Click to collapse
I guess, yes, it´s possible...if you edit the values in the right xml.file.

rori~ said:
I guess, yes, it´s possible...if you edit the values in the right xml.file.
Click to expand...
Click to collapse
Okay but how do you edit the files? The xml files in the apk's are not standard xml files right?

Do a search of these forums for APKManager. It is a really fantastic script/tool that consolidates and utilizes a number of other useful tools created by XDA members.
Specifically, it will decompile the apk you want to modify (GenieWidget) and convert the XMLs into a format you can view and edit as you would any other XML. And, once you are finished your changes it will recompile the apk, converting the xmls back into the otherwise unreadable format, and even sign and install if needed.
It is probably the most useful tool I've yet to come across.

I am looking for the latest version of the transparent or no baxkground geniewidget for my Samsung vibrant as i am using the version 1.17 rc6
I tried to install the one in the first post but it said cannot be installed
Why? It is only for nexus one?
And anyone know what is the latest version of it?
Thanks all

Emama said:
I am looking for the latest version of the transparent or no baxkground geniewidget for my Samsung vibrant as i am using the version 1.17 rc6
I tried to install the one in the first post but it said cannot be installed
Why? It is only for nexus one?
And anyone know what is the latest version of it?
Thanks all
Click to expand...
Click to collapse
You have to uninstall the one you have on your phone before installing the 'newer version' (Excuse my lolz).
If not you can push it through adb. Works aswell.

is it not possible to install geniewidget with a transparent background on a non-rooted phone??
I can use calwidget with a transparent background, battstatt with a transparent background and tajm with a transparent background.
is there no crisp looking weather widget with options for a transparent background or resizable features???

zHk3R said:
You have to uninstall the one you have on your phone before installing the 'newer version' (Excuse my lolz).
If not you can push it through adb. Works aswell.
Click to expand...
Click to collapse
Uninstalled but doesn't help
Actually is my version the latest?

There's no "newer" version.
People modify widgets to their liking.
You need basic ADB knowledge to replace applications on your phone.
1) Get the Android SDK
2) Install it to C:\ and rename the folder Android
3) ADB-debugging on your phone = YES
4) Start CMD and type cd C:\android\tools
5) Type adb devices (See your device?)
6) Type adb remount (Read/Write privliges)
7) Type adb pull system/app app (Makes a new folder in /tools named app)
8) Put your GenieWidget in the App-folder, overwrite the old one
9) Type adb push app system/app
Done.

Related

sms unread count - change icon?

Hey All
So I really like the sms unread count widget by kanokgems that shows how many missed callls and unread txts you have. So I was wondering, is it possible to change the icons to maybe hero or eclair icons? I opened up the apk file and found a folder called res with some png files in there. Is it as easy as just replacing those?
Thanks
yeah just replace the images, make sure they are the same sizes. You would need to resign the apk after. then uninstall the previous one from your phone, then install the new edited one.
Hey, Not sure if this is bad or anything, But do you mind posting your changed apk?
Technochris1 said:
Hey, Not sure if this is bad or anything, But do you mind posting your changed apk?
Click to expand...
Click to collapse
Here's one I made a while back for Xrom. It's got a Heroish flavor.
The steps NguyenHuu posted are exactly right. If you're going to install this attachment, the last part is crucial.
1. Unzip
2. Place extracted file somewhere in /sdcard
3. UNINSTALL "STOCK" APP IF INSTALLED
4. Find file you placed in /sdcard and install using your favorite FM
Credit to Manup456 for supplying me with the icons.
Here are the app versions I made using eclair and hero icons
Hero
http://www.megaupload.com/?d=FUFFG750
Click to expand...
Click to collapse
Eclair
http://www.megaupload.com/?d=W25CQY8N
Click to expand...
Click to collapse
Tested both on CM 4.2.3.1 and both work, just make sure you uninstall the previous version before installing this one
The hardest part is signing the new apk, but I found out it was made really easy by stericson here
http://modmygphone.com/forums/showthread.php?t=10591
Thanks guys! I was waiting for something like this to show up. I love the widget, but it didn't look very good with hero/sense....now it does!

[ICON THEME] Coloured status bar icons

Well I never thought I would find myself contributing anything to XDA-Dev but I liked these icons so much I decided to share!
These icons are either hand made by myself, or edited from various sources. They feature a transparent background, so they should work well with most statusbar's out there. I am currently working on finishing the blue style icons across the board, and perhaps the purple as well (like the battery).
I have tested these on VanillaEclaire 4 and FroydVillan 1.1, and these work without MetaMorph etc etc.
These are fairly simple to install:
- Pull your framework-res.apk (should be in /system/framework) to the folder of your choice.
- Open framework-res.apk with WinRAR or 7zip and navigate to res\drawable-mdpi (some may be called drawable-hdpi). Just find the .png files that match the ones in my zip files.
- Drag your favourite .png files into the WinRAR/7zip window and click OK to save
- Push updated framework-res.apk to your device and reboot. (adb remount, then, adb push ..., adb reboot)
- If you wish to include the gmail, email, or sms icons like in the screenshot, please also update gmail.apk, email.apk, mms.apk as appropriate!
Update: Pictures! Tons more icons!
Update 2: Vending.apk icons (Market download notifications) See post
Mass spam of the icons, pick and choose!
Disclaimer:
Please update the filenames of the .png's as appropriate. I have created/included several copies that can be used as you please, so the names don't always match the .apk files.
Please make backups before pushing to /system
I have read posts on this forum regarding editing .apk files and the need to re-sign them, or issues with endless reboots after editing .apk files. I used WinRAR and did not create a new framework file, only edited it. I have had 0 issues.
Mega pack attachment below contains all icons from the other 3 zip files!
Update: Pink/Purple pack!
Reserved.
Hopefully I can upload pictures now.
Credits:
istockphoto.com
psdgraphics.com
My brother for helping me learn to use photoshop!
I can't get it to work? this what I get
E:Wrong digest:
system/framework/framework-res.apk
E:Verification failed
=[
I'll keep trying.I really wanna see a purple battery instead of green or blue
<3
Hi Jen, sorry was this when you were pushing or pulling the file? Rebooting?
I use a vanilla rom, and the location of framework-res.apk is exactly where you mentioned. I use a program called "ADB File Explorer" to find things on my device.
SpeeDemon said:
Hi Jen, sorry was this when you were pushing or pulling the file? Rebooting?
I use a vanilla rom, and the location of framework-res.apk is exactly where you mentioned. I use a program called "ADB File Explorer" to find things on my device.
Click to expand...
Click to collapse
When I was pushing in files..
I haven't tried it since I last posted,just don't have the time at the momment i'll give it another try tomorrow..But im really excited on getting this to work <3 i've been looking for something like this for the longest.
Ok sounds good! If it keeps failing to push, try ADB file explorer:
http://code.google.com/p/adb-file-explorer/downloads/list
Jen, you're not repacking the apk are you? Just need to update, If you look at my sig i've made a video on how to update images on the phone, might help =o)
SpeeDemon, I really like your battery icons, would it be ok to use them on my next video? I'm making a video on how to change the look of the battery status bar icon and rather than making crappy images myself would like to use your ones, I would of course give credit to you for the icons.
.FxN
Hey, sure thing fxn, go wild!
Bump for huge update! Still more to come!!!
These are superb SpeeDemon! Mind if I use a few of them in a theme I'm looking into creating?
Beautiful! Gonna try them ASAP! Thanks!
Absolutely fantastic work, muchly appreciated!
I have one small request… Could you make a blue Alarm Clock status bar icon please? Its the only thing left white on my system and looks weird lol
Soul_Est said:
These are superb SpeeDemon! Mind if I use a few of them in a theme I'm looking into creating?
Click to expand...
Click to collapse
Please, feel free, thank you!
SLX69 said:
Beautiful! Gonna try them ASAP! Thanks!
Click to expand...
Click to collapse
Thank you! Lemme know how they work out. Especially if you have a dark statusbar as I havent tested them on dark.
shadowch31 said:
Absolutely fantastic work, muchly appreciated!
I have one small request… Could you make a blue Alarm Clock status bar icon please? Its the only thing left white on my system and looks weird lol
Click to expand...
Click to collapse
How's this? Added some silver colour to the trim as it seems to fit the style.
That looks stunning!
By the way I'm using a black status bar and the electric blue set just fyi.
not working on my galaxy spica!! is there any resolution problem..
vineet.rox said:
not working on my galaxy spica!! is there any resolution problem..
Click to expand...
Click to collapse
Can you please elaborate for me? Are you getting error messages?
How did you update your .apk files and push them back to your device?
Thanks for your interest in the icons!
HTC Desire
Hi, first of nice icons
Second, do I need to put another rom on my Desire ???
It's running with what ever it came with.
Dennis
can i push my framework.apk without adb?
like with root explorer?
kind regards DauL
[email protected] said:
Hi, first of nice icons
Second, do I need to put another rom on my Desire ???
It's running with what ever it came with.
Dennis
Click to expand...
Click to collapse
Hi Dennis. These icons should work with most ROM's out there available for your device, rooted or otherwise. You will need to familiarise yourself with any of the various methods of pulling framework-res.apk from your phone, and placing the .png files into their correct folder (as outlined in my first post). Then you will need to update the file on the phone with your modified .apk (Google/Android call this "push").
x10i DauL said:
can i push my framework.apk without adb?
like with root explorer?
kind regards DauL
Click to expand...
Click to collapse
If root explorer can pull a copy to your SD card, you may be able to pull it and just do a normal file copy to your PC. You would then need to push it back from SD > /system using root explorer. I have never used the app before, but I just googled it now and some screenshots hint at this possibility.
I would still suggest trying to get ADB working - it is worth the hassle and much quicker than mounting/unmounting an SD card all the time!
i made it with root explorer. I made a copy from the system folder to SD card. then i sent the file via bluetooth to my pc. then i replaced some pictures and clicked OK. after this i sent the framework-res.apk back to my device. then i copied this and pasted it in System/framework and replaced the old one.
and now i cant boot anymore.
it just shows the startupshow (modified) and then there is a black screen which is illuminated a little bit..
so what can I do?
hope for a quick answer.
kind regards from sad DauL

Smoked(Transparent) Facebook widget

I found this facebook.apk in the Nexus one forums, the widget is transparent pretty sweet looking! I was going for a smoked widget theme but this will have to do until I can find one that works with EE3.0
All credit goes to rori-his creation-I just found the link.
hxxp://forum.xda-developers.com/showthread.php?t=731625
To install: adb shell mv /data/app/com.facebook.katana.apk /system/app/Facebook.apk
adb push Facebook.apk /system/app/Facebook.apk
Here's the rest of the smoked widgets
http://forum.xda-developers.com/showthread.php?p=7383784#post7383784
I've been looking for a transparent widget that is supported with the new version of facebook, I think this one will do just fine...if I could understand how to install...could someone dumb it down for me?
megs3241 said:
I've been looking for a transparent widget that is supported with the new version of facebook, I think this one will do just fine...if I could understand how to install...could someone dumb it down for me?
Click to expand...
Click to collapse
Copy the apk file over to your SD card, then use a file manager on your phone like Astro to install the apk file.
the OP and the source of these smoked widgets suggest using adb to push the apk's. Can anyone confirm that on other devices installing the apk using a file manager works?

[Q] How to mod framework-res.apk and twframework-res.apk

Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.
icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck
what program are you using to edit your xml's?
chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...
yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.
avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.
I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.
When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.
PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.

transparent facebook widget.

I haven't been able to find the latest version of facebook with working transparent widget mod, anyone know how to do it or where to find it?
You mean with MetaMorph ?
Marvlesz said:
You mean with MetaMorph ?
Click to expand...
Click to collapse
metamorph has not been working with my facebook, it acts like it does, then it's still not transparent, so what I've done is asked (and gotten) someone better with APK modifying to just upload a modded APK that I push to system/app which works, but I'm now on a pretty old version and can't find the newest one.
I'm on a CM7 2.3.5 ROM, you gotten any metamorph mods to work on the latest facebook?
hey orangekid.
my theme has a transparent widget (partly i guess with white on the bottom, dark on top.) anyways...my point is with cm7 is pretty easy. though you need to decompile apks to get the .9.pngs to work again - that may be what you are running into. if you just drage them and edit them and copy back to the apk things never worked for me.
to be honest, it seems from your questions of late, you need your own theme! can you compile/decompile?
(and btw, my latest version will be out later tonight...)
jsmccabe78 said:
hey orangekid.
my theme has a transparent widget (partly i guess with white on the bottom, dark on top.) anyways...my point is with cm7 is pretty easy. though you need to decompile apks to get the .9.pngs to work again - that may be what you are running into. if you just drage them and edit them and copy back to the apk things never worked for me.
to be honest, it seems from your questions of late, you need your own theme! can you compile/decompile?
(and btw, my latest version will be out later tonight...)
Click to expand...
Click to collapse
lol, so true! Because now I'm trying to get a version of your theme but with different icons for contacts and stuff.
I have not compiled/decompiled APKs before but if there's a decent tutorial out there I learn very fast, do you know of one? Can't be too hard.
I'd love to make my own theme instead of continuing to ask other devs to do it, lol.
*Before you try his theme (I know you will either way ), I've spent a few minutes trying to modify it. Try the apk attached and tell me what happens.
*Edit3:
*to have a fully working widget, just uninstall any previous version (even if you have the latest) of facebook and install the apk normally without pushing.
Marvlesz said:
Before you try his theme (I know you will either way ), I've spent a few minutes trying to modify it. Try the apk attached and tell me what happens.
P.S. (you need to push the app to "data/app/" and not install it normally.
P.S. (Backup yours first, because you may not like it )
Edit:
I just tried it on my phone, it's true that the background has gone transparent but some side effects have arisen:
1- hitting the "What's on your mind?" Forces close Facebook, also hitting the share button does so too.
If you want the widget only to view status updates and go left and right, it is good for doing so. Otherwise try his theme (I know you already did )
Click to expand...
Click to collapse
will do thx!
Bump, if I only edited the post you won't notice. Read the post to fix the force close .
cyan facebook 1.5 works like a charm,install via cwm,reboot,then copy to system app,works perfectly,ad it for 5 months,never 1 prob or force close
Sent from my HTC Pyramid using XDA Premium App
Ty5982 said:
cyan facebook 1.5 works like a charm,install via cwm,reboot,then copy to system app,works perfectly,ad it for 5 months,never 1 prob or force close
Sent from my HTC Pyramid using XDA Premium App
Click to expand...
Click to collapse
But is it always the updated app? Seems like you couldn't update it.
Sent from my HTC HD2 using XDA App
try this one
http://forum.xda-developers.com/showthread.php?t=877510
or
http://forum.xda-developers.com/showthread.php?t=1142596
just download the apk n run
orangekid said:
lol, so true! Because now I'm trying to get a version of your theme but with different icons for contacts and stuff.
I have not compiled/decompiled APKs before but if there's a decent tutorial out there I learn very fast, do you know of one? Can't be too hard.
I'd love to make my own theme instead of continuing to ask other devs to do it, lol.
Click to expand...
Click to collapse
to answer your other questions - if you install an edited apk, once it upgrades you will lose the edits. and will have to start over. which is fine, but just so you know. tis why i like cm7 and themechooser.
you asked for links, here they be. now, i am a complete novice at using terminals, etc. i learned from reading and asking questions and found a system that works for me.
two tools - apktool and apkmanager:
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=695701
a very easy way to install apktool:
http://www.miui-au.com/add-ons/apktool/
i used this set up. it works flawlessly.
the bible of CM7 theming:
http://forum.xda-developers.com/showthread.php?t=964391
read the above. it is a must. really everything is laid out there.
my system (convoluted, but again i figured out a way and am sticking to it)
1- i decompile using apktool (cmd prompt --- apktool d ***.apk )
2- edit things. note: use photoshop for .9.pngs (only program that will work - paint.net, etc will not compile properly). or you can use 9editor with the sdk, but that thing is frickin' annoying
3- compile my theme (cmd prompt --- apktool b *** ) notice no ".apk"
4- then i move it to apkmanager and sign it
i guess you could do the above with apkmanager, but again, i figured out a system over days via trial and error and i am sticking to it.
now if you want to publish to the market, there is a bit more to do. let me know, and i guarantee if i figured it out (read: help from many people) anyone can.
cheers.
jsmccabe78 said:
to answer your other questions - if you install an edited apk, once it upgrades you will lose the edits. and will have to start over. which is fine, but just so you know. tis why i like cm7 and themechooser.
you asked for links, here they be. now, i am a complete novice at using terminals, etc. i learned from reading and asking questions and found a system that works for me.
two tools - apktool and apkmanager:
http://forum.xda-developers.com/showthread.php?t=640592
http://forum.xda-developers.com/showthread.php?t=695701
a very easy way to install apktool:
http://www.miui-au.com/add-ons/apktool/
i used this set up. it works flawlessly.
the bible of CM7 theming:
http://forum.xda-developers.com/showthread.php?t=964391
read the above. it is a must. really everything is laid out there.
my system (convoluted, but again i figured out a way and am sticking to it)
1- i decompile using apktool (cmd prompt --- apktool d ***.apk )
2- edit things. note: use photoshop for .9.pngs (only program that will work - paint.net, etc will not compile properly). or you can use 9editor with the sdk, but that thing is frickin' annoying
3- compile my theme (cmd prompt --- apktool b *** ) notice no ".apk"
4- then i move it to apkmanager and sign it
i guess you could do the above with apkmanager, but again, i figured out a system over days via trial and error and i am sticking to it.
now if you want to publish to the market, there is a bit more to do. let me know, and i guarantee if i figured it out (read: help from many people) anyone can.
cheers.
Click to expand...
Click to collapse
Thanks so much. I've got reading to do.
Sent from my HTC HD2 using XDA App

Categories

Resources