yashsingh1/xdaforums huggingface dataset:
[Android Themes] idan_mo:
ok, great!

1. all blue images in drawable & minimap should be changed to the color i desire, right?

2. hex & images should be the same color, right?

3. how about changing the background to a sfecific color or to a sfecific image?
[Android Themes] anthonycr:
1. Yes

2. Yes, unless you want them to be different (I made a yellow and blue theme for someone)

3. What background?
[Android Themes] idan_mo:
the default background in the menu, the dialpad, notification background etc.

change them all to one color for example.
[Android Themes] anthonycr:
I think that those are all images. I haven't themed them myself so I'm not certain what they are called, but I suggest looking in the template and seeing if any images look like they might be correct (look in contacts for the phone background). For the notification background, I personally have never changed it, but check out my themes on the market, download the Batman theme, and decompile it because the notification background is themed (I share an account with a team member its his theme) so you'll be able to see if he had to add any code or if its just a certain image that you can change.
[Android Themes] SXUsr:
Quick question, most theme chooser apks I've decompiled all have redirections within the redirections.xml, two however just have...

<?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" />

...is that to prevent People like us tampering with them? :silly:
[Android Themes] ebs512:
Delete the redirections.XML and public.XML they are not necessary
[Android Themes] anthonycr:
What he said, also delete the line in the android manifest. However leaving it and the xmls in won't hurt either.
[Android Themes] SXUsr:
Thanks for those two replies. Going to have another couple of hours and see if I can get a bit further than I have over the whole weekend. :mad:
[Android Themes] dligon:
ok even after I signed my apk i was still getting the parsing error. suggestions.
[Android Themes] anthonycr:
You signed it with signapk.jar right?

Make sure you didn't delete the smali folder before compiling.

Run a logcat while trying to install the app and send it to me (open up terminal and type:

Su

Logcat > /sdcard/logcat.txt

Then hit home, and proceed to install the app. When it fails, open the terminal back up and close the window so it stops spitting out stuff.)
[Android Themes] ehoba:
Why is the redirections.xml and public.xml no longer needed?
[Android Themes] ebs512:
It was never needed for the theme chooser
[Android Themes] SXUsr:
I can't help but think after discovering and changing a few things that you've broke or added stuff for us using your template to figure out? :p I've now got my theme almost perfect now I've sorted my backgrounds, percent battery and text colors. :)

Another quick question, when I view my contacts through the Phone.apk the background is black and the font color names and numbers is white and grey and the header, A, B, C etc is my color green, but when I view them through the People app the background is white, names black/grey and the header is my green again, but because the green I've chosen is quite bright it's unreadable, so my question is how do I make it display the same as my Phone.apk?
[Android Themes] anthonycr:
@XperienceD hahaha, the template is a work in progress and I keep adding or subtracting stuff when I think its necessary ;)

As for changing contacts... the theme Chooser can't invert the contacts app because it requires changing some stuff that the theme Chooser doesn't want to touch. So the only solution is to find an already inverted people app, or darken the header in the people app a little.
[Android Themes] SXUsr:
:D

I thought as much. I'm ripping through theme chooser apks examining, trying this and that, I tried to mod THIS theme but it won't install after adding images never mind editing xmls.

Last question, for today at least, what is this blue line called?...

...I've changed it in my IceGreen theme I just can't figure it out now though.
[Android Themes] anthonycr:
I don't know about that blue line... I think I was too lazy to look for it. Look in the XML for the contacts app in your theme. Your theme not installing... did you sign it?

Cool looking theme you got going there btw.
[Android Themes] SXUsr:
Just remembered the xml is a dialog xml in layout in the stock ROM (CM9 RC2), so is it just a matter of creating a layout folder in the template and adding the relevant xml or do I also need to add something to android.xml as well?

It was the kiwi theme and yes I did, I'll have another play with that at a later date.

