[4.4]Lockscreen Handle Flashable Theming Template - Android Themes

Just wanted to share my Lockscreen Handle theme flashable zip template (using the VRTheme method) that is compatible with 4.4 KitKat ROMs.
The purpose of this zip is to use as a base for updating your favorite lockscreen handle themes from previous Android versions (they are available throughout these forums) to be compatible with your 4.4 ROMs.
For the sake of time, I won't list out detailed instructions on how to use this template to update the old themes, but I'm definitely willing to just update them for you if you want to post a link to it (time-willing, of course).
General Usage Instructions
* Download the zip file: Lockscreen Handle Flashable Zip Template
* Unzip it, as well as your favorite lockscreen theme from an older Android version
* Within the vrtheme/system/framework/framework-res and vrtheme/system/priv-app/Keyguard folders, overwrite the respective pngs with the pngs from your old theme zip. NOTE: In your old zip, all of these pngs will be in the framework-res folder...so you'll need to note the png names in each of the sub-directories within the vrtheme folder of the 4.4 template and copy the old version pngs to every folder in the new template that they appear.
* Re-zip the template
* Flash with TWRP/CWM
* Reboot
* Enjoy your new lockscreen!
Credits
@seshmaru for the VRTheme zip base

Thank You) Searched only in framework-res, gave nothing. Replaced in Keyguard.apk and it works

Do you know how to replace the lock screen wallpaper in kk?
Sent from my HTCONE using Tapatalk

How can I change the colour of the clock on lockscreen?

olorolo said:
Do you know how to replace the lock screen wallpaper in kk?
Sent from my HTCONE using Tapatalk
Click to expand...
Click to collapse
I think in KK the wallpaper can only be set in Display settings...which means it's probably somewhere in the frameworks/base source code......which means that there's no way to do it using Vrtheme.
mitchellreece said:
How can I change the colour of the clock on lockscreen?
Click to expand...
Click to collapse
Not through Vrtheme...you'd have to decompile either Keyguard.apk or framework-res.apk and modify the styles.xml and/or the colors.xml in the values/ folder.

CPA Poke said:
I think in KK the wallpaper can only be set in Display settings...which means it's probably somewhere in the frameworks/base source code......which means that there's no way to do it using Vrtheme.
Not through Vrtheme...you'd have to decompile either Keyguard.apk or framework-res.apk and modify the styles.xml and/or the colors.xml in the values/ folder.
Click to expand...
Click to collapse
Thanks for that info!
Sent from my MT11i

mitchellreece said:
Thanks for that info!
Sent from my MT11i
Click to expand...
Click to collapse
If you want to send me your framework-res.apk and Keyguard.apk I can probably change the text for you?

CPA Poke said:
If you want to send me your framework-res.apk and Keyguard.apk I can probably change the text for you?
Click to expand...
Click to collapse
No probs, that's easy stuff for me thanks though
Sent from my GT-P3110 using Tapatalk

this template will only work on aosp and not sense correct? can you make one for sense kk also?

Related

[THEME] [UPDATE 12/27] CM6.1.1 Gingerbread Theme V0.3

