yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] mossination:
Sorry. Ok lol I just copy and pasted into notepad and attached it. I hope that's fine? Btw I decompiled it without dependencies as in I thought since I already put the two framewokrs in "apktool" it wouldn't matter.
[Galaxy S II Themes and Apps] dully79:
Its decompiled with no errors but the previous log for compiling reports a **** load of errors for .9.png's and xml's, try fixing the images first and try again, if the log still gives you errors about invalid tokens in the xml's you'll need to fix them also.

Im going to guess your making a multi-dpi camera.apk??
[Galaxy S II Themes and Apps] mossination:
All I was trying to do was change a .png image. The icon of the camera app. Thats all I changed. The thing is im trying to flash it via cwm with an update.zip instead of using universal theme flasher. Thats why I was pretty much trying to decompile and compile it.
[Galaxy S II Themes and Apps] dully79:
Bugger me gently lol, if thats all your doing dont bother decompilng/re-compiling, just open it with 7zip, drop in your new icon and close, job done.:)
[Galaxy S II Themes and Apps] mossination:
Idk why the hell I didn't think of that. Ok umm if make an xml change I have to decompile and compile it right? Like I just wanted to know what are the reasons for decom and comp. Btw you don't have to answer them I just wanted to save myself the trouble of googling :D
[Galaxy S II Themes and Apps] dully79:
Yes if you need to edit xml's/smali you need to decompile. Also if you need to edit .9.png's.

Decompiling efectively translates the android language, which is mostly java in to a normal persons language, if you are able to speak that language then lucky you. If you cant like me, then you just pick up enough liitle things to get by and hope you never get invaded by the locals....sort of like french.:p

Only kidding...je t'aime.;)
[Galaxy S II Themes and Apps] mossination:
I think I've run out of my thanks for today. Thank you for your time =D
[Galaxy S II Themes and Apps] Phone_Guru:
Duly, can you tell me where to find the background image for the keypad that appears during calls?
[Galaxy S II Themes and Apps] dully79:
If i remember right its "Phone.apk\res\drawable-hdpi\call_gradient_green.png"
[Galaxy S II Themes and Apps] superdog404:
Hi dully79 - Can I extract my systemui.apk then change some of the pngs and place the file in your glass contact cwm. Then flash it? I removed your contact.apk. I made a system folder then app folder then res folder then placed the png folder inside that. When I do it that way cwm says it can't open my flash file.

Thank you

superdog404
[Galaxy S II Themes and Apps] dully79:
Why dont you just use the template.zip from the first post?
[Galaxy S II Themes and Apps] Phone_Guru:
That's for the call background. I'm looking for the background on the keypad that you can show or hide during a call. I'd also like a bit of help with percentage battery mods. I tried using one which should work on LPH but the SystemUI FC's. I then tried only using the two XML's in the res/drawable folder of systemUI but the battery icons disappear. My theme contains battery images for each percentage increment. Any ideas?
[Galaxy S II Themes and Apps] superdog404:
I tryed doing it that way by making A System folder then an app folder then the whole systemui.apk inside but it said the mod file was wrong. Reading in your 2nd page in this thread I see you say to put the moded png folder inside the morph folder?
[Galaxy S II Themes and Apps] dully79:
I'm not sure, im in bed so i cant look for the bg.

Use UOT fo r battery mods, there is a link for a how to in the first post.

Ive put a new zip up that already contains the framework and systemui folders in morph, just drop your image in the systemui/res/drawable-hdpi
[Galaxy S II Themes and Apps] superdog404:
Ok dully79 - It flashed but made double res folders inside systemui. I'll figure it out I think I just need to delete one res folder. It took away the status bar but otherwise the phone runs fine. Sleep good, I guess it's about 11:30pm there.
[Galaxy S II Themes and Apps] dully79:
If your talking about double res folders on your phone then dont worry as thats just a glitch, it wont break anything.
[Galaxy S II Themes and Apps] superdog404:
Wellll, I have lost the complete status bar at the top of the screen including the pull down menu. I put the stock systemui file in and replaced the build.prop but still no status bar. What have I done? help
[Galaxy S II Themes and Apps] dully79:
I'm assuming you put the systemui.apk into the morph folder?

If so it has to be folders that go in the morph directory not apk's.

apk's go in extras, in the appropriate folder.

I'll post a how to use the universal theme zip later.
[Galaxy S II Themes and Apps] Phone_Guru:
Do you know where I would find the progress bar images that show in the notifications panel when downloading from the market as well as the in-call keypad background?
[Galaxy S II Themes and Apps] billab0n6:
Hi dully...