Thanks. :) Still a bit to do yet but as I've come back to CM9 from the stock ICS Arc ROM my main focus is trying to get this complete.
[Android Themes] anthonycr:
You're correct, but you need to add a line to the android.xml something like "@layout/name of xml" ...... @layout/name of themed xml in the correct xml syntax (don't include the .xml extension).
[Android Themes] ebs512:
I thought the theme chooser wouldn't theme layout?
[Android Themes] SXUsr:
I've got four to add and they're from the framework-res.apk, so the line of code should look like this in android.xml?...

<item name="layout/alert_dialog_holo">@layout/alert_dialog_holo</item>

...obviously renamed for each. I would just try it but I can only add, edit, sign, zipalign, push and install so many times in day. :silly:
[Android Themes] anthonycr:
Right. @XperienceD, I forgot that layout can't be themed, so before you spend the rest of the day reonstalling the theme, don't bother trying to change that line because it won't work.
[Android Themes] SXUsr:
Thanks for the heads up, that has saved me a headache lol. Well we know it can be changed, its just a matter of figuring out how.
[Android Themes] ebs512:
Make a flash able zip
[Android Themes] SXUsr:
I know what you're saying but that defeats the object.
[Android Themes] ebs512:
In ICS the 2 things you can't touch is the lockscreen or the layout folder, you will get bootloops
[Android Themes] SXUsr:
The layout I'm not too bothered about but I am about the lockscreen as the glow on my modded one is pretty cool.
[Android Themes] ebs512:
I know it seems like a pain but really your only 2 options are to make a flashable zip for the modded lockscreen which limits to only users using the same ROM you are or make a metamorph addon
[Android Themes] SXUsr:
Found the blue line, the code for it is in the template but the image wasn't.

---------- Post added at 07:43 PM ---------- Previous post was at 07:35 PM ----------

Just noticed I didn't add the link to the theme I was refering that won't install after modding, Kiwi Cobalt, which has some great features included.
[Android Themes] anthonycr:
Make sure you de- and re-compile that theme using an XHDPI ICS framework-res.apk
[Android Themes] kormatoes:
Anyway Anth thanks for template
[Android Themes] SXUsr:
Could you or some one else upload one please? I've download two ROMS for the Nexus but they just contain system.imgs that I can't extract from.
[Android Themes] anthonycr:
I'll try to find some links
[Android Themes] SXUsr:
Got a framework from HERE, and now the theme installed. Just need to add my touch to it now. :D
[Android Themes] yus4eel:
How do you give youreself 1% battery increments? do you just add in all 100 pngs or its not that simple
[Android Themes] anthonycr:
It is not that simple unfortunately. I don't have time for an in depth and your question would be better to ask in the T-Mobile theme Chooser thread I linked in the Original Post ;)

