[Q] CM7 settings editing help - Android Q&A, Help & Troubleshooting

I got cm7 on my g2 i edit cm7 on a kitchen and i wanted to take some stuff out of the setting apk like remove the call setting option.

TimeMonkey said:
I got cm7 on my g2 i edit cm7 on a kitchen and i wanted to take some stuff out of the setting apk like remove the call setting option.
Click to expand...
Click to collapse
Decompile APK and have al look into source code. I assume you know java? If not, this will be an endless try.
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.

Related

[Q] How to create a complete Theme

Hi everyone,
i´ve searched this forum and google, but i can´t find a tutorial about "how to create a Theme for manila" or else.
I´ve got an idea for theme, but i don´t know in which folder they are or to change them.
Has someone an idea?
benalive said:
Hi everyone,
i´ve searched this forum and google, but i can´t find a tutorial about "how to create a Theme for manila" or else.
I´ve got an idea for theme, but i don´t know in which folder they are or to change them.
Has someone an idea?
Click to expand...
Click to collapse
Welllllllllllllllllll first you have to define "theme" there are alot of people with a Dinik Icon set and Dinik slider.. paired with a wallpaper of choice and call it a theme..
Then there is stuff like Buuf s theme and OrangeStreet that dig a little deeper than just a few icons and skins..
Then.. there is the THEMES... but before diving into a THEME.. know that even something like OrangeStreet (my first theme i did with ConanTroutMan) has over 1300 editted files in it.. and this was before i even knew about pngs in the windows folder or .dll mods , signing and unsigning certs, swype and t9 skins.. hell we could go on for days..
SOOOOOOOOOO
imo
Start by skinning all the manilla files you can find..
Then take alot of the ones you dont know .. and write a number on them.. 1-whatever.. and upload them to your phone.. this will help you find the stuff that wasnt obvious on the first pass..
THEN edit the pngs in the windows folder of the phone..
THEN Open PE explorer and start cracking open dlls..
which requires signing and unsigning certs.
By now you will have lost 45 pounds...AND your wife ...and you dog will have died of starvation.. But you will have a theme that is nothing more than a heavy duty skin.
So then you learn .lua and registry editting.. lua there are entire college courses on lua btw.. coding.. and xml... and use this to move and push some stuff around.. and THEN youll have a full theme.
Thanks, for the quick reply.
Well i think i have to start at the beginning:
so how can I extract the manila png files to edit them?
Use CFC_GUI and plus your phone in and turn it on.. .then click device.. import from device.. then export to pngs.. aim it at a folder.. and you will get a whole fist full of icons to edit.
The second easy to get to set you already know.. phone/windows/_.pngs
and if you cant get one to insert and replace itself, via copy and paste to replace.. then use WinCe to cab it and replace it.
Just make sure when you are done.. pile them all up in one cab so there arent a million cabs on your phone.
Read a Tutorial on CFC_GUI.. you can edit about 1200 files using just that.
Btw i cant wait to see what you come up with.. and if you need anyhelp that you dont wanna post on here (some ideas arent meant to be shared till AFTER they work) feel free to pm me.
This is where it all started for me......
forum.xda-developers.com/showthread.php?t=700826
this is a great tutorial and will have you doing some basic manila editing in no time......
enjoy.....
Well, let me offer my support too
If you have any questions, feel free to ask conan, m0b and myself
I'm also quite interested in which theme you want to do
Grtz,
Degake
degake said:
Well, let me offer my support too
If you have any questions, feel free to ask conan, m0b and myself
I'm also quite interested in which theme you want to do
Grtz,
Degake
Click to expand...
Click to collapse
Me too!
Hi degake!
antoniomistretta said:
Me too!
Hi degake!
Click to expand...
Click to collapse
Hi antonio
How are you doing? It's been a while.
Thank very much you for your great support
If I have some questions I´ll post them.

[Q] Creating a new lockscreen

