[Q] Theming help - T-Mobile myTouch 4G Slide

Ok so I just have a quick question about theming. How do I change the text color on the lockscreen? I'm pretty sure I have to edit one of the .xml files, but which one and how? And do I have to actually decompile the .apk to edit it or can I just pull it using 7zip and edit it that way? I already have edited the actual .pngs for the lockscreen, so if anyone can help me out with this it would be great. Oh and this is with the stock deodexed rom.

I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium

travmofosho said:
I'm not sure where its located but it will be an xml file and you will need to decompile wherever it lays. Try androidpolicy.jar and look in there..
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
So it's not actually in the lockscreen .apk? I will look in the androidpolicy.jar. Also how would I go about decompiling it?

Related

Decompiler

Hello, I want to decompile my framework-res apk so I can possibly add a battery that displays percentages. Is there any program out that will let me do this?
Sent from my Xoom using XDA Premium App
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
No offense taken. I am in the process of teaching myself these things so Google and xda are my best friends. Thanks for the reply
Sent from my Xoom using XDA Premium App
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
Is it possible to read the Stat sys battery XML? I've been reading on how to decompile the files but no real help with this really
Sent from my Xoom using XDA Premium App
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
zone23 said:
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
Click to expand...
Click to collapse
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
I will offer to help you out.
1. Install latest SDK from http://Developer.google.com & Eclipse.
2. Search for apktool and unzip files into the SDK folder under platform_a DB
3. Buddy fix apktool with attached files. You will need to rename these files to Apktool, etc..
4. Copy framework-res.apk, systemui.apk, settings.apk, and launcher2.apk from \system + copy the odex
5. Run apktool d framework-res.apk (do this for each apk)
6. Look in the Res/drawing folders for images to mod.
Now you have the .9.png files with marks & the decompiled XML for reference.
Use Photoshop to modify the files.
Use draw9patch to compile any .9.png files
This is really important. Use 7zip or any other zip app that allows you to open and view an apk as a zip without actually unzipping it. Just copy the new photo files in and add them to an update.zip (you can download this from XDA Xoom Development thread) or use a DB to push the updated files to the Xoom.
Theaming is a subject but that's the basics. I can't upload files for newapktools.zip right now but will edit this when I get home later. Alternativly, maybe someone can post the patched up Xoom compatible apktool files. They are also in XDA theaming thread if you search.
Hth
Sent from my Xoom using XDA Premium App
nbeebe24 said:
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Yes I can you need Java JDK installed:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eventually you will need Eclipse and I use Gimp because its free and doesn't break any .png files.
http://www.eclipse.org/downloads/
IDE for JAVA Develpoers search youtube for a video on how to set it up for android.
http://www.youtube.com/watch?v=ZoWVeXizfbo
I use Notepad++ to edit XML
http://notepad-plus-plus.org/download
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
nbeebe24 said:
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
zone23 said:
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
Click to expand...
Click to collapse
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Hey nbeebe24, check out my post over here: http://forum.xda-developers.com/showthread.php?t=1063657
This should help you decompile/recompile framework-res.apk for your mod. I look forward to seeing your results
nbeebe24 said:
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
you tryed this tool
Code:
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://forum.xda-developers.com/showthread.php?t=928864

[Q] How can I change ANSWERING Sliders?

I know how to change the unlock sliders on the framework files, but I cannot find the file location for the Answering sliders. Did anyone have any idea where are this files located?
did you check in say the theme you are running under the app folder inside dialer or contacts drawables?
Are they not in drawable-hdpi?
Tivo7 said:
Are they not in drawable-hdpi?
Click to expand...
Click to collapse
Should be inside that folder, but not in the framework.
Should be inside phone.apk. Will either need to decompile it, change & recompile it, or insert the images with 7-zip, etc.
You might try using ninjamorph, easy way to change items without having to decompile. Its in the market.
Sent from my DROIDX using Tapatalk
BeADroid said:
You might try using ninjamorph, easy way to change items without having to decompile. Its in the market.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
Heh...i just assumed he was using ninja/metamorph. If you edit the PNGs with a photoediting program, ninjamorph or metamorph will decompile and recompile them for you.
You know what they say about assuming.
sent from BeADroid X

[Q] Framework-res.apk

I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Anything you want. The easiest thing is editing the png so you change the system appearance. But you don't have to extract it to SD, you have to send it to your PC, decompile it (for .9.png's and xml, if just png you can extract the folder, then put the edited png's back in the apk with 7zip and push), and do whatever you want.
You will need to look for info about decompiling and pushing if you don't know yet.
So is that how themeing works?
Sent from my PG06100 using XDA App
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Yeah, explained fast and in a general way.
Lol thanks man!
Sent from my PG06100 using XDA App
Could you send me any links?
Sent from my PG06100 using XDA App
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Bump
Sent from my PG06100 using XDA App
Enraged21 said:
How exactly do I pull the framework file, then decompile it?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
I saw you, I just haven't time to write. Look for a tutorial about pulling and also APK Manager for decompiling. You will need adb
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Enraged21 said:
Can I edit the font from this file?
I want to change my rom again but keep the font that I usually use. How would I do that?
________
Evo SHIFT
Evervolv ROM
x99 kernel
Click to expand...
Click to collapse
Fonts are not in framework. They are in system/fonts, so you can go to the zip of your current ROM in the PC, open it, go to system/fonts and copy them. Then paste them into the zip of the new ROM or flash it, then push the fonts. (If you can, it will be easier doing it before flashing, with WinRAR or 7zip in computer)
1111111st
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Enraged21 said:
I'm somewhat new to hacking and modding. And I'm reading a lot, as well as playing with my phone a lot. I happened to extract the framework-res file to my sd card.
What are all the things I could customize with playing with that file?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
(•.•) said:
congratz man, you got the 1111111 Thread!
http://forum.xda-developers.com/showthread.php?t=1111111
just wanted you to see
Click to expand...
Click to collapse
Haha, sweet!
Evo SHIFT
mordekainen said:
You could upload the file you extracted to the uot kitchen (google it, i cannot provide links).
The site allows to create a theme for your phone and to package it in a flashable .zip
Click to expand...
Click to collapse
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Theming Help
Try this thread:
http://forum.xda-developers.com/showthread.php?t=821638
Enraged21 said:
So is that how themeing works?
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
APK Manager
Sorry for double posting but here is the thread for APK Manager:
http://forum.xda-developers.com/showthread.php?t=695701
Enraged21 said:
Yeah I found out about that website a while ago.
But I can never get the colors right to match my theme.
Evo SHIFT
Click to expand...
Click to collapse
For matching the colors you can use any app that lets you choose a custom color. I used widgetsoid, chose a custom color that matched my theme and wrote down the hex value. You can then use the hex value in the uot kitchen.
Sent from my LG Optimus One
Well, I took a snapshot of my homescreen. Uploaded it to a color extractor, and pulled the hex value through there. Used that hex value with UOT kitchen, and the colors still weren't the same after I flashed it...
Evo SHIFT
Evervolv
Can anyone guide on adding crt effect in services.jar?
Sent from my Desire S using XDA App

