[Q] Combining multimple themes ( SmoothSense + others ) - Desire Q&A, Help & Troubleshooting

Hi!
So, I decided to have a look inside AuraxTSenses framwork-res.apk ( applied SmoothSense to it ), and found .pngs and thought that I'm gonna try editing these. And so I did, and changed my lockscreen.
Then I did some more, and then I tried to change battery icons to Super Circle Battery just by replacing the .pngs and couple of xml files, but I ended up having no battery icon at all. Then I found UltraLinx's Minimal Matte Grey, and thought man I'd like to combine this and some of SmoothSense's icons + grey Super Circle.
Now, I know what I'm doing ( and did ) is NOT the right way, I basically just extracted the files I wanted to change, and then I threw the modified files back in to the framework-res.apk , and then I threw the modified framework to SmoothSense's installing zip and flashed the zip at recovery. And I did have the nice new lock screen look, but Theme Kitchen said that the framework is basically all the way corrupted.
So now I'd like to know what I need to do in order to do this thing correctly? The Theme Kitchen said that Minimal Matte Grey's framework is corrupted too, so I guess it's no good using it as the base-framework, and add the things I'd like to it? I know I'm supposed to sign something and compile and decompile and something?
If someone can give me any advice I would be more than grateful.

Related

[Q] Please help, UOT Kitchen battery mod + MIUI Theme

I flashed MIUI, then applied the theme I wanted, Elite Pro HD. I wanted the SCB battery mod as well, so booted into recovery and flashed the one I made of only the battery mod, however after uploading the framework-res.apk file in the kitchen it removed practically all themeing in MIUI after reboot. After I do that, it will not allow me apply any new themes. Some icons change but nothing else, the dock icons, fonts etc all stay stock MIUI and I can't figure out why so any help would be much appreciated. Would love to be able to somehow implement the SCB mod into the theme or just make them work together.
it sounds to me like you will have to learn how to make custom frameworks if you want it all working together.
my suggestions:-
choose whatever battery you want on UOT - make it for any rom, doesnt matter you only need the files.
decompile the UOT framework - take the .png's for the battery and .xmls that control them
decompile your already custom framework - copy .xml's and .png's from the UOT framework over to it.
compile framework, add it to an update.zip and sign that.
you might want to search xda if you dont know how to do any of the above, all the info is available here
EDIT: looking at that theme it already has a percentage battery, if the .xmls are the same as UOT you could just replace the .png's in the original update and re-sign
trialsrider1 said:
I flashed MIUI, then applied the theme I wanted, Elite Pro HD. I wanted the SCB battery mod as well, so booted into recovery and flashed the one I made of only the battery mod, however after uploading the framework-res.apk file in the kitchen it removed practically all themeing in MIUI after reboot. After I do that, it will not allow me apply any new themes. Some icons change but nothing else, the dock icons, fonts etc all stay stock MIUI and I can't figure out why so any help would be much appreciated. Would love to be able to somehow implement the SCB mod into the theme or just make them work together.
Click to expand...
Click to collapse
Kitchen removes nothing. if u cooked file from your rom, so u get everything stock.
U should cook framework-res.apk from the theme's zip.

[Q] HOW-TO clear or semi-transparent notif bar on any ROM?

I've searched but can't find specific instructions on the exact files needed to pull, edit and push back to the framework to make the status bar semi-transparent or clear. This is something that always bothers me. I'm running CM7 n29 but if I had the general instructions it would be great so I could apply it to future updates as well without having to flash a whole theme. Thanks in advance...
Well, a quick fix would to be to use a theme; The honeybread theme give you a transparent notification bar; I use it and runs great.
http://forum.xda-developers.com/showthread.php?t=943423
I don't know which file it is in CM7, but in a sense rom the specific file I believe is common_app_list_null.png
And it is located inside com.htc.resources.apk > res > drawable-hdpi
You can rename any .apk into a .zip to open it and extract it for editing. Once you edit it, you may need to sign the file. I just use metamorph for my theming stuff, which makes things a lot faster.
As far as editing, you'd just need to select the area you want to be transparent or translucent, and edit its opacity accordingly with a decent image editing app. If you are looking for one, paint.net is a surprisingly good free one.
Thanks for the quick replies. I forgot about Metamorph. I've not messed with it but maybe I'll see what I can find out going that route. I don't want to change the whole theme because theres always something I don't like (icons, etc). I have Photoshop so its no problem editing it when I find it, just making sure I edit the correct .png! Thanks again!