Hey guys, this is the CM6.1.1 Gingerbread theme
DOWNLOAD FLASHABLE GINGERBREAD THEME HERE
UPDATE 12/25 : UPDATED CMPARTS.APK FROM LADIOS AND ADDED dalvik.vm.dexopt-data-only=1 TO THE LAST LINE OF BUILD.PROP FROM ATTN1. [V0.2]
UPDATE 12/27 : Fixed framework-res.apk [v0.3]
V0.1 FIXED : Notification bar pulldown power control widget has a black wifi icon and white gps/bluetooth/sound
V0.2 FIXED : SHOULD OF FIXED BOOTLOOPS FOR MOST PEOPLE BY ADDING LINE TO BUILD.PROP
V0.3 FIXED : SHOULD OF FIXED HUGE HEADPHONE ICON AND MORE PULLDOWN POWER WIDGET COLOR ICON PROBLEMS
[I TAKE SOME CREDIT FOR THIS WORK, IT IS DONE BY THE WORK OF : ATTN1, ASIMMONS, LADIOS, BELAC AND GANNI]
ASimmons made the wonderful hdpi to mdpi theme porter, and Ganni made the base of this theme, thanks to them! All I did was run the tool and decompile the framework and edit the script. Thanks to Belac for the LiveWallapers.apk and Attn1 and him for helping me compile this stuff.
Links:
THEME: http://forum.xda-developers.com/showthread.php?t=875542 DONT USE THIS! JUST A REFERENCE LINK!
ONE CLICK THEME INJECTOR WITH HDPI TO MDPI RESIZING: http://forum.xda-developers.com/showthread.php?t=826941
ALWAYS NANDROID FIRST....AND PLEASE WIPE DALVIK BEFORE FLASHING
To get clock to show up and other colors right :
Go To (on phone) Settings > Cyanogenmod Settings > User Interface > Tweaks Extras > Select Theme > STOCK_Gingerbread
SCREENSHOTS
http://flickcabin.com/public/viewset/20693​
So if I already have cm6.1.1 installed, can I just install the Gingerbreadxml.rar and framework-res.apk for the theme to work? Or do I have to reinstall cm6.1.1 with GM theme built in? Thanks
You could, but I would just flash the rom zip over what you have as it has a few extras like the gingerbread browser and phone apk.
Nice find, brswatt. Finally a full theme that doesn't break my tethering. Updating my thread to point to this one.
Bob889 said:
So if I already have cm6.1.1 installed, can I just install the Gingerbreadxml.rar and framework-res.apk for the theme to work? Or do I have to reinstall cm6.1.1 with GM theme built in? Thanks
Click to expand...
Click to collapse
You could, but you wouldn't have the gingerbread dialer.
So just flash the whole thing. It doesn't hurt.
Then just put the xml on your card.
Here is a LiveWallpapers.apk to adb push or include in that rom before you flash. I replaced the cyanogenmod wallpaper with the nexus s wallpaper.
BelacNongaw said:
Here is a LiveWallpapers.apk to adb push or include in that rom before you flash. I replaced the cyanogenmod wallpaper with the nexus s wallpaper.
Click to expand...
Click to collapse
Does the nexus s live wallpaper work on the Aria? I tried many times before, but it didn't work.
Thanks this eases my gingerbread crave a little
Sent from the corner.
This isn't the actual nexus s wallpaper....it is our livewallpapers.apk with that background in so it is identical.
Did u use v2.1 for the ariaGB ROM u provided the link for?
Sent from the corner.
Moh_Jay said:
Did u use v2.1 for the ariaGB ROM u provided the link for?
Sent from the corner.
Click to expand...
Click to collapse
Yes, but they keyboard didn't seem to apply right.
Attn1 is in the process of helping me make a flashable zip for the framework, dialer, and keyboard.
Ive got a multi-language gingerbread keyboard the size is 6.2 mb if your interested.
Sent from the corner.
Moh_Jay said:
Ive got a multi-language gingerbread keyboard the size is 6.2 mb if your interested.
Sent from the corner.
Click to expand...
Click to collapse
Well, when the flashable zip thread pops up in the themes forum, you can link it there, or I'll link it in the first post.
edit: I posted it here
wow, many thanks. Im going to try out right now
I put the gingerbread.xml in the cmparts.apk, so we don't need to save it to sdcard/cmtheme.
About the flashable, by the time you run the cleanup.sh, /system might be not mounted. Nevermind, files will be overwritten anyway. But I still think files delete and set-perm should be done within update-script.
EDIT: File updated. Sorry I didn't know it only loads internal theme files that contain the word "STOCK".
Nice theme, but is there a way to get the old notification pull down back? I like the dark themed pulldown better.
Edit: Nevermind...the CMTheme changed it.http://media.xda-developers.com/images/icons/icon6.gif
brswattt, I fixed the framework-res power notification dropdown icons to all black:
http://dl.dropbox.com/u/2281460/framework-res.apk
Im retarded lol ive been flashing the wrong thing wondering why i got a boot loop. Btw what r the changes/fixes from the one u posted earlier?
Sent from the corner.
Just made it a flash able zip and fix some browser issues.
Sent from my Liberty using XDA App
Belac: Alright, I'll get to putting that on the zip when I have time. Thanks.
Sent from my Liberty using XDA App
Talk to attn about your suggestion. He helped me.
ladios said:
I put the gingerbread.xml in the cmparts.apk, so we don't need to save it to sdcard/cmtheme.
About the flashable, by the time you run the cleanup.sh, /system might be not mounted. Nevermind, files will be overwritten anyway. But I still think files delete and set-perm should be done within update-script.
Click to expand...
Click to collapse
Sent from my Liberty using XDA App

