Change lockscreen slider color?? - Epic 4G Q&A, Help & Troubleshooting

i saw somewhere once on an Epic that the stock Samsung lock screen slider was a red circle and red arrow up with the lock in the middle. I can't seem to find the thread in order to do more research or get what i am looking for.
so does anyone know how i can get my slider icon to be red instead of the greyish black it is now?

Flash a theme, or if you only want the lockscreen then delete all the images except the lock.
Texted while driving

063_XOBX said:
Flash a theme, or if you only want the lockscreen then delete all the images except the lock.
Texted while driving
Click to expand...
Click to collapse
where are the images located?
or where can i get just a theme for the lockscreen, i don't want a full on theme.

Are you using the standard or the aosp lockscreen?

cerebralzulu said:
Are you using the standard or the aosp lockscreen?
Click to expand...
Click to collapse
standard samsung on Epic

The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
black06c230 said:
standard samsung on Epic
Click to expand...
Click to collapse

p3dr0maz said:
The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
Click to expand...
Click to collapse
using Root Explorer i can get to /res/....but there is not a folder for drawable-hdpi
anymore thoughts on places to check?

Nope, that's where it is for moi. Weird. Try unzipping the whole folder then look on /sdcard/extracted/ and see if it shows up there.
If not maybe post your framework-res.apk and twframework-res.apk here and i can take a look.
edit: Maybe mine's different since technically we don't have the stock TW Launcher. We have a slightly modified one on Bonsai.
black06c230 said:
using Root Explorer i can get to /res/....but there is not a folder for drawable-hdpi
anymore thoughts on places to check?
Click to expand...
Click to collapse

p3dr0maz said:
The images you are looking for are found in the framework-res.apk file.
Specifically i think you might be looking for /res/drawable-hdpi/
zz_unlock_arrow.png
zz_unlock_arrow_msg.png
maybe even
zz_unlock_lockbg.png
zz_unlock_lockbg_press.png
Click to expand...
Click to collapse
That's where they are on mine. Stock, not rooted ec05.
Sent from my always stock, EC05 Epic 4G

zanderman112 said:
That's where they are on mine. Stock, not rooted ec05.
Sent from my always stock, EC05 Epic 4G
Click to expand...
Click to collapse
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?

p3dr0maz said:
Nope, that's where it is for moi. Weird. Try unzipping the whole folder then look on /sdcard/extracted/ and see if it shows up there.
If not maybe post your framework-res.apk and twframework-res.apk here and i can take a look.
edit: Maybe mine's different since technically we don't have the stock TW Launcher. We have a slightly modified one on Bonsai.
Click to expand...
Click to collapse
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?
EDIT: in the extracted file i don't see the ones i'm looking for....i am using Syndicate ROM if that helps

Apk's are just archives. You can use your favorite archiving application to modify the APK ( i like WinRAR ). All I normally have to do is open the APK with WinRAR and take the modified PNG's (not .9.pngs - these have to be run through eclipse first) and drop em in to the folder you want. Boosh! Done.
I'm seeing the files right where we said they'd be. you still don't have 'em? /system/framework/framework-res.apk
black06c230 said:
thanks wasn't reading in full...i found the files once extracted
BUT of course i am find a new file and name it to overwrite the current file but how do i recompile it back to the .apk to relpace the .apk?
Click to expand...
Click to collapse

Inside framework-red.apk is a folder called res. Inside that is drawable-hdpi, all the way at the bottom of that.
Sent from my SPH-D700 using Tapatalk

p3dr0maz said:
Apk's are just archives. You can use your favorite archiving application to modify the APK ( i like WinRAR ). All I normally have to do is open the APK with WinRAR and take the modified PNG's (not .9.pngs - these have to be run through eclipse first) and drop em in to the folder you want. Boosh! Done.
I'm seeing the files right where we said they'd be. you still don't have 'em? /system/framework/framework-res.apk
Click to expand...
Click to collapse
okay thanks i figured out my error and now can see the file
thanks for your help
1 last ? where is the file for the task/notification bar color?

black06c230 said:
okay thanks i figured out my error and now can see the file
thanks for your help
1 last ? where is the file for the task/notification bar color?
Click to expand...
Click to collapse
Its in framework res.apk too look for status bar background. There are two one is a bigger png which is for when you pull it down and that's a dummy file because on the epic its inside twframework-res but the other is a small box and a .9.png so if you don't know how to edit them borrow one from a working theme.
Sent from my SPH-D700 using Tapatalk

Related

[Q] adding battery % mod to existing theme

I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
amosher13 said:
I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
Click to expand...
Click to collapse
If your theme has 1% intervals already its just a matter of swapping the png files. If the theme don't your gonna have to devompile the apk and edit 3 xml files then recompile
Sent from my SPH-D700 using XDA App
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
amosher13 said:
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
Click to expand...
Click to collapse
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
in general, yes, but i may not know how for these purposes. what might i be missing?
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
very interesting, i'll certainly check that out. though i am interested also in learning how to do it myself, but that looks pretty cool!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
amosher13 said:
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
Click to expand...
Click to collapse
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
amosher13 said:
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
Click to expand...
Click to collapse
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
amosher13 said:
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
Click to expand...
Click to collapse
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
gotcha, perfect thanks!