[Q] [HELP] Porting some SystemUI tweaks to XWLP*

Hey guys,
I found this really nice pull down menu here:
http://forum.xda-developers.com/showpost.php?p=26035085&postcount=713
Except with this mod, I cannot add it onto my XWLP8 because it was made for XWLP9.
I've figured out how to move the battery icons over (by extracting a bit and looking thru then using the battery mod tool). I just would like to get pretty much the whole thing over including the transparent background and the black look of it.
What would be the best way of going about this? Or would it be better for me to just upload by SystemUI.apk and Framework.apk to let you guys put it together?
Well, I've been trying and trying to get it working. I have very little experience with android hacking, but I went into the Battery mod zip that i flashed on before and realised there was a MORPH folder within - i assumed whatever was in the folder would morph with the original system files. I chucked the files from the XWLP9 mod into the Morph folder in the places, and zipped it up again - I actually named the zip lol because I thought it would just stuff up my secondary boot i use for testing this stuff, and it actually worked. It looks like its working for most areas of the OS. Although I'm not too sure yet...

[Q] How to theme resources.apk?

Does any one know how to theme the htc resources with out crashing? im theming MikG 3.11, but every time i theme the resources, it crashes on the weather widget. any help?
Hmmmm.
What are you using to theme it? Have you extracted the resources and right clicked an image and tried using a paint shop program then simply painting over the images? Thats what I am doing on CM7 and did some cool stuff with the widgets and MMS on the latest build (such as blach background and neon edges). What OS are you using? I'll try it since I wanna theme sense now. I'm too new to XDA to post my new roms. I'm focusing on stability and HD modifications but like your idea
alexthesniper21 said:
Does any one know how to theme the htc resources with out crashing? im theming MikG 3.11, but every time i theme the resources, it crashes on the weather widget. any help?
Click to expand...
Click to collapse
First thing you will need is an apktool then folow the directions to install the proper framework. Then use paint, photoshop, or gimp to make your changes. Be careful of anything that ends in .9 as these are special pngs and need to be handled differently. I used to theme Sense but stopped due to having to rewrite to many files for the changes I needed and have moved on the AOSP based roms which are much more straight forward.
Thank blaz1nr for this, all info he passed on to me, Hope it helps you,,,Later,,,
When you start working on transparency. The status bar/footer should be 20% less transparent than the background. Header starts at 10% less than background. Pop ups are where is gets a little harder. They must be opposite each other (ie) black/white text or white/black text. Black looks better but is more of pain. Make sure to keep pop ups slightly transparent, you should be able to see through them a little. Once you have the first one done then you be able to see what % to change and where,but these are good starting points. Status bar/header/footer should be the 3 darkest. It should look something like this. Status/[email protected] 60%, [email protected]%,[email protected]% pop [email protected] to 80%. So 100% is solid as you move down towards 10% it gets more see through.
PART 1:
Im going to to try to sqeeze this down as much as possible.Basically I'm gonna give you, the how to do stuff.Then I'm going to give the short cut's to figuring out what to do.First your gonna need some stuff.
1 Java EE jdk, jre
2 Apk tool
3 Android Sdk
4 Eclipse IDE
5 7 Zip
6 M10 editor
7 Cygwin
8 Android Kitchen
9 Notepad++
10 Alot of patience
Listed above is everything needed to build or theme a rom.
You wont need android kitchen or cygwin,if you just want to theme.You will need everything else.
This is a easy way to learn how to set up android kitchen so you can build your own roms from unrooted stock roms----> http://www.androidmerom.com/2012/01/11/4/
How to dev correctly----> http://forum.xda-developers.com/show....php?t=1273044
Porting things like clocks or widgets---> http://forum.xda-developers.com/show....php?t=1222746
Adding transparancies to status bar(its in the galaxY s forum but this is what you do) http://forum.xda-developers.com/show....php?t=1327565
Learn how to recompile and decompile apk's first,Since this is a sense rom, you need 3 things to do this,SystemUi.apk,its in system/apps,
framework-res.apk & com.htc.resources.apk, they are in system/frameworks
PART2
Ok so now I'm gonna give you a bunch of info that will speed up your learning of what to do.
Since this is a sense rom, When you decompile SystemUi.apk it needs dependencies.These are the two apk's you got from system/frameworks.Learn how to use apk tool there's guides everywhere when its time to add dependencies you need to use both of these commands in cmd. apktool if framework-res.apk,apktool if com.htc.resources.apk, i cant stress enough that you first learn building apk's and how to use apk tools. once you know how apk tools works the commands earlier will make sense.Learn how to push your new apk to your phone with sdk.
A system app cannot just be dropped in the system. Unless your rom zip is open and your building it. Here come's the good stuff, when your trying to do something like move you clock to the center of the status bar.What you can do is decompile the apk's from earlier out of a rom that has a feature you like.Open it and find what files you need, copy them to your desk top. Now find the same files you need to change in your rom and look through them to see whats different in yours that you need to change(Notepad ++ is used for this/also M10 editor). 7zip will be your best friend from here on out.In 7zip all you need to do is click open archive. now you can add or remove anything you want,when your done just close it.This works for every zip file.UOT kitchen can be used to do a small amount of theme work.
Build.prop work is done the same way using notepad++. Say you built your own rom,but your not sure how to get your rom name or add 3g/4g/wifi tweaks or hardware acceleration or what ever.There's a lot that can be done in a build.prop that will do some major magic.you could compare mine to yours and see whats different and make changes.Use common sense here.Don't just go changing things if you don't know what it is first. That's it all you need to know right there to get you started. Now all you have to do is search around for whatever it is you want to do. locate the things you need to change and your on your way.
Although basically I've given you everything you need to get you stared.Not everything can done by simply changing lines of code in one spot some things have files located in multiple location that will need to be edited so...RESEARCH RESEARCH RESEARCH.Remember don't be a **** and steal someone's thunder,just so you can say you built a rom. Give props and ask the other dev's if you want you use something they worked hard making.

