yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] Dunc001:
Yeah, I know :D But VTS is a big step forward with descriptions of what's happening, jumping between references, goto's, cond's and so on. Still a major PITA but getting easier. Also decompiles back to java source...

So yep, might be biting off way more than I can chew but hey, everybody loves a trier right ;)

Feel free to jump in and help BTW...
[HTC EVO 3D] pstevep:
I <3 fern
[HTC EVO 3D] silverxbv2:
Hmm. Seems random. But thanks for sharing. :p

Sent from my ADR6425LVW
[HTC EVO 3D] HeckNoTechnO:
Another Question

so if my skin was dmn.apk i would:

persist.sys.skin=dmn.apk ??

do I place the skin in the system/apps folder?
[HTC EVO 3D] fernando sor:
If i can help I will. It isn't personally something i feel the need for but it does sound like a cool project. I need to become familiar with the New dev tools diamond put out
[HTC EVO 3D] steal25:
Place the skin in data/app

and the name would be-

persist.sys.skin=name.in.manifest

probably something like com.dms.skin or whatever the name in the manifest is.

if that makes sense.
[HTC EVO 3D] Dunc001:
Question - in my solution in VTS I have decompiled the idlescreen-base, idlescreen-shortcuts, rosie, settings, settingsprovider, framework-res, framework-htc-res, tweaks & systemui apks. However when I search across all the files in the entire solution folder (so all those decompiled apks in one go) I can't find 'Show launch bar shortcuts' which is one of the strings used in the Sense 4 personalize screen. So where else could it be? com.htc.resources? It's the only apk I can't seem to decompile, tried the different apktool versions but no luck...
[HTC EVO 3D] fernando sor:
Unfortunately sense 4 com.htc.resources can't be decompiled until apktool is updated
[HTC EVO 3D] il Duce:
ok friends, tried to decompile the latest market/play store apk.

using apkmanager 5.0, no clue what version the underlying tools are.

got this error:

--------------------------------------------------------------------------
|Thu 05/03/2012 -- 9:33:27.05|
--------------------------------------------------------------------------
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
Could Not Find C:\Documents and Settings\white bear\Desktop\Stuff\apkmanager 5.0
\apkmanager 5.0\apk manager\place-apk-here-for-modding\../place-apk-here-for-mod
ding/signedcom.android.vending.apk
Could Not Find C:\Documents and Settings\white bear\Desktop\Stuff\apkmanager 5.0
\apkmanager 5.0\apk manager\place-apk-here-for-modding\../place-apk-here-for-mod
ding/unsignedcom.android.vending.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\white bear\apktoo
l\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
spinnerMode, value=0x00000000
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01030119
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Press any key to continue . . .

any ideas?
[HTC EVO 3D] fernando sor:
Duce Duce Duce! Stop using apkmanager lol.
[HTC EVO 3D] fernando sor:
Duce put these in your other folder

http://db.tt/pNT3acHe from my ADR6425LVW using xda premium
[HTC EVO 3D] il Duce:
only if I have to, and you put up with me on gtalk to setup and get the basics of straight apktool. I like apkmanager cause errythang is automated.

cool gonna try that, thanks ferny luv!

you new nick ^^^

EDIT: same error, exact same.
[HTC EVO 3D] fernando sor:
Which market version are you decompiling can you post it?
[HTC EVO 3D] il Duce:
3.5.16
[HTC EVO 3D] qaysedcftgb:
is a path to the apk with white spaces really working?

I always tried to avoid them to keep on the safe side

^ example for white space in bold seen

Cheers

qaysed
[HTC EVO 3D] fernando sor:
duce your getting those errors because the framework resources installed are framework-res from gingerbread. i tested and got your errors on gb framework and then installed ics framework and it decoded fine. in apkmanager framework resources would be in the other folder. they are 1.apk and 2.apk. the two is com.htc.resources which you dont need for google apps.

duce put me in apkmanager other folder

---------- Post added at 10:22 PM ---------- Previous post was at 10:20 PM ----------

