yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] HeckNoTechnO:
Another question if you guys don't mind leading me in the right direction. Say I have a skin I am adding to a rom, how would I make that the default skin when the rom is flashed?
[HTC EVO 3D] steal25:
There's a line that needs to be added to the build.prop

I think its

Persist.sys.default.skin= your skin name

I'm not 100% on the exact wording when I get home ill double check

From my inbREDed EVO 3D
[HTC EVO 3D] GrimReaper24:
Nice :) So I been poking around in the IME apk . Seen a few things related to the background in it such as color code but don't see any value in the color folder?

For the background color value .
[HTC EVO 3D] HeckNoTechnO:
Thanks Steal25 Let me know when you have time.
[HTC EVO 3D] steal25:
the actual line is

persist.sys.skin=your.exact.skin.name
[HTC EVO 3D] pstevep:
added dropzeroc's guide and mod thread to post 2.
[HTC EVO 3D] pstevep:
Thesparky007 made portal front Page.. Congrats buddy.
[HTC EVO 3D] metaphysical_calamity:
Congrats man!
[HTC EVO 3D] thesparky007:
Sweeeet!
[HTC EVO 3D] thesparky007:
I wouldn't have had it if it wasn't for your and jeffs work!
[HTC EVO 3D] GrimReaper24:
Congrats man .
[HTC EVO 3D] GadgetFreak:
Nice to see some recognition for everything that has been coming out of the woodwork over the last couple of weeks...
[HTC EVO 3D] thesparky007:
This whole thread should have been on the portal a long time ago!
[HTC EVO 3D] metaphysical_calamity:
Agreed
[HTC EVO 3D] trollallot:
Never mind disregard please
[HTC EVO 3D] metaphysical_calamity:
Any help much appreciated :D
[HTC EVO 3D] knightwolf123:
Please forgive me of this has been asked before but where (in a sense 3.0 skin) do I go to change the volume progress bar color. Tia
[HTC EVO 3D] chogardjr:
It should be in the progresshorizontal.xml in the same directory structure as you would find it in the framework.

From a MikG infused SuperCharged Evo4g!!!
[HTC EVO 3D] metaphysical_calamity:
Anyone know if screen rotate animations from ICS can be ported over to 3.0? (Or sense 3.5 rotate effect same thing) I'm guessing it would take some new lines and integers for the rotate effect.. I'm determined to find a way. Also where would I look for that animation..? TIA ;)

Sure its been asked, couldn't find anything on it.. sorry!
[HTC EVO 3D] thesparky007:
ive been wanting to port that too but never really got around to looking into it. But its might be a good start to ask the guy that ported the ICS animations in the first place

@reaper - the bg for the keyboard is an image not a reference :P
[HTC EVO 3D] jeffsanace:
They would have to be created in the code structure as there are none currently. That's why it hasn't been ported.

Sent from a place only a " Bad Seed " could grow.
[HTC EVO 3D] GrimReaper24:
Lol i noticed that think I finally found all the stuff I needed to do something. With it :D

Played around with things till 4 am last night.. Pokin through things..

Only question I have is on the color value.... I noticed some xmls in the values folder have color code you can edit.. Like a background color or some text color.. But in the color folder xml has no value for it..

K Exp

^^) All apps view xml you can make it trans parent.. Also the color value xml has all apps view background.. You twist it to 00000000 yada yada..

But on other apks the color folder only has text color maybe but nothing else.. Tho in all the value folders some of the xml files have color code that can be swapped.. Like in the IME apk if you poke around in the values folder..

So what I am wondering is if you see something you wanna swap around color wise in the value folder with any xml should it play nice..

Been having fun with this :D

Been toying around with things .. Finding shortcuts on some things.. :D

Got the 9png files nailed :D..

---------- Post added at 04:39 PM ---------- Previous post was at 04:10 PM ----------

One thing that work well if you just wanting to edit color or add a something on top of it.. Just decompile with apktool the apk your working on..

Do your edits just don't cross the line... Save it.

Now recompile it.. Sign if needed.. Your sitting pretty...

You can swap 9.png files from one apk to the other.. Works too like if you edited the same thing in the SystemUI but wanna copy of it in the Framework-res like something statusbar related... Anyways wanted to throw this in :p
[HTC EVO 3D] thesparky007:
htc just did a bad job of coding and what not.. there is no consistency between apps but we have the great devs in this thread to figure all that out ;)

also the text color for the keyboard is in a smali, not xml.... i spent days messing with it and finally gave up but some on the warm team helped me out. Let me find the pm and ill post it here

