[Q] Editing secmms.apk of TW ROMS - Galaxy Note II Q&A, Help & Troubleshooting

Hi,
I'm trying to learn to edit the secmms.apk file of TW Note 2 ROM. But, this being the first time, i couldn't find any guides or threads to help me on this.
I have decompiled the apk file and now i'm stuck as i couldn't understand what files mean what.
Could you please help me point to the correct path?
thanks for your help..:angel:

If you don't know where to go, how you can find path
First decide what changes you want to make on secmms. then search on XDA suppose you like to stop SMS to MMS conversion then search for same, you will find result and make changes accordingly.
This is way to learn and keep it on..

dr.ketan said:
If you don't know where to go, how you can find path
First decide what changes you want to make on secmms. then search on XDA suppose you like to stop SMS to MMS conversion then search for same, you will find result and make changes accordingly.
This is way to learn and keep it on..
Click to expand...
Click to collapse
I know what i want to change.
It's not much. I just would like to change the background and making alterations in the bubble styles along with their contact photos for every sms like in AOSP SMS app
But, the problem is, first i couldn't find the normal res folder which contains all the layouts as in other apk files.
So, i'm lost as in where to find the XML files which has to be modded.
I searched the forum but, i'm not able t find one for modding TW's secmms file.
Could you please point me somewhere? I badly need this.

Have you deodexed secmms.apk?
Sent from my GT-N7100 using xda premium

dr.ketan said:
Have you deodexed secmms.apk?
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
I think so..
may be i'll try that out again from the first.
But i remember in some thread saying that the stock apps(sms, contacts, etc.,) all ae different to the apps and they won't folder like res.

You needs to read lots.
And I think you didn't deodexed
Sent from my GT-N7100 using xda premium

Related

[REQ] EL26 stock with some exceptions

I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
cidica said:
might want to change your topic it's EL26 EL22 was talked about but just as an RDF file that showed up iirc.
Click to expand...
Click to collapse
ACK! you're right. stupid typos
thanks
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
playya said:
You don't know about UOT kitchen? Also you should read up on theming since the two things you are asking for can easily be done by you. Its just a matter of changing PNG files within the apk.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
here's the problem with that
I have absolutely no idea what you just said, lol
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
KCRic said:
PNG files are image files. Like a .jpg they end with .png
An apk (.apk) is the application package. Every application on your phone is an apk file. You can open them with 7zip - don't unzip it though unless you feel like signing it and other crap. Also, make sure you zipalign and optimize the PNG files (Google that).
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
hahaha now he is really confused. Lol Hey try UOT Kitchen hopefully by now you have looked it up and not just said I dont know what that is. If you have not then pm me and I can try and help you further. But try to help yourself as well...Good luck
Wizard Knight said:
I was going to ask this for EL13 but being that a new leak is out, might as well ask on that, lol...
I like to run stock but 2 things I'm addicted to are the battery % mod and the transparent drop-down drawer.
if I'm the only one, I wouldn't expect a themer to go nuts... but I know a lot of people like to run stock so if this can happen, I'd be eternally thankful
Click to expand...
Click to collapse
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Uot kitchen is so easy to do. Just upload the needed files and theme it up
Sent from my SPH-D710 using xda premium
rujelus22 said:
If this is something you really want I can do it for you. I would say do it yourself but the battery % mod can be a little tricky. I am assuming you just want the stock battery icons then?
PM me and we can chat more.
Click to expand...
Click to collapse
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Thanks for all the info guys, Im not the OP of this thread but I have learned just as much by reading it, thanks!
i would also like this done...
jocampo86 said:
i would also like this done...
Click to expand...
Click to collapse
Have you ever tried UOT Kitchen, it may also even teach you something about theming....Maybe? Give it a shot
playya said:
What's tricky about exchanging files. He will be.alright and its great practice for future theming. Its android not IOS so nandroid and go at it.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
The default system is not setup for % icons so you have to add a bunch of images and set the xml file to use them. It was more going through the xml. If this is all he wants changed then why would he learn xml?

Themes. Where to get the templates from?

