Bootanimation, more information, more questions - MTCB Android Head Units Q&A

Hello,
who has some more Information about the Bootanimations?
Maybe we can create a WIKI Thread for it: http://forum.xda-developers.com/wiki/Hui_Fei_Type
Malaysk has here a thread about BOOTANIMATIONS.
http://forum.xda-developers.com/showpost.php?p=62776842&postcount=18539
But maybe anybody want to create a bootanimation, what a important for that?
Maybe we can bring here some information togehter.
Then i start to edit this first thread to bring all information together.
Questions:
- Which pixelsize can the animation have for a: 1024 x 600 or 800 x 480 ?
- Which files are possible JPG GIF PNG ?
- How many pictures can the animation have?
- Is this the structur for the animation? What are important for that? What are the "Parts" mean?
FOLDER: bootanimation_dancing_droids
------- FOLDER: part0
-------------- d001.jpg
-------------- d002.jpg
-------------- d003.jpg
........
------- FOLDER: part1
-------------- e001.jpg
-------------- e002.jpg
-------------- e003.jpg
........
------- FILE: desc.txt
- What are inside the desc.txt file? What does it mean?
800 480 20
p 1 0 part0
p 0 0 part1
- How must the filename for the animation are?
- This are a part from the Installation instruction from Malaysk. How can i give this right to the zip (Which Programm???, which menue?)?
5. Next, copy bootanimation_dancing_droids.zip file below the animation to a folder \ system \ mtc \ and give rights 644 (ie rw-r-r)
More questions or answers please here in that thread.

Many, many Informations and Tools for the Bootanimations:
http://forum.xda-developers.com/showthread.php?t=2756198

Related

LG KS20 - Flash.bin build tool