[REQ][HOWTO] Making your own battery mod?

People are using different rom's , some other are asking for specific mod etc
Could someone write some guide how to do it, to enlight those who are not aware ?
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Locster126 said:
Take the framework-res.apk from your current rom and upload it to http://uot.dakra.lt/kitchen
Once uploaded go to battery mod and select the battery style u want and cook it.
When its cooked extract the framework-res.apk from the downloaded file and either replace it with root explorer or push it with adb back into the phone.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
This is what I know already, but this is not working and phone is keeping crashing
masi0 said:
This is what I know already, but this is not working and phone is keeping crashing
Click to expand...
Click to collapse
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
shaolin79 said:
Depends of which rom you are running but if you use VillainRom I think you need to open your modded framework with 7-zip and replace "META-INF" directory with the one found in the original framework of your rom. This is needed to sign the file.
However I'm not sure you use VillainRom (where files must be signed) and I didn't use yet the kitchen ... but your feedback is usefull if you want to try ...
Click to expand...
Click to collapse
I am using stock KE4
masi0 said:
I am using stock KE4
Click to expand...
Click to collapse
Ok so ignore what I said upper ... should be only for signature of the rom (not needed in stock roms).
Anyway ... if someone has the solution ...
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
PoTi_96 said:
I always made that on my own...
Open the decompiled .xml in the framework-res.apk, edit those lines, add my own battery.pngs and that was all...
I didnt test it on my sgs2... But it should be the same way to get it...
Swyped from my overclocked GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
could you tell which .xml to edit and what to add within the file?
I juz grab one of the batt mod out there and replace the .png files under /res/drawable-hdpi-v4 with the ones I want. guess its kind of a lazy way to do it=)
I have KE2 and get a "signature verification failed" error when trying to apply the UOT.zip file :-(
Anyone some idea how to get this applied?
Also my original framework-res.apk file doesn't have any folder called "/res/drawable-hdpi-v4" but the UOT file has!?
masi0 said:
could you tell which .xml to edit and what to add within the file?
Click to expand...
Click to collapse
I dunno exactly which one it was right now but I think the battery.xml somewhere in the first 3 or 4 folders...
sorry idk it anymore ... Long time no use for :/
Swyped from my overclocked GT-I9100 using XDA Premium App

[Q] request of honeycomb blue outline

Hey guys i dont no much about theming so i was wondering if someone can pull the blue outline from the honeycomb fusion theme. The one that pops up with every popup on the theme. thats all i need and want or if someone can point me in the rightt direction to get it myself. Thankyou.
The blue outline on popups is part of the images as a hole. Just look in the drawable-hdpi folder of both frameworks
Sent from my SPH-D700 using Tapatalk
The images you want to copy over are:
framework-res:/res/drawable-hdpi/
popup_bottom_bright.9.png
popup_bottom_dark.9.png
popup_bottom_medium.9.png
popup_center_dark.9.png
popup_center_bright.9.png
popup_center_medium.9.png
popup_top_bright.9.png
popup_top_dark.9.png
popup_top_medium.9.png
charlie95113 said:
Hey guys i dont no much about theming so i was wondering if someone can pull the blue outline from the honeycomb fusion theme. The one that pops up with every popup on the theme. thats all i need and want or if someone can point me in the rightt direction to get it myself. Thankyou.
Click to expand...
Click to collapse
So the images i just copy them to the framework i got correct im using the darkhorse theme or do i unzip those files and just add them to the dht and rexip then flash .what would be eadiest
charlie95113 said:
So the images i just copy them to the framework i got correct im using the darkhorse theme or do i unzip those files and just add them to the dht and rexip then flash .what would be eadiest
Click to expand...
Click to collapse
You can do either one. I would update the zip that way if you need it in the future you will have it done already.
Sent from my SPH-D700 using XDA Premium App
Well i tried but no luck i couldnt put the framework apk back together
charlie95113 said:
Well i tried but no luck i couldnt put the framework apk back together
Click to expand...
Click to collapse
You should only be copy and pasting these from the Honeycomb frameworks over to the framework your modding. Don't unzip (extract) anything, just OPEN the archive using either WinRAR or 7zip (I use 7zip personally) and just copy/paste.. Extracting and attempting to re zip the frameworks are going to cause trouble.
Ok thanx ill try that when i get ahold of my pc unless i can do it through the phone
I've done some zip work through the Epic using Root Explorer/Astro/ES File Explorer at different stages to get it all to work and its a pain in the butt. You would be much better off just using your PC, take you a whole 5 minutes to pull those pop up pngs mentioned by p3dr0maz and paste them into your framework and flash it/ADB push it.

.9 PNG Change Error Compiling

Hey Guys, so I'm working on a theme port (Yes I've Asked Multiple Questions About This) , well, when I change a .9 PNG file, it has errors compiling. How do I compile then? Can I not change .9 PNG files?
alphadog32 said:
Hey Guys, so I'm working on a theme port (Yes I've Asked Multiple Questions About This) , well, when I change a .9 PNG file, it has errors compiling. How do I compile then? Can I not change .9 PNG files?
Click to expand...
Click to collapse
M&S gives a tutorial about it here:
http://forum.xda-developers.com/showthread.php?t=1506177
Personally, I've found that if all you're doing is adjusting the hue or saturation (the color of the image) you can straight make the edit. At least I've had the two changes I've made work without doing anything special.
Sent from my SGH-T989 using xda premium
yoft1 said:
M&S gives a tutorial about it here:
http://forum.xda-developers.com/showthread.php?t=1506177
Personally, I've found that if all you're doing is adjusting the hue or saturation (the color of the image) you can straight make the edit. At least I've had the two changes I've made work without doing anything special.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Thanks, but I'm just moving from one theme that I'm porting, to the other, which is the ported one.
alphadog32 said:
Thanks, but I'm just moving from one theme that I'm porting, to the other, which is the ported one.
Click to expand...
Click to collapse
So you're having trouble moving the image to the new .apk or what are you asking?
yoft1 said:
So you're having trouble moving the image to the new .apk or what are you asking?
Click to expand...
Click to collapse
Okay, I have a stock framework, and then I have a bunch of png's from another theme in the i9100 section, if I put a .9 image, it wont compile right. So again, if I put the. 9 from the theme to the stock, it wont compile.
alphadog32 said:
Okay, I have a stock framework, and then I have a bunch of png's from another theme in the i9100 section, if I put a .9 image, it wont compile right. So again, if I put the. 9 from the theme to the stock, it wont compile.
Click to expand...
Click to collapse
As long as you're replacing files with the exact same name and not creating new ones it should compile. Alternatively, you don't even need to uncompile and recompile. Just take your stock framework and open (not extract) it in 7zip. It'll show you all the files. Drag and drop your modified files over into the 7zip window. It shouldn't have to compress them or anything, it'll just replace the files that have the same name. That's how I make all my modifications.
yoft1 said:
As long as you're replacing files with the exact same name and not creating new ones it should compile. Alternatively, you don't even need to uncompile and recompile. Just take your stock framework and open (not extract) it in 7zip. It'll show you all the files. Drag and drop your modified files over into the 7zip window. It shouldn't have to compress them or anything, it'll just replace the files that have the same name. That's how I make all my modifications.
Click to expand...
Click to collapse
That's, ill give it a shot tomorrow.
alphadog32 said:
Okay, I have a stock framework, and then I have a bunch of png's from another theme in the i9100 section, if I put a .9 image, it wont compile right. So again, if I put the. 9 from the theme to the stock, it wont compile.
Click to expand...
Click to collapse
Paste ur error log so I can tell you the problem
M&S

