[BugFixes/Info]TW Theming Lollipop Fixes for T530/NU - Galaxy Tab 4 Themes and Apps

Now I have been themeing and porting lollipop touch wiz since march. One of the problems I faced is themeing for tablets. No matter what apktool you use and all that, the recompiled apk shifts to the left when flashing. This is a known bug since all of TouchWiz LP tablets/firmwares. Now Im no expert in layouts and dimensions xmls, but @ykkfive gave me a fix a while back for the Tab S. It doesn't work well for the Tab 4 so I slightly modified the Tab 4 layouts and all that to fix this bug. This took me many weeks to figure out but I did it. Also, there is also a bug in settings.apk. Yeah yeah it decompiles but it doesn't recompile even though you didn't make changes! Now now this also took me weeks to do and yeah. Now lets get right to it!
SystemUI Layouts Fix
--------------------------
Now what this does is correct and center back the notification pulldown. This took me forever to fix as yeah two weeks to find and correct it. Simply all you need to do is copy those xmls to the proper folders in your decompiled apk. Like the layouts folder in the downloaded zip, goes in your decompiled layouts folder. Just basically copy the xml inside to the proper folder. There are only two folders with xmls inside you need to copy. Layouts and layouts-mdpi.
SecSettings Compile/Error Fix
----------------------------------------
This fixes errors when compiling back. Apktool throws errors like cant find assistant bla bla bla and yeah. I fixed that by adding a pkm file (LIKE WHO USES THAT?) Simply drag my pkm file to drawables.
DOWNLOAD FULL FIXES
-----------------------------
This contain all my fixes above. I have also attached my modded decompiled systemUI and secsettings for reference and is not to be used for apk theming. They are there to look at and see what I changed. DO NOT USE IT AS YOUR BASE! You can delete them if you would like. I just put those apks in incase someone wants to see.
Download: https://www.androidfilehost.com/?fid=24052804347756877
Thanks to...
@ykkfive for original bug fix. @moonbutt74 the on going testing I gave him. Without him I wouldnt have made these fixes! oh and files
README: This is for any themers out there. Users, these are not flashable zips and these contain fixes for themers to include in their apk.

For those who don't know what the shift systemUI bug is -_- here's an example
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

[Request] Help me change some color

I was hoping someone with the know how would help me. I need to change the color of my text in this metamorph. The following picture describes what I'm trying to achieve. On my phone the clock and date is actually black and unreadable.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Also I've tried to do the ColorChangeV3.jar with no success.
This theme was created by Jairomeo. He made his "Lemon" available as a metamorph but I like his "Licorice" theme better and since he's busy with other things and I don't want to bother him with requests, I made it into a metamorph. The text color is the last thing left for it.
So any help please? I'm running a stock ROM so if you need files, let me know. Someone said that each ROM is different so stock files would be needed.
Download Licorice Metamorph Here
If you are trying to change clock/date/network color on a stock ROM, then you will have to de-odex the framework .jar's. After that then it is an easy fix to change the color. You just have to manually edit the classes.dex files. There is a thread with services.jar in the title in this section with a mini-guide on how to do that.
does that also go into "deodexing" no clue as to what that is.... lol
jkbhso3 said:
does that also go into "deodexing" no clue as to what that is.... lol
Click to expand...
Click to collapse
I'm thinking I put a link to smali in there. If not, google smali and it should be the first link. There are instructions on how to de-odex on the googlecode page for smali.
ok im really not understanding any of that. if someone could please help me out? ill post up any of the files needed. extracting the files to make a metamorph was easy. its the editing that gets me.
please help?
ok so nix the "Ongoing" and "Notifications" text. i decided a black background flowed better.
So could someone please help or link a detailed how to for changing the date and time to white? ive tried colorchangev3.jar and all it says is it cannot find a certain file. well ive looked and the file IS there. i was using the original theme rom for it. i just dont understand colorchangev3.jar or deodexing.
also tried the metamorph, SkaggzColor0.9.1 for changing the text color. but that doesnt work. it just changes my text to black when i choose white.