Hi there,
Here is a command line tool that can extract and rebuild a flash.bin file for the LG KS20.
First, the options available :
Code:
LGFlashMuncher.exe [options] path [output]
EXTRACT Options ---(at least one option required)-----------------------------
-r : extract Raw data
-h : extract header
-m : extract MBR
-p : extract partitions
-t : trim extracted partitions
-l : output layout informations to file 'flash.xml'
-o : output OS.nb compatible file
output : path to output directory (must exists)
CREATE Options ---(all options required)-------------------------------------
-c file : create new flash.bin outputed to 'file'
(MBR and fat partition are taken from original flash.bin)
-e file : use 'file' for header
-0 file : use 'file' for partition 0 (boot)
-1 file : use 'file' for partition 1 (rawfs)
-2 file : use 'file' for partition 2 (imgfs)
COMMON Option ---------------------------------------------------------------
path : path to flash.bin file
Next, how to extract data from a flash.bin to a directory named output :
Code:
LGFlashMuncher.exe -htmlp FLASH.bin output
How to rebuild a new flash.bin :
Code:
LGFlashMuncher.exe -c newflash.bin -e header.bin -0 part_0_BOOT.bin -1 part_1_RAWFS.bin -2 part_2_IMGFS.bin FLASH.bin
(This rebuild process requires an existing flash.bin file)
At the moment, this tool use the partition layout and the empty fat32 (last partition) found in the original flash.bin file. The next step will be rebuild the partition layout.
I've made some test with this tool, but I cannot be sure it will work in all situations. Spocky had a preview of this tool a couple of days ago, and he successfully built a french 10G and a french 10A : I'm sure he will soon share his knowledge...
Very Nice job !
Thank.
Très bon travail MisterJP.
Merci.
Does this mean we can flash the files we extract with pdocread? (part00.raw, etc)
I think that for the moment only part02.raw
@+
dorik2k said:
Does this mean we can flash the files we extract with pdocread? (part00.raw, etc)
Click to expand...
Click to collapse
If the generated files are image of your phone partitions, then I guess it's possible if you respect the partitions order.
Hi, misterjp
In your LGFlashMuncher.exe there is an option:
-o : output OS.nb compatible file
I am just wondering is it FLASH.bin to OS.nb?
And is there any way to convert OS.nb back to FLASH.bin?
The reason that i want to do that is because in that case, i can convert a OS.nb which hv a larger partition table to Flash.bin for cooking
Thx in advance
Hi raykisi,
Sorry, but this tool is not able at this time to re-build an Flash.bin from an OS.nb file. It was just a test option while I was testing my code.
I'm planning on updating this tool, but it takes time and I don't have many these days.
JP.
o...gd to hear that you are going to update this tool, we would wait, take you time. And thx for your great work
Hey, sorry about the question.. i know i'm such a noob, but i'm brazilian and my "english understanding" is kind of weak sometimes.. So...
Is there any way to extract the Flash.bin and others of my current ROM? I mean, the actual ROM of my phone?
I'm asking this because here in Brazil we have the MS25/MS20.. A kind of KS20 without 3G, wifi, and front camera devices.. but same processor and same everithing else.. so, I think LG BRASIL will not provide the roms so early, but the v10a are full of bugs! Also i can`t flash with a KS20 rom, because that missing devices and because my operator phone frequency is 850 MHz (VIVO).
well, someone have an idea? Or a link? Or a read recomendation?
Brazilian people are really needing help with this, and we are getting tired to search with no answers..
Thank`s a lot!

(Updated 04.02.11) HIVE AND REGISTRY FILE EDITOR

Hive and registry file editor 2.0.112
A command line utility to work with hv files.
Full Unicode support, and more.
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
!!! WARNING !!!
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
Release history:
---------------------
V. 2.0.112
+ Some changes.
V. 2.0.035
+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.
V. 1.0.000 (Initial Release)
Don't need Unicode??
and I'm wondering whether the "REGEDIT4" is needed.
btxakita said:
Don't need Unicode??
Click to expand...
Click to collapse
Who spoke?
btxakita said:
and I'm wondering whether the "REGEDIT4" is needed
Click to expand...
Click to collapse
Yes.
NEW Release
V. 2.0.035
Added new functions:
+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.
AnDim
AnDim said:
NEW Release
V. 2.0.035
Added new functions:
+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.
AnDim
Click to expand...
Click to collapse
A dump question I'm sure, I started cooking recently and I'm wondering what I could accomplish with this application. In what scenario would I use it? Thanks, 12
Thanks. One problem I had w/ rgucomp is missing unicode support.
12aon said:
A dump question I'm sure, I started cooking recently and I'm wondering what I could accomplish with this application. In what scenario would I use it? Thanks, 12
Click to expand...
Click to collapse
What exactly is not clear?
Thanks AnDim, this makes GSM -> CDMA SYS porting much easier.
AnDim said:
What exactly is not clear?
Click to expand...
Click to collapse
Well I think I'm starting to understand. As I always have had the luxury of initflashfiles.txt or app.reg and never edited the .hv manually. It was unclear to me why I would need this or what it would add to a kitchen that supports those features (initflashfiles.txt and app.reg)
So does this app have a function in such a kitchen, I mean is there anything I will need to do manually that can't be done otherwise or is this more like a general app so that the hives on any phone can be more easily changed?
Thanks 12
@AnDim, PMed you.
Have anyone used this program? It's not working well for me. I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files
prpetrov said:
I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files
Click to expand...
Click to collapse
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
how does project folder need to be set up to build default and user hv's?
BUG: Default value is imported and exported incorrectly
If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"
Request: option to specify output file
selyb said:
how does project folder need to be set up to build default and user hv's?
Click to expand...
Click to collapse
HVEdit.exe <My project folder>
Don`t need to be setup. Rgu´s, packages.sof and so on, can be in any sub folders.
selyb said:
BUG: Default value is imported and exported incorrectly
If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"
Click to expand...
Click to collapse
Hey man .... Key name "Default" == Key name @
selyb said:
Request: option to specify output file
Click to expand...
Click to collapse
??? f.e.
AnDim
sorry, I misunderstood. Until now, I didn't know you could use "Default"=
selyb said:
Request: option to specify output file
Click to expand...
Click to collapse
What I mean is like
Code:
hvedit myhive.hv myhive.txt
so hvedit would export myhive.hv to myhive.txt
selyb said:
What I mean is like
Code:
hvedit myhive.hv myhive.txt
so hvedit would export myhive.hv to myhive.txt
Click to expand...
Click to collapse
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
AnDim
AnDim said:
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
AnDim
Click to expand...
Click to collapse
Hi,
thanks for this software it works great, if you now how to put this commands.
My experience was this:
D:\>hvedit.exe hive d:\hive
or:
D:\>hvedit.exe hive d:\hive\user.hv
I'm getting this:
(HVEdit) !ERROR: failed building DEFAULT hives.
When I copy HVEdit.exe and cereg400.dll to d:\hive and run this:
D:\hive>hvedit.exe d:\hive\user.hv
I'm getting this:
Admsoft (R) HVEdit Version 2.0.035
Hive and registry file editor.
(C) 2009 AnDim, XDA-Developers.
(HVEdit) Extracting user.hv ...
(HVEdit) Done! and only 21.kB of 69kB .hv file
When I run it on system.hv like this:
D:\hive>hvedit.exe d:\hive\system.hv
I'm getting this:
(HVEdit) Extracting system.hv ...
ERROR: C:\MacB\private\winceos\COREOS\filesys\reg\reghive\.\registry.c line 172: Reg: Invalid reghandle 0x20000a61
and 144kB .hvm file of 105kB .hv
I didn't mention it but I was trying to convert .hv to .hvm
Maybe my dump has got some errors in it.
Any idea what is wrong, why the user.hvm is so small?
Thank you AnDim for great software. It is quite difficult to find out utility for ce hive.
After use for a period I would to to report some small problem.
1. Long multi string was trimed. (Maybe fixed length variable in code) See Ex.
Registry key in my rgu file is
REGEDIT4
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\",
"\\Windows\\messaging\\",
"\\Temp\\"
After change to boot.hv and extract back to boot.hvm the Registry is as hereunder.
; Admsoft (R) HVEdit Version 2.0.035
; Hive and registry file editor.
; (C) 2009 AnDim, XDA-Developers.
;
;
; Source file: boot.hv
; Size: 28672 byte
; Hash: e9e4f2edd12c78eeed7aceeaea22c36f
; Boothash: 1ef4fb8f2b109c0757709e7f46c71a20
; Build tool: HVEdit v2.0
[HKEY_CLASSES_ROOT]
[HKEY_CURRENT_USER]
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate]
"boot.rgu"=hex:1E,F4,FB,8F,2B,10,9C,07,57,70,9E,7F,46,C7,1A,20
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\"
[HKEY_USERS]
; (HVEdit) Done!
2.The size of hv file is larger than original. (This is not effect functional just file size is increase from 732kb to 744kb for instance.)
After investigate, there was extra length on data key which have length just fit 32 bits size. (Maybe when adjust cell size to fit 32 bits)
Hope my comment will be some benefit for you for next version.
Regards,
AnDim said:
Hive and registry file editor 2.0.035 (C) 2009 AnDim
A command line utility to work with hv files.
Full Unicode support, and more.
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
!!! WARNING !!!
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
Release history:
---------------------
V. 2.0.035
+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.
V. 1.0.000 (Initial Release)
(C) 2009 AnDim
Click to expand...
Click to collapse
This seems to be JUST what I am looking for .... but I am having problems trying to use I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.
I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.
When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.
I have attached the .bat files i used to run for reference....View attachment 305797
I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.
Any guidance will be greatly appreciated
Request Response !!
Is anyone able to offer any assistance on this question please
Help will be much appreciated !
kevinpwhite said:
This seems to be JUST what I am looking for .... but I am having problems trying to use I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.
I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.
When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.
I have attached the .bat files i used to run for reference....View attachment 305797
I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.
Any guidance will be greatly appreciated
Click to expand...
Click to collapse