and if you want to learn apktool which you should than yes hit me up on gtalk
[HTC EVO 3D] thesparky007:
any one been able to decompile sense4 apks successfully?
[HTC EVO 3D] fernando sor:
Apktool needs to be updated
[HTC EVO 3D] thesparky007:
ohh ok thanks brah
[HTC EVO 3D] fernando sor:
Sense 3.0 and gb are different animals
[HTC EVO 3D] fernando sor:
Have you guys tried to decompile and see I'f these issues existed before you modded?
[HTC EVO 3D] jeffsanace:
Framework is good now Ranger? It should have no issues now, I even decompiled and recompiled it twice just to make sure. Yes this file structure especially is much more complicated then previous. Can't wait to see how much different ICS will be with sense.
[HTC EVO 3D] il Duce:
He said decompile issues fixed :) actually happens with unmodified warm base FRres, so not our fault. Of course a lot of the pngs need attention, but no more apktool errors.
[HTC EVO 3D] jeffsanace:
Glad that fixes the issues. I'm not sure what mods he has done, but the battery mod looks odd. There are a couple of battery_charge images in there that don't match the battery mod. Just wondering if they are part of the mods he's done because they wouldn't be needed if not. You have any idea why those seemingly rogue battery images are there?

Edit......PS. He should use the systemui from earlier for his update as the one he's using now is not modded for the dropdown carrier text in values/strings.
[HTC EVO 3D] il Duce:
No idea, he's the one in the apk right now. I'm chillin on my couch getting ready for bed. If I turn on my computer right now I'll be up till 2am and my eyes will bug out of head. Lol.
[HTC EVO 3D] jeffsanace:
That's cool, was just curious as to why they would be in there. But if it's working, it's working. I'm getting ready to hit it myself. Have a good one.
[HTC EVO 3D] :
No clue where those batt pngs came from. They don't show anywhere on the ohone. Only ones I added were the white circle hc ones.

-- Sent from my 3D Shooter --
[HTC EVO 3D] :
Yup. Many images still have lost transparency though? Or am I an idiot?

-- Sent from my 3D Shooter --
[HTC EVO 3D] tommytomatoe:
@fern, yeah the 6990 is a monster. It doesn't get used to its potential by me that's for sure. Not enough time to play video games. It is the laptop version. Most bang for back a month ago. :-)

Sorry gang for the nerd talk. Back on topic. Where were we, 9.png?

tapatalk signature here. lovely.
[HTC EVO 3D] jeffsanace:
Didn't even check for transparency, how many of the .9's were trans? If it's not too many I'll re do them for you, just let me know what % trans you want them.
[HTC EVO 3D] thesparky007:
Since this is a unified thread for themeing, why not include a decompiled base so everyone can follow along the same numbers and such?
[HTC EVO 3D] :
It's actually the backgrounds of many icons. Check some out. Lots have weird white or black around them.

-- Sent from my 3D Shooter --
[HTC EVO 3D] jeffsanace:
I only replaced .9s that were bad. There were allot, you may want to go through and patch the ones you want to add to it. If you decompile the framework you posted you'll see witch ones need fixing. It beats starting from scratch, at least you're working with a good framework from the start.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] pstevep:
I love how you said sorry for the nerd talk.. Now let's get back to talking about decompiling apks and editing pngs..

It made me smile.. Because what isn't nerd talk on here.. If I say anything to anyone outside of this site about what I do on here their eyes just glass over..

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] thoughtlesskyle:
Haha I am amazed I still can function in normal society with how much of a nerd I am.

Just so everyone knows I am about to play arkham city with my GUNNAR glasses on.

I got both of those free through work, I am a nerd with a solid supplier
[HTC EVO 3D] pstevep:
thankfully i dont have a solid supplier.. when my wife and i got married she said i knew you were a geek, but i didnt realize just how much of a nerd you really were..

the very first actual conversation that i had with her when we met, i was sitting at a table reading a computer programming book, and one of my friends was asking me about halo.. that didnt tip it off for you??

i was looking at getting another job, and she told me that i should get something in an IT field, there were a couple open at the time.. and i told her, if i get and IT job you realize that you may loose me to the nerdness inside me..:cool:

she keeps me level.
[HTC EVO 3D] thoughtlesskyle:
Haha I am a supervisor of the gaming department at a best buy I have gotten/ am getting like 3/4 of the big holiday games free and have played like all of them
[HTC EVO 3D] dased14:
Free damn, how do you like those GUNNARS

<insert cool signature here>
[HTC EVO 3D] thoughtlesskyle:
I love them so far, they are comfy and they seem to keep my eyes from blurring out when there is a lot of movement going on
[HTC EVO 3D] Dunc001:
I've been able to decompile everything other than com.htc.resources from Sense 4.0. Had to use a patched version of apktool which I got from DiamondBack and 1.4.3 to decompile SystemUI.
[HTC EVO 3D] fernando sor:
Yes that's apktool with the smali and baksmali properties updated. I was able to do that manually as Im sure he did. The issue is being able to decode resources.arsc in com.htc.resources. the dimens are kicking out errors because apktool hasnt the ability to decode them. I tried manually updating apktool like i did for smali but no go
[HTC EVO 3D] il Duce:
1st - is that backwards compatible with GB?

