Black screen - General Questions and Answers

Created custom boot animation and sound file. Saved images as png as compressed zipped folder and audio as mp3.
Purchased root explorer, copied audio and animation (labeled as bootanimation.zip) to evo 4g phone.
Tried placing files in data/local and custom/resources now I get a black screen with small android print (not my images) and not the original sprint images and no sound.
root explorer was touted as being so simple to use and its not working. What could be the problem?

Well I guess thats my last donation here.

Related

Change bootanimation desc.txt file?

Hey guys...
I made my own bootanimation and i have it working fine but plays a little slow. I use the desc file from the animation i made mine from but if i change the value that i believe is the fps value and save then the whole thing doesnt work...
How can i edit the desc file to speed up playback and save so it works?
Thanks!
Swyped from an HTC Evo on MetroPCS...
Max_Pain said:
Hey guys...
I made my own bootanimation and i have it working fine but plays a little slow. I use the desc file from the animation i made mine from but if i change the value that i believe is the fps value and save then the whole thing doesnt work...
How can i edit the desc file to speed up playback and save so it works?
Thanks!
Swyped from an HTC Evo on MetroPCS...
Click to expand...
Click to collapse
Use textpad.
Be sure to save as desc.txt in UNIX mode.

playing .gif files

i have an htc raph800 touch and i cant get it to play .gif files can any one help me with this problem
When you say it can't "play" the files, do you mean it can't open them? Or is this an animated GIF that isn't showing the animation?
If it's the first problem, what program are you using to try and see the GIF file?
If it's the second problem, a number of standard image viewing programs will not show animated GIFs. Trying opening it with a webbrowser.

[GUIDE] All Related To Boot Animations

A Guide To Support My Other Thread On How To Create Boot animations So It Is Easier For People To Understand And Grasp The Concept.
so they will ask less questions XD
Hit thnxx if u like this guide friends !
CONTENTS
The Basics
Inside the bootanimation.zip file
Featured Boot Animations
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Basics :
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots. Thus, customizing or changing the boot animation is simply the process of editing or replacing this file.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Inside The Bootanimation.Zip File
This section is for those interested in finding out how the Android boot animation works. If you just want to install one without bothering yourself about what’s in the file, feel free to move on to the next section, as this one will get a little technical. Though it should be easy and simple enough for anyone to grasp.
While the Android boot animation might appear to be in a video format during playback, it is in fact a little different. If you extract the contents of the bootanimation.zip file to your computer, you will see:
A desc.txt file
A part0 folder (Contains PNG images named in incremental numbers)
More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.
Let’s see how it works in a little detail by taking a closer look at the contents of the file.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
320 480 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 320 and 480 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 320 by 480 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NOTE :
A note on resolution: Most high-end Android devices with large screens have a resolution of 480 x 800 pixels, and are referred to as HDPI. Some mid-range devices have a resolution of 320 x 480 pixels and are called MDPI. Lastly, the screen resolution of some low-end devices is 340 x 320 pixels and these are called LDPI, though these are either the really old Android phones or the cheapest Chinese models.
As a rule, a boot animation made for a lower resolution device will run fine on a high resolution one but it will be centered on the screen, with the extra screen space around it not being used. Using a high resolution boot animation on a low resolution device will result in the boot animation not fully displaying on the screen, with its outer parts being cut off due to being outside the screen’s bounds.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Featured Boot Animations
Link for some boot animations for MDPI Models i.e (320 x 480) screen resolution : http://forum.xda-developers.com/showthread.php?t=2197483 [/FONT]
Nice write up. Thanks for taking the time. Will use this to start a collection.
If you find the time please do a sound one too
E4GT Rom-a-holic!!!
Nice....:good::good:

Camera shutter sound

Hi guys.
I flashed the custom rote X-Note 15 and suprisingly I still can't disable the camera shutter sound.
I tried many ways :
- app Galaxy Note 2 hidden features
- app silence stream something
- app camera mute
I also tried to remove the ogg files from /system/media/audio/ui/ , camera_click.ogg and camera_click_short.ogg, renamed them to .bak.
Camera still makes sound ...
I replace the orignal ogg files by copies of camera_empty.ogg ... in vain. Still the ****in sound.
I don't get where the sound comes from. I though maybe it was in RAM , so I restarted the phone, still the sound was there.
Now I found the apk SamsungCamera2Guy.apk, which contains the sound. But coudl it be possible that the application takes the sound file from the apk each time ?
If so, I would like to edit the apk and remove the file directly. I tried with a few tools but it failed so far.
Any hint how to remove once and for all the sound ?

[SOLVED!] Help with bootanimation resolution