If i were to wanna change my screen_background_dark_transparancy.png, all i have to do is download the empty universal template, and follow your instructions and flash? Just that png only? I mean i only need to put just that png i want and just flash and it will change my framework for scren_background_dark_transparancy.png?
[Galaxy S II Themes and Apps] Nerenye:
Very Helpfull guide thanks alot !
[Galaxy S II Themes and Apps] dully79:
Ill tell you what they are called but ill let you find them, consider it homework:

progressbar_indeterminate1/2/3/4.png

Yes, just put any images you want to change in the morph folder and in the appropriate directory.

Your welcome.
[Galaxy S II Themes and Apps] dully79:
How to use the "Empty Universal Theme Template.zip".

The zip is made up of 6 primary files:

*META-INF

*MORPH

*tools

*XTRAS

*MOD.config

*README.txt

The "README.txt" contains credits and information on how the script works but illl try and explain it with more clarity.

The only folders we need/use are "MORPH" AND "XTRAS", leave the other files alone.

MORPH

This folder is used for replacing the

internal

files of an apk.

What does this mean?

Basically you place in here your png's,xml's(compiled!!!), resources.arsc and classes.desc(if your deodexed) in the appropriate directory within the "MORPH" folder, example:

I change my status bar png so i need to rebuild the path within "MORPH".

If i open up the SystemUI.apk and navigate to my "statusbar_background.9.png" it will be located in "SystemUI.apk/res/drawable-hdpi/".

The SystemUI.apk belongs in "system/app/" so we build a directory in MORPH that looks like the following:

MORPH/system/app/SystemUI.apk/res/drawable-hdpi/statusbar_background.9.png

TIP: If you are not sure where a file should be positioned in the MORPH folder just open up the apk your working on and follow the path, then re-create it within....

Or

Extract the apk and work your way from inside out deleting EVERYTHING EXCEPT for the files you are changing. Now you should be left with the apk structure containg just those files, you can now open up the empty template, goto MORPH and drag in the apk FOLDER you just edited.

>>>Picture<<<

XTRAS

This folder is used for replacing apk's

apk's should be placed in one of the following:

XTRAS/system/app/ This is for system apk's

XTRAS/system/framework/ This is for framework apk's

XTRAS/data/app/ This is for market apk's

XTRAS/sdcard/ This is for any extras you want to push to your sd card

Hope this helps, happy flashing.:)
[Galaxy S II Themes and Apps] shockwaverider:
Hi again dully, next question...

I'm porting the theme I've been using and modding over to a new base to work with the latest checkrom. It has some rom-specific things going on in systemui, so I more or less have to build on top of that. Anyway, the expanded status bar view looks a bit different from mine - specifically the png that sits under the carrier label and clear button (I'm not at home to see what it's actually called) is taller in the new base, and doesn't look very good to me. If I just decompile and paste over the status_bar_expanded.xml in layouts, will this proportion things the way I want them, or do I need to do more than that?

And same issue but different problem, the aforementioned png is a 9.png in the new base, but just a normal png in the theme I'm porting over. I haven't had any luck converting it to a 9.png (when I click "show bad patches" in the sdk 9.png tool, it shows red everywhere lol). So my question is then, what do I need to edit so that the theme will use my png and not look for a 9.png?
[Galaxy S II Themes and Apps] dully79:
.9.png's are preferenced over standard png's.

Just open YOUR image with 9 patch and edit the borders, then compile and add it.
[Galaxy S II Themes and Apps] Phone_Guru:
I've edited those files and their tw_ variants The bar I'm talking about is green in stock ROMS.
[Galaxy S II Themes and Apps] hoffm59:
Thanks for this very usefull Guide
[Galaxy S II Themes and Apps] dully79:
Progress_horizontal.xml
[Galaxy S II Themes and Apps] billab0n6:
Dully, what do u mean by placing xml or resources or etc? If i were to just change screen_background_dark_transparancy.png... Do i still need to create any xml to put in morth folder?
[Galaxy S II Themes and Apps] dully79:
Your question has already been answered in the thread

----------------------------------------------------------

I'm starting to get annoyed now by people who are not even attempting to solve problems themselves, instead they come running to me looking for quick answers to questions that a retard could solve with a little investigation and common sense.

The thread was started to try and help people to get started, not to spoon feed the imbeciles.