edit: Max_pain sent me this and he got it from DJZager of the warm team

Originally Posted by DJZager
Here you go:

You are going to be opening up two separate files, paths are:
HTC_IME/com/htc/android/htcime/ezsip/KeyboardView.smali
HTC_IME/com/htc/android/htcime/ezsip/Port20KeySIPView.smali

Below you will find the edits for both files (I can't remember which has the v28 and which has the v30). All that you need to know is that when you open up each of these files there will be (1) instance of the Primary text, (1) instance of the Secondary text, and (8) instances of the Shadow Layer.

The purpose of the # is to comment out the shadow layer, so just add it before each of the 8 appearances of the shadow layer.

Make sure that you are finding exact matches to what you see below, there are alot of things that look similar that are NOT what you are looking for.

A note about what you'll see below
Code:
0xAARRGGBB
AA - Alpha Channel, read: Transparency
RR - Red goes from 00 to FF
GG - Green goes from 00 to FF
BB - Blue goes from 00 to FF

so white would be 0xFFFFFFFF
PRIMARY TEXT
Code:
const/high16 v28, -0x100
Change to:
const v28, 0xAARRGGBB (Hex Value of color you want)
and SECONDARY TEXT (Read: Special Characters)
Code:
const v28, -0x888889
Change to:
const v28, 0xAARRGGBB (Hex Value of color you want)
and the Shadow Layer
Code:
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
Change to:
#invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
okay this should only take care of ONE file. Once you have taken care of the one file move onto the second and find:

PRIMARY
Code:
const/high16 v30, -0x100
Change to:
const v30, 0xAARRGGBB (hex color you want)
SECONDARY
Code:
const v30, -0x888889
Change to:
const v30, 0xAARRGGBB (hex color you want)
SHADOW
Code:
invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
Change to:
#invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
After you have made your changes compile. Take a working copy and replace classes.dex with the classes.dex from what you just compiled.
[HTC EVO 3D] GadgetFreak:
My god, that looks complicated...
[HTC EVO 3D] GrimReaper24:
Nice man.. Smali isn't my favorite thing... But will dig more into it.. Also guessing if I wanna make the status bar header transparent I must edit smali too lol.

I have seen a few things in the values folder for the backgrounds and so on for the IME apk .. Wonder what I will get if I swap some **** around.. Thinking about toying with it tonight just to see...

Lol kinda looks like it may be a pain in the ass :rolleyes: :D But fun at the same time

So if you went that route on a edit for the keyboard what is the outcome of it? Anypics?

I seen alot of 9.png files for keys ... I am gonna try to find a shortcut... Hopefully make things easier.
[HTC EVO 3D] thesparky007:
what header are you talking about for status bar?

you can check my sig for the orangespark keyboard. I made that and darkspark
[HTC EVO 3D] GrimReaper24:
Checked one of yours out . The one in the notification the top one above recent apps which i still wanna make edit and the bottom bar I edited both .9 pics for it one in systemui other in framework res . But it still showing up black .
[HTC EVO 3D] thesparky007:
if you are using a leedroid compatible sysui, the header images are all the statusbar_titlebar...

the bottom two tabs are called status_bar_off and on

the very bottom image is status_bar_close which gets taken over by the same image in the skin so thats probably whats happening
[HTC EVO 3D] GrimReaper24:
I'm using stock 2.17 3.0 build my own rom :) Been hammering the theme out one step at a time . I have edited everything in the system ui . So I am wondering what is causing it to stay black.
[HTC EVO 3D] steal25:
it is also in skins so if you are using one it wont change with the sysui edits.
[HTC EVO 3D] GrimReaper24:
The top header one? I am looking through the m10 files I don't see a header in there.. Been looking through the fusion thing..

I am using the default skin which is the one I have been working on and using.. Has worked well just can't figure out why the statusb bar header won't budge.. Ill post a screen of what I have...

I have already modded the 9.png files.. All in the System UI..
[HTC EVO 3D] thesparky007:
those are both in the skin thats why they wont change, download my icsspark skin and you will see it change
[HTC EVO 3D] dased14:
same names in skins isnt it

status_bar_close_on.9

status_bar_app_bg

status_bar_header_background.9
[HTC EVO 3D] thesparky007:
yea and i think also, status bar titlebar , titlebar left and right
[HTC EVO 3D] dkdude36:
hey guys i'm having a little trouble. it's impossible to put statusbar icons into a skin apk right? oh, and is there any version of m10tools or other m10 thing (virtuous studio?) that tells you what things are? i'm photoshopping all this stuff and i have no idea what it is <_< :/
[HTC EVO 3D] thesparky007:
nope and nope, you just have to do it manually... its also a big guessing game
[HTC EVO 3D] dkdude36:
so we either need to make custom metamorphs to accompany our themes or just let it be? that sucks.

and wtf htc! y u no give m10 files names!

oh, and the upside down thing? that's another wtf...
[HTC EVO 3D] GrimReaper24:
You get the hang of it man . I did it snot load of it kinda can guess what is what :)
[HTC EVO 3D] GrimReaper24:
**** lol I see those in the system ui just didn't think I needed to do em to .