I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
MechDan said:
I would like to develop a new lockscreen for the my Vibrant. I've looked at some of the app versions. I like the concepts, but it seems like a lot of people complain about battery life and lag of the screen. I would like to make an actual lockscreen, not an overlay.
I am currently running Bionix 1.2.1. I would like to either add the lockscreen as an option on the menu provided in the Bionix Rom or flash the lockscreen in clockwork.
My first questions is, is this possible? Second question is how, or where is there somewhere i can look to get started?
I've looked around in the forums and I haven't seen any guides or any good info on this.
This would be my first jump into development for Android, but I'm willing to put in the time and effort as long as I can find a starting point in this area or get some help.
If this is built deep into the ROM and a difficult process I can find a different project, but I'm always up for a challenge. Any help would be appreciated.
Click to expand...
Click to collapse
It's built-in quite deep, a lot of files need to be edited. Whitehawkx actually PMed me on how to do this the other day, and it sounds quite complicated.
You'll first obviously need to create your .png's to dictate the lockscreens appearance. Then you will have to have coding knowledge, along with knowledge of smali/baksmali and editing .xmls. Thats a VERY brief overview until someone more knowledgable jumps in.
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
MechDan said:
I can do some programming. I've done C++ and I have done some visual basic for work. I just haven't done any Java. I think with all the information here and on Google's developers page I could work my way though it. I would just need a general guideline. I can edit the .png's. I don't think that would be much of a problem.
It might be easier if I could edit an existing one. I like the concept of the puzzle lock. I just think it is kind of hokey. It would also be nice to have a little be more info on the screen and to have emails show up.
Would you be willing to send me what Whitehawkx sent to you? I'm not sure if that is ok.
I don't mind researching my way through it and learning as I go, I was just hoping someone had done something similar.
Click to expand...
Click to collapse
modifying would be the way to go... and unfortunately it has nothing to do with java coding, but dalvik bytecode (which is a major pain... untermensch & whitehawk are heroes with that bytecode).
Anyways, I believe it's in services.jar. You'd have to pull out classes.dex from it and decompile. check this post on how to decompile. and you're going to need the smali & baksmali jars...
anyways after you decompile you're stuck with lots of .smali files which contains the bytecode you would need to modify... it's really difficult to understand it heh
Whitehawkx said:
So you are using the other four lockscreens but want to get the rotary to work as well and are looking for what files are necessary for that to happen, correct?
The files I changed to get the rotary working on KB1 are as follows
Framework-res.apk
~public.xml
~strings.xml [I think one change here]
~Images are already in stock frameworks and already in place
android.policy.jar
~New smali used for rotary. All have "rotary" in their title
~changes to LockPatternKeyGuardView.smali
Settings.apk
~Changes to DisplaySettings.smali
~Changes to arrays.xml
I believe these are all the files I had to modify to get the rotary working.
Click to expand...
Click to collapse
heres what he said when i inquired. unfortunately he didnt go into much detail, i did send him another PM....but keep in mind these are the steps to simply inject an outside lockscreen into your current ROM, not necessarily how to build one from scratch
hopefully these steps may still give you an idea of where everything is located
I always wanted one that opens from the middle of the screen like a matinee curtain. That would be awesome.
Sent from my SGH-T959 using XDA App
Thanks guys! I'll start working with that and see what I can come up with. It looks like I have a lot to learn about it.
I'll try working through it and hopefully I will come up with some more specific questions that may be easier to answer.
Also, if you think of something that may help, let me know. I would appreciate it very much.
With the starting points already given i would build the lockscreen using aosp then port it to your rom. Once compiled you can decompile then different it
Sent from my Incredible using Tapatalk

[Request] Dialer Themes

