XML editing - Fascinate Q&A, Help & Troubleshooting

I've been trying to change the background of some apps to transparent, everything that I've read makes it sound as if all I have to do is add one line to the manifest and bam it's done, but I can't get it to work, is it realy just as easy as editing one line or do I need to do more, any advice or links on how to would be appreciated...

You shouldn't have to edit any xml files to change backgrounds. Simply use 7-zip to open the archive and navigate to your .png background file (usually in the /res/drawable_hdpi folder) edit it with your program of choice, (gimp, photoshop, etc) then put your modified png back in the original folder before pushing to your device.

But if there is no background .PNG file then the XML would be the place to go correct
Sent from my SCH-I500 using XDA Premium App

yes, if there is no png, then edit the xml value #ff0000 to #000000

just in the res/styles xml, I've tried that and when I try to recompile I get an error message, I'm using apk manager 4.9...

did you sign it first?

what I do is decompile, edit the xml file, recompile and then sign, but I can't recomplie...

lol, misread that last one, sorry. Which error are you getting?
Would you be able to troubleshoot this in IRC?

What I mean is that Im trying to the add the transpancy line because there isn't a color for the background, I'm wanting to make the app transparent, and the error in the log says unknown or can't be found
Sent from my SCH-I500 using XDA Premium App

adude247 said:
What I mean is that Im trying to the add the transpancy line because there isn't a color for the background, I'm wanting to make the app transparent, and the error in the log says unknown or can't be found
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
That means your apk has dependencies that it can't find when recompiling. If you know which dependency it is, you can choose option 10 when decompiling and follow the prompts. If the original compiler didn't recompile the resources.arsc file as well, i believe you're hosed, since you can't find the dependency.

Would that be the reason some apps wont decompile
Sent from my SCH-I500 using XDA Premium App

What would an example of a dependency be
Sent from my SCH-I500 using XDA Premium App

this is the app that I can't decompile or recompile...

An example would be a system app being dependent on framework.
If I have time I'll take a look later tonight.
Sent from my SCH-I500 using XDA Premium App

Thank you for your help
Sent from my SCH-I500 using XDA Premium App

No problem. Glad to help.
Sent from my SCH-I500 using XDA Premium App

I reviewed the apk, and am certain now, there is a dependency for the app which causes the error code when decompiling. There isn't really a way to tell what it's dependent on at this time, so i tried trial and error from the system/app folder as well as framework-res.apk, all with no luck. Sorry.

Thank you for helping
Sent from my SCH-I500 using XDA Premium App

Related

[Q] Porting a theme....

... so is it as easy as just unzipping and changing out the drawable folders? I have Ubuntu and want to give this a shot to start out.
This is exactly how I'm doing it to make the theme with my images instead making it look way different from any other and to my likes. You can play around with the XML files too to make more changes. I do that to add or remove apps on the theme
Sent from my SGH-T959 using XDA App
Read my sig.
Sent from my SGH-T959 using XDA App
If you are swapping images that will work. If you need to edit xmls or java you need to decompile.
Sent from my SGH-T959 using XDA App

[q] transparent mms

Can anyone tell me how to make the background transparent? What in values do i modify?
Sent from my SGH-T959 using XDA App
There is some backgrounds in the drawable folders of the mms.apk. They are all .9.png. So i would think if you edit those and redraw them you may be able to get the desired effect you are looking for. At least that would be my first thing to try rather then trying to recode them.
Sent from my SGH-T959 using XDA App
any one have any ideas? this is driving me crazy
Try your styles XML in the values folder. Of course you have to decompile and compile properly if you aren't already.
Sent from my SGH-T959 using XDA Premium App
Look back in the forums for glasstopia there was a transparent mms in that theme maybe you can use it?or see what they did using clean and love it thanks! !
Sent from my GT-I9000 using XDA Premium App

[Q] Changing the lockscreen