I realise we all start at the beginning but a lot of the questions I'm getting asked via PM are ludicrous.

I don't have much spare time due to work and my family but any time i do get I seem to be wasting it explaining the simplest things instead of working on things of more importance.

If the stoopid questions continue ill ask for the thread to be locked and disable my PM's.
[Galaxy S II Themes and Apps] mossination:
Ehh..now I feel bad for asking this. Im still searching around for it but was wondering if you knew which xml that I have to edit to take the text off the status bar toggles. Just seeing if you or anyone else on this thread knew. Thanks.
[Galaxy S II Themes and Apps] m1keyb:
If you're referring to jkay toggles - set status bar options/show quick button text untick
[Galaxy S II Themes and Apps] dully79:
I don't mind too much about daft questions in the thread, it's more PM's.

I log in and I've got a inbox full of silly questions.

Thanks Mikey.:)
[Galaxy S II Themes and Apps] mossination:
Oh no I'm not using a mod. I mean in general. I know theirs a way to remove the text by editing an xml. Im just trying to figure out how.
[Galaxy S II Themes and Apps] dully79:
I'm not on my PC so I can't look but if I had to guess it would be in SystemUI/res/layout/, maybe status bar expanded.

Try and search the xmls for a line that mentions "quick_panel", then try and find the part of the line that mentions text.

If you haven't found it later on I'll have a look if I manage to fire up my PC.:)
[Galaxy S II Themes and Apps] m1keyb:
I don't know if it'll be the same because i'm using jkays mod but it may point you in the right direction...

SystemUI / res / layout / quickpanel_quick_settings.xml which references res / values / strings where you'll find all the text.

Question for dully or anyone else:

Can you just delete the text from the string so

<string name="quickpanel_gps_text">GPS</string>

becomes

<string name="quickpanel_gps_text"></string>

Or is there a 'more correct' way of doing it?
[Galaxy S II Themes and Apps] dully79:
I dont think there is a "correct" way, as long as it works without causing conflicts then the job'is'a'gudn.

The only thing with the above is when re-compiling it might complain about missing code. I think it would be better to open strings in values/strings.xml and changing the "GPS" line to " ", i cant really say without testing though.

Iv'e just got to my PC and looking inside "quickpanel_quick_settings.xml" the gps line reads:

<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="12.0dip" android:textStyle="normal" android:textColor="@color/quickpanel_text"

So we can either change the green code to make it disappear, this would have to be done on all the entrys,

Or

Goto "values/colors.xml/quickpanel_text and change the value, which would then change ALL of the quick panel text in one go.

If you need the code for transparency its 00000000.

Hope this helps, give me a shout if you need any more help.:)
[Galaxy S II Themes and Apps] mossination:
Yeah ill try the first option later when I have my laptop. The second option would change the color to transparent but would still have the space where the text is.
[Galaxy S II Themes and Apps] blion:
Excellent guide! My only comment is that perhaps you should mention that to edit .9 files you first need to decompile the apk, edit it and the recompile. Thanks!
[Galaxy S II Themes and Apps] dully79:
When do i edit the 9patch border??

If you decompile an apk and make edits to a .9.png please check that your borders are unaffected and remain black/000000.
[Galaxy S II Themes and Apps] blion:
Sorry perhaps just my english but i actually read that and thought decompiling was optional. Anyway i was able to mod my theme as set out in your guide so am v happy! :D

Just a couple of questions, where is the location of the files controlling the colour of the clock and also the default avatar picture for contacts without a photo?
[Galaxy S II Themes and Apps] maskerwsk:
does anyone know what file i need to edit to change the 'usb connected' background to transparrent?

and any other png that might pop up where 'usb connected' is shown

see attached pics.
[Galaxy S II Themes and Apps] m1keyb:
divider_horizontal_dark_opaque.9.png

divider_horizontal_light_opaque.9.png

quickpanel_title_background.9.png

statusbar_background.9.png

title_bar_portrait.9.png

title_bar_shadow.9.png

Sorry I Can't be more specific but looking at my phone I have those transparent in systemui.

I think usb connected is statusbar and ongoing is the title_bar
[Galaxy S II Themes and Apps] maskerwsk:
just tried editing the ones you said and still no luck, as ive already edited those files.

the media scanner brings up the same dark background aswell, think its same file. could it be in framework-res?
[Galaxy S II Themes and Apps] manishdev:
One question regarding universal theme...