But here's a simple explanation: you'll need to add 1 xml file from the systemui.apk called stat_sys_battery (I think) then add a reference too it in the systemui.xml in the /xml folder of the theme, then modify the battery xml to refer to 100 individual images, then redirect those images in the systemui.xml (this is the second edit you've made to this file), then add your 100 images... easy right? :p
[Android Themes] yus4eel:
What am I doing wrong here? I dont really understand this stuff very well so help would be appreciated. The only thing ive done so far is change the colors of icons in drawable-hdpi

C:\Users\Yusuf\Desktop\apktool for themeing>apktool b "C:\Users\Yusuf\Desktop\ap
ktool for themeing\cm9_template_work"
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
res\drawable-hdpi\browser_app_web_browser_sm.png:0: error: Resource entry browse
r_app_web_browser_sm is already defined.
res\drawable-hdpi\browser_app_web_browser_sm.bmp:0: Originally defined here.
C:\Users\Yusuf\Desktop\apktool for themeing\cm9_template_work\res\values\styles.
xml:4: error: Error retrieving parent for item: No resource found that matches t
he given name '@android:style/TextAppearance.Holo.Widget.Button'.
C:\Users\Yusuf\Desktop\apktool for themeing\cm9_template_work\res\values\styles.
xml:9: error: Error retrieving parent for item: No resource found that matches t
he given name '@android:style/TextAppearance.Holo.Widget.Button'.
C:\Users\Yusuf\Desktop\apktool for themeing\cm9_template_work\res\values\styles.
xml:10: error: Error retrieving parent for item: No resource found that matches
the given name '@android:style/TextAppearance.Holo.Widget.Button'.
C:\Users\Yusuf\Desktop\apktool for themeing\cm9_template_work\res\values\styles.
xml:15: error: Error retrieving parent for item: No resource found that matches
the given name '@android:style/TextAppearance.Holo.Widget.Button'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Yusuf\AppData\Local\Temp\A
PKTOOL2753825164591562970.tmp, -x, -I, C:\Users\Yusuf\apktool\framework\1.apk, -
S, C:\Users\Yusuf\Desktop\apktool for themeing\cm9_template_work\res, -M, C:\Use
rs\Yusuf\Desktop\apktool for themeing\cm9_template_work\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Yusuf\AppData\Local\Temp\APKTOOL2753825164591562970.tmp, -x, -I, C:\Users\Y
usuf\apktool\framework\1.apk, -S, C:\Users\Yusuf\Desktop\apktool for themeing\cm
9_template_work\res, -M, C:\Users\Yusuf\Desktop\apktool for themeing\cm9_templat
e_work\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
[Android Themes] anthonycr:
It looks like you batch edited the images with BIMP, which generates .bmp files so you ended up with both a name_of_image.bmp and a name_of_image.png in the same folder so it's throwing an error. You need to delete all the files that end in .bmp.
[Android Themes] yus4eel:
Yes but that error only occurs once. What about the errors on the rest of the lines in styles.xml?

The only things ive done was edit png's in drawable-hdpi, added the theme name in the xml's, and got framework from galaxy s2 cm9 rom
[Android Themes] anthonycr:
Sometimes one error like that makes it look like there are other errors. Fix that one error and the other ones might go away, it won't compile unless you fix the first error.
[Android Themes] yus4eel:
any suggestions on fixing the error? I already fixed the error in which there were two of the same file, but im at a loss at how to fix the second error
[Android Themes] ebs512:
Since you fixed the first error what does your log error out to be?
[Android Themes] anthonycr:
Whoops sorry. Kinda forgot about your question there.

Try deleting the line the errors are referring to in the xml.
[Android Themes] SXUsr:
You also need to add stat_sys_battery.xml, stat_sys_battery_charge.xml & zzz_stat_sys_battery_1.xml in the drawable folder, see attachment for my decompiled files, then add your lines of code to com_android_systemui, obviously then add your images to drawable-hdpi.
[Android Themes] SpadaBoss:
hi, thanks very much for the template :) i am trying to edit it for making something. if i change elements in it all works, the only one thing that doesn't work is one. if i change the wallpaper, or the background_holo_dark it doesn't work. it remains stock. maybe i am doing something wrong. what can be? :)
[Android Themes] anthonycr:
The background holo thing I left out of the code because I was lazy but the wallpaper should work...
[Android Themes] SXUsr:
As anthonycr has said there are some things missing which I discovered along the way so you need to figure out what it is, although I'm kind of glad he left them out/forgot to add because it made me have to study the xmls and image folders which in turn gave me a better understanding of a Theme Chooser apk.

So a massive thanks to anthonycr once again for this thread! You can view the theme I've built using this template as a base, "IceGreen ResMods" through the link in my sig. :)
[Android Themes] SpadaBoss:
i've downloaded your theme, is very beatiful :) can you tell me the code necessary for changing framework and dialer background? would be very appreciate if you know this :) thx a lot anyway to both for the info :)
[Android Themes] anthonycr:
This.

What he has done is the way to do it. By studying the code, you familiarize yourself with how things work and eventually you can figure anything out. I went from barely knowing how to theme a few months ago to making apps now simply by studying the code.
[Android Themes] anthonycr:
The anim folder is just in there as an extra folder. I don't have any idea how to implement an animation, maybe you should ask in the theme chooser thread.
[Android Themes] vanty08:
Thanks!
[Android Themes] Baegus:
Dude, thank you so much, I couldn't find the perfect theme for me, so I made myself one thanks to your template.
[Android Themes] anthonycr:
Glad you found it useful

