Related
I only know how to change out background images in framework-res.apk, but how do I modify the placements of shortcuts icon, I want to remove those in order to provide clean looking ROM with only launcher, and clock widget, and I'll leave that up to users to add stuffs to home screen, and save them griefs from having to remove bunches of stuffs off home screen on first boot.
I'm working on Sense based ROM, not AOSP.
Thanks
Look in Launcher.apk or whatever launcher you are using. It seems to be in res\xml\default_workspace.xml, although I can't for the life of me get the thing to work after recompiling/zipping/signing...
gnarlyc said:
Look in Launcher.apk or whatever launcher you are using. It seems to be in res\xml\default_workspace.xml, although I can't for the life of me get the thing to work after recompiling/zipping/signing...
Click to expand...
Click to collapse
I use this http://forum.xda-developers.com/showpost.php?p=6703735&postcount=1 worked really well for me.
For sense roms go to /system/customize/MNS/default.XML
Sent from my Eris using XDA App
Thank you!
firestrife23 said:
Thank you!
Click to expand...
Click to collapse
Yes, thanks!
The way I have added custom icons to my framework-res.apk was to:
1. extract the file to my desktop. (keep original apk file)
2. modify/replace certain images.
3. open up original apk file, the drag and drop new files in.
This alleviates having to repackage and sign the file.
So far I have replace my taskbar and ALL stock icons that were orange are now blue
I searched through the Eris forums and couldn't find anything, so I'm asking: Is there a mod, or a way, to make the status bar at the top of the screen transparent?
These 2 threads might help you out:
http://forum.xda-developers.com/showthread.php?t=764371
and
http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
The 2nd link is found in the first, but thought I would make sure to highlight it. I ran the script and it said it worked, but haven't really had much chance to play with it since. Hope this helps.
Thanks for the info es0tericcha0s, here is what I did after reading through those:
Code:
adb shell
mount /system
exit
adb pull /system/framework/framework-res.apk C:\Somewhere
exit
Once I pulled the framework-res.apk file, I opened it in 7-Zip's file manager (DO NOT EXTRACT!), once opened click
Framework -> res -> drawable-mdpi
Scroll down to "statusbar_background.9.png" and drag the file out of the zip and onto your computer somewhere (leave 7-Zip open) and open it with GIMP or PS or your image editor of choice and make the image transparent (in GIMP just slide the Transparency Slider all the way to the left on the Layers window) and save/export the png file.
Once it is saved, drag it back into the folder in 7-Zip, confirming the overwrite. Once completed, run the following commands:
Code:
adb shell
rm /system/framework/framework-res.apk
exit
adb push C:\Somewhere\framework-res.apk /system/framework/framework-res.apk
adb shell
reboot
You should now have a transparent notification bar, you can play around with the other files in that folder and make other changes.
As with any editing you do to system files on your phone, always do a nand backup, as I am not responsible for any damage you may inadvertently cause to your phone.
http://forum.xda-developers.com/showthread.php?t=768628 and http://forum.xda-developers.com/showthread.php?t=770829
That will make the bar transparent, but it just creates a blank / black bar up top in most screens because the space is still going to be there for the status bar whether there is a color or not.
You should really look into making a transparent theme. That's something I would love to have as long as it had the transparent status bar.
Sent from my nonsensikal froyo using XDA App
A friend and I have been working on it, but he has been incommunicado the past couple of days so haven't been able to do much else. Transparent - Chaos is the start of it though.
That's the theme I'm using. Love it! But I want a transparent status bar!
Sent from my nonsensikal froyo using XDA App
This just gave me a boot loop Thank God for nand...
Ah... worked the second time around. Pretty cool. Thanks for the method of editing the .pngs. Now I'll never get off the computer
You will need to re-sign framework-res.apk before pushing it back for your mods to work.
sickbox said:
You will need to re-sign framework-res.apk before pushing it back for your mods to work.
Click to expand...
Click to collapse
Actually no... I didn't resign and it worked fine using the above method. I took the apk from my desktop, drug it over 7-zip, and opened the folder. I drug the statusbar-background.png (from a sense rom) onto my desktop. I opened it with Adobe Ps CS3 and made the opacity 0%. Save, close, drag back into framework-res.apk. Remove current fw-r.apk from /system/framework and push new one in. That easy. No resigning involved for me!
zwade01 said:
Actually no... I didn't resign and it worked fine using the above method. I took the apk from my desktop, drug it over 7-zip, and opened the folder. I drug the statusbar-background.png (from a sense rom) onto my desktop. I opened it with Adobe Ps CS3 and made the opacity 0%. Save, close, drag back into framework-res.apk. Remove current fw-r.apk from /system/framework and push new one in. That easy. No resigning involved for me!
Click to expand...
Click to collapse
Maybe a little off thread but what settings contol is that in the screen shot?
Thanks!
zach.xtr said:
Maybe a little off thread but what settings contol is that in the screen shot?
Thanks!
Click to expand...
Click to collapse
It's called Power Widget. I think it was like $2.99. You can have up to 7 settings on 1 widget and you can change the size like 1x4, 1x3, etc (even without using adw launcher). You can also change the amount of transparency as well as the color of the indicators.
does anyone know where i can find the clear notification button to edit it i wanna change it to black the actual button not the word "clear"
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!
I wondering if there is a way to change the icons, not programs, in the TouchWiz dock. Example - I hate the green phone icon and want to substitute in the ICS phone icon. I can use desktop visualizer to create a shortcut icon...however, TouchWiz only lets you add apps from the drawer to the dock, and desktop visualizer shortcuts do not show in the app drawer (only on the desktop).
I'm not rooted...yet. I don't want to use a launcher other than TWiz because every single one of them is laggy on the Note.
n00b thought - is there a way, with or without root, that I can use root explorer, find the icon .png being used for the phone, and just replace it with a different .png of my choosing?
Thanks!
You can do it, but it'll take a little bit of work.
Use APK Manager to decompile the apk, find the icon, change it, compile, sign, and replace the original apk with your modified one.
Thanks for the info...led me on a fun journey last night through apk multi-tool. Learned a ton. Ultimately, I couldn't push the apk back to the phone after recompiling because it was a system app...need to root. Fun stuff tho!
jgivesit said:
Thanks for the info...led me on a fun journey last night through apk multi-tool. Learned a ton. Ultimately, I couldn't push the apk back to the phone after recompiling because it was a system app...need to root. Fun stuff tho!
Click to expand...
Click to collapse
Rooting is easy and only takes like 2 minutes. Look at the various methods on the development threads.
Here is a good one!!!!!
http://www.youtube.com/watch?v=T40_b0M34OA
If you end up wanting to that is.
probably a really stoopid question......
but if I wanted to swap the application (not the icon) in the touchwiz shortcut area how do I do that under ICS. On Gingerbread I just selected edit and could drag and drop a replacement app onto the drawer, but following ICS update I can't. Am I being a total dufus?
Jon.
Just go to the app drawer, hit menu then edit, drag the icons out and drag the ones you want in. No root, no app required.
Edit dock from app drawer!!!
DeerChaser said:
Just go to the app drawer, hit menu then edit, drag the icons out and drag the ones you want in. No root, no app required.
Click to expand...
Click to collapse
Man, thanks!! I've been trying to do this for two days now, your post really helped a guy out!! I've now replaced the stupid email app with K9 Mail in my dock!!
Ken
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