Hi,
i don't like the standard dialer theme. Can someone make new ones ? Or port some over for the defy ? Or tell me how to do that ?
thanks
i don´t know how to make or port it.
But i found dialer2 in the market.
Test it. it looks nice
thanks for dialer2, looks nice enough for now. But if you make a call you still see the original dialer
congomonster said:
thanks for dialer2, looks nice enough for now. But if you make a call you still see the original dialer
Click to expand...
Click to collapse
I can hook u up, what are you looking for exactly?
a dial pad that looks black, and not so glossy. like the minimal matte one:
http://forum.xda-developers.com/showthread.php?t=726912
tried to metamorph contacts.apk for dialer, but the defy has no contacts.apk
I have the Gingerstock theme from JB3 installed. Something in yellow would be cool so that matches the theme.
Is your phone rooted? If so, can you pull a copy of your dialer for me so I can edit?
Use root explorer, go to /system/app. Grab blurdialer.apk, long hold and copy. move copy yo sd card and attach here
Sent from my MB525 using XDA App
sounds great, here it is. It's from my system. I'm using the orange rom
3.4.2_131-003_Deblur_Sign if that is helpful
congomonster said:
sounds great, here it is. It's from my system. I'm using the orange rom
3.4.2_131-003_Deblur_Sign if that is helpful
Click to expand...
Click to collapse
Hey sorry, got busy at work... I'll grab it now and work on it, stay tuned for post. I'll try to get it as best as possible, but I ddi find while themeing mine, you cannot change the actual numbers only the back grounds. Stupid blur!
I'm going in blind, so not sure exactly how this looks or what managed to change. So do as I say and check it out, whatever you want fixed I'll redo it... Try it out though.
-Grab the apk from the attachment
-Put BlurDialer.apk on your SD card
-Using Root Explorer, Move this apk to /system
-Once in /System, long hold the apk, and hit permissions. Check boxes should look like this:
Read Write Execute
X X X
X
X
So essentially an upside down L.
- Once permissions have been changed, long hold the apk and paste in /System/app , hit yes to overwrite.
- Backout to home screen and reboot.
Let phone completely load up, then go into your dialer and see the changes.
Please report back with what needs to be fixed or what color arrangement you'd like different.
Otherwise enjoy!
Yeah ! thank you ! looks great ! Now it much better integrates in the theme.
I took screenshots with an app. The SDK for 2.2 won't install. It says that i have to install Java SDK, what i already did
So how you did it ? Is there a way to get inside the apk ? As you can see in screenshot 5 there is already red when i pressed the button. Can this changed also to yellow ? I ask because this "red" goes to the whole system. It is in the browser when he loads a site, it's there when i changed the volume and so on. I would like to edit more so that the system has one theme
When there is no way to theme the dialer buttons, is it possible to install the original contacts.apk ? I asked this in another thread too.
Don't forget the Thanks button!
Try this one, I made some more edits, need to see if it is the correct one for the button push. I don't believe there is a way to install the contacts.apk.
To theme the file you need to get into the apk, remove the res folder, theme in the drawable-hdpi and ten put the pieces back together. You can google for files to do so. I dont 't mind helping you..
I wonder how the yellpw in the status bar would look
Anyways, try this and see what differences there is.
Think I found a way to theme that even more. Give me a minute and i'll repost
For Honeycomb Theme
Here you go, this one should look even better.
Congo,
How does it look?
looks great ! thanks.have no time at the moment. Take some screenshot tomorrow
Good deal, look forward to checking it out
I get the sdk to run
Here are two screenshots
This there a Tutorial anywhere, what files i have to edit to get the red in yellow ?
Which apk i have to extract, and is there always a png ? or must i edit a xml file ?
congomonster said:
I get the sdk to run
Here are two screenshots
Click to expand...
Click to collapse
Good deal, I have been messing around further and am finding a few more details I can mess with. I am waiting though on a finalized them I am going to make... I will post when ready with screen shots.
congomonster said:
This there a Tutorial anywhere, what files i have to edit to get the red in yellow ?
Which apk i have to extract, and is there always a png ? or must i edit a xml file ?
Click to expand...
Click to collapse
It depends on exactly what you are trying to do... The main ones will be blurdialer, blurres and framewrok-res, but you have to be very careful with what you are doing. There are .9.pngs in these fiales that need to be decompiled and patched.... It's a lot if work at first until you get the hang of it. There is a full theme guid here on xda on the main board, under hacking then themes. If it sounds excruciating, just tell me exactly what you want and I am happy to do it.

