i have found some files that i believe hold the key to getting mediascape and timescape fully customised visually, the only issue is that i have no idea how to edit them, even the all mighty google search has no idea about either format!
Anyone have any ideas on how i would access them?
118 views and not one person even has a clue, google has no clue, its not looking good.
hi,
it's seem to be propriatary files..
i've not hexadeciaml editor on this computer, but when you open file with a text editor, you can see "SCEN" header on some files...
perhaps it can help you...
in TimescapeThemeGreen.apk for example, there are some png files... if you want to custom them..
yeah, i can get to them, its the mediascape background (initial page) and i know that timescape i cant mod anymore than it is. So its the ms_background.acet im looking at getting into to see were it links to as somewhere hidden in the file system is that background.
Hey buddy so I was checking out my logcat when opening mediascape and noticed an ace framework was created on launch. After a quick gander on Google I think it may be what we are looking for. I'm gonna do more research when I get home. Hope this helps.
Edit: ace stands for adaptive communication environment.
I've looked into it a little more. Good news ace is open source and is built with c++ from what i understand. Anybody have any experience with this?
Cool, thought it would be this, i have literally checked every single other file in every folder, adb pulled the whole of my phone to my laptop and have been checking every file one by one and so these are the only files left imo that i could be.
So if its C++ i have never looked into anything to do with C++ so it will be a learning curve. Its all Fun though.
Just looped through the bytes of the mediascape acet file transforming sets of three bytes to rgb values and setting the pixels of a 480 X 854 bitmap and look what came out
Have to look a bit closer so I can get rid of the tiling - I'll get onto that tonight...
UPDATE: My boss went out so I had another look
The first 2421 bytes are some sort of header and the image is only 240 x 427 (typical SE ). Looks a bit better now...
excellent progress can't wait to see the custom mediascape BG's keep it up guys
OK, here's an updated acet file. I just zeroed out the blue part of the pixels - doesn't look too bad though, eh!
I don't have time to try this out at the moment, but if someone's game they can try replacing the original with the attached file. I don't think the file could be tamper-proofed or signed, there is only 21 bytes in there that aren't colour information, and I just copied them one to one.
If this works I'll throw together a tool to quickly convert a bitmap to an acet file.
Spot on, knew i would find the file it was in lol, and we also got the people with the skill to get into it.
When you get chance if you can PM me a quick guide if its quick that is and i will get the files updated or i will wait for you to make the tool and do it that way.
Chewitt,
try this out. Just enter the path to the image file and the destination file. You'll need .Net Framework 2.0 to run it.
Update: This tool has been updated to write the header correctly and is available with a short description on post #23 in this thread.
@Calum thanks chief. I'm going to try it as soon as i get home
Great, tried it out. Just de-saturated the original png.
fits to the black themes floating around.
now to find out other acet file backgrounds.
THX !
Sweet. Good to know that the files can be replaced without any problems. I'll rig up a viewer for the other files and post it in the next hour or so...
That would've been my next request - a tool for the other way round acet-->bmp
so we can adb pull them locally, batch convert , modify and push them back.
But viewer would be great ! THX
OK - here you go. A viewer with an export button
EDIT: OK, I've got the header sussed now - the resolution is in there - I'll fix up the viewer to work in both directions and post it later...
FIXED: See post #23
Good work, the only reason i havnt switched themes yet is because of the inconsistencies between system and time/mediascape
Can you past in the first 21 bytes for me? I'll try and make some sense of the header.
Here's the header. I'm pretty sure its blocks of 4 (16bit integers) with a trailing 1 for some reason. The second and third blocks are the width and height respectively.
0, 0, 1, 0,
240, 0, 0, 0, (0x000000F0 = 240)
171, 1, 0, 0, (0x000001AB = 427)
1, 0, 0, 0,
0, 0, 0, 0,
1
Spot on, just getting .net 2.0 now as im a few past that i think, once this is sorted i will update the whole Dark10 series.
Related
Has anyone else noticed all of the .9 files in Samsung's APKs that are _not_ valid 9patch images? box_launcher_bottom.9 or box_launcher_top_normal.9 for example.
If you try to replace them, they stop working as 9patches, causing busted images in the UI. If you put the _exact_ same file back in, they are fine.
Anyone know what might be causing this? I am going to create proper 9patch files for a few and see if those work...
BitVenom said:
Has anyone else noticed all of the .9 files in Samsung's APKs that are _not_ valid 9patch images? box_launcher_bottom.9 or box_launcher_top_normal.9 for example.
If you try to replace them, they stop working as 9patches, causing busted images in the UI. If you put the _exact_ same file back in, they are fine.
Anyone know what might be causing this? I am going to create proper 9patch files for a few and see if those work...
Click to expand...
Click to collapse
I havent had a problem replacing them, its editing the image that gives me trouble... I have to use a totally different image..
I am not sure what you mean? Replacing? As in, with something similar? And you have an image issue... as in you want an entirely different style of skin? What have you replaced them with that worked?
If I replace the .9.png with an image of similar size it is fine... If I take the .9.png and lets say, make it more opaque/transparent or change the rgb ratios, then the image breaks and shows up funny...
junkdruggler said:
If I replace the .9.png with an image of similar size it is fine... If I take the .9.png and lets say, make it more opaque/transparent or change the rgb ratios, then the image breaks and shows up funny...
Click to expand...
Click to collapse
Still confused. Do you create your own .9.png's from scratch? Do you just use a regular png of the same size? I've been reading up on these .9's and I know that I can now make some morphs but it is going to be a lot more work than I thought unless there is some trick you know to create them.
yeah ive just used regular pngs... whatever I could find lying around my 16gb of theming stuff on my sdcard...
Not everything just works, Ive found problems along the way... I use ninja morph to test out my stuff before flashing with MM so I have less trouble finding out what doesnt work...
Making .9 files is not hard, at all. But then again I do Android dev as part of my job I am just curious if anyone knows how Samsung is able to use _bad_ .9 files (no marked-up edges) and still have them show up correctly. No big deal, I can figure it out myself I guess.
BitVenom said:
Making .9 files is not hard, at all. But then again I do Android dev as part of my job I am just curious if anyone knows how Samsung is able to use _bad_ .9 files (no marked-up edges) and still have them show up correctly. No big deal, I can figure it out myself I guess.
Click to expand...
Click to collapse
Could you explain how to make them? I tried using regular png's with no luck. The file names don't match so they won't get replaced properly. I can't edit existing ones and make them work. I guess I have to make my own from scratch but I don't really get how. If I can figure this out I'll be theming like crazy. (which may not be a good thing for all the other things I need to get done)
There are a few places online that explain them. I will let you google for that info/guides (I am at work right now). I will say however that there's a tool in the SDK (if you build it) called draw9patch that creates a little tool to show you how they look stretched different ways, and lets you edit them, very handy.
As for the 'rules'. It's easy. The left & top edges of a .9 file (1 pixel) define where the image will stretch. If you place a black dot in the left-x, center-y pixel of the image, it will stretch that row if the image needs to be bigger. The rest of the image will not be stretched. The same goes for the top. You can place extra pixels to expand the area stretched, or even make more than 1 area that stretches (my notification bar skin will show how that's done).
The right/bottom edges use the same mechanism (1 pixel row/column) but they define a box on the image that _content_ inside the image will fit into. You can see this if you go find some 'edit box' skins. The black dots on the bottom/right are placed where the edit box's internals are relative. Unlike left/top, you _can't_ have more than 1 section per side.
Using draw9patch it is _very_ easy to play with. If I get some time I will upload some examples, maybe with my next morph (an extension of the diamond-plated steel look I did for the launcher in some other threads).
BitVenom said:
Making .9 files is not hard, at all. But then again I do Android dev as part of my job I am just curious if anyone knows how Samsung is able to use _bad_ .9 files (no marked-up edges) and still have them show up correctly. No big deal, I can figure it out myself I guess.
Click to expand...
Click to collapse
I'm not really sure what your getting at by "_bad_ .9" but if an image is sized correctly, it doesn't need guidelines.
Perfect example is this image:
which has no guidelines whatsoever
maybe you could upload an example?
Yeah I've just renamed regular .png files with no prob 90 percent of the time..
Sent from my SGH-T959 using XDA App
one thing you could also try doing is using apktool and decompiling the apk with the 9.png's you are trying to replace. apktool decodes them and shows the patches.
Well I tried using the draw9 tool. Very simple and easy to see what is happening. I modified a bunch of the Mms .9.pngs (on a mac?) with photoshop, saved, opened with draw9 to add the stretching, saved them and made a morph. When applied it only changed some of my images and the ones that changed won't stretch properly so the text extends outside the image.
I ONLY replaced images but something got screwed up. My text messages started showing coming from the wrong people, and I would reply to one person and the text would go to someone else. Not good. Tried to use the revert I had created and it fixed the graphics but not the other sending/receiving problem. Lucky I had a backup so I'm flashing back to that now.
I'm sure I'm making some stupid error, oh well I'll figure it out eventually.
Gahhhh!!!
Well, after digging around, and not being able to determine why my own changes to .9 files were causing issues, I found it: If I use _apktool_, I get a proper .9.png, and it looks great. If I just unzip the apk, I get the old png, still valid, but without it's outer-edges that are used for .9 markup. What-The-F? Really. So does the damned thing have 2 versions of the file in it? A PNG is compressed, it shouldn't be possible to create a version minus the outline without tons of trouble. Where is that data being hidden? If I put mine in place, will it just blow it all up?
I am going to give it a shot, see what happens.
Putting the 'proper' .9 that apktool created back into the morph and loading it results in something that is _better_, but still rather broken. Somehow the 'patches' from the .9 file are being applied over the .9 itself. There must be something about .apk that encoded extra data in a side-channel of some sort. I wonder if anyone here knows who to ask? I am a very capable programmer, and happy to write/transplant code to get a reliable .9 path for odd .apk variants (as I understand Samsung's is new/custom)... ?
Info I just found: http://code.google.com/p/android-apktool/issues/detail?id=2
So apktool will decode from binary to source. Now I just need to get a path back to binary, and I think it'll fly...
Hrm, I found the Froyo code that de-serializes a PNG and checks for 9patch, as well as the code to save one back out with 9patch info. I need to determine why the 'source' 9patch minus hidden binary data is not acceptable to the Vibrant. It should be, all of this code reinforces that. I feel like I am _suuuuuuper_ close to having this work.
Well, I need to write a tool (maybe after next week) to do the heavy lifting... but hand pushing the 'custom' PNG chunk from a valid .9 onto a processed one results in a valid .9. You have to know the PNG format (and be handy with a Hex editor), and since you are stealing data from another image, hopefully didn't edit the size/split areas too much. I know google's format too, so hand-editing the custom chunk data to move around the black-bars (virtually) isn't too bad. But again, a tool that just takes .9.pngs with visible borders and encodes them (and removes the _massive_ waste of RAM that is the Photoshop chunks.. wow), and is able to do the opposite will likely help all theme modders out there. I will update the head of this post once the tool is complete.
As an aside, even after getting a working file (my folders now have black, not grey backgrounds) - I still have a grey box in the center... and that is _not_ in the image. Very, very odd. I will track that down too... probably just some layout courtesy of Samsung.
Noon Sunday - Ah, got the grey-box too. I _think_ a simple 'encode 9patch' tool already exists, will test the process and report back. But I have fully custom graphics now that look excellent.
Just added: https://code.google.com/p/android-apktool/issues/detail?id=92
Also I'll add wiki page about 9patch images, cause many people don't understand them and they don't know, what to do. They're WTFing, as you did above ;-)
Thanks!
Brut sir Being a long time hobby-hacker... the chase was as valuable for me as the catch... but I definitely appreciate somebody else making it work first
9Patches are easy now, and one of the most powerful elements that Android UI utilizes too!
Ok, I think you understand 9patch images already, but I wrote an art with explanation:
https://code.google.com/p/android-apktool/wiki/9PatchImages
Brut.all said:
Ok, I think you understand 9patch images already, but I wrote an art with explanation:
https://code.google.com/p/android-apktool/wiki/9PatchImages
Click to expand...
Click to collapse
Thanks for that. I'm going to be giving these 9patches another try.
OK folks,
Have a look at this guide that I created for editing the framework-res.apk so that you can then go to the UOT Kitchen and cook up your own ICONS and Batteries.
It is a long read and most folks can probably figure it out.
I have used this to create my own Battery and Status bar icons.
Regards,
Alperin1
I have converted your document to a PDF (some folks don't use Word).
Download here
If you want me to remove this I will.
thanks very helpful guide, but too involved for me. I will either use some one else theme, or use 7zip open archive and change PNG's trick.
Hopefully someone can upload an edited framework-res, for every DJ_Steve update that we all can share for UOT.. hint...hint...
thanks again, I may give this a try when I have time, hopefully I wont need to though.
chrisrotolo said:
thanks very helpful guide, but too involved for me. I will either use some one else theme, or use 7zip open archive and change PNG's trick.
Hopefully someone can upload an edited framework-res, for every DJ_Steve update that we all can share for UOT.. hint...hint...
thanks again, I may give this a try when I have time, hopefully I wont need to though.
Click to expand...
Click to collapse
Gopu already uploaded an edited framework-res..here it is
http://www.megaupload.com/?d=4TI7W0E1
ramtix said:
Gopu already uploaded an edited framework-res..here it is
http://www.megaupload.com/?d=4TI7W0E1
Click to expand...
Click to collapse
Ramtix, i knew that the framework was out thre for the others to use.
I guess the guide is for the folks that want to do all the work and learn a lttile bit about how the Framework is edited.
It took me a long time to figure out how to edit the 9.png files and compile them and just wanted to help others to do the same.
I tried that framework and failed to cook everytime
What is the use of those .9 pngs anyways?
chrisrotolo said:
I tried that framework and failed to cook everytime
What is the use of those .9 pngs anyways?
Click to expand...
Click to collapse
OK, what are the 9.pngs used for or why are they needed.
Stretchable Patches
If you have an image that you may need to stretch you then converting it to a 9.png will allow it to stretch. Also if you need put something in the PNG file, by converting it to a 9.png you can tell it where the text/data/information is allowed in the png file.
When you convert to a PNG you need to need to put a single pixel on the left side of the image and the top of the image. This pixel is not part of the image but in a frame around the image the frame also is just one pixel all the way around the image.
When you put the pixel on the top of the image you are telling the system where the image can be enlarged. Draw and line straight down from you pixel and this is where the image will stretch from. This just allows the image to grow to the left and to the right. Think of it as a square when you put the dot at the top of the square you can them change the square and stretch it left and right to make the square wider, so that it is now a rectangle. This all comes in handy when you rotate your device from landscape to portrait and back again.
Now when you put the pixel on the left side of the image, again in the frame that is around the PNG file, you are telling the system where it can stretch the image, this time you can pull the image up or down and so the height will change. Again image a square, you put the dot on the left side of the this determines at what point the square is allowed to stretch.
Only the lines with the dots on them will change, the rest of the square will retain the original shape and the original image. Most of the time this is done to an image that is only one color so that you are not messing with an image.
Here is the best example I can give of the DOT at the top of the 9.PNG or the left side.
Take two pieces of blank paper that you have and set one on the table and then set the second piece of paper in top of the first with about one inch of the right side of the first (bottom) piece of paper showing. The point where the top piece of paper ends and the bottom piece of paper starts is that DOT. Now slide the bottom piece of paper to the right and keep the top piece of paper still. Hope this all make sense
Content Area
Now lets look at the right side and the bottom of the PNG file. These two side determine where in the PNG file that text or other stuff can overlay or be imposed into the PNG file.
If I have an PNG that is a button and it is 50 x 50 pixels and I want the text for the button to be centered left to right, I would focus on the bottom of the 9.PNG image. I want the text to be able to use most of the pace from left to right but i do not want it to use the left 5 pixels at either end, I would create a line at the bottom of the 9.PNG that begins 6 pixels from the left and ends 6 pixels from the right. Why 6 pixels you are asking, well I have a one pixel from around the image and I needed to take that into account.
The same thing is used to center the text on the button from the top and bottom. Only this time you would use the right side of the image and fill in all pixels except for the 6 from the top and the 6 from the bottom.
Now when the button is stretched, you can use more of the space, but you will never be able to use the last 5 pixel on the top, bottom, left or right.
WOW, that was a long write up.
Enjoy,
Alperin1.
BTW, this is not unique to the Streak, it is used for the Android OS and maybe more.
alperin1 said:
Ramtix, i knew that the framework was out thre for the others to use.
I guess the guide is for the folks that want to do all the work and learn a lttile bit about how the Framework is edited.
It took me a long time to figure out how to edit the 9.png files and compile them and just wanted to help others to do the same.
Click to expand...
Click to collapse
Alperin, dont get me wrong, what you did is awesome, useful and will be appreciated for all other users in the forum especially for future bulids.You did a great effort putting it in words and composing that. thumbs up!
ramtix said:
Alperin, dont get me wrong, what you did is awesome, useful and will be appreciated for all other users in the forum especially for future bulids.You did a great effort putting it in words and composing that. thumbs up!
Click to expand...
Click to collapse
All is good. I did not intend for my response to be a flamer at you.
I think some folks just want to have some fun and try to make things work and a little help here and there can go a long way.
Thanks
Great explanation of .9.png's
Finally got the edited framework to cook
Hopefully this helps with more themes for Streak.
Thank you all around
Tried making my own framework.apk but failed big time, appreciate you uploading your work for me to use. Will keep the guide and continue to play with it, would like to say that I beat the software, not that the software beat me.
Keep hacking away at it.
Do you know where you are beating the software into submission. (where are you stuck?)
When it's time to complie is where I fail
alperin1 said:
Keep hacking away at it.
Do you know where you are beating the software into submission. (where are you stuck?)
Click to expand...
Click to collapse
alperin1, I will walk you through my Eclipse phase and maybe you can tell where all goes wrong.....
1. Make edits to .9 files like a champ if you don't mind me saying so...
2. Open Eclipse and go to File/new/android project and nothing, import LunarLander files and make sure settings are on Android 2.2
3. Create and now my copy of LunarLander is permanently updated to my edited .9 files (so assume at this point all is good to go).
4. At Export Signed Application Package is where I am having my problems, go throught the steps receive confirmation my file is G2G and when I move them to my Framework file all the edits are gone, like I did nothing to them.
5. Have preformed #4 multiple times and same result every time, everything moves but my edits are stripped out.
6. Figured maybe it is magic and edits will reappear when I cook my file, well no luck, get same exact error report as when I first tried to cook me some Icons on UOT.
Any ideas on what is causing my updated .9 files to loose the edits when I move them from LunarLander to Framework (Yes I do accept the overwrites when prompted).
Before you do the last step in Eclipse, drag one of the png files to your desktop and view it.
I am at work. I will play with this when I am home.
Sent from my Dell Streak using XDA App
vanemburghj said:
alperin1, I will walk you through my Eclipse phase and maybe you can tell where all goes wrong.....
Any ideas on what is causing my updated .9 files to loose the edits when I move them from LunarLander to Framework (Yes I do accept the overwrites when prompted).
Click to expand...
Click to collapse
This is very interesting. When I export my package from Eclipse and then pull the images they do not show the dots and the bars just like you are seeing. So, I have to say this part may not be where your are running into problems.
Is it possible for you to post the error text? Put it into a zipped file. I will see what I can do. This is kinda new to me so I will do what I can for you.
So you are in Eclipse and you have lunarlander, you then put all your edit 9.PNG files into the folder. Next your export it.
After you have created the new lunarlander.apk, you are going into it and extracting the 9.png files you need. You are then placing these file in the same location that you pulled them from in the framework-res.apk. right? Then you are uploading this to the UOT kitchen.
Will do
But will have to wait till I get home from work.
alperin1
Here is my LunarLaner.apk, none of the edits survived creation of .apk, but they are in my LunarLander sample as your guide shows them to be. So it is when I make the .apk that all fails. Have attached my Pre-export LunarLander so you can verify I made the changes to .9 files.
Window 7 Ultimate 64 bit
Norton Anti Virus
Plus other software
Any and all ideas are welcome.
vanemburghj said:
Here is my LunarLaner.apk, none of the edits survived creation of .apk, but they are in my LunarLander sample as your guide shows them to be. So it is when I make the .apk that all fails. Have attached my Pre-export LunarLander so you can verify I made the changes to .9 files.
.
Click to expand...
Click to collapse
Well, I have taken the 9.PNG files that you have provided and I put them into my Framework-res.apk file and I was able to cook up some goodness for myself at the kitchen.
As you are stating and you are correct, the frame around the 9.png is not showing after step number 4, but the information is there, i just do not yet know how to view it.
I think the problem may be that the same 9.png files are in two locations in the framework-res.apk. Can you try to cook a new set of ICONs or anything for that matter and when you get the errors, put them in a zipped text file and post it here for me.
Oh and what ROM are you using? DJ Steve 1.9? If so, you should have many more images to edit that what you have provided to me.
Cooked my own framework!!!
alperin1, Thank you, think I needed confirmation that once exported via eclipse edits would disappear, plus I took my time and made sure I did the wallpaper steps exact. Cooked my own framework, I am getting there, am sure it is one very small drop in a very big ocean of Android development that I have learned with your expert help I do appreciate it.
vanemburghj said:
alperin1, Thank you, think I needed confirmation that once exported via eclipse edits would disappear, plus I took my time and made sure I did the wallpaper steps exact. Cooked my own framework, I am getting there, am sure it is one very small drop in a very big ocean of Android development that I have learned with your expert help I do appreciate it.
Click to expand...
Click to collapse
Grasshopper.you are doing well. You have made my day.
Sent from my Dell Streak using XDA App
Here is a great article posted over at www.streaksmart.com about changing your boot animation.
Nice walkthrough for ultimate n000bs like myself (for rooted Streaks). I was able to do this, step by step, and the honeycomb boot animation is very cool...
I take no credit for this, just thought all of the XDA crowd might enjoy this.
http://www.streaksmart.com/2011/04/how-to-get-honeycomb-boot-animation-on-dell-streak-and-streak-7.html
I did already works great.
Sent from the almighty Dell Streak 1.9.0
Man I need ur help ,
I tried to make my own boot animation for my streak with image size 800x480. And another with 480x 800, both seperately and the same text as stock bootanimation . Tryd 10 tyms but unfortunately cant succeed screen just goes blank . And my streak.is rooted
But this honeycomb works perfectly . Y my custom doesn't
rvbarton said:
Here is a great article posted over at www.streaksmart.com about changing your boot animation.
Nice walkthrough for ultimate n000bs like myself (for rooted Streaks). I was able to do this, step by step, and the honeycomb boot animation is very cool...
I take no credit for this, just thought all of the XDA crowd might enjoy this.
http://www.streaksmart.com/2011/04/...ot-animation-on-dell-streak-and-streak-7.html
Click to expand...
Click to collapse
Sent fr0m [email protected] all [email protected] dell streak
It sounds like you are compressing the file when it gets zipped. I like to use 7zip, and set the compression level to "Store". Try that and it should work for you.
I used win zip and also tried zipping from my streak .
Also is this compression level option available in winzip or have to download 7zip
Thnks for replying my msg
Sent fr0m [email protected] all [email protected] dell streak
jitin02 said:
I used win zip and also tried zipping from my streak .
Also is this compression level option available in winzip or have to download 7zip
Thnks for replying my msg
Sent fr0m [email protected] all [email protected] dell streak
Click to expand...
Click to collapse
I am not sure if it has the option or now in winzip. Try using it with no compression. If not 7zip is a free download. It is another application to add to your machine, but in my opinion I like it better than winzip because of the functionality of it.
:ess than uninterested.
It isn't useful, functional, efficient or entertaining.
When I reboot my phone (hopefully a rare occurance) the only thing I want it to do is start faster, not amaze me with a boot animation.
"Hey guys, my phone crashed but check this out..."
If you dont like it then do use it, this is true for many things. You're not forced to install it or anything
jitin02 said:
Man I need ur help ,
I tried to make my own boot animation for my streak with image size 800x480. And another with 480x 800, both seperately and the same text as stock bootanimation . Tryd 10 tyms but unfortunately cant succeed screen just goes blank . And my streak.is rooted
But this honeycomb works perfectly . Y my custom doesn't
Sent fr0m [email protected] all [email protected] dell streak
Click to expand...
Click to collapse
Well, if you open the zip file, the PNG dimensions are 512x256, probably because it compresses better.
I'm not sure what level of zip compression it uses but I don't think it would matter.
Please post if you get it working!
Tips for getting a Boot Animation to work...
This thread looks a little stale, but just in case, I thought I might give you some tips on what helped me.
I recently modified a boot animation and, afterwards, all I could get was a blank screen. I discovered the following as I got mine to work:
The PNG files can have almost any dimensions. I have downloaded animations with all kinds of dimensions for the PNGs and in the desc.txt files. What seems to matter most is that you do not exceed the resolution of your device in the desc.txt file and that the PNGs should strike a balance between dimensions and size.
Smaller sized images display faster but, if scaled, don't look as nice.
Your images should be sized based on the device orientation - portrait PNGs should be taller than wide, and landscape should be the reverse. The desc.txt has dimensions in it which should reflect this, as well.
Your zip file should be created with the "store" option - no compression, at all, or all you will get is a black screen.
Your desc.txt file should NOT contain "carriage returns".
Something many Windows users know, but forget, is the carriage return. The Android phones are Linux based and, as a result, are quite happy with line feeds all by themselves.
Open your desc.txt in Notepad (if you are in Windows)... Does it look like A or B?
A:
800 480 15
p 1 0 part0
p 50000 0 part1
B:
800 480 15p 1 0 part0p 50000 0 part1
If, in Notepad, your file looks like "A" your boot animation either will not work, or will not work correctly. I have experienced both - sometimes it was simplay black, others I would get the part0 but not part1.
So how did I fix it?
I downloaded Notepad++ (it is completely free). I then opened my desc.txt in Notepad++. In Notepad++ I clicked on View --> Show Symbol --> Show All Characters. Now you should see "CR" and "LF" in inverted colors at the ends of the lines.
Click on Search --> Replace, the "Replace" window will open. In "Find What:" put \r\n and in "Replace With:" put \n, then make sure Search Mode is "Extended". Click on "Replace all", save the file and try it out.
I hope all of this helps you get your animation running.
Some thoughts in response to your post.
You are correct in that the PNGs can have virtually any dimension. In fact, you can use the desc.txt to scale the image to be larger than the total screen size if you wish. To avoid warping the image by stretching it too much in one dimension however, the PNG files should have their dimensions set to the screen's aspect ratio. For a Streak, this would mean the image needs to have an aspect ratio of 1.667, i.e. the width of the image needs to be 1.667 times greater than the height. The Streak's screen is a tiny bit larger than 16:10 widescreen, which has an aspect ratio of 1.6.
Just as in movies, the number of frames per second will determine just how fluid the animation will be. The more frames per second, the smaller each image should be if concerned with keeping the size of the final zip file down. There was a lot of trial and error involved in putting together the Stargate boot animation, and the final result works well. I found also that scaling the image and ensuring the aspect ratio was kept resulted in a boot animation that was far sharper than one that ignored the aspect ratio of its source material.
I do however find issue with your mention of desc.txt not containing carriage returns. The Stargate boot animation desc.txt looks identical to A and yet works perfectly. From my understanding of how the desc.txt file is seen by Android, it can easily handle Windows carriage returns, as long as all lines in the file have one. I used Notepad and not Notepad++ to create desc.txt, so I KNOW Android sees carriage returns.
So the simplest fix is make sure you have a blank line following the text in desc.txt. Thus:
800 480 15¶
p 1 0 part0¶
p 50000 0 part1¶
[blank line]
The pilcrows (paragraph marks) are Windows carriage returns.
Fascinating, and good to know. I have always had a blank line at the end of the file, as far as I know - in part because I was editing a pre-existing one most of the time. But when I went changed one thing and one thing only suddenly they started to work, and that was replacing the line feeds with carriage returns.
I honestly did nothing else... but if you can use carriage returns then, for whatever reason, I am wrong.
If everyone's boot animations work then I can live with it. ;-)
Sorry if this causes anyone any confusion, that wasn't the plan.
Well, to be honest, even I don't have it quite right. The truth of the matter is that Android does not care whether desc.txt uses CR/LF or LF. The separators in desc.txt are the letter "p". The blank line following is still necessary, if I recall correctly at approximately 2am.
Hi there! I am developing a ROM for the Virgin Mobile Alcatel (PCD) Venture, which is listed as having a 240x320 resolution. I have a perfectly working custom boot animation in 240x320, but i cant for the life of me figure out why i cant get a working custom splash screen! ive done sooooo much research, but havent came across any method that has worked yet on the Venture. no matter what i do, the boot splash comes out distorted/scrambled. ive been chatting with a senior member of another popular android development site, and they referred me to here, so im keeping my fingers crossed that SOMEONE out there can help me! The Venture runs Android 2.3.5 (Gingerbread) on kernel 2.6.35.7-perf.
the method i am using is decompiling the boot.img file from my rom via dsixda's kitchen (ubuntu), and replacing the initlogo.rle file with my custom splash file of the same name, and then rebuilding the boot.img. i created the custom splash (240x320) in photoshop cs3, and saved it as a 24 bit png file with transparency enabled. then i converted the png to rle using to565 tool in ubuntu. flashed the rom, still distorted. ive also tried other methods of creating the image, including:
1. [win xp] saving the image in photoshop directly as an rle file
2. [win xp] saving the image in photoshop as a regular png (aslo tried regular bmp), loading in MS Paint, saving as 24bit bmp, and converting to rle using to565 in ubuntu
3. [win xp] saving the image in photoshop for web/devices (24bit PNG), and converting to rle using to565 in ubuntu
4. [ubuntu] loading psd (photoshop save file created in win xp) into GIMP, saving as png, and converting to rle using the following code:
convert -depth 8 initlogo.png rgb:initlogo.raw
./to565 -rle <initlogo.raw> initlogo.rle
sudo chmod 777 initlogo.rle
all methods resulted in the same distorted splash when i tried flashing the rom. im sure that ive tried other methods too, but i just wanted to give you an idea of what kind of methods im using. also, i tried resizing the image down to half the size (240x320÷2=120x160). resulted in the same issue.
i used a tool to convert the stock rle to png so i could check it out, but when it converted the rle, it came out with 2 different png files. one was just a black background, and the other was a black background with the red "Hello" writing, but it looked all distorted in the same way that the custom rle comes out looking on the phone. also, the 2 images had different properties. the black background one was a grayscale, and the other was indexed. interesting. also, does the dpi come into play here at all? ive heard that 72 will pretty much work universally (i dont kno if thats correct or not). the Venture natively runs a lcd density of 120. from all the information that i have dug up, this seems like an uncommonly low dpi on android phones. do i need to compensate for this in any way?
also, an interesting fact, when trying to use ANY screenshot app on the venture (at least, any of the screen apps that i have come across), the output image always comes out scrambled in the same way that it scrambles my custom splash.
any help here would be very appreciated, as i have been stuck on this for almost a week and a half now, and its really holding up the development of my rom. i MUST get this working though! thank you so much for reading!
still stumped. ideas anyone?
so, i believe i found info that hinted that the dpi of the splash isnt important. is this correct?
any ideas? im really anxious to get some input from anyone!
so i calculated that the ventures screen is 2.8", and with the resolution of 240x320, the dpi comes out to 142.857, but they set the stock density to 120. could this have anything to do with the distortion?
still been diligently working on this. anyone reading have ANY ideas of anything i could try?
ok, so even tho the venture is 240x320 (240w, 320h), i tried resizing the image to 320x240. the splash is looking closer to what its supposed to, but definately still distorted/scrambled. thoughts?
are there any known kernel bugs or anything that could cause this? is it a lost cause?
so after countless hours and a couple months of frustration, i finally got this sucker figured out. the res of the venture is advertised. i picked apart the OS and found some coding here and there that looked a little off to me (granted, im still learning a few things about the intricacies of the android/linux filesystem, but ive got my head wrapped around it pretty darn good ). i believe the framebuffer used on the venture has some serious bugs (maybe just a drag & drop FB from another similar chipset to save $ on programming?? i mean, the phone WAS only 29.99 new...). anyway, i ended up figuring out a workaround. it basically just comes down to an incorrect resolution issue, causing it to severely distort the image. so, in photoshop, i ended up having to create my image as 235wx320h instead of the advertised res of 240Wx320H (to center image due to a spacing issue that comes up on the splash). then, after finishing my 235x320 image, i went to Image -> Canvas Size. i had to resize the canvas to exactly 256Wx320H with the background set to black (to match the BG of my image). i also set the anchor to the top left. then i went File -> Save for Web and Devices, and saved with the PNG-24 preset with transparency enabled. i then modified a custom utility to convert to RGB565 and convert to rle.
i just thought i would share that here so anyone who might have a similar problem could benifit from my findings! i linked to my original Phandroid thread below which has a download link to my modified tool and step-by-step, easy-to-follow instructions. any questions, feel free to contact me! thanks!
http://www.androidforums.com/venture-all-things-root/669111-custom-boot-splash-how-change-vms-hello-screen.html
Up:thumbup:
Part of making a great rom lies in personalizing it with a great startup animation. When it comes to Samsung however, things can get a bit tricky as samsung likes to deviate from the norm by using their own unique boot animation format. Thus, instead of the standard "bootanimation.zip", which contains the whole startup animation and whatever image or loop you would like to have appear at the end until the device boots up, with Samsung things get split up into 2 separate files. These files are called "bootsamsung.qmg"(the start of the animation) and "bootsamsungloop.qmg"(the end of the animation that repeats until startup or whatever still image at the end that you'd like to land on). Recently I tried to make one such animation and managed to get it right on the first try, but since making animations for Samsung devices seems to be somewhat of an elusive topic on the net I decided to make an easy to understand tutorial.
So, here we go then. Let's get started, but first let's make sure we have the required things.
REQUIREMENTS:
- Samsung Theme Designer: http://developer.samsung.com/bada-themes/tools-sdks/Samsung-Theme-Designer-2-0-4
- Photoshop(or another image editing program)
- A ROOTED DEVICE
- A Root Explorer App(like "ES File Explorer", "Root Browser", etc.)
- An awareness of the target device's screen resolution size in pixels.(ie. 480x800, 1440x2560, etc.)
Alright, now here are the steps to making a Samsung boot animation.
NOTE: For the purposes of this tutorial we're just going to keep things simple by only working with 3 images that will alternate repeatedly, but you can always do more images to create a more elaborate animation if you want.
NOTE 2: If you already have your own images from a bootanimation.zip, then you can just skip steps 1 and 2.)
STEPS:
1) Create Your Images In Photoshop - Just start by creating a new image in Photoshop. The image dimensions must be the same as your device's screen resolution. Mine is 480x800, so that's what I made. Now do whatever you like with the images. I just made 3 images for mine with the title of the rom and just used the fill tool in Photoshop to add different colors to the text and the background. Then I saved the image in PNG format and used the fill tool to change the colors again and then saved that file too under a different name. I did this 3 times and ended up with 3 different images of different colors and put them in a folder on my computer. I just named the folder "boot", but you can call it whatever you want.
2) Create The Full Animation - For this part you're going to want to turn those 3 images you made into about 30 images by duplicating them so that the image doesn't flash by too fast in the animation. Just open the "boot" folder where you saved the images and right click on the name of the first one and select copy. Then paste it 9 times so you end up with 10 duplicate images. Now do the same thing for the other 2 images to make a total of 30 images(10 of each) in this folder. Now go to the first set of images and name them whatever you want, but name them in sequence using this format here. Start with "yourimagename_000.png", then "yourimagename_001.png" on up through "yourimagename_009.png". Then go to the second set of identical images and start naming those starting where you left off with "yourimagename_010.png" and so on and do the same for the third set. You should end on "yourimagename_029.png" with 30 images.
Next make another folder. I called this folder "loop" just to keep things organized. Afterwards, copy the previous 30 images from the "boot" folder into the "loop" folder, so that you now have a total of 60 images in 2 folders, with the same 30 images in each. Then, go into the "loop" folder and start renaming the images in there in sequence. Make sure to start from where you left off in the previous folder so that you end up with "yourimagename_030.png" through "yourimagename_059.png" in there. These will be the images that loop at the end until the phone boots up.
3) Set Up Your Animation Project - Open Samsung Theme Designer and under "Create New Theme" select "Feature(NonTouch) Phone". Then under "Select Model" just click on the one near the bottom that has the word "Spring" in it. Then under "Select Showcase" just click on "Default" and just type any name you want to call your project in the "Name" box. You might want to then just make sure to save it to the same folder location where you have your image folders stored just to make things easy and after all that, then just click on "Ok".
4) Define The Animation Parameters - Once you have your project loaded, just ignore the preview that you see in the window(as it's irrelevant ALWAYS) and click on the "View" tab at the top of the theme designer and click on "Tree View Window" just to make sure that you can see that menu in the left pane. Then near the top of the tree view under "Idle Component" click once on "Idle Background" to pull that menu up on the right. Now, in the "Idle Background" window, click on where it says "fixed" under "Background Type" and change it to "animated". Then change "Frames" to "30", because that's how many images we have in our first folder, and change the "Duration" to "50"(usually between 30-450 is best) and make sure "Repeat" is set to "False" for this one.
5) Building The First Animation - After you have everything set, then let's start by building the first part of your animation. To do this you need to go back to your "boot" folder where you stored your first 30 images and select them all. Now drag and drop them all into the "Animation Object Window" pane at the bottom of theme designer to fill the 30 empty frames with your images. Then click the "Save" button at the top left of the theme designer to save your work before finalizing your project. Now click on the "Home" tab. Then in the top right of theme designer click on "Export Theme" and export the theme to your same project folder. The project name doesn't matter. It takes a few seconds to export too, but once it does just click "Ok" and then on "Yes" to open the folder where you saved the file. Then rename the "yourprojectname.smt" file in that folder to "yourprojectname.smt.zip" and open the zip file. Extract ONLY the "IdleBgAnimObj.qmg" to your project folder and rename it to "bootsamsung.qmg". BOOM! You're done with the first part of your animation.
6) Building The Second Animation - Now to make the second part. The second animation is the part that loops at the end and is pretty easy as it's basically the same process as the first part with only a couple of changes. First thing you want to do is click "Save As" at the top left of the theme designer and change the name of this new animation to something else. Then, you want to click on one of the images in the "Animation Window" at the bottom and just keep hitting delete until they're all gone. Now, since we made the images in our "boot" and "loop" folders exactly the same images, then we can just once again set the "Frame" to "30" and the "Duration" to "50". The only difference this time actually is that we want to set "Repeat" to "True" so it loops. Then open your "loop" folder and drag the next 30 images and drop them in the "Animation Object Window" like you did with the first 30 above and export. Once you extract the "IdleBgAnimObj.qmg" file this time, however, you will be renaming this one to "bootsamsungloop.qmg". After that you are done creating your animation files!
7) Copying The Files & Fixing Permissions - Now that you've created your animation you will want to test it to make sure it looks right and that everything works. Plug your device into your computer and navigate to your device storage in a new window. Then, from your original project folder window, drag and drop the "bootsamsung.qmg" and "bootsamsungloop.qmg" files over to anywhere you want on your devices sdcard. Next, open your root explorer app on your device and navigate to the place where you copied the files. Select both and either move or copy them to the "System/Media/" folder. BE SURE TO BACKUP THE ORIGINAL FILES TO ANOTHER FOLDER ON YOUR DEVICE FIRST though, just for safe keeping, as this will overwrite the originals. Then, once you've moved the files, you want to make sure they have the right permissions. To do this touch and hold on each of the files and click on either "Permissions" or "Properties", whatever it says in your app, and look for the permissions. The only permissions you want to have checked for each is both "Read" and "Write" for "Owner" and only just "Read" for both "Group" and "Others". So the abbreviated version should read "rw-r--r--".
8) Testing Your Animation - After that you're all done. The only thing you have to do now is just reboot and see if it looks the way you want. If the animation is too fast or slow, then you just need to go back and adjust the "Duration" setting in each of your projects and do steps 5 through 7 again. If you're doing a more elaborate animation where each frame is different and the finished product doesn't look right then you may just need to go back and rework some of your images. Other than that, if you've followed these steps correctly, you should now have successfully made your very first Samsung boot animation. Congrats! You can now add it to your own custom rom or just use it on your own device.
I hope this helps some of you by the way. Feel free to respond to this thread if you have any questions or comments regarding the Samsung QMG boot animation creation process. Thank you!
----
HERE ARE SOME SAMPLE ANIMATIONS THAT I'VE MADE USING THESE STEPS:
HONOR 8 Boot Animations
https://forum.xda-developers.com/showthread.php?p=70645944
"ASCENSION" Boot Animation
http://forum.xda-developers.com/showthread.php?p=70324907
"ASH vs EVIL DEAD" ANIMATION(w/ Sound):
http://forum.xda-developers.com/android/themes/boot-animation-ash-vs-evil-dead-sound-t3307025
"TWILIGHT ZONE" ANIMATION(w/ Sound):
http://forum.xda-developers.com/showthread.php?p=64538922
"DOS STYLE" ANIMATION(For Galaxy Core Prime).
http://forum.xda-developers.com/showthread.php?p=64186973
HERE'S THE SIMPLE ANIMATION THAT I MADE WHILE CREATING THIS TUTORIAL TOO.
http://forum.xda-developers.com/showpost.php?p=64093741
Please be sure to hit the "Thanks" or Donate button below if this helped you out!
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time. This is the guide I was following originally http://forum.xda-developers.com/gal...animations-t2217795/post39844577#post39844577 (obviously with the specs changed for my device), which is similar to this guide just not as detailed or in depth maybe, but I've followed the steps and I just can't seem to be able to duplicate the results. Maybe I could upload the images or my boot that I created or something for you to look at but I dunno if that would even help or what that would accomplish.
---------- Post added at 04:59 AM ---------- Previous post was at 04:57 AM ----------
Koognod said:
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time. This is the guide I was following originally http://forum.xda-developers.com/gal...animations-t2217795/post39844577#post39844577 (obviously with the specs changed for my device), which is similar to this guide just not as detailed or in depth maybe, but I've followed the steps and I just can't seem to be able to duplicate the results. Maybe I could upload the images or my boot that I created or something for you to look at but I dunno if that would even help or what that would accomplish.
Click to expand...
Click to collapse
Also found this page regarding framerate description http://forum.xda-developers.com/showthread.php?t=2189934 Still no help to me though, unfortunately...
Koognod said:
I've tried this multiple times and am still not able to boot after swapping the files, changing the permissions and rebooting the device. I've also tried multiple settings in the duration ranging from zero to 30 (which happens also to be the amount of frames in my image sequence). the only alteration I've made from this guide (which I believe to be irrelevant) is the naming of the pings, in which I just left them named 001, 002 so forth without any prefix. Oh also I have left the closing boot in place (figured I'd change it after I get the first one working), that wouldn't be a big deal would it (The beginning and ending boot animation being different)? Oh btw, I have also tried with loop on and/or off, neither booted for me. Am I missing something? The images were in 480x800 resolution as per the device. I feel like I really should have had it right the first time.
Click to expand...
Click to collapse
If you set the duration to 0 you will see nothing. It should be at least 20 or 30 probably, but I'm not sure how elaborate your animation is or how often you want it to change. If you look at my animation everytime it changes color that's 50 duration x 10 frames. The duration by the way is in milliseconds. You're right about the image names though. The title doesn't really matter as long as alphabetically & numerically it falls in the right order. Maybe try starting at "000" though. Also, are your images in PNG format? Again too, make sure that the number of frames matches the number of images in each of your animations as well.
I realize that now, I only had it set to zero the very first time I tried to render (have tried at least 4 times since then starting at 1 and most recently at 30). I will try next extending the duration to 80 maybe. Oh also i have gone back to look at the files and I did start with 000 although I believe this to be necessary only so you can drag and drop the images into the software and have them still be in order.
Sent from my OG 420 using Tapatalk
Koognod said:
I realize that now, I only had it set to zero the very first time I tried to render (have tried at least 4 times since then starting at 1 and most recently at 30). I will try next extending the duration to 80 maybe. Oh also i have gone back to look at the files and I did start with 000 although I believe this to be necessary only so you can drag and drop the images into the software and have them still be in order.
Click to expand...
Click to collapse
Yeah, name doesn't really matter just the sequence. The duration will probably always do better higher than 30 I think too unless you have a very low number of frames. How many frames do you have for each animation btw?
Sent from my SM-G360T1 using Tapatalk
4 for some 2 for the rest. Theres only 30 frames in all
Sent from my OG 420 using Tapatalk
---------- Post added at 06:02 AM ---------- Previous post was at 05:54 AM ----------
So 80 didn't work, still bootlooped =(
Sent from my OG 420 using Tapatalk
Koognod said:
4 for some 2 for the rest. Theres only 30 frames in all.
Click to expand...
Click to collapse
So, you have about 15 frames for bootsamsung.qmg and 15 for bootsamsungloop.qmg then maybe? Are you duplicating some of the images like I mentioned above or is each one different? Do you want it to loop at the end or just hang on a final image? You can go as high as 5,000 duration if you just have one or two images that you want to hang on in the bootsamsungloop.qmg, but I found that that doesn't work as well as just duplicating some of the images and providing a lower duration(ie. frame rate). Also, if you have a significantly low amount of frames and/or duration too, it may be that it's happening but it's just flickering by too fast.
Sent from my SM-G360T1 using Tapatalk
bogarty said:
So, you have about 15 frames for bootsamsung.qmg and 15 for bootsamsungloop.qmg then maybe? Are you duplicating some of the images like I mentioned above or is each one different? Do you want it to loop at the end or just hang on a final image? You can go as high as 5,000 duration if you just have one or two images that you want to hang on in the bootsamsungloop.qmg, but I found that that doesn't work as well as just duplicating some of the images and providing a lower duration(ie. frame rate). Also, if you have a significantly low amount of frames and/or duration too, it may be that it's happening but it's just flickering by too fast.
Sent from my SM-G360T1 using Tapatalk
Click to expand...
Click to collapse
No sorry, I only have made one folder so far because I was only focusing on getting the beginning animation working. so 30 frames for the total sequence. Also, if it were flickering by to fast my device would still be able to boot all the way, I could imagine, which has not been the case.
Koognod said:
No sorry, I only have made one folder so far because I was only focusing on getting the beginning animation working. so 30 frames for the total sequence. Also, if it were flickering by to fast my device would still be able to boot all the way, I could imagine, which has not been the case.
Click to expand...
Click to collapse
It's true it would just kick to the standard samsungbootloop.qmg after your animation if you only did the first part and only replaced the bootsamsung.qmg. I would say first though maybe, just put back the originals to make sure it still boots fine, then try making it work. Also, remember that the more complicated your animation is, the more complicated this process will be. Make sure your permissions still say that they're "rw-r--r--". Make sure that resolution is right and everything else is too, etc. Did you download the newest theme manager too? The link I provided should be fine. Also, if there's any steps you skipped because maybe you already did some stuff, maybe try starting from the beginning(except the image creation of course), but once you get it working right I think it's pretty easy to make more from here on out. Maybe try the animation emulator in theme manager too on the home tab. It won't show you the whole display, which is normal, but it will show you the rate of change between frames and whether or not it seems to be working.
Sent from my SM-G360T1 using Tapatalk
It plays in the emulator. Also I have been restoring system from saved recovery in order to replace my custom animation in between flashes. My permissions have been set proper as well. Resolution too it says 480x800. It really confused me as well that my animation not working caused my phone to bootloop but as I've said I really can't find a step I'm missing.
Sent from my 000 using Tapatalk
Koognod said:
It plays in the emulator. Also I have been restoring system from saved recovery in order to replace my custom animation in between flashes. My permissions have been set proper as well. Resolution too it says 480x800. It really confused me as well that my animation not working caused my phone to bootloop but as I've said I really can't find a step I'm missing.
Click to expand...
Click to collapse
Yeah it should be working if you followed those steps. We have the same device after all. The only thing I could say is maybe try making a super simple one first and get that working, then slowly build on it with more images as you go along. I rebuilt these files while I was making this tutorial to make sure I didn't miss anything and it still works fine. Also, you don't have to reflash the whole rom everytime to go back. Just copy back the originals. That's why I definitely always prefer copying over moving myself, as that way you always have the originals somewhere on your device.
Oh snap, finally saw a glimpse of it!!
Sent from my 000 using Tapatalk
---------- Post added at 07:36 AM ---------- Previous post was at 07:36 AM ----------
Think I might have maybe figured out the issue.
Sent from my 000 using Tapatalk
---------- Post added at 07:45 AM ---------- Previous post was at 07:36 AM ----------
I believe the culprit was maybe the fact I hadn't picked the same device in samsung theme manager you recommended. I had read previously it didn't matter. Once I tried again following your guide more thoroughly I got it to boot.
Sent from my 000 using Tapatalk
---------- Post added at 08:02 AM ---------- Previous post was at 07:45 AM ----------
Thank you again, sorry about giving you such a hard time. Especially since your tutorial is on point.
Sent from my OG 420 using Tapatalk
Koognod said:
Oh snap, finally saw a glimpse of it!!
Think I might have maybe figured out the issue. I believe the culprit was maybe the fact I hadn't picked the same device in samsung theme manager you recommended. I had read previously it didn't matter. Once I tried again following your guide more thoroughly I got it to boot. Thank you again, sorry about giving you such a hard time. Especially since your tutorial is on point.
Click to expand...
Click to collapse
I'm so glad to help!
REQUIREMENTS:
- Samsung Theme Designer:[/B] http://developer.samsung.com/bada-themes/tools-sdks/Samsung-Theme-Designer-2-0-4
- Photoshop
Click to expand...
Click to collapse
Could this also be accomplished with Gimp photo editor?
---------- Post added at 07:57 PM ---------- Previous post was at 07:56 PM ----------
also can they be made to 60 frames instead? for smoothness purpose
drago10029 said:
Could this also be accomplished with Gimp photo editor?
also can they be made to 60 frames instead? for smoothness purpose
Click to expand...
Click to collapse
Not sure what Gimp photo editor is, but probably not as the QMG format is pretty exclusive to Samsung. Why wouldn't you want to use the theme designer?
You can use as many frames as you want though. My last animation had about 200 frames. It just depends on how much you want the animation to change. The example I gave in this tutorial was just a simple one to make it extra easy to learn. You can do up to 500 duration btw to make the frame last longer, but if it's still not long enough, then you just have to duplicate some frames.
bogarty said:
Not sure what Gimp photo editor is, but probably not as the QMG format is pretty exclusive to Samsung. Why wouldn't you want to use the theme designer?
You can use as many frames as you want though. My last animation had about 200 frames. It just depends on how much you want the animation to change. The example I gave in this tutorial was just a simple one to make it extra easy to learn. You can do up to 500 duration btw to make the frame last longer, but if it's still not long enough, then you just have to duplicate some frames.
Click to expand...
Click to collapse
I meant can I use GIMP instead of photoshop? it's a open source free photo editor. Photoshop is like a lot of money that some people don't have
drago10029 said:
I meant can I use GIMP instead of photoshop? it's a open source free photo editor. Photoshop is like a lot of money that some people don't have
Click to expand...
Click to collapse
Oh shoot...haha! Sorry. To me the term "Photoshop" is a specifically universal term for just making decent images. It won't matter where you make your animation, but it will matter for your Core Prime that they are exactly 480x800 resolution. They should probably be PNG format too if you can produce that. Also, obviously, the names of each frame must be numbered properly.
bogarty said:
Oh shoot...haha! Sorry. To me the term "Photoshop" is a specifically universal term for just making decent images. It won't matter where you make your animation, but it will matter for your Core Prime that they are exactly 480x800 resolution. They should probably be PNG format too if you can produce that. Also, obviously, the names of each frame must be numbered properly.
Click to expand...
Click to collapse
cool thanks, and is there anyway to make a bootanimation run 60 fps instead of 30?
drago10029 said:
cool thanks, and is there anyway to make a bootanimation run 60 fps instead of 30?
Click to expand...
Click to collapse
Well, 30 was just the number of frames I used total for each animation in the example. Not the frames per second. If you had 60 frames per second for a 2 minute boot animation, then you'd have to make 7,200 images, so you don't want that. It doesn't do that anyway though. The animation is more like a gif than a video, where each frame lasts awhile. The speed is altered in "duration" too, but I believe it's in milliseconds, which isn't very fast. That's why you might have to duplicate some frames to allow for enough time so that each image can be seen.
For instance, in my DOS animation(linked in the OP), I used about 185 frames(which was 36 images duplicated) for the first animation, but only 20 frames(which was only 4 images duplicated) for the second animation(ie. the looping part at the end). In other words, I had to be duplicate each image 5 times and put the each animation at a duration of 450, so that it would last long enough to appear at the proper speed, as I don't think the duration goes higher than 500ms. There's an emulator in theme designer where you can preview your animation too, but unfortunately it doesn't seem to show the true speed, so you may have to just make the animation a few times and test it out each time until it displays at the speed you want. Anyhow, I hope this helps.
How's it going, so I've started playing with creating custom boot animations on my SCH-I545 running on OF1.
Instead of using a photo shop program I've used a video to jpg converter to create image files from some anime vids then built them into qmg on Samsung Theme Designer.
I've also have successfully created sound clips to go with the bootup. I use a free online ogg converter. I've had full success with this process.
Its just a matter of tweaking the fps/duration to get "my desired" play out length. Once I get this down I'd like to share my animations. Could you direct me to the best thread to post them to.