[GUIDE][HOW TO]Mod bootanimation in ROMs without /system/media/bootanimation.zip - Android Software/Hacking General [Developers Only]

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

Related

[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!

Boot Animation for CM7\FreeXperia Rom

OK, I'm moving this out of J's CM7 thread so that I'm not spamming it on him. This is a boot animation done for J's CM7/FreeXperia 2.3 but will work with other ROM's as well.
I kind of like a little action with the boot animation on my phone so I decided to cobble something together to replace the (rather excellent) splash screen that J included with v018. It turned out OK so I thought I would share it with you all.
It's not my work. Animation is thanks to cole20444 over at droidforums.net and the splash is thanks to Uraharasama from the bootscreen contest here on XDA. All I did was remove some frames and add a few others to give a smooth transition from animation to the splash.
V1 http://www.megaupload.com/?d=DRWXXI9I
V2 http://www.megaupload.com/?d=96IUBGWF
Screen shots
{
"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"
}
Bootanimation.zip is not flashed with XRecovery and is used as is without unzipping it. You can use adb to push the file to either /system/media (this will overwrite the original) or to /data/local (leaves original as is and this version will be used instead) an alternative to using adb is to use root explorer.
Gingerbreadman reports that it's a bit laggy and doesn't have time to complete before lock screen appears. I'll continue to strip it down to reduce the length and to make it smoother.
OP updated with V2 which should be shorter. Still going to need some working on smoothing the animation out.
An easy way to install this for guys like me that dont know about adb and stuff is get root explorer (mount r/w) and go to system/media and cut the boot animation out and place it on your sd card as a backup and then find your downloaded one and move it to system/media. Dont unzip the file. Reboot to see effects ;-)
Ok v2 is much much smoother and better and doesnt lag. Has plenty of chance to complete. Perhaps the animation could be a little longer cos the splash screen is shown for perhaps twice the length of time of the animation.
Another small suggestion would be to perhaps replace the android on the splash screen with a cyanogenmod android with his skate board but of course this is personal taste
Thanks very much GreatBigDog grand job
Sent from my Full Android on x10 using XDA Premium App
It seems to be great.I'd like to have a try.
Thanks a lot.

[MOD][GUIDE][PORT][CM10.1] Post Nexus 7 Animations

Port NEXUS 7 Animations​
{
"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"
}
This MOD changes the current Android 4.2.2 animations to NEXUS 7 In-Out Animations. This MOD may also work for ROM's other than CM10.1
A preview of the animation:
​
1. Download The Latest Version
2. Go Into Recovery Mode
3. Flash The File
4. Reboot!
​
Download
Revert To Original​
Credits:
CDA Poke
GUIDE​
For using this MOD on different ROM's, just follow this easy guide:
1. Download This File
2. Open your ROM's framework-res.apk with 7zip. DO NOT DECOMPILE
3. Extract the file you just download
4. Put these 3 extracted files in \res\
5. Overwrite the existing ones
​
if you can put the source of change has to
in all your mod is a mystery to each liver for reproduce
-------------------------------------------------
edited
animations are in the same place > framework-res\res\anim\
- decompile the framework-res with apktool
Code:
apktool d framework-res.apk
- extract and replace the anim folder ATTACHED FILES that contain all the xml edited in decompiled framework-res floder > framework-res\res
- recompile
Code:
apktool d framework-res
- replace the anim floder original of the compiled floder
- open framework-res.apk with winrar drag n drop > framework-res\build\apk\res\anim in framework-res.apk/res
enjoy...
LoLaTiOn said:
if you can put the source of change has to
in all your mod is a mystery to each liver
I do not see that topic is done in the development section if the guide and not provided
I can also create 50 topic in the same way
Click to expand...
Click to collapse
i also found this at Gal W and it works,so why topdroid put it on development section?
Good work, it's good it's smooth!
It is true that the place of these MOD are to be put into the "themes and applications"
yeah...it's just more like spam in development section. too many unnecessary mods :thumbdown:
sorry dude.
♥ dikirim dari hatiku ke hatimu pakai P3100 ♥
I edited my message and bring the guide to keep the topic in the development section
peace and no flood please
Please Topdroid, can you update to the A8 ? :angel:
Thanks !
my device is in boot loop. I'm on probam rom, dhiru's alpha 8.please help.
help!! modify framwork-res.apk cm11
i try to do what Lolation say. i have decompile and compile the framework-res apk and put back the original AndroidManifest.xml and the META-INF.but when i pushed it into system it end with bootloop. can anyone help?

(Xperia L) (Lumia) #Windows Phone Transformation App Collection

Hey Guys,
Had nothing to do after a very long time.
Got busy with Exams and other things before.
So I made this thread for a collection of apps and other things that will make your phone look like it's running Windows Phone or like a Lumia Device
These images are not mine but are taken from developers: jobayer and TheMiltos21 respectively. This is just a thread combining all the apps into one. This is in no way intended as copyright infringement.
Please post screenshots, tell me if you like it and press thanks.
So here are the things:
1.Bootanimation
{
"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"
}
Download the file from the link and move it to system/media, change permissions to 0644 using a root browser:
http://www.mediafire.com/download/47q8s2q0n5q27bx/bootanimation[1].zip
2. Launcher and Lockscreen
Download the file and install it as a normal APK or push it to system/app and change permissions to 0644 or r-w-rr
http://www.mediafire.com/download/ajvera853yixnfr/LauncherWP8V1.5.2[1].apk
3. Contacts and Dialer
Download the file and install as a normal APK. Don't push it to system.
http://www.mediafire.com/download/6qx8fvcl866vs58/WP7Contact_Lite_1.4.5_67[1].apk
4. Messaging
Download and install normally or push to system.
http://www.mediafire.com/download/418jpj7h03sf4xr/wp7msg[1].apk
5. Windows Phone 8 Keyboard
Download and install like a normal APK. Then go to Settings-Language & Input and select the WP Keyboard as the default one
http://www.mediafire.com/download/j7wgr41q084y4rj/WPkeyboard.apk
6. Notifications
Download and Install like a normal APK.
http://www.mediafire.com/download/yd7ajquatqepehc/WP7_Notifications_v4.6[1].apk
7. Music Player
Install like normal APK or push to system
http://www.mediafire.com/download/kdz0jj893vkqyi9/ZPlayer.3.5.01.Android[1].apk
8. Calculator
Install normally
http://www.mediafire.com/download/nfc95gc4n2zrj75/wp7calculator[1].apk
9. System UI (Compiled by me)
For Lumia statusbar icons.
Download and push to system/app replacing the original one and set permissions.
http://www.mediafire.com/download/a2qdbqyd7kf3saj/SystemUI.apk
For Odexed or Deodexed stock rom??
is it work ini 4.2.2?
Working with stock latest firmware 4.2.2 with deodexed system.
What is the benefits of replacing systemui.apk?
Please dont post any warez
Why laungage English? I can't see Turkish? I want to Turkish pls
Xperia S1
no logo
can u make this bootanimation without the windows logo i wud love to hav dat one

[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