yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] jeffsanace:
Says you, the guy who carries a MURSE! LOL! HAHA
[HTC EVO 3D] thoughtlesskyle:
Its a satchel, Indiana Jones had one too
[HTC EVO 3D] jeffsanace:
Hey, there were skittles in there! Lmao!
[HTC EVO 3D] thoughtlesskyle:
I found a baby once
[HTC EVO 3D] fernando sor:
I like to call it a mobile technology vessel
[HTC EVO 3D] jeffsanace:
You really put the Kindle Fire in your sig?? LOL
[HTC EVO 3D] fernando sor:
Best tablet ever made that was free
[HTC EVO 3D] ssojyeti2:
Hey if I wanted to mod the the sense dock to be transparent, the m10s for that would be in fusion.apk, right? I'm a noob so help with this would be greatly appreciated...
[HTC EVO 3D] il Duce:
There will be 6 in fusion and one in rosie. The one in rosie is the phone button. The 6 in fusion are: dock, left button + pressed, right button + pressed, phone button pressed.
[HTC EVO 3D] ssojyeti2:
Ok so I edited what I think was the dock background background image (0x00003223.dat.png) and made it semi-transparent, but after I pushed the fusion.apk back to my phone, nothing was changed. I tried reapplying the htc skin but nothing happened. Do I need to sign the fusion.apk after I mod it with m10 tools? I thought you weren't supposed to do that with system apps?
[HTC EVO 3D] il Duce:
There's 2 docks, one is for the lockscreen, one is homescreen. Also if you use a skin it will overwrite fusion, so edit the pngs in that instead. No signing required for fusion, but it is required for skins.
[HTC EVO 3D] GrimReaper24:
Those numbers are a pain to keep up with lol. It gets easier the more you mess with it you start to know what each file pic is and what it is for.. The clock is pretty fun... Dock is too just know that if you do play with the dock you need to mirror it same for the lock screen and clock numbers if you are making something custom otherwise they are all already mirrored..

By custom I mean you making it from scratch :D

Got a screenshot of what you are tryin to do?
[HTC EVO 3D] ssojyeti2:
I'm positive I edited the homescreen dock. So are you saying that the HTC skin you apply in the skin picker menu is removable just like the burgandy and blue sky skin apks?

Don't be a Tomas
[HTC EVO 3D] ssojyeti2:
Notice how in this pic of steel rom the dock is semi transparent (you can see the wallpaper behind it)

That 's what I want to do
[HTC EVO 3D] GrimReaper24:
Nice you should just be able to take the dock and add a transparency to it .. What are you using to do photo edits?

Like you could take it tweak it and throw it back in.. For the default skin..

What part are you getting stuck on? When it comes to the m10 files ...
[HTC EVO 3D] ssojyeti2:
I used to photoshop to tweak the transparency of the dock m10 file. This is my first time using an m10 editor. I looked at a quick tutorial to change the lock ring and I figured it would be the same concept to change the dock transparency. It seemed simple and i thought I had it but something always goes wrong for me when it comes to modding this phone.:(

Don't be a Tomas
[HTC EVO 3D] dased14:
What rom are trying to change it in?

I want to be just like you when I finally decide to grow up!
[HTC EVO 3D] ssojyeti2:
Android revolution hd its deodexed if that matters I think it does

Don't be a Tomas
[HTC EVO 3D] dased14:
No not really, what does the stock dock look like?

I want to be just like you when I finally decide to grow up!
[HTC EVO 3D] ssojyeti2:
Do you mean the m10 file or a screenshot of the dock?
[HTC EVO 3D] il Duce:
oh no, sorry, the "HTC skin" actually IS fusion.apk... And, how are you positive? If it didn't change I must assume you did something wrong. I'm sure we can figure it out. And although it's been a while, I wanna say the rosie.apk need to be hacked to *allow* a semi-trans fusion image, but I could be going crazy there.

I *think* that is a hack in rosie which enabled semi-trans, on top of the non-trans image in his fusion, not sure, but I think that's right.

Try this, write down the name of the 2 pngs, delete one, see which one goes away (lock or home) then you know which one it is. Then mod the correct png and push the apk, clear cache, reboot, win?
[HTC EVO 3D] ssojyeti2:
Ok thanks I think I'll try that. If the rosie needs to be hacked though, how do and your team change the dock in your themes? Do you mean that maybe ARHD rom doesn't support modding of the rosie?
[HTC EVO 3D] HeckNoTechnO:
I have a question I am trying to edit the Rosie.apk with leedroid tweak to remove the carousel effect per post in this forum line 735 of Rosie.apk\smali\com\htc\launcher\RingSlideController using apktool, I seem to be able to decompile and build with no errors, but when I zip and push to device it is not working. I noticed that the size of the new build is much smaller. I decopiled with "apktool d -s" and compiled "apktool b -f" any suggestions or help would be appreciated.
[HTC EVO 3D] il Duce:
I used apkmanager and had to increase the memory heap to recompile successfully, same edits :) If there's a way to do that in apktool give it a whirl.
[HTC EVO 3D] il Duce:
We don't use ARHD :p

