XML file upon boot - Huawei MediaPad M2

Do anyone know what xml file is accessed/read during the boot process of our phone? I'm porting a bootanimation over and it has an audio file with it. I would like to have it functional on the MP M2. Thanks for any assistance.

Related

[Question] How to unpack/repack DHD img files? need a guide.

ok here is my question..
im trying to extract the system.img files to restore some of the original files i changed.
here is the things i want to know in a list
1, Which tool is used to extract those IMG files? guide please. if you do need to compile it please post guide on how to compile as well?
2, how to repack the files into readable Img files which we can use to fastboot flash system with?
3, the shutdown.zip and downanimation.zip what are the requirements? i have sucessfully made a custom bootanimation.zip but failed the downanimation and shutdown. the bootanimation works when i made zip file with store only attributes "no compression", but the other 2 wont work either way..
if i can get this information i would make a general thread about DHD with all the information so it would be easier for anyone to find out all about xda and the development for DHD
example, Radio/Eng S-Off CID-1111111 simunlock, adb commands/tools/guide, cygwin/unyaffs GIMP etc including graphical mods and specific how to's.
please help me out this might reward the newbies alot saving loads of precious time searching.. just like me
rofl edited to change adb to fastboot. sry my bad. stupid typo ;x

How to reodex framework of stock rom ?