2nd - I'll try when I get some time, thanks fern :)
[HTC EVO 3D] fernando sor:
It should be. You can always rename the 1.apk that is in there to like 1gb.apk and just leave it in there. If you need it just rename it to 1.apk
[HTC EVO 3D] Mikee4fun:
HTC ICS Phone Icon Location

Hey guys I am looking for the specific resource name for the phone icon for HTC ICS sense roms. There are a few scattered all over. So for changing the htcphone.apk icon does not change the launcher icon so I take it, is now calling the png in the htc resources. Can anyone tell me the specific name?

Thanks in advance
[HTC EVO 3D] il Duce:
things are gonna get busy in here soon with ICS live :)

ferny fern, hope you ready bro! lol :)

/d3rp
[HTC EVO 3D] fernando sor:
Good thing I've been running ics in my rezound for two months
[HTC EVO 3D] vanessaem:
^This guy's like bragging and stuff. :cool:

Brought to you from my EVOlutionary 3-Dimensional Smartphone.
[HTC EVO 3D] dmeadows013:
Could someone maybe add a guide for quicksettings (To make your own) and 6 signal bar mods? I know it's something in the smali but just don't know what/where lol. Mainly looking for 6bar at this point
[HTC EVO 3D] silverxbv2:
ICS is soooo 2 months ago. Fire away boys and girls. We've had it for a while.

And yeah, I'm bragging too :D

Sent from my ADR6425LVW
[HTC EVO 3D] silverxbv2:
I have it changed on mine. I wanna say its in the dialer apk, not phone

Sent from my ADR6425LVW
[HTC EVO 3D] Mikee4fun:
Well in the htcdialer there is a dialer.png which I already changed and nothing happened. There is a navipanel icon, I did not change but that is 164x164 I highly doubt it is that.
[HTC EVO 3D] silverxbv2:
There's 2 in phone also. Dialer.PNG and ic- launcher something. I looked at mine and I changed them all so i cant remember.

Is this for the 3d ics leak? What drawable folders do you have. We have hdpi and xhdpi on the Rezound. Sometimes they're not necessarily controlled by the right resolution folder

Sent from my ADR6425LVW
[HTC EVO 3D] dmeadows013:
LOL Rezound ftw :P
[HTC EVO 3D] fernando sor:
Porting zues mod to ics is the hardest thing I've ever done. Really not a guide for that
[HTC EVO 3D] fernando sor:
Creating buttons is pretty cool tho. I wish htc had source code for sense. Would make it easier
[HTC EVO 3D] fernando sor:
remember when i said you didnt need the 2.apk for google apps? this is where you need the ics com.htc.resources framework. actually you can just pull the resources.arsc from the com.htc.resources and put it in the 2.apk in your other folder.

savy?
[HTC EVO 3D] il Duce:
I was trying to decompile system ui.

I had resources and framework apks from the ruu. Still the same logic?
[HTC EVO 3D] fernando sor:
I know it's systemui. Im assuming thats your issue as i have been able to decompile sense 3.6 after everything i told you to do
[HTC EVO 3D] mutant13:
so thanks for all of your knowledge first off, fernando sor !!!

I was able to decompile SystemUI, framework, & resources, but I can't compile framework? I did compile SystemUI?

any help is greatly appreciated !!!
[HTC EVO 3D] silverxbv2:
What are the errors you're getting?

Sent from my ADR6425LVW
[HTC EVO 3D] ssojyeti2:
Anyone know what images these are? I couldn't find them in SystemUI.apk...

And how about these too...?
[HTC EVO 3D] fernando sor:
Those are signal bars in systemui keep looking. The second looks like images in tapatalk
[HTC EVO 3D] ssojyeti2:
They can't be in tapatalk because they're here too:
[HTC EVO 3D] Mikee4fun:
To the guy looking for the signal bars are in systemUI. hah I had to change those myself.

Now for any ICS pros any reason why the all the stat icons show smaller now??? They where fine before the ICS upgrade. Please see attachment.
[HTC EVO 3D] fernando sor:
Yeah not positive but have you looked? Your asking about the signal bars and I am 100 positive those are in systemui. You need to look in the app your seeing them in first.
[HTC EVO 3D] fernando sor:
@mutant there has been a fix for that out for a while. I have a thread I started on it. Just search my profile for it.