[Q] Is someone planning to make/port a theme for V20n?

Is someone planning to make/port a theme for v20n?
Thanks in advance.
Yeah just wait, themes will come eventually...
Sent from my LG-P970 using Tapatalk
yeah ,theming 2.3 is more easier than 2.2
there's a lot of things to do with 2.3 ,let's do it step by step
I'd love to see this Theme on V20N.
I'm not skilled enough to port it by myself.
Mick2K said:
I'd love to see this Theme on V20N.
I'm not skilled enough to port it by myself.
Click to expand...
Click to collapse
you can do it yourself with kitchen except lockscreen.
http://uot.dakra.lt/kitchen/
Happy to hear that
George Jetson said:
you can do it yourself with kitchen except lockscreen.
http://uot.dakra.lt/kitchen/
Click to expand...
Click to collapse
I tryed kitchen. But in the LG ROM some files are not in framework-res or system ui.
So you can change only status Icons and battery icon but not the ugly blueish style of the whole ROM like the Icons in the dropdown menu.
Is it understandable what im trying to say?
Yes, me too I've tried several times changing the icons in the drop-down menu but so far i haven't succeeded :/
what are u saying guys????u can edit EVERY aspect of any LG ROM without the lockscreen & the icons!!!!...check out my themes' sceenshots in this thread!!!!
http://forum.xda-developers.com/showthread.php?t=1448316
Irochk said:
Yes, me too I've tried several times changing the icons in the drop-down menu but so far i haven't succeeded :/
Click to expand...
Click to collapse
It's because some things are named different. You can't change those icons unless you decompile. Example, in dropdown menu/pull down menu, indi_noti_bluetooth_off (LG) versus stat_bluetooth_off (Gingerbread, CM7). UOT doesn't cover that.
achyut said:
what are u saying guys????u can edit EVERY aspect of any LG ROM without the lockscreen!!!...check out my themes' sceenshots in this thread!!!!
http://forum.xda-developers.com/showthread.php?t=1448316
Click to expand...
Click to collapse
Ah, they meant the Power widget notification icons.
Sorry for the misunderstanding, and thanks gabwerkz that's what i meant ^_^ When you say decompile you refer to decompile the framework-res.apk or the systemui.apk?
Irochk said:
Sorry for the misunderstanding, and thanks gabwerkz that's what i meant ^_^ When you say decompile you refer to decompile the framework-res.apk or the systemui.apk?
Click to expand...
Click to collapse
If you want to change those icons, they are located in SystemUI. If you have your UOT zip, extract/unzip it.
1. Grab the SystemUI and decompile.
2. Change the icon/s.
3. Compile.
4. Rename the compiled unsignedSystemUI to SystemUI.
5. Open your UOT zip by double clicking (if you have a rar/zip program),
6. Locate SystemUI (app folder).
7. Drag and drop the compiled and replace.
8. With WinRAR (my compression method is "store").
9. Exit and flash the zip.
Be aware of the icon size (for alignment) left and right. You can crop top and bottom so you can resize it's background too. Same as the Carrier background. See my unresized background example below (V20N). A waste of space. Then see my modified one (CM7). you only get good results by decompiling. UOT cannot resize backgrounds.
gabwerkz said:
If you want to change those icons, they are located in SystemUI. If you have your UOT zip, extract/unzip it. Be aware of the icon size (for alignment). You can crop top and bottom so you can resize it's background too. Same as the Carrier background. See my unresized background example below. A waste of space.
1. Grab the SystemUI and decompile.
2. Change the icon/s.
3. Compile.
4. Rename the compiled unsignedSystemUI to SystemUI.
5. Open your UOT zip by double clicking (if you have a rar/zip program),
6. Locate SystemUI (app folder).
7. Drag and drop the compiled and replace.
8. With WinRAR (my compression method is "store").
9. Exit and flash the zip.
Click to expand...
Click to collapse
are u already porting echelon to v20n?
desirat said:
are u already porting echelon to v20n?
Click to expand...
Click to collapse
Yes I am...
gabwerkz said:
Yes I am...
Click to expand...
Click to collapse
those thumbnails are really awesome
waiting the release
gabwerkz said:
If you want to change those icons, they are located in SystemUI. If you have your UOT zip, extract/unzip it.
1. Grab the SystemUI and decompile.
2. Change the icon/s.
3. Compile.
4. Rename the compiled unsignedSystemUI to SystemUI.
5. Open your UOT zip by double clicking (if you have a rar/zip program),
6. Locate SystemUI (app folder).
7. Drag and drop the compiled and replace.
8. With WinRAR (my compression method is "store").
9. Exit and flash the zip.
Be aware of the icon size (for alignment) left and right. You can crop top and bottom so you can resize it's background too. Same as the Carrier background. See my unresized background example below (V20N). A waste of space. Then see my modified one (CM7). you only get good results by decompiling. UOT cannot resize backgrounds.
Click to expand...
Click to collapse
Thank you very much dude, you're the best!!!! hope to see your theme cooked soon !!!
hope to see someone make a minimalistic theme for v20n soon
If someone else is interested in Porting ROMS, Building CM7 from Source OR Theming.
This is for you guys http://forum.xda-developers.com/showthread.php?t=1273718&highlight=[All+In+One+Guide+for+Dummies]
Hope you guys learn fast as some are already doing new themes.
Remember that are various files involved:
framework-res.apk
SystemUI.apk now in Gingerbread
Are there in this new ROM lge-res.apk and suires.apk?? They were in Froyo, pretty important.
I haven't even looked at this V20 Rom since I'm in CM7 and moving to HD2 in a few days.
Good luck, it looks you are doing great!
Mick2K said:
I'd love to see this Theme on V20N.
I'm not skilled enough to port it by myself.
Click to expand...
Click to collapse
This theme I made, for most basic stuff, it's just getting png's from some clean Gingerbread Rom like Nexus one's. For more concrete things like volume bar of description text, well you have to get into xml's and test, but not hard for someone like gabwerkz and some others.
antonio1475 said:
Hope you guys learn fast as some are already doing new themes.
Remember that are various files involved:
framework-res.apk
SystemUI.apk now in Gingerbread
Are there in this new ROM lge-res.apk and suires.apk?? They were in Froyo, pretty important.
I haven't even looked at this V20 Rom since I'm in CM7 and moving to HD2 in a few days.
Good luck, it looks you are doing great!
Click to expand...
Click to collapse
No such files, atleast the one I'm using. I'll look into stock one, but I think they are important and should be there even in repacked ones if they are included indeed in Gingerbread. thanks for the advice tony.