[Guide][Tutor]changing second boot screen

I won't repost the tut here, but for DEV needing help with personalizing there second boot screen, I hope this helps
http://forum.xda-developers.com/showthread.php?p=14667195#post14667195
video's Using dsixda's Android Kitchen
part1
http://hotfile.com/dl/129670803/a60cc14/changing_boot_logo.rle_part_1.wmv.html
part2
http://hotfile.com/dl/129670563/8cdcc66/changing_boot_logo.rle_part_2.wmv.html
doing a rom logo.rle change
http://hotfile.com/dl/129671343/5046e9b/changing_boot_logo.rle_in_ROM.wmv.html
attached [GUIDE] (not mine) I just used it to add "set_perm(0, 0, 04755, "/" to over 1000 lines
Append Text To Each Line In Notepad++, Prefix Text To Every Line In Notepad++
Thanks!
Just search this kind of tutorial!
carl1961 said:
I won't repost the tut here, but for DEV needing help with personalizing there second boot screen, I hope this helps
http://forum.xda-developers.com/showthread.php?p=14667195#post14667195
video's Using dsixda's Android Kitchen
part1
http://hotfile.com/dl/129670803/a60cc14/changing_boot_logo.rle_part_1.wmv.html
part2
http://hotfile.com/dl/129670563/8cdcc66/changing_boot_logo.rle_part_2.wmv.html
doing a rom logo.rle change
http://hotfile.com/dl/129671343/5046e9b/changing_boot_logo.rle_in_ROM.wmv.html
attached [GUIDE] (not mine) I just used it to add "set_perm(0, 0, 04755, "/" to over 1000 lines
Append Text To Each Line In Notepad++, Prefix Text To Every Line In Notepad++
Click to expand...
Click to collapse
updated with video's
UPDATE
UPDATE:
logotool you can convert png to rle or rle to png using windows