I would like to change the lockscreen internally, not with one application.
I guess it must be in framework-res. apk, but I do not know what to change.
thank you.
look in it are you on cm7 then you could use metamorphs
Sent from my GT-S5830 using xda premium
I'm on a stock rom (theMyth KS3)
I did not find a tutorial.
thank you
go in framework And you will see
Sent from my GT-S5830 using xda premium
I look at it. I just change a png. I extracted with 7zip and how I rebuilt framework-res.apk
Sent from my GT-S5830 using XDA App
just compres it again and rename it from zip to apk
Thank you
Sent from my GT-S5830 using XDA App
See if you just want to change the slider tabs then look for pngs with name like jog_slider_tab un framework-res.apk
But if you want to change the style like puzzle or 9 lockscreens then deep modding in framework.jar and android.policy.jar is required
Thank you
Sent from my GT-S5830 using XDA App

System skin?

If I edit a system skin.apk I don't have to sign it right? I put it in my system app folder after making edits and recompiling it. I set permission but it still doesn't show up. Any suggestions ?
Sent from my ADR6425LVW using XDA
has to be signed after you recompile it
dyetheskin said:
has to be signed after you recompile it
Click to expand...
Click to collapse
Thanks man thought you didn't have to sign system apps
Sent from my ADR6425LVW using XDA

How do I customize all icons for all apps?