[LINKS][TIPS] Edit system files, ROM, Kernel

I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!

[How To]Ripple Lockscreen for 31XX,51XX + Transparent Status Bar for 31XX

I have had some people asking how to get the Samsung Ripple Lockscreen working so I thought I would add a small guide here how to do it so it can be done to any JB Samsung based ROM for both 31XX and 51XX tab 2s as has been tested on both. Tested on 4.1.2 but not on 4.1.1 but should still work for that too. This is the first how to I have done so sorry if it is not very good
Prerequisites
Deodexed Jelly Bean Samsung Based Rom
Apktool
Text Editor eg notepad++
Knowledge how to decompile and build apks and jars
You will need two files from the system/framework of your rom
1.framework-res.apk
2.services.jar
Framework-res.apk Changes
Decompile framework-res.apk
Navigate to folder framework-res/res/values
Open bools.xml in a text editor
look for
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
and change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
That is all for the framework-res.apk so build framework-res and copy across the META-INF folder from your original framework-res.apk to the newly compiled framework-res.apk and that is ready to go.
This will now give you the option in lockscreen settings to select ripple effect but depending on the base your wallpaper may be hidden with ripple effect enabled so to fix that you need to mod services.jar
Services.jar Changes
Download the attached WindowAnimator.zip
Extract WindowAnimator.smali from zip
Decompile services.jar
Navigate to smali/com/android/server/wm
Replace WindowAnimator.smali with the one attached
That is all that is needed for services.jar so build services.jar and it is ready to go
This will make your wallpaper visible when ripple lockscreen is selected.
Put the files in a flashable zip and flash in cwm or twrp recovery, push to system/framework or copy into system/framework which ever you prefer doing, personally I always just flash them in custom recovery so you can use the attached zip and and place your modded files inside and flash if you wish
Note
Same WindowAnimator.smali can be used for both 31XX and 51XX I have used it in both my roms for 31XX and 51XX
Ripple Lockscreen does not work with live wallpaper set as lockscreen wallpaper
This is only for Deodexed Samsung Based Jelly Bean roms
Feel free to include this in your rom just give credits.
How To Have Transparent SystemUI For 31XX
All changes are done to SystemUI.apk so you need to decompile it and apply the following changes below
Open res/layout/twsuperstatusbar.xml
Change this
Code:
android:background="#ff000000"
To this
Code:
android:background="#00000000"
Then open res/values/drawables.xml
Change this
Code:
<item type="drawable" name="status_bar_background">#ff1e1e1e</item>
To this
Code:
<item type="drawable" name="status_bar_background">#00000000</item>
This is for full transparent status bar but you can change the colour code in drawables to any shade of transparency or another colour if you want
This is all that is needed to have the status bar show transparent
To have a transparent background for the pull down or to have any picture you like these changes are required.
Open res/layout/twstatusbarexpanded.xml
Change this
Code:
android:background="@drawable/notification_panel_bg"
To this
Code:
android:background="@drawable/tw_notification_panel_bg"
Download the attached png called tw_notification_panel_bg.png and add it to res/drawable-mdpi
This is all that is needed to make the drop down window transparent or to any picture you like.
If you want other parts set to transparent as well in the dropdown for example the notifications title, where the date is etc you will need to
Open res/layout/twstatusbarexpanded.xml
Look for all
Code:
android:background="#colorcode"
Change to this
Code:
android:background="#00000000"
If you want to change the quick settings buttons background then you need to edit the png labelled tw_quick_panel_quick_setting_button_bg_normal.9 to a transparent one as well as for the tw_status_bar_close_off.png and tw_status_bar_close_on.png they can be changed to a transparent image as well so you will pretty much have a full transparent SystemUI
Very good, i'll try this in MicroDelta ROM... :good:
EDIT: Already modded service.jar but having troubles to recompile framework-res.apk (I really don't know how to do it, googled it but all
methods didn't worked)
Please, someone that knows how to recompile it... here's the link for decompiled and modded Microdelta's framework! thnx
http://www.mediafire.com/?931j5x50bfujwa9
Narciso Neto said:
Very good, i'll try this in MicroDelta ROM... :good:
EDIT: Already modded service.jar but having troubles to recompile framework-res.apk (I really don't know how to do it, googled it but all
methods didn't worked)
Please, someone that knows how to recompile it... here's the link for decompiled and modded Microdelta's framework! thnx
http://www.mediafire.com/?931j5x50bfujwa9
Click to expand...
Click to collapse
try "apktool if framework-res.apk" and then try recompiling. @op Thanks for the guide. I'll try it once I get my tab back. "Is Water Ripple Enabled" XD lazy samsung.
Luigi2012SM64DS said:
try "apktool if framework-res.apk" and then try recompiling. @op Thanks for the guide. I'll try it once I get my tab back. "Is Water Ripple Enabled" XD lazy samsung.
Click to expand...
Click to collapse
Already tried that, and another 5 methods that i saw in google, tried updating java... still not recompiling!
Anyway, when you do it for your tab... plz post your framework,
Narciso Neto said:
Already tried that, and another 5 methods that i saw in google, tried updating java... still not recompiling!
Anyway, when you do it for your tab... plz post your framework,
Click to expand...
Click to collapse
@Narciso Neto Edit: my guess is that you didn't do "apktool if twframework-res.apk".
https://www.dropbox.com/s/oli9s7lxx7h3xmo/framework-res.rar
Luigi2012SM64DS said:
@Narciso Neto Edit: my guess is that you didn't do "apktool if twframework-res.apk".
https://www.dropbox.com/s/oli9s7lxx7h3xmo/framework-res.rar
Click to expand...
Click to collapse
Yes i did, with the original framework-res.apk and with twframework-res.apk...
My guess is that have something wrong with my PC.
Thnx for the framework...
EDIT: Bootloop, --'
EDIT²: That's my .zip file that i've flashed with CWM and got Bootloop, what's wrong?
http://www.mediafire.com/?xk2t7rbgn2z1cyd
txr33 said:
I have had some people asking how to get the Samsung Ripple Lockscreen working so I thought I would add a small guide here how to do it so it can be done to any JB Samsung based ROM for both 31XX and 51XX tab 2s as has been tested on both. Tested on 4.1.2 but not on 4.1.1 but should still work
Click to expand...
Click to collapse
Hey bro thanx for tutorial.
I have a questions:
which framework-res.apk to use???
There it shows three framework
A. Framework-res.apk
B. Framework-res2.apk
C. Twframework-res.apk
And please check your pm
Sent using xda app-developers app
Narciso Neto said:
Yes i did, with the original framework-res.apk and with twframework-res.apk...
My guess is that have something wrong with my PC.
Thnx for the framework...
EDIT: Bootloop, --'
EDIT²: That's my .zip file that i've flashed with CWM and got Bootloop, what's wrong?
http://www.mediafire.com/?xk2t7rbgn2z1cyd
Click to expand...
Click to collapse
You made the android policy changes right?
Sent from my GT-P3113 using Tapatalk HD
Luigi2012SM64DS said:
You made the android policy changes right?
Sent from my GT-P3113 using Tapatalk HD
Click to expand...
Click to collapse
I really dn't know what are talking about...
anyway, what I did:
-decompiled framework-res.apk >> edited bool.xml using Notepad++
-decompiled services.jar >> replaced the file
-downloaded the zip that you uploaded
-copied META-INF folder from the original framework-res.apk to new that you uploaded
-put services.jar and framework-res.apk in the zip
-flashed using CWM...
BOOTLOOP :silly:
Sorry i mean't the services.jar not android policy.
Anyways. you did wrong. I'll upload a flashable zip once i get home. At school right now.
Luigi2012SM64DS said:
Sorry i mean't the services.jar not android policy.
Anyways. you did wrong. I'll upload a flashable zip once i get home. At school right now.
Click to expand...
Click to collapse
Thanks...
Sent from my GT-P3110 using xda app-developers app
I apologize. I uploaded this earlier but forgot to post it here. Sorry.
https://www.dropbox.com/s/hgrjy88ghqcy1io/MicroDelta-JB-4.1.2-P3110XXDMC2-JB-ripplelockscreen.zip
Heres the ripple lockscreen for MicroDelta 4.1.2. Flashable with any recovery that supports updater-script's(Every single recovery ever made for gtab2 will work.).
Luigi2012SM64DS said:
I apologize. I uploaded this earlier but forgot to post it here. Sorry.
https://www.dropbox.com/s/hgrjy88ghqcy1io/MicroDelta-JB-4.1.2-P3110XXDMC2-JB-ripplelockscreen.zip
Heres the ripple lockscreen for MicroDelta 4.1.2. Flashable with any recovery that supports updater-script's(Every single recovery ever made for gtab2 will work.).
Click to expand...
Click to collapse
uhmm, I flashed your zip via CWM and i got bootloop... AGAIN! :silly:
did you flashed this on your Tab?
EDIT: tried flashing via TWRP, but stilll giving bootloop
I didn't test it. I don't have the time. Sorry. I guess no ripple for MicroDelta.
Luigi2012SM64DS said:
I didn't test it. I don't have the time. Sorry. I guess no ripple for MicroDelta.
Click to expand...
Click to collapse
Thnx amyway.. i'll give a try on another stock based rom
Sent from my GT-P3110 using xda app-developers app
Droidlover123 said:
Hey bro thanx for tutorial.
I have a questions:
which framework-res.apk to use???
There it shows three framework
A. Framework-res.apk
B. Framework-res2.apk
C. Twframework-res.apk
And please check your pm
Sent using xda app-developers app
Click to expand...
Click to collapse
I don't know why you have framework-res2.apk as Samsung roms do not have that but you need the first one framework-res.apk
Narciso Neto said:
Thnx amyway.. i'll give a try on another stock based rom
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Can you upload the unmodded services.jar and framework-res.apk from the rom and I will have a look at it.
txr33 said:
Can you upload the unmodded services.jar and framework-res.apk from the rom and I will have a look at it.
Click to expand...
Click to collapse
Here it is, MicroDelta's original framework-res and services.jar....
https://www.dropbox.com/s/rxi4n2pposd0a8k/framework%20files%20unmodded.zip
Narciso Neto said:
Here it is, MicroDelta's original framework-res and services.jar....
https://www.dropbox.com/s/rxi4n2pposd0a8k/framework%20files%20unmodded.zip
Click to expand...
Click to collapse
try this flash in recovery
https://www.dropbox.com/s/0325heiverhe45w/MicroDeltaRippleLock.zip
txr33 said:
try this flash in recovery
https://www.dropbox.com/s/0325heiverhe45w/MicroDeltaRippleLock.zip
Click to expand...
Click to collapse
Downloading to try... Thnx!
EDIT: it booted, but when i set the ripple lock option in settings, walpaper is blank, even after i try to set another one wallpaper...
Screenshot:
Sent from my GT-P3110 using xda app-developers app
Narciso Neto said:
Downloading to try... Thnx!
EDIT: it booted, but when i set the ripple lock option in settings, walpaper is blank, even after i try to set another one wallpaper...
Screenshot:
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Sorry I think I must have put the wrong services.jar in. Flash this https://www.dropbox.com/s/1tuq5jgjlyzwxt0/Services.jarcwm.zip includes just the services.jar

[TuT] How to port Lolipop Check boxes and Radio buttons with animations

Hi, I really like Material Design and I want to share with you how to port check boxes and radio buttons with animations
(if you dont know what i talking about: Material Design) ​
We need a decompiled framework and rescues (download at attach). It's very easy, and if you know how to decompile & recompile apps you should not have any problems
Lets Go!
1. Dowload rescuses and extract it.
2. Find any btn_radio and btn_check files in your drawable-xxxx folder and delete it
3. If your framework supports xxhdpi resolution just copy and paste files from xxhdpi folder to your drawable-xxhdpi folder in /res.
If you dont have drawable-xxhdpi folder in /res just copy this folder from extracted rescuses to /res folder
4. Now copy files from extrated drawable folder to drawable folder in your decompiled framework
5. Recompile, and push your framework-res to /system/framework folder
Added drawables with all resolution, thanks to @rhar****
so big
My phone dont support xxhdpi.. I put it on my hdpi.. The box and check is so big. I hope you make smaller resolution icons. But yeah, it works. Thanks bro. Waiting for smaller resolution.. Hehe
stargwapo17 said:
My phone dont support xxhdpi.. I put it on my hdpi.. The box and check is so big. I hope you make smaller resolution icons. But yeah, it works. Thanks bro. Waiting for smaller resolution.. Hehe
Click to expand...
Click to collapse
Just open somethinf like photoshop or gimp and make them smaller
need MDPI resources
would you make MDPI icon resource as I don't have PC to resizing them all??
edit: nvrmind, i can resize it
can someone make a video pls?
@KuaQ:
you sure you have all the icons?
I'm trying to compile from source by adding your files and your xml files have icons declared that doesn't exist in aosp at all
xehed said:
would you make MDPI icon resource as I don't have PC to resizing them all??
edit: nvrmind, i can resize it
Click to expand...
Click to collapse
can you send me MDPI resources?
djedjy said:
can you send me MDPI resources?
Click to expand...
Click to collapse
I don't finish it yet, just wait..
OK, there is something wrong in your xml files..
I managed to find the xml mentioned pngs somewhere on line but 2 files are refering to on_x pngs and I think that you named them wrong.. it should be the whole btn_xxxx_on_mtrl_1
here resized icons for MDPI.
Here's an attached zip containing all dpi folders created from the OP.
xehed said:
here resized icons for MDPI.
Click to expand...
Click to collapse
NVM
LorD ClockaN said:
OK, there is something wrong in your xml files..
I managed to find the xml mentioned pngs somewhere on line but 2 files are refering to on_x pngs and I think that you named them wrong.. it should be the whole btn_xxxx_on_mtrl_1
Click to expand...
Click to collapse
Even so the pngs referred to dont exist in the package so I dont know how this is supposed to work...
EDIT: I mean the animations-- they dont exist
KuaQ said:
5. Decompile, and push your framework-res to /system/framework folder
Click to expand...
Click to collapse
Shouldn't it be RE-COMPILE up there?
Just helping...
Nice post btw :good:
I took a quick look at the xml's and I see it's the pressed state which is animated. Does the animation play even if I just push the button or I have to keep it pressed in order to see the full animation?
Please elaborate a bit
I m using KK 4.4.2 as my base... now you are saying me to decompile my systemui.apk or framework-res.apk .. please elaborate and tell me which files to change as i am using a 1280x720 resolution device. Thnx in advance
I'm a little confused
So when you copy the folder drawable-xhdpi to /res... Do you then copy the files in drawable from the downloaded package into the folder drawable-xhdpi, or do you just copy the folder to /res. Then to recompile do you just compress the two folders as a zip? Or am I completely wrong. Please explain. Thanks!
Sorry if you have any problems
Tomorrow I edit post, and all graphic in all resolution
stargwapo17 said:
My phone dont support xxhdpi.. I put it on my hdpi.. The box and check is so big. I hope you make smaller resolution icons. But yeah, it works. Thanks bro. Waiting for smaller resolution.. Hehe
Click to expand...
Click to collapse
xehed said:
would you make MDPI icon resource as I don't have PC to resizing them all??
edit: nvrmind, i can resize it
Click to expand...
Click to collapse
djedjy said:
can you send me MDPI resources?
Click to expand...
Click to collapse
xehed said:
I don't finish it yet, just wait..
Click to expand...
Click to collapse
So guys, I have created it for all resolutions
Enjoy!
 @KuaQ maybe you can add it to the First post
Did anyone who has Nexus 5 with 4.4.4 compiled this? Would appreciate a compiled version if possible!

Categories

Resources