Softkey icons

I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Tybo611 said:
I know that the softkeys can be changed to display words instead of the icons. I have found some images that have them as such but can't seem to get to work when using the custom framework maker. Am I missing something or does anyone have text image files that will work.
Click to expand...
Click to collapse
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
ciscogee said:
are the imgs u have to replace them pngs? easiest way is to rightclick framework-res.apk and open with 7zip. then drang new pngs over ones in assests folder.
then try and drag that new eddited apk into framework maker. to make a package to flash.
not sure if tb101s themer has to be editted for ec09 but ive been having trouble with 5.5 and ec09
im in chat right now if u want a hand to hold
http://forum.xda-developers.com/showpost.php?p=10422177&postcount=1
Click to expand...
Click to collapse
won't that create a 7zip file? that was the only problem i had with the themer, everything worked to remove the ticker history and weather. no fc's..yet.
Well the softkeys have to be alighned. Open existing PNGs in paint or whatever and alighn new ones and save. Then run themer.
Sent from my SCH-I400 using xda premium
thank you, checked the sizeds and they were different. now stuck at the decomling stage in themer.
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
ciscogee said:
Your making it way more difficult than it should be lol.
Look for older soft keys posts in our theme section.
There are easier ways in there. No decompile needed for softkey.
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
Thanks you for your help. Finally got the text softkeys working.
huge thanks to ciscogee for his help, and trailblazer for the themer. screen shot is attached
CISCO! is your computer unpacked finally?
pattielipp said:
CISCO! is your computer unpacked finally?
Click to expand...
Click to collapse
no i wish. been a bumby road past month. trying to grab it in next couple weeks. just using phone and gf laptop. no cygwin no linux, minor apk editting when i can.

Transparent Statusbar on GB rom

Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
guigadourado said:
Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
Click to expand...
Click to collapse
Hey buddy, i've managed to make it work, after 2 months of searching.
Here is the link of proof. I haven't post any files yet or a guide, but if you want ill tell you what to edit and with what tools.
http://forum.xda-developers.com/showpost.php?p=29106868&postcount=262
Or just paste the file inside this zip View attachment classes.rar to systemUI.apk and do the proper edits to status_bar.xml and the statusbar_background.9.png and statusbar_background.png afterwards.
You can also use the UOT Kitchen.
Truckerglenn said:
You can also use the UOT Kitchen.
Click to expand...
Click to collapse
Never worked for me...
Sent from my Infuse 4G running Aeon 1.4SL
Originally Posted by guigadourado
Does anyone know how to get this?
I'm using Mind of a Mac v1.2 Rom
Click to expand...
Click to collapse
Hey buddy, i've managed to make it work, after 2 months of searching.
Here is the link of proof. I haven't post any files yet or a guide, but if you want ill tell you what to edit and with what tools.
http://forum.xda-developers.com/showpost.php?p=29106868&postcount=262
Or just paste the file inside this zip classes.rar to systemUI.apk and do the proper edits to status_bar.xml and the statusbar_background.9.png and statusbar_background.png afterwards.
Click to expand...
Click to collapse
Awesome job bro,
so a background alpha change in smali? Or pointing to an image?
And ya UOT didn't work for me either when I tried last.
Sent from my Galaxy Nexus using xda premium
xIC-MACIx said:
Awesome job bro,
so a background alpha change in smali? Or pointing to an image?
And ya UOT didn't work for me either when I tried last.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes. Use the .dex file for the alpha level and just change the statusbar_background.png to the desired transparency level and thats it . Just remember to add @color/transparent to the date background, otherwise it will show when you expand the statusbar and add the proper change from #ff000000 to @drawable/statusbar_background.
Sent from my Infuse 4G running Aeon 1.4SL
Did you upload the framework-res.apk and SystemUI.apk from the rom that you were using at the time? Then went to the Status bar menu?
Truckerglenn said:
Did you upload the framework-res.apk and SystemUI.apk from the rom that you were using at the time? Then went to the Status bar menu?
Click to expand...
Click to collapse
No, i just edited the smali in the systemui.apk. But apktool doesent work. Actually that was the case all along. I had to decompile and recompile with smali/baksmali.jar to make it work
Sent from my Infuse 4G running Aeon 1.4SL

Categories

Resources