[Solved] Changing App Drawer Button on Home Screen

I'd like to change the button circled in the photo below. Could anyone help me out? Haven't had any luck finding a thread on it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm pretty sure the image is located in Launcher2.apk. I was gonna make my own from the Nexus X logo, but I got too lazy. I might try again, though.
Too what ?? it cant be that hard.. should be in the Launcher2.apk
I have no clue, i've never done it before lol. That's why i was hoping someone could tell me what i need to do
all_apps_button_pressed
all_apps_button_focused
all_apps_button_normal
open launcher2.apk with winrar and replace those three files with your new image named the same thing then re-install launcher2 via adb
here is a post with a few themes for the launcher
http://forum.xda-developers.com/showthread.php?t=645660
edit: never mind this is for another launcher
I figured it out. there's a simple metamorph for the helix launcher. Thanks guys
scottypimpin636 said:
I figured it out. there's a simple metamorph for the helix launcher. Thanks guys
Click to expand...
Click to collapse
can you share your findings
its a metamorph of Launcher2, just pick an icon you want and put it in the drawable-hdpi folder and make sure you make 3 copies of it and rename to whats already in there.
download this zip and extract the folder to the AndroidThemes on your sdcard..
http://www.megaupload.com/?d=7PI8E950
Credit goes to MYxdaUSERNAME for PMing me with the info
no problem. made a post for it so its easier to find...
http://forum.xda-developers.com/showthread.php?t=654045
scottypimpin636 said:
its a metamorph of Launcher2, just pick an icon you want and put it in the drawable-hdpi folder and make sure you make 3 copies of it and rename to whats already in there.
download this zip and extract the folder to the AndroidThemes on your sdcard..
http://www.megaupload.com/?d=7PI8E950
Credit goes to MYxdaUSERNAME for PMing me with the info
Click to expand...
Click to collapse
i made it my self ur link doesn't work.
i made the home icon in the app drawer transparent so now you dont see it i love it.
just install it with metamorph if you guys want

[Theme] HTC Lockscreen custom theme

I have been tinkering around with different files on my phone, and I decided to change the HTC lockscreen up a bit for the fun of it because I thought it was bland. Here is what I came up with.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EDIT: Thanks to JsChiSurf, I figured out how to Metamorph, so I created a metamorph for this theme. Here it is
http://www.mediafire.com/?wvoiixy9o49my1p
Let me know how you like it!
Looks nice.
Your best bet is to create a MetaMorph, that can be used to apply only the graphic changes you have made to the applicable apk file. This way, you don't have to re-distribute the entire .apk, rather, just the files you've changed.
Thanks for the input. Is there any way you could link me to a tutorial?
Here is a link to a YouTube Tutorial with a nice overview of how a MM is created.
Also, easiest way to then see it done in action is to rip open an existing MM zip file and see its structure / content. If you follow the link in my signature, you can see a bunch of MM XML files that I've posted that you can use as a reference.
Alright thanks man, I'll check that tutorial out
so you want to know how to make an update script
I'm just looking for the easiest way to update a theme. I haven't checked out that MM tutorial yet. Do you think flashing as an update is easier?
Creating / flashing an update zip redistributes the entire apk file, thus undoing any other changes anyone may have previously done to the same file, which is what you are trying to avoid.
Alright, then I know that MM is the way to go. Thanks for all the help!
Ok, I looked at a couple different MM files you created JsChiSurf, and I came up with a simple one for my lockscreen. It seems to apply just fine in metamorph, but when I restart my phone, nothing changes. Am I forgetting a file ? Here is the metamorph that I used
http://www.mediafire.com/?faqi7ystsi1n55y
You have a spelling error in your folder structure. As a result, if it did apply, you may want to check your existing com.htc.resources.apk file, to see if MetaMorph ending up creating a new folder and dropping the files into that folder, based on the spelling error.
You named your sub-folder 'drawable-mpdi'. Where you have transposed the 'p' and the 'd', it should be:
drawable-mdpi
Got it working great now. Thanks alot!