[Q] ediing SystemUI.apk

I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
HATe410 said:
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
Click to expand...
Click to collapse
Okay this is totally wrong.... lol
In order to edit any apk you need 7zip and apk manager or apk tool. And you need to properly deodex your system. Simply renaming systemui.odex to .bak will not "deodex" your ROM. I dont remember how to deodex anymore cause i dont run ROMs odexed. There are numerous threads explaining how to deodex so use search and google my friend
But you are on the right track. you could simply rename the .png files. But you have to rename them to exactly the same name as the ones which are being displayed currently. Or you could edit the status_bar.xml file and target the new .png files which is a bit more difficult but cleaner. Cause if you rename the new png files, you have to either delete or rename the old png files. Which i recommend the later.
Then you need to recompile the systemUI.apk with apk manager or apk tool (whichever you decide to use) google them both to get a better understanding of them. I dont wanna just "tell" you what exactly to do because i had to google everything myself, and in my googling i learned a lot more than what i wanted which made everything so much easier to do.
Also, when you recompile the apk, do not sign the apk. You could zip align the apk which i do to all my mods to ensure they are correct.
Hope this helped and good luck! If you need help just PM me or post in the thread. I respond to PMs quicker though. But have fun
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
HATe410 said:
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
Click to expand...
Click to collapse
I have done most of these edits that you would like to try and I will tell you this if you search google with the information you need you will find tutorials on everything you are asking for. This is what I did and how I learned these fun tasks. Everything you want to do especially in ICS can be accomplished. Also check out a site called UOT Kitchen, it may save you on a step or two. Although learning how to do it is still quite educational as well.
over it
Of course i googled these topics, i google things ALL the time lol I've also used this site as a resource for over a year, tried all the apk modification tools suggested to no avail. Not understanding the instructions given here and being a tech/computer savvy person has made me very upset. This has caused me allot of stress and loss of sleep, Gave up returned my phone to factory settings goodnight
Thanks?

Categories

Resources