Think that is all I need the left and right .
[HTC EVO 3D] GrimReaper24:
Throw up the pic ill take a look. Lol anyone a diablo fan ? Blizzard game good old days .
[HTC EVO 3D] il Duce:
Sparky007 you saying we CAN add statusbar system note icons into a skin??
[HTC EVO 3D] dkdude36:
a pic of what? if you mean upside down thing, i mean when you open m10 textures, the images are upside down. just random.
[HTC EVO 3D] steal25:
i dont see why it would be impossible, like the dialer V was talking about does accept skins, so i think if we add that .png and figured out the proper numbering of the public id it may work, but then again it probably has alot to do with .smali because i see "skins" all through .smali when im looking through it. i think it just needs to be tried and see if it works. but like i mentioned the other day the public id is different in skins than it is in that .pngs respective apk so more than likely code would need to be added to that apk to accept that png. thats just my guess, but im sure its not impossible.

Also is anyone familiar with what controls the animation of m10s like for instance me and dased are trying to make the lockring spin when opened instead of expand or spin and expand either way would be cool.
[HTC EVO 3D] il Duce:
Sounds cool. I'm sure it's in idlescreen smali. But you probably know that lol.
[HTC EVO 3D] GrimReaper24:
Ya I know lol i played with it a lot
[HTC EVO 3D] steal25:
We were looking through smali but i thought what we found in m10 was a bit more promising, well keep looking.

From my inbREDed EVO 3D
[HTC EVO 3D] GrimReaper24:
I know the clock thingy . The other few big pieces are for the message and people widget . Also the date thingy . One is for the main lock screen for text .
[HTC EVO 3D] GrimReaper24:
Lmao a chainsaw :) sounds cool. I would look in the weather part since it has animation for the clouds and ****.

Just a idea.
[HTC EVO 3D] thesparky007:
no, the manual part was for editing m10 images
[HTC EVO 3D] GrimReaper24:
Well I figured it out.. Did steal figure out the animation thingy..
[HTC EVO 3D] GrimReaper24:
The big chunks get easy the lil bars are for the widgets top the others are parts of the widgets. Nothin to insane :)
[HTC EVO 3D] jeffsanace:
Just dropped a new theme guys/gals, not too much but I like it. Go check it out and leave me some love. http://xdaforums.com/showthread.php?t=1582691
[HTC EVO 3D] silverxbv2:
I'm just stopping in to let everyone know that Jeff's 4x5 Rosie mod works on ics also, at least on my Rezound. Nice work buddy. :thumbup::thumbup:Bad seed fo life

Sent from my ADR6425LVW
[HTC EVO 3D] jhawk1302:
wallpaper/theme help

Already posted and il duce helped a lot, but still having a problem narrowing this down...I am trying to cook a skin into a theme...simple enough, I have edited build.prop to where it is pointing exactly at the theme name as it is written in manifest.xml ie: persist.sys.skin=com.whatever.skin...everything boots upon flashing EXCEPT for the wallpaper, lockrings, widgets, colors, anything baked into the skin is essentially there, except the wallpaper, it is not my wallpaper backed up from google account (already checked) and certainly not what you get if you were to flash the skin and load it from in the phone...seems to always end up as the skin_spc wallpaper...but no idea how to change it to the one in the skin...any ideas? Also looking to figure out how do the same with themes, no as easy as simply writing over the files in the stock rom when opened in kitchen...so I'm missing some links there...any help is appreciated, and thanks again duce :)
[HTC EVO 3D] il Duce:
I'm still confused. Did you make a skin? What's it named? Did you install it as an apk first? Aahhh.
[HTC EVO 3D] vanessaem:
I have a question for you all. I always have trouble making nice looking progress horizontal bars. I would like a good 3D effect for them. My question is, what values should I set in the hex values to make them look similar to what's attached? Or any other suggested 3D effect ideas would be helpful as well.

