yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] GrimReaper24:
Thanks man still learning but getting the hang of it . :D

Ya the issue was java among my kitchen I use didn't decompile the apk right lol. Apkmanager did also gonna try apk tools .

The part that is funny using apkmanger was every time I made a edit and went to save it. Notepad ++ kept sayin the file was in use by another program lol.

So I just made a copy of the xml to another folder made my edit and that worked. Anyway still gonna mess with things .. Just tired was up till 5:30am .
[HTC EVO 3D] Vinchenzop:
This is in reference to changing the background of the "pattern to unlock" lockscreen
[HTC EVO 3D] il Duce:
@pstevep - link this nao !

http://xdaforums.com/showpost.php?p=22876729&postcount=9

EDIT: I'm a slow biznich, vinny beat me to the punch :)

thanks vin.

@reaper - I can *try* to help, PM me your gtalk.
[HTC EVO 3D] GrimReaper24:
E:\Apktool>apktool d SystemUI.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Loading resource table from file: C:\Users\reaper\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=

textSize, value=0x02050029

W: Could not decode attr value, using undecoded value instead: ns=android, name=

textSize, value=0x02050029

W: Could not decode attr value, using undecoded value instead: ns=android, name=

textSize, value=0x02050029

W: Could not decode attr value, using undecoded value instead: ns=android, name=

textSize, value=0x0205002e

W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_close_on.9.png". Re

naming it to *.png.

W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_header_background.9

.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-hdpi/title_bar_portrait.9.png". Ren

aming it to *.png.

W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_close_on_2.9.png".

Renaming it to *.png.

W: Could not decode attr value, using undecoded value instead: ns=android, name=

textSize, value=0x0205001a