Hello everyone. I would like to change all the icons for all the apps on my phone. How would I go about doing this? I have Desktop Visualizer, but I don't think that is going to do the job. I have many icons to use, just not sure where to put them or how. Any help will be appreciated. Thanks
Sent from my PG86100 using xda app-developers app
Easiest way is to probably dl a launcher, like go or adw, I'm sure one of those you can change icons
Sent from my HTCEVOV4G using xda app-developers app
hossman said:
Easiest way is to probably dl a launcher, like go or adw, I'm sure one of those you can change icons
Sent from my HTCEVOV4G using xda app-developers app
Click to expand...
Click to collapse
I would prefer not using a launcher. I would like to change it inside the ROM itself. I would do it per app if I have to. Just not sure what I need to change.
Sent from my PG86100 using xda app-developers app
I would be more interested in learning what file I should look in to find the icon so I can change it directly, not dl more to my phone to do it for me. I like doing things in a more hands on manner. I am sure there is a way, I just don't know what it is, yet
Sent from my PG86100 using xda app-developers app
I would imagine you can dissect an apps apk itself, and see what you find, just make a backup before you go too far
Sent from my HTCEVOV4G using xda app-developers app
hossman said:
I would imagine you can dissect an apps apk itself, and see what you find, just make a backup before you go too far
Sent from my HTCEVOV4G using xda app-developers app
Click to expand...
Click to collapse
LOL Always backup before doing anything :thumbup: but thanks for the reminder. I was just wondering I'd there was a particular place to start looking. Also if there was a way to do it while on the phone, without doing it on computer. Just trying to get some insight into android "programming"
Sent from my PG86100 using xda app-developers app
donshaffer said:
I would prefer not using a launcher. I would like to change it inside the ROM itself. I would do it per app if I have to. Just not sure what I need to change.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
The All Apps icon is located in the skin apk of the skin you are using. Sometimes the icon is located in fusion.apk if you are running one of the stock skins. It's in the m10 file as the home_icon_all_apps.png
The program called VTS is the only one that can decrypt the m10 images file so you can change it. The program isn't free, but if you want to skin, it's worth the $20. Plus, the site has many easy to follow tutorials.
Edit: I misunderstood. See: http://forum.xda-developers.com/showthread.php?p=40659662
coal686 said:
The All Apps icon is located in the skin apk of the skin you are using. Sometimes the icon is located in fusion.apk if you are running one of the stock skins. It's in the m10 file as the home_icon_all_apps.png
The program called VTS is the only one that can decrypt the m10 images file so you can change it. The program isn't free, but if you want to skin, it's worth the $20. Plus, the site has many easy to follow tutorials.
Click to expand...
Click to collapse
I really appreciate the info. Thank you very much coal.
Sent from my PG86100 using xda app-developers app
coal686 said:
The program called VTS is the only one that can decrypt the m10 images file so you can change it. The program isn't free, but if you want to skin, it's worth the $20. Plus, the site has many easy to follow tutorials.
Click to expand...
Click to collapse
Just to be perfectly clear, so I don't do the wrong program, you are talking about Virtuous Ten Studio, correct?
Sent from my PG86100 using xda app-developers app
Please update if you ever get this to work.. would love to try but im still a newbie.
donshaffer said:
Just to be perfectly clear, so I don't do the wrong program, you are talking about Virtuous Ten Studio, correct?
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Yeah, that's it. Sorry for the acronym.
Sent from my PG86100 using Tapatalk 2
Xerc said:
Please update if you ever get this to work.. would love to try but im still a newbie.
Click to expand...
Click to collapse
If I do, I will let you know I decided it was time to do something different and do it myself. Not just dl something almost close to it.
Sent from my PG86100 using xda app-developers app
coal686 said:
Yeah, that's it. Sorry for the acronym.
Sent from my PG86100 using Tapatalk 2
Click to expand...
Click to collapse
It's not a problem coal. Just wanted to be sure. Thanks again
Sent from my PG86100 using xda app-developers app
Very easy. .just open the .apk file with winrar and extract drawable-hdpi folder. In this, u will see the icon file. Just replace it with your icon. But remember to give it a same name.
Sign the .apk then with apk signer.
Copy it to phone and install.
Enjoy...
Check out my JiMz-Pac Statusbar v3.0.16s in Apps and themes section
jimmy_coolguy2006 said:
Very easy. .just open the .apk file with winrar and extract drawable-hdpi folder. In this, u will see the icon file. Just replace it with your icon. But remember to give it a same name.
Sign the .apk then with apk signer.
Copy it to phone and install.
Enjoy...
Check out my JiMz-Pac Statusbar v3.0.16s in Apps and themes section
Click to expand...
Click to collapse
I thought of this as it's easier and free if you use 7zip instead of Winrar. But I couldn't find the image there. The only place I found the image was in the m10 file. What's the name of the file in the drawable-hdpi folder that you're suggesting be changed? There are around a thousand in there so maybe I missed it.
Edit: I misunderstood. See: http://forum.xda-developers.com/showthread.php?p=40659662
Sent from my PG86100 using Tapatalk 2
The apks I've looked at, the icon is located in either drawable-hdpi, or some are in drawable
Named icon.png
Sent from my HTCEVOV4G using xda app-developers app
hossman said:
The apks I've looked at, the icon is located in either drawable-hdpi, or some are in drawable
Named icon.png
Sent from my HTCEVOV4G using xda app-developers app
Click to expand...
Click to collapse
Edit: I misunderstood. See: http://forum.xda-developers.com/showthread.php?p=40659662
For skins, no PNG files are in drawable. They're all in drawable-hdpi except the few in the drawable land folder (at least the ones in the res folder). But I don't think icon.PNG is the All Apps icon. I think it's the icon that shows in file explorer when you're browsing your files. I just looked through the drawable-hdpi folder for a couple of different skins and didn't see the All Apps icon there. So, I still think the only one is in the shared.m10 file in assets which one needs vts to decrypt.
Sent from my PG86100 using Tapatalk 2
I think we're talking about 2 diff things.
Coal, the way I read you're post, you're talking about the app drawer icon? Not sure if that's what you're talking about
I was talking about individual apps. Ie talk, gmail, browser, etc
Sent from my HTCEVOV4G using xda app-developers app
hossman said:
I think we're talking about 2 diff things.
Coal, the way I read you're post, you're talking about the app drawer icon? Not sure if that's what you're talking about
I was talking about individual apps. Ie talk, gmail, browser, etc
Sent from my HTCEVOV4G using xda app-developers app
Click to expand...
Click to collapse
That's my embarrassed face. I totally misread the entire thread. Wow!
He said "all the apps icon" and I read "the all apps icon". So, ignore most of what I wrote. Hossman is right. If you want to use Sense and have custom icons for apps, you'll have to change each individually in each app how Hossman said. It's a pain.
I still stand by VTS for working with apk files, but it's not necessary for this application.
Sent from my PG86100 using Tapatalk 2
No need to be embarrassed
Just wanted to make sure we were on the same page:thumbup:
Sent from my HTCEVOV4G using xda app-developers app

Categories

Resources