Basically, where would I put the darkest color, lighter color and lightest color for the gradient, in the android:startColor, android:endColor, and android:centerColor locations? :)
[HTC EVO 3D] jeffsanace:
Is your wallpaper in the skin a jpg.? And is it the exact size of the stock one? I've seen a few times where a skin wallpaper wouldn't show up because of one of those things. As far as themes, you would have to rewrite sense to make that happen. Adding to skins would be much easier, and that's not easy either.

Sent from a place only a " Bad Seed " could grow.
[HTC EVO 3D] GrimReaper24:
I know two areas I have seen a default wallpaper that may cause a issue. One is in the framework res . Tryin to remember where the other is. Think its still in the framework res . Two that I know of.

I haven't seen a wallpaper in the m10 files.
[HTC EVO 3D] tommytomatoe:
Hey gang!

This isn't really a guide nor is it a tutorial...but it is a big time saver.

#! /bin/bash

echo stopping
adb shell stop
sleep 0.5
echo starting
adb shell start

I use that simple little script to save lots of time. Instead of doing full rebot or reboot manually on the phone, you can run that script. It will shut down phone for half a second and then start it back up, similar to a hot reboot.

This comes in handy while testing mods.

The script is attached.

Just put it somewhere in your PATH, /home/username/bin is a good place. Thats where I put mine.

Download.

Untar (built-in file archiver for most Linux OS will do)

Place script in /home/username/bin

Give the script executable permissions (run once only): chmod +x ~/bin/adbs

Just run in terminal: adbs

That's it!
[HTC EVO 3D] jeffsanace:
In skins its in assets/image folder. If the skin is installing automatically at boot there should be no reason only the wallpaper isn't. Should have nothing to do with the default wallpaper.

Sent from a place only a " Bad Seed " could grow.
[HTC EVO 3D] GrimReaper24:
I'm lost on the question . I haven't seen a m10 with the 3 skins having any wallpaper in em. I was talkin about sense 3.0 if you just modded the fusion default skin to your liking or the others. Depending on the rom some have two default walls. One that will pop up on first boot if you are flashing a rom then the theme.

Anyways I'm sure he will figure it out.
[HTC EVO 3D] jhawk1302:
Thanks

Thanks for everyone's input, in simplest form, I'm taking a stock deodex rom, stripping it, and adding a theme, pick any, i've tried several, kinda partial to the blue ones though...instead of flashing it over...i've written over the files in the rom..setup build.prop to point to the correct name as written in manifest.xml...there is one time flash of default_wallpaper as the rom is loading, then it reverts to the sprint_scene wallpaper, although everything else from the skin is there, I've located the assets/ folders and verified the new wallpaper is there, in one case it is another scene wallpaper so dimensions are correct, also tore through framework_res, but unless I manually change the skin in the personalize settings, then it's a no go...going to try swapping and renaming the default jpg and shows_over jpgs now to see if that is a simple fix...this was actually quite easy minus the wallpaper part...I want my rom lean but still nice to look at...just a simple first crack at it anyway, thanks again for everyone's help. Also going to try mess with fusion.apk more, but everytime I get in there I screw something up and bootloop :S trial and error I guess...just had neck surgery so I got a lot of time on my hands lol.
[HTC EVO 3D] steal25:
i had the same issue after switching to the new base heres what i did to fix

add your wall paper to system/customize/resource/youwallpaper.jpg

and add this line to system/customize/MNS/default

<function name="default_wallpaper">

<set name="single">

<item name="image" type="file_name">system/customize/resource/yourwallpaper.jpg</item>

</set>

</function>

see if that works.
[HTC EVO 3D] GrimReaper24:
How you screw the fusion up lol. I am gonna crack at the IME thing for the hell of it. Hopefully I find a shortcut :)
[HTC EVO 3D] jhawk1302:
lol like I said I got a lot of time on my hands...Ever since downgrading 1.5 I figured I couldn't screw anything up THAT bad so I got brave...I'm tearing all sorts of sthi apart...give me enough time and I can screw up anything...that's what all my ex's say anyway :S

think steal's on a a roll though...gonna try the easy path first this time ;)
[HTC EVO 3D] GrimReaper24:
Lmao . I haven't had any borks on anything just been having fun . Playing with frame work res and the 9 png files.
[HTC EVO 3D] il Duce:
It's been a while since I did it, but why not input 3 colors that are obvious into the xml, like red white and blue, then try and see where each color lands in the bar. Then pick the codes you actually want, put those in, see what happens, tweak again/mod, etc. :)
[HTC EVO 3D] vanessaem:
Ok, I'll try that. I was just trying to avoid decompiling then recompiling to see how it turns out then decompiling again if if looks bad...lol.
[HTC EVO 3D] steal25:
I'm not sure which, not ay home to check, but I know one is top one is bottom and one is an overlay to give it that look you want, look at a untouched xml the one with the lowest alpha value is the overlay the other two are the color of the bar one will be darker than the other. And the overlay will be the same as the main color with the lower alpha value