FYI, it *should* allow transparency, though I've never used the ROM except for a day, it should.
[HTC EVO 3D] HeckNoTechnO:
I have apk multi-tool but I get errors decompiling and recompiling. I am new to this and it is driving me crazy!!
[HTC EVO 3D] il Duce:
I thought you said it decompiled fine? look at your settings in the tool and see if you see any reference to memory or heap.
[HTC EVO 3D] dased14:
try pushing this one to see if it's trans enough

http://dl.dropbox.com/u/9628638/fusion.apk
[HTC EVO 3D] HeckNoTechnO:
Yeah it decompiled fine using apktool command line.

---------- Post added at 04:57 PM ---------- Previous post was at 04:32 PM ----------

This is the errors I get using multi tool

Wed 03/28/2012 -- 16:54:16.06|
--------------------------------------------------------------------------
--2012-03-28 16:54:16-- [URL]http://update.apkmultitool.com/apkver.txt[/URL]
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 1.85M=0s
2012-03-28 16:54:17 (1.85 MB/s) - `apkver.txt' saved [152/152]
'mode' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file projects already exists.
A subdirectory or file place-apk-here-for-modding already exists.
A subdirectory or file place-ogg-here already exists.
A subdirectory or file place-apk-here-to-batch-optimize already exists.
A subdirectory or file place-apk-here-for-signing already exists.
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)
The system cannot find the path specified.
The system cannot find the path specified.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\mikebeam\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\mikebeam\apktool\framework\2.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/all_apps_divider.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
[HTC EVO 3D] steal25:
see where it says cant find patch thats whats preventing it from compliling properly, either fix the patch with a 9patch compiler or pull a known good one and swap it out.
[HTC EVO 3D] GadgetFreak:
I've run into that problem a few times too. Stupid .9.pngs...
[HTC EVO 3D] HeckNoTechnO:
Stupid question, where can i get one and where do I load it?
[HTC EVO 3D] dased14:
you can fix it with draw9patch in the android-sdk after you decompile the apk

or you can get it from the ota stock and use 7zip in archive to swap it out before you decompile the apk
[HTC EVO 3D] ssojyeti2:
I'll thank you tomorrow because I already used up all of today's thanks. I'm still trying to figure out how to do it myself though. I just changed the lock ring, so I think I'm on the right track.
[HTC EVO 3D] dased14:
thats cool i can go in and mark them to show you where those pngs are
[HTC EVO 3D] ssojyeti2:
That would be awesome just to make sure I'm editing the right images
[HTC EVO 3D] Vinchenzop:
Mike, I made this mod for tweaks already...link can be found in the last few pages of the leedroid tweaks thread

Edit:

Flash through recovery

Remove Carousel Animation From Sense Launcher Tweaks Compatible
[HTC EVO 3D] dased14:
ok give me a few to make one up
[HTC EVO 3D] il Duce:
@jeffsanace - just to clean up your recent (awesome) rosie mods :)

I just did them all from scratch with a couple modifications (less work)

the red bold stuff is unneeded, for real.

-----

rosie "phone" text

rosie icon labels

remove settings widget labels

hope this helps :) basically the important part of those edits is ONLY setting the bool "visible=1" to "visible=0"

just as an aside, maybe in your 4x5 tut, put in the 5x5 edits we found the other day? as in:

in m10 change Y cell padding to 80.000000 and X cell padding to -20.000000, also Y number of cells 5, X number fo cells 5. Then in the decomp part in integers change both: c_long_axis and c_short_axis from 4 to 5, then recomp.

I love this thread!
[HTC EVO 3D] HeckNoTechnO:
Thank very much I am downloading now. I still want to learn this stuff though. I am new to Java programming and have a lot to learn, and a lot I still don't understand much. Everything I have learned has been from great communities like this and trial and error.
[HTC EVO 3D] dased14:
@ssojyeti2

here is a folder with all the pngs pulled from the default.m10 just the way the would be when you open fusion, the ones i modded have the #1 on them(the numbers may be different than the numbers you get, sometimes mine matches sometimes not)

http://dl.dropbox.com/u/9628638/fusion_pngs.zip
[HTC EVO 3D] ssojyeti2:
Thanks for taking the time to make that I appreciate it
[HTC EVO 3D] Vinchenzop:
The best techniques that aided in me learning, when it came to mods and learning how to do them, was when an apk was modded...I'd use some sort of file/folder compare program to compare the modded and decompiled apk to the decompiled and stock/unmodded one. This will allow you to see what was changed to accomplish certain mods....assuming that people like jeffsanace hasn't written a tutorial for it already
[HTC EVO 3D] HeckNoTechnO:
Yeah myn told me about one I have used i can't think of the name of it that compares files side by side. I just need to figure out the compiling and decompiling set up. It has not been easy for me.
[HTC EVO 3D] il Duce:
Kdiff works for me.
[HTC EVO 3D] thesparky007:
apkmanager is the easiest by far
[HTC EVO 3D] dased14:
beyond compare 3 works well
[HTC EVO 3D] GrimReaper24:
Apktool works well from decompiling .. I been tryin to find a workaround for signing things :D Like a short cut using the orignal sig.. SDK seems to be a slight pain to set up to sign something..

Some kitchens have a signer built in but never seems to work.. When it comes to apk files.. Well that works on windows 7
[HTC EVO 3D] HeckNoTechnO:
That's it kdiff
[HTC EVO 3D] thesparky007:
i have no problems signing with apkmanager
[HTC EVO 3D] il Duce:
I have no problems not signing with apkmanager.
[HTC EVO 3D] GrimReaper24:
When I tried that the latest version of it.. Each time it would decompile and build fine but when you went to go sign the file the program would quit every time?? Dunno why...

=If I could just squeek a sig I would be ****tin pretty :D= ^^)

Have a bunch of ideas been playin in the xml files just the sig thing is what has been slowin me down ..

Wonder if steal will pop in to say apktool bricked his computer again lol.
[HTC EVO 3D] silverxbv2:
Try this. It's always worked for me. Extract the zip. When you open the program just drag the apk you want signed into the open window. It'll put xxxsigned.apk on your desktop. Rename it without the "signed"

http://db.tt/Id1VdBBN

Sent from my ADR6425LVW
[HTC EVO 3D] GrimReaper24:
What is it? I have seen a few mods of the win zip thing some folks said it didn't play well for win 7 users.
[HTC EVO 3D] steal25:
That's the same one I use, its very simple. I kinda like the -signed on the end cuz when you go to zipalign you can then rename it minus the -signed all in one shot.
[HTC EVO 3D] GrimReaper24:
Cool you use windows 7 64 bit ?

Everything works fine then? I been wanting to sign my files.. I have the xml edits figured out just when it comes to signing **** that is were I been tryin to find shortcuts lol.

Tho the SystemUI.apk worked fine draggin the res folder from the one I decopmiled and built over to the old apk and replacing it didn't **** the sig up.. That was nice ... But it doesn't worky on some other apk files..
[HTC EVO 3D] knightwolf123:
[Question] after creating and editing files (framework, resource, systemui ect..) Is there a way to optimize all the files at once?

[Queston] is it necessary to zip align if the ROM does a zip align at boot?

Thanx in advanced!
[HTC EVO 3D] fernando sor:
What are you trying to do? What do you want done with it? The best thing to do if you can't decompile is to start over. If you want post your systemui and what you want done

---------- Post added at 10:30 PM ---------- Previous post was at 10:25 PM ----------

yeah there is a tool called apkpack that will optimize all at once. apkmanager also i believe. it just uses a tool called roptipng. and if the rom zipaligns on boot does that mean first boot or every boot?
[HTC EVO 3D] jeffsanace:
Certain apps require zip aligning, for example, most of HTC apks won't install without it. Idlescreens, weather screens and skins for certain. So aligning at boot doesn't help for certain apps. If an apk won't install or flash try again after zip aligning. Another optimizing tool is xultimate, it can opt an entire theme at one time. Google it if you'd like to try it, I use apk manager myself, it seems to get the job done.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] jeffsanace:
I've been meaning to look at porting that status bar mod, sounds like it's systemui and framework reliant. Might be a little above my paygrade, maybe it'll interest Fern and I could help the master. Lol

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] il Duce:
trying to change "warmtwopoinththree" in the dropdown to "HTC Shooter". I hope you don't mean start over like I think you mean... Here's the latest sysUI from white hot. Let me know, thanks. The key is if you succeed where I've failed in this operation, I really would like to know what programs you used and how you did it. Again thanks.
[HTC EVO 3D] jeffsanace:
Here you go, no errors and should say HTC Shooter in place of warm 2.3. You had 1 bad .9 I re patched and that was it. The text change is in values/strings edited with notepad++. Used apk manager to decompile, used drawpatch9 to patch the bad .9, used xultimate to compile the .9 before adding it back. Deleted resource.arsc from the keep folder in apk manager and re compiled. No errors, didn't test it though, so let me know.
[HTC EVO 3D] fernando sor:
your all set. i tested. works fine. changed name to HTC Shooter. you had one bad .9 i replaced. you probably dont have the proper framework installed in apktool.
[HTC EVO 3D] fernando sor:
haha you beat me to it ya bastard

---------- Post added at 12:17 AM ---------- Previous post was at 12:15 AM ----------

you can mod images when decompiled and you dont need a .9 patch tool. i have to wean you guys off of apk manager. it is really just alot of trouble just to operate apktool which is more efficient from a command line
[HTC EVO 3D] jeffsanace:
I know but I used the image that was there and it wouldn't compile, so I just slapped it with xultimate in about 10 seconds faster than you. LMAO! You can do the same in apk manager you just have to delete resource.arsc if you modify xml,values and such.
[HTC EVO 3D] fernando sor:
I tested it tho hahaha
[HTC EVO 3D] il Duce:
Thanks BOTH OF YOU :) I can't get apktool to work. The cmd window opens then closes immediately. My path is borked lol.
[HTC EVO 3D] jeffsanace:
If you're using apk manager you need to have your framework, com.resources and system ui installed in your "Other" folder or you will see all kinds of errors. That's probably where your problem is all along.
[HTC EVO 3D] fernando sor:
You just open a window. You don't use the apktool.bat then you type to where apktool is. Then use the commands
[HTC EVO 3D] fernando sor:
You know what's funny Jeff? I just slapped my image in there so il duce you have one blue .9 in there lol
[HTC EVO 3D] jeffsanace:
You got me there, but I opted mine, you? LOL

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

I used his image. LMAOOOOOO! I'm not fooling anyone I learned almost everything I know from Fern, his is still the master.
[HTC EVO 3D] fernando sor:
opting is for sissys LMAO!!!
[HTC EVO 3D] jeffsanace:
It's not the tool it's that the predictions check back to an htc server once in a while. If they detect the app has been modded it won't work. Someone has found a work around somewhere, if I find the link I will post it.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] pstevep:
Thanks a lot guys. We have been fighting with these stupid files for a while.. But you just answered most of my questions without me asking.. Lol..

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] jeffsanace:
No problem, I'm liking this helping people stuff, it's less time consuming then themes and roms and such.
[HTC EVO 3D] :
Edit again...we need someone to go through each of our themes and fix them :) Framework, SystemUI, etc. We have the one good systemUI, but none of the others will decompile...just the fixed one. I really don't wanna start over on each theme...and most have some bad pngs...Any help from someone smarter than us d3rps? We'll give proper credit for our idiocy, or at least Shadow Sense and Clear Sense will credit you for MY idiocy. ;)
[HTC EVO 3D] deciple:
You shouldn't have to sign system apk's

Broadcast to the public; to promote self awareness.
[HTC EVO 3D] Vinchenzop:
I've never had much luck with automated tools (apkmanager, Android utility, etc), so I taught myself just to use straight apktool.

The easiest way I found to deal with signatures was to build my modded apk, open the original apk (not decompiled) in an archive manager (7zip), navigate to the "build" folder of your modded apk folder, and drag the corresponding edited files from the build folder to the original apk, and just push the original apk with your modded files in it

Corresponding edited files.

Edited smali = classes.dex

Edited images/xml/values = res folder + resources.arsc

Once you get used to doing it this way, in my opinion, its faster than the automated tools
[HTC EVO 3D] trollallot:
+ 1 that's how Tommy taught me :)

Or just take the meta inf folder from original apk and add it to new one found in dist folder after you compile
[HTC EVO 3D] il Duce:
go on......
[HTC EVO 3D] fernando sor:
this is a program called apkpack. very simple to use. it optimizes images, signs and zipaligns. if you dont want to wait while it optimizes images just take the optipng out of the bin folder and it will just sign and zipalign.

apkpack
[HTC EVO 3D] fernando sor:
Some system apps need to be signed in the newer versions of sense.

Swapping sigs does work for system apps but def will not work for any normally installed apk.
[HTC EVO 3D] il Duce:
ok fellows, I need CUSTOM xml help.

I (and jeff) want to make the weather sense LS show the system wallpaper. So far we haven't found a magic m10 edit. SO, I *think* it would be defined elsewhere in xml (maybe smali?).

Anywho, currently decomped idle weather, looking at the apk's manifest.xml and found this:

<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="300098757" android:versionName="3.0.2117142543.98757" package="com.htc.weatheridlescreen"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="@string/app_name" android:icon="@drawable/icon">
<uses-library android:name="com.htc.lockscreen.fusion" />
<uses-library android:name="com.htc.fusion.fx" />
<activity android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen" android:label="@string/app_name" android:name=".activity.WISActivity" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

the other open/close parts of the xml are: service, activity, receiver, so I think those are not it.

I have also looked through the /res/values, xml, and layout folders xmls and found nothing that I could see that looked right.

If it's in smali (the call for using the 3 bgs in the weather_bg.m10) I don't speak it.

I thought the "android:theme" looked promising, but need another perspective/thought/advice/whatever lol.

TIA peeps :)

EDIT: I should also add this: I want the statbar to be transparent... When using the "wallpaper" lockscreen option it shows my current statbar png in sysui, but when using "weather" lockscreen it's flat black. I assum that is part if that smae xml line that has "android:theme: in it...
[HTC EVO 3D] GrimReaper24:
So this method works on on the latest 2.17 build of sense lol. I made the transparent notification in the system ui with a custom background and after I recompiled I just put the res folder in the original apk never moved the class.dex over even tho I did smali edit . It worked .
[HTC EVO 3D] dased14:
outta my pay grade but if you guys get it figured out dont forget the write up on how to:D
[HTC EVO 3D] fernando sor:
This why the higher versions of sense are so much more difficult. Im assuming the stock bg for weather lockscreen is an m10 file. So just writing it out in an xml doesn't work as m10 files aren't referenced there.

Certainly not promising anything but I'll look at it
[HTC EVO 3D] il Duce:
****, was hoping you wouldn't say that, cho just said almost the same in a PM. I sent you a gtalk btw, my name is Luke :p

yes the stock weather bg is Idlescreen_Weather.apk/assets/4x4/Lockscreen_weather.m10 - there's 3 pngs... I've tried making the images themselves transparent and they turn black, same thing happens if you change the bool "visible=1" to "visible=0" :(

I mean, there HAS to be a way, since you can use "wallpaper" lockscreen. I just want to find the sucker.
[HTC EVO 3D] steal25:
Fern, im assuming they are referenced in smali then right with an id? But where in the asset folder are the ids?
[HTC EVO 3D] GrimReaper24:
So this should work pretty easy and peachy to sign :D I will look more into it been wanting something to sign the stuff...

So you just throw the one you built does it need to be in a 7zip format or just the built file folder with the stuff in it?

Looks painless

If it works I will be ****tin purrty :D
[HTC EVO 3D] steal25:
it needs to be the full compiled apk
[HTC EVO 3D] GrimReaper24:
Thanks I ran outta of em .. Cool I know what I will be doing this weekend :D Finally getting the rest of the **** done I had plan for my rom :D theme wise .. Among other things I was thinking about.. That Sig check was causing me hell lol...
[HTC EVO 3D] jessesse:
While we are on the topic of smali I remember someone saying black can be 0x0? What's up with that?

Can somebody explain what the V means also.

Is const/ anything always referring to a color?
[HTC EVO 3D] fernando sor:
There are no m10 Ids that Im aware of
[HTC EVO 3D] fernando sor:
I never got your gtalk invite
[HTC EVO 3D] fernando sor:
Going to look at this tonight
[HTC EVO 3D] fernando sor:
0x0 can mean a number of things. Black can also be 0x100 but there has to be language in the code dictating that these symbols are referencing a color value
[HTC EVO 3D] jessesse:
Thanks that gives me more hope.. I was running out of things to try. Thanks fern
[HTC EVO 3D] fernando sor:
Source code is easier to read. Smali is a *****