I have a 19100g so for porting i just copy the pngs and dey work well but der r a few xml which i wanna port (progress bar etc) how do i make des xml universal so tat dey can be used across all firmware??? Since like 19100 we too have different firmware.

Since widout d xml n wid only d pngs the theme looks incomplete.

sent from the DARK SIDE
[Galaxy S II Themes and Apps] dully79:
Not at my PC so I can't check but I think it's status_bar.xml in Systemui/res/layout, there are some guides if you do a search.

what picture do you mean?

There are pictures in contracts list, pictures during a call

Try "status_bar_item_background_normal.png" in framework-res, you'll want to change pressed and focused too.

You'll have to use the xmls from your device, have I answered this previously???

And thanks Mikey for helping out:)
[Galaxy S II Themes and Apps] m1keyb:
Having a proper look now i'll update this post with the info

dully is correct :D

yellow - systemui - quickpanel_quick_launch_background

red - systemui - title_bar_portrait.9

blue - systemui - quickpanel_title_background.9

green - framework-res - status_bar_item_background_normal
[Galaxy S II Themes and Apps] manishdev:
Yup u did answer a part of it just the doubt was how do i make des xmls universal? I know i can port them but then dey become firmware dependent and how do i make them universal
[Galaxy S II Themes and Apps] dully79:
Let's say you want to make progress_horizontal universal...

*Get YOUR framework-res.apk

*Decompile

*Open up progress_horizontal with NotePad++

*Make your edits and save

*Compile

*Pull the compiled xml out of your new apk and add it to the universal theme zip in the correct path.
[Galaxy S II Themes and Apps] stone_ship:
Hi dully,

I am wondering does anyone know where to change the layout for the dialer buttons (call, message, etc.)?

I was able to hide the video call icon with Pako7's PUMa utility, but I also want to swap the location of the Call button and the Message buttons in this AOSP GB theme (screenshot).

I tried Contacts.apk/res/layout/dialer_app.xml and was not successful. Any help would be appreciated!
[Galaxy S II Themes and Apps] dully79:
Have you tried main.xml?
[Galaxy S II Themes and Apps] manishdev:
Thanks a lot got it :)
[Galaxy S II Themes and Apps] stone_ship:
Hmm, where is that? I dont seem to have it...
[Galaxy S II Themes and Apps] dully79:
Me neither lol, I must have been thinking of something else.

It's quite hard to try and track down on my phone but looking inside drawable-hdpi there seems to be some xmls named after the buttons, maybe looking inside these might help to trace?!
[Galaxy S II Themes and Apps] stone_ship:
Thanks I will post back if I get it right. I am sure it must be in dialer_app.xml.
[Galaxy S II Themes and Apps] stone_ship:
Yup, it is in dialer_app.xml. It wasn't working for me b/c I was using a Hyperdroid apk that must've had the multidpi mod. Used a clean apk and it worked out well:
[Galaxy S II Themes and Apps] maskerwsk:
thanks for the help but i must be doing something wrong, just tried modding all the files above and still i get the dark bar. is there any chance any1 could send me a theme folder that will perform this mod? just for the green areas on your picture.

would be appriciated :)

edit - got it working now :) framework folder was not in correct place,

thanks for the help
[Galaxy S II Themes and Apps] manishdev:
Hi

My batery changes in steps of 5% how do i get the 1% step decrease back?

I checked all the pngs and they are in terms of 1% increase still the battery changes 5%.

Any edits in any particular xml?
[Galaxy S II Themes and Apps] DSA:
This is the thread i have been waiting for dully - just brilliant

already helped myself create a new looking rom just from this thread (took the info and expanded on it)

Thanks for taking the time to put this info out there
[Galaxy S II Themes and Apps] dully79:
Ok, as im not interested in getting my post count up like others ill reply to all in one post......

here goes:

Glad you got it working mate, care to write a how to for others?

If your unsure of paths just have a look inside system folders and follow them.

In my bid to get people learning ill put you on the path:

*Get your Contacts.apk and Phone.apk onto your pc

*Extract both of them

*Inside these you need to look for any images that match the images

on your phone in the res/drawable folders:

Contacts.apk =contacts list

Phone.apk = pictures during a call

Use the link for UOT battery in the first post

Thanks, dont forget to hit the buton that looks like this-
[Galaxy S II Themes and Apps] manishdev:
Thanks a lot fixed it.....

I may come a little crazy is it possible if i knw wat chnges were actually made un the framework apk??

Dnt bother if its a stupid question
[Galaxy S II Themes and Apps] maskerwsk:
ran into another problem,