so i kinda started to get into theming and im doing well i think lol but i wanna know how to get templates for the roms i wanna make a theme for i got one for el30 (thanks travmofosho) but i wanna try and theme cm7.2 beta 1 but im not sure if i would have to theme the orginal rom file or is there a certain way to get a template or something less than the full rom that i can just flash over it?
Well the key to theming is proper punctuation and grammar.
So start with that.
And really all you need to do is download a ROM and rip the files out. If you want to theme CM9, download CM9 and extract the appropriate files. Same for EL30.
I remember someone had the files pre-ripped and ready to go back in the day. Maybe you could be the one to pick that back up!
It depends on whether you want it to work with theme changer or not. If not then just pull the framework-res and systemui out of the ROM. But for CM7 if you want it to work with theme changer you will need to rip apart an apk that is set up for it like androidian or cyanogen from the ROM or download one that is close to what you want and mod that. If you google making a theme for cm7 a tutorial pops up in the list.
Sent from my PantechP4100 using xda premium
Lol, well alright, im just used to typing without caring. I'm not trying to get it to work with the theme chooser app. I just want it to be a flashable .zip since it seems that development for cm7 has kind of slowed down so I can use my theme until its updated. So basically all i have to do is delete all the files from the ROM and keep the things that get themed like systemUI.apk, framework-res.apk, and the other things?
And about making templates for other ROMs i would just make them and post them in the themes section..? I need an account to upload files though. I'll have to sign up with something.
XDA allows up to 12 Mb in a zip file which will handle most themes with a couple of system apps. And yup, you are good to. Just yank out the framework and systemui and have at it.
Sent from my PantechP4100 using xda premium
kennyglass123 said:
XDA allows up to 12 Mb in a zip file which will handle most themes with a couple of system apps. And yup, you are good to. Just yank out the framework and systemui and have at it.
Sent from my PantechP4100 using xda premium
Click to expand...
Click to collapse
Well i made a dev host account so I'm good. Its almost "comlplete" but I'm having some problems finding certain things. Where would i find the signal bars? They stay green but my them is blue. I cant find where they are or whats wrong with them. (I flashed it over clean gb thats why they're green)
zz_stat_sys_signal_#_sprint this is what they are named substitute the number for the actual signal amount =]
Sent from my SPH-D700 using xda premium
another question.... how can i fix the black txt on black menus?
lilajrestnom said:
another question.... how can i fix the black txt on black menus?
Click to expand...
Click to collapse
Xml edit.. need to decompile the framework its one of those 0000000 values don't know the exact value name.. never really themed gingerbread yet... least decompiling just png swapping.
Sent from my SPH-D700 using xda premium
Big Goron said:
Xml edit.. need to decompile the framework its one of those 0000000 values don't know the exact value name.. never really themed gingerbread yet... least decompiling just png swapping.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
seems to complicated for me to mess with lol thanks tho ill try and figure that out later
lilajrestnom said:
seems to complicated for me to mess with lol thanks tho ill try and figure that out later
Click to expand...
Click to collapse
Not to hard you need to install java developer kit... and then the android sdk.. and install the resources for gingerbread or 2.3... once thats done get apk manager or apktool. you use apktool/manager to decompile the res and change the values/colors.xml.. its a little hard to explain to someone who just started youll get there though i did eventually.
You could always throw it into the kitchen and change the background color of the menus or change the text to white.
Sent from my PantechP4100 using xda premium
I think the kitchen would b an easier solution lol or at least just for now
But I'm having one other problem
I used a template provided by travmofosho (I think that's his name srry if I spelled wrong) and the bootanimation says "nashdogg" lol cuz he made that for him and I can't seem to get rid of it I tried applying a boot ani from the kitchen but it doesn't stick over it how could I get that out..?
Sent from my SPH-D700 using XDA
lilajrestnom said:
I think the kitchen would b an easier solution lol or at least just for now
But I'm having one other problem
I used a template provided by travmofosho (I think that's his name srry if I spelled wrong) and the bootanimation says "nashdogg" lol cuz he made that for him and I can't seem to get rid of it I tried applying a boot ani from the kitchen but it doesn't stick over it how could I get that out..?
Sent from my SPH-D700 using XDA
Click to expand...
Click to collapse
It is probably the kernel splash. Flash another kernel
Sent from my PantechP4100 using xda premium
kennyglass123 said:
It is probably the kernel splash. Flash another kernel
Sent from my PantechP4100 using xda premium
Click to expand...
Click to collapse
Thank you for the tip will try tomorrow and probably upload it on here once I fix those 2 things
Sent from my SPH-D700 using XDA
so i wanna just make sure from one tiny thing. I want to make a theme for the cm7 beta 1 so i deleted everything except for systemui and the framework is that what i need to do? is there any other files i shouldnt have deleted?

Theme Help, Looking for PNG Location

I have been trying to find this image and cannot. In the screen shot I am trying to take the progress bar you see in green and go blue with it. I have looked through both frameworks and systemui and anything else I can think of. I can find several twprogressbar PNG's but they are already blue from the theme Im using. Does anyone know where that image is at. Thanks in advance.

			
				
try secdownloadprovider.apk
Just checked. No green pngs in it either. Thanks.
Checked both. The actual provider doesn't even have a Res folder. Kinda odd.
Its an xml not a PNG. I don't have a PC right now so I can't look and tell u the exact one but dazed knows. I would send him a pm. Sorry I couldn't be more help but it changed in ICS and without being able to look I can't remember which it is.
Sent from my SPH-D710 using xda premium
Tiffany84 said:
Its an xml not a PNG. I don't have a PC right now so I can't look and tell u the exact one but dazed knows. I would send him a pm. Sorry I couldn't be more help but it changed in ICS and without being able to look I can't remember which it is.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Hey that is awesome. Thank you. I throught I was going insane. Its the only green really left and I wanted to try and change it. I'm not the greatest with XML but I can give it a shot. Thanks again. I'll shoot him a PM after while.
Its really easy to change. If u want u can download my theme or Dazed‘s blue theme or an ICS theme and when u know the exact one u can swap them out or you can open them up and look at it so u get an idea. U need to use something like notepad++ to edit the XML and if your going to make the change yourself your going to need to decompile the apk because just extracting it with 7zip or something won't allow u to edit the XML. U won't be able to read it.
Sent from my SPH-D710 using xda premium
Hi tiff.
_Burst_ said:
Hi tiff.
Click to expand...
Click to collapse
Hey!! Where u been?? Why aren't u building themes??
Sent from my SPH-D710 using xda premium
Tiffany84 said:
Its really easy to change. If u want u can download my theme or Dazed‘s blue theme or an ICS theme and when u know the exact one u can swap them out or you can open them up and look at it so u get an idea. U need to use something like notepad++ to edit the XML and if your going to make the change yourself your going to need to decompile the apk because just extracting it with 7zip or something won't allow u to edit the XML. U won't be able to read it.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks. Once I know which one it is I may do that. The hardest time I'm having right now is decompiling and recompiling ICS frameworks without issues. I am using APk multi tool and for the life of me I cannot get it to see the project. I try to decompile with dependencies and it says select a project so I do. But it never selects. I'll keep playing with it. But if burst knows which one it is that would be awesome. I see he's now in the thread.
Have u tried using the tool agat posted in development?
Sent from my SPH-D710 using xda premium
Tiffany84 said:
Have u tried using the tool agat posted in development?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You know I downloaded it but didn't really give it a shot. Maybe that should be were I move to instead of keep beating my head against the table with the Multi tool. I'll give it a shot.
Apk manager is the best. I'm tired so too lazy to read previous posts, but the progress bar XML is progress_horizontal.XML under framework-res.apk > Res > Layout.
Sent from my SPH-D710 using Tapatalk 2
Ascertion said:
Apk manager is the best. I'm tired so too lazy to read previous posts, but the progress bar XML is progress_horizontal.XML under framework-res.apk > Res > Layout.
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
I just decompiled that and couldnt seem to see that file in the layout folder. maybe im looking in the wrong place?
Edit, there is one in the drawable folder?
Well I changed out the Progress_horizontal.xml and the TWprogress_horizontal.xml from the drawable folder. I used the framework from Tiffs ICS with a twist of Honey theme v1.0. That damn bar is still green. Verified all the PNGs were right. And made sure that I did indeed get thee right xmls switched over. Not sure what else to try. I looked in the layout folder and there wasn't a file named that in there. and ideas?
My bad, it is drawable. For ICS, it might be a part of SystemUI. (They also placed the battery mods in there.) Try those sub folders and search for "progress". I haven't done any ICS theming as of yet, but I think that should do it.
Ascertion said:
My bad, it is drawable. For ICS, it might be a part of SystemUI. (They also placed the battery mods in there.) Try those sub folders and search for "progress". I haven't done any ICS theming as of yet, but I think that should do it.
Click to expand...
Click to collapse
I think I may have got it, I just decompiled and changed the color code in the progress_horizontal.xml and recompiled. I looked through systemui and didn't see any files with that name. I'm flashing now so we will see shortley. Thanks for all your help. I will post back in just a few with the results.
Nope. OK, time to browse systemui a little better.
Found another one in tw.framework
OK, so I think I know what my issue is, problem in my process. thanks again. post back when i figure something out. if anyone has anymore input its all welcome.
OK, Im at a loss. I have changed it in both frameworks. still that bar is green, i dont get it.
scarmon25 said:
I think I may have got it, I just decompiled and changed the color code in the progress_horizontal.xml and recompiled. I looked through systemui and didn't see any files with that name. I'm flashing now so we will see shortley. Thanks for all your help. I will post back in just a few with the results.
Nope. OK, time to browse systemui a little better.
Found another one in tw.framework
OK, so I think I know what my issue is, problem in my process. thanks again. post back when i figure something out. if anyone has anymore input its all welcome.
OK, Im at a loss. I have changed it in both frameworks. still that bar is green, i dont get it.
Click to expand...
Click to collapse
It's gotta be the framework-res one. Are you editing the hex values? Eg: #ff475864
Sent from my SPH-D710 using Tapatalk 2
Ascertion said:
It's gotta be the framework-res one. Are you editing the hex values? Eg: #ff475864
Sent from my SPH-D710 using Tapatalk 2
Click to expand...
Click to collapse
Yeah, I am having some trouble getting apk manager to find the project. it keeps telling me to select a project and I select one, but it doesnt sellect., any ideas on that one.
scarmon25 said:
Yeah, I am having some trouble getting apk manager to find the project. it keeps telling me to select a project and I select one, but it doesnt sellect., any ideas on that one.
Click to expand...
Click to collapse
Not sure lol. It should show up if you have the apk in the right folder. I think u gotta place it in the 'pleace apk here for modding' folder. Option to select should be 25.
Sent from my SPH-D710 using Tapatalk 2

Softkey question.

When I first started theming the nexus I would go into the .zip of the wanted rom and replace the softkeys. It was very easy because they were all named ic_sysbar...
I have had trouble locating these files for awhile now but have gotten by with the great rom control or toolboxes built into roms. However, I would like to know what these pngs are called now, and where they are located, with in the re.apk.
Could somebody tell me? and is it still as easy as replacing these pngs to make it work?
I know these are noob questions but I cant find the pngs
-Thanks
Please move this thread to Q&A. Thank you!
I'm not of much help on this, but if I were you, I'd delete this thread and put it in Q&A; maybe even Themes and Apps. You're going to get flamed for posting in development, so I'm just trying to help out.
Sent from my Galaxy Nexus using Tapatalk 2
NoobDroid90 said:
When I first started theming the nexus I would go into the .zip of the wanted rom and replace the softkeys. It was very easy because they were all named ic_sysbar...
I have had trouble locating these files for awhile now but have gotten by with the great rom control or toolboxes built into roms. However, I would like to know what these pngs are called now, and where they are located, with in the re.apk.
Could somebody tell me? and is it still as easy as replacing these pngs to make it work?
I know these are noob questions but I cant find the pngs
-Thanks
Click to expand...
Click to collapse
The images are in the SystemUI apk at the /res/drawable-xhdpi folder. They still start with ic_sysbar
Sent from my Galaxy Nexus using xda premium

application with customization

I have several questions about the customization.
First, how do we get the transparent notification page (not the bar).
Is it possible that the smartphone turns on receipt of an SMS (when it is locked).
How to install S-Voice, I installed the apk, but it does not work (network problem)
And for the installation of "Bavia Engine 3), how to install it.
Finally, how to add emoticons in the list present on the HTC.
thank you
up
Search is your friend. Google knows all.
Sent from my HTC One using xda premium
spitfire2425 said:
Search is your friend. Google knows all.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
I thought that the purpose of the forum was sharing. And it allows to advance development.
It is not the purpose of this forum?
legolas63 said:
I have several questions about the customization.
First, how do we get the transparent notification page (not the bar).
Is it possible that the smartphone turns on receipt of an SMS (when it is locked).
How to install S-Voice, I installed the apk, but it does not work (network problem)
And for the installation of "Bavia Engine 3), how to install it.
Finally, how to add emoticons in the list present on the HTC.
thank you
Click to expand...
Click to collapse
There are edits that need to be done in systemui.apk couple xmls and a smali edit (may have changed for 4.2.2)for the drop curtain to be trans.
Yes its possible to have sms screen on(lots of roms use that mod) the others you asked about i dont know i don't use those apps or apks.
Sent From A Tweaked OutHTC ONE
legolas63 said:
I thought that the purpose of the forum was sharing. And it allows to advance development.
It is not the purpose of this forum?
Click to expand...
Click to collapse
Those were questions. You didn't share anything. This belongs in q&a and before you post you need to sesrch.
Sent from my HTC One using xda premium
dased14 said:
There are edits that need to be done in systemui.apk couple xmls and a smali edit (may have changed for 4.2.2)for the drop curtain to be trans.
Yes its possible to have sms screen on(lots of roms use that mod) the others you asked about i dont know i don't use those apps or apks.
Sent From A Tweaked OutHTC ONE
Click to expand...
Click to collapse
Thank you for your help, this will allow me to direct my research accurately.

Categories

Resources