From my inbREDed EVO 3D
[HTC EVO 3D] vanessaem:
Ok, I really need help with this. Does anyone know of a program that will be able to compare two folders and pick out the files that have the exact same file names, let me select those files, and copy those files from Source folder A to Destination B folder?
[HTC EVO 3D] steal25:
Beyond compare, that's what I use, but there is also kdiff and win something something. There's also a plugin for notepad++. I really like beyond compare and use it daily.

From my inbREDed EVO 3D
[HTC EVO 3D] il Duce:
I use kdiff.
[HTC EVO 3D] vanessaem:
I've got WinMerge and Kdiff. I have to see about Beyond Compare.

I have no idea how to use any of these programs to do what I was describing though. :(
[HTC EVO 3D] steal25:
With beyond compare you right click the folder a and select compare and the right click folder b and select compare to folder a (its written differently) then when it opens it shows all the contents of a and b then just click individual files or folders and a drop down with options will pop up. Just select your option. Easy money.

From my inbREDed EVO 3D
[HTC EVO 3D] vanessaem:
Thanks guys. :)
[HTC EVO 3D] jhawk1302:
WOOT

Well, the name still shows up as "default" using this part of the script...but it appears your second go...1_wallpaper in the same xml is the culprit...I changed all directives to point to different ones when it booted up and sure enough..thats what I ended up with...whatever that line points to is what you'll get...took me 24 hours just to get that one part down...but now it's a lock, HUGE thanks to duce and Steal for getting me pointed in the right direction...someone else was asking about all this before me in my research, dunno if they got it or not but I'll put something together as soon as I KNOW what I'm talking about lol Thanks again.
[HTC EVO 3D] steal25:
Yeah I added that line and changed the wallpaper1

At the sametime so I didn't remember which it was. Glad you got it figured out.

From my inbREDed EVO 3D
[HTC EVO 3D] il Duce:
Exact same with kdiff
[HTC EVO 3D] fernando sor:
The first line of three colors is the background. Those i always left alone. They are dark Grey's.

The next line of three color codes is transparent. That's what gives it a 3d look. You will notice none of the colors are alpha ff.

The last line is your color with alpha ff.

As a learning tool try leaving the top line alone and make your colour changes to the bottom two lines but don't change the alpha
[HTC EVO 3D] vanessaem:
I know that stuff. I just needed to know where to put the colors so that it would make a convincing looking 3D effect similar to the example I posted. :)
[HTC EVO 3D] fernando sor:
Well If you know it the principles are the same.
[HTC EVO 3D] vanessaem:
I just thought you all had an idea where to place the variations in colors to create the effect. No worries, I'll try what Duce suggested. :cool:
[HTC EVO 3D] silverxbv2:
I've always just left the first string alone. The next string I go light, medium, dark. The third string I make the same as the second string, I just don't change the alpha value

Sent from my ADR6425LVW
[HTC EVO 3D] vanessaem:
I have a weird black bar attached to the "Personalized" background. Does anyone know the name of that png? Since this is a skin, the name may be different from the png in a regular theme.
[HTC EVO 3D] trollallot:
Ok done puling hair out...have none left...where do I find this background?

Edit....got the bastard...overlooked it
[HTC EVO 3D] GrimReaper24:
Looks like one of the 9 png imgs .. The black went outta wack instead of red taking over..
[HTC EVO 3D] steal25:
framework-res/res/drawable-hdpi/

status_bar_item_app_background_normal.9,

status_bar_item_background_focus.9,

status_bar_item_background_normal.9,

status_bar_item_background_pressed.9

those should do it.
[HTC EVO 3D] vanessaem:
Ok...the question is which png? :p
[HTC EVO 3D] GrimReaper24:
Nice lol. For some reason the IME apk. Decompiles and rebuilds right... But always FC when you throw it back into a rom..

---------- Post added at 02:48 AM ---------- Previous post was at 02:46 AM ----------

I been looking for that one :D I know that the IME pack has one of those .. Also the framework res has one.. Still tryin to find that and the top one my self...
[HTC EVO 3D] steal25:
Are you resigning? what edits are you making? are your .9s compiled properly?
[HTC EVO 3D] vanessaem:
OMG...this happens every time. I'm always almost done, then it's like one or two things holding up the completion...dammit...lol.