Sent from my Nexus 7
[Android Themes] JohnSyed:
Notification panel BGS for CM9 THEME TEMPLATE

copy this code to com_android_systemui.xml

<item name="drawable/status_bar_background">@drawable/com_android_systemui_status_bar_background</item>

and put (com_android_systemui_status_bar_background) image in

res\drawable-hdpi

for notification bg just add notification_tracking_bg , notification_panel_bg images to

res\drawable-hdpi

:good:
[Sony Xperia S, Acro S, Ion] belek1979:
what do you think of griffin's car chargers?

for example 2100mA:

or 2x1000mA:

isn't 2,1A too much, is it? maybe safer is 1A? but if EP851 has 1,5A so 2,1A is quite close... usually I use ep850 so from time to time 2,1A could be ok? but in the sun, behind car window, running gps and navigation and charging with 2.1A it would be veeery hot...
[Sony Xperia S, Acro S, Ion] rolex0815:
The phone limits the amount of current, not the charger.

If the charger could deliver 5.8 A it would be safe to charge your phone.
[Sony Xperia S, Acro S, Ion] Ben36:
http://www.ebay.co.uk/itm/230769872255?redirect=mobile

Job done. Bargain!
[Sony Xperia S, Acro S, Ion] belek1979:
so what is the highest level for lt26i? equal to ep851 = 1,5A?

original Sony AN400 is 1,2A so for fast charging 2,1 would be OK? or no really difference (1.2A vs 2,1A)?
[Sony Xperia S, Acro S, Ion] BigPhil:
2.1A is pretty much perfect. You wont find a faster charger.

If you get it and it feels really slow, try one of these

http://www.dealextreme.com/p/usb-data-charging-extension-cable-for-samsung-p1000-black-91141

or

http://www.dealextreme.com/p/usb-power-adapter-for-samsung-p1000-81753

They prevent the phone from charging at USB rate (500ma). I have tested both of these and they work great.

-- Phil
[Sony Xperia S, Acro S, Ion] WasherUK:
I have a belkin one, not sure of the model number or ampage but having screen on 100% and Co-Pilot running the phone uses more charge than the charger delivers. It only looses 1% every 30 mins or so mind.
[Sony Xperia S, Acro S, Ion] mister-g1:
Bought this a few days ago.. works great:

http://www.voelkner.de/products/259564/Sony-Car-Kit-Halter-Kfz-Ladekabel.html
[Sony Xperia S, Acro S, Ion] Abandoned-Trolley:
I picked up one of the smaller chargers like shown in the images and found that it doesn't work in my car (2003 Renault Megane) seems that the connectors are too far down the charger to connect inside the socket.
[Sony Xperia S, Acro S, Ion] 4lex96:
Sony give me the original charger for car. If you want here is the model: Sony ErIcsson AN300 ;)

Best regards
[Sony Xperia S, Acro S, Ion] BigPhil:
I gave in and bought one of the flat griffin chargers. £9.99 from HMV. Works brilliantly. 20% to 75%, while streaming music over Bluetooth in a little over an hour
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
I've been searching around for a transparent dialer for the stock Rogers ics rom. I don't want to flash a custom rom at the moment & the dialers on the play store such as exdialer etc don't allow you to clear the recent calls without deleting the logs. If anyone could point me in the right direction, it would be greatly appreciated!

Thanks!

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Heeter:
Hmmm

I have been using this: m4570d0n

But my device is rooted, and you should run a nandroid backup before you try this, might bork a factory rogers setup like yours.

Hopefully it is what you are looking for.

Good Luck,

Heeter
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Thanks. I'm rooted but stock ics, & everything there is only for cm9 roms... I'll keep looking.

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
What you are looking for is a modded version of the Contacts.apk that has a transparent theme for the phone app. The Contacts.apk is both the "people" app (what you would typically assume is the Contacts app) and the "phone" app (dialer, missed calls log, etc.). The Phone.apk is just just for the in-call stuff only. The only way to do that is to either theme it yourself or find one that has been themed already. However, it also has to be a Contacts.apk that's based on the touchwhiz(stock) framework. Anything AOSP-based (CM9, AOKP, etc) will not work.