[TUTORIAL] How to Port/Convert Boot Animations

Ok...by request, here's a pretty simple boot animation porting/converting tutorial.
IF THE BOOT ANIMATION YOU'RE TRYING TO PORT IS FOR SMALLER SCREENS:
First off...if the frames are too small, it will look crappy and stretched. That being said, try to find something that is remotely close to the 480 X 800 screen size...or resize each individual frame. If the frame size is somewhat close to 480 X 800, then all you have to do is change how the boot animation is being read in the desc.txt file.
- Unzip the boot animation you're trying to convert
- Open the file named "desc.txt" in notepad
- Change the screen size to your desired size
EXAMPLE: If the desc script looks like this...
Code:
[B][COLOR="Red"]400 700[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
...then change it to this...
Code:
[B][COLOR="Red"]480 800[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
- Click save (do not change file name)
- Now zip up frame folders and desc.txt file
- Make sure you use "store" compression method
- Now double click on zip and delete the file named "Thumbs.db" from all of the frame folders
OPTIONAL: I like to convert the frames to a format with a smaller file size. If the boot animation consists of more than 150 frames, and are in .PNG format, chances are your boot animation is going to be more than 5-6mb. If you've resized the .PNG frames to a bigger size...then you'll end up with a 15-20mb boot animation. If this is the case, just convert them to .JPG format.
IF THE BOOT ANIMATION YOU'RE TRYING TO PORT IS FOR BIGGER SCREENS:
You can just alter the desc script if you want, but if the frame size is alot bigger (tablet sized), then you'll need to do the following:
- Unzip the boot animation you're trying to convert
- Re-size all frames in all frame folders to desired size (TIP: "PIXresizer" will resize multiple files)
- If making a portrait boot animation, you have to rotate all the frames
- Open the file named "desc.txt" in notepad
- Change the screen size to your desired size
EXAMPLE: If the desc script looks like this...
Code:
[B][COLOR="Red"]500 1200[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
...then change it to this...
Code:
[B][COLOR="Red"]480 800[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
- Now zip up frame folders and desc.txt file
- Make sure you use "store" compression method
- Now double click on on zip and delete the file named "Thumbs.db" from all of the frame folders
TO SPEED UP/SLOW DOWN FRAMERATE (animation play speed)
If your boot animation seems to be playing too fast or too slow, then do the following:
- Unzip the boot animation
- Open the file named "desc.txt" in notepad
- Now, change the framerate
EXAMPLE: Change the two digit number after the frame size to desired framerate...
Code:
480 800 [B][COLOR="Red"]30[/COLOR][/B]
p 1 0 part0
p 0 0 part1
That's it! Enjoy
Thank you for posting this!
elephant007 said:
Thank you for posting this!
Click to expand...
Click to collapse
Np
10char
I have a feeling I know the answer to this, but any chance you know how to convert to the qmg format fir stock ROM?
jedwardmiller said:
I have a feeling I know the answer to this, but any chance you know how to convert to the qmg format fir stock ROM?
Click to expand...
Click to collapse
Not possible at this time.
Never mind, I decided to start a new thread with my question...
http://forum.xda-developers.com/showthread.php?p=19484808
BUMPED!!!!
...so that we can start seeing more boot animations in this mug.

[resolved] Custom boot animation problem

Hello there,
Could anyone smarter than me please tell me what is causing this boot animation not to play?
Here are the image specifics:
Size in pixels: 360 x 640
Print size: 95.26 x 169.36
Resolution: 95.9866 x 95.9866 ppi
Color space: RGB
File size: 157.5kb
File type: PNG
Number of layers: 1
Number of pixels: 230400
Total number of frames: 101
The compression of the zip is set to 'store'
The permissions are set to 0644
I'm using the international model (d855) with no carrier bootanimation.
Bootanimation is in /system/media where the old one was.
The total size of the zip is 14436 KB
The desc.txt file looks as follows
Code:
1440 2560 24
p 1 0 part0
p 0 0 part1
If I have that right the first part plays once with no pause and the second part is in a continuous loop with no pause.
The framerate is set to 24 to match the framerate of the video I pulled the frames from.
What is happening:
After the splash screen I just get a black screen until the device has booted. No animation.
Any help would be very appreciated.
Bump. Still haven't found where I'm going wrong.
While I look around for my mess up , I have reduced the animation size by 63% by optimizing the frames.
If it's any incentive for you guys to help, it's a popular anime boot animation
Resolved:
Setting a defined number of loops for the last part of the animation fixed it.

Categories

Resources