[Q] Accept/Decline icons on the incoming call screen

I want to make the incoming call screen look like the image attached, but I don't know which file I should work with. I searched framework-res.apk, systemUI.apk,
BlurPhone,apk for the images to replace, but I didn't find anything.
Does anyone know which file contains the images?
don.juan said:
I want to make the incoming call screen look like the image attached, but I don't know which file I should work with. I searched framework-res.apk, systemUI.apk,
BlurPhone,apk for the images to replace, but I didn't find anything.
Does anyone know which file contains the images?
Click to expand...
Click to collapse
Phone.apk\res\drawable-hdpi\picture_unknown.png
Hi, matchung
Thank you for your reply.
Maybe I didn't make myself clear. I want to change the looks of the sliding bar, not that little green android. I'm using a 2.3.4 ROM.
don.juan said:
Hi, matchung
Thank you for your reply.
Maybe I didn't make myself clear. I want to change the looks of the sliding bar, not that little green android. I'm using a 2.3.4 ROM.
Click to expand...
Click to collapse
same phone.apk
ic_jog_dial_decline.png
ic_jog_dial_answer.png
use 7zip to take a look on phone.apk, you will find your needs~
Hi, i saw this post and wanted to change the Phone.apk\res\drawable-hdpi\picture_unknown.png because in CM7 nightly its a grayed person not a green android so i got a phone.apk from a nexus s extracted the png, and when i extracted mine from phone.apk i realize that its the same but it still shows the grayed person :/
Anybody now how to change it to the green droid in the first post ?
EDIT:
I think i got it, its in my honeybread theme apk, ill try to make the change and post results...
matchung said:
same phone.apk
ic_jog_dial_decline.png
ic_jog_dial_answer.png
use 7zip to take a look on phone.apk, you will find your needs~
Click to expand...
Click to collapse
I found the files. But they're not in phone.apk, but in BlurPhone.apk.
I don't have Phone.apk.
And I still don't know how to get the same effect as the attached.
Could you give me detailed guide?
don.juan said:
I found the files. But they're not in phone.apk, but in BlurPhone.apk.
I don't have Phone.apk.
And I still don't know how to get the same effect as the attached.
Could you give me detailed guide?
Click to expand...
Click to collapse
ok, find a way to do this.
if use system theme, then you should edit the blurphone?/phone.bak, otherwise, edit the theme apk.
what we need is the resources.arsc, inside root of apk file, u have to find the tool to do so.
find your need, right click on image to replace.
here is what i did.
here is what i did.
[/QUOTE]
is there any way you could put up a video tutorial??? about how to change the way the slider looks???
i'm a real noob when it comes to coding and stuff!!
hi.
does anyone know how to change the incoming call style? i realy hate the swipe style. i would like a push style like on iphone...
cheers!
and becauz this is my first post i just wanted to say hi and thanks to all XDA,

[Q] Change settings and UI.

Hey,
I would like to change something in my Sensation cooked rom,
all the menus are in english and i would like to change it to my language.(like in the photo)
can someone reffer me to an tut how to edit the Setting menu for example.
i already setup the kitchen
Thanks!
framewor-res.apk/res/values/styles.xml
Thanks Alot , can you refer me how to edit the sense UI , like instead the Call button I want to change it to a button in my language.
Thanks!
That will be in the APK for sense (dont know what it is, may also be launcher), and then in /res/values/styles.xml
Decompile the APK and edit the strings to your language.
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.

Categories

Resources