I have no idea if this will still work as I believe it was based on a now outdated version of Sky ICS but you can try.

http://xdaforums.com/showthread.php?t=1599228

Save it to your sdcard. Then open up a root file browser like Root Explorer or Solid Explorer and move the file to /system/app. Then change permissions on the file to rw-r--r-- and change the owner/group to root. Then reboot and you're good to go.

As always, make a backup of the original Contacts.apk.

edit: made a typo and accidentally deleted the permissions to change. That's what I get for typing this from my phone.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
You're exactly right in terms of what I'm looking for! I should have asked you to write my [R] :p

Thanks!

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
Can you post your stock contacts.apk I will see if u can do it for you....I'm on att and made mine transparent
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Yeah I can, the thing that I don't understand is why I'd be changing the contact apk, when it's the dialer that I would like to change?

And if I post my contact apk won't all my contacts be made public?

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
The contact.apk controls the Dailer.

..and no they won't your contacts are not stored in the .apk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Ok, I'll do that.... I copied the contract apk to the external sd, but how can I add it to the post via Tapatalk?

The other thing that I noticed, was my contact is less than 2meg, while the contact apk that silverwrx posted earlier in this thread, is about 3.5meg? Just wondering why there's such a big difference in size?

Edit: would you mind posting a screen shot of your dialer?

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
How to add through tapatalk I'm not sure.......are you deoxed ?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Rooted but stock Rogers ics rom.

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
OK so you have .odex files that's why your contacts.apk is smaller
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
What would happen if I tried to use a deoxed apk? Would it work (I'm doubtful) or would it freeze / mess up the phone?

I've got a couple of recent nandroid backups...

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
It should work if you rename the .odex file to something like .odex.bak
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
So you're saying that I rename my current contact apk to contact.apk.bak or does it HAVE to be contact.apk.odex.bak? & then I just move the deodexed contact.apk into system apps, fix permissions, reboot?

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
You should have a contacts.apk and a contacts.odex rename them both add .bck to them if your going to put a deodex contacts.apk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Yup I've got both. So just renaming both the existing contact apks & then moving the deodexed contact.apk as is into system apps, I don't have to do anything else with it (I'm asking because I hadn't paid attention to other apks that I moved, that there was also an odex file).

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
Don't have to do anything else....and renaming is so you can go back to the stock one if you have too
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
Ok Thanks, I'll give it a shot!

Appreciate the persistent help!!

I'm going to take a bit of a break & go for a swim.... It's about 90f or 33c outside right now & I'm starting to cook... But I'll let you know how things went :):beer:

Sent from, The Eclectic Chair.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] StolenVW:
OK....its 75f here and raining
[Asus  Eee Pad Transformer Prime] nikoltu:
Hello,

I just unlocked my prime after realising that stock .28 firmware is doing so much of playing on my nerves, but after trying to go to recovery mode (power on + vol down) and selecting vol up in 5 sec. it begins to boot to recovery the little green droid spins and then it dies showing little droid with red triangle and it wont boot to recovery, eventualy it just reboots to ROM.

I used viperMOD 4.6 to unlock and to install TWRP 2.1 and after that i tried 2.2 but the same red triangle. Did anyone encouter this problem erlier and maybe can provide solution to this nonsence?

FINAL EDIT: Ok, I fuguered it out. somehow every time I tried to proceed I failed to unlock. Finally I downgraded to .21 (think it is optional) and did a factory reset (wiped all data) and then tried to unlock again. Success!

I think this would be helpfull for those who get into same situation.
[Asus  Eee Pad Transformer Prime] epeereboom:
Try using goo manager to install TWRP.
[Asus  Eee Pad Transformer Prime] nikoltu:
Thanx for a direction doing asap. And what does that mean red triangle with "!" in it? stock recovery or something like HTC phones have?

EDIT: In some way even after instaling TWRP with goo manager red triangle is there and I cant access recovery. strange
[Asus  Eee Pad Transformer Prime] skarfreak:
I'm afraid that you device is not UNLOCk. That happened to me. But that was .21 version.