[GUIDE][HOW TO]Mod bootanimation in ROMs without /system/media/bootanimation.zip

Wannabe developers stepping into the ROM Development scene usually begin with theming and porting. One Themeable feature of Android is the Boot Animation. Traditionally it is located in /system/media for the latest versions of the OS. But sometimes it is possible that the folder contains this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So what to do in this case ??? Yeah you can copy the bootanimation.zip to /data/local after the first boot, change permissions to rw-r--r-- and reboot to see the glorius boot animation you just planted. This is fine if you are a end user, but if you're theming a ROM, it can be quite frustrating to ask the user to do this, since most people would be overwhelmed by this procedure (Not anyone here at the Android Development and Hacking forums - it's supposed to be noob-resistant, right ). So here I am with the tutorial for themers and devs alike who want to mod the supposedly hidden bootanimation.
Before we begin, ensure you have the following installed and ready to go :
Prerequisites
APK Tool by @iBotPeaches
Java 7 JRE and JDK
ADB (If you want to do this without any flashing)
Brain.jar and Common Sense.apk (Plenty required if you do not fit into the [Developers Only] parameter)
So Let's Begin
Get the framework-res.apk of the ROM you want to theme (Either from the zip or using adb pull /system/framework/framework-res.apk)
Decompile it using apktool
Navigate to framework-res/assets/images. Here you'll find android-logo-mask.png and android-logo-shine.png
Replace the android-logo-mask.png with your custom splash of the EXACT same dimensions(Or you can change the width to your device's screen's width if you have borders in the image). I used my team's logo and cut out the white parts to let the shine shine through
Optional : If you want, you can also edit the android-logo-shine.png to mod the color of the shine
Compile the framework-res.apk (Ignore the errors, if any. They are harmless......Atleast in my case)
Copy the the META-INF folder and AndroidManifest.xml from framework-res/original to the apk in /framework-res/dist
Copy the apk to the framework folder in the ROM zip or use adb push framework-res.apk /system/framework
Done! You have competed the tutorial. Flash/Reboot to see the fruits of your labour
Demonstration
Before
After
Hit Thanks if I helped you and let me know below if you're stuck or have a suggestion
This tutorial was done with Evervolv 4.0.0 as the ROM in question.
Sent from my HTC Desire 616 dual sim using Tapatalk

[GUIDE][TUT] Changing per App Font using APKTool (Hike)

Hello, Guys.
So, this thread is basically about changing per app font.
Now you might be thinking why we need to do that?
Well, I've tried changing system fonts using apps like iFonts and also using flashable zips but some Apps like Hike doesn't change the font. It is always Roboto.
The reason for being is that they have fonts embedded in their APK itself.
So, I found a way to change the font on Per App Basis
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
REQUIREMENTS:
1. APKTool
2. App to Change Font (considering HIKE in this case)
3. A New Font
4. Patience
STEPS TO FOLLOW :-
1. Go to root/data/app/com.bsb.hike-2 (or the app for which you want to change the font).
2. Copy the base.apk to your PC, so that you dont have any problems with the versions of the app.
3. Decompile base.apk using APKTool.
4. Go to base.apk/assets/fonts.
5. You'll see some Fonts there with names like Roboto-Bold, Roboto-Regular, Roboto-Light etc.
6. Now Rename your new font (Helvetica in this case) with same names like Helvetica Regular to Roboto-Regular or Helvetica Bold to Roboto-Regular. Make sure you rename them with the same names as present in assets folder.
7. Now replace the fonts in assets folder with the new fonts (the font which we have renamed). Also, make sure the number of fonts before and after replacing in the assets folder are same.
8. Recompile the apk using Apktool.
9. Install and Enjoy.
DO NOT HESITATE TO PRESS THE THANKS BUTTON. :good:
Cant change the font
Please help.mee to chng i am unable to do it..
Thanks regards..
APKtool wont run for me at all. Ah balls. Ill sort something out. Thanks for the instructions.

Categories

Resources