[All Carriers]Touch Wiz Themeing Questions

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
alright, so i'm stumped. i can't figure out where the background comes from of the SecSettings.apk. i'm almost certain that the string, or possibly image, isn't located within SecSettings, but i'm trying to use it to find what's being called in. i tried settings_headers.xml as a reference point in res\xml but that's JUST the headers. any ideas anyone?
edit: in another thread, someone said it was tw_background_holo_dark.png but i have no clue as to where this might be. i've tried looking in both framework-res and SecSettings to no avail.
edit: okay so the difference is that's an international ROM. can't believe Samsung made it that different... still looking into it. trying to get an international framework-res to decompile and see where the image is being called in at to compare.
edit: okay, i think i found it :D i'll give it a test later (don't have right dependencies where i am) and let everyone know what i did exactly. seems no themer has been able to do this so another first coming from me.
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
has anyone been able to get a framework-res.apk to compile correctly? i tried 1.4.3.jar but i'm still getting plurals errors :confused:
I have, but that said I had issues with the systemui. I tried one from one rom and it failed, then from another and it worked fine. I remember we had an issue back on the Epic4G were a rom chef had compile his rom using an older version of baksmali which caused a lot of problems for themers when we tried to compile his framework.

As to you're earlier question, I haven't looked but is there a nodpi folder in the framework that might have that background? I know that's where it is on AOSP roms.
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
I have, but that said I had issues with the systemui. I tried one from one rom and it failed, then from another and it worked fine. I remember we had an issue back on the Epic4G were a rom chef had compile his rom using an older version of baksmali which caused a lot of problems for themers when we tried to compile his framework.

As to you're earlier question, I haven't looked but is there a nodpi folder in the framework that might have that background? I know that's where it is on AOSP roms.
which version apktool.jar did you use to compile framework-res? not even sure which versions i have... i had 3 in there and all were different sizes, so different versions :eek:

the nodpi folder is the first place i looked. the stock one is there, of course, but the one Sammy uses is not. ironically, there's a tw_ background in there on the international ROMs so it was changed for at least the ATT framework-res. i'm pretty positive i found it but i have to get my framework to compile first before i can be sure (it's not an image for us, which is exactly what i figured). so, if you could, let me know which apktool.jar you used and i'll give it another go :D
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
which version apktool.jar did you use to compile framework-res? not even sure which versions i have... i had 3 in there and all were different sizes, so different versions :eek:

the nodpi folder is the first place i looked. the stock one is there, of course, but the one Sammy uses is not. ironically, there's a tw_ background in there on the international ROMs so it was changed for at least the ATT framework-res. i'm pretty positive i found it but i have to get my framework to compile first before i can be sure (it's not an image for us, which is exactly what i figured). so, if you could, let me know which apktool.jar you used and i'll give it another go :D
I think I used 1.4.2. It's the one from last November.
 

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
0
The Woodlands, TX
Yeah, I'm having framework compile issues myself... which is weird, b/c every other time I've dealt with stock roms on other devices, it's usually the systemui that gives everyone trouble, and not the framework.

Do you guys know if the framework-res is cross compatible among sprint/att/t-mobile?

**Edit**

Think I just answered my own question. I compared the sizes of both the Sprint and AT&T framework-res.apks from both versions of ICS Domination v6, and they are both the exact same size... so I guess I should be able to flash the Sprint v6.1 framework-res without any problems.... one way to find out.
 

shane6374

Senior Member
Jun 23, 2009
2,802
1,261
0
Minneapolis
Yeah, I'm having framework compile issues myself... which is weird, b/c every other time I've dealt with stock roms on other devices, it's usually the systemui that gives everyone trouble, and not the framework.

Do you guys know if the framework-res is cross compatible among sprint/att/t-mobile?

**Edit**

Think I just answered my own question. I compared the sizes of both the Sprint and AT&T framework-res.apks from both versions of ICS Domination v6, and they are both the exact same size... so I guess I should be able to flash the Sprint v6.1 framework-res without any problems.... one way to find out.
I do know that the first rom we had on the Sprint version was basically an AT&T rom with the Sprint radios. I would almost bet that the framework is one of the things that would be the same across all carriers. Also, the framework doesn't have smali which is where most of the differences appear to be.
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
Yeah, I'm having framework compile issues myself... which is weird, b/c every other time I've dealt with stock roms on other devices, it's usually the systemui that gives everyone trouble, and not the framework.

Do you guys know if the framework-res is cross compatible among sprint/att/t-mobile?

**Edit**

Think I just answered my own question. I compared the sizes of both the Sprint and AT&T framework-res.apks from both versions of ICS Domination v6, and they are both the exact same size... so I guess I should be able to flash the Sprint v6.1 framework-res without any problems.... one way to find out.
alright, i got it to compile. not sure what version of apktool.jar i had that was decompiling/recompiling the stock ATT one on everything but framework-res, but 1.4.2 did decompile and 1.4.3 was what i used to re-compile this one. so, with that being said, i'm gonna go and test my tweak and see if it works out... will report back!
edit: bootloop. won't leave the splash screen :(
edit: i think i know what my mistake was. one more try here :p
very glad i made a safe framework installer heh
edit: another bootloop gahhhh. okay. one more try. if it doesn't work this time then i'm not sure what the problem is...
edit: i'm having trouble signing it...
 

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
0
The Woodlands, TX
I'm going to start from a fresh stock AT&T framework-res too. Isn't the phone standby fix a part of the framework-res? What exactly needs to be changed to implement the fix?

Thanks
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
I'm going to start from a fresh stock AT&T framework-res too. Isn't the phone standby fix a part of the framework-res? What exactly needs to be changed to implement the fix?

Thanks
i thought that was just a build.prop tweak. if it's not, then i'm not sure i know about this standby fix you're referring too.

---------- Post added at 07:27 PM ---------- Previous post was at 07:08 PM ----------

so i figured out it's not re-building my resources... wtf. this is such a pain.
edit: alright, resources built. signed... still bootloop so i'm not sure anymore. i don't know what's up. if anyone gets one to compile with changes to resources.arsc, please let me know how you did it. thanks.
 

NunHugger

Inactive Recognized Developer
Dec 18, 2009
3,842
8,913
0
Des Moines, IA
I can hook you up with my setup. I actually have three tools set up in one folder. One tool to de and recompile...and if that don't work, I have a pair that does. One works with some...the pair works with others. Weird set up, but it works. Have had no issues so far working on my Rom. Give me a few and I will zip it up and pm you a link.

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
 

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
0
The Woodlands, TX
I can hook you up with my setup. I actually have three tools set up in one folder. One tool to de and recompile...and if that don't work, I have a pair that does. One works with some...the pair works with others. Weird set up, but it works. Have had no issues so far working on my Rom. Give me a few and I will zip it up and pm you a link.

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Can I get a PM as well Please.

Oh, BTW The Cell Standby issue is located at framework-res\res\xml\power_profile.xml on a stock framework. Just need to change the two 34s to 3.4.
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
I can hook you up with my setup. I actually have three tools set up in one folder. One tool to de and recompile...and if that don't work, I have a pair that does. One works with some...the pair works with others. Weird set up, but it works. Have had no issues so far working on my Rom. Give me a few and I will zip it up and pm you a link.

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
yes, i'd appreciate that :)

Can I get a PM as well Please.

Oh, BTW The Cell Standby issue is located at framework-res\res\xml\power_profile.xml on a stock framework. Just need to change the two 34s to 3.4.
okay, got it
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
so, great news. first, huge huge thank you to NunHugger. because of him, i was able to compile a framework. also, what i thought needed to be changed i was indeed correct about. right now my settings background is red :p
i'll write up a how to tomorrow. it's 1am here and i have to get up at 7:20 :eek:
 

Tiffany84

Recognized Themer
Jul 27, 2010
6,280
3,323
0
alright, i got it to compile. not sure what version of apktool.jar i had that was decompiling/recompiling the stock ATT one on everything but framework-res, but 1.4.2 did decompile and 1.4.3 was what i used to re-compile this one. so, with that being said, i'm gonna go and test my tweak and see if it works out... will report back!
edit: bootloop. won't leave the splash screen :(
edit: i think i know what my mistake was. one more try here :p
very glad i made a safe framework installer heh
edit: another bootloop gahhhh. okay. one more try. if it doesn't work this time then i'm not sure what the problem is...
edit: i'm having trouble signing it...
I seen your post where you said you finally got it but just wanted to ask if instead of trying to resign have you tried to drag the META-INF folder and the AndroidManifest.xml from the stock framework-res into the modded framework-res? Whenever I'm messing with system apps that's what I do and haven't had any issues.
 

Swiftks

Retired Forum Moderator
Mar 16, 2011
3,741
1,910
0
The Woodlands, TX
so, great news. first, huge huge thank you to NunHugger. because of him, i was able to compile a framework. also, what i thought needed to be changed i was indeed correct about. right now my settings background is red :p
i'll write up a how to tomorrow. it's 1am here and i have to get up at 7:20 :eek:
Awesome, i got the PM as well. Probably won't be able to try it for a day or so, as i will be away from my computer. When you have time can you post or send me a PM of the correct sequence you used to decompile and then recompile.

Thanks

Sent from my SGS III
 

mrvirginia

Senior Member
Jun 12, 2010
4,403
2,699
0
36
Charlotte, NC
change background to background_holo_dark

okay, so this is how i was able to change the background of stuff like SecSettings.apk. ***warning, because of the way Samsung coded stuff, this will change the background of a lot of stock app stuff, ie MMS, Clock, etc.

you need to decompile your framework-res.apk
once this is done, nav to res\values\drawables.xml
change
<item type="drawable" name="screen_background_dark">#ff000000</item>

to (or whatever color)
<item type="drawable" name="screen_background_dark">@drawable/background_holo_dark</item>

here's a link to a stock DEODEXED ATT framework-res.apk that is flashable.
also, this has a dithered background_holo_dark.png

---------- Post added at 08:39 AM ---------- Previous post was at 08:36 AM ----------

I seen your post where you said you finally got it but just wanted to ask if instead of trying to resign have you tried to drag the META-INF folder and the AndroidManifest.xml from the stock framework-res into the modded framework-res? Whenever I'm messing with system apps that's what I do and haven't had any issues.
thanks for the tip. i realized i was reading old notes regarding signing. apk manager automatically copies that stuff over, and i was also doing that. was still giving me bootloops. NunHugger really came through because his tools package worked flawlessly. whatever combination of setup i had before was only working with other system apps.

Awesome, i got the PM as well. Probably won't be able to try it for a day or so, as i will be away from my computer. When you have time can you post or send me a PM of the correct sequence you used to decompile and then recompile.

Thanks

Sent from my SGS III
glad i brought this stuff with me today :) i'll shoot you a PM really quick.

---------- Post added at 08:49 AM ---------- Previous post was at 08:39 AM ----------

i'm going to be trying to find where this is called in into the actual SecSettings.apk but i wasn't having luck finding it last night. it was really really late, though.
edit: yeh, not having any luck finding it just in SecSettings. if anyone has any insight there, please let me know. things i was looking for were "windowBackground", "screen_background_selector_dark" and "screen_background_dark"
 

shiftr182

Senior Member
Oct 5, 2010
1,929
1,135
143
Boise
Hey guys, so I have another question. I have added wallpaper scrolling to SecLauncher2.apk, and when I install it on top of a rom it works fine, but if I add it to a rom and do a clean install, the laucher fc's. Im not sure if it has something to do with the signature, or what. Anyone?
 

NunHugger

Inactive Recognized Developer
Dec 18, 2009
3,842
8,913
0
Des Moines, IA
Hey guys, so I have another question. I have added wallpaper scrolling to SecLauncher2.apk, and when I install it on top of a rom it works fine, but if I add it to a rom and do a clean install, the laucher fc's. Im not sure if it has something to do with the signature, or what. Anyone?
Try placing the resource.arsc from the mod version into the original. See if that works.

Sent from my SAMSUNG-SGH-I747 using Tapatalk 2