How can add Lock screen with framework-res?(in framework-res)
can someone help me?
It's not easy, if you've never modified anything, you'll have a lot of difficulty to make it. there is more than one file at modify.
i know it's have some mods on many *.xml like public.xml and more files but you know any page to can help me?
Depends a lot on which rom base you want to do this, if it's aosp,ICS, JB i9000 rom I guess you have to work on sources,do it yourself or apply a diff patch (search for Evilisto name on xda, he provided such diff patch for at least a Blackberry lockscreen> aosp).
If stock Samsung rom it should be "easier" if I can say,only full tutorial I know is French and based on froyo:
http://galaxys-team.fr/viewtopic.php?f=6&t=14563
How Can add Ripple Lock Screen To CM10?
galaxy s iii mini is hdpi like i9000
Can someone use it?
i think developers must work on
framework-res.apk
android.policy.jar
and if developers can port it,we can work on ink Lock Screen.
If you find out... Let me know I'm working on finalizing a new theme I made and would love to implement it into it.
Sent from my SGH-T959V using xda app-developers app
nirvanite said:
If you find out... Let me know I'm working on finalizing a new theme I made and would love to implement it into it.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
+1
Sent from my GT-I9001 using xda app-developers app
I have been doing some poking around in framework-res.apk and it shows many xml files that link to the lockscreen it seems. After doing a uot kitchen themed lockscreen those pngs inside the drawables-hdpi directory need to be mapped right in the xmls to display on the screen at the right given time. Decompile, edit icons or add your own and then change one icon map in the xml files and finally recompile and push to your device.
Sent from my SGH-T959V using xda app-developers app
Related
I was told that in drawable hdpi i can modify pngs but not 9 pngs! Will changing basic pngs and not 9's conflict or can i just drag all the images except status bar! Help please! Thanks
Sent from my Full Android using XDA App
Can you be a little more specific please?
Sent from your mom's phone.
I want to modify all pngs in framework res apks, drawable htpi's! Are there some that should not be touched or can i just replace them from another apk drawable htpi file? Swap them and overwrite!
Sent from my Full Android using XDA App
Yes you can just pull the images from another evo framework. If you want to add extra images like adding battery percent, you will have to edit some XML files if the framework you are adding them to doesn't originally contain them. As long as you are just replacing files you should be good to go.
Sent from your mom's phone.
Editing .9.png's is easy enough, too...but it does take some extra effort. Do a little searching. There are several good how-to's out there specifically about .9's.
This is where i am at with it!
Can i just swap pngs from one res to another and leave the 9s or do the 9s have to stay with corresponding pngs or are they two seperate enteties! Do the 9s in a res effect the pngs within the file!
Can i just swap res for res!
Sorry for being a pain but i need to know! Cant do it alone and i respect your knowledge!
Sent from my Full Android using XDA App
If you are just pulling a 9patch file from another rom you don't need to worry about it. You can just copy it straight over.
Sent from your mom's phone.
Will try
Sent from my Full Android using XDA App
How about swapping the whole drawabale hdpi file, pngs and all!
Sent from my Full Android using XDA App
Pretty much if the filenames correspond from the different roms then your rom will pull it correctly. Draw9 patching isn't too difficult as long as you understand how to patch/recompile them; otherwise, editing them is as simple as photoshop or gimp. Also, certain files will show up as index color in photoshop and I pretty much stay away from those since it's too bothersome to recompile them. An example of mashed up themes would be lowrider's theme that uses components of various themes.
Thanks
Sent from my Full Android using XDA App
Should have my second rom release up in a few days! I will def give you props thanks again!
Still alot of trial and error to come!
Sent from my Full Android using XDA App
Bear with me guys....I know this is a question and would be better suited in Q&A but Idt anyone in there would no the answer.....I want a red themes phone.....I was able to do the keyboard with HTC IME and I used uot kitchen for the status bar and icons. But I want more than just this....I want to make my sliding tabs on my lockscreen red with red icons. I also want red loading bars and status bars.....pretty much anything that was white I want to make red.....is there any way I can do this?
Sent from my ADR6300 using XDA App
You need to edit images if your using cm7 or a Gingerbread Tom its in framework-res in the framework folder and in SystemUI on the app folder as for sense you will need to edit files in the HTC resources apk its in the framework folder if its a sense 2.0 Tom then inside of the I believe customize folder find an apk to edit(that is if your wanting to be able to resourt to stock theme) and edit that or just edit the HTC resource file like mentioned for sense sorry if there are any mistakes in this I'm on my phone and can't check for proper names of the locations.
Sent from my ADR6300 using XDA App
Ok thanks for the info....what programs are out there that are good for editing these apks? I'm sorry I'm new to editing apks and this is my learning experience!
Sent from my ADR6300 using XDA App
Well to edit the images in the apk just change the .apk to .zip and look through it for the files you want to edit they will be images as for the txt you will need to edit the services.jar there is a guide on here somewhere that tells you how to do it just Google changing txt color in android notification bar.
Sent from my ADR6300 using XDA App
I'm not worried about text color I already did the notification bar I'm more concerned with the lock tabs and loading bars....the small green accents here and there
Sent from my ADR6300 using XDA App
Those are in framework-res if your on an aosp rom so just open it up and play around.
Sent from my ADR6300 using XDA App
Also what program should I use to edit xml documents?
Sent from my ADR6300 using XDA App
That's something I'm not exactly sure of you will need to decompile the apk first if I remember correctly then u edit never took the time to research how to decompile bit after its decompiled you should be able to use several programs just Google for one
Sent from my ADR6300 using XDA App
Well I changed apk to zip and then extracted....there weren't a lot of images but there were a lot of xml documents that had titles that looked like they were for what I needed to edit so now I just need to figure out how to edit them....I know a lot of html and basic javascript so from my understanding it should be easy but my version of visual studio won't let me edit xml.....I need another program....recommendations?
Sent from my ADR6300 using XDA App
Go into it and look for the hdpi folders there should be about 600 images if your in framework-res
Sent from my ADR6300 using XDA App
Found it....looks like quite a job! Any idea where I could find replacement icons without having to re edit all of these?
Sent from my ADR6300 using XDA App
Just edit the hue in Photoshop or paint.net its real easy I use paint.net plus its free and lightweight only 3 megs and does a great job
Sent from my ADR6300 using XDA App
So I'm using paint.net to work my way through the hdpi images....when I'm done do I just rezip the framework file with the stuff set to store and then change extension to .apk and then rezip the Rom and flash it? Idk how to apply my changes
Sent from my ADR6300 using XDA App
Yup
Sent from my ADR6300 using XDA App
sick i just finished editing com.htc.resources.apk and framework-res.apk.....i changed anything that was green to red and im letting my phone build a bit of a charge before i flash it....wish me luck
elixir911911 said:
sick i just finished editing com.htc.resources.apk and framework-res.apk.....i changed anything that was green to red and im letting my phone build a bit of a charge before i flash it....wish me luck
Click to expand...
Click to collapse
Flash it? Did you make an updater for it or did you replace the files in a ROM that you're going to flash? I personally just push the .apk via ADB shell.
How did it go
Sent from my ADR6300 using XDA App
I did the xml editing for all the status bars, vol bars etc on my old Eris to change them to blue. Wasn't too bad, just extracted the XML where the current colors were all listed then edited the raw xml with a hex editor and put the new colors in (backwards) then applied, was pretty cool....
edited alll the files that I wanted and re packed them into my rom (skyraider) then just flashed the rom as if it were a nightly update (no wipe data/factory reset).....It worked great! I mucked a few things up here and there but overall it looks very slick....I've officially made my first theme for skyraider 4.0! Wasn't too hard at all....But now that I've done all this work there's a few images I can't seem to find that I want to change the color of....Mainly the highlights press color on the select a connection type dropdown and more importantly the volume popup bar when you increase the phone volume. Also I'm interested in trying to edit some apps like the market and the messages list......and my keyboard so I can get rid of the green in the candidates bar but unfortunately I think these apps are "signed" or something.....Does anyone have information on editing apks like that? when I try to edit them it seems to work correctly until I try to install it on my phone....Input on how to change these apps and the volume bar and everything else stated would be greatly appreciated.....And many thanks to odst for being as helpful as he has been with all of this. This has been a great learning experience
x2kjosh said:
I did the xml editing for all the status bars, vol bars etc on my old Eris to change them to blue. Wasn't too bad, just extracted the XML where the current colors were all listed then edited the raw xml with a hex editor and put the new colors in (backwards) then applied, was pretty cool....
Click to expand...
Click to collapse
Sorry I didn''t realize you had posted the answer to my question about vol. bars.....Where do I find this xml and more importantly how the hell do I open and edit it? I can't figure out how to open these xml's for the life of me
Would it work to theme the actual cm9 rom to get things themed that themes can't get such as lock screen? That's the only thing I can think of right now but I'm sure there's more things. Would this work or does the theme replace any files that would change whatever was changed from the original rom?
Sent from my SPH-D700 using XDA App
lilajrestnom said:
Would it work to theme the actual cm9 rom to get things themed that themes can't get such as lock screen? That's the only thing I can think of right now but I'm sure there's more things. Would this work or does the theme replace any files that would change whatever was changed from the original rom?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Yes it will work just fine. As long as the theme apk doesnt interfere with what your themeing it will be just fine. I'll break down what the theme is..
Essentially it is a redirection. It has the drawable folders just like the ROM for whatever DPI, in the epic's case HDPI. How it works is a redirection XML will shoot the application to another XML which is written to specify what goes where. Such as the status_bar... you would place that image in the Drawable-HDPI and the XML for the SystemUI.apk would be written for that [email protected]/status_bar.png if you catch my drift.
Of course its a bit more complicated but that is the essential. just an FYI if you decide to ever make one.
Ya I get what you're saying. I have thought of making a cm7/9 theme but never had time. But I think I want to just add a little more to the theme that hasn't been done.
Sent from my SPH-D700 using XDA App
CM7 and CM9 themes aren't cross compatible at least fully.
Sent From My Sprint Galaxy Nexus
ÜBER™ said:
CM7 and CM9 themes aren't cross compatible at least fully.
Sent From My Sprint Galaxy Nexus
Click to expand...
Click to collapse
Ya I know that I meant that they're both used the same way, like the lock screen isn't themed from the theme itself. I know that I can't use them on both roms lol. I may have asked a dumb question earlier about contacts but I'm not that much of a noob to try cm9 themes on cm7 lol. And the contacts was just because I don't have experience with cm9 lol this is the first time I ever ever actually use it lol.
Sent from my SPH-D700 using XDA App
The Index
A lot of effort has been put down while collecting these guides, and it doesn't harm to hit the thanks button. It helps.
BTW, I will update this guide a couple of times in a week. Do let me know if you find a good guide.
Hope you learn something . All the best :thumbup:
Where to find colors for theming
I was lurking in XDA when i found this useful thread...
Here
P.S.: The OP is for Froyo, for GB, see post 62 in the thread
Icon Pack Tuts
Some tips for icon creation
Changing icons of each app individually
How to create icon packs for ADW/Apex Launcher/Holo and a lot of other launchers
Artists
Icon packs, themes and uccw by @sammyycakes
@SeriouslyCrazy -icon packs, uccws, walls, etc-
@$wissdroid 's theming corner
Make it like ICS!
1. ICS style lockscreen for GB by @iamareebjamal
JB
1. JB statusbar mod by @SpaceCaker
2. JB statusbar mod by @nvky71
CM ROM mods/themes
1. CM 9/10 mods by @K.A.
2. CM 7 Themes
3. CM 10/10.1 Themes
4. CM 9 Themes
Misc Articles
1. Multi lockscreen mod by @nayser
2. Windows style task switcher *for JB* by @K.A.
3. Theme chooser for stock GB by @SpaceCaker
4. Galaxy SII theme for Beautiful widgets by @-Aatif-
5. For GB/ICS, S3's Accuweather like app by @wunghau
6. Enable softkeys in statusbar on CM7 by @NutellaBanane
7. Total S3/S4 makeover for Ace by @Ansh1107
8.SIV makeover by @-Aatif-
9. Bigger pic in call mod
10.How to install a theme
List of launchers and similar apps
1. An awesome list of almost ALL launchers available in the market
2. Make Apex Launcher themes compatible with other launchers .:youtube-video:.
Sent from my GT-S5830 using xda app-developers app
'Do it Yourself' guides
1.General theming guide by @theimpaler747
http://forum.xda-developers.com/showthread.php?t=916814
2. Ultimate Theming Guide by @iamareebjamal
An awesome guide for sure..
Covers decompiling+.9 pngs+ theming in the simplest way possible. Click here
3. JB style navigation for CM7 ROMs
http://forum.xda-developers.com/showthread.php?t=1953934
Basically statusbar mods..
4. Make your own themes for apex launcher
http://forum.xda-developers.com/showthread.php?t=1649891
5. Basic .apk modding using Virtuos 10
http://forum.xda-developers.com/showthread.php?t=2069287
6. Centre clock and icon switches
http://forum.xda-developers.com/showthread.php?t=1361715
7. An awesome guide to pattern lock theming
http://forum.xda-developers.com/showthread.php?t=1330063
8. Advanced theming mods collection by @deathnotice01
http://forum.xda-developers.com/showthread.php?t=2018688
9. Create your own WidgetLocker theme by @deathnotice01
This guide is originally for LDPI devices but the only thing which i think will change for MDPI is the dimensions of the images..
http://forum.xda-developers.com/showthread.php?t=1695650
10. Android resizer tool (PC)
http://forum.xda-developers.com/showthread.php?t=1889295
11. The Definitive
APK Modding & Theming Thread by @XperienceD
Almost everything you may need to know about apk modding. One of the most comprehensive guides ever
http://forum.xda-developers.com/showthread.php?t=2295002
12. How to move the clock to the centre of the statusbar, and move other icons as well.
http://forum.xda-developers.com/showthread.php?t=1767593
13. Lidroid toggles
A guide to add 14 toggles to your expanded status bar, ONLY for Samsung roms.
14. Boot splash image
Adding a boot splash image to your custom rom
Changelog
•OP : Added Status Bar Edits
•Edit: Added guides + 12
•Edit: Added more guides, + layout changes, + a major edit + Sticky! :]
•Edit: Added DIY guides + list of launchers
•Edit: Added 2 more guides
•Edit: Added more guides, there are now 40+ items in this list!
Don't laugh at the changelog, even though its funny
Sent from my GT-S5830 using xda app-developers app
Credits
Credits
•XDA
•Members who helped me
•The reader for reading this guide.
•Ace-i Whatsapp group, @amogh420, @iamareebjamal, @srt99, and others..
If you have any suggestions or you think there is a guide which shall be here, pls PM me and help make this index better and more informative
Sent from my GT-S5830 using xda app-developers app
I've started to wonder why would you even need ninjamorph ?It's a nice app, no doubt about it. But the way I do it is, just extract the framework-res.apk using ES file explorer, replace the pngs of your choice, zip the contents of the apk back, rename .zip to .apk, move to system/framework & set permissions. That's it !
Sent from my GT-S5830 using xda premium
Venomous Viper 119 said:
But the way I do it is, just extract the framework-res.apk using ES file explorer, replace the pngs of your choice, zip the contents of the apk back, rename .zip to .apk, move to system/framework & set permissions. That's it !
Click to expand...
Click to collapse
in ninjamorph you will not need to do all these things u mentioned..
it saves time and it is simple..!!
experienced users can do that by your way, but for newbies ninjamorph is good :thumbup:
Sent from my GT-S5830i using xda app-developers app
Venomous Viper 119 said:
I've started to wonder why would you even need ninjamorph ?It's a nice app, no doubt about it. But the way I do it is, just extract the framework-res.apk using ES file explorer, replace the pngs of your choice, zip the contents of the apk back, rename .zip to .apk, move to system/framework & set permissions. That's it !
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
In ninjamorph, you dont have to extract anything. Png replacement is supported. No need to zip, rename and set permissions.
Sent from my GT-S5830 using xda app-developers app
Anyways, newbies find it easier. Good work
Sent from my GT-S5830 using xda premium
Major Updates coming really soon.
Waiting for perms.
We could have had it all, Rolling in the Deep!
Updated.
Included the guides/mods etc. from the SGA themes and apps.
Will scavenge the other forums
If you know a guide or any mod etc plz pm me
This is gonna be huge :fingers-crossed:
-asdf-
Update
-asdf-
Do it yourself guides coming in a few hours!
-asdf-
Thanks for adding my work! Really appreciated it :thumbup:
Ansh1107 said:
Thanks for adding my work! Really appreciated it :thumbup:
Click to expand...
Click to collapse
NP do let me know if there are other theming guides u know, or u have one..
-asdf-
'Do it Yourself' guides
Update!
-asdf-
Minor updates
-asdf-
check this out..
you can add this..
http://forum.xda-developers.com/showthread.php?t=1889295
Sent from my GT-S5830i using xda app-developers app
srt99 said:
check this out..
you can add this..
http://forum.xda-developers.com/showthread.php?t=1889295
Sent from my GT-S5830i using xda app-developers app
Click to expand...
Click to collapse
Added TY :thumbup:
-asdf-
Really good tutorials, thanks.
Another small update
Sent from my GT-S5830 using xda app-developers app
Can someone help me or point me in the right direction for editing a theme? I want the Cobalt theme to have transparent status bar, transparent system backgrounds(dialer, settings...etc) just like the HoloGlass Beta but with all the nice stuff from Cobalt(https://play.google.com/store/apps/details?id=com.dustinb.theme.cobalt) (HoloGlass https://play.google.com/store/apps/details?id=com.mix3d.theme.hologlass.beta)
I'm still trying to figure this out, I've decompiled both themes, copied like 50 images from cobalt(signal, wifi...etc) to hologlass overwriting the originals, edited preview and changed the default wallpaper then recompiled, signed it, installed but the only thing that I can tell is different is the default wallpaper, everything else is the same, the preview didn't even work, just shows a red X....I don't understand.
If it's a system app you don't want to sign it. You need to preserve the original signatures if I remember correctly. Utilities like apk multi tool can do this for you when it's time to recompile. Could that be the problem?
Sent from my SGH-T999L using Tapatalk 4
Im at work....but when I get home I will tell you how to do it with 7Zip. Very easy to do
Sent from my SGH-M919 using XDA Premium 4 mobile app
DocHoliday77 said:
If it's a system app you don't want to sign it. You need to preserve the original signatures if I remember correctly. Utilities like apk multi tool can do this for you when it's time to recompile. Could that be the problem?
Sent from my SGH-T999L using Tapatalk 4
Click to expand...
Click to collapse
I didn't know a theme was a system app?
Well I was wrong, It mostly worked, most things changed except WiFi and signal bars(Which was one of the main features I wanted from cobalt) Maybe it would be easier just to take the transparent stuff from holo glass and put it into cobalt? Idk but I still need help with this...
k00lguy105 said:
I didn't know a theme was a system app?
Click to expand...
Click to collapse
It depends on what you're theming. I'm just guessing but the status bar is probably in the SystemUI.apk or SecLauncher2.apk. so to theme it would require modding the correct system app.
Sent from my SCH-I535 using Tapatalk 4
DocHoliday77 said:
It depends on what you're theming. I'm just guessing but the status bar is probably in the SystemUI.apk or SecLauncher2.apk. so to theme it would require modding the correct system app.
Sent from my SCH-I535 using Tapatalk 4
Click to expand...
Click to collapse
ok, but signing it didn't break it so idk.