Related
Which xml's must I edit and what code should I look for in order to change the dock background color? I tried reading the tuts on xda but they are somewhat unclear and mostly talk about the progress bar (bar attached to pulldown menu). Can someone help me? Once I figure out which files to change I believe I will be good!
Am I in the wrong section?
kinda need to know what launcher you are using... if you use launcherpro, just edit the .png to your liking, and assign dock background under custom in launcherpro settings...
if your on a rom without a market launcher you can use ninja morph. go to system/app/twframework once it opens it up go to res/drawable hdpi (V4) if you have that. then look for the files you want to change. long press the file and hit edit you can adjust the color and the transparencey. it will not save until you push menu/save image then go back to the main screen hit finish/twframework*******very important******** hit overwrite/ no to zipalign/ no to clean up. then reboot and your done.
with ninja morph you can change icon and icon colors along with transparency. congtratulations.
******BY THE WAY IF I DID NOT MENTION******** NANDROID BACK UP *********************************************************
AS LONG AS YOU HAVE YOUR STUFF BACKED UP YOU CAN EDIT AND CHANGE WHATEVER.
If you have a third party launcher the process is still the same. except the files are in data/app/ (whatever launcher your using) once you complete the work you finish project/no to overwrite
download signapktic fro, the market find the file in adroidthemes/workspace and select platform/ then sign it.
uninstall the original launcher and go to your files and install you work. i have done this with launcher pro and altered it to my liking because of the icons and docks.
GOOD LUCK AND ENJOY!
gunked said:
if your on a rom without a market launcher you can use ninja morph. go to system/app/twframework once it opens it up go to res/drawable hdpi (V4) if you have that. then look for the files you want to change. long press the file and hit edit you can adjust the color and the transparencey. it will not save until you push menu/save image then go back to the main screen hit finish/twframework*******very important******** hit overwrite/ no to zipalign/ no to clean up. then reboot and your done.
with ninja morph you can change icon and icon colors along with transparency. congtratulations.
******BY THE WAY IF I DID NOT MENTION******** NANDROID BACK UP *********************************************************
AS LONG AS YOU HAVE YOUR STUFF BACKED UP YOU CAN EDIT AND CHANGE WHATEVER.
Click to expand...
Click to collapse
Sorry I forgot to mention I was on stock touchwiz. Also I dont find twframework under system app intead I see it under system framework.
Is this what you were referring to? Btw thanks for the help!!
Yes sorry. That's it. You can also chang framework res.
Sent from my SGH-T959 using XDA App
ok thanks Im going to try to change twiz3.0.apk and see what that does first. Thanks!
BEFORE WE GET STARTED, I WANT TO REMIND YOU THAT IF YOU USE THIS TUTORIAL AND MAKE WORK THAT YOU PLAN ON POSTING, ALWAYS MAKE SURE YOU ASK ANYONE YOU BORROWED FROM BEFORE POSTING FOR PUBLIC USE, AND CREDIT THE ORIGINAL AUTHOR IN YOUR OP.
*****I'M NOT RESPONSIBLE IF YOU DON'T FOLLOW DIRECTIONS AND MESS UP YOUR PHONE. MAKE A NANDROID BACKUP BEFORE YOU PROCEED*****
Lately I’ve been asked a lot of questions of how to theme, or how to make simple changes to themes. So I decided instead of explaining the same thing over and over, I would put together a walk thru on some basic changes and how to port themes. This walk thru teaches how to do this all right on your device. So if you are looking for a tutorial on XML edits and how to use tools like apktool, this isn’t the thread. I do plan on making another thread in time for this. PLEASE NOTE THAT THESE DIRECTIONS ARE SPECIFIC TO THE NOTE II AND TOUCHWIZ. IF YOU ARE ASKING ABOUT OTHER DEVICES YOUR QUESTION WILL BE IGNORED.
So lets get started. First you need some apps from the market
1. Xplore File Manager. This is what you’re gonna use to theme. I used to use metamorph and ninja morph but they are no longer being developed. This is actually just as easy.
2. Root Explorer. If you’re a root user and don’t have this I don’t know how you function. This is a paid app. You can still do all the functions with Xplore, just takes a while longer due to its interface.
3. Photo Editor (DevMagyver) Great app for adding simple effects, basic recoloring, this will even successfully crop .9 images (I’ll get into those more later)
4. ZipSigner2 (optional) You’ll need this if you take this guide further with market apps. Don’t worry I plan on getting more in depth with market apps in time.
Okay, now we need to set some settings in these apps to get this to work better. You MUST go into Xplore, hit menu then configuration, and check open apks as zips, also under root access set to superuser + mount writable. You don’t need to do this part, but I suggest going into root explorer and into preferences and select sort type to type, and check list folders first. This will make your life easier, trust me!!
NOW LETS GET STARTED!!!
First using root explorer, create a folder on the root of your sdcard (internal or external, where ever you want to work). I usually name mine the name of the theme I’m porting, this will serve as a project folder, and will reference it as project folder. Next, you need the theme you wanna port. Note that you need to have one from the Note II or another Touchwiz Device. This won’t work with another manufacturers device either (example this wont work to port a HTC Sense theme). Find the theme on your phone, and using root explorer extract the whole thing. When you extract files in root explorer they extract to sdcard/speedsoftware/extracted. You can change this in preferences if you’d like. I will refer to this folder as extracted. Navigate to extracted and find the folder containing the theme. Move it to the project folder.
Now you need the apks from the rom you are gonna theme. I RECOMMEND INSTALLING THE ROM AND PULLING THEM FROM SYSTEM/APP AND SYSTEM/FRAMEWORK. IF YOU JUST PULL THEM FROM THE ROM ZIP, AND THAT ROM USES AROMA, THE FRAMEWORK-RES AND SYSTEMUI WILL NOT CONTAIN ALL THE FILES NECCASARY AND YOU WILL BOOT LOOP.To get started we are only gonna work with SystemUI (found in system/app), framework-res, and lidroid-res (both found in system/framework). Copy them to the project folder. I SUGGEST MAKING A FOLDER WITH BACKUPS OF THESE AS WELL I CASE SOMETHING GOES WRONG. EITHER THAT OR DIRTY FLASH YOUR ROM AGAIN TO RESTORE AFTER AN OOPSIES
Now we are gonna switch over to Xplore. Xplore utilizes a dual pained display, meaning you have one folder open on the left, and one folder open on the right. When you copy a file, you copy from one pane to the other. This makes this a breeze.
On the LEFT pane, you want to open up your project folder. If you set it up correctly, you should see the extracted theme’s folder, and all the apks you pulled from system/app and system/framework. You’ll notice that there is a little plus icon on the apks just like the folders. If you don’t you need to make sure you go into configuration and tick open apks as zips. This gives us the ability to browse whats inside the apk without extracting it. Open the SystemUI you pulled from the rom and navigate to SystemUI/res
Now on the RIGHT pane, navigate to the project folder, and then into the folder the theme is in until you get into the system/app folder of the theme. Here you will find the themed SystemUI.apk. Now navigate to SystemUI/res. The only real folder you will use from SystemUI is drawable-xhdpi. What you wanna do now is check the folder drawable-xhdpi in the RIGHT pane. Now copy that to the left pane. It will ask you if you want to replace all the files, just check do this for all and continue. Just to recap, youre copying them from the theme to the rom you are theming. SystemUI is now done.
Now for the framework. Go back to the LEFT pane, and navigate to the framework-res.apk that you pulled from your rom that is in project folder. Next, navigate to framework-res/res.
Now on the RIGHT pane, navigate to the framework-res.apk that is in the theme folder. Now navigate to framework-res/res. We again are going to copy folders from the RIGHT to the LEFT. Check drawable-nodpi, drawable-sw360dp-hdpi, and drawable-xhdpi in the RIGHT pane. Now copy these from the RIGHT pane to the LEFT pane. Framework-res is now done
Now for your lidroid toggles. Go back to the LEFT pane, and navigate to the lidroid-res.apk that you pulled from your rom. Now navigate to lidroid-res/res.
Now on the RIGHT pane, navigate to the lidroid-res.apk that is in the theme folder. Then navigate to lidroid-res/res. We again are gonna copy folders from the RIGHT to the LEFT. Check drawable-hdpi in the RIGHT pane. Now copy this folder from the RIGHT pane to the LEFT. Lidroid-res is now done.
Now we are going to go back to root explorer. Using root explorer, navigate to your project folder. Your project folder should now contain the folder containing the extracted theme, and the files you pulled from your rom, except now they contain the pngs from the theme since you copied them. Now to test that everything went ok. What you want to do is copy the SystemUI.apk, framework-res.apk and lidroid-res.apk that you pulled from your rom and added the pngs to and paste them in /system. Now using root explorer change the permissions of these 3 files to rw-r--r--. Once you’ve done this you can now safely move the SystemUI.apk to system/app and the framework-res.apk and lidroid-res.apk to system/framework. IF YOU DO NOT SET THE PERMISSIONS FIRST BEFORE YOU MOVE THE FILES YOU WILL BOOT LOOP. Now reboot. AT THIS POINT YOU SHOULD BE THEMED!!!
Now some things might not have turned out right. 9/10 if something went wrong it was in the status bar. This occurs because themes from other carriers/roms/devices are sometimes set up to use different pngs (like 5 signal bars over 4, 4g icons differ per carrier etc..). This is the part you’re not gonna like to hear. You have to fix them all manually. Ususally its not too hard, just takes some renaming or recoloring of some pngs and maybe looking for them somewhere. To find which ones that need fixed, go into root explorer and navigate to your project folder. Extract the SystemUI that you pulled from the rom and then themed. Go to extracted and navigate to SystemUI/res/drawable-xhdpi. This is kind of where you are on your own. You need to find the pngs in this folder that were not themed correctly. Yet again I can’t help you with this, its all trial and error. Most things are easy to find like the battery icons, 4g icons etc. if you are having trouble figuring it out, copy the pngs and make them each a different color. This way once you’ve made changes you can identify them easier.
Once you’ve made your changes, exit root explorer and go back into Xplore. On the LEFT pane, navigate to your project folder, then the SystemUI.apk you pulled from your rom and themed. Now navigate to SystemUI/res/drawable-xhdpi.
Now on the RIGHT pane, navigate to extracted. Now navigate into the SystemUI folder from the extracted SystemUI and navigate to SystemUI/res/drawable-xhdpi. Select all the images you changed, and copy them from the RIGHT pane to the LEFT. You can now use the previous method to test your changes. it’s a tedious process sometimes, but really just takes practice. Once you’ve done it a few times you get used to what you might have to fix. You can also use the above method that I explained for making corrections to selectively choose images from a theme to use. For instance, you only want the status bar of a theme. Extract it and copy just the pngs for the status bar. Once you’ve got the basic idea of whats going on here, you can use this method on all the other apks in system/app that are included in the theme.
I PLAN ON ADDING A LIST OF COMMON CHANGES WITHIN THE FILES, SUCH AS THE FRAMEWORK BACKGROUND ETC. THIS WILL BE LOCATED IN POST #2, JUST GIVE ME SOME TIME. HOPE THIS ISN’T TOO CONFUSING LOL
Re: [guide] on device theming/porting walk-thru
Reserved
Sent from my Galaxy Note II
Re: [guide] on device theming/porting walk-thru
One more
Sent from my Galaxy Note II
Re: [guide] on device theming/porting walk-thru
Just in case
Sent from my Galaxy Note II
First! Lol... Thanks for all the info. I'll try this over the weekend and let you know how it goes.
I'm curious to how many people will read and understand, and how many will skip over things and then blame you for breaking their phone.
Sent From My Beans Powered Note2
Wow thanks iced great info!!
sent from my electronic pEn and pAper
BoostedB18C said:
First! Lol... Thanks for all the info. I'll try this over the weekend and let you know how it goes.
I'm curious to how many people will read and understand, and how many will skip over things and then blame you for breaking their phone.
Sent From My Beans Powered Note2
Click to expand...
Click to collapse
I'm sure many people will mess up, most likely due to not following directions. This is pretty straight forward and I've tried to explain each step and whats going on. I will be adding more detailed information in time on specific edits, but this is a great guide to get started with.
Sent from my Galaxy Note II
Thanks for the one you helped me with before making this I love it this is very helpful but ever time I make one my multi window goes haywire
Sent from my SCH-I605 using Tapatalk 2
Does anybody know why I can't send messages on certain forums thanks
Sent from my Rooted Note 2 using Xparent Green Tapatalk 2
Saleian said:
Does anybody know why I can't send messages on certain forums thanks
Sent from my Rooted Note 2 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Really? You post this question here? To answer your question, you are titled a noob and can't post everywhere. Next time post in Q&A
Sent From My Beans Powered Note2
Yeah I'm sorry but my tapatalk wouldn't let me reply in alot of forums and this one worked. Again I'm sorry. I normally would not do this
Sent from my Rooted Note 2 using Xparent Green Tapatalk 2
Saleian said:
Yeah I'm sorry but my tapatalk wouldn't let me reply in alot of forums and this one worked. Again I'm sorry. I normally would not do this
Sent from my Rooted Note 2 using Xparent Green Tapatalk 2
Click to expand...
Click to collapse
Try clearing data for the app or uninstall and reinstall it.
Back on topic...great write up. X-plorer is awesome, and glad to learn about putting the apps in the /system file first. I was wondering I could never push framework without it crashing. Other than keeping everything from crashing, what exactly does that do? Would you delete the files from /system after placing them in their designated folders and rebooting?
Curious about the .9.png's as well. I have a few apps that I can't seem to figure out or locate the right .png's but I'm thinking it might just be the .9's that are messing me up.
Thanks for putting this together for everyone. It'll certainly benefit the whole community to have more people taking an interest in modding/developing. :beer:
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
sleevasteve said:
Try clearing data for the app or uninstall and reinstall it.
Back on topic...great write up. X-plorer is awesome, and glad to learn about putting the apps in the /system file first. I was wondering I could never push framework without it crashing. Other than keeping everything from crashing, what exactly does that do? Would you delete the files from /system after placing them in their designated folders and rebooting?
Curious about the .9.png's as well. I have a few apps that I can't seem to figure out or locate the right .png's but I'm thinking it might just be the .9's that are messing me up.
Thanks for putting this together for everyone. It'll certainly benefit the whole community to have more people taking an interest in modding/developing. :beer:
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
Click to expand...
Click to collapse
Once you change the permissions you just move them, not copy. If you don't set the permissions not only does it crash, but since the permissions are not correct the system won't start the app, and since your messing with the framework and system it won't start up. Once I get some simpler edits covered I'll get into the .9 images.
Sent from my Galaxy Note II
icedventimocha said:
Once you change the permissions you just move them, not copy. If you don't set the permissions not only does it crash, but since the permissions are not correct the system won't start the app, and since your messing with the framework and system it won't start up. Once I get some simpler edits covered I'll get into the .9 images.
Sent from my Galaxy Note II
Click to expand...
Click to collapse
Ahhh. Thanks for the clarification. Makes sense.
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
Is there a good way to batch edit multiple files, that your making (the same) edits on (color, effect etc), from your phone? I'm using photo editor, but didn't see a way to import multiple files.
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
Cant say thanks enough for this guide. I finally got my green circle battery back.
Quick question: Could you tell us how to pull specific things from one theme instead of everything? Like just taking the battery, toggles, ect. Thanks
OutdoorOBW said:
Cant say thanks enough for this guide. I finally got my green circle battery back.
Quick question: Could you tell us how to pull specific things from one theme instead of everything? Like just taking the battery, toggles, ect. Thanks
Click to expand...
Click to collapse
Yes I plan on covering some simple changes in time. One question for you, did you find this tutorial easy to follow?
Sent from my Galaxy Note II
sleevasteve said:
Is there a good way to batch edit multiple files, that your making (the same) edits on (color, effect etc), from your phone? I'm using photo editor, but didn't see a way to import multiple files.
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
Click to expand...
Click to collapse
As far as batch operations go you will need a pc. One thing that makes this slightly faster, when making color changes in photo editor it gives you the option to save your preferences as a preset. If changing multiple images that start out as the same color this works well and can speed up the process.
Sent from my Galaxy Note II
icedventimocha said:
As far as batch operations go you will need a pc. One thing that makes this slightly faster, when making color changes in photo editor it gives you the option to save your preferences as a preset. If changing multiple images that start out as the same color this works well and can speed up the process.
Sent from my Galaxy Note II
Click to expand...
Click to collapse
Awesome that definitely helps. And it looks like you CAN select multiple files if you use the photo editors file browser(it just takes a few seconds for the thumbnails to load). You can't apply the preset to multiple files, but you can at least get them into the project, and load the preset to each one individually but fairly quickly.
Sent from my Inverted Note 2 TweakedVzwRemix @ 240 DPI
icedventimocha said:
Yes I plan on covering some simple changes in time. One question for you, did you find this tutorial easy to follow?
Sent from my Galaxy Note II
Click to expand...
Click to collapse
Very easy to follow.
Sent from my SCH-I605 using Tapatalk 2
Running Rooted. HyperdriveOTA ROM (Love it BTW). CWM.
Wanted to change the App Drawer Button to finalize my minimal theme. Also need to remove the "APPS" label. Picture Attached. I can flash this or edit system files. Not picky.
Wanted to do a few status bar tweaks as well, but the Xposed Framework needs to be set up for Verizon before I attempt it (unless there is a better way). Also wouldn't mind changing the page dots to something else. Any advice for these would be appreciated.
I am not a fan of launchers coming from iPhone/Dreamboard. Much rather mod the ROM directly and nandroid it up.
Thanks in advance!
Hi there,
Have done on my note 1. If it's not working on your s4 since it is 4.2.2 than just ignore my post.
The file you'll need is seclauncher2.apk in system\app
1. Use 7-zip to archive the file
2. Look in res\drawable folders. In my case res\drawable-xhdpi
3. Search for ic_allapps.png & ic_allapps_pressed.png
4. Replace the files with 1 or 2 different png(s) you like. ic_allapps_pressed.png will show another icon when you press the apps drawer button(if you replace both icons with 2 different png(s))
5. Push back into system\app & reboot
Maybe the icons are placed in other drawable folder. So you'll have to search a bit.
To search it easily, copy all the files in each of the drawable folder to normal folder so that you can thumbnail view. The ones look like your apps drawer button should be the ones you looking for.
Hope that give you some hints.
See my screenshot.
They are in drawable-xhdpi
Sent from my SCH-I545 using XDA Premium HD app
I ended up submitting to a launcher.. Nova.. Glad I did though . I will definitely save this article though. Good to know. Here is my current theme.
Sent from my SCH-I545 using xda app-developers app
Hey guys,
I was asked a week or so back to make a guide so others can theme the Stock SamsungIME.apk the way they like. I have made my thread to do this and you can put in request if this guide is not helpful(which I hope it is).
I will answer as many questions as I can, time permitting, and be as Noob friendly as I can, as well. I know this guide will not be perfect and there might be some things I am leaving out, and if so tell me, I will adjust the OP with any suggestions or changes. So here goes nothing...
Things you need:
Android SDK
Java JDK and JRE
Apktool
Notepad++
xUltimate-d9pc
Photo Editor (Gimp/Photoshop)
Before we begin, I am not going to go into how to load/decompile/recompile apks.. There are some good guides out there and here are some..
http://forum.xda-developers.com/showthread.php?t=2195680
http://forum.xda-developers.com/showthread.php?t=2206938
After you have the SamsungIME.apk totally decompiled you will want to open the folder it decompiled into and start with the res/drawables-sw359dp-xhdpi folder. In this folder there is all the pngs you need to edit. For starters the keys themselves..
You want:
sip_key_bg_normal.9.png
sip_key_bg_option.9.png
sip_key_bg_pressed.9.png
As you can tell, by the name, these are not normal pngs. You will see a 1 pixel border on all sides of the image. When editing the png either erase them or resize the canvas of the image. Just subtract by 2 form the height and the width, but remember when you save it re open it and adjust the canvas size back to the way it was. As my understanding of these goes, they are named this way because Android recognizing these .9.pngs and stretches them.. When I first attempted editing these I would have nothing but problems, of course because I was doing it wrong. I never could understand where the lines go and what they actually do. Thats probably because I was trying to do it with transparent/semi-transparent images and could not see the actual image expanding. Well when you are editing these with draw9patch, I noticed two very important things to look at (for the keyboard). The window to your right is how the actual image will look when expanded, but to see that you have to go to the bottom of the screen and the second scroll bar, move it all all the way to the right.
You will notice that it stretches the image.. This is the same thing Android does.
The middle image needs attention here because it expands it horizontally. So that means when you expand it all the way thats what you spacebar will look like. .
You notice that these edges (red lines) Are not defined they are rounded.. Because they are not patched correctly.
Notice the difference? This after it was patched with the proper line alignment.
To start you want add to full lines on the bottom and the right side. Next is the top and the left side. These are the lines you need play with to make you image look right. I used to only add a 1 pixel dot in the middle and one pixel line on the left. But when I started getting more advanced with photoshop/gimp I noticed my images would not looking the same. When you add gradients or borders to you keys, seeing the image on the right expanded is important because you will draw you lines to make you image look like it did in photoshop/gimp. NOTE: Don't leave any space in the lines to the right and on the bottom. You can, however, do so on the left and top but it will distort your png.
Here are a few guides to help you if you have anymore questions:
http://forum.xda-developers.com/showthread.php?t=2326393
The next image of importance is:
qwerty_keypad_bg.png
This is the background of the keyboard.. NOTE: there is also one of these located in res/drawables-sw359dp--land-xhdpi, the only difference being the above image is for Portrait and land is for Landscape. Also, they are two different resolutions so be careful when changing them. You can change this image to anything you want.. It is a normal png so therefore no patching or further steps are needed.
Next would be all the other option pngs, backspace, space bar, voice, settings, enter key, etc. You will will find these starting with the word qwerty_.
So example:
qwerty_key_icon_enter.png
This is the enter key as it sits on your keyboard.. Yes there are other ones but there are for different actions.
Another thing we might want to change is the color of the CAPS key when it is enabled.
That png is named:
qwerty_key_bg_shift_capslock.png
As you can see a lot of these are named exactly what they are..well some at least..
Next is .xml edits. You want to locate res/values-sw359hp-xhdpi/colors.xml. You will need to open this with notepad++ to edit colors of the key text, pressed key text, shadow of those text, space bar lettering, etc. You will only (or I only do) need to focus on the first 12 lines. They pretty much explain themselves by there names.
Code:
<color name="normalkey_shadowcolor">#ff000000</color>
<color name="functionkey_shadowcolor">#ff000000</color>
<color name="functionkey_labelcolor">#ffe2e2e2</color>
<color name="normalkey_labelcolor">#ffe2e2e2</color>
<color name="pressedkey_labelcolor">#ff122438</color>
<color name="disablekey_labelcolor">#7fe2e2e2</color>
<color name="popup_normalkey_labelcolor">#ffffffff</color>
<color name="popup_pressedkey_labelcolor">#ff2d5a8c</color>
<color name="normalkey_extra_labelcolor">#ffe2e2e2</color>
<color name="spacekey_labelcolor">#ffb6b6b6</color>
Click to expand...
Click to collapse
You'll notice that the colors are hex codes.. So the first two letters or numbers is for the transparency.. The next six define the actual color.
After we have edited our xml we can go ahead and recompile the apk. You should recompile with no errors. If you do encounter an error it's possible that you edited the color wrong and made it seven letters instead of eight or vice versa. Make sure that you transfer the old AndroidManifest.xml and META-INF folder form your original APK and transfer them to your new APK in SamsungIME/dist/.
FInally, you can copy you NEW SamsunIME.apk to your sd card, reboot into recovery. I prefer this method (Thanks to @Deckoz2302) because I would have trouble with APK's fully copying through adb. When in recovery select Mount, then click System. Select back. Then select Advanced, than File Manager. When in File Manager goto wherever you put your new APK. Copy it. Then go to System/app/ and hit Select and slide to copy. Reboot!
:good:Special THANKS to: @Deckoz2302: Best developer I have ever talk to! @Rizal Lovins, @grilleld, @Arsaw, @twanskys204, @Winterlove, @GuneetAtwal and I REALLY hope I didn't leave anyone out! If I did I'm sorry, tell me and I will update!:good:
FIRST......!!!
Thanks brother, I am going to give this a go tomorrow.
Today, young ,men on acid realize that all matter is merely energy condensed to a slow vibration, we are all one consciences sharing itself subjectively, there is no such thing as death, life is only a dream, and we are just imaginations of ourselves And now to the weather.....
Reserved. .
Sent from my Galaxy Nexus using xda app-developers app
This is quite the guide thanks so much for this.
Sent from Kendrick Lamar, King of New York
Nice Tut Great Work..!
Can all this be done on Mac osx?
Shamestick said:
Can all this be done on Mac osx?
Click to expand...
Click to collapse
If there is an Android SDK for OSX then i'd imagine it can be done on a Mac.
The SDK was fine, its getting the java jdk that's giving me issue
Shamestick said:
The SDK was fine, its getting the java jdk that's giving me issue
Click to expand...
Click to collapse
@Shamestick - Do you use Polaris to run Windows? That could work possibly.
Sent from my SCH-I605 using xda app-developers app
dudeicles said:
@Shamestick - Do you use Polaris to run Windows? That could work possibly.
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I do not, and I haven't gotten a copy of windows to dualboot with yet either. My problems always come whe i try to go to the downloading site for java, it just will never open on chrome or safari
well done my friend ! Nice to see you here
Text color SamsungIME.apk Note3-MOD
I have a big problem.
I decompiled the SamsungIME.apk from Note3-MOD to change the color of the KEY-Text from BLACK to WHITE.
But I can't find the right XML and location where the code has to be changed.
Can someone help me in this topic?
Superwolf77 said:
I have a big problem.
I decompiled the SamsungIME.apk from Note3-MOD to change the color of the KEY-Text from BLACK to WHITE.
But I can't find the right XML and location where the code has to be changed.
Can someone help me in this topic?
Click to expand...
Click to collapse
They will most likely be in values/colors.xml
For testing I already changed every black code to white in this XML but it does not change.
Superwolf77 said:
For testing I already changed every black code to white in this XML but it does not change.
Click to expand...
Click to collapse
Oops sorry its in /values-sw359dp-xhdpi/colors.xml.. Took me a long time to figure out that! lmao! Anyways have fun hope I helped!
Thank you for the help. It works fine now.
Thnks sir.. usefull :fingers-crossed:
Apks?
For those who have made custom keyboards will you please post your apks?
Good
Thanks for your tutorial. I have a question about adding a backround image for the keyboard.Not sure if thread is to old so please respond if you an answer question and ill write it . thanks
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
I don't have the apks in front of me, but you may need to theme more than that one. I think you'll need:
LGSettings (which you currently themed)
Possibly: LGSettingsAccessibility/LGSettingsProvider
These two may or may not have anything to theme in them, so you may need to decompile to take a look.
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
skyman88882002 said:
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
Click to expand...
Click to collapse
Ok. I found the action bar - I used 'Widget.Material.ActionBar.Solid' to hard code the background color. Now I just need somebody to help me find those white section headers. Anybody? Thanks so much!
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
Awesome, great work!
I remember doing something similar when I was doing this to my Galaxy S3, trying to find the various apk's where Sammy had changed things. It was a great feeling to find and change things.
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
elmanolette said:
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
Click to expand...
Click to collapse
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
roirraW "edor" ehT said:
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
Click to expand...
Click to collapse
sorry man, i'm understand!
I definitely intend to share my findings. However right now i am redoing the theming trying to push all the edits into LGsettings. Since I did the editing in the lge-res.apk it has a lot of unintended consequences on other parts of the system
subscribed.
i despise white backgrounds.
Brian
i cant find any color.xml in any stock apps?
skyman88882002 said:
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
Click to expand...
Click to collapse
how do you theme? i can never find the color.xml file in any stock app?
Glitch15 said:
how do you theme? i can never find the color.xml file in any stock app?
Click to expand...
Click to collapse
You need a deodexed ROM/apk file to decompile to find those resources.
RMarkwald said:
You need a deodexed ROM/apk file to decompile to find those resources.
Click to expand...
Click to collapse
my Rom is deodex, can you pm me a step by step guide to get to the color.xml?
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
minhas729 said:
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
Click to expand...
Click to collapse
Hey there! Good to see you on this thread Minhas729. I'm really sorry for the delay, I have just been slammed on the home front and haven't had time to play around with this stuff.
I'm still not happy with the theming I'm doing but I plan on posting my work in process files in the next 5 or 6 days.
In the meantime, let me share my knowledge (it isn't much!)
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
OVERVIEW
(Ok - so here is a quick overview of the theming process as I do it. Again, I am just a novice and I just stumble around so if I get the terms incorrect forgive me.
1) The first step in theming an apk is to decompile the apk. Unzipping the apk is not going to work. This is because there are special files like styles.xml and colors.xml that are hidden in a 'values' folder in the res directory. As far as I know, you cannot access these special files by simply unzipping the apk.
2) To decompile you need an apk tool - I use 'Tickle My Android' (I'm going to call it TMA going forward) - it has a great developer with excellent instructions. The way decompiling works is you first have to create a mini-work area on your computer. You do this by decompiling and installing the framework-res and lge-res apks from your phone to your computer. TMA needs these files to decompile other apps because most apps reference a bunch of things in the framework-res and lge-res files Installing TMA is pretty easy and the instructions on the thread are excellent. The only issue I had was finding a good version of apktool.jar to use in conjunction with TMA - one that worked well with marshmallow apks. The apktool is the actual tool that does all the work - TMA (in my understanding) is simply a very well designed user interface to use the apktool. So you need an apktool that will recognize marshmallow files and be able to decompile them. I use "apktool_2.1.0-a64a03-SNAPSHOT"" as my apktool.jar file.
3) Once an apk is decompiled, all the apk components will be saved in a 'working' folder. You can then go in and edit colors and and styles using an xml editor.
4) Once you have made your edits you use TMA to recompile and sign the apk. Then you move the file back to your phone, place it in the proper device directory, fix permissions, reboot and cross your fingers.
Ok - that is the overview - go off and start trying it. One suggestion - dont try to push files from the phone to the pc with TMA - just use your usb cable.
more to come...
skyman88882002 said:
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
Click to expand...
Click to collapse
Edit your first post in a web browser. Choose Advanced mode and there'll be a field to edit the title.
Below are links to download the themed lge-res.apk and lgsettings.apk. MAKE A BACKUP FIRST (I'm not responsible for anything that goes wrong if you try these files). Once downloaded you will need to use a root browser to copy the files to the appropriate system directory and to change the permissions. Keep in mind, this is a work in process, if you enter settings and click on the bluetooth or wifi sections you will notice that the background is not themed yet. I'll repost when these are fixed.
lge-res.apk download link
LGSettings.apk download link
Keep in mind that you have to install both files if you want the full black background.
Ok. I think I worked out most of the bugs. The files are now set up in a flashable zip. Test it out and let me know if you see any issues. If it is working well I will start a new thread in the Themes section and work on the systemui as well. Thanks. Download link below:
download