[Q] Replace icons?

Hello,
I would like to know if it is possible to replace the system icons (phone, contacts, Play Store) in Deviant Wicked v10 with the system icons from Deviant Domination v1 and if it is possible, how would it be done.
Thanks in Advance.
Its very possible.. You can do it by extracting the icon.png from the res folder within the apks you want the icon from, and then use a launcher like nova to replace the icons in the drawer or desktop using the PNG you extracted.. That is the easy way.
If you wanna use the touchwiz launcher, you have to extract the icon.png from the apk you want the icon from, decompile the apk you want to use, replace the icon.png to the one you want (the one you extracted), compile the apk, and then push it to system/app.. I think there's special things you gotta do to get the phone, contacts and play store to compile and launch correctly though, I never messed with them much
Sent from my SGH-T999 using Tapatalk
Thanks
Unzipped i don't know how many apk's but cannot find the icons anywhere.
Look in the res/drawable-xhdpi folder.. Should be one of those pngs
Sent from my SGH-T999 using Tapatalk
serio22 said:
Look in the res/drawable-xhdpi folder.. Should be one of those pngs
Sent from my SGH-T999 using Tapatalk
Click to expand...
Click to collapse
Thank you for your help. I Found the play store icon. it's in the Phonesky.apk. extracted it from Domination, replaced it in Wicked but when I tried to copy the apk back to the phone, it gives an error and wont allow the copy.
shootingblanks00 said:
Thank you for your help. I Found the play store icon. it's in the Phonesky.apk. extracted it from Domination, replaced it in Wicked but when I tried to copy the apk back to the phone, it gives an error and wont allow the copy.
Click to expand...
Click to collapse
Did you decompile, replace icons and recompile it?
Sent from my SGH-T999 using Tapatalk
I used WinRAR to unzip it, replaced the icon, zipped back then renamed it.
shootingblanks00 said:
I used WinRAR to unzip it, replaced the icon, zipped back then renamed it.
Click to expand...
Click to collapse
That's not gonna work.. You need to decompile and recompile it.. Look for threads on how to do it
Sent from my SGH-T999 using Tapatalk
ok. thanks

Categories

Resources