Your getting a plural error. The reason the error in apktool is so long is because your getting the same error in all the foreign language plurals also
[HTC EVO 3D] fernando sor:
Please do some footwork before you post. It took me all of two minutes to find these images in the tapatalk app.
[HTC EVO 3D] ssojyeti2:
Are you talking about the grey boxes or about the icons in them? I'll check it out but those grey boxes are in multiple applications for me so I figured they were in framework because they were fine before I edited framework. Maybe it was the icons I messed up. I'll go check. Thanks for looking...

And for the signal bars I've checked up and down systemUI twice and couldn't find them. I could only find ones with 4 and 6 bars. The one pictured has 5. I was hoping you'd know the name but whatever I'm just going to check again...
[HTC EVO 3D] fernando sor:
I assumed you meant the icons. Im still not sure. The icons are in tapatalk. The menus well that depends. It looks like your running gb. If that's the case I THINK there in framework-res drawables. It's an xml. Menu_selector I believe.

That's for sense 3.5. 3.0 are images in framework-res i believe.
[HTC EVO 3D] fernando sor:
Good question. I think unless we can see what they looked like before with gb it will be difficult to answer. I haven't looked but Im assuming the ics leak for the evo 3d does not have the higher resolution folder xdpi.
[HTC EVO 3D] il Duce:
Bump, any luck? I can't find it either :(
[HTC EVO 3D] thesparky007:
its not in skins?
[HTC EVO 3D] silverxbv2:
No. It's one of the icons for either phone or dialer

Sent from my ADR6425LVW
[HTC EVO 3D] aedon:
Quick opinion guys, stock numbers. Should I skin them too or leave them as is,

Oh and should I add more opacity to the bg?
[HTC EVO 3D] Ajthescot:
Comes down to personal preference mate.

I would say change them. Something glossy, embossed.

for the flip try drawing them as one piece and convert to the two parts. Makes for a nicer join. And no mirrored top flip.

Unless you want that look that is

I done this flip as one piece and chopped it into the two parts

Just an opinion mate but I think they come out better.
[HTC EVO 3D] aedon:
Thanks.

The flip is more or less how I was going for, this was just a first run through.

It's my first m10 attempt.

I agree that embossed numbers might be best.

Ill will see how that looks later on today.
[HTC EVO 3D] Mikee4fun:
4G! png resource location

I am trying to locate the 4G! icon location which the following I circled is located. Can anyone point me to the proper apk?

Thanks in advance
[HTC EVO 3D] Mikee4fun:
I finally found it last night. Ahhhhhhhhhhhhh It was right in front of me.

It was in the phone.apk's drawable-hdpi dialer.png is what needs to be changed.
[HTC EVO 3D] aedon:
Very nice Anastasia theme.

You could prob bring the clock in as an icon like I did for my dusk theme.

I think it would look sxy
[HTC EVO 3D] Mikee4fun:
Hey aedon I remember when you started your dusk theme. Thanks for your complement. I just won't let the Anastasia theme go, brought it over from my TP2. I would so love to skin the 3d clock widget to look like the Anastasia clock but man it is one pita to attempt.

Oh and BTW I have found at least on my HTC EVO 3D I had to change all my stat png's in framework and systemui to 32x32 on ICS Sense 3.6. Upload and download stats need to stay at 38x38 what??? W00t it is looking good now!
[HTC EVO 3D] aedon:
Haha. I started on my tp2 with this dusk.

I helped shakie theme some stuffs in his rom, and the full keyboards he had, I made. I skinned every layout in sharkie blue anistasia for his 4.2 rom. He used it till he finished dev on 5.1

I loved the Anastasia.

But then I found dusk haha.

I can help ya with the clock. Just figured it out myself.