does anyone know which file is linked the the music bar?

thought it might be statusbar_item_app_background_normal.9 but it seems ive already replaced that one,

any ideas?

thanks.
[Galaxy S II Themes and Apps] DSA:
just wondering who this was aimed at...

done and done :)
[Galaxy S II Themes and Apps] dully79:
I think it's " music_play_control_list_btn.png" in musicplayer/red/drawable-hdpi/

No one here lol, just some people reply to posts individually to make their thread appear more popular than what it actually is.:)
[Galaxy S II Themes and Apps] stone_ship:
I made a thread over at the i777 (SGS2 AT&T version) forums since I think demand will be greater over there. We are able to run int'l firmwares no problem, but there's no way to activate video calling in the US so it's a useless button for us. The guide shows you how to do more than remove the button, so I hope it helps anyone trying to theme the dialer!

link: http://xdaforums.com/showthread.php?t=1524590
[Galaxy S II Themes and Apps] kranti2064:
found it.. it's theming time... :)

great thread. rated and thanked.. :)
[Galaxy S II Themes and Apps] iekansh:
Is it possible to port a theme for a particular rom from another forum? Like a cm9 theme or aokp theme for Gnexus to SII cm9/aokp? Any guide for that?

Or any guide for status bar porting?

TIA
[Galaxy S II Themes and Apps] dully79:
The difference is they are all diferent apk's controlling different parts of the system.

Thats like asking whats the difference on a car between the engine and the cd player

Ok mate thanks.:)

Its possible to port anything you want as long as you have the know how, just do a search and youll find a load of threads:

http://www.google.co.uk/search?q=ho...s=org.mozilla:en-GB:official&client=firefox-a
[Galaxy S II Themes and Apps] ErnestMBE:
Just have to say a massive thanks to you dully - have been using your guide (and the following questions and responses) quite heavily recently, and have learnt a lot! Still got a long way to go, but this has really helped me out, thanks for your time and effort (have rated and thanked too).
[Galaxy S II Themes and Apps] TheBlackWolf:
Searching perfect post like this..... Thanx
[Galaxy S II Themes and Apps] dully79:
Thank you I'm glad it has helped you.

Just ask if you need anything....as long as it's not "whats the name of the status bar?"

Thanks but please don't quote the whole first post, it's annoying for me and other people trying to navigate.
[Galaxy S II Themes and Apps] chaser_:
Hey Dully,

I'm trying to edit 'framework-res.apk\res\values\colors.xml' but am getting stuck on the final step.

When looking at the decompiled version, I can see 207 folders under the 'framework-res.apk\res\'. However when I compile with apktool and open the compiled apk with 7-zip, only 28 folders are visible under the same folder (and the one I need, 'values', is not visible). Any ideas what could be going wrong here?
[Galaxy S II Themes and Apps] dully79:
That's ok, ask the folders are compiled into resources.arsc. When your finished editing and compiling you need to use resources.arsc to make the changes add you would with an xml or png.:)
[Galaxy S II Themes and Apps] manishdev:
dully great great guidea :)

i knw how to get an image in notifican bar (the one which shows wen h pull down the bar )

any clue if i can get an animation in dis notification bar...have seen a few moving images
[Eee Pad Transformer Q&A, Help & Troubleshooting] puddle22:
how do i update dock firmware?

im on latest revolver rom cant see anywhere to receive ota firmware upgrade for dock, my dock firmware is definitely out of date
[Eee Pad Transformer Q&A, Help & Troubleshooting] sidneyk:
Revolver's latest ROM includes the update. You may need to grab Revolver Parts from the market to get it if you don't already have it. The latest dock firmware version is EP101-0213 under settings, about tablet, at the bottom.
[XPERIA X10 Q&A, Help & Troubleshooting] King Zing:
Hi all!

it's very strange because i used to find a big list of apps when i search for "free call" in the market for examble, but suddenly now i can see only 2 apps after that certain serach!!

it's not the problem of "free call" only! most of my searches now are useless and no results are shown!!

imagine that Tapatalk and XDA apps are hidden while i tried to download them from market a while ago...

everything has disappeard suddenly

i'm using the 2.3.6 version of market with using the market enabler and orbot for proxiyng "i tried another proxies but the problem is the same, and those hidden apps were shown using the sam orbot a while ago"

thx!
[XPERIA X10 Q&A, Help & Troubleshooting] King Zing:
hey...any solution?

Sent from my X10i using the XDA mobile application powered by Tapatalk