I: Decoding values*/* XMLs...

Can't find framework resources for package of id: 2. You must install proper fra

mework files, see project website for more info.

I am tryin to figure this part out lol....

What is causing the issue I haven't messed with any of those 9.png files..? I can edit things still fine just can't recompile it..

Followed by this if you try to build...

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:142)

at brut.androlib.Androlib.build(Androlib.java:159)

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.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:138)

... 4 more

I can recompile and decompile the framework-res with no problems... Why is systemUI being special?
[HTC EVO 3D] chogardjr:
Looks like you need to do "apktool if com.htc.resources.apk" to load the #2 resources.

Sent from my Asus Transformer Prime
[HTC EVO 3D] trollallot:
Are you using the correct framework? Or set it before you did edits?

Apktool if framework-res.apk

Also

Apktool if com.htc.resources.apk

Still using my blackberry...as a paperweight
[HTC EVO 3D] il Duce:
run all those bad 9s thru "xultimate" then see what happens (once injected and decomped again)

not sure about the attr value error - maybe related?

also, yes, what fdb said :)
[HTC EVO 3D] GrimReaper24:
I will try that ... Let me see thanks :D Been tacklin this all day
[HTC EVO 3D] trollallot:
If framework is not set or correct this will happen :)

Still using my blackberry...as a paperweight
[HTC EVO 3D] GrimReaper24:
.xml:31: error: Publ

ic symbol drawable/widget_icon_wimax_wx declared here is not defined.

Wow I somehow fixed that one part now I just get a bunch of errors when I go to build it... All xml ones..

---------- Post added at 01:12 PM ---------- Previous post was at 01:07 PM ----------

Just did it that way and cleared up most of my issues... Now when I go to

apktool b SystemUI

I get a insane amount of xml errors dunno why... Still lookin into it..

C:\Downloads\APKTOOL\SystemUI\res\values\public.xml:31: error: Publ

ic symbol drawable/widget_icon_wimax_wx declared here is not defined.

I wonder what is causing this part now lol..

---------- Post added at 01:55 PM ---------- Previous post was at 01:12 PM ----------

I am still stumped on this part lol been doing reading...

I have the framework files installed... The framework-res and com.htc.resources...
[HTC EVO 3D] trollallot:
Hit me up on g talk in about 10 minutes screen name@gmail

Still using my blackberry...as a paperweight
[HTC EVO 3D] GrimReaper24:
I don't use Gtalk ... Anyway's thanks for offering to help I am tryin to see what I am doing wrong with things...

I followed the directions everywhere to the . :D

1. Installed framework-res

2 .Installed com.htc.resources

3. Decompiled SystemUI.apk

4. I was able to make edits.

5. Went to recompile.. apktool b SystemUI

6. Says it's building then I get a page full of xml errors under res/values

So I dunno what is causing that part..

I have used the program to decompile other things..

Anyways thanks for the tips :D

**** man my problem was I had set up a working folder with my kitchen I have been using and that was causing my problem as long as my rom has been signed and zipped I can use apktool with no issues :D............

5 hours later 2 pots of coffeeee I figured it out :D
[HTC EVO 3D] il Duce:
What program you used for the xml edits? What machine?
[HTC EVO 3D] GrimReaper24:
THANKS

I figured it out was my kitchen I am using that caused the problem...

I have windows 7 64bit :D

Anyways im back on track ;)

I realized you have to keep the rom intact and just snag what apk files you wanna use... I was using my apk files from the kitchen that I had been workin with....
[HTC EVO 3D] trollallot:
Glad its working!

Still using my blackberry...as a paperweight
[HTC EVO 3D] GrimReaper24:
Thanks man ... I just wonder do you have to sign the SystemUI zip or is it okay to throw it back into the rom ... Since I am gonna throw it back in the kitchen and tear into some more things..
[HTC EVO 3D] il Duce:
Theme kitchens are bad, mmmkay...
[HTC EVO 3D] GrimReaper24:
I know what happend I went to dickin with things late at night and messed with 4 of those 9 files..

Well it dicked up the systemui folder lol... Trial and error :D Hit or miss...

mmmkay Mr.Mackey :D Tho it still works on the rom just can't decompile or build lol...

Well I learned something today...
[HTC EVO 3D] trollallot:
For making a theme or editing apks the kitchen is not necessary.....at least I've never used it lol....I've edited at lest one apk before

Still using my blackberry...as a paperweight
[HTC EVO 3D] GrimReaper24:
Ya I only use the kitchen to sign and among the other things.. Not to theme tho.. I get creative with gimp and pics and icons...

Anyways I back to a solid systemui and transfer all my work over to the old build that had everything workin..

Man that sucked... I didn't think just changin some color on a 9.png would mess the whole thing up...
[HTC EVO 3D] Ajthescot:
The .9 frame has to remain black with nothing in the transparent area.

Whenever I make edits to .9s I cut the patch out and copy it to a new layer then make edits to the png file. The patch never gets broken that way.
[HTC EVO 3D] GrimReaper24:
Ya I'm starting over lol using my past work just not touch the 9 png files till another time.
[HTC EVO 3D] il Duce:
There's good 9png guides linked in the second post :)
[HTC EVO 3D] Kfunk:
After all this time I still suck at 9's

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

Now THAT's a good idea - I will have to give this method a try.
[HTC EVO 3D] vanessaem:
That's what I do...lol. :)
[HTC EVO 3D] aedon:
I just use the drawpatch 9 tool
[HTC EVO 3D] GrimReaper24:
Well I went and edited the status bar for the notification thing to make it somewhat transparent and now I can't see it lol.... Gonna have to look at things again ... Only thing I did diffrent was make the new status bar background png RGB instead of greyscale....

Wonder if this would **** something up... Was the same res and everything... Dunno... Anyways having fun :D
[HTC EVO 3D] GrimReaper24:
Anyways hope everyone is havin a good weekend :D
[HTC EVO 3D] vanessaem:
It could be better but I hope yours will be better than mine.. :)

Brought to you from my EVOlutionary 3-Dimensional Smartphone.
[HTC EVO 3D] Mikee4fun:
Need help finding resource file

If anyone can help I cannot seem to find the following two png resource files for facebook. I have looked in com.htc.resources changed all files in there and it makes no difference. Any help would be appreciated.

Thanks,
[HTC EVO 3D] GrimReaper24:
Thanks. Why yours not goin so good lol. I just flashed my phone ten times to fix a issue lmao .
[HTC EVO 3D] vanessaem:
Aaaaah, I'm getting bad flashbacks!...lol. :p
[HTC EVO 3D] GrimReaper24:
Lol :eek: :D I been messing with things on the phone somehow I dicked up the status bar doing the transparent notifaction thing.. Think it didn't get signed right or something cause I had no task or status bar when I booted...

That sucked was really liking what I had planned will mess more with it in due time...
[HTC EVO 3D] trollallot:
Just wondering why people sign apps? I have never done this and had no problems as of yet

Still using my blackberry...as a paperweight
[HTC EVO 3D] vanessaem:
I used to do it when I had the OG Evo because some people used Clockwork as a recovery and they had issues flashing my mods if they weren't signed but I'm not sure if that's still an issue. Besides that, I'm not sure why it's done either...lol.
[HTC EVO 3D] il Duce:
Check the fb app itself.
[HTC EVO 3D] fernando sor:
Any app going to data has to be signed or it won't install. I didn't start signing system apps until gb. Systemui in particular
[HTC EVO 3D] fernando sor:
The Facebook logo for sense is in com.htc.resources
[HTC EVO 3D] GrimReaper24:
Wonder if that was why my task bar and status bar took a poo.
[HTC EVO 3D] aedon:
It's either that or a bad .9 image.

I had an issue with no bar when I first started editing the .9 images
[HTC EVO 3D] GrimReaper24:
I decompiled it with apktool did the transparency notification thing put my png img for it. Then threw it in my rom replaced the old systemui with the new and nothin showed up status bar took a poo . Had to grab one from my previous build to fix.
[HTC EVO 3D] fernando sor:
Jessie in going to try to get to your mms this weekend
[HTC EVO 3D] silverxbv2:
Systemui is really touchy. Just a small mishap will make the taskbar disappear.

Sent from my ADR6425LVW
[HTC EVO 3D] GrimReaper24:
Ya all I did was go off a few gudies to learn the layout was testin it :D Somehow it didn't like things I even went back a put everything the way it was and it still didn't work ... So I think it was something to do with a SIG or something..

Acted like it didn't install.. Which I think that is what happend... Cause I pulled my older systemui from my previous rom and put it in and statusbar worked...
[HTC EVO 3D] steal25:
What base are you using?
[HTC EVO 3D] GrimReaper24:
2.17 build. I will play with it more in time... Been having fun with things...
[HTC EVO 3D] steal25:
Someone else's base or the ota?
[HTC EVO 3D] fernando sor:
You need to sign it
[HTC EVO 3D] jessesse:
The mms I linked is for an odex version. I hope it doesn't matter. I hope its something easy. You rock.
[HTC EVO 3D] GrimReaper24:
Ota with base I started from scratch :D gotta sign it ..
[HTC EVO 3D] steal25:
if its the untouched ota resigning it wont help, either making your mods and moving the res folder to an undecomiled apk, or disabling sig checks are whats gonna help.
[HTC EVO 3D] GrimReaper24:
Thanks I think I just need to sign it :)
[HTC EVO 3D] steal25:
Cool
[HTC EVO 3D] GrimReaper24:
I understand the sig check thing.. But if you just copy the folder res to one that is undecompiled wouldn't that cause issues since you left 3 other files out... META-INF and AndroidManifest.xml

along with classes.dex and resources.arsc ? I think META part contains the SIG... I just wonder if you can do it that way...
[HTC EVO 3D] dased14:
No what he is saying is make your edits and when your done and have recompiled you take 7zip and open a untouched copy of the apk in archive and swap out the Res folder,that leaves the apk's original signature untouched and all the files will be in there

just Xooming along eating my ice cream sammich
[HTC EVO 3D] steal25:
Well if you disabled sig check already in sevices then you should be good to go.
[HTC EVO 3D] il Duce:
Did you write a tut for that? I think I need to do this to miui.
[HTC EVO 3D] Mikee4fun:
I thought so, odd, when I update the framework it does not change, even after wiping cache and dav, I guess I will do a full wipe and flash.
[HTC EVO 3D] steal25:
as soon as i get home ill write it up.
[HTC EVO 3D] GrimReaper24:
I know what he ment about res file... I was just curious about the other 2... Anyways thanks,,,
[HTC EVO 3D] steal25:
Well If your not making edits in the other two it doesn't matter.
[HTC EVO 3D] GrimReaper24:
Well damn that is easy not that signin is hard:D Lol.. Gonna try that status bar thing again along with few other things :D
[HTC EVO 3D] silverxbv2:
There is a Facebook logo in skins too, at least the ones I've been looking at

Sent from my ADR6425LVW
[HTC EVO 3D] pstevep:
Truth.. It's the logo for the widgets..
[HTC EVO 3D] trollallot:
How to make Pattern/Pin Lockscreen Transparent

Ok guys this will Make your Pattern\Pin lockscreen Transparent

This is all done in HtcLockScreen.apk

Decompile the apk and edit these files that are located in Res\layout

htc_keyguard_screen_unlock_landscape

htc_keyguard_screen_pin_portrait

htc_keyguard_screen_pin_landscape

htc_keyguard_screen_password_portrait

htc_keyguard_screen_password_landscape

htc_keyguard_screen_glogin_unlock

htc_keyguard_screen_device_unlock

htc_keyguard_screen_unlock_portrait

In all of these on the top line you will find this

android:background="@android:color/background_dark"

change them to this

android:background="@color/transparent"

Recompile the apk your done

Enjoy
[HTC EVO 3D] Mikee4fun:
Well the facebook png on the dialer photo and also in the contacts are not in the skin or com.htc.resources so I am at odds. I had it changed before but I am using Virus's rom now and I don't remember where those darn files are.
[HTC EVO 3D] steal25:
disable sig check tutorial

How to disable sig check in services.jar

find Packagemanager.smali

inside search for checkSignaturesLP method

and replace the whole method with this:

.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

.locals 7

.parameter "s1"

.parameter "s2"

.prologue

const-string p0, "checkSignaturesLP"

const-string p1, "Signature check disabled || Steal25s inbREDed ROM"

invoke-static {p0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

const/4 v6, 0x0

return v6

.end method

I wanna thank Joelz and aamikan for this.
[HTC EVO 3D] il Duce:
Did you try the facebook app, or htc facebook app?
[HTC EVO 3D] Mikee4fun:
Yeah, those are all updated, but they do not host those resource files, I know my update package works because I changed other htc framework files and they do change, I guess I will keep digging into system apk's
[HTC EVO 3D] AdhvanIt:
Thought I'd make short mention of .png optimization as I haven't seen a whole lot on it out there, and it makes quite the difference with rendering of images, so here goes...

One of the best tools for this IMO (should be a standard for most advanced themers) is optipng; This is a command line tool for Windows, Mac and Linux. Essentially what this will do is allow batch high level lossless compression and optimization of all images inside a given folder (works great for single images as well). This is especially important if you're modifying images because it allows a compression level far greater than what PS, GIMP and other manipulation tools can manage.

Why should this be used? Because the greater the compression of the image, the less time it takes to load and the less RAM it uses. Simple as that.

Basic usage:

optipng -o7 file.png

or cd to the folder containing multiple images for the batch operation

optipng -o7 *.png

where -o = optimization level (0-7). For more advanced options you can run

optipng -h

Keep in mind that the images you optimize should be done with them in raw form. Compiled .9.pngs may become broken after optimization. For a full guide, you can check out the technical documentation on it at sourceforge.
[HTC EVO 3D] dased14:
anyone know where to change the incoming caller id number at

i need to shift it back to center
[HTC EVO 3D] il Duce:
I think myn said it was an apktool error. Try a different version or another tool?
[HTC EVO 3D] Ajthescot:
could any one point me in the direction or what apk is the text for voice messages in the dropdown notifications.
[HTC EVO 3D] vanessaem:
Good question. I asked that very same question many posts ago. Maybe someone has answer. :)
[HTC EVO 3D] trollallot:
It is notifications in the voice mail app itself I'm going to do this probably tonight myself so I'll post the exact steps when I do
[HTC EVO 3D] jessesse:
The vvm notification is in res/layout/vnotes_notification_list.xml

I did it about two weeks ago before the vvm update :(

I tried it again but it won't provision anymore. Please post a link for it if you have more luck than I did.
[HTC EVO 3D] fernando sor:
hey jess i have a minute finally. you want to link that mms again? also what text color value were you looking for again?
[HTC EVO 3D] jessesse:
here you go -->http://www.mediafire.com/?drjyy33y3d1gr49

I kept thinking I found the culprit but I would recompile with no effect, so I really appreciate you having a look. It has a black background "as is" and white text everywhere except the

+New Message

at the top of the main list. I would like the "new message" to be white as well if possible.

I read somewhere it in Smali, but the mms.apk I had been working on is Odex and not sure if its easier to Odex or deOdex :\

let me know if you need the Odex file, or if its easier to start from scratch...
[HTC EVO 3D] fernando sor:
So the text for New message? Everything else is fine? That's a button right?
[HTC EVO 3D] steal25:
I had the same issue, it an issue with apktool adding characters to values/public/ you can either go in and fix that xml or make your edits recompile and move res folder to an untouched apk. Vtt-Sprint is very picky when it comes to theming or odexing.
[HTC EVO 3D] fernando sor:
hey jess there is no classes.dex in that file. i need that
[HTC EVO 3D] trollallot:
Does someone have the updated vm they can post please
[HTC EVO 3D] Ajthescot:
Just posted my edited one in my thread if you want to test it. That's If the vtt-sprint is the correct file. It's from viper rom.
[HTC EVO 3D] pstevep:
Those lines are so sexy. I wanted to do some of our themes with them.
[HTC EVO 3D] jessesse:
Ok I am at work now.. if you want to look at the EVO 4g thread tommy has a deodex version... Maybe you can grab the mms.apk from that?

http://xdaforums.com/showthread.php...7 - Rooted - Optimized - Sharing means caring

As far as the vvm.apk I can't get it to work like I had before on a previous version... It won't provision at all after I compile it..
[HTC EVO 3D] trollallot:
That would work! Link? What did you edit?
[HTC EVO 3D] Ajthescot:
Computers shut down heading up to bed, and dropbox is telling me I can't share the link just now try again later. Mehh, . I edited the xml that the fella below your post mentioned. Sorry mate can't remember your name Jessesse I think.

We don't have that apk so I can't test it

Can't share any file out my public folder from the app wtf.

Last post in my theme thread has it though mate

http://xdaforums.com/showthread.php?p=23084408
[HTC EVO 3D] steal25:
if the other link doesnt work heres one, its themed for my rom, but nothing you wouldnt change anyways , just replace #ffd60600 with whatever code you like in the xmls. also the notifications are already white.

http://dl.dropbox.com/u/28511905/vtt-sprint.apk
[HTC EVO 3D] jessesse:
ok Fernando..sorry it took me a while, but here is the same apk deodexed. It has a classes.dex now :)

http://www.mediafire.com/?zqj628ruu1j1uvu
[HTC EVO 3D] trollallot:
Thanks to all who posted vm for me.....I was looking for the updated one if someone can help
[HTC EVO 3D] steal25:
The one I posted is the latest, I use the old icon because I like it better, but this is the one with all the save to sdcard features.
[HTC EVO 3D] trollallot:
Ty sir! Icon threw me off
[HTC EVO 3D] fernando sor:
ok jesse. icant decoplie without errors which means i cant recompile. probably because this is so old. though usually this doesnt happen, anyways i found a few things. the classes decompiled fine but the reources.arsc didnt decompile completly.

in smali check the thread MesssageViewActivity.smali. just search the word color. you will see three text color values. const/high16 v0, -0x100.

change those to -0x1

then check in resources check layout-hdpi. you have some black text in there.

also check SlideView.smali

and look for 0x232324. change that to -0x1
[HTC EVO 3D] jessesse:
Sorry it didn't decompile, it was the first time I tried dsixda kitchen and the first time I have tried to deodex an apk.

I have some time off now and will try it out. Thanks for the information. It looks as though I need to start over from the beginning.. ha

Edit: it seems like that apk compiles and recompiles fine on Linux with Android utility.
[HTC EVO 3D] fernando sor:
Np sorry I couldn't be more help. The kitchen I've never used. That takes the Fun out of it
[HTC EVO 3D] GrimReaper24:
Apktool decompiles fine also recompiles fine too :D Just need to sign it after your done or you can just swap the files you modded to the orignal apk so that sig doesn't break :D It works ....
[HTC EVO 3D] jessesse:
You were a help, because I'm not too scared to look at a smali file now. I'm gonna look at the froyo inverted mms smali files now.

Thank you
[HTC EVO 3D] fernando sor:
Yeah I know. I use it everyday. This was an mms from sense 1.0 that wouldn't decompile. I don't know why because i didn't do the work on it
[HTC EVO 3D] jessesse:
I tried changing those values in smali like you instructed on a stock mms.apk and the text is still black.

I was hoping it would be white on white and I could start over on the xmls.

I'm not sure if its building correctly after the edits. It seems to build ok, but like I said I don't see any changes.. bummer

here is a stock sense 1.0 mms.apk no edits, if anyone feels brave and wants to help

http://www.mediafire.com/?eta48rdc87xax96
[HTC EVO 3D] fernando sor:
Ok I'll see if i can get this to decompile
[HTC EVO 3D] steal25:
Whaaaat? Apktool actually works, since when?
[HTC EVO 3D] jessesse:
Thanks Charles, I sent a small donation. I feel like I have wasted enough of your time. :D
[HTC EVO 3D] GrimReaper24:
I use it for when I theme :D Works fine for me when I decompile and recompile and take the res folder out and put it back to the untouched one to keep from breakin sig :D My issue before with it was I dicked with .9 png files and was learning things .. So I just pulled my older SystemUI the one that I didn't play with and used it worked like a champ...

What happens when you use it? Also Java was being a ***** lol had to put the correct path in for that to work.. Once I was all done.. I have been able to decompile and recompile the SystemUI among others even the ones I modded and recompile it and take what I need outta that and throw it back in :D
[HTC EVO 3D] steal25:
it bricked my computer :(