Pm me you gtalk
[HTC EVO 3D] ssojyeti2:
SystemUI.apk I think. If not try framework-res.apk in system/framework/
[HTC EVO 3D] fernando sor:
Yeah that's a good question. If not in any you suggested try settings.apk
[HTC EVO 3D] il Duce:
I did those in 3.0, they (all power widget icons) are in 3 places, (not sure exactly which is 4g since I did all of them) fusion (unlikely) and the widget apks (there's a bunch) which have similar images in BOTH the drawables, and m10.
[HTC EVO 3D] Mikee4fun:
It was in the settings.apk

Thank you!
[HTC EVO 3D] jessesse:
I'm pretty sure everybody loves Tommy Tomatoe so I wanted to just link this http://xdaforums.com/showthread.php?t=1643080

Not sure if anyone else is planning on upgrading :thumbup:

Edit: just browsed the new LTE forum and seen a few familiar names.. sorry for spamz
[HTC EVO 3D] fernando sor:
Me love tommy long time
[HTC EVO 3D] tommytomatoe:
Me love fern long time :-)
[HTC EVO 3D] fernando sor:
damn im out of thanks. is it true you may get a evo 4g lte?
[HTC EVO 3D] tommytomatoe:
That's the word on the street :-) I just need to find a good deal on one without contract.

And I get unlimited thanks on tapatalk pro. I think xda premium app is same way. I'm not sure if its a perk or a glitch but I do abuse it lol.
[HTC EVO 3D] vanessaem:
Well that settles it. If this guy's^ getting one, I've gotta get one. :o
[HTC EVO 3D] fernando sor:
Yeah i was on my computer. I guess they count the thanks from your phone.

So i think I may have to get the evo lte also. My tech bill is embarrassingly high lol
[HTC EVO 3D] brenstar:
Alright, I'm attempting to wrap my head around how to theme sense, I have APK-Multi Tool installed in my Android-sdk folder at the root of my C drive, I entered through the shortcut on my desktop. I have fusion.apk in the "place-apk-here-for-modding" folder but am having a hard time trying to link the denpendee com.htc.resources.apk which is on the desktop.

What do I seem to be doing wrong?

Thanks.

Edit: Nevermind, I gave up on the drag and drop(didn't seem to work) and just typed out the path which worked.

Probably should have tried that before posting but whatever. Just being dumb.
[HTC EVO 3D] dased14:
mine is rather high as well fern i feel ya on that one
[HTC EVO 3D] Ajthescot:
There is no resources in fusion. To tweak fusion you need m10 tools for that mate.

For dependencies.

Put your framework-res and com.htc. Resources into the same folder as apktool.

I don't use that tool but could be the other folder.

Open a command prompt to that folder

Type

apktool if framework-res.Apk

Hit enter

Apktool if com.htc.resources.apk

Hit enter

If everything is setup correctly you shouldn't be needing to drag files into the tools.
[HTC EVO 3D] creeve4:
I am creating a CM7 Theme Chooser theme.

I'm trying to modify timepicker.xml. It compiles fine, but then I get force closes every time I try to open a time picker window from within an app.

I tried changing "@:id" to "@android:id" but I keep getting this error when I compile the theme:

D:\Cell Phone\Android\1 Tools\1 Apk Multi-Tool\other\..\projects\myICS_V2.1.apk\res\layout\t ime_picker.xml:4: error: Error: Resource is not public. (at 'id' with value '@android:id/hour').

D:\Cell Phone\Android\1 Tools\1 Apk Multi-Tool\other\..\projects\myICS_V2.1.apk\res\layout\t ime_picker.xml:5: error: Error: Resource is not public. (at 'id' with value '@android:id/minute').

D:\Cell Phone\Android\1 Tools\1 Apk Multi-Tool\other\..\projects\myICS_V2.1.apk\res\layout\t ime_picker.xml:6: error: Error: Resource is not public. (at 'id' with value '@android:id/amPm').

I know it is possible to theme some layout xml files with theme chooser, but I can't this one to work.

Attached is a copy of my modified timepicker.xml (the only change I have made is to line 6. I changed the color reference to white.

Any ideas?
[HTC EVO 3D] il Duce:
You can't redirect local ids to framework. @android would pull the id from framework res. Theme chooser needs to be independent, and @id points to the local id within your apk. Keep asking if that doesn't help. It's been a while since I was in a theme chooser, so hopefully memory is right.
[HTC EVO 3D] creeve4:
Strangely, timepicker.xml is from framework-res, and the ids contained in the layout xml are also contained in framework-res...

Since other applications invoke the timepicker popup dialog, it must pull these ids from whichever application invokes the dialog.

What I am trying to do is change the text color for the id "amPm." Unfortunately, it is specified directly in the layout xml.

Any ideas about how to change text colors - with theme chooser - when they are specified in this manner?
[HTC EVO 3D] il Duce:
Anything obvious in values/colors? What you mean it's specified in layout? In the theme chooser? If so post the line that contains it.