I've recently started to create a new bootanimation for my Moto G, but I can't get the resolution right! I know the res for the Moto G is 720 x 1280, but I can't find a way to make my images fit right. I extracted the images from the video I attached below with free video to JPG converter, but I am having trouble with the height. The video is in 1080p, and I need a way to increase the height I guess? I have spent hours on this, and if someone can show me how to fix this, I'll be extremely grateful. Thanks!
@The Dark Defender ..... Use the free graphics program "PhotoScape" ..... once using it select the option "Batch Edit" ...... then you will be able to edit all your jpg's in the animation sequence by selecting them and "Resizing" .... you may have to do a bit of "boxing and coxing" to keep the correct aspect ratio but I'm certain you will be able to sort that out. If I have time I'll look at your video and depending on how busy I am I might have a go and post back.
@The Dark Defender ..... I've done some work to your video. Firstly without wishing to "teach you how to suck eggs" I must make the following comment.....You say that the video is in HD (1080p), that statement is almost sudden death to boot animations because the number of frames that are produced by a 1080p process is huge compared with the number of comparable frames produced by "Standard Definition", I have produced several animations both for my phones and my tablet using clips I have captured from BD disks and the size of the animation jumps up alarmingly. So what I did with your video was as follows..... From the original files I deleted 224 frames from various parts of the video, trying to keep that figure to as many near duplicates as possible.....I then used PhotoScape ("Batch Edit") to resize the frames to 720 x 1280 .....I then built a boot animation using those frames ..... this built ok the only trouble being it was 95 Mg in size which is utterly outrageous!..... I then processed the frames through another graphics program (Pixillion Image Converter Plus) with which I was able to decrease the original definition and finished up with an animation which was 12 Mg in size which is acceptable.
JPG's from HD files are high quality, which can make for huge animations, and can stand having the definition reduced.
The two attached files are (1) The finished animation (the title tells you that one) and (2) The individual jpg frames altered as to size and definition and zipped (again the title is self explanatory).
I appreciate that the final effort might not be as you would wish but possibly you can work with the individual frames to achieve a result which you prefer. Feel free to use or adapt any part of my animation if it helps you.
Thank you
metpolds said:
@The Dark Defender ..... I've done some work to your video. Firstly without wishing to "teach you how to suck eggs" I must make the following comment.....You say that the video is in HD (1080p), that statement is almost sudden death to boot animations because the number of frames that are produced by a 1080p process is huge compared with the number of comparable frames produced by "Standard Definition", I have produced several animations both for my phones and my tablet using clips I have captured from BD disks and the size of the animation jumps up alarmingly. So what I did with your video was as follows..... From the original files I deleted 224 frames from various parts of the video, trying to keep that figure to as many near duplicates as possible.....I then used PhotoScape ("Batch Edit") to resize the frames to 720 x 1280 .....I then built a boot animation using those frames ..... this built ok the only trouble being it was 95 Mg in size which is utterly outrageous!..... I then processed the frames through another graphics program (Pixillion Image Converter Plus) with which I was able to decrease the original definition and finished up with an animation which was 12 Mg in size which is acceptable.
JPG's from HD files are high quality, which can make for huge animations, and can stand having the definition reduced.
The two attached files are (1) The finished animation (the title tells you that one) and (2) The individual jpg frames altered as to size and definition and zipped (again the title is self explanatory).
I appreciate that the final effort might not be as you would wish but possibly you can work with the individual frames to achieve a result which you prefer. Feel free to use or adapt any part of my animation if it helps you.
Click to expand...
Click to collapse
Wow thanks so much! I'm gonna check these out right away. I had no idea 1080p wasn't optimal for bootanimations. I was just confused on how to get the proper resoluton for the images. I'll learn a lot from this, and I appreciate the time you put out to do this. Thank you.
Another problem
@metpolds The bootanimation you made is perfect, but for some reason my phone slowly stutters than freezes on almost the last couple of frames. The only way to stop it is to launch fastboot mode and go into recovery and system restore to a backup I luckily did not too long ago. It did this with another bootanimation as well. Hmm definitely phone related. It really stinks because I know it isn't a problem with the animations. Do you have any ideas on what might be causing this or how to fix? Your help will be greatly appreciated. Oh, and also don't know if it'll help but right before it freezes the screen's brightness drastically dims, almost like when it unlocks.
EDIT: Fixed! Turns out my boot logos need to be mp4 format because im using stock ROM. I'll get the hang of things eventually lol.
@The Dark Defender ..... Glad that I was able to help ..... As regards boot animations in mp4 format, I have to say (but I'm no expert) that Motorola is the only phone or tablet that I have knowledge or know of that uses mp4 video files instead of jpg or png single frames. However even though Motorola uses mp4's you can still use conventional single frame jpg's if you wish.
As you probably know if you create an animation in mp4 then it has to be placed in the following folder in your Moto G ...../data/local/moodle ..... and the mp4 type of desc.txt (videodesc.txt) has totally different parameters to that used by single frame animations. Again be careful of the size.
The stuttering you are experiencing I can't be certain about, I believe it's a fault with the animation, I seem to recall seeing someone in one of the threads experiencing the same problem but I can't remember exactly where or when. To be on the safe side I would be wary of installing it. If you felt adventurous you could delete some of the last frames i.e. the blue ones after the writing "Welcome to Sword Art online" making it shorter. BUT don't rely on my suggestion in case you "brick" your device.
Best of luck with your Moto G and animations.

Categories

Resources