I wanted to increase number of volume step following this (http://forum.xda-developers.com/showthread.php?t=1411317&page=20)
I pulled the framework.odex and baksmali it but it didn't work because of dependency or something like that. Then I pulled all the odex file in there and succesfully baksmali framework.odex
I edited the smali file needed and then smali it to framework.dex. This is where I'm stuck.
The original framework use odex file, not dex file. So I guess I need to reodex the framework.dex to odex. But all the guides I found about reodex seem to be used for cooked rom, the jar files all have classes.dex in it and there 's no odex file.
Then I tried to put framework.dex into original framework.jar file (after change its name to classes.dex), use command "dexopt-wrapper framework.jar framework.odex", and overwrite the original framework.odex. The device coudn't start, it stuck at "nokia" text (is it called bootloop?)
So what is the proper way to do it ? Thanks
PS: I did it. There is a very similar example here, I missed a few thing: http://www.jordanhotmann.com/2011/08/how-to-change-default-orientation-of.html
MarryJ said:
I wanted to increase number of volume step following this (http://forum.xda-developers.com/showthread.php?t=1411317&page=20)
I pulled the framework.odex and baksmali it but it didn't work because of dependency or something like that. Then I pulled all the odex file in there and succesfully baksmali framework.odex
I edited the smali file needed and then smali it to framework.dex. This is where I'm stuck.
The original framework use odex file, not dex file. So I guess I need to reodex the framework.dex to odex. But all the guides I found about reodex seem to be used for cooked rom, the jar files all have classes.dex in it and there 's no odex file.
Then I tried to put framework.dex into original framework.jar file (after change its name to classes.dex), use command "dexopt-wrapper framework.jar framework.odex", and overwrite the original framework.odex. The device coudn't start, it stuck at "nokia" text (is it called bootloop?)
So what is the proper way to do it ? Thanks
PS: I did it. There is a very similar example here, I missed a few thing: http://www.jordanhotmann.com/2011/08/how-to-change-default-orientation-of.html
Click to expand...
Click to collapse
It's really great that you created something for yourself. But what will be even more greater, if you shared it withe community. So I advise that when you finish with this project and if successful, upload it so that we can also admire your work.

[bootanimation] Video's can now be used as animations - Plus a new custom PS One anim

GOOD NEWS!
You can now use .mp4 video files as your boot animations (if you didn't see it on the portal). You can follow the directions here (you must be rooted for the new method to work):
http://forum.xda-developers.com/general/xda-university/guide-set-video-bootanimationtesters-t2915445
Also, because I was testing to see if things would work I whipped up a new animation for everyone. Nothing fancy, just a good old timely classic from my childhood. A custom (orginal) Playstation boot screen re-worked with a new 3d logo, etc. etc.
I will be giving directions for the new video method, but I am also uploading files if you want to do it the old way.
PREVIEW:
FLASHABLE ZIPS NOTE:
The first flashable zip replaces ONLY the boot animation in the "/system/media" directory and is the video type. It makes no other changes.
The second flashable zip is intended for Sprint stock based sense roms and is also the video type. The zip not only contains the bootanimation, but also a backup of the original "default.xml" file in "/system/customize/CID" and the original "bootanimation" binary in the "/system/bin" directory. This is in case you would like to go back to the old image sequence based bootanimations.
DIRECTIONS:
VIDEO:
First, download the "bootanimation" binary from the link above. Make a backup of your current "bootanimation" binary in the directory "/system/bin" and then copy the new binary you downloaded into that same directory. Change the permission of the binary file to 0755 and you are done with that.
Next, copy whichever video "bootanimation.zip" file you want into the "/system/media" directory and change the files permissions to 0644 / rw-r-r.
IMPORTANT NOTE:
For Sprint stock users you need to do one more thing. Get a file manager for android and edit the "default.xml" file located in the directory "/system/customize/CID". Open the file to edit and scroll down till you see this sequence:
Code:
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/***whateverbootanimation.zip***" />
and change it to this:
Code:
<BootConfiguration>
<BootAnimation animation="/system/media/bootanimation.zip" />
reboot and enjoy!
Questions, problems, further clarification... I'm happy to help. Just leave a comment.
If you want to use any of the bootanimations I have created, go right ahead. You have permission. All I ask is that you make mention of where you got the animation and that I created it. Pretty simple. :good:
Hold on, shouldn't boot animations be in picture format? Last time I tried flashing an mp4, my boot animation wouldn't play. Now no other boot animations play no matter how I change it. How can this be possible?
Sent from my HTC One_M8 using XDA Free mobile app
not working
i use this method not only didnt it work, like an idiot i didnt backup my bootanimation bin file and now i just see a blank screen:crying:

Liquid Chemical Boot Animation For Xiaomi Mi A1 (Very easy to use)

A Simple yet amazing boot animation. People who hate long boot time, can try this boot animation. it will boot your device within a few seconds and also make it more appealing. I am sure you will love it. Try it to believe it.
Instruction to use:
You don't really need to flash the zip file. I will make it very simple for you. Just download the zip file from the given link. The zip file will be like "bootanimation.zip". Now just open ES file explorer or any file manager with root access. Now locate the downloaded bootanimation.zip file and copy it. Now go to /system/media and you will see there is already a bootanimation.zip file. That is your current boot animation zip file. Just rename the current bootanimation.zip to bootanimation.zip1 for future reference and now paste the downloaded bootanimation.zip file that you copied earlier. Now just restart your device and enjoy all the superheroes on your device. Please note, it won't replace the stock "AndroidOne" splash screen that shows at the beginning.
If you like the boot animation, don't forget to hit Thanks. It would inspire me to give you more cool boot animations like this.
Check out my Superhero Boot Animation here: https://drive.google.com/open?id=10-QfQgdd9z8uCWGpBESUcfl83GISCyk-
Anyone can show How look this?
So that was same as like before another thread by you with the same thing for why?
Screenshots attached.
it's not fitting on the screen it's smaller than screen
Thread closed at OP request

Enable native bootanimation.zip support

As you know Samsung Stock Rom's use a special .qmg file format for the bootanimation but the procedure that is used to convert all the bootanimation.zip files to .qmg files doesn't give good results instead it produces a low quality bootanimation.
Android uses a binary called bootanimation to run the bootanimations, and it is situated inside the system/bin folder, Samsung has modified this binary in order to get it working with .qmg files.
This mod will restore the native bootanimation.zip support.
These are all the requirements required to add the support for Native Android Bootanimations:
Samsung Galaxy Note 4 on 6.0.1 MM
Root
TWRP Recovery Installed
To install:
Download the zip file included below.
Reboot your smartphone to TWRP recovery and install the downloaded zip.
Reboot!
Once you reboot download a boot animation app like:
https://play.google.com/store/apps/details?id=com.jrummy.apps.boot.animations
And away you go!
Zip file you'll need to flash in TWRP:
https://drive.google.com/file/d/1sRSYSZnz3RlpbqIJc-J8Q0eQ-STXHIbj/view?usp=drivesdk
I take no credit for any of this I just wanted to post it here so that everybody else can benefit from this mod. I've already tested this on my Galaxy Note 4 n910t with 6.0.1 MM and it works great for me! All credit goes to:
Bootanimation.zip support for Samsung Devices - Install all your favourite BootAnim!
https://forum.xda-developers.com/note-4/themes-apps/bootanimation-zip-support-note-4-t3157128

Categories

Resources